Nieuw lid |
|
<td>
<div align="center">
<font color="#B5B5B5" size="1" face="Verdana, Arial, Helvetica, sans-serif">Crew</font>
</div>
</td>
</tr>
</table>
</td>
<td>
<img src="images/rightcolumnheader.gif" width="16" height="36">
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td>
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="sideborders">
<tr>
<td height="15" bgcolor="#5C5E4F">
<font color="#B5B5B5" size="1" face="Verdana, Arial, Helvetica, sans-serif">
<a href="famlijst.php" target="frame">Familie Lijst</a>
</font>
</td>
</tr>
<tr>
<td background="images/dotborder.gif" height="1">
</td>
</tr>
<tr>
<td height="15">
<font color="#B5B5B5" size="1" face="Verdana, Arial, Helvetica, sans-serif">
<a href="famdonate2.php" target="frame">Familie doneren</a>
</font>
</td>
</tr>
<tr>
<td background="images/dotborder.gif" height="1">
</td>
</tr>
<tr>
<?
$dbres = mysql_query("SELECT * FROM `[families]` WHERE `name`='{$data->family}'");
$fam = mysql_fetch_object($dbres);
if($data->family != "") {
print "<tr><td class=\"tdcell\"> - <a href=\"fampage.php\" target=\"right\">Familie Pagina</td></a></a></tr>\n";
print "<tr><td class=\"tdcell\"> - <a href=\"famdonate.php\" target=\"right\">Eigenfamilie doneren</td></a></a></tr>\n";
}
if($data->famleader == 1 || $data->famsotto == 1) {
print "<tr><td class=\"tdcell\"> - <a href=\"famedit.php\" target=\"right\">Familie Beheer</td></a></a></tr>\n";
}
if($data->famconsig == 1 || $data->famleader == 1) {
print "<tr><td class=\"tdcell\"> - <a href=\"fambank.php\" target=\"right\">Familie Bank</td></a></a></tr>\n";
}
if($data->famleader == 1 || $data->famsotto == 1) {
print "<tr><td class=\"tdcell\"> - <a href=\"famshop.php\" target=\"right\">Familie Winkel</td></a></a></tr>\n";
print "<tr><td class=\"tdcell\"> - <a href=\"famgarage.php\" target=\"right\">Familie garage</td></a></a></tr>\n";
print "<tr><td class=\"tdcell\"> - <a href=\"fammsg.php?p=msg\" target=\"right\">Familie Bericht</td></a></a></tr>\n";
}
if($data->family == "") {
print "<tr><td class=\"tdcell\"> - <a href=\"beginfam.php\" target=\"right\">Familie Opzetten</td></a></a></tr>\n";
}
?>
</td>
</tr>
<tr>
</table>
</td>
</tr>
<tr>
<td><img src="images/bottomcolumns.gif" width="157" height="9">
</td>
</tr>
</table>
</td>
<td> <div align="center"> <font color="#B5B5B5" size="1" face="Verdana, Arial, Helvetica, sans-serif">Crew</font> </div> </td> </tr> </table> </td> <td> <img src="images/rightcolumnheader.gif" width="16" height="36"> </td> </tr> </table> </td> </tr> <tr> <td> <table width="100%" border="0" cellspacing="0" cellpadding="0" class="sideborders"> <tr> <td height="15" bgcolor="#5C5E4F"> <font color="#B5B5B5" size="1" face="Verdana, Arial, Helvetica, sans-serif"> <a href="famlijst.php" target="frame">Familie Lijst</a> </font> </td> </tr> <tr> <td background="images/dotborder.gif" height="1"> </td> </tr> <tr> <td height="15"> <font color="#B5B5B5" size="1" face="Verdana, Arial, Helvetica, sans-serif"> <a href="famdonate2.php" target="frame">Familie doneren</a> </font> </td> </tr> <tr> <td background="images/dotborder.gif" height="1"> </td> </tr> <tr> <? $dbres = mysql_query("SELECT * FROM `[families]` WHERE `name`='{$data->family}'"); if($data->family != "") { print "<tr><td class=\"tdcell\"> - <a href=\"fampage.php\" target=\"right\">Familie Pagina</td></a></a></tr>\n"; print "<tr><td class=\"tdcell\"> - <a href=\"famdonate.php\" target=\"right\">Eigenfamilie doneren</td></a></a></tr>\n"; } if($data->famleader == 1 || $data->famsotto == 1) { print "<tr><td class=\"tdcell\"> - <a href=\"famedit.php\" target=\"right\">Familie Beheer</td></a></a></tr>\n"; } if($data->famconsig == 1 || $data->famleader == 1) { print "<tr><td class=\"tdcell\"> - <a href=\"fambank.php\" target=\"right\">Familie Bank</td></a></a></tr>\n"; } if($data->famleader == 1 || $data->famsotto == 1) { print "<tr><td class=\"tdcell\"> - <a href=\"famshop.php\" target=\"right\">Familie Winkel</td></a></a></tr>\n"; print "<tr><td class=\"tdcell\"> - <a href=\"famgarage.php\" target=\"right\">Familie garage</td></a></a></tr>\n"; print "<tr><td class=\"tdcell\"> - <a href=\"fammsg.php?p=msg\" target=\"right\">Familie Bericht</td></a></a></tr>\n"; } if($data->family == "") { print "<tr><td class=\"tdcell\"> - <a href=\"beginfam.php\" target=\"right\">Familie Opzetten</td></a></a></tr>\n"; } ?> </td> </tr> <tr> </table> </td> </tr> <tr> <td><img src="images/bottomcolumns.gif" width="157" height="9"> </td> </tr> </table> </td>
Waarom werkt dit niet?
titjes schreef: CODETAGS, en volgende keer een beetje meer gestructureerde code graag.
|