Problem med tabel.
Hejsa.Ved ikke helt hvor jeg skulle lægge den. Men det blev her.
Min footer til mit tema vil ikke rigtig som jeg gerne vil. Problemet ligger i at der er et meget mærkeligt mellemrum som i også kan se på dette billede http://www.getpen.dk/fejl/5.jpg. hvordan kan jeg fjerne det?
Her er kode:
/*footer*/
echo "</tr>\n</table>\n";
echo" <td width='10%'> </td>
</tr>
</table>
</td>
</tr>
</table>
<table cellpadding='2' cellspacing='0' width='$theme_width' class='bottom'>
<tr>
<td width='10%'></td>
<td width='80%'>
<table cellspacing='0' cellpadding='2' width='100%' border='0'>
<tr>
<td width='28%' align='left'>
<table width='100%'>
<tr>
<td class='bottom-header' width='100%'>";
if (iMEMBER){
echo "Top5 - Ialt</td></tr><tr valign='top'><td class='bottom2'><br />";
echo "
<table width='100%'>
<tr>
<td width='20'></td>
<td width='90'></td>
<td width='40'></td>
</tr>
";
$query = dbquery("SELECT * FROM ".DB_PREFIX."users ORDER BY user_tjent DESC LIMIT 5");
$i = 1;
while($row = dbarray($query)) {
$top10tjent = $row['user_tjent'];
$userid = $row['user_id'];
$username = $row['user_name'];
echo "<tr><td class='bottom2'>$i</td>";
echo "<td class='bottom2'><a href='http://mlz.dk/nygetpen/profile.php?lookup=$userid'>$username</a></td>";
echo "<td class='bottom2'>$top10tjent </td></tr>\n";
$i++;
}
echo "
</table>
<br>
";
}
else {
echo "".$locale['global_100']."</td></tr><tr valign='top'><td class='bottom2'><br />";
echo "<div style='text-align:center'>\n";
echo "<form name='loginform' method='post' action='".FUSION_SELF."'>\n";
echo $locale['global_101']."<br />\n<input type='text' name='user_name' class='textbox' style='width:100px' /><br />\n";
echo $locale['global_102']."<br />\n<input type='password' name='user_pass' class='textbox' style='width:100px' /><br />\n";
echo "<input type='checkbox' name='remember_me' value='y' title='".$locale['global_103']."' style='vertical-align:middle;' />\n";
echo "<input type='submit' name='login' value='".$locale['global_104']."' class='button' /><br />\n";
}
echo " </td>
</tr>
</table>
</td>
<td width='3%'></td>
<td width='28%' align='left'>
<table width='100%'>
<tr>
<td class='bottom-header' width='100%'>";
echo "Top5 - Venner</td></tr><tr valign='top'><td class='bottom2'><br />";
echo "Hvem har inviteret flest?
</td>
</tr>
</table>
</td>
<td width='3%'></td>
<td width='28%' align='left'>
<table width='100%'>
<tr>
<td class='bottom-header' width='100%'>";
echo "Top5 - Marts</td></tr><tr valign='top'><td class='bottom2'><br />";
echo "Hvem er bedst i marts?";
echo " </td>
</tr>
</table>
</td>
<td width='10%'></td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
<table cellpadding='2' cellspacing='0' width='$theme_width' class='footer'>
<tr>
<td width='90%' align='center'>
<table cellspacing='0' cellpadding='2' width='100%' border='0'>
<tr>
<td align='center' class='footer'>".stripslashes($settings['footer'])."</td>
</tr>
</table>
<table cellspacing='0' cellpadding='2' width='100%' border='0'>
<tr>
<td width='80%' align='center' class='footer'>
Glossy Pink theme originally by <a href='mailto:benjamin.eriksen@gmail.com'>Fusionate Themes</a>. Converted to PHP-Fusion 7 by <a href='http://www.php-fusion.nu/' target='_blank'>Kenneth</a>. /
".showcopyright()."
</td>
</tr>
</table>
</td>
</tr>
</table>";
// echo "</table>";
//Footer end
