Je moet ingelogd zijn om te stemmen.
<?//list.php include('config_kris.php'); $variabele = mysql_query("SELECT * FROM phpbb_users "); $total = mysql_num_rows($variabele); while($list = mysql_fetch_object($variabele)) { echo " <center> <a href='index.php?p=showprofile&id=$list->user_id'>$list->username</a> <br><br> " ; } mysql_close(); ?>
<?//list.phpinclude('config_kris.php'); $variabele = mysql_query("SELECT * FROM phpbb_users ");$total = mysql_num_rows($variabele); while($list = mysql_fetch_object($variabele)) { echo "<center> <a href='index.php?p=showprofile&id=$list->user_id'>$list->username</a> <br><br> " ;} mysql_close();?>
<?//showprofile.php include('config_kris.php'); $variabele = mysql_query("SELECT * FROM phpbb_users WHERE user_id=$id "); $total = mysql_num_rows($variabele); while($list = mysql_fetch_object($variabele)) { echo " <center>Profile viewer<br></center> <div align='center'> <center> <table border='0' width='61%'> <tr> <td width='16%'>Name:</td> <td width='84%'>$list->username</td> </tr> <tr> <td width='16%'>E-mail</td> <td width='84%'>$list->user_email</td> </tr> <tr> <td width='16%'>Avatar</td> <td width='84%'><img src='$list->user_avatar'></td> </tr> <tr> <td width='16%'>MSN</td> <td width='84%'>$list->user_msnm</td> </tr> <tr> <td width='16%'>Website</td> <td width='84%'><A href='$list->user_website'>$list->user_website</a></td> </tr> <tr> <td width='16%'>Plaats</td> <td width='84%'>$list->user_from</td> </tr> </table> </center> </div> " ; } echo "<center><br><br> <a href='Javascript:history.back()'>Go back</a> <br> </center> " ; mysql_close(); ?>
<?//showprofile.phpinclude('config_kris.php'); $variabele = mysql_query("SELECT * FROM phpbb_users WHERE user_id=$id ");$total = mysql_num_rows($variabele); while($list = mysql_fetch_object($variabele)) { echo "<center>Profile viewer<br></center><div align='center'> <center> <table border='0' width='61%'> <tr> <td width='16%'>Name:</td> <td width='84%'>$list->username</td> </tr> <tr> <td width='16%'>E-mail</td> <td width='84%'>$list->user_email</td> </tr> <tr> <td width='16%'>Avatar</td> <td width='84%'><img src='$list->user_avatar'></td> </tr> <tr> <td width='16%'>MSN</td> <td width='84%'>$list->user_msnm</td> </tr> <tr> <td width='16%'>Website</td> <td width='84%'><A href='$list->user_website'>$list->user_website</a></td> </tr> <tr> <td width='16%'>Plaats</td> <td width='84%'>$list->user_from</td> </tr> </table> </center></div> " ;}echo "<center><br><br> <a href='Javascript:history.back()'>Go back</a> <br></center>" ; mysql_close();?>