XtGem Forum catalog
"; echo ""; echo " "; echo " "; echo " "; ?> "; echo "
"; echo "
...:::$numesite:::...
"; echo ""; echo "

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

"; echo "Autentificare"; echo "

$numesite
"; echo "

"; echo ""; echo ""; exit(); } } if(isbanned($uid)) { echo ""; echo "
"; echo "
...:::$numesite:::...
"; 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(); } //include("x.php"); ///////////////////////////////////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 FROM lib3rtymrc_users where id='".$uid."'")); $otime = $res[0] + $atime; $res = mysql_query("UPDATE lib3rtymrc_users SET otime='".$otime."' where id='".$uid."'"); } /// ////////////////////////////////// Top Online if ($action=="top") { addonline(getuid_sid($sid),"Topuri","liste.php?action=top"); echo ""; echo "
"; echo "
...:::$numesite:::...
"; echo ""; echo "

"; echo ""; $uid = getuid_sid($sid); $unreadpopup=mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_popups WHERE unread='1' AND touid='".$uid."'")); if ($unreadpopup[0]>0) { echo popup($sid); echo "

"; echo ""; echo ""; exit(); } echo nou($sid); $i = icon($sid); echo "Topurile $numesite

"; echo "

"; echo "

"; echo ""; ///// $uid = getuid_sid($sid); echo "$iTop online
"; echo "$iTop plusuri
"; echo "$iTop chateri
"; echo "$iTop postari
"; echo "$iTop PM-uri trimise
"; echo "$iTop PM-uri primite
"; echo "$iTop mesaje live
"; echo "$iTop vizite pe site
"; echo "$iTop vizualizari profil
"; echo "$iTop trivia
"; echo "$iTop anagrame
"; echo "$iTop spanzuratoarea
"; echo "$iTop quizz
"; #echo "$iTop prieteni adusi
"; echo "$iTop jocuri
"; echo "$iTop descarcari
"; echo "

"; echo "

"; echo "Acasa"; echo "

$numesite
"; echo "

"; echo ""; } else if ($action=="24h") { addonline(getuid_sid($sid),"Topuri","liste.php?action=top"); echo ""; echo "

"; echo ""; $uid = getuid_sid($sid); $unreadpopup=mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_popups WHERE unread='1' AND touid='".$uid."'")); if ($unreadpopup[0]>0) { echo popup($sid); echo "

"; echo "
"; echo ""; exit(); } echo nou($sid); $i = icon($sid); echo "Activitate ultimele 24 de ore

"; echo "

"; echo "

"; echo ""; echo mysql_error(); $time = time() - (24*60*60); $aut = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_users WHERE lastact>'".$time."'")); echo "$i Membrii activi: $aut[0]
"; $aut = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_users WHERE regdate>'".$time."'")); echo "$i Membrii inregistrati: $aut[0]
"; $notc = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_topics WHERE crdate>'".$time."'")); $nops = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_posts WHERE dtpost>'".$time."'")); echo "$i Topicuri forum: ".getnr($notc[0])."
"; echo "$i Postari forum: ".getnr($nops[0])."
"; $nogal = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_gallery where data>'".$time."'")); echo "$i Poze in galerie adaugate: ".getnr($nogal[0])."
"; $albume = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM shad_albumefoto where data>'".$time."'")); echo "$i Albume create: ".getnr($albume[0])."
"; $cas = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM shad_stare where agreed='1' AND reqdt>'".$time."'")); echo "$i Cupluri casatorite: ".getnr($cas[0])."
"; $cas = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM shad_stare where agreed='0' AND reqdt>'".$time."'")); echo "$i Cereri in casatorie: ".getnr($cas[0])."
"; $live = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_shouts where shtime>'".$time."'")); echo "$i Mesaje live: ".getnr($live[0])."
"; $shad = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_buddies where agreed='1' AND reqdt>'".$time."'")); echo "$i Prieteni adaugati in liste: ".getnr($shad[0])."
"; $shad = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_buddies where agreed='0' AND reqdt>'".$time."'")); echo "$i Cereri de prietenie: ".getnr($shad[0])."
"; $pro = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_gbook WHERE dtime>'".$time."'")); echo "$i Comentarii profil: ".getnr($pro[0])."
"; $gall = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_galcomments WHERE time>'".$time."'")); echo "$i Comentarii poze: ".getnr($gall[0])."
"; $nr = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_manele WHERE pudt>'".$time."'")); echo "$i Elemente download adaugate: ".getnr($nr[0])."
"; $nr = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM shad_dedicatii WHERE data>'".$time."'")); echo "$i Dedicatii adaugate: ".getnr($nr[0])."
"; #shtime echo "

"; echo "

"; echo "Statistici
"; echo "Acasa"; echo "

"; echo ""; } else if($action=="top14") { addonline(getuid_sid($sid),"Echipa $numesite","liste.php?action=$action"); echo ""; echo "

"; echo ""; $uid = getuid_sid($sid); $unreadpopup=mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_popups WHERE unread='1' AND touid='".$uid."'")); if ($unreadpopup[0]>0) { echo popup($sid); echo "

"; echo "
"; echo ""; exit(); } echo "

"; echo "
"; echo "
...:::$numesite:::...
"; echo ""; echo "

"; echo "Numarul maxim de useri conectati pe $numesite"; echo "

"; //////ALL LISTS SCRIPT << $noi = mysql_fetch_array(mysql_query("SELECT count(*) FROM lib3rtymrc_mpot")); 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 ddt, dtm, ppl FROM lib3rtymrc_mpot ORDER BY id 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[0]($item[1]) Membri Online: $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 = "Sari la pagina: "; $rets .= "du-te"; $rets .= ""; $rets .= ""; $rets .= ""; $rets .= ""; $rets .= ""; echo $rets; } echo "

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

"; echo "Statistici
"; echo "Acasa
"; echo "

"; echo ""; } ////////////////////////////////// Echipa else if($action=="echipa") { addonline(getuid_sid($sid),"Echipa $numesite","liste.php?action=$action"); echo ""; echo "

"; echo ""; $uid = getuid_sid($sid); $unreadpopup=mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_popups WHERE unread='1' AND touid='".$uid."'")); if ($unreadpopup[0]>0) { echo popup($sid); echo "

"; echo "
"; echo ""; exit(); } echo "
"; echo "
...:::$numesite:::...
"; echo ""; //echo nou($sid); echo "Echipa $numesite:
"; //changable sql echo "
"; $items = mysql_query("SELECT id, name FROM lib3rtymrc_users WHERE permxmagic>0 ORDER BY name"); echo mysql_error(); if(mysql_num_rows($items)>0) { while ($item = mysql_fetch_array($items)) { $lnk = "".getsimbol($item[0])."$item[1]$tit"; echo "$lnk
"; } } echo "

"; echo "

"; echo "

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

"; echo "
Statistici
"; echo "Acasa
"; echo "

"; echo ""; } ////////////////////////////////// proprietri else if($action=="proprietari") { addonline(getuid_sid($sid),"Lista proprietari","liste.php?action=$action"); echo ""; echo "

"; echo ""; $uid = getuid_sid($sid); $unreadpopup=mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_popups WHERE unread='1' AND touid='".$uid."'")); if ($unreadpopup[0]>0) { echo popup($sid); echo "

"; echo "
"; echo ""; exit(); } echo nou($sid); echo "Lista proprietari
"; echo "

"; //////ALL LISTS SCRIPT << $noi = mysql_fetch_array(mysql_query("SELECT count(*) FROM lib3rtymrc_users WHERE permxmagic='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 permxmagic='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 "«pagina anterioara
"; } if($page<$num_pages) { $npage = $page+1; echo "pagina urmatoare»"; } echo "
Pagina $page din $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=="listapredefinite") { addonline(getuid_sid($sid),"Texte predefinite",""); echo ""; echo "

"; echo ""; echo nou($sid); echo "Texte Predefinite
"; echo "

"; //////ALL LISTS SCRIPT << if($page=="" || $page<=0)$page=1; $noi = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM shad_predefinite")); $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, cod, text FROM shad_predefinite WHERE hidden = '0' 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[2] $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) { $pgurl = "liste"; echo getjumper($action, $sid,$pgurl); } echo "
Acasa"; #$predefinite = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM shad_predefinite")); //echo "in acest moment avem $predefinite[0] mesaje predefinite
"; echo "

"; echo "
"; } # Top by DeLiGhT else if($action=="tdescarcari") { $shad0w = "descarcari"; addonline(getuid_sid($sid),"Top $shad0w",""); echo ""; echo "

"; echo ""; echo "Top $shad0w"; echo "

"; if($page=="" || $page<=0)$page=1; $noi = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_manele")); $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, title, descarcat FROM lib3rtymrc_manele ORDER BY descarcat DESC LIMIT $limit_start, $items_per_page"; echo "

"; $items = mysql_query($sql); $cou = $limit_start; echo mysql_error(); if(mysql_num_rows($items)>0) { while ($item = mysql_fetch_array($items)) { $cou++; $lnk = "$cou) ".htmlspecialchars($item[1])." - ".getnr($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 = "Sari la pagina "; $rets .= "du-te"; $rets .= ""; $rets .= ""; $rets .= ""; $rets .= ""; $rets .= ""; echo $rets; } echo "

"; echo "

"; echo "Topuri
"; echo "Acasa
"; echo "

"; echo "
"; } # Top by DeLiGhT else if($action=="ttrivia") { $shad0w = "trivia"; addonline(getuid_sid($sid),"Top $shad0w",""); echo ""; echo "

"; echo ""; echo "Top $shad0w"; echo "

"; 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; $sql = "SELECT id, name, trivia FROM lib3rtymrc_users ORDER BY trivia DESC LIMIT $limit_start, $items_per_page"; echo "

"; $items = mysql_query($sql); $cou = $limit_start; echo mysql_error(); if(mysql_num_rows($items)>0) { while ($item = mysql_fetch_array($items)) { $cou++; $lnk = "$cou) $item[1] - ".getnr($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 = "Sari la pagina "; $rets .= "du-te"; $rets .= ""; $rets .= ""; $rets .= ""; $rets .= ""; $rets .= ""; echo $rets; } echo "

"; echo "

"; echo "Topuri
"; echo "Acasa
"; echo "

"; echo "
"; } # Top by DeLiGhT else if($action=="tspanzuratoarea") { $shad0w = "spanzuratoarea"; addonline(getuid_sid($sid),"Top $shad0w",""); echo ""; echo "

"; echo ""; echo "Top $shad0w"; echo "

"; 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; $sql = "SELECT id, name, spanzuratoarea FROM lib3rtymrc_users ORDER BY spanzuratoarea DESC LIMIT $limit_start, $items_per_page"; echo "

"; $items = mysql_query($sql); $cou = $limit_start; echo mysql_error(); if(mysql_num_rows($items)>0) { while ($item = mysql_fetch_array($items)) { $cou++; $lnk = "$cou) $item[1] - ".getnr($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 = "Sari la pagina "; $rets .= "du-te"; $rets .= ""; $rets .= ""; $rets .= ""; $rets .= ""; $rets .= ""; echo $rets; } echo "

"; echo "

"; echo "Topuri
"; echo "Acasa
"; echo "

"; echo "
"; } # Top by DeLiGhT else if($action=="tanagrame") { $shad0w = "anagrame"; addonline(getuid_sid($sid),"Top $shad0w",""); echo ""; echo "

"; echo ""; echo "Top $shad0w"; echo "

"; 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; $sql = "SELECT id, name, anagrame FROM lib3rtymrc_users ORDER BY anagrame DESC LIMIT $limit_start, $items_per_page"; echo "

"; $items = mysql_query($sql); $cou = $limit_start; echo mysql_error(); if(mysql_num_rows($items)>0) { while ($item = mysql_fetch_array($items)) { $cou++; $lnk = "$cou) $item[1] - ".getnr($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 = "Sari la pagina "; $rets .= "du-te"; $rets .= ""; $rets .= ""; $rets .= ""; $rets .= ""; $rets .= ""; echo $rets; } echo "

"; echo "

"; echo "Topuri
"; echo "Acasa
"; echo "

"; echo "
"; } # Top by DeLiGhT else if($action=="tpostari") { $shad0w = "postari"; addonline(getuid_sid($sid),"Top $shad0w",""); echo ""; echo "

"; echo ""; echo "Top $shad0w"; echo "

"; 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; $sql = "SELECT id, name, posts FROM lib3rtymrc_users ORDER BY posts DESC LIMIT $limit_start, $items_per_page"; echo "

"; $items = mysql_query($sql); $cou = $limit_start; echo mysql_error(); if(mysql_num_rows($items)>0) { while ($item = mysql_fetch_array($items)) { $cou++; $lnk = "$cou) $item[1] - ".getnr($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 = "Sari la pagina "; $rets .= "du-te"; $rets .= ""; $rets .= ""; $rets .= ""; $rets .= ""; $rets .= ""; echo $rets; } echo "

"; echo "

"; echo "Topuri
"; echo "Acasa
"; echo "

"; echo "
"; } # Top by DeLiGhT else if($action=="tchat") { $shad0w = "chat"; addonline(getuid_sid($sid),"Top $shad0w",""); echo ""; echo "

"; echo ""; echo "Top $shad0w"; echo "

"; 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; $sql = "SELECT id, name, chmsgs FROM lib3rtymrc_users ORDER BY chmsgs DESC LIMIT $limit_start, $items_per_page"; echo "

"; $items = mysql_query($sql); $cou = $limit_start; echo mysql_error(); if(mysql_num_rows($items)>0) { while ($item = mysql_fetch_array($items)) { $cou++; $lnk = "$cou) $item[1] - ".getnr($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 = "Sari la pagina "; $rets .= "du-te"; $rets .= ""; $rets .= ""; $rets .= ""; $rets .= ""; $rets .= ""; echo $rets; } echo "

"; echo "

"; echo "Topuri
"; echo "Acasa
"; echo "

"; echo "
"; } # Top by DeLiGhT else if($action=="tclick") { $shad0w = "click"; addonline(getuid_sid($sid),"Top $shad0w",""); echo ""; echo "

"; echo ""; $clickuriadmob = mysql_fetch_array(mysql_query("SELECT value FROM lib3rtymrc_settings WHERE name='clickadmob'")); echo "Top $shad0w
Clickuri: $clickuriadmob[0]
"; echo "

"; 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; $sql = "SELECT id, name, click FROM lib3rtymrc_users ORDER BY click DESC LIMIT $limit_start, $items_per_page"; echo "

"; $items = mysql_query($sql); $cou = $limit_start; echo mysql_error(); if(mysql_num_rows($items)>0) { while ($item = mysql_fetch_array($items)) { $cou++; $lnk = "$cou. $item[1] - ".getnr($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 = "Pagina: "; $rets .= "[Du-te]"; $rets .= ""; $rets .= ""; $rets .= ""; $rets .= ""; $rets .= ""; echo $rets; } echo "

"; echo "

"; echo "Topuri
"; echo "Acasa"; echo "

"; echo "
"; } # Top by DeLiGhT else if($action=="tplusuri") { $shad0w = "plusuri"; addonline(getuid_sid($sid),"Top $shad0w",""); echo ""; echo "

"; echo ""; echo "Top $shad0w"; echo "

"; 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; $sql = "SELECT id, name, plusses FROM lib3rtymrc_users ORDER BY plusses DESC LIMIT $limit_start, $items_per_page"; echo "

"; $items = mysql_query($sql); $cou = $limit_start; echo mysql_error(); if(mysql_num_rows($items)>0) { while ($item = mysql_fetch_array($items)) { $cou++; $lnk = "$cou) $item[1] - ".getnr($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 = "Sari la pagina "; $rets .= "du-te"; $rets .= ""; $rets .= ""; $rets .= ""; $rets .= ""; $rets .= ""; echo $rets; } echo "

"; echo "

"; echo "Topuri
"; echo "Acasa
"; echo "

"; echo "
"; } # Top by DeLiGhT else if($action=="tjocuri") { $shad0w = "puncte jocuri"; addonline(getuid_sid($sid),"Top $shad0w",""); echo ""; echo "

"; echo "Top $shad0w"; echo "

"; 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; $sql = "SELECT id, name, gplus FROM lib3rtymrc_users ORDER BY gplus DESC LIMIT $limit_start, $items_per_page"; echo "

"; $items = mysql_query($sql); $cou = $limit_start; echo mysql_error(); if(mysql_num_rows($items)>0) { while ($item = mysql_fetch_array($items)) { $cou++; $lnk = "$cou) $item[1] - ".getnr($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 = "Sari la pagina "; $rets .= "du-te"; $rets .= ""; $rets .= ""; $rets .= ""; $rets .= ""; $rets .= ""; echo $rets; } echo "

"; echo "

"; echo "Topuri
"; echo "Acasa
"; echo "

"; echo "
"; } # Top by DeLiGhT else if($action=="tlive") { $shad0w = "mesaje live"; addonline(getuid_sid($sid),"Top $shad0w",""); echo ""; echo "

"; echo ""; echo "Top $shad0w"; echo "

"; 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; $sql = "SELECT id, name, shouts FROM lib3rtymrc_users ORDER BY shouts DESC LIMIT $limit_start, $items_per_page"; echo "

"; $items = mysql_query($sql); $cou = $limit_start; echo mysql_error(); if(mysql_num_rows($items)>0) { while ($item = mysql_fetch_array($items)) { $cou++; $lnk = "$cou) $item[1] - ".getnr($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 = "Sari la pagina "; $rets .= "du-te"; $rets .= ""; $rets .= ""; $rets .= ""; $rets .= ""; $rets .= ""; echo $rets; } echo "

"; echo "

"; echo "Topuri
"; echo "Acasa
"; echo "

"; echo "
"; } # Top by DeLiGhT else if($action=="tquizz") { $shad0w = "quizz"; addonline(getuid_sid($sid),"Top $shad0w",""); echo ""; echo "

"; echo ""; echo "Top $shad0w"; echo "

"; 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; $sql = "SELECT id, name, battlep FROM lib3rtymrc_users ORDER BY battlep DESC LIMIT $limit_start, $items_per_page"; echo "

"; $items = mysql_query($sql); $cou = $limit_start; echo mysql_error(); if(mysql_num_rows($items)>0) { while ($item = mysql_fetch_array($items)) { $cou++; $lnk = "$cou) $item[1] - ".getnr($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 = "Sari la pagina "; $rets .= "du-te"; $rets .= ""; $rets .= ""; $rets .= ""; $rets .= ""; $rets .= ""; echo $rets; } echo "

"; echo "

"; echo "Topuri
"; echo "Acasa
"; echo "

"; echo "
"; } # Top by DeLiGhT else if($action=="tvizite") { $shad0w = "vizite $numesite"; addonline(getuid_sid($sid),"Top $shad0w",""); echo ""; echo "

"; echo ""; echo "Top $shad0w"; echo "

"; 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; $sql = "SELECT id, name, vizite FROM lib3rtymrc_users ORDER BY vizite DESC LIMIT $limit_start, $items_per_page"; echo "

"; $items = mysql_query($sql); $cou = $limit_start; echo mysql_error(); if(mysql_num_rows($items)>0) { while ($item = mysql_fetch_array($items)) { $cou++; $lnk = "$cou) $item[1] - ".getnr($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 = "Sari la pagina "; $rets .= "du-te"; $rets .= ""; $rets .= ""; $rets .= ""; $rets .= ""; $rets .= ""; echo $rets; } echo "

"; echo "

"; echo "Topuri
"; echo "Acasa
"; echo "

"; echo "
"; } # Top by DeLiGhT else if($action=="tviziteprofil") { $shad0w = "vizite profil"; addonline(getuid_sid($sid),"Top $shad0w",""); echo ""; echo "

"; echo ""; echo "Top $shad0w"; echo "

"; 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; $sql = "SELECT id, name, viziteprofil FROM lib3rtymrc_users ORDER BY viziteprofil DESC LIMIT $limit_start, $items_per_page"; echo "

"; $items = mysql_query($sql); $cou = $limit_start; echo mysql_error(); if(mysql_num_rows($items)>0) { while ($item = mysql_fetch_array($items)) { $cou++; $lnk = "$cou) $item[1] - ".getnr($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 = "Sari la pagina "; $rets .= "du-te"; $rets .= ""; $rets .= ""; $rets .= ""; $rets .= ""; $rets .= ""; echo $rets; } echo "

"; echo "

"; echo "Topuri
"; echo "Acasa
"; echo "

"; echo "
"; } # Top by DeLiGhT else if($action=="tprimite") { $shad0w = "PM-uri primite"; addonline(getuid_sid($sid),"Top $shad0w",""); echo ""; echo "

"; echo ""; echo "Top $shad0w"; echo "

"; 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; $sql = "SELECT id, name, shad5 FROM lib3rtymrc_users ORDER BY shad5 DESC LIMIT $limit_start, $items_per_page"; echo "

"; $items = mysql_query($sql); $cou = $limit_start; echo mysql_error(); if(mysql_num_rows($items)>0) { while ($item = mysql_fetch_array($items)) { $cou++; $lnk = "$cou) $item[1] - ".getnr($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 = "Sari la pagina "; $rets .= "du-te"; $rets .= ""; $rets .= ""; $rets .= ""; $rets .= ""; $rets .= ""; echo $rets; } echo "

"; echo "

"; echo "Topuri
"; echo "Acasa
"; echo "

"; echo "
"; } # Top by DeLiGhT else if($action=="ttrimise") { $shad0w = "PM-uri trimise"; addonline(getuid_sid($sid),"Top $shad0w",""); echo ""; echo "

"; echo ""; echo "Top $shad0w"; echo "

"; 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; $sql = "SELECT id, name, shad4 FROM lib3rtymrc_users ORDER BY shad4 DESC LIMIT $limit_start, $items_per_page"; echo "

"; $items = mysql_query($sql); $cou = $limit_start; echo mysql_error(); if(mysql_num_rows($items)>0) { while ($item = mysql_fetch_array($items)) { $cou++; $lnk = "$cou) $item[1] - ".getnr($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 = "Sari la pagina "; $rets .= "du-te"; $rets .= ""; $rets .= ""; $rets .= ""; $rets .= ""; $rets .= ""; echo $rets; } echo "

"; echo "

"; echo "Topuri
"; echo "Acasa
"; echo "

"; echo "
"; } else if($action=="updatetop") { addonline(getuid_sid($sid),"Pierdut...",""); echo ""; echo "

"; echo ""; $sql = "SELECT id, name, otime, mtime, topcon FROM lib3rtymrc_users ORDER BY otime DESC LIMIT 999999999"; $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]."'"); }} echo "Top updatat cu succes

"; echo "Acasa

"; echo "

"; } else if($action=="urmariti") { addonline(getuid_sid($sid),"Lista urmariti",""); echo ""; $uid = getuid_sid($sid); echo "
"; echo "
...:::$numesite:::...
"; echo ""; echo "

"; /* $on = mysql_fetch_array(mysql_query("SELECT chefon FROM lib3rtymrc_users WHERE id='".$uid."'")); $of = mysql_fetch_array(mysql_query("SELECT chefoff FROM lib3rtymrc_users WHERE id='".$uid."'")); $on[0] = parsepm($on[0], $sid); $of[0] = parsepm($of[0], $sid); echo "Chef online:
$on[0]

"; echo "Chef offline:
$of[0]

"; echo ""; echo "Seteaza chefuri
"; */ echo "

"; //////ALL LISTS SCRIPT << $nr = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM shad_urmariti WHERE uid='".$uid."'")); if($page=="" || $page<=0)$page=1; $num_items = $nr[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 a.lastact, a.name, a.id, b.uid, b.tid, b.reqdt FROM lib3rtymrc_users a INNER JOIN shad_urmariti b ON a.id = b.tid WHERE b.uid='".$uid."' AND a.id!='".$uid."' 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 = "Actiune: "; $plc = mysql_fetch_array(mysql_query("SELECT place FROM lib3rtymrc_online WHERE userid='".$item[2]."'")); if(ismod($item[2])) { $plc[0] = "peste tot ..."; } $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 ""; echo "$lnk
"; $bs = date("d.m.y",$item[5]); echo "Urmarit din: $bs
"; echo "$uact
"; $iony = mysql_fetch_array(mysql_query("SELECT lastact FROM lib3rtymrc_users WHERE id='".$item[2]."'")); $remain = time()-$iony[0]; $idle = gettimemsg($remain); echo "De: $idle
"; $uid = getuid_sid($sid); $who = $item[2]; echo "-----
"; echo "
"; } } } echo "

"; echo "

"; if($page>1) { $ppage = $page-1; echo "«Inapoi | "; } if($page<$num_pages) { $npage = $page+1; echo "Inainte»"; } if ($num_pages==0) { echo "Nu urmariti pe nimeni.
"; }else{ echo "
$page/$num_pages
"; } if($num_pages>2) { $rets = "Sari la pagina: "; $rets .= "du-te"; $rets .= ""; $rets .= ""; $rets .= ""; $rets .= ""; $rets .= ""; echo $rets; } echo "

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

"; echo "Acasa"; echo "

$numesite
"; echo "

"; echo ""; } else if($action=="urm_echipa") { addonline(getuid_sid($sid),"Lista echipa",""); echo ""; $uid = getuid_sid($sid); echo "
"; echo "
...:::$numesite:::...
"; echo ""; echo "

"; echo "

"; //////ALL LISTS SCRIPT << $nr = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_users WHERE permxmagic>'0' AND id!='$uid'")); if($page=="" || $page<=0)$page=1; $num_items = $nr[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 lastact, name, id FROM lib3rtymrc_users WHERE permxmagic>'0' AND id!='$uid' ORDER BY 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 = "Actiune: "; $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; } $optiuni = mysql_fetch_array(mysql_query("SELECT avatar, emotii FROM shad_echipa WHERE uid='".$item[2]."'")); if ($optiuni[0]=="1"){$s_av = "A";}else{$s_av="";} if ($optiuni[1]=="1"){$s_em = "E";}else{$s_em="";} $lnk = "$iml$item[1] $s_av $s_em"; echo ""; echo "$lnk
"; echo "$uact
"; $iony = mysql_fetch_array(mysql_query("SELECT lastact FROM lib3rtymrc_users WHERE id='".$item[2]."'")); $remain = time()-$iony[0]; $idle = gettimemsg($remain); echo "De: $idle
"; $uid = getuid_sid($sid); $who = $item[2]; echo "-----
"; echo "
"; } } } echo "

"; echo "

"; if($page>1) { $ppage = $page-1; echo "«Inapoi | "; } if($page<$num_pages) { $npage = $page+1; echo "Inainte»"; } if ($num_pages==0) { echo "Nu urmariti pe nimeni.
"; }else{ echo "
$page/$num_pages
"; } if($num_pages>2) { $rets = "Sari la pagina: "; $rets .= "du-te"; $rets .= ""; $rets .= ""; $rets .= ""; $rets .= ""; $rets .= ""; echo $rets; } echo "

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

"; echo "Acasa"; echo "

$numesite
"; echo "

"; echo ""; } # CATEGORII AVATARE # (c) DeLiGhT 2oo9 else if($action=="avatar") { addonline(getuid_sid($sid),"Lista avatare","liste.php?action=$action"); echo ""; echo "
"; echo "
...:::$numesite:::...
"; echo ""; echo "

"; echo nou($sid); echo "Alege un avatar din cele $avatare[0] oferite de $numesite, foloseste propriul avatar sau foloseste o poza din galeria ta foto ca avatar.

"; echo "Seteaza avatar
"; echo "Galeria mea foto

"; echo "Categorii de avatare:
"; $shad0w = mysql_query("SELECT id, nume FROM shad_catavatare ORDER BY nume, id"); while($shaddd=mysql_fetch_array($shad0w)) { $avatare = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM shad_avatare WHERE cat='".$shaddd[0]."'")); echo "$shaddd[1] ($avatare[0])
"; } if(avatar(getuid_sid($sid))) { echo "
$iUploadeaza avatare"; } echo ""; echo "
Informatii site"; echo "
Setarile mele"; echo "
Acasa"; echo "

"; echo ""; } else if($action=="avatare") { $uid = getuid_sid($sid); $cat= $_GET["cat"]; addonline(getuid_sid($sid),"Lista avatare",""); echo ""; echo "
"; echo "
...:::$numesite:::...
"; echo ""; echo "

"; echo "Alege avatarul dorit:
"; //////ALL LISTS SCRIPT << if($page=="" || $page<=0)$page=1; $noi = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM shad_avatare WHERE cat='".$cat."' ")); $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; $sql = "SELECT id, link FROM shad_avatare WHERE cat='".$cat."' ORDER BY id DESC LIMIT $limit_start, $items_per_page"; $items = mysql_query($sql); echo mysql_error(); if(mysql_num_rows($items)>0) { while ($item = mysql_fetch_array($items)) { echo "
".imagine($item[1]).""; $folosit = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_users WHERE avatar='".$item[1]."' ")); $link2 = "http://$adresasite/wap/$item[1]"; $folosit2 = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_users WHERE avatar='".$link2."' ")); $folosit = $folosit[0]+$folosit2[0]; echo "(folosit de $folosit membri)
"; echo "seteaza ca avatar
"; echo "descarca
"; if (adavatar($uid)) { echo "sterge
"; } } } echo "
"; if($page>1) { $ppage = $page-1; echo "« inapoi | "; } if($page<$num_pages) { $npage = $page+1; echo "inainte »"; } if($num_pages>2) { echo "
"; $rets = "Sari la pagina: "; $rets .= "du-te"; $rets .= ""; $rets .= ""; $rets .= ""; $rets .= ""; $rets .= ""; $rets .= ""; echo $rets; } echo "
$page/$num_pages"; echo "

"; echo "Categorii avatare
"; echo "Informatii site
"; echo "Acasa
"; echo "

"; echo ""; } # BB CODE # (c) DeLiGhT 2010 else if($action=="bb_download") { $id = $_GET["id"]; $item = mysql_fetch_array(mysql_query("SELECT title FROM lib3rtymrc_manele WHERE id='".$id."'")); $text = "".htmlspecialchars($item[0]).""; addonline(getuid_sid($sid),"Informatii fisier","liste.php?action=$action"); echo ""; echo ""; echo " "; echo ""; echo "

"; echo "Cod link direct:

"; echo ""; echo "
Inapoi la fisier"; echo "
Acasa"; echo "

"; echo "
"; } ?>