Teya Salat
"); echo ""; ?> "; echo "

"; echo "\"*\"/
"; echo "Eroare, nu se poate conecta la baza d date!

"; echo "Aceasta eroare apare de obicei cand care serverul isi va reveni in cateva secunde!Daca problema persista va rugam sa luati legatura cat mai curand posibil cu Aud Culori

"; //echo "Soon, we will offer services that doesn't depend on MySQL databse to let you enjoy our site, while the database is not connected
"; echo "Va multumim foarte mult pentru intelegere!"; echo "

"; echo ""; echo "
"; exit(); } $brws = explode(" / ",$HTTP_USER_AGENT); $ubr = $brws[0]; $uip = getip(); $action = $_GET["action"]; $sid = $_GET["sid"]; $page = $_GET["page"]; $who = $_GET["who"]; $uid = getuid_sid($sid); cleardata(); if(isipbanned($uip,$ubr)) { if(!isshield(getuid_sid($sid))) { echo ""; echo "

"; echo "\"x\"/
"; echo "Acest IP este blocat!
"; echo "
"; echo "Acest browser a fost banat!Daca ai scutul actiat incearca sa te loghezi!

"; $banto = mysql_fetch_array(mysql_query("SELECT timeto FROM lib3rtymrc_penalties WHERE penalty='2' AND ipadd='".$uip."' AND browserm='".$ubr."' LIMIT 1 ")); //echo mysql_error(); $remain = $banto[0] - time(); $rmsg = gettimemsg($remain); echo "Timp ramas pana la debanarea IP-ului: $rmsg

"; echo "

"; echo "

"; echo "Numele:
"; echo "Parola:
"; echo "Autentificare"; echo ""; echo ""; echo ""; echo "

"; echo "
"; echo ""; exit(); } } if(($action != "") && ($action!="live")) { $uid = getuid_sid($sid); if((islogged($sid)==FALSE)||($uid==0)) { echo ""; echo "

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

"; echo "»Autentificare«"; echo "

"; echo "
"; echo ""; exit(); } } //echo isbanned($uid); 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(); } $res = mysql_query("UPDATE lib3rtymrc_users SET browserm='".$ubr."', ipadd='".$uip."' WHERE id='".getuid_sid($sid)."'"); ///////////////////////////////////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."'"); } /// ////////////////////////////////////////////////////// Useri Online if($action=="online") { addonline(getuid_sid($sid),"Lista conectati","conectati.php?action=$action"); echo ""; //////ALL LISTS SCRIPT << if($page=="" || $page<=0)$page=1; $num_items = getnumonline(); //changable $items_per_page= 17; $num_pages = ceil($num_items/$items_per_page); if($page>$num_pages)$page= $num_pages; $limit_start = ($page-1)*$items_per_page; //changable sql $sql = "SELECT a.name, a.hidden, 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"; echo "

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

"; echo "
"; echo ""; exit(); } //////////////////////////////////// echo "\"x\"/Sesiune Online: 3 ore
"; $mols = mysql_fetch_array(mysql_query("SELECT ppl, dtm FROM lib3rtymrc_mpot WHERE ddt='".date("d m y")."'")); echo "\"x\"/Top Conectati Azi: $mols[0]
"; $tm24 = time() - (24*60*60); $aut = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_users WHERE lastact>'".$tm24."'")); echo mysql_error(); echo "\"x\"/Membri Activi Azi: $aut[0]
"; echo "-----
"; ///////////////////////////////// echo ""; $unreadinbox=mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_private WHERE unread='1' AND touid='".$uid."'")); $pmtotl=mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_private WHERE touid='".$uid."'")); $unrd="[".$unreadinbox[0]."]"; if ($unreadinbox[0]>0) { echo "Ai:$unrdPMs
-----
"; } $items = mysql_query($sql); echo mysql_error(); while ($item = mysql_fetch_array($items)) if($uid!=$item[2]) { { if($item[1]>0) { $who = $item[3]; // $nopl = mysql_fetch_array(mysql_query("SELECT sex FROM lib3rtymrc_users WHERE id='".$item[3]."'")); $uage = getage($nopl[1]); if($nopl[0]=='M') { $usex = "\"*\"/B"; }else if($nopl[0]=='F'){ $usex = "\"*\"/F"; }else{ $usex = "\"?\"/"; } $nopl[2] = htmlspecialchars($nopl[2]); // $avlink = getavatar($item[3]); $lnk = "".getsimbol($item[3])."$item[0]- ".getstatus($item[3]).""; echo "»$usex-$lnk-pm-
»"; $sml = mysql_fetch_array(mysql_query("SELECT chef FROM lib3rtymrc_users WHERE id='".$item[3]."'")); if($sml[0]=="1") { echo " $item[2]"; }else{ $bmsg = parsemsg(getbudmsg($item[3]), $sid); echo "Statut:"; echo "$bmsg"; } ////////////////////// nici o actiune de.... $regd = mysql_fetch_array(mysql_query("SELECT regdate, lastvst, lastact FROM lib3rtymrc_users WHERE id='".$who."'")); $sage = time()-$regd[2]; $rwage = gettimemsg($sage); $lastact = time()-$regd[2]; $days=0; $mins=0; $hours=0; if ($lastact>60) { $secs=$lastact%60; $mins=$lastact/60; $mins=(integer)$mins; } if ($mins>60) { $hours=$mins/60; $hours=(integer)$hours; $mins=$mins%60; } if ($hours>24) { $days=$hours/24; $days=(integer)$days; $hours=$hours%24; } echo "
"; //echo "
\"*\"/Idle: "; if($days>0) { //echo "$days zile, $hours ore, $mins minute, $secs secunde"; } if($days<1) { if($hours>0) { //echo "$hours ore, $mins minute, $secs secunde"; } if($hours<1) { //echo "$mins minute, $secs secunde"; }} //echo "
-----
"; }else{ } } } echo "

"; echo "

"; if($page>1) { $ppage = $page-1; echo "«pagina anterioara
"; } if($page<$num_pages) { $npage = $page+1; echo "»pagina urmatoare"; echo ""; } echo "
$page/$num_pages
"; if($num_pages>2) { echo getjumper($action, $sid,"conectati"); } echo "

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

"; echo "\"*\"/"; echo "Prim"; include("syr.php"); echo "

"; echo ""; } ////////////////////////////////////////////////////////////////////Echipa Lib3rty else if($action=="echipa") { addonline(getuid_sid($sid),"Echipa $numesite conectati","conectati.php?action=$action"); echo ""; echo "Echipa $numesite"; // echo ""; echo ""; echo ""; //////ALL LISTS SCRIPT << if($page=="" || $page<=0)$page=1; $timeout = 120; $timeon = time()-$timeout; $noi = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_users WHERE permxmagic>'0' AND lastact>'".$timeon."'")); $num_items = $noi[0]; //changable $items_per_page= 20; $num_pages = ceil($num_items/$items_per_page); if($page>$num_pages)$page= $num_pages; $limit_start = ($page-1)*$items_per_page; if($limit_start<0)$limit_start=0; //changable sql if($page=="" || $page<=0)$page=1; $timeout = 180; $timeon = time()-$timeout; $noi = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_users WHERE permxmagic>'0' AND lastact>'".$timeon."'")); $num_items = $noi[0]; //changable $items_per_page= 50; $num_pages = ceil($num_items/$items_per_page); if($page>$num_pages)$page= $num_pages; $limit_start = ($page-1)*$items_per_page; if($limit_start<0)$limit_start=0; //changable sql $sql = " SELECT name, permxmagic, hidden, id, functie FROM lib3rtymrc_users WHERE permxmagic>'0' and lastact>'".$timeon."' LIMIT $limit_start, $items_per_page "; echo "

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

"; echo ""; echo ""; exit(); } ////////////////////////////////////// echo"
"; echo "
Conectati ".getnumonline()." | "; $timeout = 220; $timeon = time()-$timeout; $noi = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_users WHERE permxmagic>'0' AND lastact>'".$timeon."'")); echo "".$noi[0]."
"; /////////////////////// //echo "Membri:$onu| Echipa:".$noi[0]." "; echo "Nu trimite mesaj membrilor echipei daca ai nevoie de ajutor!
"; echo "Orice problema se rezolva aici!
"; echo "Ca sa trimiti mesaj echipei deschide un "; echo "tichet nou!
"; echo"
"; echo ""; $unreadinbox=mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_private WHERE unread='1' AND touid='".$uid."'")); $pmtotl=mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_private WHERE touid='".$uid."'")); $unrd="[".$unreadinbox[0]."]"; if ($unreadinbox[0]>0) { echo "Ai:$unrdPMs
-----
"; } $items = mysql_query($sql); echo mysql_error(); while ($item = mysql_fetch_array($items)) { if($item[2]>0) { $lnk = "»".getsimbol($item[3])."$item[0]"; // if($item[1]==1) // { // $item[1] = "Moderator"; // }else if($item[1]==2) // { // $item[1] = "Administrator"; // }else if($item[1]==3) // { // $item[1] = "Admin Sef"; // }else if($item[1]==4) // { // $item[1] = "\"*\"/Proprietar $numesite"; // } // if ($item[3] != 0) // echo "$lnk - $item[1]
"; echo "$lnk - $item[4]
"; }else{ } } echo "

"; echo "

"; if($page>1) { echo "-------
"; $ppage = $page-1; echo "«Inapoi "; } if($page<$num_pages) { $npage = $page+1; echo "»Inainte"; } echo "
$page/$num_pages
"; if($num_pages>2) { echo getjumper($action, $sid,"conectati"); } echo "

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

"; echo "\"*\"/"; echo "Meniu Prim"; include("syr.php"); echo "

"; echo ""; } ////////////////////////////////////////////////////// Useri Online else if($action=="razvy") { addonline(getuid_sid($sid),"Moderare)",""); echo ""; //////ALL LISTS SCRIPT << if($page=="" || $page<=0)$page=1; $num_items = getnumonline(); //changable $items_per_page= 35; $num_pages = ceil($num_items/$items_per_page); if($page>$num_pages)$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 "; echo "

"; // include("popups.php"); $unreadinbox=mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_private WHERE unread='1' AND touid='".$uid."'")); $pmtotl=mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_private WHERE touid='".$uid."'")); $unrd="[".$unreadinbox[0]."]"; if ($unreadinbox[0]>0) { echo "Ai:$unrdPMs
-----
"; } echo "conectati:".getnumonline()."|"; $timeout = 220; $timeon = time()-$timeout; /// $noi = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_users WHERE perm>'0' AND lastact>'".$timeon."'")); echo "".$noi[0]."
-----
"; $items = mysql_query($sql); echo mysql_error(); while ($item = mysql_fetch_array($items)) { $nopl = mysql_fetch_array(mysql_query("SELECT sex FROM lib3rtymrc_users WHERE id='".$item[2]."'")); $uage = getage($nopl[1]); if($nopl[0]=='M') { $usex = "\"+\"/"; }else if($nopl[0]=='F'){ $usex = "\"-\"/"; }else{ $usex = "\"?\"/"; } $nopl[2] = htmlspecialchars($nopl[2]); $who = $item[3]; $lnk = "»".getsimbol($item[2])."$item[0]"; echo "$usex $lnk - $item[1]
"; } echo "

"; echo "

"; if($page>1) { $ppage = $page-1; echo "«pagina anterioara
"; } if($page<$num_pages) { $npage = $page+1; echo "»pagina urmatoare"; } echo "
$page/$num_pages
"; if($num_pages>2) { echo getjumper($action, $sid,"conectati"); } echo "

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

"; echo "
-----
»"; echo "Meniu Prim"; echo "

"; echo "
"; } /////////////////////////////////////////////////// razvy2 else if($action=="razvy2") { addonline(getuid_sid($sid),"Moderare (e)",""); echo ""; //////ALL LISTS SCRIPT << if($page=="" || $page<=0)$page=1; $timeout = 180; $timeon = time()-$timeout; $noi = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_users WHERE perm>'0' AND lastact>'".$timeon."'")); $num_items = $noi[0]; //changable $items_per_page= 20; $num_pages = ceil($num_items/$items_per_page); if($page>$num_pages)$page= $num_pages; $limit_start = ($page-1)*$items_per_page; if($limit_start<0)$limit_start=0; //changable sql $sql = " SELECT name, perm, id FROM lib3rtymrc_users WHERE perm>'0' and lastact>'".$timeon."' LIMIT $limit_start, $items_per_page "; echo "

"; //include("popups.php"); $unreadinbox=mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_private WHERE unread='1' AND touid='".$uid."'")); $pmtotl=mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_private WHERE touid='".$uid."'")); $unrd="[".$unreadinbox[0]."]"; if ($unreadinbox[0]>0) { echo "Ai:$unrdPMs
-----
"; } $items = mysql_query($sql); echo mysql_error(); while ($item = mysql_fetch_array($items)) { $nopl = mysql_fetch_array(mysql_query("SELECT sex FROM lib3rtymrc_users WHERE id='".$item[2]."'")); $uage = getage($nopl[1]); if($nopl[0]=='M') { $usex = "\"+\"/"; }else if($nopl[0]=='F'){ $usex = "\"-\"/"; }else{ $usex = "\"?\"/"; } $lnk = "$usex»$item[0]"; if($item[1]==1) { $item[1] = "Moderator"; }else if($item[1]==2) { $item[1] = "Administrator"; }else if($item[1]==3) { $item[1] = "Admin Sef"; }else if($item[1]==4) { $item[1] = "\"*\"/Proprietar $my3zu!"; } echo "$lnk - $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) { echo getjumper($action, $sid,"conectati"); } echo "

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

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

"; echo "
"; } else{ echo ""; echo "

"; echo "Nu stiu cum ai ajuns aici dar nu ai ce vedea

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

"; } ?> conectati web