Parse error: syntax error, unexpected T_ELSE in /hsphere/local/home/habsi/habsi.dk/redaktionen/index.php on line 58 - det er fejlen jeg får.
Jeg har prøvet at ændre men har åbentbart ikke virket.
<?
include("../top.php");
include("tilslut.php");
?>
<table class='white_bar' align='center' style='border: 1px solid #ad7106; background-color: #ee9800;' width='102%' border='0' cellspacing='0' cellpadding='0'>
<tr>
<td style='padding: 2px; padding-left: 5px;'><font color='white'><b>» Redaktionen<strong></b></font></td>
</tr>
</table>
</center>
<br>
</table>
<table width="102%" border="0" cellspacing="0" cellpadding="5" style="border:solid 1px #C7C7C7">
<tr>
<td colspan="4" bgcolor="#E9E9E9" class="topnews_st"><div align="center"><strong>Ejere:</strong></div>
</td>
</tr>
</table>
<?
$query = mysql_query("SELECT * FROM redaktionen WHERE stilling = 'Ejer' ORDER BY id") or die(mysql_error());
while ($row = mysql_fetch_assoc($query)) {
?>
<table width="102%" border="0" style="border-top: 0px;" cellspacing="0" cellpadding="5" style="border:solid 1px #C7C7C7">
<tr>
<td bgcolor="#E9E9E9" class="topnews_st">
<table style="float:left;" width="50%" border="0" style="border-top: 0px;" solid #cbcbcb; cellspacing="0" cellpadding="0" height="56">
<tr>
<td align="center" valign="middle" width="30"><img src="http://www.habbo.dk/habbo-imaging/avatarimage?user=<?
$habbonavn = mysql_query("SELECT * FROM community WHERE brugernavn = '$row[brugernavn]'") or die(mysql_error());
$vis_habbonavn = mysql_fetch_array($habbonavn);
if($vis_habbonavn[habbonavn] == "") {
print "";
}else{
echo "$vis_habbonavn[habbonavn]";
?>&action=std&frame=3&direction=2&head_direction=3&gesture=sml&size=s&img_format=gif"></td>
<td>
<table width="100%" border="0" cellspacing="0" cellpadding="0" height="56">
<tr height="16">
<td width="45" height="16"><strong>Navn:</strong></td>
<td style="padding-left: 2px;" height="16"><a href="/funktioner/profil.php?vis=profil&brugernavn=<?=$row[brugernavn]?>"><?=$row[brugernavn]?></td>
</tr>
<tr height="16">
<td width="45" height="16"><strong>Stilling</strong>:</td>
<td style="padding-left: 2px;" height="16">
<?
$plads = "0";
$hent_ol = mysql_query("SELECT * FROM community WHERE brugernavn = '$row[brugernavn]'");
while($vis = mysql_fetch_array($hent_ol)) {
$plads++;
print "
<b>(<font color='green'>Online</font>)</b>";
}else{
echo "lol";
?>
<?
$status2 = mysql_query("SELECT * FROM community WHERE brugernavn = '$row[brugernavn]'") or die(mysql_error());
$vis_status2 = mysql_fetch_array($status2);
if($vis_status2[status2] == "") {
print "";
}else{
echo "$vis_status2[status2]";
?>
</td>
</tr>
</table>
</td>
</tr>
</table>
<?
}
?>