terug

Ik wil ook zo'n Persoonlijke Startpagina.
Stuur dan een Mail naar Edwin Graven met de gewenste Usernaam en een eventueel Wachtwoord"; } include("css/start_css.php"); echo "\n"; echo "
\n"; if ($specials == "1") { $span = 4; } else { $span = 3; } echo "\n"; /* see how many groups a user has */ $countgroups = mysql_query ("SELECT COUNT(*) FROM groupname where name='$username'"); if ($countgroups) { while($row = mysql_fetch_array($countgroups)) { $grtel = $row[0]; /* if ($specials == "1") { $grtel = $grtel + "1"; }*/ $grtel = $grtel / "3"; } } else { echo "Group table is not availebly"; } echo "\n"; } echo "

$koptext

"; /* get groupnames from groupname table */ $tabtel = "1"; $tabtot = "1"; $grouptable = mysql_query ("SELECT * from groupname where name='$username'"); if ($grouptable) { while($row = mysql_fetch_array($grouptable)) { $nr = $row[0]; $grname = $row[2]; if ($tabtel > $grtel) { if ($tabtot < "3") { echo ""; $tabtot = $tabtot + "1"; } $tabtel = "0"; } $tabtel = $tabtel + "1"; echo "\n"; echo "\n"; echo "
$grname
"; /* look for urls by this groupname in links table */ $linkresult = mysql_query ("SELECT * from links where grname='$nr'"); while($row = mysql_fetch_array($linkresult)) { $urlname = $row[2]; $url = $row[3]; $alt = $row[4]; echo "$urlname
\n"; } echo "
\n"; echo "

\n"; } } /* Check if user has specials */ if ($specials == "1") { echo "

"; include("specials.php"); echo "
"; include("onderbalk.php"); mysql_close ($link); } else { echo "Fout. :-) je hebt geen username gegeven
"; echo "Klik hier om opnieuw in te loggen"; } ?>