71 lines
2.3 KiB
PHP
71 lines
2.3 KiB
PHP
<html xmlns:AI>
|
||
<head>
|
||
<title></title>
|
||
<link href='dm.css' rel='stylesheet' type='text/css'>
|
||
<?php
|
||
include "functions.php";
|
||
?>
|
||
<link href='dm.css' rel='stylesheet' type='text/css'>
|
||
</head>
|
||
<html>
|
||
<body leftmargin=0 topmargin=0>
|
||
<div align="center">
|
||
<table width="100%" border="0" cellspacing="3" cellpadding="0">
|
||
<?php
|
||
include "header.php";
|
||
?>
|
||
<tr>
|
||
<td align="center" valign="top" class="content">
|
||
<?php
|
||
DBConnect();
|
||
$n = $_REQUEST['n'];
|
||
$event = ( isset($_REQUEST['event'] ) ? $_REQUEST['event'] : "" );
|
||
$query = "SELECT ID,Email,Name,NameSZ,NameJoy,NameFetlife FROM teilnehmer where ID=$n";
|
||
$result = mysql_query($query);
|
||
$line = mysql_fetch_array($result);
|
||
?>
|
||
<?php
|
||
if( $event=="" ) {
|
||
print "<form action='guests.php' method='post' id='mainform'>";
|
||
} else {
|
||
print "<form action='admin.php' method='post' id='mainform'>\n";
|
||
print "<input type='hidden' name='event' value='$event'>";
|
||
}
|
||
?>
|
||
<input type="hidden" name="action" value="edit">
|
||
<input type="hidden" name="n" value="<?php print $n; ?>">
|
||
<table>
|
||
<tr>
|
||
<td bgcolor="#EEEEEE" align="center">Name</td>
|
||
<td colspan=2 bgcolor="#EEEEEE" align="left"><input type="text" name="Name" value="<?php print $line["Name"]; ?>" size=80></td>
|
||
</tr>
|
||
<tr>
|
||
<td bgcolor="#EEEEEE" align="center">Email</td>
|
||
<td colspan=2 bgcolor="#EEEEEE" align="left"><input type="text" name="Email" value="<?php print $line["Email"]; ?>" size=80></td>
|
||
</tr>
|
||
<tr>
|
||
<td bgcolor="#EEEEEE" align="center">NameSZ</td>
|
||
<td colspan=2 bgcolor="#EEEEEE" align="left"><input type="text" name="NameSZ" value="<?php print $line["NameSZ"]; ?>" size=80></td>
|
||
</tr>
|
||
<tr>
|
||
<td bgcolor="#EEEEEE" align="center">NameJoy</td>
|
||
<td colspan=2 bgcolor="#EEEEEE" align="left"><input type="text" name="NameJoy" value="<?php print $line["NameJoy"]; ?>" size=80></td>
|
||
</tr>
|
||
<tr>
|
||
<td bgcolor="#EEEEEE" align="center"> </td>
|
||
<td colspan=2 bgcolor="#EEEEEE" align="left"><input type="submit" value="Speichern"></td>
|
||
</tr>
|
||
<tr>
|
||
<td bgcolor="#EEEEEE" align="center"> </td>
|
||
<td colspan=2 bgcolor="#EEEEEE" align="left"><a href="index.php">Abbrechen und zur<75>ck zur Liste</a></td>
|
||
</tr>
|
||
</table>
|
||
</form>
|
||
</td>
|
||
</tr>
|
||
</table>
|
||
</div>
|
||
|
||
</body>
|
||
</html>
|