/* DirectTopics 2 http://www.directtopics.nl http://forum.directtopics.nl */ include 'includes/include.inc.php'; set_ubb(); $pro = $_GET['user']; $select = mysql_query("SELECT * FROM dt_leden WHERE id = '".$pro."'"); $bestaat = mysql_num_rows($select); if ($bestaat == 0){ redirect('index.php',0); } else { $member = mysql_fetch_array($select); ?>
Index / Profiel / echo $membername; ?> | ||
Algemene gegevens | ||
Gebruikersnaam : | echo $membername; ?> | |
Echte naam : | if ($naam != "") echo $naam; else echo "-";?> | |
Woonplaats | if ($woonplaats != "") echo $woonplaats; else echo "-"; ?> | |
Geboortedatum | echo $member['geb1'] . ' ' . $member['geb2'] . ' ' .$member['geb3']; ?> | |
Geslacht | if ($member['geslacht'] != "") echo $member['geslacht']; else echo "-"; ?> | |
Nationaliteit | if ($nationaliteit != "") echo $nationaliteit; else echo "-"; ?> | |
Website | if ($website != "") echo ''.$website.''; else echo '-'; ?> | |
Contact gegevens | ||
Emailadres | echo $email; ?> | |
Registratie emailadres | if ($regmail != "") echo $regmail; ?> | |
IP adres | echo $mem_ip; ?> | |
Telefoonnummer | if ($telefoon != "") echo $telefoon; ?> | |
MSN | if ($msn != "") echo $msn; ?> | |
ICQ | if ($icq != "") echo $icq; ?> | |
Privebericht | echo ''.$membername.' een privebericht sturen.'; ?> | |
Overige gegevens | ||
Forum Status | if ($member['status'] == "1") echo ''.$status_mod.''; elseif ($member['status'] == "2") echo ''.$status_admin.''; elseif ($member['status'] == "3") echo ''.$status_special.''; else echo 'Normaal lid'; ?> | |
Forum Posts | echo $member['posts']; ?> | |
Totaal post gemiddelde | echo $gemiddelde; ?> | |
Lid sinds | echo $member['datum']; ?> | |
Online | $result = mysql_query("SELECT DISTINCT id FROM dt_online WHERE id = '".$member[id]."'"); $online2 = mysql_num_rows($result); if ($online2 == "0"){ echo 'Nee'; } else { echo 'Ja'; } ?> | |
Opties | Profiel wijzigen | Notes bekijken | Note toevoegen | Bannen | |
Uitgebreid profiel | ||
|
Reacties op dit profiel |
Er zijn nog geen reacties toegevoegd op dit profiel. |
if ($member['status'] == "1"){ echo ''.$nickname.''; } elseif ($member['status'] == "2"){ echo ''.$nickname.''; } elseif ($member['status'] == "3"){ echo ''.$nickname.''; } else { echo ''.$nickname.''; } ?>
Posts: echo $member['posts']; if ($forumstatus == 1 || $forumstatus == 2){ $query_note = mysql_num_rows(mysql_query("SELECT id FROM dt_notes WHERE userid = ".$member['id'])); echo ' Notes: '.$query_note; $query_ban = mysql_num_rows(mysql_query("SELECT id FROM dt_ban WHERE gebnaam = '".stripslashes($member['nickname']."'"))); if ($query_ban != 0){ echo ' Banned: Ja'; } } ?> if ($member['avatar'] != ""){ ?> " alt="" width="60" height="60" border="1" /> } ?> |
$result = mysql_query("SELECT DISTINCT id FROM dt_online WHERE id = '".$member[id]."'"); $online2 = mysql_num_rows($result); $sel = mysql_query("SELECT id, nickname, status, hide FROM dt_leden WHERE id = '".$online[id]."'"); $mem = mysql_fetch_array($sel); if ($mem['hide'] == "1" AND $forumstatus != "0" AND $online2 == "1"){ echo ' '; } elseif ($mem['hide'] == "1" AND $forumstatus == "0"){ echo ' '; } elseif ($online2 == "0"){ echo ' '; } else { echo ' '; } ?> Gepost door echo $nickname; ?> if ($member['status'] == '1'){ echo '['.$status_mod.'] '; } elseif ($member['status'] == '2'){ echo '['.$status_admin.'] '; } elseif ($member['status'] == '3'){ echo '['.$status_special.'] '; }?> op echo "$reactie[datum]"; ?> / echo "$reactie[tijd]"; ?> |
if ($ingelogd == "1"){ ?>
} if ($memberid == $reactie[door] OR $forumstatus == "1" OR $forumstatus == "2" AND $ingelogd == "1"){ ?>
} If ($forumstatus == "1" OR $forumstatus == "2" AND $ingelogd == "1"){ ?>
} if ($member[homepage] != "") { ?>
} if ($forumstatus == "1" OR $forumstatus == "2" AND $ingelogd == "1"){ ?>
} ?>
|
|
|
|||
if ($member[signature] != "" AND $show_sig == "1"){
$sig = $member['signature'];
$sig = htmlspecialchars(stripslashes($sig));
$sig = preg_replace("/\[b](.*?)\[\/b]/si","\\1",$sig);
$sig = preg_replace("/\[modb](.*?)\[\/modb]/si","\\1",$sig);
$sig = preg_replace("/\[u](.*?)\[\/u]/si","\\1",$sig);
$sig = preg_replace("/\[s](.*?)\[\/s]/si"," '; echo $sig; } else { echo ' '; } ?> |
Index / Profiel / echo $membername; ?> | |||||