mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-07-20 16:32:20 +00:00
Layout verbessert
This commit is contained in:
@@ -51,96 +51,100 @@ $date = new datum();
|
||||
<link href="../../../include/js/tablesort/table.css" rel="stylesheet" type="text/css">
|
||||
</head>
|
||||
<body bgcolor="F2F2F2">
|
||||
<?php
|
||||
|
||||
echo ' <table width="100%" border="0">
|
||||
<tr>
|
||||
<td align="left"><a href="index.php">Login</a> > Registration </td>
|
||||
<td align ="right">
|
||||
'.$p->t("global/sprache").'
|
||||
<a href="'.$_SERVER['PHP_SELF'].'?lang=English">'.$p->t("global/englisch").'</a> |
|
||||
<a href="'.$_SERVER['PHP_SELF'].'?lang=German">'.$p->t("global/deutsch").'</a><br> </td>
|
||||
</tr>
|
||||
|
||||
</table>';
|
||||
|
||||
if(!isset($_POST['submit']))
|
||||
{
|
||||
echo ' <form action="registration.php" method="POST" name="RegistrationForm">
|
||||
<table border = "0" style="margin-left:40%; margin-top:5%;">
|
||||
<tr>
|
||||
<td>'.$p->t('global/titel').' Pre</td>
|
||||
<td><input type="text" size="20" maxlength="64" name="titel_pre"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>'.$p->t('global/vorname').'</td>
|
||||
<td><input type="text" size="40" maxlength="32" name="vorname"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>'.$p->t('global/nachname').'</td>
|
||||
<td><input type="text" size="40" maxlength="64" name="nachname"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>'.$p->t('global/titel').' Post</td>
|
||||
<td><input type="text" size="20" maxlength="32" name="titel_post"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>'.$p->t('global/geburtsdatum').'</td>
|
||||
<td><input type="text" size="20" name="geb_datum" value="" onfocus="this.value=""\"; > (dd.mm.YYYY)</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>'.$p->t('global/staatsbuergerschaft').'</td>
|
||||
|
||||
<td><SELECT name="staatsbuerger">\n
|
||||
<option value="staat_auswahl">-- select --</option>\n';
|
||||
foreach ($nation->nation as $nat)
|
||||
{
|
||||
echo '<option value="'.$nat->code.'" >'.$nat->langtext."</option>\n";
|
||||
}
|
||||
|
||||
echo' </tr>
|
||||
<tr>
|
||||
<td>'.$p->t('global/geschlecht').'</td>
|
||||
<td> <input type="radio" name="geschlecht" value="m" checked> '.$p->t('global/mann').'
|
||||
<input type="radio" name="geschlecht" value="w"> '.$p->t('global/frau').'
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>'.$p->t('global/strasse').'</td>
|
||||
<td><input type="text" size="40" maxlength="256" name="strasse"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>'.$p->t('global/plz').'</td>
|
||||
<td><input type="text" size="20" maxlength="16" name="plz"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>'.$p->t('global/ort').'</td>
|
||||
<td><input type="text" size="40" maxlength="256" name="ort"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Nation</td>
|
||||
<td><SELECT name="nation">\n
|
||||
<option value="nat_auswahl">-- select --</option>\n';
|
||||
foreach ($nation->nation as $nat)
|
||||
{
|
||||
echo '<option value="'.$nat->code.'" >'.$nat->langtext."</option>\n";
|
||||
}
|
||||
|
||||
echo ' </tr>
|
||||
<tr>
|
||||
<td>E-Mail</td>
|
||||
<td><input type="text" size="40" maxlength="128" name="email"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>'.$p->t('global/anmerkung').'</td>
|
||||
<td><textarea name="anmerkung" cols="31" rows="5"></textarea></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="2" align = "center"><input type="submit" name="submit" value="Registration" onclick="return checkRegistration()"></td>
|
||||
</tr>
|
||||
<tr><td><input type="hidden" name="zugangscode" value="'.uniqid().'"></td></tr>
|
||||
</table>
|
||||
</form>
|
||||
|
||||
<table width="100%" border="0">
|
||||
<tr>
|
||||
<td align="left"><a href="index.php">Login</a> > Registration </td>
|
||||
<td align ="right"><?php
|
||||
echo $p->t("global/sprache")." ";
|
||||
echo '<a href="'.$_SERVER['PHP_SELF'].'?lang=English">'.$p->t("global/englisch").'</a> |
|
||||
<a href="'.$_SERVER['PHP_SELF'].'?lang=German">'.$p->t("global/deutsch").'</a><br>';?></td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<form action="registration.php" method="POST" name="RegistrationForm">
|
||||
<table border = "0" style="margin-left:40%; margin-top:5%;">
|
||||
<tr>
|
||||
<td><?php echo $p->t('global/titel');?> Post</td>
|
||||
<td><input type="text" size="20" maxlength="32" name="titel_post"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><?php echo $p->t('global/vorname');?></td>
|
||||
<td><input type="text" size="40" maxlength="32" name="vorname"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><?php echo $p->t('global/nachname');?></td>
|
||||
<td><input type="text" size="40" maxlength="64" name="nachname"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><?php echo $p->t('global/titel');?> Pre</td>
|
||||
<td><input type="text" size="20" maxlength="64" name="titel_pre"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><?php echo $p->t('global/geburtsdatum');?></td>
|
||||
<td><input type="text" size="20" name="geb_datum" value="" onfocus="this.value=''"; > (dd.mm.YYYY)</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><?php echo $p->t('global/staatsbuergerschaft');?></td>
|
||||
<?php
|
||||
echo "<td><SELECT name='staatsbuerger'>\n";
|
||||
echo "<option value='staat_auswahl'>-- select --</option>\n";
|
||||
foreach ($nation->nation as $nat)
|
||||
{
|
||||
echo '<option value="'.$nat->code.'" >'.$nat->langtext."</option>\n";
|
||||
}
|
||||
?>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><?php echo $p->t('global/geschlecht');?></td>
|
||||
<td> <input type="radio" name="geschlecht" value="m" checked> <?php echo $p->t('global/mann');?>
|
||||
<input type="radio" name="geschlecht" value="w"> <?php echo $p->t('global/frau');?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><?php echo $p->t('global/strasse');?></td>
|
||||
<td><input type="text" size="40" maxlength="256" name="strasse"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><?php echo $p->t('global/plz');?></td>
|
||||
<td><input type="text" size="20" maxlength="16" name="plz"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><?php echo $p->t('global/ort');?></td>
|
||||
<td><input type="text" size="40" maxlength="256" name="ort"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Nation</td>
|
||||
<?php
|
||||
echo "<td><SELECT name='nation'>\n";
|
||||
echo "<option value='nat_auswahl'>-- select --</option>\n";
|
||||
foreach ($nation->nation as $nat)
|
||||
{
|
||||
echo '<option value="'.$nat->code.'" >'.$nat->langtext."</option>\n";
|
||||
}
|
||||
?>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>E-Mail</td>
|
||||
<td><input type="text" size="40" maxlength="128" name="email"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><?php echo $p->t('global/anmerkung');?></td>
|
||||
<td><textarea name="anmerkung" cols="31" rows="5"></textarea></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="2" align = "center"><input type="submit" name="submit" value="Registration" onclick="return checkRegistration()"></td>
|
||||
</tr>
|
||||
<tr><td><input type="hidden" name="zugangscode" value='<?php echo uniqid();?>'></td></tr>
|
||||
</table>
|
||||
</form>
|
||||
<script type="text/javascript">
|
||||
function checkRegistration()
|
||||
{
|
||||
@@ -149,6 +153,7 @@ $date = new datum();
|
||||
alert("Kein Nachname angegeben.");
|
||||
return false;
|
||||
}
|
||||
|
||||
if(document.RegistrationForm.staatsbuerger.options[0].selected == true)
|
||||
{
|
||||
alert("Keine Staatsbürgerschaft ausgewählt.");
|
||||
@@ -167,10 +172,11 @@ $date = new datum();
|
||||
}
|
||||
return true;
|
||||
}
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
<?php
|
||||
</script>';
|
||||
}
|
||||
echo' </body>
|
||||
</html>';
|
||||
|
||||
if(isset($_REQUEST['submit']))
|
||||
{
|
||||
$person = new person();
|
||||
|
||||
Reference in New Issue
Block a user