Subversion-Projekte lars-tiefland.php_share

Revision

Details | Letzte Änderung | Log anzeigen | RSS feed

Revision Autor Zeilennr. Zeile
3 lars 1
<?
2
	$error = array();
3
	if ($_GET[error]) { $error = $_GET[error]; }
4
?>
5
  <div class="basket">
6
  <div class="basket_oben">
7
<form method="post" action="gaestebuch.htm">
8
    <table border="0" cellspacing="2" cellpadding="0" style="font-weight:normal">
9
      <tr>
10
        <td>&nbsp;</td>
11
        <td><p><strong>Eintrag ins G&auml;stebuch:</strong></p></td>
12
      </tr>
13
      <tr>
14
        <td>Name<span class=pflicht>*</span>:</td>
15
        <td><input class="text" type="text" name="Name" value="<?=$_GET[Name];?>">
16
          <? if (in_array("Name", $error)) { ?>
17
          Bitte geben Sie Ihren Namen an!
18
          <? } ?>
19
        </td>
20
      </tr>
21
      <tr>
22
        <td>E-Mail<span class="pflicht">*</span>:</td>
23
        <td><input class="text" type="text" name="mail" value="<?=$_GET[mail];?>"> (wird nicht veröffentlicht)
24
          <? if (in_array("mail", $error)) { ?>
25
          Bitte geben Sie Ihre E-Mail-Adresse an!
26
          <? } ?>
27
        </td>
28
      </tr>
29
      <tr>
30
        <td>Stadt:</td>
31
        <td><input class="text" type="text" name="Stadt" value="<?=$_GET[Stadt];?>">
32
          <? if (in_array("Stadt", $error)) { ?>
33
          Bitte geben Sie Ihren Wohnort an!
34
          <? } ?>
35
        </td>
36
      </tr>
37
      <tr>
38
        <td>Bundesland:</td>
39
        <td><input class="text" type="text" name="Bundesland" value="<?=$_GET[Bundesland];?>">
40
          <? if (in_array("Bundesland", $error)) { ?>
41
          Bitte geben Sie Ihr Bundesland an!
42
          <? } ?>
43
        </td>
44
      </tr>
45
      <tr>
46
        <td>Staat:</td>
47
        <td><input class="text" type="text" name="Staat" value="<?=$_GET[Staat];?>">
48
          <? if (in_array("Staat", $error)) { ?>
49
          Bitte geben Sie Ihr Land an!
50
          <? } ?>
51
        </td>
52
      </tr>
53
      <tr>
54
        <td valign="top" width="15%">Text:</td>
55
        <td><? if (in_array("text", $error)) { ?>
56
          Bitte geben Sie einen Kommentar an!<br />
57
          <? } ?>
58
          <textarea name="text" cols="40" rows="5"><?=$_GET[text];?>
59
</textarea>
60
        </td>
61
      </tr>
62
      <tr>
63
        <td colspan="2"><span class="pflicht">*</span>Pflichtfelder</td>
64
      </tr>
65
      <tr align="right">
66
        <td colspan="2"><input type="submit" name="action" value="Abschicken">
67
          <input type="reset" value="Zur&uuml;cksetzen" name="reset"></td>
68
      </tr>
69
    </table>
70
</form>
71
	</div>
72
    <div class="basket_unten"></div>
73
  </div>