";
echo "Nu esti autentificat
";
echo "Sau sesiunea ta a expirat
";
echo "Autentificare";
echo "
";
echo "
";
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 "Ordoneaza dupa nume
";
echo "Ordoneaza dupa inregistrare
";
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 "
";
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 .= "
";
echo "";
echo "Statistici site
";
echo "";
echo "Prim";
echo "
";
$conf = $_GET["conf"];
if($conf!=="DA"){
echo "Acorda Monezi
";
}else{
echo "Vizualizeaza Monezi
";
}
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 "
"; ////// UNTILL HERE >> echo ""; echo ""; echo "Acasa"; echo "
"; echo "";
echo "Introdu' cuvantul sau expresia pentru a verifica daca este considerata spam:
";
echo "
";
echo "
";
echo "
Comenzi Proprietar
";
echo "Acasa
";
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 "
";
echo "
Comenzi Proprietar
";
echo "Acasa
";
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 "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 "
";
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 .= "
";
}
$tu = getuid_sid($sid);
echo "link-ul sau http://MagicWorld-Chat.Com/?pr=$who";
echo "
Inapoi";
echo "
Acasa";
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 "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 "
";
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 .= "
";
}
echo "
";
$tu = getuid_sid($sid);
echo "
linkul tau http:// MagicWorld-Chat.Com/?pr=$tu
";
echo "";
echo "Meniu Topuri
";
echo "";
echo "Acasa";
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 "
";
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 .= "
";
echo "";
echo "Meniu Topuri
";
echo "";
echo "Acasa";
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 "
";
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 .= "
";
echo "";
echo "Meniu Topuri
";
echo "";
echo "Acasa";
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 "
";
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 .= "
";
echo "";
echo "Meniu Topuri
";
echo "";
echo "Acasa";
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 "
";
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 .= "
";
echo "";
echo "Meniu Topuri
";
echo "";
echo "Acasa";
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 "
";
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 .= "
";
echo "";
echo "Meniu Topuri
";
echo "";
echo "Acasa";
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 "
";
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 .= "
";
echo "";
echo "Meniu Topuri
";
echo "";
echo "Acasa";
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 "
";
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 .= "
";
echo "";
echo "Meniu Topuri
";
echo "";
echo "Acasa";
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 "
";
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 .= "
";
echo "";
echo "Meniu Topuri
";
echo "";
echo "Acasa";
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 "
";
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 .= "
";
echo "";
echo "Meniu Topuri
";
echo "";
echo "Acasa";
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 "
";
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 .= "
";
echo "";
echo "Meniu Topuri
";
echo "";
echo "Acasa";
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 "
";
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 .= "
";
echo "";
echo "Meniu Topuri
";
echo "";
echo "Acasa";
echo "
";
$items = mysql_query($sql);
if(mysql_num_rows($items)>0)
{
while ($item = mysql_fetch_array($items))
{
$lnk = "»$item[1]";
echo "$lnk
";
}
}
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 .= "
"; echo "Nu pot vedea aceasta lista"; echo "
"; } ////// UNTILL HERE >> echo ""; echo ""; echo "Prim"; 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 "
";
$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 "
";
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 .= "
";
echo "";
echo "Statistici site
";
echo "";
echo "Prim";
echo "
";
echo "Maximum number of users was online in the last 10 Days
";
echo "";
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 "
";
echo "";
echo "Statistici
";
echo "";
echo "Prim";
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 .= "
";
echo"-------
";
echo "";
echo "Stare Civila
";
echo "";
echo "Acasa
";
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 "
";
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 .= "
";
echo "";
echo "Statistici site
";
echo "";
echo "Prim";
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 "
";
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 .= "
";
echo "";
echo "Statistici
";
echo "";
echo "Prim";
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 "
";
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 .= "
";
echo "";
echo "Statistici
";
echo "";
echo "Prim";
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 "
";
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 .= "
";
echo "";
echo "Statistici
";
echo "";
echo "Prim";
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 "
";
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 .= "
";
echo "";
echo "Statistici
";
echo "";
echo "Prim";
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 "
";
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 .= "
";
echo "";
echo "Statistici
";
echo "";
echo "Prim";
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 "
";
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 .= "
";
echo "";
echo "Statistici
";
echo "";
echo "Prim";
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 "
";
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 .= "
";
echo "";
echo "Statistici
";
echo "";
echo "Prim";
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 "
";
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 .= "
";
echo "";
echo "Statistici
";
echo "";
echo "Prim";
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 "
";
$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 "
";
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 .= "
"; echo ""; echo "Prim"; 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 "
Ai fost aruncat la gunoi nu poti Trimite alerte!enjoy...";
}else{
echo "Trimite Alerta la ".$whonick."
";
echo "
";
echo "
";
}
}
echo "
-----
Prim
";
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 "
";
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 .= "
";
$whonick = getnick_uid($who);
echo "-----
";
echo "«Meniu cluburi
";
echo "«";
echo "Prim";
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 "
";
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 .= "
";
$whonick = getnick_uid($who);
echo "-----
";
echo "«Meniu cluburi
";
echo "«";
echo "Prim";
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 "
";
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 .= "
";
echo "-----
";
echo "«Meniu cluburi
";
echo "«";
echo "Prim";
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 "
";
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 .= "
";
echo "-----
";
echo "«Meniu cluburi
";
echo "«";
echo "Prim";
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 "
";
echo "-----
";
echo "«Meniu cluburi
";
echo "«";
echo "Prim";
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 "
";
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 .= "
"; echo ""; echo "Home"; echo "
"; 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 "
";
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 .= "
";
if($cow[0]==$uid)
{
$dlan = "Anunta!
";
echo $dlan;
}
echo "";
echo "Inapoi la club
";
echo "";
echo "Prim";
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 "
";
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 .= "
Accepta pe toti, ";
echo "Refuza pe toti";
echo "
Acest club nu este al tau
"; } ////// UNTILL HERE >> echo "";
echo "";
echo "Inapoi la club
";
echo "";
echo "Prim";
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 "
";
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 .= "
";
echo "";
echo "Inapoi la club
";
echo "";
echo "Prim";
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 "
";
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 .= "
";
$unick = getnick_uid($who);
echo "";
echo "$unick Profil
";
echo "";
echo "Prim";
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 "
";
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 .= "
";
$unick = getnick_uid($who);
echo "";
echo "Profil $unick
";
echo "";
echo "Prim";
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 "
";
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 .= "
";
echo "";
echo "Statistici site
";
echo "";
echo "Prim";
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 "
";
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 .= "
";
echo "";
echo "Statistici site
";
echo "";
echo "Prim";
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 "
";
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 .= "
";
echo "";
echo "Statistici site
";
echo "";
echo "Prim";
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 "
";
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 .= "
";
echo "";
echo "Site Stats
";
echo "";
echo "Prim";
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 "
";
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 .= "
";
echo "";
echo "Statistici site
";
echo "";
echo "Prim";
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 "
";
$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 " $delsl
";
}
}else{
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 .= "
";
echo "";
echo "Categorii Emotii
";
echo "";
echo "Acasa";
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 "Cauta Emotii
";
echo "
";
echo "
";
echo "";
echo "Inapoi
";
echo "";
echo "Acasa";
echo "
";
echo "Rezultate Cautare
";
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 " $delsl
";
echo "-----
";
}
echo "
";
if($page>1)
{
$ppage = $page-1;
$rets = "
$page/$num_pages
";
if($num_pages>2)
{
$rets = "pagina";
$rets .= "
";
echo "";
echo "Inapoi
";
echo "";
echo "Categorii Emotii
";
echo "";
echo "Acasa";
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[2]
";
}
}
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 .= "
";
//echo "";
//echo "CPanel
";
echo "";
echo "Prim";
echo "
";
$items = mysql_query($sql);
echo mysql_error();
if(mysql_num_rows($items)>0)
{
while ($item = mysql_fetch_array($items))
{
echo "
";
echo "»selecteaza«
";
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 .= "
";
// echo "";
//echo "CPanel
";
echo "";
echo "Prim";
echo "
";
echo "Lista amicilor tai
";
// echo "
";
echo parsemsg(getbudmsg($uid), $sid);
echo "
";
echo "status
";
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 "
";
}
else if (!isset($_GET['add']) && $_GET['add'] !== '1'){
//echo "
";
$comment = ($uid == $item['uid'] ? $item['comment1'] : $item['comment2']);
echo "descriere+: $comment";
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 .= "
";
echo "";
echo "Cereri Trimise
";
echo "";
echo "Lista Ignorati
";
echo "";
echo "Acasa";
echo "
";
echo "Lista cererilor de prietenie trimise de tine si inca neacceptate
";
$uid = getuid_sid($sid);
$reqs = getnreqs($uid);
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 "
";
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 .= "
";
echo "";
echo "Lista Amici
";
echo "";
echo "Acasa";
echo "
";
if ($res)
echo " Descriere adaugata cu succes!";
else
echo " Eroare in baza de date!";
echo "
";
echo "Inapoi
";
echo "Prima pagina";
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 "
";
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 .= "
";
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 "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 "
";
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 .= "
";
//echo "";
//echo "CPanel
";
echo "";
echo "Prim";
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 "
";
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 .= "
";
if($who==$uid)
{
echo "";
echo "Adauga jurnal
";
echo "";
echo "CPanel
";
}
echo "";
echo "Toate jurnalele
";
echo "";
echo "Prim";
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 "
";
$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 "
";
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 .= "
";
echo "";
echo "Statistici site
";
echo "";
echo "Prim";
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 "
";
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 .= "
";
echo "";
echo "Statistici site
";
echo "";
echo "Prim";
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 "
";
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 .= "
";
echo "";
echo "Statistici site
";
echo "";
echo "Prim";
echo "
";
echo "Cei mai activi useri
";
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 "
";
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 .= "
";
echo "";
echo "Statistici
";
echo "";
echo "Prim";
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]:
";
//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 "Acasa"; 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 "
";
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 .= "
"; echo ""; echo "Prim"; 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 "
";
$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 "
";
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 .= "
";
echo "";
echo "Statistici site
";
echo "";
echo "Prim";
echo "
";
echo "
";
echo "Lista proprietari
";
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 "
";
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 .= "
";
echo "";
echo "Statistici site
";
echo "";
echo "Prim";
echo "
";
echo "
";
echo "Lista Admini sefi
";
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 "
";
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 .= "
";
echo "";
echo "Statistici site
";
echo "";
echo "Prim";
echo "
";
echo "
";
echo "Lista admini
";
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 "
";
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 .= "
";
echo "";
echo "Statistici site
";
echo "";
echo "Prim";
echo "
";
echo "Organizatori Quizz
";
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 "
";
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 .= "
";
echo "";
echo "Statistici site
";
echo "";
echo "Prim";
echo "
";
echo "
";
echo "Lista moderatori
";
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 "
";
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 .= "
";
echo "";
echo "Statistici site
";
echo "";
echo "Prim";
echo "
";
echo "Top Posteri saptamana asta
Va multumim pentru activitatea voastra in ultimile 7 zile!";
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 "
";
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 .= "
";
echo "";
echo "Statistici site
";
echo "";
echo "Prim";
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 "
";
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 .= "
";
echo "";
echo "Statistici site
";
echo "";
echo "Prim";
echo "
";
echo "
";
echo "Barbati";
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 "
";
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 .= "
";
echo "";
echo "Statistici site
";
echo "";
echo "Prim";
echo "
";
echo "
";
echo "Femei";
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 "
";
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 .= "
";
echo "";
echo "Statistici site
";
echo "";
echo "Prim";
echo "
";
//echo "
";
echo "
";
echo "La multi ani:!:";
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 "
";
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 .= "
";
echo "";
echo "Statistici site
";
echo "";
echo "Prim";
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 "
";
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 .= "
";
echo "";
echo "Statistici site
";
echo "";
echo "Prim";
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 "Fetele care au primit azi cele mai multe voturi!
";
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 "
";
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 .= "
";
$acasa= $_GET["acasa"];
if($acasa!=='1'){
//echo "";
//echo "Statistici
";
}
echo "";
echo "acasa";
echo "