siden er blank
hvorfor er denne side blank?www.andreasbrun.dk/andreas/rediger.php?
koden:
<?php
require("gbog-ting/design-funktioner.php");
require("gbog-ting/mysql-funktioner.php");
require("gbog-ting/indstillinger.php");
if(is_array($HTTP_GET_VARS)) {
$start_nr = $HTTP_GET_VARS['start_nr'];
} elseif (is_array($_GET)) {
$start_nr = $_GET['start_nr'];
}
if(!$start_nr || $start_nr < 0) {
$start_nr = 0;
}
$sql = "select id, profilnavn, navn, alder, email, shirtno, position, idol, klub, status, unger, personlig, chang, minde, ord, besked, user, pass, date_format(tid, '%e/%c %Y, %H:%i') as tiden from andreas order by tid desc limit $start_nr, $antal_ad_gangen";
aabn_forbindelse_og_vaelgdb();
$resultat = sql_spoerg_og_faa_svar($sql);
luk_forbindelse();
for($i=0;$i<count($resultat);$i++) {
extract($resultat[$i]);
?>
<form action="gem.php" method="post">
<div align="center">
<table border="1" width="600" id="table3" style="border-width: 0px" cellspacing="0" cellpadding="0">
<tr>
<td style="border-style: none; border-width: medium" bgcolor="#669999">
<blockquote>
<blockquote>
<p><font size="6"><b>Profilnavn:</b></font><b><font size="6"> </font>
<font size="2">
<input type="text" name="profilnavn" value="<?php echo $profilnavn ?>" size="30" maxsize="100"></font></b></p>
<p><font size="2"><b>3 ord om dig selv: </b></font>
<input type="text" name="ord" value="<?php echo $ord ?>" size="46" maxsize="100"></p>
</blockquote>
</blockquote>
</td>
</tr>
<tr>
<td style="border-style: none; border-width: medium">
</td>
</tr>
<tr>
<td style="border-style: none; border-width: medium">
<table border="1" width="100%" id="table4" style="border-width: 0px" bgcolor="#669999" height="782">
<tr>
<td width="30%" style="border-style: none; border-width: medium" colspan="5" rowspan="9" bgcolor="#99CCCC"> </td>
<td style="border-style: none; border-width: medium" width="15%" align="right">
<p align="right"><b><font size="2">navn</font></b></td>
<td style="border-style: none; border-width: medium" align="left" width="1%" bgcolor="#99CCCC"> </td>
<td style="border-style: none; border-width: medium" align="left" width="42%" bgcolor="#99CCCC" colspan="2"><b>
<font size="2">
<input type="text" name="navn" value="<?php echo $navn ?>" size="36" maxsize="100"></font></b></td>
</tr>
<tr>
<td style="border-style: none; border-width: medium" width="15%" align="right">
<b><font size="2">trøjenummer</font></b></td>
<td style="border-style: none; border-width: medium" align="left" width="1%" bgcolor="#99CCCC"> </td>
<td style="border-style: none; border-width: medium" align="left" width="42%" bgcolor="#99CCCC" colspan="2"><b>
<font size="2">
<input type="text" name="shirtno" value="<?php echo $shirtno ?>" size="36" maxsize="100"></font></b></td>
</tr>
<tr>
<td style="border-style: none; border-width: medium" width="15%" align="right">
<b><font size="2">favorit Position</font></b></td>
<td style="border-style: none; border-width: medium" align="left" width="1%" bgcolor="#99CCCC"> </td>
<td style="border-style: none; border-width: medium" align="left" width="42%" bgcolor="#99CCCC" colspan="2"><b>
<font size="2">
<input type="text" name="position" value="<?php echo $position ?>" size="36" maxsize="100"></font></b></td>
</tr>
<tr>
<td style="border-style: none; border-width: medium" width="15%" align="right">
<b><font size="2">favorit Spiller(e)</font></b></td>
<td style="border-style: none; border-width: medium" align="left" width="1%" bgcolor="#99CCCC"> </td>
<td style="border-style: none; border-width: medium" align="left" width="42%" bgcolor="#99CCCC" colspan="2"><b>
<font size="2">
<input type="text" name="idol" value="<?php echo $idol ?>" size="36" maxsize="100"></font></b></td>
</tr>
<tr>
<td style="border-style: none; border-width: medium" width="15%" align="right">
<b><font size="2">favorit Klub(ber)</font></b></td>
<td style="border-style: none; border-width: medium" align="left" width="1%" bgcolor="#99CCCC"> </td>
<td style="border-style: none; border-width: medium" align="left" width="42%" bgcolor="#99CCCC" colspan="2"><b>
<font size="2">
<input type="text" name="klub" value="<?php echo $klub ?>" size="36" maxsize="100"></font></b></td>
</tr>
<tr>
<td style="border-style: none; border-width: medium" width="15%" align="right" bgcolor="#669999">
<b>favorit changspiller</b></td>
<td style="border-style: none; border-width: medium" align="left" width="1%" bgcolor="#99CCCC"> </td>
<td style="border-style: none; border-width: medium" align="left" width="42%" bgcolor="#99CCCC" colspan="2"><b>
<font size="2">
<input type="text" name="favchang" value="<?php echo $favchang ?>" size="36" maxsize="100"></font></b></td>
</tr>
<tr>
<td style="border-style: none; border-width: medium" width="15%" align="right" bgcolor="#669999">
</td>
<td style="border-style: none; border-width: medium" align="left" width="1%" bgcolor="#669999"> </td>
<td style="border-style: none; border-width: medium" align="left" width="42%" bgcolor="#669999" colspan="2"> </td>
</tr>
<tr>
<td style="border-style: none; border-width: medium" width="15%" align="right">
<b><font size="2">ægteskabsstatus</font></b></td>
<td style="border-style: none; border-width: medium" align="left" width="1%" bgcolor="#99CCCC"> </td>
<td style="border-style: none; border-width: medium" align="left" width="42%" bgcolor="#99CCCC" colspan="2"><b>
<font size="2">
<input type="text" name="status" value="<?php echo $status ?>" size="36" maxsize="100"></font></b></td>
</tr>
<tr>
<td style="border-style: none; border-width: medium" width="15%" align="right" bgcolor="#669999">
<b><font size="2">børn</font></b></td>
<td style="border-style: none; border-width: medium" align="left" width="1%" bgcolor="#99CCCC"> </td>
<td style="border-style: none; border-width: medium" align="left" width="42%" bgcolor="#99CCCC" colspan="2"><b>
<font size="2">
<input type="text" name="unger" value="<?php echo $unger ?>" size="36" maxsize="100"></font></b></td>
</tr>
<tr>
<td width="5%" style="border-style: none; border-width: medium" align="right" bgcolor="#669999"> </td>
<td width="1%" style="border-style: none; border-width: medium" align="right" bgcolor="#669999"> </td>
<td width="7%" style="border-style: none; border-width: medium" align="right" bgcolor="#669999"> </td>
<td style="border-style: none; border-width: medium" width="2%" align="right" bgcolor="#669999"> </td>
<td style="border-style: none; border-width: medium" width="20%" align="right" bgcolor="#669999"> </td>
<td style="border-style: none; border-width: medium" width="15%" align="right" bgcolor="#669999"> </td>
<td style="border-style: none; border-width: medium" align="left" width="1%" bgcolor="#669999"> </td>
<td style="border-style: none; border-width: medium" align="left" width="42%" bgcolor="#669999" colspan="2"> </td>
</tr>
<tr>
<td width="5%" style="border-style: none; border-width: medium" bgcolor="#669999" height="21">
<b><font size="2">alder</font></b></td>
<td width="1%" style="border-style: none; border-width: medium" bgcolor="#99CCCC" height="21"> </td>
<td width="7%" style="border-style: none; border-width: medium" bgcolor="#99CCCC" height="21"><b>
<font size="2">
<input type="text" name="alder" value="<?php echo $alder ?>" size="4" maxsize="100"></font></b></td>
<td style="border-style: none; border-width: medium" width="2%" align="right" bgcolor="#669999" height="21"> </td>
<td style="border-style: none; border-width: medium" width="36%" align="right" bgcolor="#669999" height="21" colspan="2">
<b><font size="2">personlige Mål i SuperChang</font></b></td>
<td style="border-style: none; border-width: medium" align="left" width="1%" bgcolor="#99CCCC" height="21"> </td>
<td style="border-style: none; border-width: medium" align="left" width="42%" bgcolor="#99CCCC" height="42" colspan="2" rowspan="2"><b>
<font size="2">
<input type="text" name="personlig" value="<?php echo $personlig ?>" size="36" maxsize="100"></font></b></td>
</tr>
<tr>
<td width="5%" style="border-style: none; border-width: medium" bgcolor="#669999" height="21">
<b><font size="2">højde</font></b></td>
<td width="1%" style="border-style: none; border-width: medium" bgcolor="#99CCCC" height="21"> </td>
<td width="7%" style="border-style: none; border-width: medium" bgcolor="#99CCCC" height="21"><b>
<font size="2">
<input type="text" name="height" value="<?php echo $height ?>" size="4" maxsize="100"></font></b></td>
<td style="border-style: none; border-width: medium" width="2%" align="right" bgcolor="#669999" height="21"> </td>
<td style="border-style: none; border-width: medium" width="36%" align="right" bgcolor="#669999" height="21" colspan="2">
</td>
<td style="border-style: none; border-width: medium" align="left" width="1%" bgcolor="#99CCCC" height="21"> </td>
</tr>
<tr>
<td width="5%" style="border-style: none; border-width: medium" bgcolor="#669999" height="21">
<b><font size="2">vægt</font></b></td>
<td width="1%" style="border-style: none; border-width: medium" bgcolor="#99CCCC" height="21"> </td>
<td width="7%" style="border-style: none; border-width: medium" bgcolor="#99CCCC" height="21"><b>
<font size="2">
<input type="text" name="weight" value="<?php echo $weight ?>" size="4" maxsize="100"></font></b></td>
<td style="border-style: none; border-width: medium" width="2%" align="right" bgcolor="#669999" height="21"> </td>
<td style="border-style: none; border-width: medium" width="36%" align="right" bgcolor="#669999" height="21" colspan="2">
<b><font size="2">bedste minde fra SuperChang</font></b></td>
<td style="border-style: none; border-width: medium" align="left" width="1%" bgcolor="#99CCCC" height="21"> </td>
<td style="border-style: none; border-width: medium" align="left" width="42%" bgcolor="#99CCCC" height="21" colspan="2" rowspan="2">
<input type="text" name="minde" value="<?php echo $minde ?>" size="36" maxsize="100"></td>
</tr>
<tr>
<td width="5%" style="border-style: none; border-width: medium" bgcolor="#669999" height="21"> </td>
<td width="1%" style="border-style: none; border-width: medium" bgcolor="#669999" height="21"> </td>
<td width="7%" style="border-style: none; border-width: medium" bgcolor="#669999" height="21"> </td>
<td style="border-style: none; border-width: medium" width="2%" align="right" bgcolor="#669999" height="21"> </td>
<td style="border-style: none; border-width: medium" width="20%" align="right" bgcolor="#669999" height="21"> </td>
<td style="border-style: none; border-width: medium" width="15%" align="right" bgcolor="#669999" height="21"> </td>
<td style="border-style: none; border-width: medium" align="left" width="1%" bgcolor="#99CCCC" height="21"> </td>
</tr>
<tr>
<td width="5%" style="border-style: none; border-width: medium" bgcolor="#669999" height="21"> </td>
<td width="1%" style="border-style: none; border-width: medium" bgcolor="#669999" height="21"> </td>
<td width="7%" style="border-style: none; border-width: medium" bgcolor="#669999" height="21"> </td>
<td style="border-style: none; border-width: medium" width="2%" align="right" bgcolor="#669999" height="21"> </td>
<td style="border-style: none; border-width: medium" width="35%" align="right" bgcolor="#669999" height="21" colspan="2">
<b>sportslige mål for SuperChang</b></td>
<td style="border-style: none; border-width: medium" align="left" width="1%" bgcolor="#99CCCC" height="21"> </td>
<td style="border-style: none; border-width: medium" align="left" width="42%" bgcolor="#99CCCC" height="21" colspan="2" rowspan="2">
<input type="text" name="chang" value="<?php echo $chang ?>" size="36" maxsize="100"></td>
</tr>
<tr>
<td width="5%" style="border-style: none; border-width: medium" bgcolor="#669999" height="21"> </td>
<td width="1%" style="border-style: none; border-width: medium" bgcolor="#669999" height="21"> </td>
<td width="7%" style="border-style: none; border-width: medium" bgcolor="#669999" height="21"> </td>
<td style="border-style: none; border-width: medium" width="2%" align="right" bgcolor="#669999" height="21"> </td>
<td style="border-style: none; border-width: medium" width="20%" align="right" bgcolor="#669999" height="21"> </td>
<td style="border-style: none; border-width: medium" width="15%" align="right" bgcolor="#669999" height="21"> </td>
<td style="border-style: none; border-width: medium" align="left" width="1%" bgcolor="#99CCCC" height="21"> </td>
</tr>
<tr>
<td style="border-style: none; border-width: medium" align="right" colspan="9">
<p align="center"><b><font size="2"> <?php echo $navn; ?>'s Ord</font></b></td>
</tr>
<tr>
<td style="border-style: none; border-width: medium" align="right" colspan="9" bgcolor="#FFFFFF">
<b><font size="2">
<textarea cols="71" rows="10" name="besked"></textarea></font></b></td>
</tr>
<tr>
<td style="border-style: none; border-width: medium" colspan="9">
<p align="center"><font size="2"><b>emailadresse: </b>
</font>
<input type="text" name="email" value="<?php echo $email ?>" size="31" maxsize="100"></td>
</tr>
<tr>
<td style="border-style: none; border-width: medium" colspan="9">
</td>
</tr>
<tr>
<td width="15%" style="border-style: none; border-width: medium" align="right" bgcolor="#669999" colspan="4"> </td>
<td style="border-style: none; border-width: medium" width="20%" align="right" bgcolor="#669999"> </td>
<td style="border-style: none; border-width: medium" width="15%" align="right" bgcolor="#669999">
<b>brugernavn:</b></td>
<td style="border-style: none; border-width: medium" align="left" width="1%" bgcolor="#669999"> </td>
<td style="border-style: none; border-width: medium" align="left" width="42%" bgcolor="#669999" colspan="2">
<p align="center">
<input type="text" name="user" value="<?php echo $user ?>" size="32" maxsize="100"></td>
</tr>
<tr>
<td width="5%" style="border-style: none; border-width: medium" align="right" bgcolor="#669999"> </td>
<td width="1%" style="border-style: none; border-width: medium" align="right" bgcolor="#669999"> </td>
<td width="7%" style="border-style: none; border-width: medium" align="right" bgcolor="#669999"> </td>
<td style="border-style: none; border-width: medium" width="2%" align="right" bgcolor="#669999"> </td>
<td style="border-style: none; border-width: medium" width="20%" align="right" bgcolor="#669999"> </td>
<td style="border-style: none; border-width: medium" width="15%" align="right" bgcolor="#669999">
<b>password:</b></td>
<td style="border-style: none; border-width: medium" align="left" width="1%" bgcolor="#669999"> </td>
<td style="border-style: none; border-width: medium" align="left" width="42%" bgcolor="#669999" colspan="2">
<p align="center">
<input type="password" name="pass" value="<?php echo $pass ?>" size="32" maxsize="100"></td>
</tr>
<tr>
<td style="border-style: none; border-width: medium" colspan="9">
</td>
</tr>
<tr>
<td style="border-style: none; border-width: medium" colspan="9">
</td>
</tr>
<tr>
<td style="border-style: none; border-width: medium" colspan="9">
</td>
</tr>
<tr>
<td style="border-style: none; border-width: medium" colspan="8">
<p align="center"><b><font color="#FF0000">Du kan godt ændre
infoen uden at uploade et nyt profilbillede</font></b></td>
<td style="border-style: none; border-width: medium" width="21%">
<p align="center">
<input type="submit" value="GEM" name="gem"></td>
</tr>
<tr>
<td style="border-style: none; border-width: medium" colspan="9">
<table border="1" width="100%" id="table5" style="border-width: 0px" bgcolor="#669999">
<tr>
<td style="border-style: none; border-width: medium" bgcolor="#FFFFFF">
<p align="center"><b><font color="#FF0000"><font size="4">
Billedet skal være en .jpg fil.</font> </font>
<font color="#0000FF" size="2"><a href="andreas/help.php">
hjælp</a></font></b></td>
</tr>
<tr>
<td style="border-style: none; border-width: medium">
<iframe name="I1" src="andreas/upload.php" width="588" height="83" scrolling="no" align="center" border="0" frameborder="0">
Webbrowseren understøtter ikke indbyggede rammer eller er aktuelt konfigureret til ikke at vise indbyggede rammer.
</iframe></td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
</div>
<?php
}
echo bund();
?>
