80s toys - Atari. I still have
> » //<< « header("Content-type: text/vnd.wap.wml"); header("Cache-Control: no-store, no-cache, must-revalidate"); echo(""); echo ""; ?> "; echo "

"; echo "\"x\"/Nu esti autentificat
"; echo "Sau sesiunea ta a expirat

"; echo "Autentificare"; echo "

"; echo ""; echo "
"; exit(); } } if(isbanned($uid)) { echo ""; echo "

"; echo "\"x\"/
"; echo "Esti Banat(a)
"; $banto = mysql_fetch_array(mysql_query("SELECT timeto, pnreas, exid FROM lib3rtymrc_penalties WHERE uid='".$uid."' AND penalty='1' OR uid='".$uid."' AND penalty='2'")); $banres = mysql_fetch_array(mysql_query("SELECT lastpnreas FROM lib3rtymrc_users WHERE id='".$uid."'")); $remain = $banto[0]- time(); $rmsg = gettimemsg($remain); echo "Timp ramas pana la debanare: $rmsg
"; $nick = getnick_uid($banto[2]); echo "By: $nick
"; echo "Motiv ban: $banres[0]"; //echo "Login"; echo "

"; echo "
"; echo ""; exit(); } ///////////////////////////////////time $res = mysql_fetch_array(mysql_query("SELECT lastact FROM lib3rtymrc_users WHERE id='".$uid."'")); $lastact = $res[0]; $atime = time() - $lastact; if($atime<1800){ $res = mysql_fetch_array(mysql_query("SELECT otime, mtime FROM lib3rtymrc_users where id='".$uid."'")); $otime = $res[0] + $atime; $mtime = $res[1] + $atime; $res = mysql_query("UPDATE lib3rtymrc_users SET otime='".$otime."', mtime='".$mtime."' where id='".$uid."'"); } /// //////////////////////////////////Members List if($action=="members") { addonline(getuid_sid($sid),"Lista membri",""); $view = $_GET["view"]; if($view=="")$view="date"; echo ""; echo "

"; echo "\"*\"/
"; echo "Ordoneaza dupa nume
"; echo "Ordoneaza dupa inregistrare
"; echo "

"; //////ALL LISTS SCRIPT << if($page=="" || $page<=0)$page=1; $num_items = regmemcount(); //changable $items_per_page= 10; $num_pages = ceil($num_items/$items_per_page); if(($page>$num_pages)&&$page!=1)$page= $num_pages; $limit_start = ($page-1)*$items_per_page; //changable sql if($view=="name") { $sql = "SELECT id, name, regdate FROM lib3rtymrc_users ORDER BY name LIMIT $limit_start, $items_per_page"; }else{ $sql = "SELECT id, name, regdate FROM lib3rtymrc_users ORDER BY regdate DESC LIMIT $limit_start, $items_per_page"; } echo "

"; $items = mysql_query($sql); if(mysql_num_rows($items)>0) { while ($item = mysql_fetch_array($items)) { $jdt = date("d-m-y", $item[2]); $lnk = "$item[1] inregistrat la: $jdt"; echo "$lnk
"; } } echo "

"; echo "

"; if($page>1) { $ppage = $page-1; echo "«Inapoi "; } if($page<$num_pages) { $npage = $page+1; echo "Inainte»"; } echo "
$page/$num_pages
"; if($num_pages>2) { $rets = "Dute la pagina"; $rets .= "[Dute]"; $rets .= ""; $rets .= ""; $rets .= ""; $rets .= ""; $rets .= ""; $rets .= ""; echo $rets; } echo "

"; ////// UNTILL HERE >> echo "

"; echo "\"*\"/"; echo "Statistici site
"; echo "\"*\"/"; echo "Prim"; echo "

"; echo "
"; } //////////////////////////////////List users by IP if($action=="byip") { addonline(getuid_sid($sid),"Moderare",""); echo ""; //////ALL LISTS SCRIPT << $who = $_GET["who"]; $whoinfo = mysql_fetch_array(mysql_query("SELECT ipadd, browserm FROM lib3rtymrc_users WHERE id='".$who."'")); if(ismod(getuid_sid($sid))){ if($page=="" || $page<=0)$page=1; $noi = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_users WHERE ipadd='".$whoinfo[0]."' AND browserm='".$whoinfo[1]."'")); $num_items = $noi[0]; //changable $items_per_page= 10; $num_pages = ceil($num_items/$items_per_page); if(($page>$num_pages)&&$page!=1)$page= $num_pages; $limit_start = ($page-1)*$items_per_page; //changable sql $sql = "SELECT id, name FROM lib3rtymrc_users WHERE ipadd='".$whoinfo[0]."' AND browserm='".$whoinfo[1]."' ORDER BY name LIMIT $limit_start, $items_per_page"; echo "

"; $items = mysql_query($sql); if(mysql_num_rows($items)>0) { while ($item = mysql_fetch_array($items)) { $lnk = "$item[1]"; echo "$lnk
"; } } echo "

"; echo "

"; if($page>1) { $ppage = $page-1; echo "«Inapoi "; } if($page<$num_pages) { $npage = $page+1; echo "Inainte»"; } echo "
$page/$num_pages
"; if($num_pages>2) { $rets = "Dute la pagina"; $rets .= "[Dute]"; $rets .= ""; $rets .= ""; $rets .= ""; $rets .= ""; $rets .= ""; $rets .= ""; echo $rets; } echo "

"; }else{ echo "

"; echo "Nu pot vedea aceasta lista"; echo "

"; } ////// UNTILL HERE >> echo "

"; echo "\"*\"/"; echo "Prim"; echo "

"; echo "
"; } //////////////////////// //////////////////////////////////Top Posters List else if($action=="topp") { addonline(getuid_sid($sid),"Top Posteri",""); echo ""; echo "

"; echo "Top Posteri
Multumim pentru implicare!
"; $weekago = time(); $weekago -= 7*24*60*60; $noi = mysql_fetch_array(mysql_query("SELECT COUNT(DISTINCT uid) FROM lib3rtymrc_posts WHERE dtpost>'".$weekago."';")); echo "Saptamana asta($noi[0])
"; $noi = mysql_fetch_array(mysql_query("SELECT COUNT(DISTINCT uid) FROM lib3rtymrc_posts ;")); echo "Tot timpul($noi[0])

"; echo "

"; //////ALL LISTS SCRIPT << if($page=="" || $page<=0)$page=1; $num_items = regmemcount(); //changable $items_per_page= 10; $num_pages = ceil($num_items/$items_per_page); if(($page>$num_pages)&&$page!=1)$page= $num_pages; $limit_start = ($page-1)*$items_per_page; //changable sql $sql = "SELECT id, name, posts FROM lib3rtymrc_users ORDER BY posts DESC LIMIT $limit_start, $items_per_page"; echo "

"; $items = mysql_query($sql); echo mysql_error(); if(mysql_num_rows($items)>0) { while ($item = mysql_fetch_array($items)) { $lnk = "$item[1] Postari: $item[2]"; echo "$lnk
"; } } echo "

"; echo "

"; if($page>1) { $ppage = $page-1; echo "«Inapoi "; } if($page<$num_pages) { $npage = $page+1; echo "Inainte»"; } echo "
$page/$num_pages
"; if($num_pages>2) { $rets = "Dute la pagina"; $rets .= "[Dute]"; $rets .= ""; $rets .= ""; $rets .= ""; $rets .= ""; $rets .= ""; echo $rets; } echo "

"; ////// UNTILL HERE >> echo "

"; echo "\"*\"/"; echo "Statistici site
"; echo "\"*\"/"; echo "Prim"; echo "

"; echo "
"; } //////////////////////////////////Most online daily list else if($action=="moto") { addonline(getuid_sid($sid),"Vizualizare Top Online",""); echo ""; echo "

"; echo "Maximum number of users was online in the last 10 Days
"; echo "
"; echo "

"; //////ALL LISTS SCRIPT << //changable sql $sql = "SELECT ddt, dtm, ppl FROM lib3rtymrc_mpot ORDER BY id DESC LIMIT 10"; echo "

"; $items = mysql_query($sql); if(mysql_num_rows($items)>0) { while ($item = mysql_fetch_array($items)) { $lnk = "$item[0]($item[1]) Membri: $item[2]"; echo "$lnk
"; } } echo "

"; ////// UNTILL HERE >> echo "

"; echo "\"*\"/"; echo "Statistici
"; echo "\"*\"/"; echo "Prim"; echo "

"; echo "
"; } //////////////////////////////////Top Chatters else if($action=="tchat") { addonline(getuid_sid($sid),"Top Chateri",""); echo ""; echo "

"; echo "Top Chateri"; echo "

"; //////ALL LISTS SCRIPT << if($page=="" || $page<=0)$page=1; $num_items = regmemcount(); //changable $items_per_page= 10; $num_pages = ceil($num_items/$items_per_page); if(($page>$num_pages)&&$page!=1)$page= $num_pages; $limit_start = ($page-1)*$items_per_page; //changable sql $sql = "SELECT id, name, chmsgs FROM lib3rtymrc_users ORDER BY chmsgs DESC LIMIT $limit_start, $items_per_page"; echo "

"; $items = mysql_query($sql); echo mysql_error(); if(mysql_num_rows($items)>0) { while ($item = mysql_fetch_array($items)) { $lnk = "$item[1] Postari chat: $item[2]"; echo "$lnk
"; } } echo "

"; echo "

"; if($page>1) { $ppage = $page-1; echo "«Inapoi "; } if($page<$num_pages) { $npage = $page+1; echo "Inainte»"; } echo "
$page/$num_pages
"; if($num_pages>2) { $rets = "Dute la pagina"; $rets .= "[Dute]"; $rets .= ""; $rets .= ""; $rets .= ""; $rets .= ""; $rets .= ""; echo $rets; } echo "

"; ////// UNTILL HERE >> echo "

"; echo "\"*\"/"; echo "Statistici site
"; echo "\"*\"/"; echo "Prim"; echo "

"; echo "
"; } ///////////////////////////////////user fun :D else if($action=="smc") { $who = $_GET["who"]; $wnick = getnick_uid($who); addonline(getuid_sid($sid),"Lista Saruturi",""); echo ""; echo "

"; echo "Membri sarutati de $wnick"; echo "

"; //////ALL LISTS SCRIPT << if($page=="" || $page<=0)$page=1; $noi = mysql_fetch_array(mysql_query("SELECT COUNT(id) FROM lib3rtymrc_usfun WHERE uid='".$who."' AND action='smooch'")); //changable $num_items = $noi[0]; $items_per_page= 10; $num_pages = ceil($num_items/$items_per_page); if(($page>$num_pages)&&$page!=1)$page= $num_pages; $limit_start = ($page-1)*$items_per_page; //changable sql $sql = " SELECT a.target, b.name FROM lib3rtymrc_usfun a INNER JOIN lib3rtymrc_users b ON a.target = b.id WHERE a.uid='".$who."' AND a.action='smooch' ORDER BY a.actime DESC LIMIT $limit_start, $items_per_page ;"; echo "

"; $items = mysql_query($sql); echo mysql_error(); if(mysql_num_rows($items)>0) { while ($item = mysql_fetch_array($items)) { $lnk = "$item[1]"; echo "$lnk
"; } } echo "

"; echo "

"; if($page>1) { $ppage = $page-1; echo "«Anterior "; } if($page<$num_pages) { $npage = $page+1; echo "Urmator»"; } if($num_pages>1) { echo "
$page/$num_pages
"; } if($num_pages>2) { $rets = "Sari la pagina"; $rets .= "[DUTE]"; $rets .= ""; $rets .= ""; $rets .= ""; $rets .= ""; $rets .= ""; $rets .= ""; echo $rets; } echo "

"; ////// UNTILL HERE >> echo "

"; echo "\"*\"/"; echo "Statistici
"; echo "\"*\"/"; echo "Prim"; echo "

"; echo "
"; } else if($action=="smd") { $who = $_GET["who"]; $wnick = getnick_uid($who); addonline(getuid_sid($sid),"Lista Sarutati",""); echo ""; echo "

"; echo "Membri care lau sarutat pe$wnick"; echo "

"; //////ALL LISTS SCRIPT << if($page=="" || $page<=0)$page=1; $noi = mysql_fetch_array(mysql_query("SELECT COUNT(id) FROM lib3rtymrc_usfun WHERE target='".$who."' AND action='smooch'")); //changable $num_items = $noi[0]; $items_per_page= 10; $num_pages = ceil($num_items/$items_per_page); if(($page>$num_pages)&&$page!=1)$page= $num_pages; $limit_start = ($page-1)*$items_per_page; //changable sql $sql = " SELECT a.uid, b.name FROM lib3rtymrc_usfun a INNER JOIN lib3rtymrc_users b ON a.uid = b.id WHERE a.target='".$who."' AND a.action='smooch' ORDER BY a.actime DESC LIMIT $limit_start, $items_per_page ;"; echo "

"; $items = mysql_query($sql); echo mysql_error(); if(mysql_num_rows($items)>0) { while ($item = mysql_fetch_array($items)) { $lnk = "$item[1]"; echo "$lnk
"; } } echo "

"; echo "

"; if($page>1) { $ppage = $page-1; echo "«Anterior "; } if($page<$num_pages) { $npage = $page+1; echo "Urmator»"; } if($num_pages>1) { echo "
$page/$num_pages
"; } if($num_pages>2) { $rets = "Sari la pagina"; $rets .= "[DUTE]"; $rets .= ""; $rets .= ""; $rets .= ""; $rets .= ""; $rets .= ""; $rets .= ""; echo $rets; } echo "

"; ////// UNTILL HERE >> echo "

"; echo "\"*\"/"; echo "Statistici
"; echo "\"*\"/"; echo "Prim"; echo "

"; echo "
"; } ////////////////////////////////// lista batuti else if($action=="kck") { $who = $_GET["who"]; $wnick = getnick_uid($who); addonline(getuid_sid($sid),"Lista Batailor",""); echo ""; echo "

"; echo "Membri Membri Batuti de $wnick"; echo "

"; //////ALL LISTS SCRIPT << if($page=="" || $page<=0)$page=1; $noi = mysql_fetch_array(mysql_query("SELECT COUNT(id) FROM lib3rtymrc_usfun WHERE uid='".$who."' AND action='kick'")); //changable $num_items = $noi[0]; $items_per_page= 10; $num_pages = ceil($num_items/$items_per_page); if(($page>$num_pages)&&$page!=1)$page= $num_pages; $limit_start = ($page-1)*$items_per_page; //changable sql $sql = " SELECT a.target, b.name FROM lib3rtymrc_usfun a INNER JOIN lib3rtymrc_users b ON a.target = b.id WHERE a.uid='".$who."' AND a.action='kick' ORDER BY a.actime DESC LIMIT $limit_start, $items_per_page ;"; echo "

"; $items = mysql_query($sql); echo mysql_error(); if(mysql_num_rows($items)>0) { while ($item = mysql_fetch_array($items)) { $lnk = "$item[1]"; echo "$lnk
"; } } echo "

"; echo "

"; if($page>1) { $ppage = $page-1; echo "«Anterior "; } if($page<$num_pages) { $npage = $page+1; echo "Urmator»"; } if($num_pages>1) { echo "
$page/$num_pages
"; } if($num_pages>2) { $rets = "Sari la pagina"; $rets .= "[DUTE]"; $rets .= ""; $rets .= ""; $rets .= ""; $rets .= ""; $rets .= ""; $rets .= ""; echo $rets; } echo "

"; ////// UNTILL HERE >> echo "

"; echo "\"*\"/"; echo "Statistici
"; echo "\"*\"/"; echo "Prim"; echo "

"; echo "
"; } else if($action=="kcd") { $who = $_GET["who"]; $wnick = getnick_uid($who); addonline(getuid_sid($sid),"Lista Batailor",""); echo ""; echo "

"; echo "Membri care au fost batuti de $wnick"; echo "

"; //////ALL LISTS SCRIPT << if($page=="" || $page<=0)$page=1; $noi = mysql_fetch_array(mysql_query("SELECT COUNT(id) FROM lib3rtymrc_usfun WHERE target='".$who."' AND action='kick'")); //changable $num_items = $noi[0]; $items_per_page= 10; $num_pages = ceil($num_items/$items_per_page); if(($page>$num_pages)&&$page!=1)$page= $num_pages; $limit_start = ($page-1)*$items_per_page; //changable sql $sql = " SELECT a.uid, b.name FROM lib3rtymrc_usfun a INNER JOIN lib3rtymrc_users b ON a.uid = b.id WHERE a.target='".$who."' AND a.action='kick' ORDER BY a.actime DESC LIMIT $limit_start, $items_per_page ;"; echo "

"; $items = mysql_query($sql); echo mysql_error(); if(mysql_num_rows($items)>0) { while ($item = mysql_fetch_array($items)) { $lnk = "$item[1]"; echo "$lnk
"; } } echo "

"; echo "

"; if($page>1) { $ppage = $page-1; echo "«Anterior "; } if($page<$num_pages) { $npage = $page+1; echo "Urmator»"; } if($num_pages>1) { echo "
$page/$num_pages
"; } if($num_pages>2) { $rets = "Sari la pagina"; $rets .= "[DUTE]"; $rets .= ""; $rets .= ""; $rets .= ""; $rets .= ""; $rets .= ""; $rets .= ""; echo $rets; } echo "

"; ////// UNTILL HERE >> echo "

"; echo "\"*\"/"; echo "Statistici
"; echo "\"*\"/"; echo "Prim"; echo "

"; echo "
"; } //////////////////////////////////Top Chatters else if($action=="pok") { $who = $_GET["who"]; $wnick = getnick_uid($who); addonline(getuid_sid($sid),"Lista celor da-ti afara de pe site",""); echo ""; echo "

"; echo "Membri da-ti afara de pe site de $wnick"; echo "

"; //////ALL LISTS SCRIPT << if($page=="" || $page<=0)$page=1; $noi = mysql_fetch_array(mysql_query("SELECT COUNT(id) FROM lib3rtymrc_usfun WHERE uid='".$who."' AND action='poke'")); //changable $num_items = $noi[0]; $items_per_page= 10; $num_pages = ceil($num_items/$items_per_page); if(($page>$num_pages)&&$page!=1)$page= $num_pages; $limit_start = ($page-1)*$items_per_page; //changable sql $sql = " SELECT a.target, b.name FROM lib3rtymrc_usfun a INNER JOIN lib3rtymrc_users b ON a.target = b.id WHERE a.uid='".$who."' AND a.action='poke' ORDER BY a.actime DESC LIMIT $limit_start, $items_per_page ;"; echo "

"; $items = mysql_query($sql); echo mysql_error(); if(mysql_num_rows($items)>0) { while ($item = mysql_fetch_array($items)) { $lnk = "$item[1]"; echo "$lnk
"; } } echo "

"; echo "

"; if($page>1) { $ppage = $page-1; echo "«Anterior "; } if($page<$num_pages) { $npage = $page+1; echo "Urmator»"; } if($num_pages>1) { echo "
$page/$num_pages
"; } if($num_pages>2) { $rets = "Sari la pagina"; $rets .= "[DUTE]"; $rets .= ""; $rets .= ""; $rets .= ""; $rets .= ""; $rets .= ""; $rets .= ""; echo $rets; } echo "

"; ////// UNTILL HERE >> echo "

"; echo "\"*\"/"; echo "Statistici
"; echo "\"*\"/"; echo "Prim"; echo "

"; echo "
"; } else if($action=="pkd") { $who = $_GET["who"]; $wnick = getnick_uid($who); addonline(getuid_sid($sid),"Lista celor da-ti afara de pe site",""); echo ""; echo "

"; echo "Membri care l-au dat afara pe $wnick"; echo "

"; //////ALL LISTS SCRIPT << if($page=="" || $page<=0)$page=1; $noi = mysql_fetch_array(mysql_query("SELECT COUNT(id) FROM lib3rtymrc_usfun WHERE target='".$who."' AND action='poke'")); //changable $num_items = $noi[0]; $items_per_page= 10; $num_pages = ceil($num_items/$items_per_page); if(($page>$num_pages)&&$page!=1)$page= $num_pages; $limit_start = ($page-1)*$items_per_page; //changable sql $sql = " SELECT a.uid, b.name FROM lib3rtymrc_usfun a INNER JOIN lib3rtymrc_users b ON a.uid = b.id WHERE a.target='".$who."' AND a.action='poke' ORDER BY a.actime DESC LIMIT $limit_start, $items_per_page ;"; echo "

"; $items = mysql_query($sql); echo mysql_error(); if(mysql_num_rows($items)>0) { while ($item = mysql_fetch_array($items)) { $lnk = "$item[1]"; echo "$lnk
"; } } echo "

"; echo "

"; if($page>1) { $ppage = $page-1; echo "«Anterior "; } if($page<$num_pages) { $npage = $page+1; echo "Urmator»"; } if($num_pages>1) { echo "
$page/$num_pages
"; } if($num_pages>2) { $rets = "Sari la pagina"; $rets .= "[DUTE]"; $rets .= ""; $rets .= ""; $rets .= ""; $rets .= ""; $rets .= ""; $rets .= ""; echo $rets; } echo "

"; ////// UNTILL HERE >> echo "

"; echo "\"*\"/"; echo "Statistici
"; echo "\"*\"/"; echo "Prim"; echo "

"; echo "
"; } ////////////////////////////////// imbratisari else if($action=="hgs") { $who = $_GET["who"]; $wnick = getnick_uid($who); addonline(getuid_sid($sid),"Lista Imbratisari",""); echo ""; echo "

"; echo "Membri care au fost imbratisa-ti de $wnick"; echo "

"; //////ALL LISTS SCRIPT << if($page=="" || $page<=0)$page=1; $noi = mysql_fetch_array(mysql_query("SELECT COUNT(id) FROM lib3rtymrc_usfun WHERE uid='".$who."' AND action='hug'")); //changable $num_items = $noi[0]; $items_per_page= 10; $num_pages = ceil($num_items/$items_per_page); if(($page>$num_pages)&&$page!=1)$page= $num_pages; $limit_start = ($page-1)*$items_per_page; //changable sql $sql = " SELECT a.target, b.name FROM lib3rtymrc_usfun a INNER JOIN lib3rtymrc_users b ON a.target = b.id WHERE a.uid='".$who."' AND a.action='hug' ORDER BY a.actime DESC LIMIT $limit_start, $items_per_page ;"; echo "

"; $items = mysql_query($sql); echo mysql_error(); if(mysql_num_rows($items)>0) { while ($item = mysql_fetch_array($items)) { $lnk = "$item[1]"; echo "$lnk
"; } } echo "

"; echo "

"; if($page>1) { $ppage = $page-1; echo "«Anterior "; } if($page<$num_pages) { $npage = $page+1; echo "Urmator»"; } if($num_pages>1) { echo "
$page/$num_pages
"; } if($num_pages>2) { $rets = "Sari la pagina"; $rets .= "[DUTE]"; $rets .= ""; $rets .= ""; $rets .= ""; $rets .= ""; $rets .= ""; $rets .= ""; echo $rets; } echo "

"; ////// UNTILL HERE >> echo "

"; echo "\"*\"/"; echo "Statistici
"; echo "\"*\"/"; echo "Prim"; echo "

"; echo "
"; } else if($action=="hgd") { $who = $_GET["who"]; $wnick = getnick_uid($who); addonline(getuid_sid($sid),"Lista imbratisari",""); echo ""; echo "

"; echo "Mebri imbratisati de $wnick"; echo "

"; //////ALL LISTS SCRIPT << if($page=="" || $page<=0)$page=1; $noi = mysql_fetch_array(mysql_query("SELECT COUNT(id) FROM lib3rtymrc_usfun WHERE target='".$who."' AND action='hug'")); //changable $num_items = $noi[0]; $items_per_page= 10; $num_pages = ceil($num_items/$items_per_page); if(($page>$num_pages)&&$page!=1)$page= $num_pages; $limit_start = ($page-1)*$items_per_page; //changable sql $sql = " SELECT a.uid, b.name FROM lib3rtymrc_usfun a INNER JOIN lib3rtymrc_users b ON a.uid = b.id WHERE a.target='".$who."' AND a.action='hug' ORDER BY a.actime DESC LIMIT $limit_start, $items_per_page ;"; echo "

"; $items = mysql_query($sql); echo mysql_error(); if(mysql_num_rows($items)>0) { while ($item = mysql_fetch_array($items)) { $lnk = "$item[1]"; echo "$lnk
"; } } echo "

"; echo "

"; if($page>1) { $ppage = $page-1; echo "«Anterior "; } if($page<$num_pages) { $npage = $page+1; echo "Urmator»"; } if($num_pages>1) { echo "
$page/$num_pages
"; } if($num_pages>2) { $rets = "Sari la pagina"; $rets .= "[DUTE]"; $rets .= ""; $rets .= ""; $rets .= ""; $rets .= ""; $rets .= ""; $rets .= ""; echo $rets; } echo "

"; ////// UNTILL HERE >> echo "

"; echo "\"*\"/"; echo "Statistici
"; echo "\"*\"/"; echo "Prim"; echo "

"; echo "
"; } /////////////////////////////////// user fun:D ////////////////////////////////// liste cereri else if($action=="reqs") { addonline(getuid_sid($sid),"Lista cereri",""); echo ""; echo "

"; global $max_buds; $uid = getuid_sid($sid); echo "Urmatorii membri vor sa te aduca in lista lor de prieteni
"; $remp = $max_buds - getnbuds($uid); echo "Mai ai $remp Locuri ramase
"; echo "

"; //////ALL LISTS SCRIPT << if($page=="" || $page<=0)$page=1; $nor = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_buddies WHERE tid='".$uid."' AND agreed='0'")); $num_items = $nor[0]; //changable $items_per_page= 10; $num_pages = ceil($num_items/$items_per_page); if(($page>$num_pages)&&$page!=1)$page= $num_pages; $limit_start = ($page-1)*$items_per_page; //changable sql $sql = "SELECT uid FROM lib3rtymrc_buddies WHERE tid='".$uid."' AND agreed='0' ORDER BY reqdt DESC LIMIT $limit_start, $items_per_page"; echo "

"; $items = mysql_query($sql); echo mysql_error(); if(mysql_num_rows($items)>0) { while ($item = mysql_fetch_array($items)) { $rnick = getnick_uid($item[0]); $lnk = "»".getsimbol($item[0])."$rnick: Accepta|[x]"; echo "$lnk
"; } } echo "

"; echo "

"; if($page>1) { $ppage = $page-1; echo "«Inapoi "; } if($page<$num_pages) { $npage = $page+1; echo "Inainte»"; } echo "
$page/$num_pages
"; if($num_pages>2) { $rets = "Dute la pagina"; $rets .= "[Dute]"; $rets .= ""; $rets .= ""; $rets .= ""; $rets .= ""; $rets .= ""; echo $rets; } echo "

"; ////// UNTILL HERE >> echo "

"; echo "\"*\"/"; echo "Prim"; echo "

"; echo "
"; } ////////////////////////////////////////////////////////////////// Alerte else if($action=="sendto"){ $whonick = getnick_uid($who); addonline(getuid_sid($sid),"Trimite Alerta La $whonick",""); echo ""; echo "

"; echo "$getbuttons"; $whonick = getnick_uid($who); $byuid = getuid_sid($sid); if(getplusses(getuid_sid($sid))<250) { echo "Pentru a putea trimite alerte pe Liberty iti trebuie 250 de plusuri!
"; }else{ if(istrashed(getuid_sid($sid))) { echo "
\"X\"/Ai fost aruncat la gunoi nu poti Trimite alerte!enjoy..."; }else{ echo "Trimite Alerta la ".$whonick."
"; echo "
"; echo "Trimite"; echo ""; echo ""; echo "
"; } } echo "
-----
Prim "; echo "

"; echo "
"; } //////////////////////////////////User Clubs else if($action=="ucl") { addonline(getuid_sid($sid),"Utilizatori cluburi",""); echo ""; $who = $_GET["who"]; //////ALL LISTS SCRIPT << if($page=="" || $page<=0)$page=1; $noi = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_clubs WHERE Proprietar='".$who."'")); $num_items = $noi[0]; //changable $items_per_page= 10; $num_pages = ceil($num_items/$items_per_page); if(($page>$num_pages)&&$page!=1)$page= $num_pages; $limit_start = ($page-1)*$items_per_page; //changable sql $sql = "SELECT id FROM lib3rtymrc_clubs WHERE owner='".$who."' ORDER BY id LIMIT $limit_start, $items_per_page"; echo "

"; $items = mysql_query($sql); echo mysql_error(); if(mysql_num_rows($items)>0) { while ($item = mysql_fetch_array($items)) { $nom = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_clubmembers WHERE clid='".$item[0]."' AND accepted='1'")); $clinfo = mysql_fetch_array(mysql_query("SELECT name, description FROM lib3rtymrc_clubs WHERE id='".$item[0]."'")); $lnk = "".htmlspecialchars($clinfo[0])."($nom[0])
".htmlspecialchars($clinfo[1])."
"; echo $lnk; } } echo "

"; echo "

"; if($page>1) { $ppage = $page-1; echo "«Inapoi "; } if($page<$num_pages) { $npage = $page+1; echo "Inainte»"; } if($num_pages>1){ echo "
$page/$num_pages
"; } if($num_pages>2) { $rets = "Dute la pagina"; $rets .= "[Dute]"; $rets .= ""; $rets .= ""; $rets .= ""; $rets .= ""; $rets .= ""; $rets .= ""; echo $rets; } echo "

"; ////// UNTILL HERE >> echo "

"; $whonick = getnick_uid($who); echo "-----
"; echo "«Meniu cluburi
"; echo "«"; echo "Prim"; echo "

"; echo "
"; } //////////////////////////////////User Clubs else if($action=="clm") { addonline(getuid_sid($sid),"Vizualizare membru club",""); echo ""; $who = $_GET["who"]; //////ALL LISTS SCRIPT << if($page=="" || $page<=0)$page=1; $noi = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_clubmembers WHERE uid='".$who."' AND accepted='1'")); $num_items = $noi[0]; //changable $items_per_page= 10; $num_pages = ceil($num_items/$items_per_page); if(($page>$num_pages)&&$page!=1)$page= $num_pages; $limit_start = ($page-1)*$items_per_page; //changable sql $sql = "SELECT clid FROM lib3rtymrc_clubmembers WHERE uid='".$who."' AND accepted='1' ORDER BY joined DESC LIMIT $limit_start, $items_per_page"; echo "

"; $items = mysql_query($sql); echo mysql_error(); if(mysql_num_rows($items)>0) { while ($item = mysql_fetch_array($items)) { $clnm = mysql_fetch_array(mysql_query("SELECT name FROM lib3rtymrc_clubs WHERE id='".$item[0]."'")); $lnk = "".htmlspecialchars($clnm[0])."
"; echo $lnk; } } echo "

"; echo "

"; if($page>1) { $ppage = $page-1; echo "«Inapoi "; } if($page<$num_pages) { $npage = $page+1; echo "Inainte»"; } if($num_pages>1){ echo "
$page/$num_pages
"; } if($num_pages>2) { $rets = "Dute la pagina"; $rets .= "[Dute]"; $rets .= ""; $rets .= ""; $rets .= ""; $rets .= ""; $rets .= ""; $rets .= ""; echo $rets; } echo "

"; ////// UNTILL HERE >> echo "

"; $whonick = getnick_uid($who); echo "-----
"; echo "«Meniu cluburi
"; echo "«"; echo "Prim"; echo "

"; echo "
"; } //////////////////////////////////Popular clubs else if($action=="pclb") { addonline(getuid_sid($sid),"Cluburi populare",""); echo ""; //////ALL LISTS SCRIPT << if($page=="" || $page<=0)$page=1; $noi = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_clubs")); $num_items = $noi[0]; //changable $items_per_page= 5; $num_pages = ceil($num_items/$items_per_page); if(($page>$num_pages)&&$page!=1)$page= $num_pages; $limit_start = ($page-1)*$items_per_page; //changable sql $sql = "SELECT clid, COUNT(*) as notl FROM lib3rtymrc_clubmembers WHERE accepted='1' GROUP BY clid ORDER BY notl DESC LIMIT $limit_start, $items_per_page"; echo "

"; $items = mysql_query($sql); echo mysql_error(); if(mysql_num_rows($items)>0) { while ($item = mysql_fetch_array($items)) { $clnm = mysql_fetch_array(mysql_query("SELECT name, description FROM lib3rtymrc_clubs WHERE id='".$item[0]."'")); $lnk = "".htmlspecialchars($clnm[0])."($item[1])
".htmlspecialchars($clnm[1])."
"; echo $lnk; } } echo "

"; echo "

"; if($page>1) { $ppage = $page-1; echo "«Inapoi "; } if($page<$num_pages) { $npage = $page+1; echo "Inainte»"; } if($num_pages>1){ echo "
$page/$num_pages
"; } if($num_pages>2) { $rets = "Dute la pagina"; $rets .= "[Dute]"; $rets .= ""; $rets .= ""; $rets .= ""; $rets .= ""; $rets .= ""; $rets .= ""; echo $rets; } echo "

"; ////// UNTILL HERE >> echo "

"; echo "-----
"; echo "«Meniu cluburi
"; echo "«"; echo "Prim"; echo "

"; echo "
"; } //////////////////////////////////Active clubs else if($action=="aclb") { addonline(getuid_sid($sid),"Cluburi active",""); echo ""; //////ALL LISTS SCRIPT << if($page=="" || $page<=0)$page=1; $noi = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_clubs")); $num_items = $noi[0]; //changable $items_per_page= 5; $num_pages = ceil($num_items/$items_per_page); if(($page>$num_pages)&&$page!=1)$page= $num_pages; $limit_start = ($page-1)*$items_per_page; //changable sql $sql = "SELECT COUNT(*) as notp, b.clubid FROM lib3rtymrc_topics a INNER JOIN lib3rtymrc_forums b ON a.fid = b.id WHERE b.clubid >'0' GROUP BY b.clubid ORDER BY notp DESC LIMIT $limit_start, $items_per_page"; echo "

"; $items = mysql_query($sql); echo mysql_error(); if(mysql_num_rows($items)>0) { while ($item = mysql_fetch_array($items)) { $clnm = mysql_fetch_array(mysql_query("SELECT name, description FROM lib3rtymrc_clubs WHERE id='".$item[1]."'")); $lnk = "".htmlspecialchars($clnm[0])."($item[0] Topics)
".htmlspecialchars($clnm[1])."
"; echo $lnk; } } echo "

"; echo "

"; if($page>1) { $ppage = $page-1; echo "«Inapoi "; } if($page<$num_pages) { $npage = $page+1; echo "Inainte»"; } if($num_pages>1){ echo "
$page/$num_pages
"; } if($num_pages>2) { $rets = "Dute la pagina"; $rets .= "[Dute]"; $rets .= ""; $rets .= ""; $rets .= ""; $rets .= ""; $rets .= ""; $rets .= ""; echo $rets; } echo "

"; ////// UNTILL HERE >> echo "

"; echo "-----
"; echo "«Meniu cluburi
"; echo "«"; echo "Prim"; echo "

"; echo "
"; } //////////////////////////////////Random clubs else if($action=="rclb") { addonline(getuid_sid($sid),"Cluburi la intamplare",""); echo ""; //////ALL LISTS SCRIPT << $sql = "SELECT id, name, description FROM lib3rtymrc_clubs ORDER BY RAND() LIMIT 5"; echo "

"; $items = mysql_query($sql); echo mysql_error(); if(mysql_num_rows($items)>0) { while ($item = mysql_fetch_array($items)) { $lnk = "".htmlspecialchars($item[1])."
".htmlspecialchars($item[2])."
"; echo $lnk; } } echo "

"; ////// UNTILL HERE >> echo "

"; echo "-----
"; echo "«Meniu cluburi
"; echo "«"; echo "Prim"; echo "

"; echo "
"; } //////////////////////////////////shouts else if($action=="shouts") { addonline(getuid_sid($sid),"Mesaje Live",""); echo ""; $who = $_GET["who"]; //////ALL LISTS SCRIPT << if($page=="" || $page<=0)$page=1; if($who=="") { $noi = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_shouts")); }else{ $noi = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_shouts WHERE shouter='".$who."'")); } $num_items = $noi[0]; //changable $items_per_page= 10; $num_pages = ceil($num_items/$items_per_page); if(($page>$num_pages)&&$page!=1)$page= $num_pages; $limit_start = ($page-1)*$items_per_page; //changable sql if($who =="") { $sql = "SELECT id, shout, shouter, shtime FROM lib3rtymrc_shouts ORDER BY shtime DESC LIMIT $limit_start, $items_per_page"; }else{ $sql = "SELECT id, shout, shouter, shtime FROM lib3rtymrc_shouts WHERE shouter='".$who."'ORDER BY shtime DESC LIMIT $limit_start, $items_per_page"; } echo "

"; $items = mysql_query($sql); echo mysql_error(); if(mysql_num_rows($items)>0) { while ($item = mysql_fetch_array($items)) { $shnick = getnick_uid($item[2]); $sht = htmlspecialchars($item[1]); $shdt = date("d m y-H:i", $item[3]); $lnk = "$shnick: $sht
$shdt"; if(ismod(getuid_sid($sid))) { $dlsh = "[x]"; }else{ $dlsh = ""; } echo "$lnk $dlsh
"; } } echo "

"; echo "

"; if($page>1) { $ppage = $page-1; echo "«PREV "; } if($page<$num_pages) { $npage = $page+1; echo "Next»"; } echo "
$page/$num_pages
"; if($num_pages>2) { $rets = "Jump to page"; $rets .= "[GO]"; $rets .= ""; $rets .= ""; $rets .= ""; $rets .= ""; $rets .= ""; $rets .= ""; echo $rets; } echo "

"; ////// UNTILL HERE >> echo "

"; echo "\"*\"/"; echo "Home"; echo "

"; echo "
"; } //////////////////////////////////shouts else if($action=="annc") { addonline(getuid_sid($sid),"Anunturi!",""); echo ""; $clid = $_GET["clid"]; //////ALL LISTS SCRIPT << $uid = getuid_sid($sid); if($page=="" || $page<=0)$page=1; $noi = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_announcements WHERE clid='".$clid."'")); $num_items = $noi[0]; //changable $items_per_page= 10; $num_pages = ceil($num_items/$items_per_page); if(($page>$num_pages)&&$page!=1)$page= $num_pages; $limit_start = ($page-1)*$items_per_page; //changable sql $sql = "SELECT id, antext, antime FROM lib3rtymrc_announcements WHERE clid='".$clid."' ORDER BY antime DESC LIMIT $limit_start, $items_per_page"; $cow = mysql_fetch_array(mysql_query("SELECT owner FROM lib3rtymrc_clubs WHERE id='".$clid."'")); echo "

"; $items = mysql_query($sql); if(mysql_num_rows($items)>0) { while ($item = mysql_fetch_array($items)) { if($cow[0]==$uid) { $dlan = "[x]"; }else{ $dlan = ""; } $annc = htmlspecialchars($item[1])."
".date("d/m/y (H:i)", $item[2]); echo "$annc $dlan
"; } } echo "

"; echo "

"; if($page>1) { $ppage = $page-1; echo "«Inapoi "; } if($page<$num_pages) { $npage = $page+1; echo "Inainte»"; } echo "
$page/$num_pages
"; if($num_pages>2) { $rets = "Dute la pagina"; $rets .= "[Dute]"; $rets .= ""; $rets .= ""; $rets .= ""; $rets .= ""; $rets .= ""; $rets .= ""; echo $rets; } echo "

"; ////// UNTILL HERE >> echo "

"; if($cow[0]==$uid) { $dlan = "Anunta!

"; echo $dlan; } echo ""; echo "Inapoi la club
"; echo "\"*\"/"; echo "Prim"; echo "

"; echo "
"; } //////////////////////////////////clubs requests else if($action=="clreq") { addonline(getuid_sid($sid),"Club cereri",""); echo ""; $clid = $_GET["clid"]; $uid = getuid_sid($sid); $cowner = mysql_fetch_array(mysql_query("SELECT owner FROM lib3rtymrc_clubs WHERE id='".$clid."'")); //////ALL LISTS SCRIPT << if($cowner[0]==$uid) { if($page=="" || $page<=0)$page=1; $noi = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_clubmembers WHERE clid='".$clid."' AND accepted='0'")); $num_items = $noi[0]; //changable $items_per_page= 10; $num_pages = ceil($num_items/$items_per_page); if(($page>$num_pages)&&$page!=1)$page= $num_pages; $limit_start = ($page-1)*$items_per_page; //changable sql $sql = "SELECT uid FROM lib3rtymrc_clubmembers WHERE clid='".$clid."' AND accepted='0' ORDER BY joined DESC LIMIT $limit_start, $items_per_page"; echo "

"; $items = mysql_query($sql); echo mysql_error(); if(mysql_num_rows($items)>0) { while ($item = mysql_fetch_array($items)) { $shnick = getnick_uid($item[0]); $lnk = "$shnick: accepta, refuza
"; echo "$lnk"; } } echo "

"; echo "

"; if($page>1) { $ppage = $page-1; echo "«Inapoi "; } if($page<$num_pages) { $npage = $page+1; echo "Inainte»"; } echo "
$page/$num_pages
"; if($num_pages>2) { $rets = "Dute la pagina"; $rets .= "[Dute]"; $rets .= ""; $rets .= ""; $rets .= ""; $rets .= ""; $rets .= ""; $rets .= ""; echo $rets; } echo "

Accepta pe toti, "; echo "Refuza pe toti"; echo "

"; }else{ echo "

Acest club nu este al tau

"; } ////// UNTILL HERE >> echo "

"; echo ""; echo "Inapoi la club
"; echo "\"*\"/"; echo "Prim"; echo "

"; echo "
"; } //////////////////////////////////clubs members else if($action=="clmem") { addonline(getuid_sid($sid),"Membri cluburi",""); echo ""; $clid = $_GET["clid"]; $uid = getuid_sid($sid); $cowner = mysql_fetch_array(mysql_query("SELECT owner FROM lib3rtymrc_clubs WHERE id='".$clid."'")); //////ALL LISTS SCRIPT << if($page=="" || $page<=0)$page=1; $noi = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_clubmembers WHERE clid='".$clid."' AND accepted='1'")); $num_items = $noi[0]; //changable $items_per_page= 10; $num_pages = ceil($num_items/$items_per_page); if(($page>$num_pages)&&$page!=1)$page= $num_pages; $limit_start = ($page-1)*$items_per_page; //changable sql $sql = "SELECT uid, joined, points FROM lib3rtymrc_clubmembers WHERE clid='".$clid."' AND accepted='1' ORDER BY joined DESC LIMIT $limit_start, $items_per_page"; echo "

"; $items = mysql_query($sql); echo mysql_error(); if(mysql_num_rows($items)>0) { while ($item = mysql_fetch_array($items)) { if($cowner[0]==$uid) { $oop = ": Optiuni"; }else{ $oop = ""; } $shnick = getnick_uid($item[0]); $lnk = "$shnick$oop
"; $lnk .= "Inregistrat la: ".date("d/m/y", $item[1])." - Puncte club: $item[2]"; echo "$lnk
"; } } echo "

"; echo "

"; if($page>1) { $ppage = $page-1; echo "«Inapoi "; } if($page<$num_pages) { $npage = $page+1; echo "Inainte»"; } echo "
$page/$num_pages
"; if($num_pages>2) { $rets = "Dute la pagina"; $rets .= "[Dute]"; $rets .= ""; $rets .= ""; $rets .= ""; $rets .= ""; $rets .= ""; $rets .= ""; echo $rets; } echo "

"; ////// UNTILL HERE >> echo "

"; echo ""; echo "Inapoi la club
"; echo "\"*\"/"; echo "Prim"; echo "

"; echo "
"; } //////////////////////////////////User topics else if($action=="tbuid") { $who = $_GET["who"]; addonline(getuid_sid($sid),"Topicuri",""); echo ""; //////ALL LISTS SCRIPT << if($page=="" || $page<=0)$page=1; $noi = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_topics WHERE authorid='".$who."'")); $num_items = $noi[0]; //changable $items_per_page= 10; $num_pages = ceil($num_items/$items_per_page); if(($page>$num_pages)&&$page!=1)$page= $num_pages; $limit_start = ($page-1)*$items_per_page; //changable sql $sql = "SELECT id, name, crdate FROM lib3rtymrc_topics WHERE authorid='".$who."'ORDER BY crdate DESC LIMIT $limit_start, $items_per_page"; echo "

"; $items = mysql_query($sql); echo mysql_error(); if(mysql_num_rows($items)>0) { while ($item = mysql_fetch_array($items)) { if(canaccess(getuid_sid($sid),getfid_tid($item[0]))) { echo "".htmlspecialchars($item[1])." ".date("d m y-H:i:s",$item[2])."
"; }else{ echo "Topic privat
"; } } } echo "

"; echo "

"; if($page>1) { $ppage = $page-1; echo "«Inapoi "; } if($page<$num_pages) { $npage = $page+1; echo "Inainte»"; } echo "
$page/$num_pages
"; if($num_pages>2) { $rets = "Dute la pagina"; $rets .= "[Dute]"; $rets .= ""; $rets .= ""; $rets .= ""; $rets .= ""; $rets .= ""; $rets .= ""; echo $rets; } echo "

"; ////// UNTILL HERE >> echo "

"; $unick = getnick_uid($who); echo ""; echo "$unick Profil
"; echo "\"*\"/"; echo "Prim"; echo "

"; echo "
"; } //////////////////////////////////User topics else if($action=="uposts") { $who = $_GET["who"]; addonline(getuid_sid($sid),"Postari",""); echo ""; //////ALL LISTS SCRIPT << if($page=="" || $page<=0)$page=1; $noi = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_posts WHERE uid='".$who."'")); $num_items = $noi[0]; //changable $items_per_page= 10; $num_pages = ceil($num_items/$items_per_page); if(($page>$num_pages)&&$page!=1)$page= $num_pages; $limit_start = ($page-1)*$items_per_page; //changable sql $sql = "SELECT id, dtpost FROM lib3rtymrc_posts WHERE uid='".$who."'ORDER BY dtpost DESC LIMIT $limit_start, $items_per_page"; echo "

"; $items = mysql_query($sql); echo mysql_error(); if(mysql_num_rows($items)>0) { while ($item = mysql_fetch_array($items)) { $tid = gettid_pid($item[0]); $tname = gettname($tid); if(canaccess(getuid_sid($sid),getfid_tid($tid))) { echo "".htmlspecialchars($tname)." ".date("d m y-H:i:s",$item[1])."
"; }else{ echo "Private Post
"; } } } echo "

"; echo "

"; if($page>1) { $ppage = $page-1; echo "«Inapoi "; } if($page<$num_pages) { $npage = $page+1; echo "Inainte»"; } echo "
$page/$num_pages
"; if($num_pages>2) { $rets = "Dute la pagina"; $rets .= "[Dute]"; $rets .= ""; $rets .= ""; $rets .= ""; $rets .= ""; $rets .= ""; $rets .= ""; echo $rets; } echo "

"; ////// UNTILL HERE >> echo "

"; $unick = getnick_uid($who); echo ""; echo "Profil $unick
"; echo "\"*\"/"; echo "Prim"; echo "

"; echo "
"; } //////////////////////////////////Top Gammers else if($action=="tgame") { addonline(getuid_sid($sid),"Top jucatori",""); echo ""; echo "

"; echo "Top jucatori"; echo "

"; //////ALL LISTS SCRIPT << if($page=="" || $page<=0)$page=1; $num_items = regmemcount(); //changable $items_per_page= 10; $num_pages = ceil($num_items/$items_per_page); if(($page>$num_pages)&&$page!=1)$page= $num_pages; $limit_start = ($page-1)*$items_per_page; //changable sql $sql = "SELECT id, name, gplus FROM lib3rtymrc_users ORDER BY gplus DESC LIMIT $limit_start, $items_per_page"; echo "

"; $items = mysql_query($sql); echo mysql_error(); if(mysql_num_rows($items)>0) { while ($item = mysql_fetch_array($items)) { $lnk = "$item[1] Plusuri jocuri: $item[2]"; echo "$lnk
"; } } echo "

"; echo "

"; if($page>1) { $ppage = $page-1; echo "«Inapoi "; } if($page<$num_pages) { $npage = $page+1; echo "Inainte»"; } echo "
$page/$num_pages
"; if($num_pages>2) { $rets = "Dute la pagina"; $rets .= "[Dute]"; $rets .= ""; $rets .= ""; $rets .= ""; $rets .= ""; $rets .= ""; echo $rets; } echo "

"; ////// UNTILL HERE >> echo "

"; echo "\"*\"/"; echo "Statistici site
"; echo "\"*\"/"; echo "Prim"; echo "

"; echo "
"; } //////////////////////////////////Top Gammers else if($action=="topb") { addonline(getuid_sid($sid),"Top luptatori",""); echo ""; echo "

"; echo "Top luptatori"; echo "

"; //////ALL LISTS SCRIPT << if($page=="" || $page<=0)$page=1; $num_items = regmemcount(); //changable $items_per_page= 10; $num_pages = ceil($num_items/$items_per_page); if(($page>$num_pages)&&$page!=1)$page= $num_pages; $limit_start = ($page-1)*$items_per_page; //changable sql $sql = "SELECT id, name, battlep FROM lib3rtymrc_users ORDER BY battlep DESC LIMIT $limit_start, $items_per_page"; echo "

"; $items = mysql_query($sql); if(mysql_num_rows($items)>0) { while ($item = mysql_fetch_array($items)) { $lnk = "$item[1] Puncte batalie: $item[2]"; echo "$lnk
"; } } echo "

"; echo "

"; if($page>1) { $ppage = $page-1; echo "«Inapoi "; } if($page<$num_pages) { $npage = $page+1; echo "Inainte»"; } echo "
$page/$num_pages
"; if($num_pages>2) { $rets = "Dute la pagina"; $rets .= "[Dute]"; $rets .= ""; $rets .= ""; $rets .= ""; $rets .= ""; $rets .= ""; echo $rets; } echo "

"; ////// UNTILL HERE >> echo "

"; echo "\"*\"/"; echo "Statistici site
"; echo "\"*\"/"; echo "Prim"; echo "

"; echo "
"; } //////////////////////////////////Banned else if($action=="banned") { addonline(getuid_sid($sid),"Lista banati",""); echo ""; echo "

"; echo "Lista banati"; echo "

"; //////ALL LISTS SCRIPT << if($page=="" || $page<=0)$page=1; $noi = mysql_fetch_array(mysql_query("SELECT count(*) FROM lib3rtymrc_penalties WHERE penalty='1' OR penalty='2'")); $num_items = $noi[0]; //changable $items_per_page= 10; $num_pages = ceil($num_items/$items_per_page); if(($page>$num_pages)&&$page!=1)$page= $num_pages; $limit_start = ($page-1)*$items_per_page; //changable sql $sql = "SELECT uid, penalty, pnreas, exid FROM lib3rtymrc_penalties WHERE penalty='1' OR penalty='2' ORDER BY timeto LIMIT $limit_start, $items_per_page"; echo "

"; $items = mysql_query($sql); echo mysql_error(); if(mysql_num_rows($items)>0) { while ($item = mysql_fetch_array($items)) { $lnk = "".getnick_uid($item[0])." (".htmlspecialchars($item[2]).")"; if($item[1]=="1") { $bt = "Ban normal"; }else{ $bt = "Ban IP"; } if(ismod(getuid_sid($sid))) { $bym = "de ".getnick_uid($item[3]); }else{ $bym = ""; } echo "$lnk $bt $bym
"; } } echo "

"; echo "

"; if($page>1) { $ppage = $page-1; echo "«Inapoi "; } if($page<$num_pages) { $npage = $page+1; echo "Inainte»"; } echo "
$page/$num_pages
"; if($num_pages>2) { $rets = "Dute la pagina"; $rets .= "[Dute]"; $rets .= ""; $rets .= ""; $rets .= ""; $rets .= ""; $rets .= ""; echo $rets; } echo "

"; ////// UNTILL HERE >> echo "

"; echo "\"*\"/"; echo "Statistici site
"; echo "\"*\"/"; echo "Prim"; echo "

"; echo "
"; } //////////////////////////////////Trashed else if($action=="trashed") { addonline(getuid_sid($sid),"Lista aruncati la gunoi",""); echo ""; echo "

"; echo "Aruncati la gunoi"; echo "

"; //////ALL LISTS SCRIPT << if(ismod(getuid_sid($sid))) { if($page=="" || $page<=0)$page=1; $noi = mysql_fetch_array(mysql_query("SELECT count(*) FROM lib3rtymrc_penalties WHERE penalty='0'")); $num_items = $noi[0]; //changable $items_per_page= 5; $num_pages = ceil($num_items/$items_per_page); if(($page>$num_pages)&&$page!=1)$page= $num_pages; $limit_start = ($page-1)*$items_per_page; //changable sql $sql = "SELECT uid, penalty, pnreas, exid FROM lib3rtymrc_penalties WHERE penalty='0' ORDER BY timeto LIMIT $limit_start, $items_per_page"; echo "

"; $items = mysql_query($sql); echo mysql_error(); if(mysql_num_rows($items)>0) { while ($item = mysql_fetch_array($items)) { $lnk = "".getnick_uid($item[0])." (".htmlspecialchars($item[2]).")"; if(ismod(getuid_sid($sid))) { $bym = "De ".getnick_uid($item[3]); }else{ $bym = ""; } echo "$lnk $bym
"; } } }else{ echo "Nu poti vedea aceasta lista"; } echo "

"; echo "

"; if($page>1) { $ppage = $page-1; echo "«Inapoi "; } if($page<$num_pages) { $npage = $page+1; echo "Inainte»"; } echo "
$page/$num_pages
"; if($num_pages>2) { $rets = "Dute la pagina"; $rets .= "[Dute]"; $rets .= ""; $rets .= ""; $rets .= ""; $rets .= ""; $rets .= ""; echo $rets; } echo "

"; ////// UNTILL HERE >> echo "

"; echo "\"*\"/"; echo "Site Stats
"; echo "\"*\"/"; echo "Prim"; echo "

"; echo "
"; } //////////////////////////////////Trashed else if($action=="ipban") { addonline(getuid_sid($sid),"Banati pe IP",""); echo ""; echo "

"; echo "Banati pe IP"; echo "

"; //////ALL LISTS SCRIPT << if(ismod(getuid_sid($sid))) { if($page=="" || $page<=0)$page=1; $noi = mysql_fetch_array(mysql_query("SELECT count(*) FROM lib3rtymrc_penalties WHERE penalty='2'")); $num_items = $noi[0]; //changable $items_per_page= 10; $num_pages = ceil($num_items/$items_per_page); if(($page>$num_pages)&&$page!=1)$page= $num_pages; $limit_start = ($page-1)*$items_per_page; //changable sql $sql = "SELECT uid, penalty, pnreas, exid, ipadd FROM lib3rtymrc_penalties WHERE penalty='2' ORDER BY timeto LIMIT $limit_start, $items_per_page"; echo "

"; $items = mysql_query($sql); echo mysql_error(); if(mysql_num_rows($items)>0) { while ($item = mysql_fetch_array($items)) { $lnk = "".getnick_uid($item[0])." (".htmlspecialchars($item[2]).")"; if(ismod(getuid_sid($sid))) { $bym = "De ".getnick_uid($item[3]); }else{ $bym = ""; } $ipl = "IP:$item[4]"; echo "$lnk $bym ($ipl)
"; } } }else{ echo "zau"; } echo "

"; echo "

"; if($page>1) { $ppage = $page-1; echo "«Inapoi "; } if($page<$num_pages) { $npage = $page+1; echo "Inainte»"; } echo "
$page/$num_pages
"; if($num_pages>2) { $rets = "Dute la pagina"; $rets .= "[Dute]"; $rets .= ""; $rets .= ""; $rets .= ""; $rets .= ""; $rets .= ""; echo $rets; } echo "

"; ////// UNTILL HERE >> echo "

"; echo "\"*\"/"; echo "Statistici site
"; echo "\"*\"/"; echo "Prim"; echo "

"; echo "
"; } //////////////////////////////////Smilies :) else if($action=="smilies") { addonline(getuid_sid($sid),"Lista emotii",""); echo ""; //////ALL LISTS SCRIPT << if($page=="" || $page<=0)$page=1; $noi = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_smilies")); $num_items = $noi[0]; //changable $items_per_page= 5; $num_pages = ceil($num_items/$items_per_page); if(($page>$num_pages)&&$page!=1)$page= $num_pages; $limit_start = ($page-1)*$items_per_page; //changable sql $sql = "SELECT id, scode, imgsrc FROM lib3rtymrc_smilies ORDER BY id DESC LIMIT $limit_start, $items_per_page"; echo "

"; $items = mysql_query($sql); echo mysql_error(); if(mysql_num_rows($items)>0) { while ($item = mysql_fetch_array($items)) { if(isowner1(getuid_sid($sid))) { $delsl = "[x]"; }else{ $delsl = ""; } echo "$item[1] » "; echo "\"$item[1]\"/ $delsl
"; } } echo "

"; echo "

"; if($page>1) { $ppage = $page-1; echo "«Inapoi "; } if($page<$num_pages) { $npage = $page+1; echo "Inainte»"; } echo "
$page/$num_pages
"; if($num_pages>2) { $rets = "Dute la pagina"; $rets .= "[Dute]"; $rets .= ""; $rets .= ""; $rets .= ""; $rets .= ""; $rets .= ""; echo $rets; } echo "

"; ////// UNTILL HERE >> echo "

"; //echo ""; //echo "CPanel
"; echo "\"*\"/"; echo "Prim"; echo "

"; echo "
"; } //////////////////////////////////Moods :) else if($action=="chmood") { addonline(getuid_sid($sid),"Lista chefuri",""); echo ""; //////ALL LISTS SCRIPT << if($page=="" || $page<=0)$page=1; $noi = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_moods")); $num_items = $noi[0]; //changable $items_per_page= 5; $num_pages = ceil($num_items/$items_per_page); if(($page>$num_pages)&&$page!=1)$page= $num_pages; $limit_start = ($page-1)*$items_per_page; //changable sql $sql = "SELECT text, img, dscr, id FROM lib3rtymrc_moods ORDER BY id DESC LIMIT $limit_start, $items_per_page"; echo "

"; $items = mysql_query($sql); echo mysql_error(); if(mysql_num_rows($items)>0) { while ($item = mysql_fetch_array($items)) { echo "$item[0] » "; echo "\"$item[0]\"/ » $item[2]
"; } } echo "

"; echo "

"; echo "Dezactiveaza Chef

"; if($page>1) { $ppage = $page-1; echo "«Inapoi "; } if($page<$num_pages) { $npage = $page+1; echo "Inainte»"; } echo "
$page/$num_pages
"; if($num_pages>2) { $rets = "Dute la pagina"; $rets .= "[Dute]"; $rets .= ""; $rets .= ""; $rets .= ""; $rets .= ""; $rets .= ""; echo $rets; } echo "

"; ////// UNTILL HERE >> echo "

"; //echo ""; //echo "CPanel
"; echo "\"*\"/"; echo "Prim"; echo "

"; echo "
"; } //////////////////////////////////Avatars else if($action=="avatars") { addonline(getuid_sid($sid),"Lista avatare",""); echo ""; //////ALL LISTS SCRIPT << if($page=="" || $page<=0)$page=1; $noi = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_avatars")); $num_items = $noi[0]; //changable $items_per_page= 2; $num_pages = ceil($num_items/$items_per_page); if(($page>$num_pages)&&$page!=1)$page= $num_pages; $limit_start = ($page-1)*$items_per_page; //changable sql $sql = "SELECT id, avlink FROM lib3rtymrc_avatars ORDER BY id DESC LIMIT $limit_start, $items_per_page"; echo "

"; $items = mysql_query($sql); echo mysql_error(); if(mysql_num_rows($items)>0) { while ($item = mysql_fetch_array($items)) { echo "\"avatar\"/
"; echo "SELECTEAZA
"; echo "
"; } } echo "

"; echo "

"; if($page>1) { $ppage = $page-1; echo "«Inapoi "; } if($page<$num_pages) { $npage = $page+1; echo "Inainte»"; } echo "
$page/$num_pages
"; if($num_pages>2) { $rets = "Dute la pagina"; $rets .= "[Dute]"; $rets .= ""; $rets .= ""; $rets .= ""; $rets .= ""; $rets .= ""; echo $rets; } echo "

"; ////// UNTILL HERE >> echo "

"; // echo ""; //echo "CPanel
"; echo "\"*\"/"; echo "Prim"; echo "

"; echo "
"; } //////////////////////////////////Buddies else if($action=="buds") { addonline(getuid_sid($sid),"Lista prieteni",""); echo ""; $uid = getuid_sid($sid); echo "

"; echo "Statut:
"; echo parsemsg(getbudmsg($uid), $sid); echo "
»"; echo "Seteaza statut«
"; echo "

"; //////ALL LISTS SCRIPT << if($page=="" || $page<=0)$page=1; $num_items = getnbuds($uid); //changable $items_per_page= 5; $num_pages = ceil($num_items/$items_per_page); if(($page>$num_pages)&&$page!=1)$page= $num_pages; $limit_start = ($page-1)*$items_per_page; //changable sql /* $sql = "SELECT a.name, b.place, b.userid FROM lib3rtymrc_users a INNER join lib3rtymrc_online b ON a.id = b.userid GROUP BY 1,2 LIMIT $limit_start, $items_per_page "; */ $sql = "SELECT a.lastact, a.name, a.id, b.uid, b.tid, b.reqdt FROM lib3rtymrc_users a INNER JOIN lib3rtymrc_buddies b ON (a.id = b.uid) OR (a.id=b.tid) WHERE (b.uid='".$uid."' OR b.tid='".$uid."') AND b.agreed='1' GROUP BY 1,2 ORDER BY a.lastact DESC LIMIT $limit_start, $items_per_page"; echo "

"; $items = mysql_query($sql); echo mysql_error(); if(mysql_num_rows($items)>0) { while ($item = mysql_fetch_array($items)) { if($uid!=$item[2]) { if(isonline($item[2])) { $iml = "\"+\"/"; $uact = "Situare: "; $plc = mysql_fetch_array(mysql_query("SELECT place FROM lib3rtymrc_online WHERE userid='".$item[2]."'")); $uact .= $plc[0]; }else{ $iml = "\"-\"/"; $uact = "Ultima data activ: "; $ladt = date("d m y-H:i:s", $item[0]); $uact .= $ladt; } $lnk = "»$iml".getsimbol($item[2])."$item[1]"; echo "$lnk
"; echo ""; $bs = date("d m y-H:i:s",$item[5]); echo "Prieten din:$bs
"; echo "$uact
"; echo "Statut: "; $bmsg = parsemsg(getbudmsg($item[2]), $sid); echo "$bmsg
"; echo "
"; } } } echo "

"; echo "

"; if($page>1) { $ppage = $page-1; echo "«Inapoi "; } if($page<$num_pages) { $npage = $page+1; echo "Inainte»"; } echo "
$page/$num_pages
"; if($num_pages>2) { $rets = "Dute la pagina"; $rets .= "[Dute]"; $rets .= ""; $rets .= ""; $rets .= ""; $rets .= ""; $rets .= ""; echo $rets; } echo "

"; ////// UNTILL HERE >> echo "

"; echo "\"*\"/"; echo "Prim"; echo "

"; echo "
"; } //////////////////////////////////Buddies else if($action=="vault") { $who = $_GET["who"]; addonline(getuid_sid($sid),"Descarca",""); echo ""; $uid = getuid_sid($sid); //////ALL LISTS SCRIPT << if($page=="" || $page<=0)$page=1; if($who!="") { $noi = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_vault WHERE uid='".$who."'")); }else{ $noi = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_vault")); } $num_items = $noi[0]; //changable $items_per_page= 10; $num_pages = ceil($num_items/$items_per_page); if(($page>$num_pages)&&$page!=1)$page= $num_pages; $limit_start = ($page-1)*$items_per_page; if($who!="") { $sql = "SELECT id, title, itemurl FROM lib3rtymrc_vault WHERE uid='".$who."' ORDER BY pudt DESC LIMIT $limit_start, $items_per_page"; }else{ $sql = "SELECT id, title, itemurl, uid FROM lib3rtymrc_vault ORDER BY pudt DESC LIMIT $limit_start, $items_per_page"; } echo "

"; $items = mysql_query($sql); echo mysql_error(); if(mysql_num_rows($items)>0) { while ($item = mysql_fetch_array($items)) { $ext = getext($item[2]); $ime = getextimg($ext); $lnk = "$ime".htmlspecialchars($item[1]).""; if(candelvl($uid, $item[0])) { $delnk = "[x]"; }else{ $delnk = ""; } if($who!="") { $byusr=""; }else{ $unick = getnick_uid($item[3]); $ulnk = "$unick"; $byusr = "- De la $ulnk"; } echo "$lnk $byusr $delnk
"; } } echo "

"; echo "

"; if($page>1) { $ppage = $page-1; echo "«Inapoi "; } if($page<$num_pages) { $npage = $page+1; echo "Inainte»"; } echo "
$page/$num_pages
"; if($num_pages>2) { $rets = "Dute la pagina"; $rets .= "[Dute]"; $rets .= ""; $rets .= ""; $rets .= ""; $rets .= ""; $rets .= ""; $rets .= ""; echo $rets; } echo "

"; ////// UNTILL HERE >> echo "

"; if($uid==$who && getplusses($uid)>25) { echo ""; echo "Adauga element
"; } if($who!="") { echo ""; $whonick = getnick_uid($who); echo "$whonick Profil
"; }else{ echo ""; echo "\"*\"/Statistici site
"; } echo "\"*\"/"; echo "Prim"; echo "

"; echo "
"; } //////////////////////////////////Ignore list else if($action=="ignl") { addonline(getuid_sid($sid),"Lista de ignorati",""); echo ""; $uid = getuid_sid($sid); echo "

"; echo "Lista de ignorati"; echo "

"; //////ALL LISTS SCRIPT << if($page=="" || $page<=0)$page=1; $noi = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_ignore WHERE name='".$uid."'")); $num_items = $noi[0]; //changable $items_per_page= 10; $num_pages = ceil($num_items/$items_per_page); if(($page>$num_pages)&&$page!=1)$page= $num_pages; $limit_start = ($page-1)*$items_per_page; //changable sql /* $sql = "SELECT a.name, b.place, b.userid FROM lib3rtymrc_users a INNER JOIN lib3rtymrc_online b ON a.id = b.userid GROUP BY 1,2 LIMIT $limit_start, $items_per_page "; */ $sql = "SELECT target FROM lib3rtymrc_ignore WHERE name='".$uid."' LIMIT $limit_start, $items_per_page"; echo "

"; $items = mysql_query($sql); echo mysql_error(); if(mysql_num_rows($items)>0) { while ($item = mysql_fetch_array($items)) { $tnick = getnick_uid($item[0]); if(isonline($item[0])) { $iml = "\"+\"/"; }else{ $iml = "\"-\"/"; } $lnk = "$iml".getsimbol($item[0])."$tnick"; echo "$lnk: "; echo "Sterge din lista de ignorati
"; } } echo "

"; echo "

"; if($page>1) { $ppage = $page-1; echo "«Inapoi "; } if($page<$num_pages) { $npage = $page+1; echo "Inainte»"; } echo "
$page/$num_pages
"; if($num_pages>2) { $rets = "Dute la pagina"; $rets .= "[Dute]"; $rets .= ""; $rets .= ""; $rets .= ""; $rets .= ""; $rets .= ""; echo $rets; } echo "

"; ////// UNTILL HERE >> echo "

"; //echo ""; //echo "CPanel
"; echo "\"*\"/"; echo "Prim"; echo "

"; echo "
"; } //////////////////////////////////Blogs else if($action=="blogs") { addonline(getuid_sid($sid),"Vizualizare user jurnal",""); echo ""; $uid = getuid_sid($sid); $who = $_GET["who"]; $tnick = getnick_uid($who); echo "

"; echo "$tnick Blogs"; echo "

"; //////ALL LISTS SCRIPT << if($page=="" || $page<=0)$page=1; $noi = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_blogs WHERE bowner='".$who."'")); $num_items = $noi[0]; //changable $items_per_page= 10; $num_pages = ceil($num_items/$items_per_page); if(($page>$num_pages)&&$page!=1)$page= $num_pages; $limit_start = ($page-1)*$items_per_page; $sql = "SELECT id, bname FROM lib3rtymrc_blogs WHERE bowner='".$who."' ORDER BY bgdate DESC LIMIT $limit_start, $items_per_page"; echo "

"; $items = mysql_query($sql); echo mysql_error(); if(mysql_num_rows($items)>0) { while ($item = mysql_fetch_array($items)) { $bname = htmlspecialchars($item[1]); if(candelbl($uid,$item[0])) { $dl = "[X]"; }else{ $dl = ""; } $lnk = "»$bname"; echo "$lnk $dl
"; } } echo "

"; echo "

"; if($page>1) { $ppage = $page-1; echo "«Inapoi "; } if($page<$num_pages) { $npage = $page+1; echo "Inainte»"; } echo "
$page/$num_pages
"; if($num_pages>2) { $rets = "Dute la pagina"; $rets .= "[Dute]"; $rets .= ""; $rets .= ""; $rets .= ""; $rets .= ""; $rets .= ""; $rets .= ""; echo $rets; } echo "

"; ////// UNTILL HERE >> echo "

"; if($who==$uid) { echo ""; echo "Adauga jurnal
"; echo ""; echo "CPanel
"; } echo ""; echo "Toate jurnalele
"; echo "\"*\"/"; echo "Prim"; echo "

"; echo "
"; } //////////////////////////////////Blogs else if($action=="allbl") { addonline(getuid_sid($sid),"Lista jurnale",""); echo ""; $uid = getuid_sid($sid); $view = $_GET["view"]; if($view =="")$view="time"; echo "

"; if($view!="time") { echo "Vizuaalizeaza pe cele mai noi
"; } if($view!="points") { echo "Vizualizeaza dupa puncte
"; } if($view!="rate") { echo "Vizualizeaza pe cele cu rating mai mare
"; } if($view!="votes") { echo "Vizualizeaza pe cele mai votate"; } echo "

"; //////ALL LISTS SCRIPT << if($page=="" || $page<=0)$page=1; $noi = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_blogs")); $num_items = $noi[0]; //changable $items_per_page= 7; $num_pages = ceil($num_items/$items_per_page); if(($page>$num_pages)&&$page!=1)$page= $num_pages; $limit_start = ($page-1)*$items_per_page; if($view=="time") { $ord = "a.bgdate"; }else if($view=="votes") { $ord = "nofv"; }else if($view=="rate") { $ord = "avv"; }else if($view=="points") { $ord = "nofp"; } if ($view=="time"){ $sql = "SELECT id, bname, bowner FROM lib3rtymrc_blogs ORDER by bgdate DESC LIMIT $limit_start, $items_per_page"; }else{ $sql = "SELECT a.id, a.bname, a.bowner, COUNT(b.id) as nofv, SUM(b.brate) as nofp, AVG(b.brate) as avv FROM lib3rtymrc_blogs a INNER JOIN lib3rtymrc_brate b ON a.id = b.blogid GROUP BY a.id ORDER BY $ord DESC LIMIT $limit_start, $items_per_page"; } echo "

"; $items = mysql_query($sql); echo mysql_error(); if(mysql_num_rows($items)>0) { while ($item = mysql_fetch_array($items)) { $bname = htmlspecialchars($item[1]); if($view=="time") { $bonick = getnick_uid($item[2]); $byview = "de $bonick"; }else if($view=="votes") { $byview = "Voturi: $item[3]"; }else if($view=="rate") { $byview = "Rata: $item[5]"; }else if($view=="points") { $byview = "Puncte: $item[4]"; } $lnk = "»$bname $byview"; echo "$lnk
"; } } echo "

"; echo "

"; if($page>1) { $ppage = $page-1; echo "«Inapoi "; } if($page<$num_pages) { $npage = $page+1; echo "Inainte»"; } echo "
$page/$num_pages
"; if($num_pages>2) { $rets = "Dute la pagina"; $rets .= "[Dute]"; $rets .= ""; $rets .= ""; $rets .= ""; $rets .= ""; $rets .= ""; $rets .= ""; $rets .= ""; echo $rets; } echo "

"; ////// UNTILL HERE >> echo "

"; echo ""; echo "\"*\"/Statistici site
"; echo "\"*\"/"; echo "Prim"; echo "

"; echo "
"; }//////////////////////////////////Blogs else if($action=="polls") { addonline(getuid_sid($sid),"Lista chestionare",""); echo ""; $uid = getuid_sid($sid); //////ALL LISTS SCRIPT << if($page=="" || $page<=0)$page=1; $noi = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_users WHERE pollid>'0'")); $num_items = $noi[0]; //changable $items_per_page= 10; $num_pages = ceil($num_items/$items_per_page); if(($page>$num_pages)&&$page!=1)$page= $num_pages; $limit_start = ($page-1)*$items_per_page; $sql = "SELECT id, name FROM lib3rtymrc_users WHERE pollid>'0' ORDER by pollid DESC LIMIT $limit_start, $items_per_page"; echo "

"; $items = mysql_query($sql); echo mysql_error(); if(mysql_num_rows($items)>0) { while ($item = mysql_fetch_array($items)) { echo "By $item[1]
"; } } echo "

"; echo "

"; if($page>1) { $ppage = $page-1; echo "«Inapoi "; } if($page<$num_pages) { $npage = $page+1; echo "Inainte»"; } echo "
$page/$num_pages
"; if($num_pages>2) { $rets = "Dute la pagina"; $rets .= "[Dute]"; $rets .= ""; $rets .= ""; $rets .= ""; $rets .= ""; $rets .= ""; $rets .= ""; $rets .= ""; echo $rets; } echo "

"; ////// UNTILL HERE >> echo "

"; echo ""; echo "\"*\"/Statistici site
"; echo "\"*\"/"; echo "Prim"; echo "

"; echo "
"; } //////////////////////////////////Top Gammers else if($action=="tshout") { addonline(getuid_sid($sid),"Top mesaje live",""); echo ""; echo "

"; echo "Top mesaje live"; echo "

"; //////ALL LISTS SCRIPT << if($page=="" || $page<=0)$page=1; $num_items = regmemcount(); //changable $items_per_page= 10; $num_pages = ceil($num_items/$items_per_page); if(($page>$num_pages)&&$page!=1)$page= $num_pages; $limit_start = ($page-1)*$items_per_page; //changable sql $sql = "SELECT id, name, shouts FROM lib3rtymrc_users ORDER BY shouts DESC LIMIT $limit_start, $items_per_page"; echo "

"; $items = mysql_query($sql); echo mysql_error(); if(mysql_num_rows($items)>0) { while ($item = mysql_fetch_array($items)) { $lnk = "$item[1] Shouts: $item[2]"; echo "$lnk
"; } } echo "

"; echo "

"; if($page>1) { $ppage = $page-1; echo "«Inapoi "; } if($page<$num_pages) { $npage = $page+1; echo "Inainte»"; } echo "
$page/$num_pages
"; if($num_pages>2) { $rets = "Dute la pagina"; $rets .= "[Dute]"; $rets .= ""; $rets .= ""; $rets .= ""; $rets .= ""; $rets .= ""; echo $rets; } echo "

"; ////// UNTILL HERE >> echo "

"; echo "\"*\"/"; echo "Statistici site
"; echo "\"*\"/"; echo "Prim"; echo "

"; echo "
"; } //////////////////////////////////// else if($action=="ttime") { addonline(getuid_sid($sid),"Top Conectati",""); echo ""; echo "

"; echo "Cei mai activi useri
"; echo "

"; //////ALL LISTS SCRIPT << if($page=="" || $page<=0)$page=1; $num_items = regmemcount(); //changable $items_per_page= 10; $num_pages = ceil($num_items/$items_per_page); if(($page>$num_pages)&&$page!=1)$page= $num_pages; $limit_start = ($page-1)*$items_per_page; //changable sql $sql = "SELECT id, name, otime, mtime, topcon FROM lib3rtymrc_users ORDER BY otime DESC LIMIT 20"; echo "

"; $cou = $limit_start; //$cou++; //mysql_fetch_array(mysql_query("UPDATE lib3rtymrc_users SET topcon='".$cou."' WHERE id='".$sql[0]."'")); $items = mysql_query($sql); echo mysql_error(); if(mysql_num_rows($items)>0) { while ($item = mysql_fetch_array($items)) { $cou++; mysql_query("UPDATE lib3rtymrc_users SET topcon='".$cou."' WHERE id='".$item[0]."'"); $otime = gettimemsg($item[2]); $mtime = gettimemsg($item[3]); ////// $regd = mysql_fetch_array(mysql_query("SELECT regdate FROM lib3rtymrc_users WHERE id='".$item[0]."'")); $dtime = time()-$regd[0]; $timeage = ceil($dtime/(30*24*60*60)); $avgtime = ceil($item[3]/$timeage); $avgmsgtime = gettimemsg($avgtime); /// $simbol = getsimbol($item[0]); /// $lnk = "$cou)-$simbol$item[1]
Timp total online pe luigykent $otime
Timp online/luna: $avgmsgtime
"; echo "$lnk
"; } } echo "

"; echo "

"; if($page>1) { $ppage = $page-1; ////echo "«Inapoi "; } if($page<$num_pages) { $npage = $page+1; /// echo "Inainte»"; } echo "
$page/$num_pages
"; if($num_pages>2) { $rets = "Sari la: "; $rets .= "[dute]"; $rets .= ""; $rets .= ""; $rets .= ""; $rets .= ""; $rets .= ""; /// echo $rets; } echo "

"; ////// UNTILL HERE >> echo "

"; echo "\"*\"/"; echo "Statistici
"; echo "\"*\"/"; echo "Prim"; echo "

"; echo "
"; } //////////////////////////////////Top Gammers else if($action=="bbcode") { addonline(getuid_sid($sid),"BB coduri",""); echo ""; echo "

"; $tmsg = getpmcount(getuid_sid($sid)); $umsg = getunreadpm(getuid_sid($sid)); if($umsg>0) { echo "\".\"/Ai:$umsgPMs
"; } echo "BB coduri"; echo "

"; echo "

"; echo "Avertisment: scrierea incorecta a codurilor poate cauza erori

"; echo "[b]TEXT[/b]: TEXT
"; echo "[i]TEXT[/i]: TEXT
"; echo "[u]TEXT[/u]: TEXT
"; echo "[big]TEXT[/big]: TEXT
"; echo "[small]TEXT[/small]: TEXT
"; echo "[poza=images/logo.gif]logo[/poza]: \"logo\"/
"; echo "Inlocuieste images/logo.gif cu orice alt link, si inlocuieste logo cu ce cuvant vrei tu

"; echo "NOU![nr=333]credit[/nr]: credit
"; echo "Inlocuieste 333 cu orice alt numar de telefon, si inlocuieste credit cu ce cuvant vrei tu

"; echo "[site=http://luigykent.org]luigykent[/site]: Luigykent
"; echo "Inlocuieste http://luigykent.org cu orice alt link, si inlocuieste luigykent cu ce cuvant vrei tu

"; echo "[topic=1501]Nume topic[/topic]: Nume topic
"; echo "inlocuieste 1501 cu orice alt id de topic, si inlocuieste Nume Topic cu ce cuvant vrei

"; //echo "[club=1]Nume Club[/club]: Nume Club
"; //echo "inlocuieste 1 cu orice alt id de club, si inlocuieste Nume Club cu ce vrei tu

"; echo "[br/]: pentru a insera o noua linie,de exemplu ca:"; echo "buna[br/]lume!:
buna
lume!

"; echo "

"; echo "

"; echo "\"*\"/"; echo "Prim"; echo "

"; echo "
"; } //////////////////////////////////Top Gammers else if($action=="faqs") { addonline(getuid_sid($sid),"Termeni",""); echo ""; echo "

"; echo "Termeni"; echo "

"; //////ALL LISTS SCRIPT << if($page=="" || $page<=0)$page=1; $noi = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_faqs")); $num_items = $noi[0]; //changable $items_per_page= 10; $num_pages = ceil($num_items/$items_per_page); if(($page>$num_pages)&&$page!=1)$page= $num_pages; $limit_start = ($page-1)*$items_per_page; //changable sql $sql = "SELECT question, answer FROM lib3rtymrc_faqs ORDER BY id LIMIT $limit_start, $items_per_page"; echo "

"; $items = mysql_query($sql); echo mysql_error(); if(mysql_num_rows($items)>0) { while ($item = mysql_fetch_array($items)) { $item[0] = parsepm($item[0], $sid); $item[1] = parsepm($item[1], $sid); echo "Q. $item[0]
"; echo "A. $item[1]
"; } } echo "

"; echo "

"; if($page>1) { $ppage = $page-1; echo "«Inapoi "; } if($page<$num_pages) { $npage = $page+1; echo "Inainte»"; } echo "
$page/$num_pages
"; if($num_pages>2) { $rets = "Dute la pagina"; $rets .= "[Dute]"; $rets .= ""; $rets .= ""; $rets .= ""; $rets .= ""; $rets .= ""; echo $rets; } echo "

"; ////// UNTILL HERE >> echo "

"; echo "\"*\"/"; echo "Prim"; echo "

"; echo "
"; } //////////////////////////////////Staff else if($action=="staff") { addonline(getuid_sid($sid),"Echipa luigykent.org",""); echo ""; echo "

"; echo "\"*\"/
"; echo "Echipa luigykent.org
"; $noi = mysql_fetch_array(mysql_query("SELECT count(*) FROM lib3rtymrc_users WHERE perm='4'")); echo "Proprietari($noi[0])
"; $noi = mysql_fetch_array(mysql_query("SELECT count(*) FROM lib3rtymrc_users WHERE perm='3'")); echo "Admini Sef($noi[0])
"; $noi = mysql_fetch_array(mysql_query("SELECT count(*) FROM lib3rtymrc_users WHERE perm='2'")); echo "Administratori($noi[0])
"; $noi = mysql_fetch_array(mysql_query("SELECT count(*) FROM lib3rtymrc_users WHERE perm='1'")); echo "Moderatori($noi[0])
"; echo "

"; //////ALL LISTS SCRIPT << $noi = mysql_fetch_array(mysql_query("SELECT count(*) FROM lib3rtymrc_users WHERE perm>'0'")); if($page=="" || $page<=0)$page=1; $num_items = $noi[0]; //changable $items_per_page= 10; $num_pages = ceil($num_items/$items_per_page); if(($page>$num_pages)&&$page!=1)$page= $num_pages; $limit_start = ($page-1)*$items_per_page; //changable sql $sql = "SELECT id, name, perm FROM lib3rtymrc_users WHERE perm>'0' ORDER BY name LIMIT $limit_start, $items_per_page"; echo "

"; $items = mysql_query($sql); echo mysql_error(); if(mysql_num_rows($items)>0) { while ($item = mysql_fetch_array($items)) { if($item[2]=='1') { $tit = "Moderator"; }else{ $tit = "Administrator"; } if($item[2]=='3') { $tit = "Admin Sef"; } if($item[2]=='4') { $tit = "Proprietar"; } $lnk = "".getsimbol($item[0])."$item[1]-$tit"; echo "$lnk
"; } } echo "

"; echo "

"; if($page>1) { $ppage = $page-1; echo "«Inapoi "; } if($page<$num_pages) { $npage = $page+1; echo "Inainte»"; } echo "
$page/$num_pages
"; if($num_pages>2) { $rets = "Dute la pagina"; $rets .= "[Dute]"; $rets .= ""; $rets .= ""; $rets .= ""; $rets .= ""; $rets .= ""; echo $rets; } echo "

"; ////// UNTILL HERE >> echo "

"; echo "\"*\"/"; echo "Statistici site
"; echo "\"*\"/"; echo "Prim"; echo "

"; echo "
"; } //////////////////////////////////Staff else if($action=="owner1") { addonline(getuid_sid($sid),"Lista proprietari",""); echo ""; echo "

"; echo "\"*\"/
"; echo "Lista proprietari
"; echo "

"; //////ALL LISTS SCRIPT << $noi = mysql_fetch_array(mysql_query("SELECT count(*) FROM lib3rtymrc_users WHERE perm='4'")); if($page=="" || $page<=0)$page=1; $num_items = $noi[0]; //changable $items_per_page= 10; $num_pages = ceil($num_items/$items_per_page); if(($page>$num_pages)&&$page!=1)$page= $num_pages; $limit_start = ($page-1)*$items_per_page; //changable sql $sql = "SELECT id, name FROM lib3rtymrc_users WHERE perm='4' ORDER BY name LIMIT $limit_start, $items_per_page"; echo "

"; $items = mysql_query($sql); echo mysql_error(); if(mysql_num_rows($items)>0) { while ($item = mysql_fetch_array($items)) { $lnk = "".getsimbol($item[0])."$item[1]"; echo "$lnk
"; } } echo "

"; echo "

"; if($page>1) { $ppage = $page-1; echo "«Inapoi "; } if($page<$num_pages) { $npage = $page+1; echo "Inainte»"; } echo "
$page/$num_pages
"; if($num_pages>2) { $rets = "Dute la pagina"; $rets .= "[Dute]"; $rets .= ""; $rets .= ""; $rets .= ""; $rets .= ""; $rets .= ""; echo $rets; } echo "

"; ////// UNTILL HERE >> echo "

"; echo "\"*\"/"; echo "Statistici site
"; echo "\"*\"/"; echo "Prim"; echo "

"; echo "
"; } //////////////////////////////////Staff admin sef else if($action=="owner") { addonline(getuid_sid($sid),"Lista admini sef",""); echo ""; echo "

"; echo "\"*\"/
"; echo "Lista Admini sefi
"; echo "

"; //////ALL LISTS SCRIPT << $noi = mysql_fetch_array(mysql_query("SELECT count(*) FROM lib3rtymrc_users WHERE perm='3'")); if($page=="" || $page<=0)$page=1; $num_items = $noi[0]; //changable $items_per_page= 10; $num_pages = ceil($num_items/$items_per_page); if(($page>$num_pages)&&$page!=1)$page= $num_pages; $limit_start = ($page-1)*$items_per_page; //changable sql $sql = "SELECT id, name FROM lib3rtymrc_users WHERE perm='3' ORDER BY name LIMIT $limit_start, $items_per_page"; echo "

"; $items = mysql_query($sql); echo mysql_error(); if(mysql_num_rows($items)>0) { while ($item = mysql_fetch_array($items)) { $lnk = "".getsimbol($item[0])."$item[1]"; echo "$lnk
"; } } echo "

"; echo "

"; if($page>1) { $ppage = $page-1; echo "«Inapoi "; } if($page<$num_pages) { $npage = $page+1; echo "Inainte»"; } echo "
$page/$num_pages
"; if($num_pages>2) { $rets = "Dute la pagina"; $rets .= "[Dute]"; $rets .= ""; $rets .= ""; $rets .= ""; $rets .= ""; $rets .= ""; echo $rets; } echo "

"; ////// UNTILL HERE >> echo "

"; echo "\"*\"/"; echo "Statistici site
"; echo "\"*\"/"; echo "Prim"; echo "

"; echo "
"; } //////////////////////////////////Staff else if($action=="admns") { addonline(getuid_sid($sid),"Lista admini",""); echo ""; echo "

"; echo "\"*\"/
"; echo "Lista admini
"; echo "

"; //////ALL LISTS SCRIPT << $noi = mysql_fetch_array(mysql_query("SELECT count(*) FROM lib3rtymrc_users WHERE perm='2'")); if($page=="" || $page<=0)$page=1; $num_items = $noi[0]; //changable $items_per_page= 10; $num_pages = ceil($num_items/$items_per_page); if(($page>$num_pages)&&$page!=1)$page= $num_pages; $limit_start = ($page-1)*$items_per_page; //changable sql $sql = "SELECT id, name FROM lib3rtymrc_users WHERE perm='2' ORDER BY name LIMIT $limit_start, $items_per_page"; echo "

"; $items = mysql_query($sql); echo mysql_error(); if(mysql_num_rows($items)>0) { while ($item = mysql_fetch_array($items)) { $lnk = "".getsimbol($item[0])."$item[1]"; echo "$lnk
"; } } echo "

"; echo "

"; if($page>1) { $ppage = $page-1; echo "«Inapoi "; } if($page<$num_pages) { $npage = $page+1; echo "Inainte»"; } echo "
$page/$num_pages
"; if($num_pages>2) { $rets = "Dute la pagina"; $rets .= "[Dute]"; $rets .= ""; $rets .= ""; $rets .= ""; $rets .= ""; $rets .= ""; echo $rets; } echo "

"; ////// UNTILL HERE >> echo "

"; echo "\"*\"/"; echo "Statistici site
"; echo "\"*\"/"; echo "Prim"; echo "

"; echo "
"; } //////////////////////////////////judges else if($action=="judg") { addonline(getuid_sid($sid),"Lista organizatori quizz",""); echo ""; echo "

"; echo "Organizatori Quizz
"; echo "

"; //////ALL LISTS SCRIPT << $noi = mysql_fetch_array(mysql_query("SELECT count(*) FROM lib3rtymrc_judges")); if($page=="" || $page<=0)$page=1; $num_items = $noi[0]; //changable $items_per_page= 10; $num_pages = ceil($num_items/$items_per_page); if(($page>$num_pages)&&$page!=1)$page= $num_pages; $limit_start = ($page-1)*$items_per_page; //changable sql $sql = "SELECT uid FROM lib3rtymrc_judges LIMIT $limit_start, $items_per_page"; echo "

"; $items = mysql_query($sql); echo mysql_error(); if(mysql_num_rows($items)>0) { while ($item = mysql_fetch_array($items)) { $lnk = "".getsimbol($item[0])."".getnick_uid($item[0]).""; echo "$lnk
"; } } echo "

"; echo "

"; if($page>1) { $ppage = $page-1; echo "«Inapoi "; } if($page<$num_pages) { $npage = $page+1; echo "Inainte»"; } echo "
$page/$num_pages
"; if($num_pages>2) { $rets = "Dute la pagina"; $rets .= "[Dute]"; $rets .= ""; $rets .= ""; $rets .= ""; $rets .= ""; $rets .= ""; echo $rets; } echo "

"; ////// UNTILL HERE >> echo "

"; echo "\"*\"/"; echo "Statistici site
"; echo "\"*\"/"; echo "Prim"; echo "

"; echo "
"; } //////////////////////////////////Staff else if($action=="modr") { addonline(getuid_sid($sid),"Lista moderatori",""); echo ""; echo "

"; echo "\"*\"/
"; echo "Lista moderatori
"; echo "

"; //////ALL LISTS SCRIPT << $noi = mysql_fetch_array(mysql_query("SELECT count(*) FROM lib3rtymrc_users WHERE perm='1'")); if($page=="" || $page<=0)$page=1; $num_items = $noi[0]; //changable $items_per_page= 10; $num_pages = ceil($num_items/$items_per_page); if(($page>$num_pages)&&$page!=1)$page= $num_pages; $limit_start = ($page-1)*$items_per_page; //changable sql $sql = "SELECT id, name FROM lib3rtymrc_users WHERE perm='1' ORDER BY name LIMIT $limit_start, $items_per_page"; echo "

"; $items = mysql_query($sql); echo mysql_error(); if(mysql_num_rows($items)>0) { while ($item = mysql_fetch_array($items)) { $lnk = "".getsimbol($item[0])."$item[1]"; echo "$lnk
"; } } echo "

"; echo "

"; if($page>1) { $ppage = $page-1; echo "«Inapoi "; } if($page<$num_pages) { $npage = $page+1; echo "Inainte»"; } echo "
$page/$num_pages
"; if($num_pages>2) { $rets = "Dute la pagina"; $rets .= "[Dute]"; $rets .= ""; $rets .= ""; $rets .= ""; $rets .= ""; $rets .= ""; echo $rets; } echo "

"; ////// UNTILL HERE >> echo "

"; echo "\"*\"/"; echo "Statistici site
"; echo "\"*\"/"; echo "Prim"; echo "

"; echo "
"; } //////////////////////////////////Top Posters List else if($action=="tpweek") { addonline(getuid_sid($sid),"Top Posteri saptamana asta",""); echo ""; echo "

"; echo "Top Posteri saptamana asta
Va multumim pentru activitatea voastra in ultimile 7 zile!"; echo "

"; //////ALL LISTS SCRIPT << if($page=="" || $page<=0)$page=1; $weekago = time(); $weekago -= 7*24*60*60; $noi = mysql_fetch_array(mysql_query("SELECT COUNT(DISTINCT uid) FROM lib3rtymrc_posts WHERE dtpost>'".$weekago."';")); $num_items = $noi[0]; //changable $items_per_page= 10; $num_pages = ceil($num_items/$items_per_page); if(($page>$num_pages)&&$page!=1)$page= $num_pages; $limit_start = ($page-1)*$items_per_page; //changable sql $sql = "SELECT uid, COUNT(*) as nops FROM lib3rtymrc_posts WHERE dtpost>'".$weekago."' GROUP BY uid ORDER BY nops DESC LIMIT $limit_start, $items_per_page"; echo "

"; $items = mysql_query($sql); echo mysql_error(); if(mysql_num_rows($items)>0) { while ($item = mysql_fetch_array($items)) { $unick = getnick_uid($item[0]); $lnk = "$unick Posts: $item[1]"; echo "$lnk
"; } } echo "

"; echo "

"; if($page>1) { $ppage = $page-1; echo "«Inapoi "; } if($page<$num_pages) { $npage = $page+1; echo "Inainte»"; } echo "
$page/$num_pages
"; if($num_pages>2) { $rets = "Dute la pagina"; $rets .= "[Dute]"; $rets .= ""; $rets .= ""; $rets .= ""; $rets .= ""; $rets .= ""; echo $rets; } echo "

"; ////// UNTILL HERE >> echo "

"; echo "\"*\"/"; echo "Statistici site
"; echo "\"*\"/"; echo "Prim"; echo "

"; echo "
"; } //////////////////////////////////Top Posters List else if($action=="tptime") { addonline(getuid_sid($sid),"Top Posteri per total",""); echo ""; echo "

"; echo "Top Posteri per total"; echo "

"; //////ALL LISTS SCRIPT << if($page=="" || $page<=0)$page=1; $noi = mysql_fetch_array(mysql_query("SELECT COUNT(DISTINCT uid) FROM lib3rtymrc_posts ;")); $num_items = $noi[0]; //changable $items_per_page= 10; $num_pages = ceil($num_items/$items_per_page); if(($page>$num_pages)&&$page!=1)$page= $num_pages; $limit_start = ($page-1)*$items_per_page; //changable sql $sql = "SELECT uid, COUNT(*) as nops FROM lib3rtymrc_posts GROUP BY uid ORDER BY nops DESC LIMIT $limit_start, $items_per_page"; echo "

"; $items = mysql_query($sql); echo mysql_error(); if(mysql_num_rows($items)>0) { while ($item = mysql_fetch_array($items)) { $unick = getnick_uid($item[0]); $lnk = "$unick Postari: $item[1]"; echo "$lnk
"; } } echo "

"; echo "

"; if($page>1) { $ppage = $page-1; echo "«Inapoi "; } if($page<$num_pages) { $npage = $page+1; echo "Inainte»"; } echo "
$page/$num_pages
"; if($num_pages>2) { $rets = "Dute la pagina"; $rets .= "[Dute]"; $rets .= ""; $rets .= ""; $rets .= ""; $rets .= ""; $rets .= ""; echo $rets; } echo "

"; ////// UNTILL HERE >> echo "

"; echo "\"*\"/"; echo "Statistici site
"; echo "\"*\"/"; echo "Prim"; echo "

"; echo "
"; } //////////////////////////////////Males List else if($action=="males") { addonline(getuid_sid($sid),"Lista barbati",""); echo ""; echo "

"; echo "\"*\"/
"; echo "Barbati"; echo "

"; //////ALL LISTS SCRIPT << $noi = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_users WHERE sex='M'")); if($page=="" || $page<=0)$page=1; $num_items = $noi[0]; //changable $items_per_page= 10; $num_pages = ceil($num_items/$items_per_page); if(($page>$num_pages)&&$page!=1)$page= $num_pages; $limit_start = ($page-1)*$items_per_page; //changable sql $sql = "SELECT id, name, birthday FROM lib3rtymrc_users WHERE sex='M' ORDER BY name LIMIT $limit_start, $items_per_page"; echo "

"; $items = mysql_query($sql); echo mysql_error(); if(mysql_num_rows($items)>0) { while ($item = mysql_fetch_array($items)) { $uage = getage($item[2]); $lnk = "$item[1] Are $uage ani"; echo "$lnk
"; } } echo "

"; echo "

"; if($page>1) { $ppage = $page-1; echo "«Inapoi "; } if($page<$num_pages) { $npage = $page+1; echo "Inainte»"; } echo "
$page/$num_pages
"; if($num_pages>2) { $rets = "Dute la pagina"; $rets .= "[Dute]"; $rets .= ""; $rets .= ""; $rets .= ""; $rets .= ""; $rets .= ""; echo $rets; } echo "

"; ////// UNTILL HERE >> echo "

"; echo "\"*\"/"; echo "Statistici site
"; echo "\"*\"/"; echo "Prim"; echo "

"; echo "
"; } //////////////////////////////////Males List else if($action=="fems") { addonline(getuid_sid($sid),"Lista femei",""); echo ""; echo "

"; echo "\"*\"/
"; echo "Femei"; echo "

"; //////ALL LISTS SCRIPT << $noi = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_users WHERE sex='F'")); if($page=="" || $page<=0)$page=1; $num_items = $noi[0]; //changable $items_per_page= 10; $num_pages = ceil($num_items/$items_per_page); if(($page>$num_pages)&&$page!=1)$page= $num_pages; $limit_start = ($page-1)*$items_per_page; //changable sql $sql = "SELECT id, name, birthday FROM lib3rtymrc_users WHERE sex='F' ORDER BY name LIMIT $limit_start, $items_per_page"; echo "

"; $items = mysql_query($sql); echo mysql_error(); if(mysql_num_rows($items)>0) { while ($item = mysql_fetch_array($items)) { $uage = getage($item[2]); $lnk = "$item[1] Are $uage ani"; echo "$lnk
"; } } echo "

"; echo "

"; if($page>1) { $ppage = $page-1; echo "«Inapoi "; } if($page<$num_pages) { $npage = $page+1; echo "Inainte»"; } echo "
$page/$num_pages
"; if($num_pages>2) { $rets = "Dute la pagina"; $rets .= "[Dute]"; $rets .= ""; $rets .= ""; $rets .= ""; $rets .= ""; $rets .= ""; echo $rets; } echo "

"; ////// UNTILL HERE >> echo "

"; echo "\"*\"/"; echo "Statistici site
"; echo "\"*\"/"; echo "Prim"; echo "

"; echo "
"; } //////////////////////////////////Today's Birthday' else if($action=="bdy") { addonline(getuid_sid($sid),"Sarbatoriti astazi",""); echo ""; echo "

"; //echo "\"*\"/
"; echo "\"*\"/
"; echo "La multi ani:!:"; echo "

"; //////ALL LISTS SCRIPT << $noi =mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_users where month(`birthday`) = month(curdate()) and dayofmonth(`birthday`) = dayofmonth(curdate());")); if($page=="" || $page<=0)$page=1; $num_items = $noi[0]; //changable $items_per_page= 10; $num_pages = ceil($num_items/$items_per_page); if(($page>$num_pages)&&$page!=1)$page= $num_pages; $limit_start = ($page-1)*$items_per_page; //changable sql $sql = "SELECT id, name, birthday FROM lib3rtymrc_users where month(`birthday`) = month(curdate()) and dayofmonth(`birthday`) = dayofmonth(curdate()) ORDER BY name LIMIT $limit_start, $items_per_page"; echo "

"; $items = mysql_query($sql); echo mysql_error(); if(mysql_num_rows($items)>0) { while ($item = mysql_fetch_array($items)) { $uage = getage($item[2]); $lnk = "$item[1] face $uage ani"; echo "$lnk
"; } } echo "

"; echo "

"; if($page>1) { $ppage = $page-1; echo "«Inapoi "; } if($page<$num_pages) { $npage = $page+1; echo "Inainte»"; } echo "
$page/$num_pages
"; if($num_pages>2) { $rets = "Dute la pagina"; $rets .= "[Dute]"; $rets .= ""; $rets .= ""; $rets .= ""; $rets .= ""; $rets .= ""; echo $rets; } echo "

"; ////// UNTILL HERE >> echo "

"; echo "\"*\"/"; echo "Statistici site
"; echo "\"*\"/"; echo "Prim"; echo "

"; echo "
"; } //////////////////////////////////Browsers else if($action=="brows") { addonline(getuid_sid($sid),"Lista browsere",""); echo ""; echo "

"; echo "Lista browsere"; echo "

"; //////ALL LISTS SCRIPT << $noi=mysql_fetch_array(mysql_query("SELECT COUNT(DISTINCT browserm) FROM lib3rtymrc_users WHERE browserm IS NOT NULL ")); if($page=="" || $page<=0)$page=1; $num_items = $noi[0]; //changable $items_per_page= 10; $num_pages = ceil($num_items/$items_per_page); if(($page>$num_pages)&&$page!=1)$page= $num_pages; $limit_start = ($page-1)*$items_per_page; //changable sql $sql = "SELECT browserm, COUNT(*) as notl FROM lib3rtymrc_users WHERE browserm!='' GROUP BY browserm ORDER BY notl DESC LIMIT $limit_start, $items_per_page"; //$moderatorz=mysql_query("SELECT tlphone, COUNT(*) as notl FROM users GROUP BY tlphone ORDER BY notl DESC LIMIT ".$pagest.",5"); $cou = $limit_start; echo "

"; $items = mysql_query($sql); echo mysql_error(); if(mysql_num_rows($items)>0) { while ($item = mysql_fetch_array($items)) { $cou++; $lnk = "$cou-$item[0] $item[1]"; echo "$lnk
"; } } echo "

"; echo "

"; if($page>1) { $ppage = $page-1; echo "«Inapoi "; } if($page<$num_pages) { $npage = $page+1; echo "Inainte»"; } echo "
$page/$num_pages
"; if($num_pages>2) { $rets = "Dute la pagina"; $rets .= "[Dute]"; $rets .= ""; $rets .= ""; $rets .= ""; $rets .= ""; $rets .= ""; echo $rets; } echo "

"; ////// UNTILL HERE >> echo "

"; echo "\"*\"/"; echo "Statistici site
"; echo "\"*\"/"; echo "Prim"; echo "

"; echo "
"; } ?>