"); 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] este inregistrat la data: $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 "
"; } if($action=="xp") { addonline(getuid_sid($sid),"Gestioneaza Monezi",""); echo ""; echo "

"; $conf = $_GET["conf"]; if($conf!=="DA"){ echo "Acorda Monezi
"; }else{ echo "Vizualizeaza Monezi
"; } echo "

"; //////ALL LISTS SCRIPT << $num_items = regmemcount(); //changable $items_per_page= 9999999999999; $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, regdate, monezi, perm FROM lib3rtymrc_users ORDER BY monezi DESC"; echo "

"; $items = mysql_query($sql); $nr = -1; if(mysql_num_rows($items)>0) { while ($item = mysql_fetch_array($items)) { if($item[4]!=='0')$stare = "E"; else $stare = "U"; $nr++; $jdt = date("d-m-y", $item[2]); if($conf !== 'DA'){ $lnk = " ($stare) $item[1] - $item[3] monezi"; echo "$item[0]. $lnk
"; }else{ $x1=mysql_fetch_array(mysql_query("SELECT incarcari FROM lib3rtymrc_users WHERE id='".$item[0]."'")); $x2 = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_topics WHERE authorid='".$item[0]."'")); $x3 = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_posts WHERE uid='".$item[0]."'")); $x4 = mysql_fetch_array(mysql_query("SELECT chmsgs FROM lib3rtymrc_users WHERE id='".$item[0]."'")); $total = $x1[0]+$x2[0]+$x3[0]+$x4[0]; if($total!=='0'){ $motiv = mysql_query("UPDATE lib3rtymrc_users SET monezi='".$total."' WHERE id='".$item[0]."'"); if($motiv){ $xx = "succes"; }else{ $xx = "eroare"; } $lnk = " ($stare) $item[1] - $xx"; } echo "$item[0]. $lnk
"; } } } echo "

"; echo "

"; echo "

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

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

"; echo "
"; } else if($action=="verifx") { echo ""; echo "

"; echo "Introdu' cuvantul sau expresia pentru a verifica daca este considerata spam:
"; echo "
"; echo "Verifica"; echo ""; echo "
"; echo "
Comenzi Proprietar
"; echo "Acasa
"; echo "

"; } else if($action=="efectx") { addonline(getuid_sid($sid),"Comenzi proprietar",""); echo ""; echo "

"; $mesaj = $_POST["mesaj"]; $uid = getuid_sid($sid); if(isblocked($mesaj,$uid)){ echo "$mesaj este considerat cuvant interzis in filtrele noastre
"; }else{ echo "$mesaj nu a fost receptat ca fiind un cuvat sau expresie ce nu trebuie sa fie folosit/a
"; echo "Daca crezi ca trebuie sa fie interzis
"; echo "
Adauga la interzise"; echo ""; echo ""; echo ""; echo ""; } echo "

"; echo "

"; echo "
Comenzi Proprietar
"; echo "Acasa
"; echo "

"; } else if($action=="mentor") { $wnick = getnick_uid($who); $who = $_GET["cine"]; addonline(getuid_sid($sid),"Lista discipoli",""); echo ""; //////ALL LISTS SCRIPT << if($page=="" || $page<=0)$page=1; $noi = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_users WHERE adusde='".$who."'")); if($noi[0]=='0') { echo "

"; echo "nu are discipoli adusi

"; $tu = getuid_sid($sid); echo "link-ul sau http://MagicWorld-Chat.Com/?pr=$who"; echo "
Inapoi"; echo "
Acasa"; echo "

"; echo "
"; echo ""; exit(); } $num_items = $noi[0]; //changable $items_per_page= 6; $num_pages = ceil($num_items/$items_per_page); if(($page>$num_pages)&&$page!=1)$page= $num_pages; $limit_start = ($page-1)*$items_per_page; echo "

"; echo "Lista Discipoli"; echo "

"; //changable sql if($num_items>0) { $sql = "SELECT id, aduscand FROM lib3rtymrc_users WHERE adusde='".$who."' ORDER BY aduscand DESC LIMIT $limit_start, $items_per_page"; echo "

"; $cou = $limit_start; $items = mysql_query($sql); echo mysql_error(); if(mysql_num_rows($items)>0) { while ($item = mysql_fetch_array($items)) { $cine=$item[0]; $cand=$item[1]; $data = date("d", $cand); $luna = date("m", $cand); $anu = date("Y", $cand); $ora = date("H:i", $cand); $prieten = getnick_uid($cine); $cou++; echo "$cou. $prieten - $data.$luna.$anu, $ora
"; } } 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 din $num_pages
"; } //echo ""; if($num_pages>2) { $rets = "pagina:"; $rets .= "[Du-te]"; $rets .= ""; $rets .= ""; $rets .= ""; $rets .= ""; $rets .= ""; $rets .= ""; echo $rets; echo "
"; } $tu = getuid_sid($sid); echo "link-ul sau http://MagicWorld-Chat.Com/?pr=$who"; echo "
Inapoi"; echo "
Acasa"; echo "

"; } } else if($action=="topdisc") { addonline(getuid_sid($sid),"Top discipoli",""); echo ""; //////ALL LISTS SCRIPT << if($page=="" || $page<=0)$page=1; $noi=mysql_fetch_array(mysql_query("SELECT COUNT(DISTINCT id) FROM lib3rtymrc_users WHERE adusicati!='0' AND id!='0'")); $num_items = $noi[0]; //changable if($noi[0]=='0') { echo "

"; echo "nu sunt mentori

"; $tu = getuid_sid($sid); echo "link-ul tau http://Echipa MagicWorld-Chat.Com/?pr=$tu/b>"; echo "
Meniu Topuri"; echo "
Acasa"; echo "

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

"; echo "Lista Mentori"; echo "

"; $items_per_page= 6; $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($num_items>0) { $sql = "SELECT id, adusicati FROM lib3rtymrc_users WHERE adusicati!='0' AND id!='0' ORDER BY adusicati DESC LIMIT $limit_start, $items_per_page"; echo "

"; $cou = $limit_start; $items = mysql_query($sql); echo mysql_error(); if(mysql_num_rows($items)>0) { while ($item = mysql_fetch_array($items)) { $cine=$item[0]; $prieten = getnick_uid($cine); $cou++; echo "$cou. $prieten - discipoli: $item[1]
"; } } echo "

"; echo "

"; if($page>1) { $ppage = $page-1; echo "«pagina anterioara
"; } if($page<$num_pages) { $npage = $page+1; echo "»pagina urmatoare"; } if($num_pages>1){ echo "
$page din $num_pages
"; } //echo ""; if($num_pages>2) { $rets = "pagina:"; $rets .= "[Du-te]"; $rets .= ""; $rets .= ""; $rets .= ""; $rets .= ""; $rets .= ""; $rets .= ""; echo $rets; echo "
"; } echo "

"; echo "

"; $tu = getuid_sid($sid); echo "
linkul tau http:// MagicWorld-Chat.Com/?pr=$tu
"; echo ""; echo "Meniu Topuri
"; echo ""; echo "Acasa"; echo "

"; echo ""; } } else if($action=="tdescm") { addonline(getuid_sid($sid),"Top melodii descarcate","lists.php?action=$action"); echo ""; echo "

"; echo "Top melodii descarcate"; echo "

"; //////ALL LISTS SCRIPT << if($page=="" || $page<=0)$page=1; $noi = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_manele WHERE descarcat!='0'")); $num_items = $noi[0]; //changable $items_per_page= 6; $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, title, descarcat, uid, pudt, cid FROM lib3rtymrc_manele WHERE descarcat!='0' ORDER BY descarcat DESC LIMIT $limit_start, $items_per_page"; echo "

"; $items = mysql_query($sql); //$cou =1; $cou = $limit_start; echo mysql_error(); if(mysql_num_rows($items)>0) { while ($item = mysql_fetch_array($items)) { $cou++; // mysql_query("UPDATE lib3rtymrc_users SET tprimite='".$cou."' WHERE id='".$item[0]."'"); $simbol = getsimbol($item[0]); $lnk = "$cou. $ime".htmlspecialchars($item[1])." descarcat de $item[2] ori"; $unick = getnick_uid($item[3]); $adresacn = "$unick"; $decinex = "$adresacn"; $resx = mysql_fetch_array(mysql_query("SELECT id, name FROM lib3rtymrc_descarcari WHERE id='".$item[5]."'")); $catlink = "din categoria $resx[1]
"; $decine = "Adaugat de: $decinex
"; echo "$lnk
$catlink $decine----
"; } } echo "

"; echo "

"; if($page>1) { $ppage = $page-1; echo "pagina anterioara
"; } if($page<$num_pages) { $npage = $page+1; echo "pagina urmatoare"; } echo "
$page din $num_pages
"; if($num_pages>2) { $rets = "pagina:"; $rets .= "[du-te]"; $rets .= ""; $rets .= ""; $rets .= ""; $rets .= ""; $rets .= ""; echo $rets; } echo "

"; echo "

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

"; echo "
"; } else if($action=="tvizite") { addonline(getuid_sid($sid),"Top vizitatori",""); echo ""; echo "

"; echo "Top Vizite"; 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, vizite FROM lib3rtymrc_users ORDER BY vizite 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] vizite: $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 .= "[Dute]"; $rets .= ""; $rets .= ""; $rets .= ""; $rets .= ""; $rets .= ""; echo $rets; } echo "

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

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

"; echo "
"; } else if($action=="tdesci") { addonline(getuid_sid($sid),"Top programe/imagini descarcate","lists.php?action=$action"); echo ""; echo "

"; echo "Top programe/imagini descarcate"; echo "

"; //////ALL LISTS SCRIPT << if($page=="" || $page<=0)$page=1; $noi = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_manele1 WHERE descarcat!='0'")); $num_items = $noi[0]; //changable $items_per_page= 6; $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, title, descarcat, uid, pudt, cid FROM lib3rtymrc_manele1 WHERE descarcat!='0' ORDER BY descarcat DESC LIMIT $limit_start, $items_per_page"; echo "

"; $items = mysql_query($sql); //$cou =1; $cou = $limit_start; echo mysql_error(); if(mysql_num_rows($items)>0) { while ($item = mysql_fetch_array($items)) { $cou++; // mysql_query("UPDATE lib3rtymrc_users SET tprimite='".$cou."' WHERE id='".$item[0]."'"); $simbol = getsimbol($item[0]); $lnk = "$cou. $ime".htmlspecialchars($item[1])." descarcat de $item[2] ori"; $unick = getnick_uid($item[3]); $adresacn = "$unick"; $decinex = "$adresacn"; $resx = mysql_fetch_array(mysql_query("SELECT id, name FROM lib3rtymrc_descarcari1 WHERE id='".$item[5]."'")); $catlink = "din categoria $resx[1]
"; $decine = "Adaugat de: $decinex
"; echo "$lnk
$catlink $decine----
"; } } echo "

"; echo "

"; if($page>1) { $ppage = $page-1; echo "pagina anterioara
"; } if($page<$num_pages) { $npage = $page+1; echo "pagina urmatoare"; } echo "
$page din $num_pages
"; if($num_pages>2) { $rets = "pagina:"; $rets .= "[du-te]"; $rets .= ""; $rets .= ""; $rets .= ""; $rets .= ""; $rets .= ""; echo $rets; } echo "

"; echo "

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

"; echo "
"; } else if($action=="tdescj") { addonline(getuid_sid($sid),"Top jocuri descarcate","lists.php?action=$action"); echo ""; echo "

"; echo "Top jocuri descarcate"; echo "

"; //////ALL LISTS SCRIPT << if($page=="" || $page<=0)$page=1; $noi = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_manele2 WHERE descarcat!='0'")); $num_items = $noi[0]; //changable $items_per_page= 6; $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, title, descarcat, uid, pudt, cid FROM lib3rtymrc_manele2 WHERE descarcat!='0' ORDER BY descarcat DESC LIMIT $limit_start, $items_per_page"; echo "

"; $items = mysql_query($sql); //$cou =1; $cou = $limit_start; echo mysql_error(); if(mysql_num_rows($items)>0) { while ($item = mysql_fetch_array($items)) { $cou++; // mysql_query("UPDATE lib3rtymrc_users SET tprimite='".$cou."' WHERE id='".$item[0]."'"); $simbol = getsimbol($item[0]); $lnk = "$cou. $ime".htmlspecialchars($item[1])." descarcat de $item[2] ori"; $unick = getnick_uid($item[3]); $adresacn = "$unick"; $decinex = "$adresacn"; $resx = mysql_fetch_array(mysql_query("SELECT id, name FROM lib3rtymrc_descarcari2 WHERE id='".$item[5]."'")); $catlink = "din categoria $resx[1]
"; $decine = "Adaugat de: $decinex
"; echo "$lnk
$catlink $decine----
"; } } echo "

"; echo "

"; if($page>1) { $ppage = $page-1; echo "pagina anterioara
"; } if($page<$num_pages) { $npage = $page+1; echo "pagina urmatoare"; } echo "
$page din $num_pages
"; if($num_pages>2) { $rets = "pagina:"; $rets .= "[du-te]"; $rets .= ""; $rets .= ""; $rets .= ""; $rets .= ""; $rets .= ""; echo $rets; } echo "

"; echo "

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

"; echo "
"; } else if($action=="tdescp") { addonline(getuid_sid($sid),"Top diverse Pc descarcate","lists.php?action=$action"); echo ""; echo "

"; echo "Top diverse PC descarcate"; echo "

"; //////ALL LISTS SCRIPT << if($page=="" || $page<=0)$page=1; $noi = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_manele3 WHERE descarcat!='0'")); $num_items = $noi[0]; //changable $items_per_page= 6; $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, title, descarcat, uid, pudt, cid FROM lib3rtymrc_manele3 WHERE descarcat!='0' ORDER BY descarcat DESC LIMIT $limit_start, $items_per_page"; echo "

"; $items = mysql_query($sql); //$cou =1; $cou = $limit_start; echo mysql_error(); if(mysql_num_rows($items)>0) { while ($item = mysql_fetch_array($items)) { $cou++; // mysql_query("UPDATE lib3rtymrc_users SET tprimite='".$cou."' WHERE id='".$item[0]."'"); $simbol = getsimbol($item[0]); $lnk = "$cou. $ime".htmlspecialchars($item[1])." descarcat de $item[2] ori"; $unick = getnick_uid($item[3]); $adresacn = "$unick"; $decinex = "$adresacn"; $resx = mysql_fetch_array(mysql_query("SELECT id, name FROM lib3rtymrc_descarcari3 WHERE id='".$item[5]."'")); $catlink = "din categoria $resx[1]
"; $decine = "Adaugat de: $decinex
"; echo "$lnk
$catlink $decine----
"; } } echo "

"; echo "

"; if($page>1) { $ppage = $page-1; echo "pagina anterioara
"; } if($page<$num_pages) { $npage = $page+1; echo "pagina urmatoare"; } echo "
$page din $num_pages
"; if($num_pages>2) { $rets = "pagina:"; $rets .= "[du-te]"; $rets .= ""; $rets .= ""; $rets .= ""; $rets .= ""; $rets .= ""; echo $rets; } echo "

"; echo "

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

"; echo "
"; } else if($action=="incarcari") { addonline(getuid_sid($sid),"Top incarcari download","lists.php?action=$action"); echo ""; echo "

"; echo "Top incarcari download"; echo "

"; //////ALL LISTS SCRIPT << if($page=="" || $page<=0)$page=1; $rmc = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_users WHERE incarcari!='0'")); $num_items = $rmc[0]; //changable $items_per_page= 6; $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, incarcari FROM lib3rtymrc_users WHERE incarcari!='0' ORDER BY incarcari DESC LIMIT $limit_start, $items_per_page"; echo "

"; $items = mysql_query($sql); //$cou =1; $cou = $limit_start; echo mysql_error(); if(mysql_num_rows($items)>0) { while ($item = mysql_fetch_array($items)) { $cou++; // mysql_query("UPDATE lib3rtymrc_users SET tprimite='".$cou."' WHERE id='".$item[0]."'"); $simbol = getsimbol($item[0]); $unick = getnick_uid($item[0]); $adresacn = "$unick"; $decinex = "$adresacn"; echo "$cou. $decinex - $item[1] incarcari
----
"; } } echo "

"; echo "

"; if($page>1) { $ppage = $page-1; echo "pagina anterioara
"; } if($page<$num_pages) { $npage = $page+1; echo "pagina urmatoare"; } echo "
$page din $num_pages
"; if($num_pages>2) { $rets = "pagina:"; $rets .= "[du-te]"; $rets .= ""; $rets .= ""; $rets .= ""; $rets .= ""; $rets .= ""; echo $rets; } echo "

"; echo "

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

"; echo "
"; } //////////////////////////////////Top sesiune else if($action=="topsesiune") { addonline(getuid_sid($sid),"Top Sesiune","lists.php?action=$action"); echo ""; echo "

"; echo "Top Sesiune"; echo "

"; //////ALL LISTS SCRIPT << if($page=="" || $page<=0)$page=1; $noi = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_users WHERE sesiunemax>'0'")); $num_items = $noi[0]; //changable $items_per_page= 6; $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, sesiunemax FROM lib3rtymrc_users WHERE sesiunemax>'0' ORDER BY sesiunemax DESC LIMIT $limit_start, $items_per_page"; echo "

"; $items = mysql_query($sql); //$cou =1; $cou = $limit_start; echo mysql_error(); if(mysql_num_rows($items)>0) { while ($item = mysql_fetch_array($items)) { $cou++; // mysql_query("UPDATE lib3rtymrc_users SET locses='".$cou."' WHERE id='".$item[0]."'"); $simbol = getsimbol($item[0]); $cat = gettimemsg($item[2]); $lnk = "Locul $cou : $simbol$item[1] Record - $cat "; echo "$lnk
"; } } echo "

"; echo "

"; if($page>1) { $ppage = $page-1; echo "pagina anterioara
"; } if($page<$num_pages) { $npage = $page+1; echo "pagina urmatoare"; } echo "
$page din $num_pages
"; if($num_pages>2) { $rets = "pagina:"; $rets .= "[du-te]"; $rets .= ""; $rets .= ""; $rets .= ""; $rets .= ""; $rets .= ""; echo $rets; } echo "

"; echo "

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

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

"; echo "Top Monede"; echo "

"; //////ALL LISTS SCRIPT << if($page=="" || $page<=0)$page=1; $noi = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_users WHERE monezi>0")); $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; $cou = $limit_start; //changable sql $sql = "SELECT id, name, monezi FROM lib3rtymrc_users WHERE monezi >'0' ORDER BY monezi 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)) { $cou++; $lnk = "$cou. $item[1] - $item[2] monezi"; 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 "

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

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

"; echo "
"; } else if($action=="tprofil") { addonline(getuid_sid($sid),"Top vizitatori profil",""); echo ""; echo "

"; echo "Top Vizite"; echo "

"; //////ALL LISTS SCRIPT << if($page=="" || $page<=0)$page=1; $num_items = regmemcount(); //changable $items_per_page= 6; $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, proviews FROM lib3rtymrc_users ORDER BY proviews 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] vizite profil: $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 .= "[Dute]"; $rets .= ""; $rets .= ""; $rets .= ""; $rets .= ""; $rets .= ""; echo $rets; } echo "

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

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

"; echo "
"; } //////////////////////////////////Top Trimise else if($action=="ttrimise") { addonline(getuid_sid($sid),"Top mesaje trimise","lists.php?action=$action"); echo ""; echo "

"; echo "Top Mesaje Trimise"; echo "

"; //////ALL LISTS SCRIPT << if($page=="" || $page<=0)$page=1; $nrxx = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_users WHERE trimise>'0'")); $num_items = $nrxx[0]; //changable $items_per_page= 6; $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, trimise FROM lib3rtymrc_users ORDER BY trimise DESC LIMIT $limit_start, $items_per_page"; echo "

"; $items = mysql_query($sql); //$cou =1; $cou = $limit_start; echo mysql_error(); if(mysql_num_rows($items)>0) { while ($item = mysql_fetch_array($items)) { $cou++; // mysql_query("UPDATE lib3rtymrc_users SET ttrimise='".$cou."' WHERE id='".$item[0]."'"); $simbol = getsimbol($item[0]); $lnk = "Locul $cou : $simbol$item[1] - $item[2] mesaje trimise"; echo "$lnk
"; } } echo "

"; echo "

"; if($page>1) { $ppage = $page-1; echo "pagina anterioara
"; } if($page<$num_pages) { $npage = $page+1; echo "pagina urmatoare"; } echo "
$page din $num_pages
"; if($num_pages>2) { $rets = "pagina:"; $rets .= "[du-te]"; $rets .= ""; $rets .= ""; $rets .= ""; $rets .= ""; $rets .= ""; echo $rets; } echo "

"; echo "

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

"; echo "
"; } //////////////////////////////////Top Trimise else if($action=="tprimite") { addonline(getuid_sid($sid),"Top mesaje Primite","lists.php?action=$action"); echo ""; echo "

"; echo "Top Mesaje Primite"; echo "

"; //////ALL LISTS SCRIPT << if($page=="" || $page<=0)$page=1; $num_items = regmemcount(); //changable $items_per_page= 6; $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, primite FROM lib3rtymrc_users ORDER BY primite DESC LIMIT $limit_start, $items_per_page"; echo "

"; $items = mysql_query($sql); //$cou =1; $cou = $limit_start; echo mysql_error(); if(mysql_num_rows($items)>0) { while ($item = mysql_fetch_array($items)) { $cou++; // mysql_query("UPDATE lib3rtymrc_users SET tprimite='".$cou."' WHERE id='".$item[0]."'"); $simbol = getsimbol($item[0]); $lnk = "Locul $cou : $simbol$item[1] - $item[2] primite"; echo "$lnk
"; } } echo "

"; echo "

"; if($page>1) { $ppage = $page-1; echo "pagina anterioara
"; } if($page<$num_pages) { $npage = $page+1; echo "pagina urmatoare"; } echo "
$page din $num_pages
"; if($num_pages>2) { $rets = "pagina:"; $rets .= "[du-te]"; $rets .= ""; $rets .= ""; $rets .= ""; $rets .= ""; $rets .= ""; echo $rets; } echo "

"; echo "

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

"; echo "
"; } //////////////////////////////////List users by IP else 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] are $item[2] postari"; 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 "
"; } else if($action=="salutarex") { $who = $_GET["who"]; $whonick = getnick_uid($who); addonline(getuid_sid($sid),"Moderare",""); $uid = getuid_sid($sid); //////ALL gallery SCRIPT << if($page=="" || $page<=0)$page=1; // $altu = mysql_fetch_array(mysql_query("SELECT who, partner FROM couple WHERE who='".$uid."' OR partner='".$uid."'")); //$noi1 = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_gallery WHERE uid='".$altu[0]."' AND cuplu='1'")); $noi = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_gallery WHERE cuplu='1'")); $noix = $noi1[0]+$noi2[0]; $num_items = $noi[0]; //changable $items_per_page= 1; $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, sex, itemurl, views, adaugat, data, marime, uid, thumb FROM lib3rtymrc_gallery WHERE cuplu='1' ORDER BY id DESC LIMIT $limit_start, $items_per_page"; echo ""; echo "

"; $items = mysql_query($sql); echo mysql_error(); if(mysql_num_rows($items)>0) { while ($item = mysql_fetch_array($items)) { // if($item[7]==$altu[0] OR $item[7]==$altu[1]){ $id = $item[0]; $img = $item[2]; $adaugat = $item[4]; $data = date("d/m/Y",$item[5]); $uid = $item[7]; $pozica=htmlspecialchars(stripslashes(trim(str_replace('$','$$',$item[8])))); $lnk = "\"*\"/
"; $me = getuid_sid($sid); if(candelgal($uid, $item[0])) { $delnk = "Sterge poza"; }else{ $delnk = ""; } $sql = mysql_query("SELECT * FROM fun_gallery WHERE id = '$id' "); // echo "link direct :
[poza=$item[0]]galerie[/poza]

"; if($item[3]==1){ $viz = "Vizualizata o data"; }else if($item[3]>1){ $viz = "Vizualizata de $item[3] ori"; } echo "$viz
"; //echo "$rating"; echo "$lnk"; $nick = getnick_uid($uid); $caca=htmlspecialchars(stripslashes(trim(str_replace('$','$$',$nick)))); echo "adaugata de $caca
"; $pozica=htmlspecialchars(stripslashes(trim(str_replace('$','$$',$img)))); echo "Descarca poza
"; // echo "$use"; echo "$delnk
"; $me = getuid_sid($sid); } } // } $whonick = getnick_uid($who); if(isonline($who)) { $iml = "\"+\"/conectat"; }else{ $iml = "\"-\"/deconectat"; } if($page>1) { $ppage = $page-1; echo "«inapoi"; } if($page<$num_pages) { $npage = $page+1; echo "
»inainte
"; } if($num_pages>1){ echo "
Pagina $page din $num_pages
"; } if($num_pages>2) { $rets = "pagina

"; $rets .= "[Du-te]"; $rets .= ""; $rets .= ""; //$rets .= ""; $rets .= ""; $rets .= ""; $rets .= ""; echo $rets; } //echo "

"; echo "

"; echo"-------
"; echo ""; echo "Stare Civila
"; echo ""; echo "Acasa
"; 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 MagicWorld-Chat.Com 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 /* /////////////////////////////////////////////////////////////////////// // WAPNEW.INFO bY I0nwTZz // /////////////////////////////////////////////////////////////////////// */ 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 "
"; } /////////////////////////////////////////////////////////////////////// // WAPNEW.INFO bY I0nwTZz // /////////////////////////////////////////////////////////////////////// //////////////////////////////////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 "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 "Statistici site
"; echo "\"*\"/"; echo "Prim"; echo "

"; echo "
"; } //////////////////////////////////Smilies :) else if($action=="smilies") { addonline(getuid_sid($sid),"Lista emotii",""); echo ""; $categoria = $_GET["categoria"]; $confirma = $_GET["confirma"]; if($categoria=="0"||$categoria=="1"||$categoria=="2"||$categoria=="3"||$categoria=="4"||$categoria=="5"||$categoria=="6"||$categoria=="7"){ $categoriax = $_GET["categoria"]; }else{ $categoriax = 0; } //////ALL LISTS SCRIPT << echo "

"; if($categoria==5 && $confirma!="da"){ echo "Ai accesat o categorie cu emotii adult! Daca ai mai putin de 18 ani te rog sa te intorci inapoi
"; echo "Folosirea emotiilor tip adult pe live, forum, camere de chat este strict interzista!
"; echo "Orice abatere de la regulament va fi pedepsita
"; echo "Da, merg mai departe
"; echo "Nu, ma voi intoarce inapoi

"; echo "Acasa"; echo "

"; echo "
"; echo ""; exit(); } echo "Lista Emotii

"; echo "

"; if($page=="" || $page<=0)$page=1; $noi = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_smilies WHERE categ='".$categoriax."'")); $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 WHERE categ='".$categoriax."' 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] devine "; echo "\"$item[1]\"/ $delsl
"; } }else{ echo "

Aceasta categorie este goala

"; } 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 din $num_pages
"; } if($num_pages>2) { $rets = "pagina"; $rets .= "[Du-te]"; $rets .= ""; $rets .= ""; $rets .= ""; $rets .= ""; $rets .= ""; $rets .= ""; $rets .= ""; echo $rets; } echo "

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

"; echo ""; echo "Categorii Emotii
"; echo ""; echo "Acasa"; echo "

"; echo ""; } else if($action=="emocateg") { addonline(getuid_sid($sid),"Categorii Emotii",""); echo ""; echo "

"; echo "Categorii Emotii
"; echo ""; echo "Cauta Emotie

"; $noi = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_smilies WHERE categ='0'")); echo ""; echo "Diverse ($noi[0])
"; $noi = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_smilies WHERE categ='1'")); echo ""; echo "Dragoste ($noi[0])
"; $noi = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_smilies WHERE categ='2'")); echo ""; echo "Animale ($noi[0])
"; $noi = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_smilies WHERE categ='3'")); echo ""; echo "Saluturi ($noi[0])
"; $noi = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_smilies WHERE categ='4'")); echo ""; echo "Triste ($noi[0])
"; $noi = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_smilies WHERE categ='5'")); echo ""; echo "+18 ($noi[0])
"; $noi = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_smilies WHERE categ='6'")); echo ""; echo "Personale ($noi[0])
"; $noi = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_smilies WHERE categ='7'")); echo ""; echo "Avatare ($noi[0])

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

"; echo "
"; } else if($action=="cautae") { $tip = $_GET["tip"]; addonline(getuid_sid($sid),"Categorii Emotii",""); echo ""; echo "

"; echo "Cauta Emotii
"; echo "
"; echo "Cauta"; echo ""; echo ""; echo ""; //echo ""; echo "

"; echo ""; echo "Inapoi
"; echo ""; echo "Acasa"; echo "

"; echo "
"; } else if($action=="cautaemotie") { $stext = $_POST["stext"]; $sin = $_POST["sin"]; $sor = 1; addonline(getuid_sid($sid),"Meniu cautare membri",""); echo ""; echo "

"; echo "Rezultate Cautare

"; echo "

"; echo "

"; if(trim($stext)=="") { echo "
Cautare esuata"; }else{ //begin search if($page=="" || $page<1)$page=1; $where_table = "lib3rtymrc_smilies"; $cond = "scode"; $select_fields = "id, scode, imgsrc"; if($sor=="1") { $ord_fields = "scode"; }else if($sor=="2"){ $ord_fields = "lastact DESC"; }else if($sor=="3"){ $ord_fields = "regdate"; } $noi = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM ".$where_table." WHERE ".$cond." LIKE '%".$stext."%'")); $num_items = $noi[0]; $items_per_page = 6; $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 ".$select_fields." FROM ".$where_table." WHERE ".$cond." LIKE '%".$stext."%' ORDER BY ".$ord_fields." LIMIT $limit_start, $items_per_page"; $items = mysql_query($sql); while($item=mysql_fetch_array($items)) { if(isowner1(getuid_sid($sid))) { $delsl = "[x]"; }else{ $delsl = ""; } echo "$item[1] » "; echo "\"$item[1]\"/ $delsl
"; echo "-----
"; } echo "

"; echo "

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

"; } //echo "

"; echo "

"; echo ""; echo "Inapoi
"; echo ""; echo "Categorii Emotii
"; echo ""; echo "Acasa"; 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 "Lista amicilor tai
"; // echo "
"; echo parsemsg(getbudmsg($uid), $sid); echo "
"; echo "status
"; 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, b.comment1, b.comment2 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 = ""; $plc = mysql_fetch_array(mysql_query("SELECT place FROM lib3rtymrc_online WHERE userid='".$item[2]."'")); $uact .= $plc[0]; }else{ $iml = "\"-\"/"; $regd = mysql_fetch_array(mysql_query("SELECT regdate, lastvst, lastact FROM lib3rtymrc_users WHERE id='".$item[2]."'")); $sage = time()-$regd[2]; $rwage = gettimemsg($sage); $lastact = time()-$regd[2]; $cand = gettimemsg($lastact); $uact = "\"-\"/ de $cand"; } $lnk = "$iml".getsimbol($item[2])."$item[1]"; echo "$lnk
Actiune: $uact
"; // echo " - PM | "; // echo "Alerta
"; echo ""; $bs = date("d m y-H:i",$item[5]); echo "Prieten din: $bs
"; //echo "
"; echo "Statut: "; $bmsg = parsemsg(getbudmsg($item[2]), $sid); $emotii = substr_count($bmsg,"Acest status contie mai mult de o emotie
"; }else if($emotii<2&&!empty($bmsg)){ $msj = $bmsg; }else{ $msj = "nesetat"; } echo "$msj
"; echo "
"; // comment // if (isset($_GET['add']) && $_GET['add'] == '1' && $_GET['who'] == $item[2]) { echo "descriere-: $comment"; echo "
"; echo "Descriere: "; echo " Adauga"; echo ""; echo ""; echo ""; echo ""; echo "
"; } else if (!isset($_GET['add']) && $_GET['add'] !== '1'){ //echo "
"; $comment = ($uid == $item['uid'] ? $item['comment1'] : $item['comment2']); echo "descriere+: $comment"; echo "
"; // echo "
"; } echo "------
"; } } } 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 din $num_pages
"; } if($num_pages>2) { $rets = "pagina"; $rets .= "[Du-te]"; $rets .= ""; $rets .= ""; $rets .= ""; $rets .= ""; $rets .= ""; echo $rets; } echo "

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

"; echo ""; echo "Cereri Trimise
"; echo ""; echo "Lista Ignorati
"; echo ""; echo "Acasa"; echo "

"; echo ""; } else if($action=="certrm") { addonline(getuid_sid($sid),"Lista cereri trimise",""); echo ""; echo "

"; echo "Lista cererilor de prietenie trimise de tine si inca neacceptate
"; $uid = getuid_sid($sid); $reqs = getnreqs($uid); echo "

"; if($page=="" || $page<=0)$page=1; $nor = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_buddies WHERE uid='".$uid."' AND agreed='0'")); $num_items = $nor[0]; //changable $items_per_page= 6; $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 tid FROM lib3rtymrc_buddies WHERE uid='".$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]); if(isonline($item[0])){ $on = "\".\"/"; }else{ $on = "\".\"/"; } $lnk = "$on$rnick [Retrage]"; echo "$lnk
"; //echo "------
"; } } echo "

"; echo "

"; if($page>1) { $ppage = $page-1; echo "«Inapoi"; } if($page<$num_pages) { $npage = $page+1; echo "Inainte»"; } echo "
$page din $num_pages
"; if($num_pages>2) { $rets = "pagina"; $rets .= "du-te"; $rets .= ""; $rets .= ""; $rets .= ""; $rets .= ""; $rets .= ""; echo $rets; } echo "

"; ////////pana aici echo "

"; echo ""; echo "Lista Amici
"; echo ""; echo "Acasa"; echo "

"; echo "
"; } else if($action=="budscomm") { addonline(getuid_sid($sid),"Adauga descriere unui prieten",""); echo ""; $uid = getuid_sid($sid); $text = $_POST['text']; $u = $_POST['uid']; $t = $_POST['tid']; $comment = ($uid == $u ? 'comment1' : 'comment2'); $res = mysql_query("UPDATE lib3rtymrc_buddies SET $comment='". $text ."' WHERE uid=$u AND tid=$t"); echo "

"; if ($res) echo "\"O\"/ Descriere adaugata cu succes!"; else echo "\"O\"/ Eroare in baza de date!"; echo "

"; echo "Inapoi
"; echo "\"*\"/Prima pagina"; 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 $limit_start, $items_per_page"; 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 $numesite $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),"Coduri formatare",""); echo ""; echo "

"; echo "Coduri Formatare"; 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 "-----
"; echo "[nr=333]credit[/nr]: credit
"; // echo "Inlocuieste 333 cu orice alt numar de telefon, si inlocuieste credit cu ce cuvant vrei tu

"; echo "-----
"; echo "[site=http://$sitte]$numesite[/site]: $numesite
"; // echo "Inlocuieste http://$sitte cu orice alt link, si inlocuieste $numesite cu ce cuvant vrei tu

"; echo "-----
"; echo "[topic=692]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 "[forum=63]Nume Forum[/forum]: Nume Forum
"; echo "-----
"; echo "[user=1]Ionut[/user]: Ionut
"; echo "-----
"; echo "[download=1247]Nume download[/download]: Nume download
"; echo "-----
"; echo "[dedicatie=1]Nume dedicatie[/dedicatie]: Nume dedicatie
"; echo "

"; echo "

"; echo ""; echo "Acasa"; 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 $sitte",""); echo ""; echo "

"; echo "\"*\"/
"; echo "Echipa $sitte
"; $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"; if ($item[0] != 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=="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 "
"; } /////////////////////////////////////// 10 viewers else if($action=="10pv") { addonline(getuid_sid($sid),"ultimi 10 vizitatori",""); if($who==""||$who==0) { $mnick = $_POST["mnick"]; $who = getuid_nick($mnick); } $whonick = getnick_uid($who); echo ""; echo "

"; $sql= mysql_query("SELECT lastview,ltime FROM lastview WHERE whonick='".$whonick."'ORDER BY ltime DESC LIMIT 10"); while($row = mysql_fetch_array($sql)) { $a = getuid_nick($row[0]); echo "profil vizualizat de
"; echo "$row[0]/"; $newtime =$row[1]+(0 *60 *60); echo " ".date("d-m-y - h:i a",$newtime)."
"; echo "-------
"; } $a = getuid_nick($whonick); echo "Inapoi
"; echo ""; echo "Acasa
"; echo "

"; echo "
"; } #####################################asta bagi in lists.php else if($action=="voturi") { addonline(getuid_sid($sid),"Fata zilei wap version",""); echo ""; echo "

"; echo "Fetele care au primit azi cele mai multe voturi!

"; echo "

"; //////ALL LISTS SCRIPT << #echo "
$test[0] $test1[0]
"; if($page=="" || $page<=0)$page=1; $noi = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_users WHERE fatazilei>'0'")); //changable $num_items = $noi[0]; $items_per_page= 9999; $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,fatazilei FROM lib3rtymrc_users WHERE fatazilei>'0' ORDER BY fatazilei 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)) { $poop = $item[1]; $whonick = getnick_uid($item[0]); $lnk = "$whonick"; echo "$lnk - $poop voturi primite
"; } } 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 .= "[sari]"; $rets .= ""; $rets .= ""; $rets .= ""; $rets .= ""; $rets .= ""; $rets .= ""; echo $rets; } echo "

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

"; $acasa= $_GET["acasa"]; if($acasa!=='1'){ //echo ""; //echo "Statistici
"; } echo ""; echo "acasa"; echo "

"; echo "
"; } ///// ?>

Disneyland 1972 Love the old s