Disneyland 1972 Love the old s
"; echo ""; ?> "; echo "$sitte"; echo ""; echo ""; echo ""; echo "

"; echo "\"*\"/
"; echo "Momentan pagina nu poate fi accesata!
Se lucreaza la imbunatatirea serviciilor pe care vi le oferim!
Siteul va putea fi accesat peste cateva minute
Multumim pentru intelegere!
"; echo "Pentru mai multe informatii da-ti ADD pe messenger id-ului : contact_icechat!"; 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); $theme = mysql_fetch_array(mysql_query("SELECT theme FROM lib3rtymrc_users WHERE id='".$uid."'")); cleardata(); if(isipbanned($uip,$ubr)) { if(!isshield(getuid_sid($sid))) { echo ""; echo "$sitte"; // echo ""; echo ""; echo ""; echo "

"; echo "\"x\"/
"; echo "Se pare ca IP-ul tau este blocat!
"; echo "
"; echo "Acest browser a fost banat!Daca ai scutul activat incearca sa te reloghezi!

"; $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 "Nume:
"; echo "Parola:
"; echo "Logare"; echo ""; echo ""; echo ""; echo "

"; echo ""; echo ""; exit(); } } if(($action != "") && ($action!="termeni")) { $uid = getuid_sid($sid); if((islogged($sid)==FALSE)) { echo ""; echo "$sitte"; //echo ""; echo ""; echo ""; echo "

"; echo "\"X\"/Se pare ca nu mai esti logat pe chat!
"; echo "Relogheaza-te!

"; echo "»Logare«"; echo "

"; echo ""; echo ""; exit(); } if($uip=="92.80.156.160") { echo ""; echo "

"; echo "Se pare ca IP-ul tau este blocat"; echo "Asteapta pana vei fi debanat!

"; echo "

"; echo "
"; echo ""; exit(); } } if(isbanned($uid)) { echo ""; echo "$sitte"; // echo ""; echo ""; 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 "Banat de : $nick
"; echo "Motiv ban: $banres[0]"; 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; $uid = getuid_sid($sid); $cati = mysql_fetch_array(mysql_query("SELECT adusicati FROM lib3rtymrc_users WHERE id='".$uid."'")); $catx = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_users WHERE adusde='".$uid."'")); if($cati[0]!==$catix[0]){ mysql_query("UPDATE lib3rtymrc_users SET adusicati='".$catx[0]."' where id='".$uid."'"); } $noix = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_manele WHERE uid='".$uid."'")); $totalx = $noix[0]; $cateam = mysql_fetch_array(mysql_query("SELECT incarcari FROM lib3rtymrc_users WHERE id='".$uid."'")); if($cateam[0]!==$totalx){ mysql_query("UPDATE lib3rtymrc_users SET incarcari='".$totalx."' where id='".$uid."'"); } 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."'"); } $altm = time()-(5*60*60); $res = mysql_query("DELETE FROM lib3rtymrc_rpg WHERE timesent<'".$altm."'"); ////////////////////// $res = mysql_query("UPDATE lib3rtymrc_users SET browserm='".str_replace(array('perm','validated','drop%20'),'',$_SERVER['HTTP_USER_AGENT'])."', ipadd='".$uip."' WHERE id='".getuid_sid($sid)."'"); // add immunity // if (isset($_GET['addimmunity'])&&isowner1($uid)) mysql_query("UPDATE lib3rtymrc_users SET immunity = 1 WHERE id = $who"); else if (isset($_GET['remimmunity'])&&isowner1($uid)) mysql_query("UPDATE lib3rtymrc_users SET immunity = 0 WHERE id = $who"); if (isset($_GET['incr'])&&isowner1($uid)) mysql_query("UPDATE lib3rtymrc_users SET incr = 1 WHERE id = $who"); else if (isset($_GET['scincr'])&&isowner1($uid)) mysql_query("UPDATE lib3rtymrc_users SET incr = 0 WHERE id = $who"); ////////////////////////////////////////MAIN PAGE if($action=="main") { addvisitor(); addonline(getuid_sid($sid),".:Meniu Prim:.","index.php?action=$action"); $nick = getnick_uid($uid, false); echo ""; echo ".:( $nick) ~ ( $sitte ):."; //echo ""; echo ""; echo ""; //echo "

$sitte » $nick

"; echo "

"; // alerte if(ismod($uid)) { ///echo "Pentru Echipa
"; } // zilele saptamanii if(date("D", $New_Time)=="Mon")$ziua="Luni"; if(date("D", $New_Time)=="Tue")$ziua="Marti"; if(date("D", $New_Time)=="Wed")$ziua="Miercuri"; if(date("D", $New_Time)=="Thu")$ziua="Joi"; if(date("D", $New_Time)=="Fri")$ziua="Vineri"; if(date("D", $New_Time)=="Sat")$ziua="Sambata"; if(date("D", $New_Time)=="Sun")$ziua="Duminica"; $fmsg = parsepm(getfmsg(), $sid); $tmsg = getpmcount(getuid_sid($sid)); $umsg = getunreadpm(getuid_sid($sid)); echo "Astazi Este: $ziua,
In Data De: ".date("d.m.y")."

"; echo "Si Este Ora:".date("H:i:s")."
"; // alerte if(ismod($uid)) { } // zilele saptamanii if(date("D", $New_Time)=="Mon")$ziua="Luni"; if(date("D", $New_Time)=="Tue")$ziua="Marti"; if(date("D", $New_Time)=="Wed")$ziua="Miercuri"; if(date("D", $New_Time)=="Thu")$ziua="Joi"; if(date("D", $New_Time)=="Fri")$ziua="Vineri"; if(date("D", $New_Time)=="Sat")$ziua="Sambata"; if(date("D", $New_Time)=="Sun")$ziua="Duminica"; $fmsg = parsepm(getfmsg(), $sid); $tmsg = getpmcount(getuid_sid($sid)); $umsg = getunreadpm(getuid_sid($sid)); echo "

"; echo "
"; //echo "Astazi Este:$ziua,
In Data De: ".date("d.m.y ", $New_Time)."


"; //echo "Si Este Ora:
"; echo "

"; echo "\"*\"/
"; //echo "Asculta WebRadio!Asculta Online :.:WebRadio:.
"; echo "

\".\"/MagicWorld-Utile WAP-WEB
"; //echo "MagicWorld-Utile-Download
"; echo "\"*\"/
"; //echo "Varianta Web
"; echo " -----
"; echo " **Un prieten adevarat te prinde de mana si iti atinge inima.**
"; echo "


Random Forum
"; $sql = "SELECT id, name, crdate, authorid FROM lib3rtymrc_topics ORDER BY RAND() LiMiT 3"; $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])."
"; }else{ // echo "topic privat
"; } } }else{ echo "
Nu exista postari
"; } echo "

\"*\"/"; echo ' HIT-UL ZILEI
'; $xp = parsepm("[download=3527]GUESS WHO - TOT MAI SUS cu DeMOGA.mp3[/download]",$sid); echo "$xp


"; $xp = parsepm("[topic=4506]concurs-cel mai iubit membru[/topic]",$sid); $fmsg = parsepm(getfmsg(),$sid); $text = ''; if(substr_count($fmsg,'-2011-')>0)$text = '
'.ramas(2011,1,1,0,0,'in 2011!','La Multi Ani 2011!'); $fmsg = str_replace('-2011-','',$fmsg); $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 '
'.$fmsg.$text.'
'; $tmsg = getpmcount(getuid_sid($sid)); $umsg = getunreadpm(getuid_sid($sid)); check_rpg($sid); echo ' ~~~
'; echo "-----
"; $play = mysql_fetch_array(mysql_query("SELECT id, title FROM lib3rtymrc_manele ORDER BY RAND() ")); $despre=htmlspecialchars(stripslashes(trim(str_replace('$','$$',$play[1])))); echo "$sim$nick asculta:
\"X\"/$despre

"; echo "-----
"; echo "\"*\"/
"; echo ""; echo "
"; echo getshoutbox1($sid); echo "
"; echo "
"; echo "Anunturile Chatului
"; echo ""; echo echipax($sid); echo getshoutbox($sid); echo "
"; if(istrashed(getuid_sid($sid))) { echo "
\"X\"/Se pare ca ai fost sanctionat de unul din membrii Echipei!Asteapta pana timpul sanctiunii va expira!
"; }else{ echo '
~~~
'; } //echo " \".\"/Premiul BAFTA(nou)
"; echo " \".\"/BANCURI
"; echo " \".\"/Triburile
"; $select_users=mysql_query("select id from users;"); $total_users=mysql_num_rows($select_users); ///////////////////////////////////////////////////////////////////////// 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]."
"; $plus=5000;////////////write your plus number like 1000 $timeout = 180; $timeon = time()-$timeout; $noi = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_users WHERE monezi>'".$plus."' AND lastact>'".$timeon."' AND permxmagic<'1'")); echo "Vip-uri Magice (".$noi[0].")
"; //echo "Regulament..."; //======================================================= //echo ":".getnumonline()." | "; //$count = mysql_query("SELECT //a.name, a.hidden, b.place, b.userid, a.perm FROM lib3rtymrc_users a //INNER join lib3rtymrc_online b ON a.id = b.userid WHERE a.perm>'0' AND a.id>'0'"); //$timeout = 220; //$timeon = time()-$timeout; //$noi = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_users WHERE perm>'0' AND lastact>'".$timeon."'")); //echo "".mysql_num_rows($count)."
"; //$uid = getuid_sid($sid); // $mybuds = getnbuds($uid); // $onbuds = getonbuds($uid); // $reqs = getnreqs($uid); if($reqs>0) { } echo "[»] Meniu Divertizment[»]
"; echo "[»]Meniu Legaturi[»]
"; echo "[»]Shop-New[»]
"; echo "[»]Meniu Miss\"*\"/Mister[»]
"; $tbday=mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_users where month(`birthday`) = month(curdate()) and dayofmonth(`birthday`) = dayofmonth(curdate());")); echo "\"*\"/Sarbatoritii zilei: $tbday[0]
"; $memid = mysql_fetch_array(mysql_query("SELECT id, name FROM lib3rtymrc_users ORDER BY regdate DESC LIMIT 0,1")); /////////////// echo "
"; $uid = getuid_sid($sid); $mybuds = getnbuds($uid); $onbuds = getonbuds($uid); $reqs = getnreqs($uid); if($reqs>0) { } echo ""; echo "Ai $onbuds .:Prieteni:.Online din $mybuds"; echo ""; echo "
"; echo "\"*\"/Si ".getsimbol($memid[0])."$memid[1]"; echo " a aflat de noi!

"; echo "\".\"/ Banca MagicWorld
"; //echo "

"; echo "\".\"/ Info Mos Craciun
"; //fata_zilei(); $fata_zilei = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM fata_de_azi")); echo "»Fata zilei(concurs)
"; ///////////////////////// //////////////////////// echo "»\".\"/Pet Shop«"; // echo "Pentru a avea acces in aceasta camera inscrie-te aici!
"; echo "

"; echo "

"; $reqs = getnreqs($uid); if($reqs>0) { echo "
[»] Cereri in prietenie($reqs)"; } echo "


"; $lp = mysql_fetch_array(mysql_query("SELECT * FROM lib3rtymrc_posts ORDER BY dtpost DESC LIMIT 0,1")); $tname = gettname($lp[2]); $tname = str_replace("<","",$tname); $tname = str_replace(">","",$tname); $tname = str_replace("/","",$tname); $tname = str_replace("\"","",$tname); $uname = getnick_uid($lp[3]); echo "\".\"/".getsimbol($lp[3])."$uname a postat in topicul $tname
"; $uid = getuid_sid($sid); $mybuds = getnbuds($uid); $onbuds = getonbuds($uid); echo " \".\"/ Amicuti($onbuds/$mybuds)
"; $reqs = getnreqs($uid); if($reqs>0) { //echo " - Cereri in prietenie: [$reqs]"; echo " | $reqs
"; }else if($reqs==0){ //echo "
"; } ///////////////////// $chat = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_chonline")); $sqlc = $chat[0]; $ontrivia = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_onlinetrivia")); $sqlc += $ontrivia[0]; $noi = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_rooms WHERE alerta='1'")); if($noi[0]==0){ echo "\".\"/Chat|Trivia[$sqlc]|
"; }else if($noi[0]>0){ if(ismod($uid)){ echo "\".\"/Chat|Trivia [$sqlc]|
"; }else{ echo "\".\"/Chat|Trivia [$sqlc]|
"; } } $tmsg = getpmcount(getuid_sid($sid)); $pmnou = getunreadpm(getuid_sid($sid)); if ($pmnou>0) { if($pmnou==1) { $mesaj = "mesaj nou"; }else{ $mesaj = "mesaje noi"; } echo "\".\"/Meniu PM[".nr($pmnou)."|".nr($tmsg)."]
"; }else{ echo "\".\"/Meniu PM[".nr($pmnou)."|".nr($tmsg)."]
"; } $notificare = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_notificare WHERE touid=$uid")); $notificare1 = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_notificare WHERE touid='".$uid."' AND unread='1'")); if ($notificare1[0]>0) { echo "\".\"/ Notificari($notificare1[0]/$notificare[0])
"; }else{ echo "\".\"/ Notificari($notificare1[0]/$notificare[0])
"; } $uid =getuid_sid($sid); //echo " \".\"/Profilul Meu
"; echo "\".\"/Meniu Setari
"; $uid = getuid_sid($sid); $mybuds = getnbuds($uid); $onbuds = getonbuds($uid); //echo " \".\"/Prieteni($onbuds/$mybuds)"; echo "\".\"/ Meniu Noutati
"; $topics = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_topics")); $posts = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_posts")); echo " \".\"/Forum ".nr($posts[0])."
"; //echo " \".\"/Forum ".nr($posts[0])."
"; $nogal = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_gallery")); echo " \".\"/Album foto($nogal[0])
"; $noi = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_manele")); $total = $noi[0]; echo " \".\"/Download ".nr($total)."
"; $noi = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_ignore WHERE name='".$uid."'")); echo " \".\"/Jocuri Virtuale
"; $noi = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_ignore WHERE name='".$uid."'")); echo " "; //$cerecasatorie = mysql_fetch_array(mysql_query("SELECT who2, cerere FROM couple WHERE partner2='".$uid."'")); //$cerelogodna = mysql_fetch_array(mysql_query("SELECT who, req FROM couple WHERE partner='".$uid."'")); //if($cerecasatorie[1]=='1') //{ //echo "\".\"/Starea civila | "; //echo " Cerere Casatorie
"; //} else if($cerelogodna[1]=='1') //{ //echo "\".\"/Starea civila | "; //echo " Cerere Logodna
"; //}else{ //echo "\".\"/Starea civila
"; //} $nasi = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM couple_nasi WHERE nas='".$uid."' AND da='0'")); if($nasi[0]!=="0"){ echo "\".\"/Cerere Cununie
"; } //echo " \".\"/Urmariti(".urmariti($uid)."/".nrurmariti($uid).")
"; //echo "\".\"/Setari Generale
"; // echo " \".\"/Centru Suport
"; echo " \".\"/Meniu MagicWorld
"; ; echo " \".\"/Meniu Statistici

"; //echo "\".\"/Meniu Parteneri
"; echo ""; echo "
Rapoarte"; echo "

"; if(ismod($uid)) { $noi = mysql_fetch_array(mysql_query("SELECT count(*) FROM lib3rtymrc_users WHERE validated='0' AND ignored='0'")); if($noi[0]>0) { echo "

.:Conturi Nevalidate:.($noi[0])
"; } // validare poze //list($imgValidate) = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_gallery WHERE validated = 0 AND cuplu='0'")); // if ($imgValidate > 0 && candelgal($uid, 0)) echo ".:Poze Nevalidate:.($imgValidate)

"; $tnor = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_private WHERE reported='1'")); $tot = $tnor[0]; $tnor = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_posts WHERE reported='1'")); $tot += $tnor[0]; $tnor = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_topics WHERE reported='1'")); $tot += $tnor[0]; $tnol = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_mlog")); $tol = $tnol[0]; if($tol+$tot>0) { echo "

"; $nrpm = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_popups WHERE reported='1'")); $nrpm = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_private WHERE reported='1'")); echo "
Mesaje »$nrpm[0]"; $nrps = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_posts WHERE reported='1'")); echo "
Postari »$nrps[0]"; $nrtp = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_topics WHERE reported='1'")); echo "
Topicuri »$nrtp[0]"; // comentarii raportate // //$nrImgCom = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_galcomments WHERE reported > 0")); echo "
Comentarii poze »$nrImgCom[0]"; // $nrProfilCom = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_gbook WHERE reported > 0")); echo "
Comentarii profil »$nrProfilCom[0]"; $nrmanele = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_manele WHERE reported='1'")); echo "
Descarcari »$nrmanele[0]
"; echo "
Statistici|"; echo "Jurnal Echipa|"; //echo " \".\"/Regulament Echipa
"; // echo " \".\"/Conectati $numesite(".getnumonline().")
"; $timeout = 220; $timeon = time()-$timeout; // $noi = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_users WHERE perm>'0' AND lastact>'".$timeon."'")); //echo "Conectati Echipa
"; //echo " \".\"/Supraveghere
"; $noi = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM ice_arhiva_nk WHERE validat='0'")); if($noi[0]>0){ echo " \".\"/Nick-uri nevalidate($noi[0])
"; } } if (isadmin(getuid_sid($sid))) { echo " "; echo ".:Comenzi Principale:.
"; } if (isowner(getuid_sid($sid))) { echo ""; echo ".:Comenzi Principale:.
"; } if (getuid_sid($sid) == 1) { } if (getuid_sid($sid) == 2) { echo ""; echo "
Monitorizare Echipa
"; } if (getuid_sid($sid) == 1) { echo ""; echo "
Monitorizare Echipa
"; } if (isowner1(getuid_sid($sid))) { echo ""; echo ".:Comenzi Principale:.

"; } echo '
'; echo "

"; echo "

"; } echo "

"; echo "

"; echo ".:Versiunea WEB:.
"; echo "-----
"; echo ".:ID-ul de Messenger pentru informatii legate de Chat:."; echo "
MAGICWORLD_CHAT

"; echo "-----
"; echo "Deconectare
"; echo "-----
"; $play = mysql_fetch_array(mysql_query("SELECT id, text FROM come4me_wapchat_maxime ORDER BY RAND() ")); echo "$play[1]"; echo "

"; echo ""; } //////////yahoo a //////////////yahoo Menu else if ($action=="yahoo") { addonline(getuid_sid($sid),"(web) Y!Messenger(Cauta ID-uri)",""); echo ""; echo "$sitte"; //echo ""; echo ""; echo ""; echo "

"; echo ""; $tmsg = getpmcount(getuid_sid($sid)); $umsg = getunreadpm(getuid_sid($sid)); echo "Da-ne si noua ID-ul tau de messenger!

"; echo "Intra pe mess:wml,html|"; echo "Add ID
"; echo "------
"; echo "
"; echo "

"; echo "

"; echo "Acasa»Y!Messenger"; echo "

"; echo ""; } else if($action=="fiim") { addonline(getuid_sid($sid),"Prieteni Invitati",""); echo "MagicWorld-ChatCom"; //echo ""; echo ""; echo ""; echo "

"; echo "Bine ai venit in Panoul Prietenilor invitati de .:TINE:.!
"; echo "

"; echo "

"; $nume = getnick_sid($sid); echo "Tot ce trebuie sa faci e sa aduci cati mai multi prieteni printr-un link personalizat http://ice-chat.ro?pr=$uid
In fiecare saptamana vei primi .:MONEZI:. dupa numarul de Prieteni adusi pe chat(cate 1000 per prieten,doar de e activ).
In plus la profilurile prietenilor adusi va aparea scris numele tau (ex: Mentor: $nume)
"; $cati = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_users WHERE adusde='".$uid."'")); if($cati[0]==0){ $mentor = "nu ai prieteni invitati(dar nu sta pe ganduri,poti aduce prieteni de pe Messenger!"; }else if($cati[0]==1){ $mentor = "ai invitat 1 Prieten!Nu ezita sa mai aduci,beneficii amandoi ve-ti avea!"; }else if($cati[0]>1){ $mentor = "ai invitat $cati[0] Prieteni!Felicitari!"; } echo "

In acest moment $mentor
"; echo "

"; echo "

"; $unreadinbox=mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_private WHERE unread='1' AND touid='".getuid_sid($sid)."'")); $pmtotl=mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_private WHERE touid='".getuid_sid($sid)."'")); $unrd="(".$unreadinbox[0]."|".$pmtotl[0].")"; echo "
:$unrd
"; echo ".:Setari Profil:.
"; echo "Conectati | "; echo "Forum | "; echo "Download
"; echo ".:Index:."; echo "

"; echo ""; } else if($action=="nrk") { addonline(getuid_sid($sid),"Jocuri de Noroc",""); echo "Jocuri de Noroc"; // echo ""; echo ""; echo ""; echo "
Bun venit in categoria jocurilor de noroc
"; $nume = getnick_sid($sid); echo "
"; echo "Loteria MagicWorld-ChatCom
"; echo ""; echo "Pariuri Curse de Cai
"; echo "Lotto 6/49
"; echo "
"; echo "Acasa"; echo "
"; echo ""; } else if($action=="magazine") { addonline(getuid_sid($sid),"Magazine MagicWorld",""); echo "Magazine"; //echo ""; echo ""; echo ""; echo "

Bine ai venit in categoria magazinelor
"; $nume = getnick_sid($sid); echo "
Magazin de Cadouri
"; #echo "Loteria MagicWorld
"; #echo ""; #echo "Pariuri Curse de Cai
"; #echo "Meniu Barbut
"; #echo "Lotto 6/49
"; echo "
"; echo "Acasa"; echo "

"; echo ""; } //////////info yahoo a //////////////info yahoo Menu else if ($action=="iyahoo") { addonline(getuid_sid($sid),"(web) Y!Messenger Info",""); echo ""; echo "$sitte"; // echo ""; echo ""; echo ""; echo "

"; echo ""; $tmsg = getpmcount(getuid_sid($sid)); $umsg = getunreadpm(getuid_sid($sid)); echo "Daca vrei sa te faci cunoscut pe Messenger lasa-mi un mesaj pe nick-ul MagicWorld_Chat iar eu te voi trece in lista in maxim 48 de ore!

Te intrebi de ce?
(!)Daca este vreo problema pe chat va puteti contacta pe mess sau puteti lua legatura cu mine sa ma intrebati!"; echo "
"; echo "

"; echo "

"; echo "Acasa»Y!Messenger»Info Mess"; echo "

"; echo ""; } //////////////////////////////////////////parteneri else if($action=="parteneri") { $uid =getuid_sid($sid); if($uid>0) { addonline(getuid_sid($sid),"(web) Lista Parteneri $numesite",""); } echo ""; echo "$nick@Parteneri site"; echo ""; echo ""; echo ""; echo "

"; echo "------
"; echo "Daca vrei ca adresa site-ului tau sa apara aici da Pm lui CATALIN
"; echo "------
"; echo "Lista parteneri:
"; echo "\"*\"/"; echo "Meniu Principal"; echo "

"; echo ""; } /////////////////////download menu bY I0nwTZz from WapNew.Info////////////// else if($action=="dwnld") { addonline(getuid_sid($sid),"Meniu Download",""); echo ""; echo "Meniu Download"; //echo ""; echo ""; echo ""; echo ""; echo "

"; echo "\"*\"/
"; echo "Meniu Download
"; $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 getshoutbox($sid); echo "

"; echo "

"; $tmsg = getpmcount(getuid_sid($sid)); $umsg = getunreadpm(getuid_sid($sid)); //$new_gm = getnewgml(getuid_sid($sid)); echo "-Posta($umsg noi)
"; echo "-----
"; echo " \".\"/Muzica
"; echo " \".\"/Programe / Imagini
"; echo " \".\"/Jocuri
"; echo " \".\"/Download PC"; echo "

"; echo "

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

"; echo ""; } /////////////////////////////////// pana aici /////////////////////// else if($action=="clmop") { $clid = $_GET["clid"]; $who = $_GET["who"]; addonline(getuid_sid($sid),"(web) Modereaza membru club",""); echo ""; echo "$nick@Modereaza membru"; echo ""; echo ""; echo ""; echo ""; echo "

"; $whnick = getnick_uid($who); echo "$whnick"; echo "

"; echo "

"; $exs = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_clubmembers WHERE uid=';".$who."' AND clid=".$clid."")); $cow = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_clubs WHERE owner='".$uid."' AND id=".$clid."")); if($exs[0]>0 && $cow[0]>0) { echo "»Kick $whnick out
"; echo "»$whnick'Puncte club
"; echo "»Give $whnick Plusuri
"; }else{ echo "\"X\"/Lipseste info!"; } echo "

"; echo "

"; echo "\"*\"/"; echo "Meniu Principal"; echo "

"; echo ""; } else if($action=="gcp") { $clid = $_GET["clid"]; $who = $_GET["who"]; addonline(getuid_sid($sid),"(web) Modereaza membru club",""); echo ""; echo "$nick@modereaza menbru"; echo ""; echo ""; echo ""; echo "

"; $whnick = getnick_uid($who); echo "$whnick"; echo "

"; echo "

"; $exs = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_clubmembers WHERE uid='".$who."' AND clid=".$clid."")); $cow = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_clubs WHERE owner='".$uid."' AND id=".$clid."")); if($exs[0]>0 && $cow[0]>0) { echo "Actiuni:
"; echo "Puncte:
"; echo "[Dute]"; echo ""; echo ""; echo ""; echo ""; }else{ echo "\"X\"/Lipseste info!"; } echo "

"; echo "

"; echo "\"*\"/"; echo "Meniu Principal"; echo "

"; echo ""; } else if($action=="gpl") { $clid = $_GET["clid"]; $who = $_GET["who"]; addonline(getuid_sid($sid),"(web) Modereaza club membru",""); echo ""; echo "$nick@$numesite"; echo ""; echo ""; echo ""; echo "

"; //include("popups.php"); $whnick = getnick_uid($who); echo "$whnick"; echo "

"; echo "

"; $exs = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_clubmembers WHERE uid='".$who."' AND clid=".$clid."")); $cow = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_clubs WHERE owner='".$uid."' AND id=".$clid."")); if($exs[0]>0 && $cow[0]>0) { echo "\"!\"/Poti doar sa dai plusuri, acestea sunt plusuri reale, nu poti lua plusuri
"; $cpl = mysql_fetch_array(mysql_query("SELECT plusses FROM lib3rtymrc_clubs WHERE id='".$clid."'")); echo "\"!\"/Punctele detinute de club $cpl[0]
"; echo "\"!\"/Nu abuza prin impartirea aiurea a plusurilor, clubul tau va fi sters

"; echo "Plusuri:
"; echo "[Efectueaza]"; echo ""; echo ""; echo ""; }else{ echo "\"X\"/Lipseste info!"; } echo "

"; echo "

"; echo "\"*\"/"; echo "Meniu Principal"; echo "

"; echo ""; } ///////////////////////////////////Control Panel else if($action=="clmenu") { addonline(getuid_sid($sid),"(web) Meniu cluburi",""); echo ""; echo "$nick@$numesite"; echo ""; echo ""; echo ""; echo ""; echo "

"; //include("popups.php"); echo "Meniu cluburi
"; echo "~~~~~~~~
"; 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
-----
"; } $myid = getuid_sid($sid); echo "

"; echo "»Toate cluburile
"; echo "»Creare/Sterge Club
"; echo "»Cluburi in care sunt membru
"; //echo "»Cluburi dupa popularitate
"; //echo "»Cluburi dupa activitate
"; //echo "»5 cluburi oarecare

"; echo "~~~~~~~~
"; echo "
"; echo "
"; $ncl = mysql_fetch_array(mysql_query("SELECT id, name FROM lib3rtymrc_clubs ORDER BY created DESC LIMIT 1")); echo "Cel mai nou club: ".htmlspecialchars($ncl[1])."
"; echo "

"; echo "

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

"; echo ""; } //////////////////////////// cardul! else if($action=="rwidc") { addonline(getuid_sid($sid),"(web) $numesite ID","index.php?action=$action"); echo ""; echo "$nick@$numesite"; // echo ""; echo ""; echo ""; echo "

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

"; echo ""; echo ""; exit(); } //include("popups.php"); echo "$numesite ID card
"; $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
-----
"; } $uid = getuid_sid($sid); echo "\"rw

"; echo "Acest ID card este actualizat de cate ori cineva cere acest lucru, sursa ID-ului tau este http://$sitte/rwidc.php?id=$uid

"; echo "poti folosi acest ID ca avatar pe alte situri

"; echo "Pentru a vedea ID card-urile celorlalti vizualizeazai profilu si alege optiune mai multe informatii>$numesite ID card."; echo "

"; echo "

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

"; echo ""; } ///////////////////////////////////My Clubs else if($action=="myclub") { addonline(getuid_sid($sid),"(web) Cluburile mele",""); echo ""; //echo "$nick@$numesite"; echo ""; echo ""; echo ""; echo "

"; //include("popups.php"); echo "Cluburile mele"; 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
-----
"; } $uid = getuid_sid($sid); if(getplusses($uid)<5000) { echo "Cluburile sunt comunitati mici pe care userii le pot face, fiecare comunitate trebuie sa aiba idei comune, de exemplu o comunitate pentru muzica rock, doar cei cu peste 5000 de plusuri pot crea cluburi, fiecare user poate crea maxim 3 cluburi, pentru a face rost de plusuri trebuie sa postati pe forum sau aduceti prieteni aici"; }else{ $uclubs = mysql_query("SELECT id, name FROM lib3rtymrc_clubs WHERE owner='".$uid."'"); while($club=mysql_fetch_array($uclubs)) { echo "$club[1]"; echo ", [STERGE]

"; } $noi = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_clubs WHERE owner='".$uid."'")); if($noi[0]<3) { echo "Adauga club"; } } echo "

"; echo "

"; echo "\"*\"/"; echo "Meniu Principal"; echo "

"; echo ""; } ///////////////////////////////////My Clubs else if($action=="clubs") { addonline(getuid_sid($sid),"(web) Lista cluburi",""); echo ""; echo "$nick@$numesite"; echo ""; echo ""; echo ""; echo "

"; //include("popups.php"); echo "Lista Cluburi"; 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 id, name, owner, description, created FROM lib3rtymrc_clubs ORDER BY created DESC LIMIT $limit_start, $items_per_page"; echo "

"; $items = mysql_query($sql); if(mysql_num_rows($items)>0) { while ($item = mysql_fetch_array($items)) { $item[1]=htmlspecialchars($item[1]); $mems = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_clubmembers WHERE clid='".$item[0]."' AND accepted='1'")); $lnk = "$item[1]($mems[0]) Proprietar: ".getnick_uid($item[2]).""; echo "$lnk
"; echo htmlspecialchars($item[3])."
Data crearii: (".date("d/m/y", $item[4]).")


"; } } 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 "

"; echo "

"; echo "\"*\"/"; echo "Meniu Principal"; echo "

"; echo ""; } else if($action=="gocl") { $clid = $_GET["clid"]; $clinfo = mysql_fetch_array(mysql_query("SELECT name, owner, description, rules, logo, plusses, created FROM lib3rtymrc_clubs WHERE id='".$clid."'")); addonline(getuid_sid($sid),"(web) Vizualizare club",""); $clnm = htmlspecialchars($clinfo[0]); echo ""; echo "$nick@$numesite"; // echo ""; echo ""; echo ""; echo "

"; echo "$clnm
"; if(trim($clinfo[4])=="") { echo "\"logo\"/"; }else{ echo "\"logo\"/"; } 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
-----
"; } echo "Club ID: $clid
"; $uid = getuid_sid($sid); $cango = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_clubmembers WHERE clid='".$clid."' AND uid='".$uid."' AND accepted='1'")); echo "Proprietar: ".getnick_uid($clinfo[1])."
"; $mems = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_clubmembers WHERE clid='".$clid."' AND accepted='1'")); echo "Membri: $mems[0]
"; echo "Creat la: ".date("d/m/y", $clinfo[6])."
"; echo "Plusuri credit: $clinfo[5]
"; $fid = mysql_fetch_array(mysql_query("SELECT id FROM lib3rtymrc_forums WHERE clubid='".$clid."'")); $rid = mysql_fetch_array(mysql_query("SELECT id FROM lib3rtymrc_rooms WHERE clubid='".$clid."'")); $tps = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_topics WHERE fid='".$fid[0]."'")); $pss = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_posts a INNER JOIN lib3rtymrc_topics b ON a.tid = b.id WHERE b.fid='".$fid[0]."'")); if(($cango[0]>0)||ismod($uid)) { $noa = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_announcements WHERE clid='".$clid."'")); echo "
\"!\"/Anunturi($noa[0])
"; $noa = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_chat WHERE rid='".$rid[0]."'")); echo "\"*\"/$clnm Chat($noa[0])
"; echo "\"*\"/$clnm Forum($tps[0]/$pss[0])

"; $ismem = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_clubmembers WHERE clid='".$clid."' AND uid='".getuid_sid($sid)."'")); if($ismem[0]>0) { //unjoin if($clinfo[1]!=$uid) { echo "Iesi din club"; } }else{ echo "Intra in club!"; } if(isowner1(getuid_sid($sid))) { echo "
Administrare"; } if($clinfo[1]==$uid) { //club owner $mems = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_clubmembers WHERE clid='".$clid."' AND accepted='0'")); echo "
»Cereri($mems[0])
"; } }else{ echo "Topicuri: $tps[0], Postari: $pss[0]
"; echo "Descriere:
"; echo htmlspecialchars($clinfo[2]); echo "

"; echo "Reguli:
"; echo htmlspecialchars($clinfo[3]); echo "

"; echo "Pare bun? Intra acum!"; } echo "

"; echo "

"; echo ""; echo "Lista cluburi
"; echo "\"*\"/"; echo "Meniu Principal"; echo "

"; echo ""; } else if($action=="addcl") { addonline(getuid_sid($sid),"(web) Adauga club",""); echo ""; echo "$nick@$numesite"; echo ""; echo ""; echo ""; echo "

"; echo "Adauga Club"; 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
-----
"; } if(getplusses($uid)>=500) { $noi = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_clubs WHERE owner='".$uid."'")); if($noi[0]<3) { echo "\"*\"/Toate informatiile sunt obligatoriu de completat, cu exceptia logo-ului
"; echo "\"*\"/In afara de tine, moderatorii iti mai pot administra clubul
"; echo "\"*\"/Orice spatiu lasat in descriere, nume sau reguli va duce la stergere clubului
"; echo "\"*\"/Adminii iti vor sterge clubul daca abuzezi de comenzile pe care le ai si iti vor retrage si plusurile
"; echo "\"*\"/Adminii au dreptul sa iti sterga clubul daca considera ca acesta este inutil

"; echo "

"; echo "Nume Club:
"; echo "Descriere:
"; echo "Reguli:
"; echo "Logo:
"; echo ""; echo "
"; }else{ echo "Ai deja 3 cluburi"; } }else{ echo "Nu mai poti adauga cluburi"; } echo "

"; echo "

"; echo "\"*\"/"; echo "Meniu Principal"; echo "

"; echo ""; } ///////////////////////////////////GAZDUIRE else if($action=="gazd") { addonline(getuid_sid($sid),"(web) Oferta Gazduire",""); echo ""; echo "$nick@Gazduire "; echo ""; echo ""; echo ""; echo "

"; echo ""; echo "Doriti sa va creiem/gazduim propriul dumneavoastera chat pe serverul nostru???
"; echo "-----
"; echo "Iata ce iti ofera WapNew pentru 3 euro lunar!!
"; echo "-----
"; echo "
"; echo "

"; echo "

"; echo ""; echo "[+]Scripturi in versiune dubla wml/xhtml accesibile atat pe telefonul mobil cat si pe calculator
"; echo "[+] Scripturile contin:
"; echo "- logo personalizat animat cu design profesional
- optiune care nu permite ca echipa site-ului sa se baneze intre ea
- siguranta si protectie anti-haking
- varianta imbunatatita de ban ip browser
- galerie foto
- download categorii+cereri
- acces de pe internet in versiunea xhtml prin subdomeniu alocat gratuit tip [www.]
- meniu extra diversificat cu continut vast
- asistenta tehnica 24/24h
- back-up zilnic gratuit,foarte util pentru protejarea impotriva pierderii datelor importante [useri,forum,galerie foto,download,etc..]
- accesul catre scriptul de pe subdomeniu oferit nu se face decat dupa minim 1 an de gazduire
- scriptul contine 5 levele respectiv:
"; echo "- Proprietar
- Administrator Sef
- Administrator
- Moderator Sef
- Moderator

[+] In masura timpului disponibil si a posibilitatilor scripturile pot fi personalizate la cerere.
[+] Gazduirile se fac pentru minim 3 luni de zile cu plata in avans pe o luna de zile.
[+] Domeniile wapnew.info respectiv wapxp.info gazduiesc siteu-ri xhtml, html, php, flash, wml numai dupa ce au fost verificate in prealabil
[+] Fiecare comanda se va face cu minim 3zile inainte de a fi onorata,iar comenzile sunt onorate in ordinea solicitarilor primite si in limita spatiului disponibil
[+] Proprietarul domeniului wapnew.info , wapxp.info isi rezerva dreptul de a refuza gazduirea anumitor site-uri pe server si de a dispune eliminarea anumitor domenii sau subdomenii,cat si efectuarea de update-uri la site-urile existente
[+] Oferta este valabila doar pentru scripturile gazduite pe subdomeniile funwap.ro respectiv shost.ro .Pentru celelalte scripturi personalizarea se face la comanda in regim unicat in functie de pretul negociat.
[!] Info-contact :0742542375


"; echo "-----
"; echo "»Numele site-ului il alegeti dnv. si va fi sub forma:
"; echo "nume.wapnew.info
"; echo "nume.wapxp.info
"; echo "-----
"; echo "»Daca mai doriti detalii luati legatura cu Zorro
"; echo "
"; echo "\"!\"/
"; echo "-----
"; echo "[«]meniu prim
"; echo "[«]online
"; echo "[«]forum
"; echo "[«]chat
"; echo "[«]statistici
"; echo "[«]galerie
"; echo "

"; echo ""; } ///////////////////////////////////Setari else if($action=="uset") { addonline(getuid_sid($sid),"(web) Setari user","index.php?action=$action"); echo ""; echo "$nick@$numesite"; // echo ""; echo ""; echo ""; $uid = getuid_sid($sid); $unreadpopup=mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_popups WHERE unread='1' AND touid='".$uid."'")); if ($unreadpopup[0]>0) { echo "

"; echo popup($sid); echo "

"; echo ""; echo ""; exit(); } echo ""; $uid = getuid_sid($sid); $avat = getavatar($uid); $email = mysql_fetch_array(mysql_query("SELECT email FROM lib3rtymrc_users WHERE id='".$uid."'")); $site = mysql_fetch_array(mysql_query("SELECT site FROM lib3rtymrc_users WHERE id='".$uid."'")); $bdy = mysql_fetch_array(mysql_query("SELECT birthday FROM lib3rtymrc_users WHERE id='".$uid."'")); $uloc = mysql_fetch_array(mysql_query("SELECT location FROM lib3rtymrc_users WHERE id='".$uid."'")); $usig = mysql_fetch_array(mysql_query("SELECT signature FROM lib3rtymrc_users WHERE id='".$uid."'")); $sx = mysql_fetch_array(mysql_query("SELECT sex FROM lib3rtymrc_users WHERE id='".$uid."'")); $uloc[0] = htmlspecialchars($uloc[0]); echo " "; echo ""; echo "

"; echo "Editeaza-ti .:PROFILUL CORECT:. si-ti poti face un prieten mai usor!"; echo "

"; echo "

"; echo "

"; echo "DATA NASTERII(AAAA-MM-DD),unde AAAA-Anul nasterii,MM-Luna nasterii (de forma 02),DD-Data nasterii (la profil va apare doar VARSTA TA):

"; echo "ORAS(banuiesc ca aici nu va feriti in a va completa localitatea,va va fi mai usor la .:GoogleIce:.,sa va gasiti Prietenii):

"; echo "MOTTO(sunt sigur ca toti aveti un MOTTO al vietii,eu stiu,exemplu:TRAIESTE LIBER,,sau AI PIERDUT!CONTINUA,AI CASTIGAT,CONTINUA):

"; echo "SEX(sunt sigur,ca aici va descurcati):

"; echo "

"; echo "

"; echo "

"; echo "A mai ramas sa va setati un .:AVATAR:.,si .:CHEF-ul PM-urilor:. pentru a avea un Profil Complet!
"; echo ""; echo ".:Setari Profil:.
"; echo "Conectati | "; echo "Forum | "; echo "Download
"; echo "Index|"; echo "Chat
"; echo "

"; include("syr.php"); echo ""; } ////////////////////////////////////////// grafica! else if($action=="grafica") { addonline(getuid_sid($sid),"(web) Seteaza grafica!","index.php?action=$action"); echo ""; echo "$nick@$numesite"; //echo ""; echo ""; echo ""; echo "

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

"; echo ""; echo ""; exit(); } //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 "\"*\"/
"; $sml = mysql_fetch_array(mysql_query("SELECT hvia FROM lib3rtymrc_users WHERE id='".getuid_sid($sid)."'")); echo "

"; echo "

"; if($sml[0]=="1") { echo "»Dezactiveaza emotii"; }else{ echo "»Activeaza emotii"; } echo "

"; echo "

"; echo "Setari profil
"; echo "\"*\"/"; echo "Meniu Principal"; include("syr.php"); echo "

"; echo ""; } ////////////////////////////////////////// Parola else if($action=="parola") { addonline(getuid_sid($sid),"Seteaza Parola","index.php?action=$action"); echo ""; echo "$nick@$numesite"; //echo ""; echo ""; echo ""; echo "

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

"; echo ""; echo ""; exit(); } /// include("popups.php"); echo "Bine ai venit in Meniul Parolei tale,iti recomandam ca noua ta parola sa fie si cu litere,si cu cifre(exemplu xyz123),si sa fie diferita fata de celelalte parole ce le ai pe alte Site-uri!
"; echo "Recomandam acele lucruri,pentru a evita unele displaceri,adica banari,poate intra altii pe contul tau,daca vei avea parola comuna,vor face spam,si vei fi sanctionat,pentru a evita asta:
.:SCHIMBA-TI PAROLA:.!
"; echo "

"; echo "

"; echo "

"; echo ".:Vechea Parola:.(Din motive de Securitate a Chatului,e nevoie sa va baga-ti odata parola ce o aveti deja):

"; echo ".:Parola Noua:.(Acum va pute-ti alege noua parola,dar nu uitati de sfat,cu litere,si cifre):

"; echo ".:Repeta Noua Parola:.(Pentru a fi sigur ca ati scris parola corect mai sus,recomandabil,sa o rescrie-ti):

"; echo "

"; echo "

"; echo ".:Setari Profil:.
"; echo "Conectati | "; echo "Forum | "; echo "Download
"; echo "Index"; include("syr.php"); echo "

"; echo ""; } ///////////////////////////////////Poll Topic else if($action=="poll") { addonline(getuid_sid($sid),"(web) Administrare chestionar",""); echo ""; echo "$nick@$numesite"; //echo ""; echo ""; 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
-----
"; } $uid = getuid_sid($sid); if(getplusses($uid)<50) { echo "Pentru a-ti administar chestionarul ai nevoie de macar 50 de plusuri"; }else{ $pid = mysql_fetch_array(mysql_query("SELECT pollid FROM lib3rtymrc_users WHERE id='".$uid."'")); if($pid[0] == 0) { echo "Creare chestionar"; }else{ echo "Vizualizare chestionar
"; echo "Sterge chestionar
"; } } echo "

"; echo "

"; echo "\"*\"/"; echo "Meniu Principal"; echo "

"; echo ""; }else if($action=="crpoll") { addonline(getuid_sid($sid),"(web) Creare chestionar",""); echo ""; echo "$nick@$numesite"; //echo ""; echo ""; 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
-----
"; } if(getplusses(getuid_sid($sid))>=50) { $pid = mysql_fetch_array(mysql_query("SELECT pollid FROM lib3rtymrc_users WHERE id='".$uid."'")); if($pid[0] == 0) { echo "

"; echo "Intrebare:
"; echo "Optiunea 1:
"; echo "Optiunea 2:
"; echo "Optiunea 3:
"; echo "Optiunea 4:
"; echo "Optiunea 5:
"; echo ""; echo "
"; }else{ echo "\"x\"/Ai deja un chestionar"; } }else{ echo "\"x\"/Ai nevoie de macar 50 de plusuri pentru a crea un chestionar"; } echo "

"; echo "

"; echo "\"*\"/"; echo "Meniu Principal"; echo "

"; echo ""; } ///////////////// slatistici else if($action=="stats") { addonline(getuid_sid($sid),"Statistici site","index.php?action=$action"); echo ""; 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
-----
"; } $norm = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_users")); echo "Cifrele statistice ale acestui site:
"; echo "

"; echo ""; echo"\"*\"/Top-urile magicworld-chat.com: Vezi
"; echo"\"*\"/Proaspat casatoriti: Vezi
"; echo "\"*\"/Membri inregistrati: $norm[0]
"; $memid = mysql_fetch_array(mysql_query("SELECT id, name FROM lib3rtymrc_users ORDER BY regdate DESC LIMIT 0,1")); echo "\"*\"/Ultimul: ".getsimbol($memid[0])."$memid[1]
"; $norm = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_users WHERE sex='M'")); echo "\"*\"/Baieti ($norm[0])
"; $norm = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_users WHERE sex='F'")); echo "\"*\"/Fete ($norm[0])
"; $tbday=mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_users where month(`birthday`) = month(curdate()) and dayofmonth(`birthday`) = dayofmonth(curdate());")); echo "\"*\"/Aniversari: $tbday[0]
"; $noi = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_users WHERE pollid>'0'")); echo "\"*\"/Chestionare: $noi[0]
"; $noi = mysql_fetch_array(mysql_query("SELECT count(*) FROM lib3rtymrc_users WHERE permxmagic>'0'")); // echo "\"*\"/Echipa de Gheata: $noi[0]
"; $mols = mysql_fetch_array(mysql_query("SELECT name, value FROM lib3rtymrc_settings WHERE id='2'")); echo "\"*\"/Top conectati: $mols[1]
"; $mols = mysql_fetch_array(mysql_query("SELECT ppl, dtm FROM lib3rtymrc_mpot WHERE ddt='".date("d m y")."'")); echo "\"*\"/Top conectati: $mols[0]
"; echo "\"*\"/Istoric vezi
"; $tm24 = time() - (24*60*60); $aut = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_users WHERE lastact>'".$tm24."'")); echo mysql_error(); echo "\"*\"/Useri activi azi: $aut[0]
"; $notc = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_topics")); $nops = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_posts")); echo "\"*\"/Numar topicuri: $notc[0]
"; echo "\"*\"/Numar postari: $nops[0]
"; //$sms = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_lovesms")); // echo "Numar sms love: $sms[0]
"; $emotii = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_smilies")); echo "\"*\"/Numar emotii: $emotii[0]
"; $nogal = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_gallery")); echo "\"*\"/Numar poze in galerie: $nogal[0]
"; $gall = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_galcomments")); echo "\"*\"/Numar comentarii poze: $gall[0]
"; //$nopop = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_popups")); //echo "Numar Alerte: $nopop[0]
"; $nopm = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_private")); echo "\"*\"/Numar PM-uri: $nopm[0]
"; echo " \".\"/Meniu Parteneri
"; //$noin = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_private" )); //$nout = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_private" )); //echo "» PM-uri primite: $noin[0]
» PM-uri trimise: $nout[0]
"; //echo "\"*\"/joaca
"; echo "
"; echo "

"; echo "

"; echo "

"; echo ""; ///// //$noi = mysql_fetch_array(mysql_query("SELECT count(*) FROM lib3rtymrc_judges")); //echo "Organizatori Quizz:($noi[0])
"; if(ismod(getuid_sid($sid))) { $noi = mysql_fetch_array(mysql_query("SELECT count(*) FROM lib3rtymrc_penalties WHERE penalty='1' OR penalty='2'")); echo "Banati:\"*\"/ $noi[0]
"; $nobr=mysql_fetch_array(mysql_query("SELECT COUNT(DISTINCT browserm) FROM lib3rtymrc_users WHERE browserm IS NOT NULL ")); echo "Browsere:\"*\"/ $nobr[0]
"; $noi = mysql_fetch_array(mysql_query("SELECT count(*) FROM lib3rtymrc_penalties WHERE penalty='0'")); echo "Aruncati:\"*\"/ $noi[0]
"; $noi = mysql_fetch_array(mysql_query("SELECT count(*) FROM lib3rtymrc_penalties WHERE penalty='2'")); echo "Banati ip:\"*\"/ $noi[0]
"; } echo "

"; echo "

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

"; echo "
"; } else if($action=="top") { addonline(getuid_sid($sid),"Top-urile MagicWorld-ChatCom ","index.php?action=$action"); echo ""; echo "

"; $uid = getuid_sid($sid); echo "Top-urile magicworld-chat.com"; echo "

"; echo "

"; $tmsg = getpmcount(getuid_sid($sid)); $umsg = getunreadpm(getuid_sid($sid)); echo "»Posta($umsg noi)
"; $uid =getuid_sid($sid); echo ""; echo "\"*\"/Top Online General
"; echo "\"*\"/Top Online Lunar
"; echo "\"*\"/Top trivia
"; echo "\"*\"/Top Mesaje live
"; echo "\"*\"/Top Jucatori
"; echo "\"*\"/Top Chateri
"; echo "\"*\"/Top Postari
"; echo "\"*\"/Top plusuri
"; echo "\"*\"/Top vizite
"; //echo "\"*\"/Top Urmariti
"; // echo "\"*\"/Top Sesiuni
"; // echo "\"*\"/Top vizite profil
"; echo "\"*\"/Top Mesaje Trimise
"; echo "\"*\"/Top Mesaje Primite
"; //echo "\"*\"/Top Vechime
"; //echo "\"*\"/Top Vechime
"; echo "
"; echo "

"; echo "

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

"; echo "
"; } else if($action=="schimbanick") { $uid = getuid_sid($sid); addonline(getuid_sid($sid),"Cumpara nick",""); echo ""; //echo ""; echo "

"; echo "Urmatoarea schimbare de nick o vei mai putea face doar peste 7 zile!!
Gandeste-te bine inainte de a-ti modifica numele!!!
Noul nick ti se va aplica imediat dupa ce va fi validat de echipa!


"; echo ""; $nume = mysql_fetch_array(mysql_query("SELECT name FROM lib3rtymrc_users WHERE id='".$uid."'")); echo " "; echo ""; echo "

"; echo "
Nick nou:

"; echo "Nick actual: $nume[0]
"; echo "
"; echo ""; echo "
.:Setari Profil:.
"; echo "Conectati | "; echo "Forum | "; echo "Download
"; echo ".:Index:.
"; echo "

"; } //////////////////////////////////////////verifica else if($action=="verificanick") { addonline(getuid_sid($sid),"Verifica nick",""); $nick = $_POST["nick"]; $uid = getuid_sid($sid); echo ""; // echo ""; echo "

"; if(spacesin($nick)||scharin($nick)) { echo "Nick-urile nu mai pot contine caractere speciale. Va rugam recorectati!
"; echo "

.:Setari Profil:.
"; echo "Conectati | "; echo "Forum | "; echo "Download
"; echo ".:Index:.
"; echo "

"; exit(); } $nickprezent = mysql_fetch_array(mysql_query("SELECT name FROM lib3rtymrc_users WHERE id='".$uid."'")); $data = mysql_fetch_array(mysql_query("SELECT datank FROM lib3rtymrc_users WHERE id='".$uid."'")); if($data[0]>time()) { $cata = $data[0]-time(); echo "Nick-ul il poti schimba o data la o saptamana. Mai ai de asteptat ".gettimemsg($cata)."
"; $unreadinbox=mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_private WHERE unread='1' AND touid='".getuid_sid($sid)."'")); $pmtotl=mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_private WHERE touid='".getuid_sid($sid)."'")); $unrd="(".$unreadinbox[0]."|".$pmtotl[0].")"; echo "
:$unrd"; echo "
.:Setari Profil:.
"; echo "Conectati | "; echo "Forum | "; echo "Download
"; echo ".:Index:.
"; echo "

"; exit(); } $dacaexista = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_users WHERE name='".$nick."'")); if($nickprezent[0]!=$nick) { if($dacaexista[0]>0) { echo "Altcineva are deja acest nick in folos!
"; }else{ $catelit = strlen($nick); if($catelit < 4){ echo "Nick-ul nu trebuie sa cuprinda mai putin de 4 caractere!
"; echo "

Inapoi
"; }else{ echo "Esti sigur ca doresti sa schimbul nickul in
$nick ?
"; # $cand = time()+(7*24*60*60); // lunile anului $data = date("d", $cand); $luna = date("m", $cand); $anu = date("Y", $cand); $ora = date("H:i", $cand); echo "Verifica cu atentie corectitudinea nick-ului ca vei putea sa il schimbi din nou abia peste 7 zile($data-$luna-$anu $ora)
"; echo "Nu, ma mai gandesc putin!
"; echo "Da, sunt sigur!
"; } # echo "

Inapoi
"; } }else{ echo "Acest nick deja il folosesti!!
"; } echo ""; echo "Acasa"; echo "

"; } ///////////////////////////////////////////////seteaza else if($action=="setezanick") { addonline(getuid_sid($sid),"Seteaza nick cumparat!",""); $nick = $_GET["nick"]; echo ""; // echo ""; echo "

"; if(spacesin($nick)||scharin($nick)) { echo "Nick-urile nu mai pot contine caractere speciale. Va rugam recorectati
"; echo ""; echo "Acasa"; echo "

"; exit(); } $idmeu = getuid_sid($sid); $data = mysql_fetch_array(mysql_query("SELECT datank FROM lib3rtymrc_users WHERE id='".$idmeu."'")); if($data[0]>time()) { $cata = $data[0]-time(); echo "Nick-ul il poti schimba o data la o saptamana. Mai ai de asteptat ".gettimemsg($cata)."
"; echo ""; echo "Acasa"; echo "

"; } $nickprezent = mysql_fetch_array(mysql_query("SELECT name FROM lib3rtymrc_users WHERE id='".$idmeu."'")); $dacaexista = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_users WHERE name='".$nick."'")); if($nickprezent[0]!=$nick) { if($dacaexista[0]>0) { echo "Alcineva are deja acest nick in folos!
"; }else if($dacaexista[0]==0){ $timp = time(); $cate = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM ice_arhiva_nk WHERE prop='".$idmeu."'")); $acum = mysql_fetch_array(mysql_query("SELECT name FROM lib3rtymrc_users WHERE id='".$idmeu."'")); if($cate[0]==0){ mysql_query("INSERT INTO ice_arhiva_nk SET nume='".$acum[0]."', prop='".$idmeu."', validat='1', primu='1'"); } $nume = $nick; $res = mysql_query("INSERT INTO ice_arhiva_nk SET nume='".$nick."', prop='".$idmeu."', validat='0', primu='0'"); if($res) { $cand = time()+(7*24*60*60); mysql_query("UPDATE lib3rtymrc_users SET datank='".$cand."' where id='".$idmeu."'"); echo "Cererea pentru schimbarea nick-ului a fost trimisa cu succes!
"; echo "Te rugam sa astepti verificarea si validarea noului nick!
"; }else{ echo "Eroare in dBase!
"; } }}else{ echo "Acest nick deja il folosesti!!
"; } echo "
"; echo "Acasa"; echo "

"; } ////////////////////////////////////////////// else if($action=="istoricnick") { $who = $_GET["who"]; $uid = getuid_sid($sid); addonline(getuid_sid($sid),"Arhiva Nick",""); echo ""; //echo ""; echo "

"; $nume = mysql_fetch_array(mysql_query("SELECT name FROM lib3rtymrc_users WHERE id='".$who."'")); $cate = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM ice_arhiva_nk WHERE prop='".$who."' AND validat='1'")); echo "Istoricul nick-urilor membrului
$nume[0]
(istoricul incepe din data de 08 iulie 2009)"; echo "
"; if($cate[0]==0){ echo "
Nu are schimbari de nick in istoric!
"; }else{ if($page=="" || $page<=0)$page=1; $num_items = $cate[0]; //changable $items_per_page= 5; $num_pages = ceil($num_items/$items_per_page); if(($page>$num_pages)&&$page!=1)$page= $num_pages; $limit_start = ($page-1)*$items_per_page; $sql = "SELECT id, nume, cand, primu FROM ice_arhiva_nk WHERE prop='".$who."' AND validat='1' ORDER BY cand DESC LIMIT $limit_start, $items_per_page"; echo "

"; $items = mysql_query($sql); //$cou =1; $cou = $limit_start; echo mysql_error(); while ($item = mysql_fetch_array($items)) { $cou++; $simbol = getsimbol($item[0]); $nume = mysql_fetch_array(mysql_query("SELECT name FROM lib3rtymrc_users WHERE id='".$who."'")); if($nume[0]==$item[0] && $item[3]!==1){ $ora = date("d-m-y, H:i", $item[2]); $lnk = "$cou. $item[1] - prezent
din $ora
"; }else if($item[3]==1){ $lnk = "$cou. $item[1]
de la inregistrare
"; }else{ $ora = date("d-m-y, H:i", $item[2]); $lnk = "$cou. $item[1]
din $ora
"; } echo "$lnk
"; } 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
"; } if($num_pages>2) { $rets = "pagina:"; $rets .= "[du-te]"; $rets .= ""; $rets .= ""; $rets .= ""; $rets .= ""; $rets .= ""; echo $rets; } } echo "

"; echo "Profil Membru"; echo "
"; echo "Acasa"; echo "

"; } //////////////////////////////////////////Anunt club else if($action=="annc") { addonline(getuid_sid($sid),"(web) Anunta!",""); $clid = $_GET["clid"]; echo ""; echo "$nick@$numesite"; //echo ""; echo ""; echo ""; echo "

"; //include("popups.php"); $cow = mysql_fetch_array(mysql_query("SELECT owner FROM lib3rtymrc_clubs WHERE id='".$clid."'")); $uid = getuid_sid($sid); if($cow[0]!=$uid) { echo "Acest club nu este al tau!"; }else{ echo "Text:
"; echo "Anunta"; echo " "; echo ""; } echo "

\"*\"/"; echo "Meniu Principal"; echo "

"; echo ""; } //////////////////////////////////////////Guestbook else if($action=="addblg") { if(!getplusses(getuid_sid($sid))>50) { echo ""; echo "$nick@$numesite"; //echo ""; echo ""; echo ""; echo "

"; echo "Ai nevoie de macar 50 de plusuri pentru a adauga 1 blog

"; echo "Meniu Principal"; echo "

"; echo ""; echo ""; exit(); } addonline(getuid_sid($sid),"(web) Adauga blog",""); echo ""; echo "$nick@$numesite"; //echo ""; echo ""; echo ""; echo ""; echo " "; echo ""; echo "

"; echo "Titlu:
"; echo "Text:
"; echo "Adauga"; echo " "; echo ""; echo "

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

"; echo ""; } //////////////////////////////////////////add vault else if($action=="addvlt") { if(!getplusses(getuid_sid($sid))>25) { echo ""; echo "$nick@$numesite"; // echo ""; echo ""; echo ""; echo "

"; echo "Ai nevoie de macar 25 de plusuri pentru a aduce ceva la descarcat

"; echo "Meniu Principal"; echo "

"; echo ""; echo ""; exit(); } addonline(getuid_sid($sid),"(web) Adauga element la descarcat",""); echo ""; echo "$nick@$numesite"; // echo ""; echo ""; echo ""; echo ""; echo " "; 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
-----
"; } echo ",Descarca este folosit pentru ca voi sa postati link-ri directe spre descarcare de: imagini, mp3-uri, jocuri etc...
Avertisment: daca folosesti link-uri catre site-ul tau pentru a face reclama vei primi avertisment apoi bann direct!


"; echo "Nume element:
"; echo "Adresa element:
"; echo "Adauga"; echo " "; echo ""; echo "

\"*\"/"; echo "Meniu Principal"; echo "

"; echo ""; } //////////////////////////////////Chestionare else if($action=="viewpl") { $who = $_GET["who"]; addonline(getuid_sid($sid),"(web) Vizualizare chestionar",""); echo ""; echo "$nick@$numesite"; echo ""; echo ""; echo ""; echo "

"; $uid = getuid_sid($sid); $pollid = mysql_fetch_array(mysql_query("SELECT pollid FROM lib3rtymrc_users WHERE id='".$who."'")); if($pollid[0]>0) { $polli = mysql_fetch_array(mysql_query("SELECT id, pqst, opt1, opt2, opt3, opt4, opt5, pdt FROM lib3rtymrc_polls WHERE id='".$pollid[0]."'")); if(trim($polli[1])!="") { $qst = parsepm($polli[1], $sid); echo $qst."

"; $vdone = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_presults WHERE uid='".$uid."' AND pid='".$pollid[0]."'")); $nov = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_presults WHERE pid='".$pollid[0]."'")); $nov = $nov[0]; if($vdone[0]>0) { $voted= TRUE; }else{ $voted = FALSE; } $opt1 = $polli[2]; if (trim($opt1)!="") { $opt1 = htmlspecialchars($opt1); $nov1 = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_presults WHERE pid='".$pollid[0]."' AND ans='1'")); $nov1 = $nov1[0]; if($nov>0) { $per = floor(($nov1/$nov)*100); $rests = "Voturi: $nov1($per%)"; }else{ $rests = "Voturi: 0(0%)"; } if($voted) { $lnk = "1.$opt1 $rests
"; }else{ $lnk = "1.$opt1 ;$rests
"; } echo "$lnk"; } $opt2 = $polli[3]; if (trim($opt2)!="") { $opt2 = htmlspecialchars($opt2); $nov2 = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_presults WHERE pid='".$pollid[0]."' AND ans='2'")); $nov2 = $nov2[0]; if($nov>0) { $per = floor(($nov2/$nov)*100); $rests = "Voturi: $nov2($per%)"; }else{ $rests = "Voturi: 0(0%)"; } if($voted) { $lnk = "2.$opt2 $rests
"; }else{ $lnk = "2.$opt2 $rests
"; } echo "$lnk"; } $opt3 = $polli[4]; if (trim($opt3)!="") { $opt3 = htmlspecialchars($opt3); $nov3 = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_presults WHERE pid='".$pollid[0]."' AND ans='3'")); $nov3 = $nov3[0]; if($nov>0) { $per = floor(($nov3/$nov)*100); $rests = "Voturi: $nov3($per%)"; }else{ $rests = "Voturi: 0(0%)"; } if($voted) { $lnk = "3.$opt3 $rests
"; }else{ $lnk = "3.$opt3 $rests
"; } echo "$lnk"; } $opt5 = $polli[5]; if (trim($opt4)!="") { $opt4 = htmlspecialchars($opt5); $nov4 = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_presults WHERE pid='".$pollid[0]."' AND ans='5'")); $nov4 = $nov4[0]; if($nov>0) { $per = floor(($nov4/$nov)*100); $rests = "Voturi: $nov4($per%)"; }else{ $rests = "Voturi: 0(0%)"; } if($voted) { $lnk = "4.$opt4 $rests
"; }else{ $lnk = "4.$opt4 $rests
"; } echo "$lnk"; } $opt5 = $polli[6]; if (trim($opt5)!="") { $opt5 = htmlspecialchars($opt5); $nov5 = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_presults WHERE pid='".$pollid[0]."' 2AND ans='5'")); $nov5 = $nov5[0]; if($nov>0) { $per = floor(($nov5/$nov)*100); $rests = "Voturi: $nov5($per%)"; }else{ $rests = "Voturi: 0(0%)"; } if($voted) { $lnk = "5.$opt5 $rests
"; }else{ $lnk = "5.$opt5 $rests
"; } echo "$lnk"; } echo "".date("d m y - H:i",$polli[7]).""; }else{ echo "\"x\"/Acest chestionar nu exista"; } }else{ echo "\"x\"/Acest user nu are chestionar"; } echo "

"; echo "

"; echo "\"*\"/"; echo "Meniu Principal"; echo "

"; echo ""; } //////////////////////////////////////////// Statut else if($action=="statutc") { addonline(getuid_sid($sid),"(web) Seteaza Status in lista de conectati","index.php?action=$action"); echo ""; echo "$nick@$numesite"; //echo ""; echo ""; echo ""; $uid = getuid_sid($sid); $unreadpopup=mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_popups WHERE unread='1' AND touid='".$uid."'")); if ($unreadpopup[0]>0) { echo "

"; echo popup($sid); echo "

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

"; echo "Aici va puteti actualiza stare pe care o doriti in lista de conectati, daca activati cheful in lista de conectati, tot ceea ce faceti pe site nu va fi vazut in lista de conectati,adica nu va fi vazuta locatia unde sunteti pentru va aparea cheful in locul acesteia, este interzisa folosirea a mai mult de 2 emotii in chef si deasemenea de adrese de chaturi/injuraturi, cheful poate fi actualizat si din lista de prieteni
"; $uid = getuid_sid($sid); $chef = mysql_fetch_array(mysql_query("SELECT chef FROM lib3rtymrc_users WHERE id='".$uid."'")); if($chef[0]==1){ echo ""; $cmsg = htmlspecialchars(getbudmsg(getuid_sid($sid))); echo " "; echo ""; echo "

"; echo "Text:"; echo "

"; echo ''; echo "

"; echo "«Activeaza chef in lista de conectati
"; }else{ // echo "»Dezactiveaza chef in lista de conectati
"; } echo ""; echo "Setari
"; echo "\"*\"/"; echo "Meniu Principal"; echo "

"; include("syr.php"); echo ""; } //////////////////////////////////////////// Statut else if($action=="chbmsg") { addonline(getuid_sid($sid),"(web) Seteaza Status","index.php?action=$action"); echo ""; echo "$nick@$numesite"; //echo ""; echo ""; echo ""; $uid = getuid_sid($sid); $unreadpopup=mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_popups WHERE unread='1' AND touid='".$uid."'")); if ($unreadpopup[0]>0) { echo "

"; echo popup($sid); echo "

"; echo ""; echo ""; exit(); } echo ""; $cmsg = htmlspecialchars(getbudmsg(getuid_sid($sid))); echo " "; echo ""; echo "

"; echo "

"; //echo "
"; echo "Scrie statusul tau dorit:

"; //echo ""; // echo ""; echo ""; echo "

"; echo "
"; $unreadinbox=mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_private WHERE unread='1' AND touid='".getuid_sid($sid)."'")); $pmtotl=mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_private WHERE touid='".getuid_sid($sid)."'")); $unrd="(".$unreadinbox[0]."|".$pmtotl[0].")"; echo "
:$unrd
"; echo ".:Prieteni:.
"; echo "Conectati | "; echo "Forum | "; echo "Download
"; echo ".:Index:.
"; include("syr.php"); echo "

"; echo ""; } /////////////////////////////////////////////////////////////////// Profil USER else if($action=="viewuser") { ////////////// $who = (int)$_GET['who']; $uid = getuid_sid($sid); if($who==""||$who==0)$who = getuid_sid($sid); $whonick = getnick_uid($who); $bmsg = parsemsg(getbudmsg($who), $sid); //////////// if(validare(getuid_sid($sid))<1){ addonline(getuid_sid($sid),"NEVALIDAT","profil.php?who=$who"); echo ""; echo "$sitename"; //echo ""; echo ""; echo ""; echo "

"; echo "\"*\"/Contul tau nu a fost validat
Este necesar sa-ti completezi corect profilul
Si sa astepti validarea contului tau
"; echo "Verificarea si activarea contului dumneavoastra poate dura pana la 2 de ore, va rugam asteptati.
Va multumim!


"; echo ""; echo "Daca nu vreti sa asteptati dati add la id-ul de messenger magicworld_chae
"; echo "
"; echo ""; echo "------
"; echo "Completeaza-ti Profilul
"; echo "INDEX

"; echo "
"; echo "

"; echo ""; echo ""; exit(); } echo ""; ///echo "$sitename"; echo ""; echo ""; echo ""; echo "

"; ////////// if($whonick!="") { /// link \\\ #if(isset($_GET['parola']))$x = "&parola={$_GET['parola']}"; # echo "Profil | "; # echo "Statistica | "; #echo "Informatii
"; ////////////////////id membru | validare $validated = mysql_fetch_array(mysql_query("SELECT validated, ignored FROM lib3rtymrc_users WHERE id='".$who."'")); echo "

".pm($sid).""; echo "ID MagicWorld:.:$who:.
"; # if($validated[0]==0&&$validated[1]==0&&ismod($uid)) # echo "Validare
"; ////conectat deconectat if(isonline($who)) echo "\".\"/
"; else echo "\".\"/
"; echo ".:Trimite PM:."; echo "

~~~~@@@@~~~~"; #} ////////avatar user $avlink = getavatar($who); if ($avlink=="") { $nopl = mysql_fetch_array(mysql_query("SELECT sex, birthday, location FROM lib3rtymrc_users WHERE id='".$who."'")); if($nopl[0]=='M') { $caca = "
\"avatar\"/"; }else if($nopl[0]=='F') { $caca = "
\"avatar\"/"; }else{ $caca = "
\"avatar\"/"; } }else $caca = "
\"$who\"/"; echo "$caca"; //////////////////// # if($uid!=$who){ ///////// ASL $nopl = mysql_fetch_array(mysql_query("SELECT sex, birthday, location, signature FROM lib3rtymrc_users WHERE id='".$who."'")); $uage = getage($nopl[1]); if($nopl[3]=="")$nopl[3]="am uitat sa-mi setez un motto"; else $nopl[3]=parsepm($nopl[3],$sid); if($nopl[0]=='M') $usex = "Baiat"; else if($nopl[0]=='F') $usex = "Fata"; else $usex = "Baiat"; ///////// if : else pentru locatie if($nopl[2]!=="") $local = " $nopl[2]"; else $local = "Intr-o zona nespecificata"; echo "
Are $uage Ani, este $usex, si este din : $local

.:Motto:.:
\"$nopl[3]\"

~~~~@@@@~~~~
"; /////////// echo ""; $loc = mysql_fetch_array(mysql_query("SELECT place FROM lib3rtymrc_online WHERE userid='".$who."'")); if(isonline($who)){ echo "Situare : \"$loc[0]\"
"; echo "Rang Ice : \"".getstatus($who)."\"
"; } $xx = mysql_fetch_array(mysql_query("SELECT lastact FROM lib3rtymrc_users WHERE id='".$who."'")); $lastact = time()-$xx[0]; //$lastact = 9000; $cand = gettimemsg($lastact); if($lastact>0) echo ": $cand"; else echo ".:Vizitatori:."; echo "
"; echo "

~~~~@@@@~~~~
"; echo ""; ////////////STARE CIVILA $tes1=mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM ice_legaturi WHERE partener='".$who."' and accept='1'")); $tes2=mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM ice_legaturi WHERE who='".$who."' and accept='1'")); if(($tes1[0]>0)||($tes2[0]>0)) { $ice_leg2 = mysql_fetch_array(mysql_query("SELECT who, partener, tip FROM ice_legaturi WHERE partener='".$who."' or who='".$who."'")); if($ice_leg2[0]==$who) { $trimite = $ice_leg2[1]; if( $ice_leg2[2]=='2') { $nick = getnick_uid($trimite); $nopl = mysql_fetch_array(mysql_query("SELECT sex FROM lib3rtymrc_users WHERE id='".$who."'")); if($nopl[0]=='M') { $stare = ".:Casatorit cu $nick:."; }else if($nopl[0]=='F'){ $stare = ".:Casatorita cu $nick:."; } }else if($ice_leg2[2]=='1') { $nick = getnick_uid($trimite); $nopl = mysql_fetch_array(mysql_query("SELECT sex FROM lib3rtymrc_users WHERE id='".$who."'")); if($nopl[0]=='M') { $stare = ".:Logodit cu $nick:."; }else if($nopl[0]=='F'){ $stare = ".:Logodita cu $nick:."; } } } else if($ice_leg2[1]==$who) { $trimite = $ice_leg2[0]; if( $ice_leg2[2]=='2') { $nick = getnick_uid($trimite); $nopl = mysql_fetch_array(mysql_query("SELECT sex FROM lib3rtymrc_users WHERE id='".$who."'")); if($nopl[0]=='M') { $stare = ".:Casatorit cu $nick:."; }else if($nopl[0]=='F'){ $stare = ".:Casatorita cu $nick:."; } }else if($ice_leg2[2]=='1') { $nick = getnick_uid($trimite); $nopl = mysql_fetch_array(mysql_query("SELECT sex FROM lib3rtymrc_users WHERE id='".$who."'")); if($nopl[0]=='M') { $stare = ".:Logodit cu $nick:."; }else if($nopl[0]=='F'){ $stare = ".:Logodita cu $nick:."; } } } }else{ $tes3=mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM ice_legaturi WHERE partener='".$who."' and accept='2'")); $tes4=mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM ice_legaturi WHERE who='".$who."' and accept='2'")); if(($tes3[0]>0)||($tes4[0]>0)) { $ice_leg2 = mysql_fetch_array(mysql_query("SELECT who, partener, tip FROM ice_legaturi WHERE partener='".$who."' or who='".$who."'")); if($ice_leg2[0]==$who) { $trimite = $ice_leg2[1]; if( $ice_leg2[2]=='2') { $nick = getnick_uid($trimite); $nopl = mysql_fetch_array(mysql_query("SELECT sex FROM lib3rtymrc_users WHERE id='".$who."'")); if($nopl[0]=='M') { $stare = ".:Divortat de $nick:."; }else if($nopl[0]=='F'){ $stare = ".:Divortata de $nick:."; } }else if($ice_leg2[2]=='1') { $nick = getnick_uid($trimite); $nopl = mysql_fetch_array(mysql_query("SELECT sex FROM lib3rtymrc_users WHERE id='".$who."'")); if($nopl[0]=='M') { $stare = ".:Logodna intrerupta cu $nick:."; }else if($nopl[0]=='F'){ $stare = ".:Logodna intrerupta cu $nick:."; } } } else if($ice_leg2[1]==$who) { $trimite = $ice_leg2[0]; if( $ice_leg2[2]=='2') { $nick = getnick_uid($trimite); $nopl = mysql_fetch_array(mysql_query("SELECT sex FROM lib3rtymrc_users WHERE id='".$who."'")); if($nopl[0]=='M') { $stare = ".:Divortat de $nick:."; }else if($nopl[0]=='F'){ $stare = ".:Divortata de $nick:."; } }else if($ice_leg2[2]=='1') { $nick = getnick_uid($trimite); $nopl = mysql_fetch_array(mysql_query("SELECT sex FROM lib3rtymrc_users WHERE id='".$who."'")); if($nopl[0]=='M') { $stare = ".:Logodna intrerupta cu $nick:."; }else if($nopl[0]=='F'){ $stare = ".:Logodna intrerupta cu $nick:."; }}} }else{ if($nopl[0]=='M') { $stare = ".:Singur:."; }else if($nopl[0]=='F'){ $stare = ".:Singura:."; } } } if($who!==18521) { echo ".:Stare Sentimentala:.
$stare
"; } //////////// POZE GALERIE //$pozegalerie = mysql_fetch_array(mysql_query("SELECT COUNT(id) FROM lib3rtymrc_gallery WHERE uid='".$who."' AND cuplu='0' AND validated='1'")); if($pozegalerie[0]=="0") { echo "Poze : Momentan nu are
"; }else{ //echo "Poze : $pozegalerie[0]
"; } $cati = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_users WHERE adusde='".$who."'")); if($cati[0]>0) echo "Membri adusi: $cati[0]
"; $countpics = mysql_fetch_array(mysql_query("SELECT COUNT(id) FROM lib3rtymrc_gallery WHERE uid='".$who."'")); echo "\".\"/Galerie foto:$countpics[0]
"; ///////////////// COMENTARIII $noi = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_gbook WHERE gbowner='".$who."' AND reported = 0")); if($noi[0]=="0") { $lore = "[@]"; }else{ $lore = "[@]"; } echo "Comentarii Primite: $lore|"; } if($who!==getuid_sid($sid)){ echo "Scrie
"; // $noi = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM xp_cadouri_cumparate WHERE oferit='".$who."'")); echo "Cadouri Primite: $noi[0]
"; //////////////////////// MOD PM //echo "Mod primire mesaj privat: "; //echo ""; //$vrea = mysql_fetch_array(mysql_query("SELECT delacine FROM lib3rtymrc_users WHERE id='".$who."'")); //if($vrea[0]==1) // { // echo "de la prieteni
"; // }else if($vrea[0]==2){ // echo "de la nimeni
"; // }else if($vrea[0]==3){ // echo "toti, inafara de prieteni
"; }else if($vrea[0]==0)echo "de la toti
"; //} echo "
"; echo "
~~~~@@@@~~~~
"; ////////////scuraturi utile echo ""; echo "Informatii Suplimentare
"; echo "Dedica piesa
"; echo "Trimite Cadou
"; echo "
.:Prieten:.
"; $uid = getuid_sid($sid); if(budres($uid, $who)==0) echo "Adauga Prieten|"; else if(budres($uid, $who)==1) echo "* cerere de prietenie in curs *
"; else if(budres($uid, $who)==2) echo "Sterge Prieten|"; if(budres($uid, $who)==2) echo "Ignora|"; $ires = ignoreres($uid, $who); if($ires==2) echo "Scoate din Ignoruri|"; else if($ires==1) echo "Ignora|"; //$n2 = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM xp_urmariti WHERE cine='".$uid."' AND pecine='".$who."'")); if($n2[0]==0){ echo "
"; echo "
"; $melodie = mysql_fetch_array(mysql_query("SELECT mel FROM lib3rtymrc_users WHERE id='".$who."'")); $nume_melodie = mysql_fetch_array(mysql_query("SELECT title FROM lib3rtymrc_manele WHERE id='".$melodie[0]."'")); echo "Melodie favorita:"; $mrcrazymelodie = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_manele WHERE id='$melodie[0]'")); if($mrcrazymelodie[0]=="0"){ if ($uid==$who) { echo "nesetata
"; }else{ echo "nesetata
"; } }else{ echo " ".htmlspecialchars($nume_melodie[0 ])."
"; } } /////////////////////////////////////////////////////////////////////////////////// if($who!=="$uid"){ $timp = mysql_fetch_array(mysql_query("SELECT MAX(timp) FROM fata_zilei WHERE fata='$who' AND dela='$uid'")); $timptrecut = $timp[0]+86400; $timpcurent = time(); if($timptrecut>$timpcurent) { }else{ if($nopl[0]!=="M"){ echo "Votez pt. fata zilei
"; } } } $who = $_GET["who"]; $votare = $_GET["vot"]; if($votare>'0'){ $cee = mysql_fetch_array(mysql_query("SELECT sex, permxmagic FROM lib3rtymrc_users WHERE id='$who'")); if(!$cee[1]=="0"){ echo "Membrii echipei nu pot participa la acest concurs!
"; echo "

profil membru
acasa

"; exit(); } $ceas_online=date("H:i:s",time()); if($ceas_online>'00.00.00' && $ceas_online<'01.00.00') { echo "In intervalul orei 00.00 si 01.00 nu se poate vota fata zilei!
"; echo "

profil membru
acasa

"; exit(); } if($cee[0]!=='M' && $cee[1]=='0' && $who!=="$uid"){ $timp = mysql_fetch_array(mysql_query("SELECT MAX(timp) FROM fata_zilei WHERE fata='$who' AND dela='$uid'")); $timptrecut = $timp[0]+86400; $timpcurent = time(); if($timptrecut>$timpcurent) { $remain = $timptrecut - $timpcurent; $rmsg = gettimemsg($remain); echo "
Ai votat-o deja ca fata zilei,o poti face dupa $rmsg
"; echo "

profil membru
acasa

"; exit(); }else{ $pop = mysql_fetch_array(mysql_query("SELECT fatazilei FROM lib3rtymrc_users WHERE id='$who'")); $trimise = $pop[0]+1; mysql_query("UPDATE lib3rtymrc_users SET fatazilei='$trimise' WHERE id='$who'"); $cine = getnick_uid($uid); $msg = "[user=$uid] $cine [/user] te-a propus pentru concursul [b] Fata Zilei [/b]"; mysql_query("INSERT INTO lib3rtymrc_private SET text='".$msg."', byuid='1', touid='$who', timesent='".time()."'"); $timp = time(); $merge = mysql_query("INSERT INTO fata_zilei SET fata='$who',dela='$uid',timp='$timp'"); if($merge){ echo "$whonick propusa cu succes pentru Fata zilei
"; echo "

profil membru
acasa

"; exit(); }else{ echo "Momentan se lucreaza la acest serviciu

"; } } } } /////////////////////////////////////////////////////////// if($who!==getuid_sid($sid)){ // echo "scrie comentariu
"; //echo "Trimite Cadou
"; // if(ia_sex($who)=='F'){ $cate = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM xp_fatazilei WHERE cine='".getuid_sid($sid)."' AND vot='".$_GET['vot']."'")); $sql = mysql_query("SELECT DISTINCT id, cine FROM xp_fatazilei_win ORDER BY id DESC LIMIT 0,1"); if(mysql_num_rows($sql)>0){ while($item = mysql_fetch_array($sql)){ $f = $item[cine]; } } if($pozegalerie[0]>0&&$cate[0]==0&&$f!=$who&&!extrage_tabela('perm',$who)>0){ //echo "Voteaza pt. fata zilei
"; if(isset($_GET['vot'])){ $cate = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM xp_fatazilei WHERE cine='".getuid_sid($sid)."' AND vot='".$who."'")); if($cate[0]==0){ $k = mysql_query("INSERT INTO xp_fatazilei VALUES('','".getuid_sid($sid)."','".$who."','".time()."','')"); if($k){echo "Ai votat pe ".nume_id($who,$sid)." cu succes
"; autopm("Ai primit un vot pentru fata zilei de la ".getnick_uid($uid)."!",$who); } }else{ echo "Poti vota pe ".nume_id($who,$sid)." o data pe zi
"; } } } } // } //////////ECHIPA if(ismod(getuid_sid($sid))) { include("comenzi.php"); echo "-Comenzi Proprietar
"; echo "Monezi
"; $nopl = mysql_fetch_array(mysql_query("SELECT browserm FROM lib3rtymrc_users WHERE id='".$who."'")); echo "$nopl[0]
"; $uipadd = mysql_fetch_array(mysql_query("SELECT ipadd FROM lib3rtymrc_users WHERE id='".$who."'")); echo "$uipadd[0]
"; //echo "Conexiune
"; //echo "Acorda puncte Quizz/Fazan
"; if(cansee(getuid_sid($sid), $who)) { echo ""; $unol = mysql_fetch_array(mysql_query("SELECT lastpnreas FROM lib3rtymrc_users WHERE id='".$who."'")); if($unol[0]!="") { echo "Motiv penalizare: $unol[0]
"; } $unol = mysql_fetch_array(mysql_query("SELECT lastplreas FROM lib3rtymrc_users WHERE id='".$who."'")); if($unol[0]!="") { echo "Motiv monezi: $unol[0]
"; } echo "
"; } } echo "
"; }else echo "Acest membru nu exista in comunitatea noastra
"; echo ""; echo "Acasa"; echo "

"; echo ""; } ////////////////////////////////////////////// else if($action=="info_sup") { ////////////// $who = (int)$_GET['who']; $uid = getuid_sid($sid); if($who==""||$who==0)$who = getuid_sid($sid); $whonick = getnick_uid($who); $bmsg = parsemsg(getbudmsg($who), $sid); //////////// if(validare(getuid_sid($sid))<1){ addonline(getuid_sid($sid),"NEVALIDAT","profil.php?who=$who"); echo ""; echo "$sitename"; echo ""; echo ""; echo ""; echo "

"; echo "\"*\"/Contul tau nu a fost validat
Este necesar sa-ti completezi corect profilul
Si sa astepti validarea contului tau
"; echo "Verificarea si activarea contului dumneavoastra poate dura pana la 2 de ore, va rugam asteptati.
Va multumim!


"; echo ""; echo "Daca nu vreti sa asteptati dati add la id-ul de messenger contact_icechat
"; echo "
"; echo ""; echo "------
"; echo "Completeaza-ti profilul
"; echo "Acasa

"; echo "
"; echo "

"; echo ""; echo ""; exit(); } addonline(getuid_sid($sid),"Vizualizare profil","profil.php?who=$who"); echo ""; echo "$sitename"; echo ""; echo ""; echo ""; echo "

"; ////////// if($whonick!="") { if(isonline($who)){ $oraexacta = mysql_fetch_array(mysql_query("SELECT logat FROM lib3rtymrc_users WHERE id='".$who."'")); $jdt = date("H:i",$oraexacta[0]); //echo "Conectat de la: $jdt
"; } echo "

.:Statistici IceChat:.

"; echo "Monezi|Plusuri|Trivia:
"; echo ".:Monezi:.: ".monezi($who)."
"; $nopl = mysql_fetch_array(mysql_query("SELECT plusses FROM lib3rtymrc_users WHERE id='".$who."'")); echo ".:Plusuri:.: $nopl[0]
"; $trivia = mysql_fetch_array(mysql_query("SELECT trivia FROM lib3rtymrc_users WHERE id='".$who."'")); echo ".:Trivia:.: $trivia[0]
"; echo "- - - - - - -
"; echo"Activitate Chat:
"; $topicuri_forum = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_topics WHERE authorid='".$who."'")); $link_topicuri = "$topicuri_forum[0]"; echo ".:Topicuri Create:.: $link_topicuri
"; $postari_forum = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_posts WHERE uid='".$who."'")); $link_postari = "$postari_forum[0]"; echo ".:Postari in Forum:.: $link_postari
"; $mesaje_chat = mysql_fetch_array(mysql_query("SELECT chmsgs FROM lib3rtymrc_users WHERE id='".$who."'")); echo ".:Postari pe Chat:.: $mesaje_chat[0]
"; echo "- - - - - - -
"; echo "Istoric Cont:
"; $timp_unix_online = mysql_fetch_array(mysql_query("SELECT otime FROM lib3rtymrc_users WHERE id='".$who."'")); $convert = gettimemsg($timp_unix_online[0]); echo ".:Timp Total Online:.: $convert
"; $data_inreg = mysql_fetch_array(mysql_query("SELECT regdate FROM lib3rtymrc_users WHERE id='".$who."'")); $xp = date("d-m-y",$data_inreg[0]); echo ".:Inscris in Data:. : $xp
"; $ani = time()-$data_inreg[0]; $vechimee = ceil($ani/(24*60*60)); echo ".:Varsta IceChat:.: $vechimee Zile
"; //$loc_online = mysql_fetch_array(mysql_query("SELECT topcon FROM lib3rtymrc_users WHERE id='".$who."'")); // echo "Loc in top Online: $loc_online[0]
"; }//else // echo "Acest membru nu exista in comunitatea noastra!
"; echo "- - - - - - -
"; echo "Optiuni Suplimentare:
"; $melodie = mysql_fetch_array(mysql_query("SELECT mel_fav FROM lib3rtymrc_users WHERE id='".$who."'")); $nume_melodie = mysql_fetch_array(mysql_query("SELECT title FROM lib3rtymrc_manele WHERE id='".$melodie[0]."'")); echo ".:Melodie Favorita:.:
"; $xpert = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_manele WHERE id='$melodie[0]'")); if($xpert[0]=="0"){ if ($uid==$who) echo "Se pare ca nu ti-ai setat inca o melodie ce te reprezinta!O poti face oricand de la Download!
"; else echo "Se pare ca nu ti-ai setat inca o melodie ce te reprezinta!O poti face oricand de la Download!
"; }else echo "\"".htmlspecialchars($nume_melodie[0])."\"
"; list($dedicatii_primite) = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM cam_dedicatii WHERE touid = $who")); list($dedicatii_trimise) = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM cam_dedicatii WHERE byuid = $who")); list($id,$cine,$catre) = mysql_fetch_array(mysql_query("SELECT id, byuid, touid FROM cam_dedicatii WHERE byuid = $who OR touid = $who ORDER by id DESC LIMIT 0,1")); echo ".:Dedicatii Primite:. : $dedicatii_primite / $dedicatii_trimise "; if($id>0) echo "
Meniul Dedicatiilor
"; else echo "
"; echo "

"; $unreadinbox=mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_private WHERE unread='1' AND touid='".getuid_sid($sid)."'")); $pmtotl=mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_private WHERE touid='".getuid_sid($sid)."'")); $unrd="(".$unreadinbox[0]."|".$pmtotl[0].")"; echo "
:$unrd
"; echo ".:Profilul Meu:.
"; echo ".:Setari Profil:.
"; echo "Conectati | "; echo "Forum | "; echo "Download
"; echo ".:Index:."; echo "

"; echo ""; } ////////////////////////////////////////// uxset else if($action=="uxset") { addonline(getuid_sid($sid),"(web) Setari extinse","index.php?action=$action"); echo ""; echo "$nick@$numesite"; //echo ""; echo ""; echo ""; echo "

"; echo "»Adresa mea
"; echo "»Personalitate
"; echo "»Gmail Settings
"; echo "»Mai multe despre mine
"; echo "»Preferinte
"; echo "

"; echo "

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

"; echo ""; } //////////////////////////////////////////User Address else if($action=="uadd") { addonline(getuid_sid($sid),"(web) Adresa mea",""); echo ""; echo "$nick@$numesite"; //echo ""; echo ""; echo ""; echo ""; $ainfo = mysql_fetch_array(mysql_query("SELECT country, city, street, phoneno, timezone FROM lib3rtymrc_xinfo WHERE uid='".getuid_sid($sid)."'")); echo " "; echo ""; echo "

"; echo "\"!\"/Dute la Preferinte si alege doar prietenii daca vrei ca doar prietenii sa vada numarul tau de telefon si adresa unde stai
"; echo "\"!\"/Daca vrei ca nimeni sa nu iti vada informatiile astea nu le completa
"; echo "

"; echo ' Tara:
Oras:
Timezone(e.g +1 or -2.5):
Numar telefon.:
'; echo "
"; echo "

"; echo "

"; echo ""; echo "Seteaza profil
"; echo "\"*\"/"; echo "Meniu Principal"; include("syr.php"); echo "

"; echo ""; } //////////////////////////////////////////User Preferences else if($action=="upre") { addonline(getuid_sid($sid),"(web) Preferinte",""); echo ""; echo "$nick@$numesite"; //echo ""; echo ""; echo ""; echo ""; $ainfo = mysql_fetch_array(mysql_query("SELECT sitedscr, budsonly, sexpre FROM lib3rtymrc_xinfo WHERE uid='".getuid_sid($sid)."'")); echo " "; echo ""; echo "

"; echo "\"!\"/Situl tau este deja pus pe setarile normale
"; echo "\"!\"/Seteaza prietenii doar pe da, asa ca doar prietenii tai iti poti vedea numarul tau de telefon, strada si numele real
"; echo "\"!\"/Preferintele sexuale vor ajuta pe ceilalti si pe tine sa fii cautat de cine trebuie

"; echo "

"; echo ' Descriere site:
Doar prietenii:
Preferinte sexuale: '; echo "

"; echo "

"; echo "

"; echo ""; echo "Seteaza profil
"; echo "\"*\"/"; echo "Meniu Principal"; include("syr.php"); echo "

"; echo ""; } //////////////////////////////////////////User Personaliy else if($action=="uper") { addonline(getuid_sid($sid),"(web) Personalitate",""); echo ""; echo "$nick@$numesite"; //echo ""; echo ""; echo ""; echo ""; $ainfo = mysql_fetch_array(mysql_query("SELECT height, weight, realname, racerel, eyescolor, profession, hairtype FROM lib3rtymrc_xinfo WHERE uid='".getuid_sid($sid)."'")); echo " "; echo ""; echo "

"; echo "

"; echo ' Inaltime:
Greutate:
Nume real:
Origine etnica:
Culoarea ochilor:
Culoarea parului:
Profesie:
'; echo "

"; echo "

"; echo "

"; echo ""; echo "Seteaza profil
"; echo "\"*\"/"; echo "Meniu Principal"; echo "

"; echo ""; } ///////////////////////////////////Setari diverse else if($action=="altele") { addonline(getuid_sid($sid),"(web) Setari diverse",""); echo ""; echo "$nick@$numesite"; // echo ""; echo ""; echo ""; echo ""; $uid = getuid_sid($sid); $test = mysql_fetch_array(mysql_query("SELECT crefresh, prefresh, lrefresh, lchat, imagini FROM lib3rtymrc_users WHERE id='".$uid."'")); echo " "; echo ""; echo "

"; echo "Setari diverse"; echo "

"; echo "

"; echo "

"; echo "Refresh pe chat:
"; echo "Refresh in posta/lista conectati/prieteni:
"; echo "Conectati pe pagina(lista de conectati):
"; echo "Linii pe camera de chat:
"; echo "Design site cu imagini:
"; echo "

"; echo "

"; echo "

"; echo "

"; echo "-----
"; echo "\"*\"/"; echo "Meniu setari
"; echo "\"*\"/"; echo "Meniu Principal

"; echo ""; } //////////////////////////////////////////Actualizare setari diverse else if($action=="altele2") { addonline(getuid_sid($sid),"(web) Actualizeaza setari diverse",""); $crefresh = $_POST["crefresh"]; $prefresh = $_POST["prefresh"]; $lrefresh = $_POST["lrefresh"]; $lchat = $_POST["lchat"]; $imagini = $_POST["imagini"]; echo ""; echo "$nick@$numesite"; //echo ""; echo ""; echo ""; echo "

"; $uid = getuid_sid($sid); $res = mysql_query("UPDATE lib3rtymrc_users SET crefresh='".$crefresh."', prefresh='".$prefresh."', lrefresh='".$lrefresh."', lchat='".$lchat."', imagini='".$imagini."' WHERE id='".$uid."'"); if($res) { echo "\"o\"/Setari diverse actualizate cu succes cu succes
"; }else{ echo "\"x\"/Eroare in actualiarea profilului
"; } echo "\"*\"/"; echo "Meniu setari
"; echo "
\"*\"/"; echo "Meniu Principal"; echo "

"; } //////////////////////////////////////////User Personaliy else if($action=="umin") { addonline(getuid_sid($sid),"(web) Mai multe despre mine",""); echo ""; echo "$nick@$numesite"; ///echo ""; echo ""; echo ""; echo ""; $ainfo = mysql_fetch_array(mysql_query("SELECT likes, deslikes, habitsb, habitsg, favsport, favmusic, moretext FROM lib3rtymrc_xinfo WHERE uid='".getuid_sid($sid)."'")); echo " "; echo ""; echo "

"; echo "

"; echo ' Imi place:
Nu imi place:
Defecte:
Calitati:
Sport favorit:
Muzica favorita:
Mai multe detalii:
'; echo "

"; echo "

"; echo "

"; echo ""; echo "Seteaza profil
"; echo "\"*\"/"; echo "Meniu Principal"; echo "

"; echo ""; } else if($action=="altes") { addonline(getuid_sid($sid),"(web) Seteaza Profil",""); echo ""; echo "$nick@$numesite"; //echo ""; echo ""; echo ""; echo ""; $ainfo = mysql_fetch_array(mysql_query("SELECT country, city, street, phoneno, timezone FROM lib3rtymrc_xinfo WHERE uid='".getuid_sid($sid)."'")); echo " "; echo ""; echo "

"; echo "\"!\"/Dute la Preferinte si alege doar prietenii daca vrei ca doar prietenii sa vada numarul tau de telefon si idul tau de messenger
"; echo "\"!\"/Daca vrei ca nimeni sa nu iti vada informatiile astea nu le completa
"; echo "

"; echo ' Id Messenger:
Numar telefon.:
'; echo "
"; echo "

"; echo "

"; echo ""; echo "Seteaza profil
"; echo "\"*\"/"; echo "Meniu Principal"; include("syr.php"); echo "

"; echo ""; } //////////////////////////////////////////Give Game Plusses else if($action=="givegp") { $who = $_GET["who"]; addonline(getuid_sid($sid),"(web) Da GPs",""); echo ""; echo "$nick@$numesite"; // echo ""; echo ""; echo ""; echo ""; echo " "; echo ""; echo "

"; echo "

"; echo "Da GP la ".getnick_uid($who)."

"; $gps = mysql_fetch_array(mysql_query("SELECT gplus FROM lib3rtymrc_users WHERE id='".getuid_sid($sid)."'")); echo "Ai $gps[0] GP

"; echo "GP de dat
"; echo "
"; echo ""; echo "
"; echo "

\"*\"/"; echo "Meniu Principal"; echo "

"; echo ""; } //////////////////////////////////////////Give Battle points else if($action=="batp") { $who = $_GET["who"]; addonline(getuid_sid($sid),"(web) Da puncte de batalie",""); echo ""; echo "$nick@$numesite"; //echo ""; echo ""; echo ""; echo ""; echo " "; echo ""; echo "

"; $judg = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_judges WHERE uid='".getuid_sid($sid)."'")); if(ismod(getuid_sid($sid))||$judg[0]>0) { echo "Da/Ia puncte de batalie de la ".getnick_uid($who)."

"; echo "

"; echo ""; echo " "; echo ""; echo "

"; echo "
"; echo ""; echo " "; echo ""; echo "

"; }else{ echo "Zorro iti zice ca esti expirat :D"; } echo "

\"*\"/"; echo "Meniu Principal"; echo "

"; echo ""; } ////// chat else if ($action=="chat") { addonline(getuid_sid($sid),"Chat|Trivia(.:WaP:.)","index.php?action=$action"); echo ""; echo "$nick@$numesite"; //echo ""; echo ""; echo ""; echo "

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

"; echo ""; echo ""; exit(); } echo ""; echo 'Asculta WebRadio!Un Radio cu muzica de calitate si pe toate gusturile!
'; echo "Il poti descarca de-aici :.:Web Radio Lightone:.

"; echo "
"; echo "

"; echo "

"; echo "

"; echo "

"; echo ""; echo "Comunica,si poti castiga un .:PRIETEN:.:
"; $rooms = mysql_query("SELECT id, name, perms, mage, chposts FROM lib3rtymrc_rooms WHERE static='1' AND clubid='0'"); while ($room= mysql_fetch_array($rooms)) { if(canenter($room[0], $sid)) { $noi = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_chonline WHERE rid='".$room[0]."'")); echo "$room[1]($noi[0])
"; } } echo "
"; echo "Camere Private
"; echo "
"; echo "Gandeste,si .:CASTIGA:.:
"; $chatters=mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_onlinefazan")); // echo "Joaca Fazaniada($chatters[0])
"; $chatters=mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_onlinetrivia")); echo "Trivia($chatters[0])
"; // smart $chatters=mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM ice_onlinesmart")); echo "Anagrame($chatters[0])
"; // spanzuratoarea $chatters=mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM ice_onlinespanzr")); //echo "Spanzuratoarea($chatters[0])
"; echo "

"; echo "

"; $unreadinbox=mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_private WHERE unread='1' AND touid='".getuid_sid($sid)."'")); $pmtotl=mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_private WHERE touid='".getuid_sid($sid)."'")); $unrd="(".$unreadinbox[0]."|".$pmtotl[0].")"; echo ":$unrd
"; echo ""; echo "Conectati | "; echo "Forum | "; echo "Download
"; echo "Index
"; include("syr.php"); echo "

"; echo ""; } else if ($action=="uchat") { addonline(getuid_sid($sid),"(web) Camere private","index.php?action=$action"); echo ""; echo "$nick@$numesite"; //echo ""; echo ""; echo ""; echo "

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

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

"; echo "Gandindu-ne ca vreti intimitate,sa vorbiti doar cu persoanele ce le indragiti am adaugat CAMERELE PRIVATE!
"; echo "Pentru a crea o camera privata,tot ce trebuie sa faceti e sa da-ti CREARE CAMERA!
"; echo "Dupa care ve-ti ajunge sa oferiti un NUME camerei dorite de voi,si o PAROLA in caz ca vreti sa fie o camera privata pe baza de parola,de nu,nu pune-ti nici-o parola si va fi o camera publica!
"; echo "De ati urmat pasii de sus,de ve-ti da apoi pe Meniu Chat Privat,ve-ti ajunge la camerele private,si bineinteles,la camera creata de voi!
"; echo "
"; echo "

"; echo "

"; echo "

"; echo ".:Creare Camera:.
"; $rooms = mysql_query("SELECT id, name, pass FROM lib3rtymrc_rooms WHERE static='0'"); $co=0; while ($room= mysql_fetch_array($rooms)) { $co++; if(canenter($room[0], $sid)) { $noi = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_chonline WHERE rid='".$room[0]."'")); if($room[2]=="") { echo "".htmlspecialchars($room[1])."($noi[0])
"; }else{ echo "

"; echo "
"; echo ''; echo ""; echo ""; echo "
"; } } } echo "

"; echo "

"; echo "Conectati | "; echo "Forum | "; echo "Download
"; echo "Index|"; echo "Chat"; include("syr.php"); echo "

"; echo ""; } else if($action=="mkroom") { addonline(getuid_sid($sid),"Creare Camera Privata(.:WaP:.)","index.php?action=$action"); echo ""; echo "$nick@$numesite"; //echo ""; echo ""; echo ""; echo "

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

"; echo ""; echo ""; exit(); } echo "De ati fost atenti la pagina anterioara,unde va era explicat cum sa creati camera,nu veti intampina nici-o problema!Succes!
"; echo "
"; echo "Numele Camerei Dorite

"; echo "Parola

"; echo "

"; echo "

"; echo "

"; echo "

"; $unreadinbox=mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_private WHERE unread='1' AND touid='".getuid_sid($sid)."'")); $pmtotl=mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_private WHERE touid='".getuid_sid($sid)."'")); $unrd="(".$unreadinbox[0]."|".$pmtotl[0].")"; echo ":$unrd
"; echo ""; echo "Conectati | "; echo "Forum | "; echo "Download
"; echo "Index|"; echo "Chat
"; echo "

"; include("syr.php"); echo ""; } else if ($action=="funm") { addonline(getuid_sid($sid),"(web) Meniu jocuri","index.php?action=$action"); echo ""; echo "$nick@$numesite"; //echo ""; echo ""; echo ""; echo "

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

"; echo ""; echo ""; exit(); } echo "Bine ai venit in meniul jocurilor oferite de MagicWorld !"; echo "

"; echo "

"; echo ".::Jocuri Dinamice::.
"; //echo "Animalutzul tau
"; echo "Avioanele
"; echo "Raliuri MagicWorld-ChatCom
"; echo "Jocuri noroc
"; echo " \".\"/ Triburile
"; echo ".::Jocuri Distractive::.
"; echo "Ghiceste numarul
"; echo "Spanzuratoarea
"; echo "Loto 20/99
"; echo "Loto 20/80
"; echo "X si 0
"; echo "RPG
"; echo "Barbut
"; // echo "Gaseste Bomba
"; echo "

"; echo "

"; $unreadinbox=mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_private WHERE unread='1' AND touid='".getuid_sid($sid)."'")); $pmtotl=mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_private WHERE touid='".getuid_sid($sid)."'")); $unrd="(".$unreadinbox[0]."|".$pmtotl[0].")"; echo "
:$unrd
"; echo ".:Setari Profil:.
"; echo "Conectati | "; echo "Forum | "; echo "Download
"; echo ".:Index:."; include("syr.php"); echo "

"; echo ""; } ///////////////////////////////////Seteaza profil else if($action=="setari") { addonline(getuid_sid($sid),"Seteaza profil","index.php?action=$action"); echo ""; echo "$nick@$numesite"; // echo ""; echo ""; echo ""; echo "

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

"; echo ""; echo ""; exit(); } // include("popups.php"); echo "Pentru a evita unele Sanctiuni ale Echipei,e recomandat sa va completati profilul corespunzator!
"; echo "Asta insemnand : VARSTA | LOCALITATEA | MOTTO-ul | CHEF-ul PM-ului | AVATARUL si bineinteles si celelalte FACILITATI OFERITE!
"; echo "Avand profilul completat corect,va puteti gasi un PRIETEN mai usor!
"; echo "Pentru a evita orice nelamurire,vizualizeaza-ti profilul,si vezi de are nevoie de vreo modificare:
"; $uid =getuid_sid($sid); echo "
.:Profilul Meu:.

"; echo "

"; echo "

"; echo "
"; echo "Setari ale Profilului:
"; $uid =getuid_sid($sid); echo "\".\"/.:Profilul Meu:.
"; echo "\".\"/.:Editeaza Profil:.
"; echo "\".\"/.:Seteaza Avatar:.
"; echo "\"*\"/.:Seteaza Chef PM:.
"; //$hidden = mysql_fetch_array(mysql_query("SELECT hidden FROM lib3rtymrc_users WHERE id='".$uid."'")); //if($hidden[0]==1) //{ echo "\".\"/Intra pe modul invizibil
"; //}else{ //echo "\".\"/Iesi de pe modul invizibil
"; //} echo "\".\"/.:Schimba Parola:.
"; echo "\".\"/.:Accesarea Profilului:.
"; //echo "\".\"/.:Modifica Design Chat:.
"; echo "Setari Personale
"; echo "\".\"/.:Starea Civila:.
"; echo "\".\"/.:GoogleMagicWorld:.
"; echo " \".\"/.:Prieteni Invitati:.
"; $noi = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_ignore WHERE name='".$uid."'")); echo "\".\"/.:Modifica Nick:.
"; echo "\".\"/.:Activitatea Mea:.
"; echo "

"; echo "

"; $unreadinbox=mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_private WHERE unread='1' AND touid='".getuid_sid($sid)."'")); $pmtotl=mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_private WHERE touid='".getuid_sid($sid)."'")); $unrd="(".$unreadinbox[0]."|".$pmtotl[0].")"; echo "
:$unrd
"; echo "Conectati | "; echo "Forum | "; echo "Download
"; echo ".:Index:.
"; echo "

"; echo ""; } else if($action=="sitethms") { addonline(getuid_sid($sid),"Schimba Tema",""); echo ""; echo "Teme $sitte"; //echo ""; echo ""; echo ""; echo "

"; echo ".:Bine ati venit in Design-ul Chat-ului:.

"; echo "

Aici aveti oportunitatea de a selecta Temele Chatului,ce va vor schimba in principiu Aspectul!"; echo "

Ramane sa descoperi-ti voi!


"; echo "
.:Seteaza Tema:.
"; echo "
"; echo ""; echo ""; echo "
"; echo "

"; echo "

"; $unreadinbox=mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_private WHERE unread='1' AND touid='".getuid_sid($sid)."'")); $pmtotl=mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_private WHERE touid='".getuid_sid($sid)."'")); $unrd="(".$unreadinbox[0]."|".$pmtotl[0].")"; echo "
:$unrd
"; echo ".:Setari Profil:.
"; echo "Conectati | "; echo "Forum | "; echo "Download
"; echo ".:Index:."; echo "

"; echo ""; } ///////////////////////// notificare pm else if($action=="notificare") { addonline(getuid_sid($sid),"(web) Notificare Pm",""); echo ""; echo "$nick@$numesite"; //echo ""; echo ""; echo ""; echo "

"; echo "Daca ai o adresa de e-mail valida pusa la profil,activand optiunea vei primi un e-mail de fiecare data cand cineva iti va trimite un pm pe $numesite si tu nu esti online"; echo "
-------
"; echo "

"; echo "

"; $uid =getuid_sid($sid); $notificare = mysql_fetch_array(mysql_query("SELECT notificare FROM lib3rtymrc_users WHERE id='".$uid."'")); if($notificare[0]==1) { echo "»Dezactiveaza notificare PM prin mail«
"; }else{ echo "»Activeaza notificare PM prin mail«
"; } echo "
"; echo "

"; echo "

"; echo "Setari profil
"; echo "\"*\"/"; echo "Meniu Principal"; echo "

"; echo "

"; echo ""; echo "P.S.:aceasta optiune este doar pentru cei care au o adresa de e-mail valida la profil"; echo ""; echo "

"; echo ""; } //////////////////////////// mod primire alerte else if($action=="alerteset") { addonline(getuid_sid($sid),"(web) Seteaza alerte","index.php?action=$action"); echo ""; echo "$nick@$numesite"; //echo ""; echo ""; echo ""; echo "

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

"; echo ""; echo ""; exit(); } // include("popups.php"); echo "\"*\"/
"; echo "Mod primire alerte
"; echo "

"; echo "

"; echo "In mod initial alertele sunt active doar pentru prieteni,daca doriti sa primiti alerte de la toti trebuie sa \"Dezactiveaza alertele numai pentru prieteni\"
"; //////////////// alertele $popmsgs = mysql_fetch_array(mysql_query("SELECT popmsg FROM lib3rtymrc_users WHERE id='".$uid."'")); if($popmsgs[0]==0){ echo "»Activeaza alertele
"; }else{ //////////////// alertele $alerte = mysql_fetch_array(mysql_query("SELECT alerte FROM lib3rtymrc_users WHERE id='".$uid."'")); if($alerte[0]==1) { echo "»Activeaza alertele numai pentru prieteni
"; }else{ echo "»Dezactiveaza alertele numai pentru prieteni
"; } // echo "-----
»Dezactivaza alertele
"; } echo "

"; echo "

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

"; echo ""; } //////////////////////////// mesaje automate else if($action=="autopms") { addonline(getuid_sid($sid),"(web) Seteaza Mesajele Automate","index.php?action=$action"); echo ""; echo "$nick@$numesite"; //echo ""; echo ""; echo ""; echo "

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

"; echo ""; echo ""; exit(); } // include("popups.php"); echo "\"*\"/
"; echo "Auto PM-uri
"; echo "

"; echo "

"; echo "Dezactivand acesta optiune nu ve-ti mai primi pm-uri automate cand primiti un cometariu la profil,poza sau cand ve-ti mai fi acceptati/stersi din lista de prieteni a unui user!
"; if(automsgs($uid)){ echo "»Dezactiveaza Mesajele automate
"; }else{ echo "»Activeaza Mesajele Automate
"; } echo "

"; echo "

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

"; echo ""; } /////////////////////////alertele else if($action=="popread") { echo ""; echo "$nick@$numesite"; //echo ""; echo ""; echo ""; echo "

"; $lastloc=$_GET["lastloc"]; $pmid=$_GET["pmid"]; $ncl = mysql_query("UPDATE lib3rtymrc_private SET read='1' WHERE id='".$pmid."'"); echo "Pm Now Marked As Read Visit Your Inbox To Reply Or delete the message.
"; echo "

"; echo "

"; if($lastloc=="indxmain"){ echo ""; }else if($lastloc=="cht"){ $rid=$_GET["rid"]; echo ""; } echo "Back To Where You Where Before"; echo "

"; echo ""; } ///////////////////////////// alerte on else if($action=="popenable") { echo ""; echo "$nick@$numesite"; //echo ""; echo ""; echo ""; echo "

"; $ncl = mysql_query("UPDATE lib3rtymrc_users SET popmsg='1' WHERE id='".$uid."'"); echo "\"o\"/Alerte Activate cu succes
"; echo "

"; echo "

"; echo "\"*\"/"; echo "Meniu Principal"; echo "

"; echo ""; } ////////////////////////////// alerte off else if($action=="popdisable") { echo ""; echo "$nick@$numesite"; //echo ""; echo ""; echo ""; echo "

"; $ncl = mysql_query("UPDATE lib3rtymrc_users SET popmsg='0' WHERE id='".$uid."'"); echo "\"o\"/Alerte dezactivate cu succes.
"; echo "

"; echo "

"; echo "\"*\"/"; echo "Meniu Principal"; echo "

"; echo ""; } ////////////////////// seteaza alerte else if($action=="setalerte") { addonline(getuid_sid($sid),"(web) Seteaza alerte",""); echo ""; echo "$nick@$numesite"; // echo ""; echo ""; echo ""; echo "

"; echo "\"*\"/
"; echo ""; $uid = getuid_sid($sid); $ncl = mysql_query("SELECT popmsg FROM lib3rtymrc_users WHERE id='".$uid."'"); echo " "; echo ""; echo "Mod primire Alerte

"; echo ""; echo "
"; echo "Confirma"; echo "
"; echo "\"*\"/"; echo "Meniu Principal"; echo "

"; echo ""; } ////////////////////// seteaza pm-uri else if($action=="setpm") { addonline(getuid_sid($sid),"(web) Seteaza PM-uri",""); echo ""; echo "$nick@$numesite"; ///echo ""; echo ""; echo ""; echo "

"; echo "\"*\"/
"; echo ""; $uid = getuid_sid($sid); $ncl = mysql_query("SELECT pmmsg FROM lib3rtymrc_users WHERE id='".$uid."'"); echo " "; echo ""; echo "Mod primire PM-uri

"; echo "
"; echo "Confirma"; echo "
"; echo "\"*\"/"; echo "Meniu Principal"; echo "

"; echo ""; } ////////////////////////////////////////////////////////Validare veche :D else if($action=="validare") { addonline(getuid_sid($sid),"(web) Trimitere Cerere validare",""); echo ""; echo "$nick@$numesite"; //echo ""; echo ""; echo ""; echo "

"; echo "\"*\"/
"; $whonick = getnick_uid($who); echo "(*)Pentru a avea acces in totalitate la meniul siteului dupa ce ai completat profilul trimite o cerere de validare!
"; echo "»Completeaza Profilul«
"; echo "(*)Trimite cere de validare:

"; ////echo "Numele:
"; ///echo "
"; echo "»Trimit cerere de validare!"; echo ""; echo ""; echo "«

"; echo "\"*\"/"; echo "Meniu Principal"; echo "

"; echo ""; } ////////////////////////////////////////////////////////Deconectare else if($action=="deconectare") { $uid = getuid_sid($sid); $whonick = getnick_uid($uid); if($uid>0) { addonline(getuid_sid($sid),"(web) Deconectat(a)",""); } echo ""; echo "$nick@$numesite"; //echo ""; echo ""; echo ""; echo "

"; // echo "\"*\"/
"; echo "Te-ai deconectat , $whonick!

"; echo "Iti multumim ca ai ales site-ul nostru si te mai asteptam cu multe noutati!
"; ////////////////////// conectat de .... $regd = mysql_fetch_array(mysql_query("SELECT regdate, lastvst, logat FROM lib3rtymrc_users WHERE id='".$uid."'")); $sage = time()-$regd[2]; $rwage = gettimemsg($sage); $lastact = time()-$regd[2]; $conectat = gettimemsg($lastact); echo "Ai stat conectat pe MagicWorld-Chat.Com:
$conectat

"; $libsql = mysql_fetch_array(mysql_query("SELECT sesiunemax FROM lib3rtymrc_users WHERE id='".$uid."'")); $cat = gettimemsg($libsql[0]); if($libsql[0]<$lastact) { mysql_query("UPDATE lib3rtymrc_users SET sesiunemax='".$lastact."' WHERE id='".$uid."'"); echo "Ti-ai intrecut vechiul record!
"; } # $noi = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM xp_urmariti WHERE pecine='".getuid_nick($uid)."'")); if($noi[0]>0){ $sql = mysql_query("SELECT id, cine FROM xp_urmariti WHERE notif='1' AND pecine='".getuid_nick($uid)."'"); while ($id = mysql_fetch_array($sql)){ trim_pm("[mss=http://ice-chat.ro/Spy.gif].[/mss][br/]".$uid." a iesit pe chat. Adu-l inapoi.", 3, $id['cine']); } } # mysql_query("DELETE FROM lib3rtymrc_ses WHERE uid='".$uid."'"); mysql_query("DELETE FROM lib3rtymrc_online WHERE userid='".$uid."'"); mysql_query("UPDATE lib3rtymrc_users SET ulttpc='', ultpg='' WHERE id='".$uid."'"); mysql_query("UPDATE lib3rtymrc_users SET OK_TEAM='0' WHERE id='".$uid."'"); echo "
"; echo "inapoi
"; /////////////////////// pana aici echo "

"; echo ""; } ////// deconectare definitiva else if($action=="deconectare1") { $uid =getuid_sid($sid); if($uid>0) { addonline(getuid_sid($sid),"(web) Deconectat(a)",""); } echo ""; echo "$nick@$numesite"; //echo ""; echo ""; echo ""; echo "

"; echo "\"*\"/
"; echo "Esti deconectat
Va multumim pentru vizita va mai asteptam!enjoy...
-----
"; mysql_query("DELETE FROM lib3rtymrc_ses WHERE uid='".$uid."'"); mysql_query("DELETE FROM lib3rtymrc_online WHERE userid='".$uid."'"); echo "»"; echo "logare«"; echo "

© $numesite"; echo "

"; echo ""; } ///////////////////////////////////Extra meniu else if($action=="extra") { addonline(getuid_sid($sid),"(web) Extra meniu","index.php?action=$action"); echo ""; echo "$nick@$numesite"; echo ""; echo ""; echo ""; echo "

"; $uid = getuid_sid($sid); echo "Bine ai venit in Meniul Serviciilor oferite de IceChat!"; echo "

"; echo "

"; echo "
"; $uid =getuid_sid($sid); echo ".:Servicii MagicWorld-Chat:.:
"; $on=mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM n3s_conectquiz`")); //echo "-Quiz Automat($on[0])
"; echo ".:Dedicatii:.
"; echo ".:Magazine Virtuale:.
"; echo ".:Verifica ID Messenger:.
"; echo ".:Gaseste Adresa Hi5:.
"; echo ".:Categorii Emotii:.
"; //echo "-Meniu Ajutor
"; //echo "-Statuturi Si Simboluri
"; //echo "-Lista Emotii
"; //echo "-Categorii Emotii(7)
"; //echo "-CoduriBB
"; //echo "-------
"; echo "

"; echo "

"; $unreadinbox=mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_private WHERE unread='1' AND touid='".getuid_sid($sid)."'")); $pmtotl=mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_private WHERE touid='".getuid_sid($sid)."'")); $unrd="(".$unreadinbox[0]."|".$pmtotl[0].")"; echo "
:$unrd
"; echo ".:Setari Profil:.
"; echo "Conectati | "; echo "Forum | "; echo "Download
"; echo ".:Index:."; echo "

"; echo ""; } ///////////////////////////////view blog else if($action=="viewblog") { $bid = $_GET["bid"]; addonline(getuid_sid($sid),"(web) Vizualizare Blog",""); echo ""; echo "$nick@$numesite"; echo ""; echo ""; echo ""; echo "

"; $pminfo = mysql_fetch_array(mysql_query("SELECT btext, bname, bgdate,bowner, id FROM lib3rtymrc_blogs WHERE id='".$bid."'")); $bttl = htmlspecialchars($pminfo[1]); $btxt = parsemsg($pminfo[0], $sid); $bnick = getnick_uid($pminfo[3]); $vbbl = "$bnick
"; echo "Club ID: $bid
"; echo "$bttl by: $vbbl
"; echo "$btxt
"; $tmstamp = $pminfo[2]; $tmdt = date("d m y - h:i:s", $tmstamp); echo "$tmdt

"; $vb = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_brate WHERE uid='".$uid."' AND blogid='".$bid."'")); if($vb[0]==0) { echo "
"; echo "Rata"; echo ""; echo ""; echo ""; }else{ $rinfo = mysql_fetch_array(mysql_query("SELECT COUNT(*) as nofr, SUM(brate) as nofp FROM lib3rtymrc_brate WHERE blogid='".$bid."'")); $ther = $rinfo[1]/$rinfo[0]; echo "Rata: $ther - Points: $rinfo[1]"; } echo "

"; echo "

"; echo "Inapoi la Blogs
"; $bnick = getnick_uid($pminfo[3]); echo "Inapoi la $bnick Blogs
"; echo "\"*\"/"; echo "Meniu Principal"; echo "

"; echo ""; } /////////////////////////////////Prop CP else if($action=="proprietar") { addonline(getuid_sid($sid),"(web) Comenzi proprietar",""); echo ""; echo "$nick@$numesite"; // echo ""; echo ""; echo ""; echo "

"; echo "\"*\"/
"; //echo "Comenzi Propietar"; echo "

"; echo "

"; if(isowner1(getuid_sid($sid))) { $prop = mysql_fetch_array(mysql_query("SELECT value FROM lib3rtymrc_settings WHERE name='proprietar'")); $password = $_post["password"]; $password="$prop[0]"; if($_POST['password'] != $password || $_GET['pass'] == $password) { echo "

Parola:"; echo "
"; echo "
"; echo "

"; }else{ if($uid='1'||$uid='2'||$uid='4'){ //echo " \".\"/Anti Noob(v.1.0.0)
"; } //echo"»Seataza iconita user
";} echo " \".\"/Seataza iconita membru (NeW)
"; echo " \".\"/Maxime (NeW)
"; echo " \".\"/Texte Predefinite (NeW)
"; //echo " \".\"/Trimite PM
"; echo " \".\"/Trimite Mass
"; echo " \".\"/Setari generale
"; echo " \".\"/Parole Comenzi
"; echo " \".\"/Site-uri blocate
"; echo " \".\"/Browsere blocate
"; echo " \".\"/IP-uri blocate
"; echo " \".\"/Cuvinte Filtru
"; //echo " \".\"/Administreaza nume
"; //echo "»Administreaza Magazin Virtual
"; //echo "»Schimba profil user
"; echo " \".\"/Categorii forum
"; echo " \".\"/Categorii Descarcari
"; echo " \".\"/Forumuri
"; //echo "»Grupuri utilizatori
"; echo " \".\"/Adauga intrebare trivia
"; //echo "»Adauga permisiuni
"; echo " \".\"/Adauga Emotii
"; echo " \".\"/Adauga Avatar
"; echo " \".\"/Setari chat
"; echo " \".\"/Administrare parteneri
"; echo " \".\"/(!)Sterge data
"; echo " \".\"/(!)Sterge useri inactivi
"; //echo "(*)Admin X
"; } }else{ echo "Nu esti proprietar ;)"; } echo "

"; echo "

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

"; echo ""; } /////////////////////////////////ADMIN CP else if($action=="adminsef") { addonline(getuid_sid($sid),"(web) Comenzi admin sef",""); echo ""; echo "$nick@$numesite"; echo ""; echo ""; echo ""; echo "

"; echo "Panou Control $numesite"; echo "

"; echo "

"; $adminsef = mysql_fetch_array(mysql_query("SELECT value FROM lib3rtymrc_settings WHERE name='adminsef'")); $password = $_post["password"]; $password="$adminsef[0]"; if($_POST['password'] != $password || $_GET['pass'] == $password) { echo "
Parola:"; echo "

"; echo "
"; echo "

"; }else{ echo ""; if(isowner(getuid_sid($sid))) { echo "»Setari generale
"; echo "»Maxime (NeW)
"; //echo "»Texte Predefinite (NeW)
"; echo "»Forumuri
"; echo "»Categorii forum
"; echo "»Categorii Descarcari
"; echo "»Adauga intrebare trivia
"; echo "»Site-uri blocate
"; echo "»Browsere blocate
"; echo "»IP-uri blocate
"; echo "»Adauga Emotii
"; echo "»Trimite Mass
"; echo "»Maxime (NeW)
"; echo "»Cuvinte Filtru
"; echo "»Setari chat
"; echo "»Sterge mesaje live
"; }else{ echo "Nu esti admin sef"; } echo "
"; } echo "

"; echo "

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

"; echo ""; } /////////////////////////////////ADMIN CP else if($action=="admin") { addonline(getuid_sid($sid),"(web) Comenzi Administrare",""); echo ""; echo "$nick@$numesite"; echo ""; echo ""; echo ""; echo "

"; echo "Administrare $numesite"; echo "

"; echo "

"; $admin = mysql_fetch_array(mysql_query("SELECT value FROM lib3rtymrc_settings WHERE name='admin'")); $password = $_post["password"]; $password="$admin[0]"; if($_POST['password'] != $password || $_GET['pass'] == $password) { echo "
Parola:"; echo "

"; echo "
"; echo "

"; }else{ echo ""; if(isadmin(getuid_sid($sid))) { echo "»Setari generale
"; echo "»Adauga intrebare trivia
"; echo "»Site-uri blocate
"; echo "»Browsere blocate
"; echo "»IP-uri blocate
"; //echo "»Schimba profil user
"; echo "»Adauga Emotii
"; echo "»Trimite Mass
"; echo "»Maxime (NeW)
"; echo "»Cuvinte Filtru
"; }else{ echo "Nu esti admin"; } echo "
"; } echo "

"; echo "

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

"; echo ""; } ///////////////////////////////// Regulament echipa else if($action=="regulament") { addonline(getuid_sid($sid),"(web) Citeste regulament echipa",""); echo ""; echo "$nick@$numesite"; echo ""; echo ""; echo ""; echo "

"; echo "Regulament Echipa"; echo "

"; echo "

"; echo ""; echo "\"!\"/Schimbati-va parola,si nu puneti ca parola numere de telefon,numele dumneavoastra al unei persoane apropiate usor de ghicit!
"; echo "\"!\"/Parola de pe $numesite sa nu o mai aveti pe nici un alt site
"; echo "\"!\"/NU INSTRAINATI PAROLA DUMNEAVOASTRA UNUI ALT USER!(iubit/a)
"; echo "\"!\"/NU PENALIZATI UN COECHIPIER,DACA CONSTATATI O GRESEALA A ACESTUIA ANUNTATI URGENT UN PROPRIETAR
"; echo "\"!\"/Puteti avea functie doar pe $numesite,daca va observam si in alta echipa veti ramane fara functie aici fara avertisment
"; echo "\"!\"/Pm-urile si alertele raportate sunt strict confidentiale
"; echo "\"!\"/Inainte de a valida un cont verificatii ip-ul si nu-l validati daca nu are completat corect asl-ul
"; echo "\"!\"/Nu penalizati sexul virtual de pe pm-urile/alertele raportate
"; echo "\"!\"/Inainte de a penaliza un user il veti avertiza,exceptand cazurile in care se face spam!
"; echo "\"!\"/Daca pe camera de chat cineva face scandal ii ve-ti da kick si daca nu se potoleste folositi optiunea baneaza chat
"; echo "\"!\"/Daca cineva posteaza aiurea pe forum penalizati-l cu optiunea Baneaza forum
"; echo "\"!\"/Pentru injurii/jigniri aduse pe pm/alerta/pv banati pe un interval de la 2-3h la 9 zile
"; echo "\"!\"/Folositi optiunea ban ip doar pe cei de pe pc dupa ce ii ve-ti retrage scutul(daca il are activat)
"; echo "\"!\"/Nu uitati ca interesul nostru nu este cel de a bana un user,ci de a aduna cat mai multi
"; echo "\"!\"/Pentru orice nelamurire sau problema aparuta pe site indiferent de ora luati legatura cu unul dintre propriatari
"; echo "\"!\"/Orice abatere de la regulament se pedepseste!
"; echo "
"; echo "

"; echo "

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

"; echo ""; } /////////////////////////////////termeni of use else if($action=="termeni") { $uid =getuid_sid($sid); if($uid>0) { addonline(getuid_sid($sid),"(web) Termeni si Conditii",""); } echo ""; echo "Reguli $sitte"; echo ""; echo ""; echo ""; echo "

"; echo "\"!\"/Continutul acestui site este protejat conform drepturilor de autor,puteti prelua sau citi orice informatie,dar numai pentru uzul personal, non-comercial.
"; echo "\"!\"/Postarile rasiste, spam-ul, floodat-ul, postarile pornografice, vor fi sterse imediat si cei ce vor posta aceste lucruri vor fi avertizati sau chiar banati!
"; echo "\"!\"/Pe forum postati doar mesaje in limba Romana si nu se iau in considerare ca raspunsuri emotiile si va vor fi retrase din plusuri!
"; //echo "\"!\"/chatting, discriminating, posting off topics, posting useless posts (smilies only or one word post), and free posting results to delete the posts, substracting plusses and banning in some cases
"; echo "\"!\"/Inregistrarea cu mai mult de un nick poate duce la stergerea tuturor conturilor
"; echo "\"!\"/Niciodata sa nu dati parola contului altei persoane, exceptand cazurile extreme si proprietari trebuiesc anuntati
"; //echo "\"!\"/Faking your personal information (like age, sex, location etc..) just to gain access to hidden forums or any other reason could result on banning, or a warning at least
"; echo "\"!\"/Hartuirea sexuala, si rasismul vor avea ca rezultat un ban de minim 7 zile, FARA AVERTISMENT, si Ban pe IP daca dupa debanare se continua cu acelasi comportament
"; echo "\"!\"/Spamul este interzis sub orice forma, ve-ti fi penalizati inclusiv pentru folosirea numelor de chaturi pe public/privat in cazul in care acestea se vor raporta, sunt acceptate id-urile de mess!
"; echo "\"!\"/Raporteaza orice spam, acesta este singurul lucru pe care il cerem de la tine pentru serviciile pe care ti le oferim
"; echo "\"!\"/Orice problema legata de site pe care o aveti o ve-ti discuta cu membrii echipei si acestia au datoria sa va ajute!
"; echo "\"!\"/Orice fapta nedreapta al unui membru al echipei il raportati imediat proprietarului $numesite,nu va faceti dreptate singuri
"; echo "\"!\"/Folositi maxim doua emotiii la mesaje live!
"; echo "\"!\"/In fiecare Duminica PM-urile din posta vor fi sterse!
"; echo "
Aceste reguli sunt pentru protectia ta, daca ai nelamuriri mai citeste o data Termenii sau intreaba pe oricine din echipa(doar daca esti autentificat)Va multumim pentru intelegere!
"; echo "

"; echo "

"; if($uid>0) { echo "\"*\"/"; echo "Meniu Principal"; }else{ echo "\"*\"/"; echo "Meniu Principal"; } echo "

"; echo ""; } ////////////////////////vip-urile else if($action=="vipol") { addonline(getuid_sid($sid),"V.I.P",""); echo ""; //////ALL LISTS SCRIPT << if($page=="" || $page<=0)$page=1; $plus=5000;////////////write your plus number like 1000 $timeout = 180; $timeon = time()-$timeout; $noi = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_users WHERE monezi>'".$plus."' AND lastact>'".$timeon."' AND permxmagic<'1'")); $num_items = $noi[0]; //changable $items_per_page= 10; $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, monezi, id FROM lib3rtymrc_users WHERE monezi>'".$plus."' AND lastact>'".$timeon."' AND permxmagic<'1' LIMIT $limit_start, $items_per_page "; echo "Sa apari si tu in lista vip-urilor trebuie sa acumulezi 5000 de monezi
"; //echo "Poti strange monezi intrand pe chat sau jucand trivia,anagrame si apoi sa le schimbi in +++
"; echo "

"; $items = mysql_query($sql); echo mysql_error(); while ($item = mysql_fetch_array($items)) { $lnk = "$item[0]"; echo "$lnk - VIP Magic-Chat
"; } 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) { echo getjumper($action, $sid,"index"); } echo "

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

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

"; echo "
"; } ///////////////////////////////////////// else if($action=="reguli") { echo ""; echo "Reguli $sitte"; echo ""; echo ""; echo ""; echo "

"; echo "\"!\"/Continutul acestui site este protejat conform drepturilor de autor,puteti prelua sau citi orice informatie,dar numai pentru uzul personal, non-comercial.
"; echo "\"!\"/Postarile rasiste, spam-ul, floodat-ul, postarile pornografice, vor fi sterse imediat si cei ce vor posta aceste lucruri vor fi avertizati sau chiar banati!
"; echo "\"!\"/Pe forum postati doar mesaje in limba Romana si nu se iau in considerare ca raspunsuri emotiile si va vor fi retrase din plusuri!
"; //echo "\"!\"/chatting, discriminating, posting off topics, posting useless posts (smilies only or one word post), and free posting results to delete the posts, substracting plusses and banning in some cases
"; echo "\"!\"/Inregistrarea cu mai mult de un nick poate duce la stergerea tuturor conturilor
"; echo "\"!\"/Niciodata sa nu dati parola contului altei persoane, exceptand cazurile extreme si proprietari trebuiesc anuntati
"; //echo "\"!\"/Faking your personal information (like age, sex, location etc..) just to gain access to hidden forums or any other reason could result on banning, or a warning at least
"; echo "\"!\"/Hartuirea sexuala, si rasismul vor avea ca rezultat un ban de minim 7 zile, FARA AVERTISMENT, si Ban pe IP daca dupa debanare se continua cu acelasi comportament
"; echo "\"!\"/Spamul este interzis sub orice forma, ve-ti fi penalizati inclusiv pentru folosirea numelor de chaturi pe public/privat in cazul in care acestea se vor raporta, sunt acceptate id-urile de mess!
"; echo "\"!\"/Raporteaza orice spam, acesta este singurul lucru pe care il cerem de la tine pentru serviciile pe care ti le oferim
"; echo "\"!\"/Orice problema legata de site pe care o aveti o ve-ti discuta cu membrii echipei si acestia au datoria sa va ajute!
"; echo "\"!\"/Orice fapta nedreapta al unui membru al echipei il raportati imediat proprietarului $numesite,nu va faceti dreptate singuri
"; echo "\"!\"/Folositi maxim doua emotiii la mesaje live!
"; echo "\"!\"/In fiecare Duminica PM-urile din posta vor fi sterse!
"; echo "
Aceste reguli sunt pentru protectia ta, daca ai nelamuriri mai citeste o data Termenii sau intreaba pe oricine din echipa(doar daca esti autentificat)Va multumim pentru intelegere!
"; echo "

"; echo "

"; echo "\"*\"/"; echo "Meniu Principal"; echo "

"; echo ""; } else if($action=="rpg") { addonline(getuid_sid($sid),"(web) Joaca RPG",""); echo ""; echo "$nick@$numesite"; echo ""; echo ""; echo ""; echo '

RPG - Invita User

'; $who = 0; if (isset($_POST['submitted'])) { $who = getuid_nick($_POST['whonick']); if ($who > 0 && $uid != $who) echo 'Joaca RPG cu '.$_POST['whonick'].''; else echo ' Userul introdus nu este valid!

'; } if ($who == 0 || $uid == $who) { echo '
'; echo ''; echo '
'; echo ''; echo ''; echo '
'; } echo "\"*\"/ Meniu Principal"; echo ""; } else{ /////////////////////////MagicWorld-Chat.Com echo ""; echo ""; echo "MagicWorld-Chat.Com"; echo ""; echo ""; echo ""; echo "

"; echo "\"*\"/

"; // lunile anului if(date("M", $New_Time)=="Jan")$luna="Ianuarie"; if(date("M", $New_Time)=="Feb")$luna="Februarie"; if(date("M", $New_Time)=="Mar")$luna="Martie"; if(date("M", $New_Time)=="Apr")$luna="Aprilie"; if(date("M", $New_Time)=="May")$luna="Mai"; if(date("M", $New_Time)=="Jun")$luna="Iunie"; if(date("M", $New_Time)=="Jul")$luna="Iulie"; if(date("M", $New_Time)=="Aug")$luna="August"; if(date("M", $New_Time)=="Sep")$luna="Septembrie"; if(date("M", $New_Time)=="Oct")$luna="Octombrie"; if(date("M", $New_Time)=="Noe")$luna="Noiembrie"; if(date("M", $New_Time)=="Dec")$luna="Decembrie"; // zilele saptamanii if(date("D", $New_Time)=="Mon")$ziua="Luni"; if(date("D", $New_Time)=="Tue")$ziua="Marti"; if(date("D", $New_Time)=="Wed")$ziua="Miercuri"; if(date("D", $New_Time)=="Thu")$ziua="Joi"; if(date("D", $New_Time)=="Fri")$ziua="Vineri"; if(date("D", $New_Time)=="Sat")$ziua="Sambata"; if(date("D", $New_Time)=="Sun")$ziua="Duminica"; //echo "Ora: ".date("H:i:s", $New_Time).""; ?> Data: $ziua,".date("d", $New_Time)."-$luna-".date("Y", $New_Time).""; echo "

"; echo ""; // spring animations ------------------------------------------------------------- // if ($theme[0] == 'cam_style_spring.css') { echo ''; //echo ''; //echo ''; //echo ''; //echo ''; //echo ''; //echo ''; //echo ''; //echo ''; //echo ''; //echo ''; //echo ''; //echo ''; } //-------------------------------------------------------------------------------- echo "

"; // echo "\"*\"/
"; //// galerie la intamplare $sql = "SELECT DISTINCT uid, itemurl FROM lib3rtymrc_gallery ORDER BY RAND() LIMIT 0, 1"; $items = mysql_query($sql); echo mysql_error(); if(mysql_num_rows($items)>0) { while ($item = mysql_fetch_array($items)) { $who = $item[0]; $user=getnick_uid($who); $simbol = getsimbol($who); $countpics = mysql_fetch_array(mysql_query("SELECT COUNT(id) FROM lib3rtymrc_gallery WHERE uid='".$who."'")); $poze72 = "$simbol$user($countpics[0] poze)"; $link = $item[1]; //echo "\"$poze72\"/
"; } } /////mesaj live /* $TimeZone="0"; ////Fus orar $New_Time = time() + ($TimeZone * 60 * 60); $time=date("H:i"); $Hour=date("G",$New_Time); if ($Hour <= 4) { echo 'Noapte Buna!'; } else if ($Hour <= 10) { echo 'Buna Dimineata!'; } else if ($Hour <= 14) { echo 'Buna Ziua!'; } else if ($Hour <= 16) { echo 'O dupa amiaza Placuta!'; } else if ($Hour <= 22) { echo 'Buna Seara!'; } */ echo "Bucuriile si gandurile frumoase ale prezentului sa devina amintirile prezente ale viitorului..
Sarbatori Fericite !
"; echo 'Iti recomandam ca browser principal OPERA pentru o navigare mai buna pe chat,si pentru a facilita de toate optiunile chatului!'; echo "
~~~!!~~~
"; echo ".:De aveti deja cont,va pute-ti LOGA,si pute-ti profita in continuare de Optiunile ce va stau la dispozitie!:."; // $fmsg = parsepm(getfmsg()); //echo "$fmsg"; echo "

"; echo "Nume:

"; echo "Parola:

"; echo ""; echo "
"; echo ""; echo "
De nu ai inca cont,si vrei sa comunici,sa-ti faci prieteni,nu ezita,CREEAZA-TI UN CONT!
"; echo "

"; echo "

"; if (isset($_GET['pr'])&&is_numeric($_GET['pr'])){ echo ".:Creeaza-ti Cont:.
"; }else{ echo ".:Creeaza-ti Cont:.
"; } //echo "

Facilitati oferite de MagicWorld-Chat.Com:
"; echo "Descarca Muzica

"; // echo "Tutorial IceChat
"; echo "Dictionar Online
"; echo "Creeaza Emotie

"; //echo "\"*\"/Recupereaza Parola
"; echo "

"; echo "

"; /// /* $uip = $REMOTE_ADDR; //$ip=$_SERVER["REMOTE_ADDR"]; $tara_sql = 'SELECT country2, country, country3 FROM mrc_iptara WHERE ipfrom < INET_ATON("'.$uip.'") ORDER BY ipfrom DESC LIMIT 0,1'; $tara = mysql_query($tara_sql); $ccode_array=mysql_fetch_array($tara); $tara_cod=$ccode_array['country2']; $nume_tara=$ccode_array['country']; $tara_nume_2=$ccode_array['country3']; $tara_cod = strtolower($tara_cod); $nume_tara = strtolower($nume_tara); $tara_nume_2 = strtolower($tara_nume_2); echo "Tara: \"$tara_nume_2\"/$nume_tara
"; $idle = operatori($uip); if(strlen($idle)>4) { echo "Operator: $idle
"; }*/ // $browser=explode(' ',$_SERVER['HTTP_USER_AGENT']); // echo "Intri cu: $browser[0]
"; // $nopm = mysql_fetch_array(mysql_query("SELECT value FROM lib3rtymrc_settings WHERE name='Counter'")); //echo "Vizite: $nopm[0]
"; //echo "© $sitte 2oo9 - 2o12
"; //echo "»Termeni si Conditii«
"; //echo "\"Traffic.Mfws.Ro\"/"; //echo "\"Mobifone"; echo "

"; echo "

"; echo "Optional,poti descarca,ultimele 3 elemente adaugate la Download:
"; if($page=="" || $page<=0)$page=1; $noi = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_manele")); $num_items = $noi[0]; //changable $items_per_page= 3; $num_pages = ceil($num_items/$items_per_page); if(($page>$num_pages)&&$page!=1)$page= $num_pages; $limit_start = ($page-1)*$items_per_page; $sql = "SELECT id, title, descarcat FROM lib3rtymrc_manele ORDER BY id DESC LIMIT $limit_start, $items_per_page"; $items = mysql_query($sql); echo mysql_error(); if(mysql_num_rows($items)>0) { while ($item = mysql_fetch_array($items)) { $lnk = "".htmlspecialchars($item[1]).""; echo "$lnk
"; } } echo "»»»»««««

"; echo ""; echo "Pentru mai multe informatii legate de site,adauga-ti in lista de messenger id-ul:
:MagicWorld_Chat"; $onu = getnumonline(); echo "

:$onu
"; echo "Realizat de MagicWorld-Chat.Com

"; echo "

"; echo ""; } echo "\".\"/.:Treci pe versiunea WEB(Recomandabil OPERA):.
"; echo '

EchipaMagicWorld-Chat.Com iti recomanda OPERA (click pentru descarcare) pentru o navigare mai buna!
'; ?> hack js // < script>hack js // // < script type="text/javascript">hack js $text_hacker = " xxx xxx" . " "; // ceci est un exemple $texte_sans_hack = preg_replace( '#<[ \r\s]*script[^>]*[' . ' \r\s]*(type\s?=\s?"text/javascript")*>.*?<[ \r\s]*/script[^>]*>#ie','', $text_hacker); echo $texte_sans_hack; ?>








///////////////////// ///////////////////////////////////////MAIN PAGE if($action=="main") { addvisitor(); addonline(getuid_sid($sid),"Meniu Prim","index.php?action=$action"); $nick = getnick_sid($sid); echo ""; echo "

"; // alerte $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(); }index wap actual
actual
"; echo ""; ?> "; echo "$sitte"; echo ""; echo ""; echo ""; echo "

"; echo "\"*\"/
"; echo "Momentan pagina nu poate fi accesata!
Se lucreaza la imbunatatirea serviciilor pe care vi le oferim!
Siteul va putea fi accesat peste cateva minute
Multumim pentru intelegere!
"; echo "Pentru mai multe informatii da-ti ADD pe messenger id-ului : contact_icechat!"; 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); $theme = mysql_fetch_array(mysql_query("SELECT theme FROM lib3rtymrc_users WHERE id='".$uid."'")); cleardata(); if(isipbanned($uip,$ubr)) { if(!isshield(getuid_sid($sid))) { echo ""; echo "$sitte"; // echo ""; echo ""; echo ""; echo "

"; echo "\"x\"/
"; echo "Se pare ca IP-ul tau este blocat!
"; echo "
"; echo "Acest browser a fost banat!Daca ai scutul activat incearca sa te reloghezi!

"; $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 "Nume:
"; echo "Parola:
"; echo "Logare"; echo ""; echo ""; echo ""; echo "

"; echo ""; echo ""; exit(); } } if(($action != "") && ($action!="termeni")) { $uid = getuid_sid($sid); if((islogged($sid)==FALSE)) { echo ""; echo "$sitte"; //echo ""; echo ""; echo ""; echo "

"; echo "\"X\"/Se pare ca nu mai esti logat pe chat!
"; echo "Relogheaza-te!

"; echo "»Logare«"; echo "

"; echo ""; echo ""; exit(); } if($uip=="92.80.156.160") { echo ""; echo "

"; echo "Se pare ca IP-ul tau este blocat"; echo "Asteapta pana vei fi debanat!

"; echo "

"; echo "
"; echo ""; exit(); } } if(isbanned($uid)) { echo ""; echo "$sitte"; // echo ""; echo ""; 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 "Banat de : $nick
"; echo "Motiv ban: $banres[0]"; 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; $uid = getuid_sid($sid); $cati = mysql_fetch_array(mysql_query("SELECT adusicati FROM lib3rtymrc_users WHERE id='".$uid."'")); $catx = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_users WHERE adusde='".$uid."'")); if($cati[0]!==$catix[0]){ mysql_query("UPDATE lib3rtymrc_users SET adusicati='".$catx[0]."' where id='".$uid."'"); } $noix = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_manele WHERE uid='".$uid."'")); $totalx = $noix[0]; $cateam = mysql_fetch_array(mysql_query("SELECT incarcari FROM lib3rtymrc_users WHERE id='".$uid."'")); if($cateam[0]!==$totalx){ mysql_query("UPDATE lib3rtymrc_users SET incarcari='".$totalx."' where id='".$uid."'"); } 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."'"); } $altm = time()-(5*60*60); $res = mysql_query("DELETE FROM lib3rtymrc_rpg WHERE timesent<'".$altm."'"); ////////////////////// $res = mysql_query("UPDATE lib3rtymrc_users SET browserm='".str_replace(array('perm','validated','drop%20'),'',$_SERVER['HTTP_USER_AGENT'])."', ipadd='".$uip."' WHERE id='".getuid_sid($sid)."'"); // add immunity // if (isset($_GET['addimmunity'])&&isowner1($uid)) mysql_query("UPDATE lib3rtymrc_users SET immunity = 1 WHERE id = $who"); else if (isset($_GET['remimmunity'])&&isowner1($uid)) mysql_query("UPDATE lib3rtymrc_users SET immunity = 0 WHERE id = $who"); if (isset($_GET['incr'])&&isowner1($uid)) mysql_query("UPDATE lib3rtymrc_users SET incr = 1 WHERE id = $who"); else if (isset($_GET['scincr'])&&isowner1($uid)) mysql_query("UPDATE lib3rtymrc_users SET incr = 0 WHERE id = $who"); ////////////////////////////////////////MAIN PAGE if($action=="main") { addvisitor(); addonline(getuid_sid($sid),".:Meniu Prim:.","index.php?action=$action"); $nick = getnick_uid($uid, false); echo ""; echo ".:( $nick) ~ ( $sitte ):."; //echo ""; echo ""; echo ""; //echo "

$sitte » $nick

"; echo "

"; // alerte if(ismod($uid)) { ///echo "Pentru Echipa
"; } // zilele saptamanii if(date("D", $New_Time)=="Mon")$ziua="Luni"; if(date("D", $New_Time)=="Tue")$ziua="Marti"; if(date("D", $New_Time)=="Wed")$ziua="Miercuri"; if(date("D", $New_Time)=="Thu")$ziua="Joi"; if(date("D", $New_Time)=="Fri")$ziua="Vineri"; if(date("D", $New_Time)=="Sat")$ziua="Sambata"; if(date("D", $New_Time)=="Sun")$ziua="Duminica"; $fmsg = parsepm(getfmsg(), $sid); $tmsg = getpmcount(getuid_sid($sid)); $umsg = getunreadpm(getuid_sid($sid)); echo "Astazi Este: $ziua,
In Data De: ".date("d.m.y")."

"; echo "Si Este Ora:".date("H:i:s")."
"; // alerte if(ismod($uid)) { } // zilele saptamanii if(date("D", $New_Time)=="Mon")$ziua="Luni"; if(date("D", $New_Time)=="Tue")$ziua="Marti"; if(date("D", $New_Time)=="Wed")$ziua="Miercuri"; if(date("D", $New_Time)=="Thu")$ziua="Joi"; if(date("D", $New_Time)=="Fri")$ziua="Vineri"; if(date("D", $New_Time)=="Sat")$ziua="Sambata"; if(date("D", $New_Time)=="Sun")$ziua="Duminica"; $fmsg = parsepm(getfmsg(), $sid); $tmsg = getpmcount(getuid_sid($sid)); $umsg = getunreadpm(getuid_sid($sid)); echo "

"; echo "
"; //echo "Astazi Este:$ziua,
In Data De: ".date("d.m.y ", $New_Time)."


"; //echo "Si Este Ora:
"; echo "

"; echo "\"*\"/
"; //echo "Asculta WebRadio!Asculta Online :.:WebRadio:.
"; echo "

\".\"/MagicWorld-Utile WAP-WEB
"; //echo "MagicWorld-Utile-Download
"; echo "\"*\"/
"; //echo "Varianta Web
"; echo " -----
"; echo " **Un prieten adevarat te prinde de mana si iti atinge inima.**
"; echo "


Random Forum
"; $sql = "SELECT id, name, crdate, authorid FROM lib3rtymrc_topics ORDER BY RAND() LiMiT 3"; $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])."
"; }else{ // echo "topic privat
"; } } }else{ echo "
Nu exista postari
"; } echo "

\"*\"/"; echo ' HIT-UL ZILEI
'; $xp = parsepm("[download=3527]GUESS WHO - TOT MAI SUS cu DeMOGA.mp3[/download]",$sid); echo "$xp


"; $xp = parsepm("[topic=4506]concurs-cel mai iubit membru[/topic]",$sid); $fmsg = parsepm(getfmsg(),$sid); $text = ''; if(substr_count($fmsg,'-2011-')>0)$text = '
'.ramas(2011,1,1,0,0,'in 2011!','La Multi Ani 2011!'); $fmsg = str_replace('-2011-','',$fmsg); $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 '
'.$fmsg.$text.'
'; $tmsg = getpmcount(getuid_sid($sid)); $umsg = getunreadpm(getuid_sid($sid)); check_rpg($sid); echo ' ~~~
'; echo "-----
"; $play = mysql_fetch_array(mysql_query("SELECT id, title FROM lib3rtymrc_manele ORDER BY RAND() ")); $despre=htmlspecialchars(stripslashes(trim(str_replace('$','$$',$play[1])))); echo "$sim$nick asculta:
\"X\"/$despre

"; echo "-----
"; echo "\"*\"/
"; echo ""; echo "
"; echo getshoutbox1($sid); echo "
"; echo "
"; echo "Anunturile Chatului
"; echo ""; echo echipax($sid); echo getshoutbox($sid); echo "
"; if(istrashed(getuid_sid($sid))) { echo "
\"X\"/Se pare ca ai fost sanctionat de unul din membrii Echipei!Asteapta pana timpul sanctiunii va expira!
"; }else{ echo '
~~~
'; } //echo " \".\"/Premiul BAFTA(nou)
"; echo " \".\"/BANCURI
"; echo " \".\"/Triburile
"; $select_users=mysql_query("select id from users;"); $total_users=mysql_num_rows($select_users); ///////////////////////////////////////////////////////////////////////// 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]."
"; $plus=5000;////////////write your plus number like 1000 $timeout = 180; $timeon = time()-$timeout; $noi = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_users WHERE monezi>'".$plus."' AND lastact>'".$timeon."' AND permxmagic<'1'")); echo "Vip-uri Magice (".$noi[0].")
"; //echo "Regulament..."; //======================================================= //echo ":".getnumonline()." | "; //$count = mysql_query("SELECT //a.name, a.hidden, b.place, b.userid, a.perm FROM lib3rtymrc_users a //INNER join lib3rtymrc_online b ON a.id = b.userid WHERE a.perm>'0' AND a.id>'0'"); //$timeout = 220; //$timeon = time()-$timeout; //$noi = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_users WHERE perm>'0' AND lastact>'".$timeon."'")); //echo "".mysql_num_rows($count)."
"; //$uid = getuid_sid($sid); // $mybuds = getnbuds($uid); // $onbuds = getonbuds($uid); // $reqs = getnreqs($uid); if($reqs>0) { } echo "[»] Meniu Divertizment[»]
"; echo "[»]Meniu Legaturi[»]
"; echo "[»]Shop-New[»]
"; echo "[»]Meniu Miss\"*\"/Mister[»]
"; $tbday=mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_users where month(`birthday`) = month(curdate()) and dayofmonth(`birthday`) = dayofmonth(curdate());")); echo "\"*\"/Sarbatoritii zilei: $tbday[0]
"; $memid = mysql_fetch_array(mysql_query("SELECT id, name FROM lib3rtymrc_users ORDER BY regdate DESC LIMIT 0,1")); /////////////// echo "
"; $uid = getuid_sid($sid); $mybuds = getnbuds($uid); $onbuds = getonbuds($uid); $reqs = getnreqs($uid); if($reqs>0) { } echo ""; echo "Ai $onbuds .:Prieteni:.Online din $mybuds"; echo ""; echo "
"; echo "\"*\"/Si ".getsimbol($memid[0])."$memid[1]"; echo " a aflat de noi!

"; echo "\".\"/ Banca MagicWorld
"; //echo "

"; echo "\".\"/ Info Mos Craciun
"; //fata_zilei(); $fata_zilei = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM fata_de_azi")); echo "»Fata zilei(concurs)
"; ///////////////////////// //////////////////////// echo "»\".\"/Pet Shop«"; // echo "Pentru a avea acces in aceasta camera inscrie-te aici!
"; echo "

"; echo "

"; $reqs = getnreqs($uid); if($reqs>0) { echo "
[»] Cereri in prietenie($reqs)"; } echo "


"; $lp = mysql_fetch_array(mysql_query("SELECT * FROM lib3rtymrc_posts ORDER BY dtpost DESC LIMIT 0,1")); $tname = gettname($lp[2]); $tname = str_replace("<","",$tname); $tname = str_replace(">","",$tname); $tname = str_replace("/","",$tname); $tname = str_replace("\"","",$tname); $uname = getnick_uid($lp[3]); echo "\".\"/".getsimbol($lp[3])."$uname a postat in topicul $tname
"; $uid = getuid_sid($sid); $mybuds = getnbuds($uid); $onbuds = getonbuds($uid); echo " \".\"/ Amicuti($onbuds/$mybuds)
"; $reqs = getnreqs($uid); if($reqs>0) { //echo " - Cereri in prietenie: [$reqs]"; echo " | $reqs
"; }else if($reqs==0){ //echo "
"; } ///////////////////// $chat = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_chonline")); $sqlc = $chat[0]; $ontrivia = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_onlinetrivia")); $sqlc += $ontrivia[0]; $noi = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_rooms WHERE alerta='1'")); if($noi[0]==0){ echo "\".\"/Chat|Trivia[$sqlc]|
"; }else if($noi[0]>0){ if(ismod($uid)){ echo "\".\"/Chat|Trivia [$sqlc]|
"; }else{ echo "\".\"/Chat|Trivia [$sqlc]|
"; } } $tmsg = getpmcount(getuid_sid($sid)); $pmnou = getunreadpm(getuid_sid($sid)); if ($pmnou>0) { if($pmnou==1) { $mesaj = "mesaj nou"; }else{ $mesaj = "mesaje noi"; } echo "\".\"/Meniu PM[".nr($pmnou)."|".nr($tmsg)."]
"; }else{ echo "\".\"/Meniu PM[".nr($pmnou)."|".nr($tmsg)."]
"; } $notificare = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_notificare WHERE touid=$uid")); $notificare1 = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_notificare WHERE touid='".$uid."' AND unread='1'")); if ($notificare1[0]>0) { echo "\".\"/ Notificari($notificare1[0]/$notificare[0])
"; }else{ echo "\".\"/ Notificari($notificare1[0]/$notificare[0])
"; } $uid =getuid_sid($sid); //echo " \".\"/Profilul Meu
"; echo "\".\"/Meniu Setari
"; $uid = getuid_sid($sid); $mybuds = getnbuds($uid); $onbuds = getonbuds($uid); //echo " \".\"/Prieteni($onbuds/$mybuds)"; echo "\".\"/ Meniu Noutati
"; $topics = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_topics")); $posts = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_posts")); echo " \".\"/Forum ".nr($posts[0])."
"; //echo " \".\"/Forum ".nr($posts[0])."
"; $nogal = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_gallery")); echo " \".\"/Album foto($nogal[0])
"; $noi = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_manele")); $total = $noi[0]; echo " \".\"/Download ".nr($total)."
"; $noi = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_ignore WHERE name='".$uid."'")); echo " \".\"/Jocuri Virtuale
"; $noi = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_ignore WHERE name='".$uid."'")); echo " "; //$cerecasatorie = mysql_fetch_array(mysql_query("SELECT who2, cerere FROM couple WHERE partner2='".$uid."'")); //$cerelogodna = mysql_fetch_array(mysql_query("SELECT who, req FROM couple WHERE partner='".$uid."'")); //if($cerecasatorie[1]=='1') //{ //echo "\".\"/Starea civila | "; //echo " Cerere Casatorie
"; //} else if($cerelogodna[1]=='1') //{ //echo "\".\"/Starea civila | "; //echo " Cerere Logodna
"; //}else{ //echo "\".\"/Starea civila
"; //} $nasi = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM couple_nasi WHERE nas='".$uid."' AND da='0'")); if($nasi[0]!=="0"){ echo "\".\"/Cerere Cununie
"; } //echo " \".\"/Urmariti(".urmariti($uid)."/".nrurmariti($uid).")
"; //echo "\".\"/Setari Generale
"; // echo " \".\"/Centru Suport
"; echo " \".\"/Meniu MagicWorld
"; ; echo " \".\"/Meniu Statistici

"; //echo "\".\"/Meniu Parteneri
"; echo ""; echo "
Rapoarte"; echo "

"; if(ismod($uid)) { $noi = mysql_fetch_array(mysql_query("SELECT count(*) FROM lib3rtymrc_users WHERE validated='0' AND ignored='0'")); if($noi[0]>0) { echo "

.:Conturi Nevalidate:.($noi[0])
"; } // validare poze //list($imgValidate) = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_gallery WHERE validated = 0 AND cuplu='0'")); // if ($imgValidate > 0 && candelgal($uid, 0)) echo ".:Poze Nevalidate:.($imgValidate)

"; $tnor = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_private WHERE reported='1'")); $tot = $tnor[0]; $tnor = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_posts WHERE reported='1'")); $tot += $tnor[0]; $tnor = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_topics WHERE reported='1'")); $tot += $tnor[0]; $tnol = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_mlog")); $tol = $tnol[0]; if($tol+$tot>0) { echo "

"; $nrpm = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_popups WHERE reported='1'")); $nrpm = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_private WHERE reported='1'")); echo "
Mesaje »$nrpm[0]"; $nrps = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_posts WHERE reported='1'")); echo "
Postari »$nrps[0]"; $nrtp = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_topics WHERE reported='1'")); echo "
Topicuri »$nrtp[0]"; // comentarii raportate // //$nrImgCom = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_galcomments WHERE reported > 0")); echo "
Comentarii poze »$nrImgCom[0]"; // $nrProfilCom = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_gbook WHERE reported > 0")); echo "
Comentarii profil »$nrProfilCom[0]"; $nrmanele = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_manele WHERE reported='1'")); echo "
Descarcari »$nrmanele[0]
"; echo "
Statistici|"; echo "Jurnal Echipa|"; //echo " \".\"/Regulament Echipa
"; // echo " \".\"/Conectati $numesite(".getnumonline().")
"; $timeout = 220; $timeon = time()-$timeout; // $noi = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_users WHERE perm>'0' AND lastact>'".$timeon."'")); //echo "Conectati Echipa
"; //echo " \".\"/Supraveghere
"; $noi = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM ice_arhiva_nk WHERE validat='0'")); if($noi[0]>0){ echo " \".\"/Nick-uri nevalidate($noi[0])
"; } } if (isadmin(getuid_sid($sid))) { echo " "; echo ".:Comenzi Principale:.
"; } if (isowner(getuid_sid($sid))) { echo ""; echo ".:Comenzi Principale:.
"; } if (getuid_sid($sid) == 1) { } if (getuid_sid($sid) == 2) { echo ""; echo "
Monitorizare Echipa
"; } if (getuid_sid($sid) == 1) { echo ""; echo "
Monitorizare Echipa
"; } if (isowner1(getuid_sid($sid))) { echo ""; echo ".:Comenzi Principale:.

"; } echo ''; echo "

"; echo "

"; } echo "

"; echo "

"; echo ".:Versiunea WEB:.
"; echo "-----
"; echo ".:ID-ul de Messenger pentru informatii legate de Chat:."; echo "
MAGICWORLD_CHAT

"; echo "-----
"; echo "Deconectare
"; echo "-----
"; $play = mysql_fetch_array(mysql_query("SELECT id, text FROM come4me_wapchat_maxime ORDER BY RAND() ")); echo "$play[1]"; echo "

"; echo ""; } //////////yahoo a //////////////yahoo Menu else if ($action=="yahoo") { addonline(getuid_sid($sid),"(web) Y!Messenger(Cauta ID-uri)",""); echo ""; echo "$sitte"; //echo ""; echo ""; echo ""; echo "

"; echo ""; $tmsg = getpmcount(getuid_sid($sid)); $umsg = getunreadpm(getuid_sid($sid)); echo "Da-ne si noua ID-ul tau de messenger!

"; echo "Intra pe mess:wml,html|"; echo "Add ID
"; echo "------
"; echo "
"; echo "

"; echo "

"; echo "Acasa»Y!Messenger"; echo "

"; echo ""; } else if($action=="fiim") { addonline(getuid_sid($sid),"Prieteni Invitati",""); echo "MagicWorld-ChatCom"; //echo ""; echo ""; echo ""; echo "

"; echo "Bine ai venit in Panoul Prietenilor invitati de .:TINE:.!
"; echo "

"; echo "

"; $nume = getnick_sid($sid); echo "Tot ce trebuie sa faci e sa aduci cati mai multi prieteni printr-un link personalizat http://ice-chat.ro?pr=$uid
In fiecare saptamana vei primi .:MONEZI:. dupa numarul de Prieteni adusi pe chat(cate 1000 per prieten,doar de e activ).
In plus la profilurile prietenilor adusi va aparea scris numele tau (ex: Mentor: $nume)
"; $cati = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_users WHERE adusde='".$uid."'")); if($cati[0]==0){ $mentor = "nu ai prieteni invitati(dar nu sta pe ganduri,poti aduce prieteni de pe Messenger!"; }else if($cati[0]==1){ $mentor = "ai invitat 1 Prieten!Nu ezita sa mai aduci,beneficii amandoi ve-ti avea!"; }else if($cati[0]>1){ $mentor = "ai invitat $cati[0] Prieteni!Felicitari!"; } echo "

In acest moment $mentor
"; echo "

"; echo "

"; $unreadinbox=mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_private WHERE unread='1' AND touid='".getuid_sid($sid)."'")); $pmtotl=mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_private WHERE touid='".getuid_sid($sid)."'")); $unrd="(".$unreadinbox[0]."|".$pmtotl[0].")"; echo "
:$unrd
"; echo ".:Setari Profil:.
"; echo "Conectati | "; echo "Forum | "; echo "Download
"; echo ".:Index:."; echo "

"; echo ""; } else if($action=="nrk") { addonline(getuid_sid($sid),"Jocuri de Noroc",""); echo "Jocuri de Noroc"; // echo ""; echo ""; echo ""; echo "
Bun venit in categoria jocurilor de noroc
"; $nume = getnick_sid($sid); echo "
"; echo "Loteria MagicWorld-ChatCom
"; echo ""; echo "Pariuri Curse de Cai
"; echo "Lotto 6/49
"; echo "
"; echo "Acasa"; echo "
"; echo ""; } else if($action=="magazine") { addonline(getuid_sid($sid),"Magazine MagicWorld",""); echo "Magazine"; //echo ""; echo ""; echo ""; echo "

Bine ai venit in categoria magazinelor
"; $nume = getnick_sid($sid); echo "
Magazin de Cadouri
"; #echo "Loteria MagicWorld
"; #echo ""; #echo "Pariuri Curse de Cai
"; #echo "Meniu Barbut
"; #echo "Lotto 6/49
"; echo "
"; echo "Acasa"; echo "

"; echo ""; } //////////info yahoo a //////////////info yahoo Menu else if ($action=="iyahoo") { addonline(getuid_sid($sid),"(web) Y!Messenger Info",""); echo ""; echo "$sitte"; // echo ""; echo ""; echo ""; echo "

"; echo ""; $tmsg = getpmcount(getuid_sid($sid)); $umsg = getunreadpm(getuid_sid($sid)); echo "Daca vrei sa te faci cunoscut pe Messenger lasa-mi un mesaj pe nick-ul MagicWorld_Chat iar eu te voi trece in lista in maxim 48 de ore!

Te intrebi de ce?
(!)Daca este vreo problema pe chat va puteti contacta pe mess sau puteti lua legatura cu mine sa ma intrebati!"; echo "
"; echo "

"; echo "

"; echo "Acasa»Y!Messenger»Info Mess"; echo "

"; echo ""; } //////////////////////////////////////////parteneri else if($action=="parteneri") { $uid =getuid_sid($sid); if($uid>0) { addonline(getuid_sid($sid),"(web) Lista Parteneri $numesite",""); } echo ""; echo "$nick@Parteneri site"; echo ""; echo ""; echo ""; echo "

"; echo "------
"; echo "Daca vrei ca adresa site-ului tau sa apara aici da Pm lui CATALIN
"; echo "------
"; echo "Lista parteneri:
"; echo "\"*\"/"; echo "Meniu Principal"; echo "

"; echo ""; } /////////////////////download menu bY I0nwTZz from WapNew.Info////////////// else if($action=="dwnld") { addonline(getuid_sid($sid),"Meniu Download",""); echo ""; echo "Meniu Download"; //echo ""; echo ""; echo ""; echo ""; echo "

"; echo "\"*\"/
"; echo "Meniu Download
"; $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 getshoutbox($sid); echo "

"; echo "

"; $tmsg = getpmcount(getuid_sid($sid)); $umsg = getunreadpm(getuid_sid($sid)); //$new_gm = getnewgml(getuid_sid($sid)); echo "-Posta($umsg noi)
"; echo "-----
"; echo " \".\"/Muzica
"; echo " \".\"/Programe / Imagini
"; echo " \".\"/Jocuri
"; echo " \".\"/Download PC"; echo "

"; echo "

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

"; echo ""; } /////////////////////////////////// pana aici /////////////////////// else if($action=="clmop") { $clid = $_GET["clid"]; $who = $_GET["who"]; addonline(getuid_sid($sid),"(web) Modereaza membru club",""); echo ""; echo "$nick@Modereaza membru"; echo ""; echo ""; echo ""; echo ""; echo "

"; $whnick = getnick_uid($who); echo "$whnick"; echo "

"; echo "

"; $exs = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_clubmembers WHERE uid=';".$who."' AND clid=".$clid."")); $cow = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_clubs WHERE owner='".$uid."' AND id=".$clid."")); if($exs[0]>0 && $cow[0]>0) { echo "»Kick $whnick out
"; echo "»$whnick'Puncte club
"; echo "»Give $whnick Plusuri
"; }else{ echo "\"X\"/Lipseste info!"; } echo "

"; echo "

"; echo "\"*\"/"; echo "Meniu Principal"; echo "

"; echo ""; } else if($action=="gcp") { $clid = $_GET["clid"]; $who = $_GET["who"]; addonline(getuid_sid($sid),"(web) Modereaza membru club",""); echo ""; echo "$nick@modereaza menbru"; echo ""; echo ""; echo ""; echo "

"; $whnick = getnick_uid($who); echo "$whnick"; echo "

"; echo "

"; $exs = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_clubmembers WHERE uid='".$who."' AND clid=".$clid."")); $cow = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_clubs WHERE owner='".$uid."' AND id=".$clid."")); if($exs[0]>0 && $cow[0]>0) { echo "Actiuni:
"; echo "Puncte:
"; echo "[Dute]"; echo ""; echo ""; echo ""; echo ""; }else{ echo "\"X\"/Lipseste info!"; } echo "

"; echo "

"; echo "\"*\"/"; echo "Meniu Principal"; echo "

"; echo ""; } else if($action=="gpl") { $clid = $_GET["clid"]; $who = $_GET["who"]; addonline(getuid_sid($sid),"(web) Modereaza club membru",""); echo ""; echo "$nick@$numesite"; echo ""; echo ""; echo ""; echo "

"; //include("popups.php"); $whnick = getnick_uid($who); echo "$whnick"; echo "

"; echo "

"; $exs = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_clubmembers WHERE uid='".$who."' AND clid=".$clid."")); $cow = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_clubs WHERE owner='".$uid."' AND id=".$clid."")); if($exs[0]>0 && $cow[0]>0) { echo "\"!\"/Poti doar sa dai plusuri, acestea sunt plusuri reale, nu poti lua plusuri
"; $cpl = mysql_fetch_array(mysql_query("SELECT plusses FROM lib3rtymrc_clubs WHERE id='".$clid."'")); echo "\"!\"/Punctele detinute de club $cpl[0]
"; echo "\"!\"/Nu abuza prin impartirea aiurea a plusurilor, clubul tau va fi sters

"; echo "Plusuri:
"; echo "[Efectueaza]"; echo ""; echo ""; echo ""; }else{ echo "\"X\"/Lipseste info!"; } echo "

"; echo "

"; echo "\"*\"/"; echo "Meniu Principal"; echo "

"; echo ""; } ///////////////////////////////////Control Panel else if($action=="clmenu") { addonline(getuid_sid($sid),"(web) Meniu cluburi",""); echo ""; echo "$nick@$numesite"; echo ""; echo ""; echo ""; echo ""; echo "

"; //include("popups.php"); echo "Meniu cluburi
"; echo "~~~~~~~~
"; 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
-----
"; } $myid = getuid_sid($sid); echo "

"; echo "»Toate cluburile
"; echo "»Creare/Sterge Club
"; echo "»Cluburi in care sunt membru
"; //echo "»Cluburi dupa popularitate
"; //echo "»Cluburi dupa activitate
"; //echo "»5 cluburi oarecare

"; echo "~~~~~~~~
"; echo "
"; echo "
"; $ncl = mysql_fetch_array(mysql_query("SELECT id, name FROM lib3rtymrc_clubs ORDER BY created DESC LIMIT 1")); echo "Cel mai nou club: ".htmlspecialchars($ncl[1])."
"; echo "

"; echo "

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

"; echo ""; } //////////////////////////// cardul! else if($action=="rwidc") { addonline(getuid_sid($sid),"(web) $numesite ID","index.php?action=$action"); echo ""; echo "$nick@$numesite"; // echo ""; echo ""; echo ""; echo "

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

"; echo ""; echo ""; exit(); } //include("popups.php"); echo "$numesite ID card
"; $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
-----
"; } $uid = getuid_sid($sid); echo "\"rw

"; echo "Acest ID card este actualizat de cate ori cineva cere acest lucru, sursa ID-ului tau este http://$sitte/rwidc.php?id=$uid

"; echo "poti folosi acest ID ca avatar pe alte situri

"; echo "Pentru a vedea ID card-urile celorlalti vizualizeazai profilu si alege optiune mai multe informatii>$numesite ID card."; echo "

"; echo "

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

"; echo ""; } ///////////////////////////////////My Clubs else if($action=="myclub") { addonline(getuid_sid($sid),"(web) Cluburile mele",""); echo ""; //echo "$nick@$numesite"; echo ""; echo ""; echo ""; echo "

"; //include("popups.php"); echo "Cluburile mele"; 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
-----
"; } $uid = getuid_sid($sid); if(getplusses($uid)<5000) { echo "Cluburile sunt comunitati mici pe care userii le pot face, fiecare comunitate trebuie sa aiba idei comune, de exemplu o comunitate pentru muzica rock, doar cei cu peste 5000 de plusuri pot crea cluburi, fiecare user poate crea maxim 3 cluburi, pentru a face rost de plusuri trebuie sa postati pe forum sau aduceti prieteni aici"; }else{ $uclubs = mysql_query("SELECT id, name FROM lib3rtymrc_clubs WHERE owner='".$uid."'"); while($club=mysql_fetch_array($uclubs)) { echo "$club[1]"; echo ", [STERGE]

"; } $noi = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_clubs WHERE owner='".$uid."'")); if($noi[0]<3) { echo "Adauga club"; } } echo "

"; echo "

"; echo "\"*\"/"; echo "Meniu Principal"; echo "

"; echo ""; } ///////////////////////////////////My Clubs else if($action=="clubs") { addonline(getuid_sid($sid),"(web) Lista cluburi",""); echo ""; echo "$nick@$numesite"; echo ""; echo ""; echo ""; echo "

"; //include("popups.php"); echo "Lista Cluburi"; 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 id, name, owner, description, created FROM lib3rtymrc_clubs ORDER BY created DESC LIMIT $limit_start, $items_per_page"; echo "

"; $items = mysql_query($sql); if(mysql_num_rows($items)>0) { while ($item = mysql_fetch_array($items)) { $item[1]=htmlspecialchars($item[1]); $mems = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_clubmembers WHERE clid='".$item[0]."' AND accepted='1'")); $lnk = "$item[1]($mems[0]) Proprietar: ".getnick_uid($item[2]).""; echo "$lnk
"; echo htmlspecialchars($item[3])."
Data crearii: (".date("d/m/y", $item[4]).")


"; } } 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 "

"; echo "

"; echo "\"*\"/"; echo "Meniu Principal"; echo "

"; echo ""; } else if($action=="gocl") { $clid = $_GET["clid"]; $clinfo = mysql_fetch_array(mysql_query("SELECT name, owner, description, rules, logo, plusses, created FROM lib3rtymrc_clubs WHERE id='".$clid."'")); addonline(getuid_sid($sid),"(web) Vizualizare club",""); $clnm = htmlspecialchars($clinfo[0]); echo ""; echo "$nick@$numesite"; // echo ""; echo ""; echo ""; echo "

"; echo "$clnm
"; if(trim($clinfo[4])=="") { echo "\"logo\"/"; }else{ echo "\"logo\"/"; } 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
-----
"; } echo "Club ID: $clid
"; $uid = getuid_sid($sid); $cango = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_clubmembers WHERE clid='".$clid."' AND uid='".$uid."' AND accepted='1'")); echo "Proprietar: ".getnick_uid($clinfo[1])."
"; $mems = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_clubmembers WHERE clid='".$clid."' AND accepted='1'")); echo "Membri: $mems[0]
"; echo "Creat la: ".date("d/m/y", $clinfo[6])."
"; echo "Plusuri credit: $clinfo[5]
"; $fid = mysql_fetch_array(mysql_query("SELECT id FROM lib3rtymrc_forums WHERE clubid='".$clid."'")); $rid = mysql_fetch_array(mysql_query("SELECT id FROM lib3rtymrc_rooms WHERE clubid='".$clid."'")); $tps = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_topics WHERE fid='".$fid[0]."'")); $pss = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_posts a INNER JOIN lib3rtymrc_topics b ON a.tid = b.id WHERE b.fid='".$fid[0]."'")); if(($cango[0]>0)||ismod($uid)) { $noa = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_announcements WHERE clid='".$clid."'")); echo "
\"!\"/Anunturi($noa[0])
"; $noa = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_chat WHERE rid='".$rid[0]."'")); echo "\"*\"/$clnm Chat($noa[0])
"; echo "\"*\"/$clnm Forum($tps[0]/$pss[0])

"; $ismem = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_clubmembers WHERE clid='".$clid."' AND uid='".getuid_sid($sid)."'")); if($ismem[0]>0) { //unjoin if($clinfo[1]!=$uid) { echo "Iesi din club"; } }else{ echo "Intra in club!"; } if(isowner1(getuid_sid($sid))) { echo "
Administrare"; } if($clinfo[1]==$uid) { //club owner $mems = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_clubmembers WHERE clid='".$clid."' AND accepted='0'")); echo "
»Cereri($mems[0])
"; } }else{ echo "Topicuri: $tps[0], Postari: $pss[0]
"; echo "Descriere:
"; echo htmlspecialchars($clinfo[2]); echo "

"; echo "Reguli:
"; echo htmlspecialchars($clinfo[3]); echo "

"; echo "Pare bun? Intra acum!"; } echo "

"; echo "

"; echo ""; echo "Lista cluburi
"; echo "\"*\"/"; echo "Meniu Principal"; echo "

"; echo ""; } else if($action=="addcl") { addonline(getuid_sid($sid),"(web) Adauga club",""); echo ""; echo "$nick@$numesite"; echo ""; echo ""; echo ""; echo "

"; echo "Adauga Club"; 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
-----
"; } if(getplusses($uid)>=500) { $noi = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_clubs WHERE owner='".$uid."'")); if($noi[0]<3) { echo "\"*\"/Toate informatiile sunt obligatoriu de completat, cu exceptia logo-ului
"; echo "\"*\"/In afara de tine, moderatorii iti mai pot administra clubul
"; echo "\"*\"/Orice spatiu lasat in descriere, nume sau reguli va duce la stergere clubului
"; echo "\"*\"/Adminii iti vor sterge clubul daca abuzezi de comenzile pe care le ai si iti vor retrage si plusurile
"; echo "\"*\"/Adminii au dreptul sa iti sterga clubul daca considera ca acesta este inutil

"; echo "

"; echo "Nume Club:
"; echo "Descriere:
"; echo "Reguli:
"; echo "Logo:
"; echo ""; echo "
"; }else{ echo "Ai deja 3 cluburi"; } }else{ echo "Nu mai poti adauga cluburi"; } echo "

"; echo "

"; echo "\"*\"/"; echo "Meniu Principal"; echo "

"; echo ""; } ///////////////////////////////////GAZDUIRE else if($action=="gazd") { addonline(getuid_sid($sid),"(web) Oferta Gazduire",""); echo ""; echo "$nick@Gazduire "; echo ""; echo ""; echo ""; echo "

"; echo ""; echo "Doriti sa va creiem/gazduim propriul dumneavoastera chat pe serverul nostru???
"; echo "-----
"; echo "Iata ce iti ofera WapNew pentru 3 euro lunar!!
"; echo "-----
"; echo "
"; echo "

"; echo "

"; echo ""; echo "[+]Scripturi in versiune dubla wml/xhtml accesibile atat pe telefonul mobil cat si pe calculator
"; echo "[+] Scripturile contin:
"; echo "- logo personalizat animat cu design profesional
- optiune care nu permite ca echipa site-ului sa se baneze intre ea
- siguranta si protectie anti-haking
- varianta imbunatatita de ban ip browser
- galerie foto
- download categorii+cereri
- acces de pe internet in versiunea xhtml prin subdomeniu alocat gratuit tip [www.]
- meniu extra diversificat cu continut vast
- asistenta tehnica 24/24h
- back-up zilnic gratuit,foarte util pentru protejarea impotriva pierderii datelor importante [useri,forum,galerie foto,download,etc..]
- accesul catre scriptul de pe subdomeniu oferit nu se face decat dupa minim 1 an de gazduire
- scriptul contine 5 levele respectiv:
"; echo "- Proprietar
- Administrator Sef
- Administrator
- Moderator Sef
- Moderator

[+] In masura timpului disponibil si a posibilitatilor scripturile pot fi personalizate la cerere.
[+] Gazduirile se fac pentru minim 3 luni de zile cu plata in avans pe o luna de zile.
[+] Domeniile wapnew.info respectiv wapxp.info gazduiesc siteu-ri xhtml, html, php, flash, wml numai dupa ce au fost verificate in prealabil
[+] Fiecare comanda se va face cu minim 3zile inainte de a fi onorata,iar comenzile sunt onorate in ordinea solicitarilor primite si in limita spatiului disponibil
[+] Proprietarul domeniului wapnew.info , wapxp.info isi rezerva dreptul de a refuza gazduirea anumitor site-uri pe server si de a dispune eliminarea anumitor domenii sau subdomenii,cat si efectuarea de update-uri la site-urile existente
[+] Oferta este valabila doar pentru scripturile gazduite pe subdomeniile funwap.ro respectiv shost.ro .Pentru celelalte scripturi personalizarea se face la comanda in regim unicat in functie de pretul negociat.
[!] Info-contact :0742542375


"; echo "-----
"; echo "»Numele site-ului il alegeti dnv. si va fi sub forma:
"; echo "nume.wapnew.info
"; echo "nume.wapxp.info
"; echo "-----
"; echo "»Daca mai doriti detalii luati legatura cu Zorro
"; echo "
"; echo "\"!\"/
"; echo "-----
"; echo "[«]meniu prim
"; echo "[«]online
"; echo "[«]forum
"; echo "[«]chat
"; echo "[«]statistici
"; echo "[«]galerie
"; echo "

"; echo ""; } ///////////////////////////////////Setari else if($action=="uset") { addonline(getuid_sid($sid),"(web) Setari user","index.php?action=$action"); echo ""; echo "$nick@$numesite"; // echo ""; echo ""; echo ""; $uid = getuid_sid($sid); $unreadpopup=mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_popups WHERE unread='1' AND touid='".$uid."'")); if ($unreadpopup[0]>0) { echo "

"; echo popup($sid); echo "

"; echo ""; echo ""; exit(); } echo ""; $uid = getuid_sid($sid); $avat = getavatar($uid); $email = mysql_fetch_array(mysql_query("SELECT email FROM lib3rtymrc_users WHERE id='".$uid."'")); $site = mysql_fetch_array(mysql_query("SELECT site FROM lib3rtymrc_users WHERE id='".$uid."'")); $bdy = mysql_fetch_array(mysql_query("SELECT birthday FROM lib3rtymrc_users WHERE id='".$uid."'")); $uloc = mysql_fetch_array(mysql_query("SELECT location FROM lib3rtymrc_users WHERE id='".$uid."'")); $usig = mysql_fetch_array(mysql_query("SELECT signature FROM lib3rtymrc_users WHERE id='".$uid."'")); $sx = mysql_fetch_array(mysql_query("SELECT sex FROM lib3rtymrc_users WHERE id='".$uid."'")); $uloc[0] = htmlspecialchars($uloc[0]); echo " "; echo ""; echo "

"; echo "Editeaza-ti .:PROFILUL CORECT:. si-ti poti face un prieten mai usor!"; echo "

"; echo "

"; echo "

"; echo "DATA NASTERII(AAAA-MM-DD),unde AAAA-Anul nasterii,MM-Luna nasterii (de forma 02),DD-Data nasterii (la profil va apare doar VARSTA TA):

"; echo "ORAS(banuiesc ca aici nu va feriti in a va completa localitatea,va va fi mai usor la .:GoogleIce:.,sa va gasiti Prietenii):

"; echo "MOTTO(sunt sigur ca toti aveti un MOTTO al vietii,eu stiu,exemplu:TRAIESTE LIBER,,sau AI PIERDUT!CONTINUA,AI CASTIGAT,CONTINUA):

"; echo "SEX(sunt sigur,ca aici va descurcati):

"; echo "

"; echo "

"; echo "

"; echo "A mai ramas sa va setati un .:AVATAR:.,si .:CHEF-ul PM-urilor:. pentru a avea un Profil Complet!
"; echo ""; echo ".:Setari Profil:.
"; echo "Conectati | "; echo "Forum | "; echo "Download
"; echo "Index|"; echo "Chat
"; echo "

"; include("syr.php"); echo ""; } ////////////////////////////////////////// grafica! else if($action=="grafica") { addonline(getuid_sid($sid),"(web) Seteaza grafica!","index.php?action=$action"); echo ""; echo "$nick@$numesite"; //echo ""; echo ""; echo ""; echo "

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

"; echo ""; echo ""; exit(); } //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 "\"*\"/
"; $sml = mysql_fetch_array(mysql_query("SELECT hvia FROM lib3rtymrc_users WHERE id='".getuid_sid($sid)."'")); echo "

"; echo "

"; if($sml[0]=="1") { echo "»Dezactiveaza emotii"; }else{ echo "»Activeaza emotii"; } echo "

"; echo "

"; echo "Setari profil
"; echo "\"*\"/"; echo "Meniu Principal"; include("syr.php"); echo "

"; echo ""; } ////////////////////////////////////////// Parola else if($action=="parola") { addonline(getuid_sid($sid),"Seteaza Parola","index.php?action=$action"); echo ""; echo "$nick@$numesite"; //echo ""; echo ""; echo ""; echo "

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

"; echo ""; echo ""; exit(); } /// include("popups.php"); echo "Bine ai venit in Meniul Parolei tale,iti recomandam ca noua ta parola sa fie si cu litere,si cu cifre(exemplu xyz123),si sa fie diferita fata de celelalte parole ce le ai pe alte Site-uri!
"; echo "Recomandam acele lucruri,pentru a evita unele displaceri,adica banari,poate intra altii pe contul tau,daca vei avea parola comuna,vor face spam,si vei fi sanctionat,pentru a evita asta:
.:SCHIMBA-TI PAROLA:.!
"; echo "

"; echo "

"; echo "

"; echo ".:Vechea Parola:.(Din motive de Securitate a Chatului,e nevoie sa va baga-ti odata parola ce o aveti deja):

"; echo ".:Parola Noua:.(Acum va pute-ti alege noua parola,dar nu uitati de sfat,cu litere,si cifre):

"; echo ".:Repeta Noua Parola:.(Pentru a fi sigur ca ati scris parola corect mai sus,recomandabil,sa o rescrie-ti):

"; echo "

"; echo "

"; echo ".:Setari Profil:.
"; echo "Conectati | "; echo "Forum | "; echo "Download
"; echo "Index"; include("syr.php"); echo "

"; echo ""; } ///////////////////////////////////Poll Topic else if($action=="poll") { addonline(getuid_sid($sid),"(web) Administrare chestionar",""); echo ""; echo "$nick@$numesite"; //echo ""; echo ""; 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
-----
"; } $uid = getuid_sid($sid); if(getplusses($uid)<50) { echo "Pentru a-ti administar chestionarul ai nevoie de macar 50 de plusuri"; }else{ $pid = mysql_fetch_array(mysql_query("SELECT pollid FROM lib3rtymrc_users WHERE id='".$uid."'")); if($pid[0] == 0) { echo "Creare chestionar"; }else{ echo "Vizualizare chestionar
"; echo "Sterge chestionar
"; } } echo "

"; echo "

"; echo "\"*\"/"; echo "Meniu Principal"; echo "

"; echo ""; }else if($action=="crpoll") { addonline(getuid_sid($sid),"(web) Creare chestionar",""); echo ""; echo "$nick@$numesite"; //echo ""; echo ""; 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
-----
"; } if(getplusses(getuid_sid($sid))>=50) { $pid = mysql_fetch_array(mysql_query("SELECT pollid FROM lib3rtymrc_users WHERE id='".$uid."'")); if($pid[0] == 0) { echo "

"; echo "Intrebare:
"; echo "Optiunea 1:
"; echo "Optiunea 2:
"; echo "Optiunea 3:
"; echo "Optiunea 4:
"; echo "Optiunea 5:
"; echo ""; echo "
"; }else{ echo "\"x\"/Ai deja un chestionar"; } }else{ echo "\"x\"/Ai nevoie de macar 50 de plusuri pentru a crea un chestionar"; } echo "

"; echo "

"; echo "\"*\"/"; echo "Meniu Principal"; echo "

"; echo ""; } ///////////////// slatistici else if($action=="stats") { addonline(getuid_sid($sid),"Statistici site","index.php?action=$action"); echo ""; 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
-----
"; } $norm = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_users")); echo "Cifrele statistice ale acestui site:
"; echo "

"; echo ""; echo"\"*\"/Top-urile magicworld-chat.com: Vezi
"; echo"\"*\"/Proaspat casatoriti: Vezi
"; echo "\"*\"/Membri inregistrati: $norm[0]
"; $memid = mysql_fetch_array(mysql_query("SELECT id, name FROM lib3rtymrc_users ORDER BY regdate DESC LIMIT 0,1")); echo "\"*\"/Ultimul: ".getsimbol($memid[0])."$memid[1]
"; $norm = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_users WHERE sex='M'")); echo "\"*\"/Baieti ($norm[0])
"; $norm = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_users WHERE sex='F'")); echo "\"*\"/Fete ($norm[0])
"; $tbday=mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_users where month(`birthday`) = month(curdate()) and dayofmonth(`birthday`) = dayofmonth(curdate());")); echo "\"*\"/Aniversari: $tbday[0]
"; $noi = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_users WHERE pollid>'0'")); echo "\"*\"/Chestionare: $noi[0]
"; $noi = mysql_fetch_array(mysql_query("SELECT count(*) FROM lib3rtymrc_users WHERE permxmagic>'0'")); // echo "\"*\"/Echipa de Gheata: $noi[0]
"; $mols = mysql_fetch_array(mysql_query("SELECT name, value FROM lib3rtymrc_settings WHERE id='2'")); echo "\"*\"/Top conectati: $mols[1]
"; $mols = mysql_fetch_array(mysql_query("SELECT ppl, dtm FROM lib3rtymrc_mpot WHERE ddt='".date("d m y")."'")); echo "\"*\"/Top conectati: $mols[0]
"; echo "\"*\"/Istoric vezi
"; $tm24 = time() - (24*60*60); $aut = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_users WHERE lastact>'".$tm24."'")); echo mysql_error(); echo "\"*\"/Useri activi azi: $aut[0]
"; $notc = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_topics")); $nops = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_posts")); echo "\"*\"/Numar topicuri: $notc[0]
"; echo "\"*\"/Numar postari: $nops[0]
"; //$sms = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_lovesms")); // echo "Numar sms love: $sms[0]
"; $emotii = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_smilies")); echo "\"*\"/Numar emotii: $emotii[0]
"; $nogal = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_gallery")); echo "\"*\"/Numar poze in galerie: $nogal[0]
"; $gall = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_galcomments")); echo "\"*\"/Numar comentarii poze: $gall[0]
"; //$nopop = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_popups")); //echo "Numar Alerte: $nopop[0]
"; $nopm = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_private")); echo "\"*\"/Numar PM-uri: $nopm[0]
"; echo " \".\"/Meniu Parteneri
"; //$noin = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_private" )); //$nout = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_private" )); //echo "» PM-uri primite: $noin[0]
» PM-uri trimise: $nout[0]
"; //echo "\"*\"/joaca
"; echo "
"; echo "

"; echo "

"; echo "

"; echo ""; ///// //$noi = mysql_fetch_array(mysql_query("SELECT count(*) FROM lib3rtymrc_judges")); //echo "Organizatori Quizz:($noi[0])
"; if(ismod(getuid_sid($sid))) { $noi = mysql_fetch_array(mysql_query("SELECT count(*) FROM lib3rtymrc_penalties WHERE penalty='1' OR penalty='2'")); echo "Banati:\"*\"/ $noi[0]
"; $nobr=mysql_fetch_array(mysql_query("SELECT COUNT(DISTINCT browserm) FROM lib3rtymrc_users WHERE browserm IS NOT NULL ")); echo "Browsere:\"*\"/ $nobr[0]
"; $noi = mysql_fetch_array(mysql_query("SELECT count(*) FROM lib3rtymrc_penalties WHERE penalty='0'")); echo "Aruncati:\"*\"/ $noi[0]
"; $noi = mysql_fetch_array(mysql_query("SELECT count(*) FROM lib3rtymrc_penalties WHERE penalty='2'")); echo "Banati ip:\"*\"/ $noi[0]
"; } echo "

"; echo "

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

"; echo "
"; } else if($action=="top") { addonline(getuid_sid($sid),"Top-urile MagicWorld-ChatCom ","index.php?action=$action"); echo ""; echo "

"; $uid = getuid_sid($sid); echo "Top-urile magicworld-chat.com"; echo "

"; echo "

"; $tmsg = getpmcount(getuid_sid($sid)); $umsg = getunreadpm(getuid_sid($sid)); echo "»Posta($umsg noi)
"; $uid =getuid_sid($sid); echo ""; echo "\"*\"/Top Online General
"; echo "\"*\"/Top Online Lunar
"; echo "\"*\"/Top trivia
"; echo "\"*\"/Top Mesaje live
"; echo "\"*\"/Top Jucatori
"; echo "\"*\"/Top Chateri
"; echo "\"*\"/Top Postari
"; echo "\"*\"/Top plusuri
"; echo "\"*\"/Top vizite
"; //echo "\"*\"/Top Urmariti
"; // echo "\"*\"/Top Sesiuni
"; // echo "\"*\"/Top vizite profil
"; echo "\"*\"/Top Mesaje Trimise
"; echo "\"*\"/Top Mesaje Primite
"; //echo "\"*\"/Top Vechime
"; //echo "\"*\"/Top Vechime
"; echo "
"; echo "

"; echo "

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

"; echo "
"; } else if($action=="schimbanick") { $uid = getuid_sid($sid); addonline(getuid_sid($sid),"Cumpara nick",""); echo ""; //echo ""; echo "

"; echo "Urmatoarea schimbare de nick o vei mai putea face doar peste 7 zile!!
Gandeste-te bine inainte de a-ti modifica numele!!!
Noul nick ti se va aplica imediat dupa ce va fi validat de echipa!


"; echo ""; $nume = mysql_fetch_array(mysql_query("SELECT name FROM lib3rtymrc_users WHERE id='".$uid."'")); echo " "; echo ""; echo "

"; echo "
Nick nou:

"; echo "Nick actual: $nume[0]
"; echo "
"; echo ""; echo "
.:Setari Profil:.
"; echo "Conectati | "; echo "Forum | "; echo "Download
"; echo ".:Index:.
"; echo "

"; } //////////////////////////////////////////verifica else if($action=="verificanick") { addonline(getuid_sid($sid),"Verifica nick",""); $nick = $_POST["nick"]; $uid = getuid_sid($sid); echo ""; // echo ""; echo "

"; if(spacesin($nick)||scharin($nick)) { echo "Nick-urile nu mai pot contine caractere speciale. Va rugam recorectati!
"; echo "

.:Setari Profil:.
"; echo "Conectati | "; echo "Forum | "; echo "Download
"; echo ".:Index:.
"; echo "

"; exit(); } $nickprezent = mysql_fetch_array(mysql_query("SELECT name FROM lib3rtymrc_users WHERE id='".$uid."'")); $data = mysql_fetch_array(mysql_query("SELECT datank FROM lib3rtymrc_users WHERE id='".$uid."'")); if($data[0]>time()) { $cata = $data[0]-time(); echo "Nick-ul il poti schimba o data la o saptamana. Mai ai de asteptat ".gettimemsg($cata)."
"; $unreadinbox=mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_private WHERE unread='1' AND touid='".getuid_sid($sid)."'")); $pmtotl=mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_private WHERE touid='".getuid_sid($sid)."'")); $unrd="(".$unreadinbox[0]."|".$pmtotl[0].")"; echo "
:$unrd"; echo "
.:Setari Profil:.
"; echo "Conectati | "; echo "Forum | "; echo "Download
"; echo ".:Index:.
"; echo "

"; exit(); } $dacaexista = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_users WHERE name='".$nick."'")); if($nickprezent[0]!=$nick) { if($dacaexista[0]>0) { echo "Altcineva are deja acest nick in folos!
"; }else{ $catelit = strlen($nick); if($catelit < 4){ echo "Nick-ul nu trebuie sa cuprinda mai putin de 4 caractere!
"; echo "

Inapoi
"; }else{ echo "Esti sigur ca doresti sa schimbul nickul in
$nick ?
"; # $cand = time()+(7*24*60*60); // lunile anului $data = date("d", $cand); $luna = date("m", $cand); $anu = date("Y", $cand); $ora = date("H:i", $cand); echo "Verifica cu atentie corectitudinea nick-ului ca vei putea sa il schimbi din nou abia peste 7 zile($data-$luna-$anu $ora)
"; echo "Nu, ma mai gandesc putin!
"; echo "Da, sunt sigur!
"; } # echo "

Inapoi
"; } }else{ echo "Acest nick deja il folosesti!!
"; } echo ""; echo "Acasa"; echo "

"; } ///////////////////////////////////////////////seteaza else if($action=="setezanick") { addonline(getuid_sid($sid),"Seteaza nick cumparat!",""); $nick = $_GET["nick"]; echo ""; // echo ""; echo "

"; if(spacesin($nick)||scharin($nick)) { echo "Nick-urile nu mai pot contine caractere speciale. Va rugam recorectati
"; echo ""; echo "Acasa"; echo "

"; exit(); } $idmeu = getuid_sid($sid); $data = mysql_fetch_array(mysql_query("SELECT datank FROM lib3rtymrc_users WHERE id='".$idmeu."'")); if($data[0]>time()) { $cata = $data[0]-time(); echo "Nick-ul il poti schimba o data la o saptamana. Mai ai de asteptat ".gettimemsg($cata)."
"; echo ""; echo "Acasa"; echo "

"; } $nickprezent = mysql_fetch_array(mysql_query("SELECT name FROM lib3rtymrc_users WHERE id='".$idmeu."'")); $dacaexista = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_users WHERE name='".$nick."'")); if($nickprezent[0]!=$nick) { if($dacaexista[0]>0) { echo "Alcineva are deja acest nick in folos!
"; }else if($dacaexista[0]==0){ $timp = time(); $cate = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM ice_arhiva_nk WHERE prop='".$idmeu."'")); $acum = mysql_fetch_array(mysql_query("SELECT name FROM lib3rtymrc_users WHERE id='".$idmeu."'")); if($cate[0]==0){ mysql_query("INSERT INTO ice_arhiva_nk SET nume='".$acum[0]."', prop='".$idmeu."', validat='1', primu='1'"); } $nume = $nick; $res = mysql_query("INSERT INTO ice_arhiva_nk SET nume='".$nick."', prop='".$idmeu."', validat='0', primu='0'"); if($res) { $cand = time()+(7*24*60*60); mysql_query("UPDATE lib3rtymrc_users SET datank='".$cand."' where id='".$idmeu."'"); echo "Cererea pentru schimbarea nick-ului a fost trimisa cu succes!
"; echo "Te rugam sa astepti verificarea si validarea noului nick!
"; }else{ echo "Eroare in dBase!
"; } }}else{ echo "Acest nick deja il folosesti!!
"; } echo "
"; echo "Acasa"; echo "

"; } ////////////////////////////////////////////// else if($action=="istoricnick") { $who = $_GET["who"]; $uid = getuid_sid($sid); addonline(getuid_sid($sid),"Arhiva Nick",""); echo ""; //echo ""; echo "

"; $nume = mysql_fetch_array(mysql_query("SELECT name FROM lib3rtymrc_users WHERE id='".$who."'")); $cate = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM ice_arhiva_nk WHERE prop='".$who."' AND validat='1'")); echo "Istoricul nick-urilor membrului
$nume[0]
(istoricul incepe din data de 08 iulie 2009)"; echo "
"; if($cate[0]==0){ echo "
Nu are schimbari de nick in istoric!
"; }else{ if($page=="" || $page<=0)$page=1; $num_items = $cate[0]; //changable $items_per_page= 5; $num_pages = ceil($num_items/$items_per_page); if(($page>$num_pages)&&$page!=1)$page= $num_pages; $limit_start = ($page-1)*$items_per_page; $sql = "SELECT id, nume, cand, primu FROM ice_arhiva_nk WHERE prop='".$who."' AND validat='1' ORDER BY cand DESC LIMIT $limit_start, $items_per_page"; echo "

"; $items = mysql_query($sql); //$cou =1; $cou = $limit_start; echo mysql_error(); while ($item = mysql_fetch_array($items)) { $cou++; $simbol = getsimbol($item[0]); $nume = mysql_fetch_array(mysql_query("SELECT name FROM lib3rtymrc_users WHERE id='".$who."'")); if($nume[0]==$item[0] && $item[3]!==1){ $ora = date("d-m-y, H:i", $item[2]); $lnk = "$cou. $item[1] - prezent
din $ora
"; }else if($item[3]==1){ $lnk = "$cou. $item[1]
de la inregistrare
"; }else{ $ora = date("d-m-y, H:i", $item[2]); $lnk = "$cou. $item[1]
din $ora
"; } echo "$lnk
"; } 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
"; } if($num_pages>2) { $rets = "pagina:"; $rets .= "[du-te]"; $rets .= ""; $rets .= ""; $rets .= ""; $rets .= ""; $rets .= ""; echo $rets; } } echo "

"; echo "Profil Membru"; echo "
"; echo "Acasa"; echo "

"; } //////////////////////////////////////////Anunt club else if($action=="annc") { addonline(getuid_sid($sid),"(web) Anunta!",""); $clid = $_GET["clid"]; echo ""; echo "$nick@$numesite"; //echo ""; echo ""; echo ""; echo "

"; //include("popups.php"); $cow = mysql_fetch_array(mysql_query("SELECT owner FROM lib3rtymrc_clubs WHERE id='".$clid."'")); $uid = getuid_sid($sid); if($cow[0]!=$uid) { echo "Acest club nu este al tau!"; }else{ echo "Text:
"; echo "Anunta"; echo " "; echo ""; } echo "

\"*\"/"; echo "Meniu Principal"; echo "

"; echo ""; } //////////////////////////////////////////Guestbook else if($action=="addblg") { if(!getplusses(getuid_sid($sid))>50) { echo ""; echo "$nick@$numesite"; //echo ""; echo ""; echo ""; echo "

"; echo "Ai nevoie de macar 50 de plusuri pentru a adauga 1 blog

"; echo "Meniu Principal"; echo "

"; echo ""; echo ""; exit(); } addonline(getuid_sid($sid),"(web) Adauga blog",""); echo ""; echo "$nick@$numesite"; //echo ""; echo ""; echo ""; echo ""; echo " "; echo ""; echo "

"; echo "Titlu:
"; echo "Text:
"; echo "Adauga"; echo " "; echo ""; echo "

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

"; echo ""; } //////////////////////////////////////////add vault else if($action=="addvlt") { if(!getplusses(getuid_sid($sid))>25) { echo ""; echo "$nick@$numesite"; // echo ""; echo ""; echo ""; echo "

"; echo "Ai nevoie de macar 25 de plusuri pentru a aduce ceva la descarcat

"; echo "Meniu Principal"; echo "

"; echo ""; echo ""; exit(); } addonline(getuid_sid($sid),"(web) Adauga element la descarcat",""); echo ""; echo "$nick@$numesite"; // echo ""; echo ""; echo ""; echo ""; echo " "; 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
-----
"; } echo ",Descarca este folosit pentru ca voi sa postati link-ri directe spre descarcare de: imagini, mp3-uri, jocuri etc...
Avertisment: daca folosesti link-uri catre site-ul tau pentru a face reclama vei primi avertisment apoi bann direct!


"; echo "Nume element:
"; echo "Adresa element:
"; echo "Adauga"; echo " "; echo ""; echo "

\"*\"/"; echo "Meniu Principal"; echo "

"; echo ""; } //////////////////////////////////Chestionare else if($action=="viewpl") { $who = $_GET["who"]; addonline(getuid_sid($sid),"(web) Vizualizare chestionar",""); echo ""; echo "$nick@$numesite"; echo ""; echo ""; echo ""; echo "

"; $uid = getuid_sid($sid); $pollid = mysql_fetch_array(mysql_query("SELECT pollid FROM lib3rtymrc_users WHERE id='".$who."'")); if($pollid[0]>0) { $polli = mysql_fetch_array(mysql_query("SELECT id, pqst, opt1, opt2, opt3, opt4, opt5, pdt FROM lib3rtymrc_polls WHERE id='".$pollid[0]."'")); if(trim($polli[1])!="") { $qst = parsepm($polli[1], $sid); echo $qst."

"; $vdone = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_presults WHERE uid='".$uid."' AND pid='".$pollid[0]."'")); $nov = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_presults WHERE pid='".$pollid[0]."'")); $nov = $nov[0]; if($vdone[0]>0) { $voted= TRUE; }else{ $voted = FALSE; } $opt1 = $polli[2]; if (trim($opt1)!="") { $opt1 = htmlspecialchars($opt1); $nov1 = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_presults WHERE pid='".$pollid[0]."' AND ans='1'")); $nov1 = $nov1[0]; if($nov>0) { $per = floor(($nov1/$nov)*100); $rests = "Voturi: $nov1($per%)"; }else{ $rests = "Voturi: 0(0%)"; } if($voted) { $lnk = "1.$opt1 $rests
"; }else{ $lnk = "1.$opt1 ;$rests
"; } echo "$lnk"; } $opt2 = $polli[3]; if (trim($opt2)!="") { $opt2 = htmlspecialchars($opt2); $nov2 = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_presults WHERE pid='".$pollid[0]."' AND ans='2'")); $nov2 = $nov2[0]; if($nov>0) { $per = floor(($nov2/$nov)*100); $rests = "Voturi: $nov2($per%)"; }else{ $rests = "Voturi: 0(0%)"; } if($voted) { $lnk = "2.$opt2 $rests
"; }else{ $lnk = "2.$opt2 $rests
"; } echo "$lnk"; } $opt3 = $polli[4]; if (trim($opt3)!="") { $opt3 = htmlspecialchars($opt3); $nov3 = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_presults WHERE pid='".$pollid[0]."' AND ans='3'")); $nov3 = $nov3[0]; if($nov>0) { $per = floor(($nov3/$nov)*100); $rests = "Voturi: $nov3($per%)"; }else{ $rests = "Voturi: 0(0%)"; } if($voted) { $lnk = "3.$opt3 $rests
"; }else{ $lnk = "3.$opt3 $rests
"; } echo "$lnk"; } $opt5 = $polli[5]; if (trim($opt4)!="") { $opt4 = htmlspecialchars($opt5); $nov4 = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_presults WHERE pid='".$pollid[0]."' AND ans='5'")); $nov4 = $nov4[0]; if($nov>0) { $per = floor(($nov4/$nov)*100); $rests = "Voturi: $nov4($per%)"; }else{ $rests = "Voturi: 0(0%)"; } if($voted) { $lnk = "4.$opt4 $rests
"; }else{ $lnk = "4.$opt4 $rests
"; } echo "$lnk"; } $opt5 = $polli[6]; if (trim($opt5)!="") { $opt5 = htmlspecialchars($opt5); $nov5 = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_presults WHERE pid='".$pollid[0]."' 2AND ans='5'")); $nov5 = $nov5[0]; if($nov>0) { $per = floor(($nov5/$nov)*100); $rests = "Voturi: $nov5($per%)"; }else{ $rests = "Voturi: 0(0%)"; } if($voted) { $lnk = "5.$opt5 $rests
"; }else{ $lnk = "5.$opt5 $rests
"; } echo "$lnk"; } echo "".date("d m y - H:i",$polli[7]).""; }else{ echo "\"x\"/Acest chestionar nu exista"; } }else{ echo "\"x\"/Acest user nu are chestionar"; } echo "

"; echo "

"; echo "\"*\"/"; echo "Meniu Principal"; echo "

"; echo ""; } //////////////////////////////////////////// Statut else if($action=="statutc") { addonline(getuid_sid($sid),"(web) Seteaza Status in lista de conectati","index.php?action=$action"); echo ""; echo "$nick@$numesite"; //echo ""; echo ""; echo ""; $uid = getuid_sid($sid); $unreadpopup=mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_popups WHERE unread='1' AND touid='".$uid."'")); if ($unreadpopup[0]>0) { echo "

"; echo popup($sid); echo "

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

"; echo "Aici va puteti actualiza stare pe care o doriti in lista de conectati, daca activati cheful in lista de conectati, tot ceea ce faceti pe site nu va fi vazut in lista de conectati,adica nu va fi vazuta locatia unde sunteti pentru va aparea cheful in locul acesteia, este interzisa folosirea a mai mult de 2 emotii in chef si deasemenea de adrese de chaturi/injuraturi, cheful poate fi actualizat si din lista de prieteni
"; $uid = getuid_sid($sid); $chef = mysql_fetch_array(mysql_query("SELECT chef FROM lib3rtymrc_users WHERE id='".$uid."'")); if($chef[0]==1){ echo ""; $cmsg = htmlspecialchars(getbudmsg(getuid_sid($sid))); echo " "; echo ""; echo "

"; echo "Text:"; echo "

"; echo ''; echo "

"; echo "«Activeaza chef in lista de conectati
"; }else{ // echo "»Dezactiveaza chef in lista de conectati
"; } echo ""; echo "Setari
"; echo "\"*\"/"; echo "Meniu Principal"; echo "

"; include("syr.php"); echo ""; } //////////////////////////////////////////// Statut else if($action=="chbmsg") { addonline(getuid_sid($sid),"(web) Seteaza Status","index.php?action=$action"); echo ""; echo "$nick@$numesite"; //echo ""; echo ""; echo ""; $uid = getuid_sid($sid); $unreadpopup=mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_popups WHERE unread='1' AND touid='".$uid."'")); if ($unreadpopup[0]>0) { echo "

"; echo popup($sid); echo "

"; echo ""; echo ""; exit(); } echo ""; $cmsg = htmlspecialchars(getbudmsg(getuid_sid($sid))); echo " "; echo ""; echo "

"; echo "

"; //echo "
"; echo "Scrie statusul tau dorit:

"; //echo ""; // echo ""; echo ""; echo "

"; echo "
"; $unreadinbox=mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_private WHERE unread='1' AND touid='".getuid_sid($sid)."'")); $pmtotl=mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_private WHERE touid='".getuid_sid($sid)."'")); $unrd="(".$unreadinbox[0]."|".$pmtotl[0].")"; echo "
:$unrd
"; echo ".:Prieteni:.
"; echo "Conectati | "; echo "Forum | "; echo "Download
"; echo ".:Index:.
"; include("syr.php"); echo "

"; echo ""; } /////////////////////////////////////////////////////////////////// Profil USER else if($action=="viewuser") { if(validare(getuid_sid($sid)) < 1) { echo ""; echo "$sitename"; echo ""; echo ""; echo ""; echo "

"; echo "\"*\"/Contul tau nu a fost validat
Este necesar sa-ti completezi corect profilul
Si sa astepti validarea contului tau
"; echo "Verificarea si activarea contului dumneavoastra poate dura pana la 2 de ore, va rugam asteptati.
Va multumim!


"; echo ""; echo "Daca nu vreti sa asteptati dati add la id-ul de messenger ice_chat@ymail.com
"; echo "
"; echo ""; echo "+Setari profil
"; echo "------
"; echo "\"*\"/ Prima Pagina

"; echo "
"; echo "© $sitte
"; echo "

"; echo ""; echo ""; exit(); } $whonick = getnick_uid($who); addonline(getuid_sid($sid),"(web) Vizualizare profil user $whonick","index.php?action=viewuser&who=$who"); //add visitor if ($uid != $who) $res = mysql_query("INSERT INTO lastview SET whonick='". $whonick ."', lastview='".getnick_uid($uid)."', ltime='".time()."'"); echo ""; echo "$nick@$numesite"; echo ""; echo ""; echo ""; 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
-----
"; } $lastloc=$_GET["lstloc"]; if($lastloc=="cht"){ $rid= $_GET["rid"]; $rooms = mysql_fetch_array(mysql_query("SELECT id, name FROM lib3rtymrc_rooms WHERE id='".$rid."'")); $rname = $rooms[1]; } if($who==""||$who==0) { $mnick = $_POST["mnick"]; $who = getuid_nick($mnick); } $whonick = getnick_uid($who); $bmsg = parsemsg(getbudmsg($who), $sid); ///////////Alerte $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(); } if(isonline($who)) echo "\".\"/
"; else echo "\".\"/
"; ////////// if($whonick!="") { if(isonline($who)) { $iml = "\"+\"/"; }else{ $iml = "\"-\"/"; } $bmsg = parsemsg(getbudmsg($who), $sid); echo "Statut:"; echo "
$bmsg
"; $me = getuid_sid($sid); if($who=="$me") { $use = "[+]"; }else{ $use = ""; } echo "$use"; echo "
-----
"; //echo "Trimite:
"; echo ".:Trimite PM:.
"; //echo "»PM«"; echo "|"; //echo "»Alerta«
"; if (arebuds($uid, $who)) // { //echo "»Alerta«
"; echo "Trimite:
"; echo ".:Alerta:.
"; // } // ultimele vizite if ($who == $uid) { echo "-----
"; echo "Vizitatorii Mei"; echo "
"; } echo "istoric nick-uri
"; if($uid!=$who) if(isonline($who)) echo "»Play RPG«
"; echo "
"; echo ""; // avatar $avlink = getavatar($who); if ($avlink == '') { $sex = @mysql_fetch_array(mysql_query("SELECT sex FROM lib3rtymrc_users WHERE id='".$who."'")); if ($sex[0] == 'F') $avlink = "images/Boy.png"; else $avlink = "images/Girl.png"; } echo "
\"$whonick\"/

"; /* $avat = mysql_fetch_array(mysql_query("SELECT setavatar FROM lib3rtymrc_users WHERE id='".$who."'")); if($avat[0]=="1") { echo "\"$whonick\"/
"; }else{ echo "\"$whonick\"/
"; }*/ $xx = mysql_fetch_array(mysql_query("SELECT lastact FROM lib3rtymrc_users WHERE id='".$who."'")); $lastact = time()-$xx[0]; //$lastact = 9000; $cand = gettimemsg($lastact); echo ": $cand
"; //echo "»Descarca avatar«
"; $invizibil = mysql_fetch_array(mysql_query("SELECT hidden FROM lib3rtymrc_users WHERE id='".$who."'")); if($invizibil[0]==1){ //echo "".getsimbol($who)."$whonick acum $iml
"; $plc = mysql_fetch_array(mysql_query("SELECT place FROM lib3rtymrc_online WHERE userid='".$who."'")); $uact = "$plc[0]
"; if(isonline($who)) echo "Situare: $uact"; // }else{ echo "".getsimbol($who)."$whonick acum \"-\"/deconectat
"; } //echo "$whonick site personal

"; // echo "$iml
"; if(isonline($who)) { ////////////////////// conectat de .... $regd = mysql_fetch_array(mysql_query("SELECT regdate, lastvst, logat 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 "Conectat de: "; //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 "
"; /////////////////////// pana aici }else{ ////////////////////// 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)$http://ice-chat.ro/wap/images/conect.png\days; $hours=$hours%24; } echo "Nici o actiune de: "; 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 "
"; /////////////////////// pana aici } // // if(isonline($who)) // { // $nopl = mysql_fetch_array(mysql_query("SELECT logat FROM lib3rtymrc_users WHERE id='".$who."'")); // $jdt = date("H:i:s",$nopl[0]); // $oraf = "Conectat de la ora: $jdt
"; // }else{ // $oraf = ""; // } echo "$oraf"; echo "-----
"; /// contoarele online $time = mysql_fetch_array(mysql_query("SELECT otime, mtime FROM lib3rtymrc_users WHERE id='".$who."'")); $regd = mysql_fetch_array(mysql_query("SELECT regdate FROM lib3rtymrc_users WHERE id='".$who."'")); $etime = mktime(0,0,0,3,6,2007); if($etime>$regd[0]) $dtime = time()-$etime; else $dtime = time()-$regd[0]; $timeage = ceil($dtime/(24*60*60)); $avgtime = ceil($time[0]/$timeage); $avgmsgtime = gettimemsg($avgtime); $otime = gettimemsg($time[0]); $mtime = gettimemsg($time[1]); echo "Timp Total Online: $otime
"; echo "Conectat Zilnic: $avgmsgtime
"; echo "-----
"; $uid = getuid_sid($sid); if(budres($uid, $who)==0) { echo "»\".\"/+] adauga la prieteni
"; }else if(budres($uid, $who)==1) { echo "* cerere de prietenie in curs *
"; }else if(budres($uid, $who)==2) { echo "»\".\"/-] sterge de la prieteni
"; } $ires = ignoreres($uid, $who); if(es==2) { echo "»[#] sterge de la ignorati
"; }else if($ires==1) { echo "»[#] adauga la ignorati
"; } $countpics = mysql_fetch_array(mysql_query("SELECT COUNT(id) FROM lib3rtymrc_gallery WHERE uid='".$who."'")); echo "Poze in galerie:$countpics[0]
"; $noi = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_gbook WHERE gbowner='".$who."'")); echo "Comentarii:$noi[0]
"; $topconectati = mysql_fetch_array(mysql_query("SELECT topcon FROM lib3rtymrc_users WHERE id='".$who."'")); //echo "Loc in top online:$topconectati[0]
"; echo "-----
"; echo "ID: $who
"; echo "Rang: ".getstatus($who)."
"; //echo "Reputatie: ".getreputatie($who)."
"; $nopl = mysql_fetch_array(mysql_query("SELECT sex, birthday, location FROM lib3rtymrc_users WHERE id='".$who."'")); $uage = getage($nopl[1]); if($nopl[0]=='M') { $usex = "\".\"/Barbat"; }else if($nopl[0]=='F'){ $usex = "\".\"/Femeie"; }else{ $usex = "\".\"/Fara sex"; } $nopl[2] = htmlspecialchars($nopl[2]); echo "Varsta: $uage
"; $datanasterii = mysql_fetch_array(mysql_query("SELECT birthday FROM lib3rtymrc_users WHERE id='".$who."'")); //echo "Zodia: ".obtinedatanasterii($datanasterii[0],$sid); $regd = mysql_fetch_array(mysql_query("SELECT regdate FROM lib3rtymrc_users WHERE id='".$who."'")); $sage = time()-$regd[0]; $rwage = ceil($sage/(24*60*60)); //echo "Varsta $numesite: $rwage zile
"; echo "
Sex: $usex
"; echo "Locatitatea: $nopl[2]"; echo "
"; $nopl = mysql_fetch_array(mysql_query("SELECT site FROM lib3rtymrc_users WHERE id='".$who."'")); $motto = parsepm($nopl[0], $sid); $cati = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM couple WHERE who='".$who."' OR partner='".$who."'")); $cum = mysql_fetch_array(mysql_query("SELECT accept, who, partner FROM couple WHERE who='".$who."' OR partner='".$who."'")); if($cum[0]==1&&$cati[0]!==0){ if($cum[1]==$who){ $cumx= ""; $cumxid= ""; }else{ $cumx= "".getnick_uid($cum[1]).""; $cumxid= $cum[1]; } if($cum[2]==$who){ $cumx2= ""; $cumx2id= ""; }else{ $cumx2= "".getnick_uid($cum[2]).""; $cumx2id= $cum[2]; } $casatorit = mysql_fetch_array(mysql_query("SELECT casatorit FROM couple WHERE who='".$who."' OR partner='".$who."'")); if($casatorit[0]==0) { $nopl = mysql_fetch_array(mysql_query("SELECT sex FROM lib3rtymrc_users WHERE id='".$who."'")); if($nopl[0]=='M') { $stare = "logodit"; }else if($nopl[0]=='F'){ $stare = "logodita"; }else{ $stare = "logodit"; } }else{ $nopl = mysql_fetch_array(mysql_query("SELECT sex FROM lib3rtymrc_users WHERE id='".$who."'")); if($nopl[0]=='M') { $stare = "casatorit"; }else if($nopl[0]=='F'){ $stare = "casatorita"; }else{ $stare = "casatorit"; } } $link = "$stare cu $cumx$cumx2
"; }if($cum[0]==0||$cati[0]==0){ $nopl = mysql_fetch_array(mysql_query("SELECT sex FROM lib3rtymrc_users WHERE id='".$who."'")); if($nopl[0]=='M') { $starex = "singur"; }else if($nopl[0]=='F'){ $starex = "singura"; }else{ $starex = "singur"; } $link = "$starex
"; } echo "Stare Civila: $link"; echo "
"; $judg = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_judges WHERE uid='".$who."'")); if($judg[0]>0) { echo "-----
* Organizator Quizz *
"; } echo "-----
"; //echo "-----
"; $nopl = mysql_fetch_array(mysql_query("SELECT signature FROM lib3rtymrc_users WHERE id='".$who."'")); $sign = parsepm($nopl[0], $sid); echo "MoTTo: $sign"; echo "
-----
"; echo "Alte Detalii:
"; echo "Contact|"; echo "Infatisare
"; echo "Statistici|"; echo "Personalitate
"; echo "
"; //echo "

"; echo "-----
"; echo "»Distreaza-te cu userul«
"; //echo "»Animale Virtuale«
"; //echo "»$numesite ID Card«
"; echo "»doneaza puncte joc«
"; if(ismod(getuid_sid($sid))) { ////////////////////// poanta q actiunile $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 "» Nici o actiune de: "; 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 "
"; /////////////////////// pana aici $nopl = mysql_fetch_array(mysql_query("SELECT browserm FROM lib3rtymrc_users WHERE id='".$who."'")); echo "» Browser: $nopl[0]
"; $uipadd = mysql_fetch_array(mysql_query("SELECT ipadd FROM lib3rtymrc_users WHERE id='".$who."'")); echo "» IP:$uipadd[0]
"; $nob = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_buddies WHERE (uid='".$who."' OR tid='".$who."') AND agreed='1'")); echo "» Prieteni: $nob[0]
"; $nopl = mysql_fetch_array(mysql_query("SELECT plusses FROM lib3rtymrc_users WHERE id='".$who."'")); echo "» Plusuri: $nopl[0]
"; } echo "
"; if(cansee(getuid_sid($sid), $who)) { echo ""; $unol = mysql_fetch_array(mysql_query("SELECT lastpnreas FROM lib3rtymrc_users WHERE id='".$who."'")); if($unol[0]!="") { echo "Motiv penalizare: $unol[0]
"; } $unol = mysql_fetch_array(mysql_query("SELECT lastplreas FROM lib3rtymrc_users WHERE id='".$who."'")); if($unol[0]!="") { echo "Motiv plusuri: $unol[0]
"; } echo "
"; } echo "

"; echo "

"; $judg = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_judges WHERE uid='".getuid_sid($sid)."'")); if(ismod(getuid_sid($sid))) { ///////////////////////////////// comenzi :D ///////////////////////////////// comenzi :D include("comenzi.php"); } echo ""; /* if(isadmin(getuid_sid($sid))) { echo "-Baneaza
"; } if(isowner(getuid_sid($sid))) { echo "-Baneaza
"; } */ if(isowner1(getuid_sid($sid))) { echo "----
"; echo "-Plusuri
"; echo "-Comenzi Proprietar
"; } }else{ echo "\"X\"/ Membru nu exista
"; } echo "-----
"; echo "«"; echo "Prim"; include("syr.php"); echo "

"; echo ""; } ////////////////////////////////////////// uxset else if($action=="uxset") { addonline(getuid_sid($sid),"(web) Setari extinse","index.php?action=$action"); echo ""; echo "$nick@$numesite"; //echo ""; echo ""; echo ""; echo "

"; echo "»Adresa mea
"; echo "»Personalitate
"; echo "»Gmail Settings
"; echo "»Mai multe despre mine
"; echo "»Preferinte
"; echo "

"; echo "

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

"; echo ""; } //////////////////////////////////////////User Address else if($action=="uadd") { addonline(getuid_sid($sid),"(web) Adresa mea",""); echo ""; echo "$nick@$numesite"; //echo ""; echo ""; echo ""; echo ""; $ainfo = mysql_fetch_array(mysql_query("SELECT country, city, street, phoneno, timezone FROM lib3rtymrc_xinfo WHERE uid='".getuid_sid($sid)."'")); echo " "; echo ""; echo "

"; echo "\"!\"/Dute la Preferinte si alege doar prietenii daca vrei ca doar prietenii sa vada numarul tau de telefon si adresa unde stai
"; echo "\"!\"/Daca vrei ca nimeni sa nu iti vada informatiile astea nu le completa
"; echo "

"; echo ' Tara:
Oras:
Timezone(e.g +1 or -2.5):
Numar telefon.:
'; echo "
"; echo "

"; echo "

"; echo ""; echo "Seteaza profil
"; echo "\"*\"/"; echo "Meniu Principal"; include("syr.php"); echo "

"; echo ""; } //////////////////////////////////////////User Preferences else if($action=="upre") { addonline(getuid_sid($sid),"(web) Preferinte",""); echo ""; echo "$nick@$numesite"; //echo ""; echo ""; echo ""; echo ""; $ainfo = mysql_fetch_array(mysql_query("SELECT sitedscr, budsonly, sexpre FROM lib3rtymrc_xinfo WHERE uid='".getuid_sid($sid)."'")); echo " "; echo ""; echo "

"; echo "\"!\"/Situl tau este deja pus pe setarile normale
"; echo "\"!\"/Seteaza prietenii doar pe da, asa ca doar prietenii tai iti poti vedea numarul tau de telefon, strada si numele real
"; echo "\"!\"/Preferintele sexuale vor ajuta pe ceilalti si pe tine sa fii cautat de cine trebuie

"; echo "

"; echo ' Descriere site:
Doar prietenii:
Preferinte sexuale: '; echo "

"; echo "

"; echo "

"; echo ""; echo "Seteaza profil
"; echo "\"*\"/"; echo "Meniu Principal"; include("syr.php"); echo "

"; echo ""; } //////////////////////////////////////////User Personaliy else if($action=="uper") { addonline(getuid_sid($sid),"(web) Personalitate",""); echo ""; echo "$nick@$numesite"; //echo ""; echo ""; echo ""; echo ""; $ainfo = mysql_fetch_array(mysql_query("SELECT height, weight, realname, racerel, eyescolor, profession, hairtype FROM lib3rtymrc_xinfo WHERE uid='".getuid_sid($sid)."'")); echo " "; echo ""; echo "

"; echo "

"; echo ' Inaltime:
Greutate:
Nume real:
Origine etnica:
Culoarea ochilor:
Culoarea parului:
Profesie:
'; echo "

"; echo "

"; echo "

"; echo ""; echo "Seteaza profil
"; echo "\"*\"/"; echo "Meniu Principal"; echo "

"; echo ""; } ///////////////////////////////////Setari diverse else if($action=="altele") { addonline(getuid_sid($sid),"(web) Setari diverse",""); echo ""; echo "$nick@$numesite"; // echo ""; echo ""; echo ""; echo ""; $uid = getuid_sid($sid); $test = mysql_fetch_array(mysql_query("SELECT crefresh, prefresh, lrefresh, lchat, imagini FROM lib3rtymrc_users WHERE id='".$uid."'")); echo " "; echo ""; echo "

"; echo "Setari diverse"; echo "

"; echo "

"; echo "

"; echo "Refresh pe chat:
"; echo "Refresh in posta/lista conectati/prieteni:
"; echo "Conectati pe pagina(lista de conectati):
"; echo "Linii pe camera de chat:
"; echo "Design site cu imagini:
"; echo "

"; echo "

"; echo "

"; echo "

"; echo "-----
"; echo "\"*\"/"; echo "Meniu setari
"; echo "\"*\"/"; echo "Meniu Principal

"; echo ""; } //////////////////////////////////////////Actualizare setari diverse else if($action=="altele2") { addonline(getuid_sid($sid),"(web) Actualizeaza setari diverse",""); $crefresh = $_POST["crefresh"]; $prefresh = $_POST["prefresh"]; $lrefresh = $_POST["lrefresh"]; $lchat = $_POST["lchat"]; $imagini = $_POST["imagini"]; echo ""; echo "$nick@$numesite"; //echo ""; echo ""; echo ""; echo "

"; $uid = getuid_sid($sid); $res = mysql_query("UPDATE lib3rtymrc_users SET crefresh='".$crefresh."', prefresh='".$prefresh."', lrefresh='".$lrefresh."', lchat='".$lchat."', imagini='".$imagini."' WHERE id='".$uid."'"); if($res) { echo "\"o\"/Setari diverse actualizate cu succes cu succes
"; }else{ echo "\"x\"/Eroare in actualiarea profilului
"; } echo "\"*\"/"; echo "Meniu setari
"; echo "
\"*\"/"; echo "Meniu Principal"; echo "

"; } //////////////////////////////////////////User Personaliy else if($action=="umin") { addonline(getuid_sid($sid),"(web) Mai multe despre mine",""); echo ""; echo "$nick@$numesite"; ///echo ""; echo ""; echo ""; echo ""; $ainfo = mysql_fetch_array(mysql_query("SELECT likes, deslikes, habitsb, habitsg, favsport, favmusic, moretext FROM lib3rtymrc_xinfo WHERE uid='".getuid_sid($sid)."'")); echo " "; echo ""; echo "

"; echo "

"; echo ' Imi place:
Nu imi place:
Defecte:
Calitati:
Sport favorit:
Muzica favorita:
Mai multe detalii:
'; echo "

"; echo "

"; echo "

"; echo ""; echo "Seteaza profil
"; echo "\"*\"/"; echo "Meniu Principal"; echo "

"; echo ""; } else if($action=="altes") { addonline(getuid_sid($sid),"(web) Seteaza Profil",""); echo ""; echo "$nick@$numesite"; //echo ""; echo ""; echo ""; echo ""; $ainfo = mysql_fetch_array(mysql_query("SELECT country, city, street, phoneno, timezone FROM lib3rtymrc_xinfo WHERE uid='".getuid_sid($sid)."'")); echo " "; echo ""; echo "

"; echo "\"!\"/Dute la Preferinte si alege doar prietenii daca vrei ca doar prietenii sa vada numarul tau de telefon si idul tau de messenger
"; echo "\"!\"/Daca vrei ca nimeni sa nu iti vada informatiile astea nu le completa
"; echo "

"; echo ' Id Messenger:
Numar telefon.:
'; echo "
"; echo "

"; echo "

"; echo ""; echo "Seteaza profil
"; echo "\"*\"/"; echo "Meniu Principal"; include("syr.php"); echo "

"; echo ""; } //////////////////////////////////////////Give Game Plusses else if($action=="givegp") { $who = $_GET["who"]; addonline(getuid_sid($sid),"(web) Da GPs",""); echo ""; echo "$nick@$numesite"; // echo ""; echo ""; echo ""; echo ""; echo " "; echo ""; echo "

"; echo "

"; echo "Da GP la ".getnick_uid($who)."

"; $gps = mysql_fetch_array(mysql_query("SELECT gplus FROM lib3rtymrc_users WHERE id='".getuid_sid($sid)."'")); echo "Ai $gps[0] GP

"; echo "GP de dat
"; echo "
"; echo ""; echo "
"; echo "

\"*\"/"; echo "Meniu Principal"; echo "

"; echo ""; } //////////////////////////////////////////Give Battle points else if($action=="batp") { $who = $_GET["who"]; addonline(getuid_sid($sid),"(web) Da puncte de batalie",""); echo ""; echo "$nick@$numesite"; //echo ""; echo ""; echo ""; echo ""; echo " "; echo ""; echo "

"; $judg = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_judges WHERE uid='".getuid_sid($sid)."'")); if(ismod(getuid_sid($sid))||$judg[0]>0) { echo "Da/Ia puncte de batalie de la ".getnick_uid($who)."

"; echo "

"; echo ""; echo " "; echo ""; echo "

"; echo "
"; echo ""; echo " "; echo ""; echo "

"; }else{ echo "Zorro iti zice ca esti expirat :D"; } echo "

\"*\"/"; echo "Meniu Principal"; echo "

"; echo ""; } ////// chat else if ($action=="chat") { addonline(getuid_sid($sid),"Chat|Trivia(.:WaP:.)","index.php?action=$action"); echo ""; echo "$nick@$numesite"; //echo ""; echo ""; echo ""; echo "

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

"; echo ""; echo ""; exit(); } echo ""; echo 'Asculta WebRadio!Un Radio cu muzica de calitate si pe toate gusturile!
'; echo "Il poti descarca de-aici :.:Web Radio Lightone:.

"; echo "
"; echo "

"; echo "

"; echo "

"; echo "

"; echo ""; echo "Comunica,si poti castiga un .:PRIETEN:.:
"; $rooms = mysql_query("SELECT id, name, perms, mage, chposts FROM lib3rtymrc_rooms WHERE static='1' AND clubid='0'"); while ($room= mysql_fetch_array($rooms)) { if(canenter($room[0], $sid)) { $noi = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_chonline WHERE rid='".$room[0]."'")); echo "$room[1]($noi[0])
"; } } echo "
"; echo "Camere Private
"; echo "

"; echo "Gandeste,si .:CASTIGA:.:
"; $chatters=mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_onlinefazan")); // echo "Joaca Fazaniada($chatters[0])
"; $chatters=mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_onlinetrivia")); echo "Trivia($chatters[0])
"; // smart $chatters=mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM ice_onlinesmart")); echo "Anagrame($chatters[0])
"; // spanzuratoarea $chatters=mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM ice_onlinespanzr")); //echo "Spanzuratoarea($chatters[0])
"; echo "

"; echo "

"; $unreadinbox=mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_private WHERE unread='1' AND touid='".getuid_sid($sid)."'")); $pmtotl=mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_private WHERE touid='".getuid_sid($sid)."'")); $unrd="(".$unreadinbox[0]."|".$pmtotl[0].")"; echo ":$unrd
"; echo ""; echo "Conectati | "; echo "Forum | "; echo "Download
"; echo "Index
"; include("syr.php"); echo "

"; echo ""; } else if ($action=="uchat") { addonline(getuid_sid($sid),"(web) Camere private","index.php?action=$action"); echo ""; echo "$nick@$numesite"; //echo ""; echo ""; echo ""; echo "

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

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

"; echo "Gandindu-ne ca vreti intimitate,sa vorbiti doar cu persoanele ce le indragiti am adaugat CAMERELE PRIVATE!
"; echo "Pentru a crea o camera privata,tot ce trebuie sa faceti e sa da-ti CREARE CAMERA!
"; echo "Dupa care ve-ti ajunge sa oferiti un NUME camerei dorite de voi,si o PAROLA in caz ca vreti sa fie o camera privata pe baza de parola,de nu,nu pune-ti nici-o parola si va fi o camera publica!
"; echo "De ati urmat pasii de sus,de ve-ti da apoi pe Meniu Chat Privat,ve-ti ajunge la camerele private,si bineinteles,la camera creata de voi!
"; echo "
"; echo "

"; echo "

"; echo "

"; echo ".:Creare Camera:.
"; $rooms = mysql_query("SELECT id, name, pass FROM lib3rtymrc_rooms WHERE static='0'"); $co=0; while ($room= mysql_fetch_array($rooms)) { $co++; if(canenter($room[0], $sid)) { $noi = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_chonline WHERE rid='".$room[0]."'")); if($room[2]=="") { echo "".htmlspecialchars($room[1])."($noi[0])
"; }else{ echo "

"; echo "
"; echo ''; echo ""; echo ""; echo "
"; } } } echo "

"; echo "

"; echo "Conectati | "; echo "Forum | "; echo "Download
"; echo "Index|"; echo "Chat"; include("syr.php"); echo "

"; echo ""; } else if($action=="mkroom") { addonline(getuid_sid($sid),"Creare Camera Privata(.:WaP:.)","index.php?action=$action"); echo ""; echo "$nick@$numesite"; //echo ""; echo ""; echo ""; echo "

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

"; echo ""; echo ""; exit(); } echo "De ati fost atenti la pagina anterioara,unde va era explicat cum sa creati camera,nu veti intampina nici-o problema!Succes!
"; echo "
"; echo "Numele Camerei Dorite

"; echo "Parola

"; echo "

"; echo "

"; echo "

"; echo "

"; $unreadinbox=mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_private WHERE unread='1' AND touid='".getuid_sid($sid)."'")); $pmtotl=mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_private WHERE touid='".getuid_sid($sid)."'")); $unrd="(".$unreadinbox[0]."|".$pmtotl[0].")"; echo ":$unrd
"; echo ""; echo "Conectati | "; echo "Forum | "; echo "Download
"; echo "Index|"; echo "Chat
"; echo "

"; include("syr.php"); echo ""; } else if ($action=="funm") { addonline(getuid_sid($sid),"(web) Meniu jocuri","index.php?action=$action"); echo ""; echo "$nick@$numesite"; //echo ""; echo ""; echo ""; echo "

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

"; echo ""; echo ""; exit(); } echo "Bine ai venit in meniul jocurilor oferite de MagicWorld !"; echo "

"; echo "

"; echo ".::Jocuri Dinamice::.
"; //echo "Animalutzul tau
"; echo "Avioanele
"; echo "Raliuri MagicWorld-ChatCom
"; echo "Jocuri noroc
"; echo " \".\"/ Triburile
"; echo ".::Jocuri Distractive::.
"; echo "Ghiceste numarul
"; echo "Spanzuratoarea
"; echo "Loto 20/99
"; echo "Loto 20/80
"; echo "X si 0
"; echo "RPG
"; echo "Barbut
"; // echo "Gaseste Bomba
"; echo "

"; echo "

"; $unreadinbox=mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_private WHERE unread='1' AND touid='".getuid_sid($sid)."'")); $pmtotl=mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_private WHERE touid='".getuid_sid($sid)."'")); $unrd="(".$unreadinbox[0]."|".$pmtotl[0].")"; echo "
:$unrd
"; echo ".:Setari Profil:.
"; echo "Conectati | "; echo "Forum | "; echo "Download
"; echo ".:Index:."; include("syr.php"); echo "

"; echo ""; } ///////////////////////////////////Seteaza profil else if($action=="setari") { addonline(getuid_sid($sid),"Seteaza profil","index.php?action=$action"); echo ""; echo "$nick@$numesite"; // echo ""; echo ""; echo ""; echo "

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

"; echo ""; echo ""; exit(); } // include("popups.php"); echo "Pentru a evita unele Sanctiuni ale Echipei,e recomandat sa va completati profilul corespunzator!
"; echo "Asta insemnand : VARSTA | LOCALITATEA | MOTTO-ul | CHEF-ul PM-ului | AVATARUL si bineinteles si celelalte FACILITATI OFERITE!
"; echo "Avand profilul completat corect,va puteti gasi un PRIETEN mai usor!
"; echo "Pentru a evita orice nelamurire,vizualizeaza-ti profilul,si vezi de are nevoie de vreo modificare:
"; $uid =getuid_sid($sid); echo "
.:Profilul Meu:.

"; echo "

"; echo "

"; echo "
"; echo "Setari ale Profilului:
"; $uid =getuid_sid($sid); echo "\".\"/.:Profilul Meu:.
"; echo "\".\"/.:Editeaza Profil:.
"; echo "\".\"/.:Seteaza Avatar:.
"; echo "\"*\"/.:Seteaza Chef PM:.
"; //$hidden = mysql_fetch_array(mysql_query("SELECT hidden FROM lib3rtymrc_users WHERE id='".$uid."'")); //if($hidden[0]==1) //{ echo "\".\"/Intra pe modul invizibil
"; //}else{ //echo "\".\"/Iesi de pe modul invizibil
"; //} echo "\".\"/.:Schimba Parola:.
"; echo "\".\"/.:Accesarea Profilului:.
"; //echo "\".\"/.:Modifica Design Chat:.
"; echo "Setari Personale
"; echo "\".\"/.:Starea Civila:.
"; echo "\".\"/.:GoogleMagicWorld:.
"; echo " \".\"/.:Prieteni Invitati:.
"; $noi = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_ignore WHERE name='".$uid."'")); echo "\".\"/.:Modifica Nick:.
"; echo "\".\"/.:Activitatea Mea:.
"; echo "

"; echo "

"; $unreadinbox=mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_private WHERE unread='1' AND touid='".getuid_sid($sid)."'")); $pmtotl=mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_private WHERE touid='".getuid_sid($sid)."'")); $unrd="(".$unreadinbox[0]."|".$pmtotl[0].")"; echo "
:$unrd
"; echo "Conectati | "; echo "Forum | "; echo "Download
"; echo ".:Index:.
"; echo "

"; echo ""; } else if($action=="sitethms") { addonline(getuid_sid($sid),"Schimba Tema",""); echo ""; echo "Teme $sitte"; //echo ""; echo ""; echo ""; echo "

"; echo ".:Bine ati venit in Design-ul Chat-ului:.

"; echo "

Aici aveti oportunitatea de a selecta Temele Chatului,ce va vor schimba in principiu Aspectul!"; echo "

Ramane sa descoperi-ti voi!


"; echo "
.:Seteaza Tema:.
"; echo "
"; echo ""; echo ""; echo "
"; echo "

"; echo "

"; $unreadinbox=mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_private WHERE unread='1' AND touid='".getuid_sid($sid)."'")); $pmtotl=mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_private WHERE touid='".getuid_sid($sid)."'")); $unrd="(".$unreadinbox[0]."|".$pmtotl[0].")"; echo "
:$unrd
"; echo ".:Setari Profil:.
"; echo "Conectati | "; echo "Forum | "; echo "Download
"; echo ".:Index:."; echo "

"; echo ""; } ///////////////////////// notificare pm else if($action=="notificare") { addonline(getuid_sid($sid),"(web) Notificare Pm",""); echo ""; echo "$nick@$numesite"; //echo ""; echo ""; echo ""; echo "

"; echo "Daca ai o adresa de e-mail valida pusa la profil,activand optiunea vei primi un e-mail de fiecare data cand cineva iti va trimite un pm pe $numesite si tu nu esti online"; echo "
-------
"; echo "

"; echo "

"; $uid =getuid_sid($sid); $notificare = mysql_fetch_array(mysql_query("SELECT notificare FROM lib3rtymrc_users WHERE id='".$uid."'")); if($notificare[0]==1) { echo "»Dezactiveaza notificare PM prin mail«
"; }else{ echo "»Activeaza notificare PM prin mail«
"; } echo "
"; echo "

"; echo "

"; echo "Setari profil
"; echo "\"*\"/"; echo "Meniu Principal"; echo "

"; echo "

"; echo ""; echo "P.S.:aceasta optiune este doar pentru cei care au o adresa de e-mail valida la profil"; echo ""; echo "

"; echo ""; } //////////////////////////// mod primire alerte else if($action=="alerteset") { addonline(getuid_sid($sid),"(web) Seteaza alerte","index.php?action=$action"); echo ""; echo "$nick@$numesite"; //echo ""; echo ""; echo ""; echo "

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

"; echo ""; echo ""; exit(); } // include("popups.php"); echo "\"*\"/
"; echo "Mod primire alerte
"; echo "

"; echo "

"; echo "In mod initial alertele sunt active doar pentru prieteni,daca doriti sa primiti alerte de la toti trebuie sa \"Dezactiveaza alertele numai pentru prieteni\"
"; //////////////// alertele $popmsgs = mysql_fetch_array(mysql_query("SELECT popmsg FROM lib3rtymrc_users WHERE id='".$uid."'")); if($popmsgs[0]==0){ echo "»Activeaza alertele
"; }else{ //////////////// alertele $alerte = mysql_fetch_array(mysql_query("SELECT alerte FROM lib3rtymrc_users WHERE id='".$uid."'")); if($alerte[0]==1) { echo "»Activeaza alertele numai pentru prieteni
"; }else{ echo "»Dezactiveaza alertele numai pentru prieteni
"; } // echo "-----
»Dezactivaza alertele
"; } echo "

"; echo "

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

"; echo ""; } //////////////////////////// mesaje automate else if($action=="autopms") { addonline(getuid_sid($sid),"(web) Seteaza Mesajele Automate","index.php?action=$action"); echo ""; echo "$nick@$numesite"; //echo ""; echo ""; echo ""; echo "

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

"; echo ""; echo ""; exit(); } // include("popups.php"); echo "\"*\"/
"; echo "Auto PM-uri
"; echo "

"; echo "

"; echo "Dezactivand acesta optiune nu ve-ti mai primi pm-uri automate cand primiti un cometariu la profil,poza sau cand ve-ti mai fi acceptati/stersi din lista de prieteni a unui user!
"; if(automsgs($uid)){ echo "»Dezactiveaza Mesajele automate
"; }else{ echo "»Activeaza Mesajele Automate
"; } echo "

"; echo "

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

"; echo ""; } /////////////////////////alertele else if($action=="popread") { echo ""; echo "$nick@$numesite"; //echo ""; echo ""; echo ""; echo "

"; $lastloc=$_GET["lastloc"]; $pmid=$_GET["pmid"]; $ncl = mysql_query("UPDATE lib3rtymrc_private SET read='1' WHERE id='".$pmid."'"); echo "Pm Now Marked As Read Visit Your Inbox To Reply Or delete the message.
"; echo "

"; echo "

"; if($lastloc=="indxmain"){ echo ""; }else if($lastloc=="cht"){ $rid=$_GET["rid"]; echo ""; } echo "Back To Where You Where Before"; echo "

"; echo ""; } ///////////////////////////// alerte on else if($action=="popenable") { echo ""; echo "$nick@$numesite"; //echo ""; echo ""; echo ""; echo "

"; $ncl = mysql_query("UPDATE lib3rtymrc_users SET popmsg='1' WHERE id='".$uid."'"); echo "\"o\"/Alerte Activate cu succes
"; echo "

"; echo "

"; echo "\"*\"/"; echo "Meniu Principal"; echo "

"; echo ""; } ////////////////////////////// alerte off else if($action=="popdisable") { echo ""; echo "$nick@$numesite"; //echo ""; echo ""; echo ""; echo "

"; $ncl = mysql_query("UPDATE lib3rtymrc_users SET popmsg='0' WHERE id='".$uid."'"); echo "\"o\"/Alerte dezactivate cu succes.
"; echo "

"; echo "

"; echo "\"*\"/"; echo "Meniu Principal"; echo "

"; echo ""; } ////////////////////// seteaza alerte else if($action=="setalerte") { addonline(getuid_sid($sid),"(web) Seteaza alerte",""); echo ""; echo "$nick@$numesite"; // echo ""; echo ""; echo ""; echo "

"; echo "\"*\"/
"; echo ""; $uid = getuid_sid($sid); $ncl = mysql_query("SELECT popmsg FROM lib3rtymrc_users WHERE id='".$uid."'"); echo " "; echo ""; echo "Mod primire Alerte

"; echo ""; echo "
"; echo "Confirma"; echo "
"; echo "\"*\"/"; echo "Meniu Principal"; echo "

"; echo ""; } ////////////////////// seteaza pm-uri else if($action=="setpm") { addonline(getuid_sid($sid),"(web) Seteaza PM-uri",""); echo ""; echo "$nick@$numesite"; ///echo ""; echo ""; echo ""; echo "

"; echo "\"*\"/
"; echo ""; $uid = getuid_sid($sid); $ncl = mysql_query("SELECT pmmsg FROM lib3rtymrc_users WHERE id='".$uid."'"); echo " "; echo ""; echo "Mod primire PM-uri

"; echo "
"; echo "Confirma"; echo "
"; echo "\"*\"/"; echo "Meniu Principal"; echo "

"; echo ""; } ////////////////////////////////////////////////////////Validare veche :D else if($action=="validare") { addonline(getuid_sid($sid),"(web) Trimitere Cerere validare",""); echo ""; echo "$nick@$numesite"; //echo ""; echo ""; echo ""; echo "

"; echo "\"*\"/
"; $whonick = getnick_uid($who); echo "(*)Pentru a avea acces in totalitate la meniul siteului dupa ce ai completat profilul trimite o cerere de validare!
"; echo "»Completeaza Profilul«
"; echo "(*)Trimite cere de validare:

"; ////echo "Numele:
"; ///echo "
"; echo "»Trimit cerere de validare!"; echo ""; echo ""; echo "«

"; echo "\"*\"/"; echo "Meniu Principal"; echo "

"; echo ""; } ////////////////////////////////////////////////////////Deconectare else if($action=="deconectare") { $uid = getuid_sid($sid); $whonick = getnick_uid($uid); if($uid>0) { addonline(getuid_sid($sid),"(web) Deconectat(a)",""); } echo ""; echo "$nick@$numesite"; //echo ""; echo ""; echo ""; echo "

"; // echo "\"*\"/
"; echo "Te-ai deconectat , $whonick!

"; echo "Iti multumim ca ai ales site-ul nostru si te mai asteptam cu multe noutati!
"; ////////////////////// conectat de .... $regd = mysql_fetch_array(mysql_query("SELECT regdate, lastvst, logat FROM lib3rtymrc_users WHERE id='".$uid."'")); $sage = time()-$regd[2]; $rwage = gettimemsg($sage); $lastact = time()-$regd[2]; $conectat = gettimemsg($lastact); echo "Ai stat conectat pe MagicWorld-Chat.Com:
$conectat

"; $libsql = mysql_fetch_array(mysql_query("SELECT sesiunemax FROM lib3rtymrc_users WHERE id='".$uid."'")); $cat = gettimemsg($libsql[0]); if($libsql[0]<$lastact) { mysql_query("UPDATE lib3rtymrc_users SET sesiunemax='".$lastact."' WHERE id='".$uid."'"); echo "Ti-ai intrecut vechiul record!
"; } # $noi = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM xp_urmariti WHERE pecine='".getuid_nick($uid)."'")); if($noi[0]>0){ $sql = mysql_query("SELECT id, cine FROM xp_urmariti WHERE notif='1' AND pecine='".getuid_nick($uid)."'"); while ($id = mysql_fetch_array($sql)){ trim_pm("[mss=http://ice-chat.ro/Spy.gif].[/mss][br/]".$uid." a iesit pe chat. Adu-l inapoi.", 3, $id['cine']); } } # mysql_query("DELETE FROM lib3rtymrc_ses WHERE uid='".$uid."'"); mysql_query("DELETE FROM lib3rtymrc_online WHERE userid='".$uid."'"); mysql_query("UPDATE lib3rtymrc_users SET ulttpc='', ultpg='' WHERE id='".$uid."'"); mysql_query("UPDATE lib3rtymrc_users SET OK_TEAM='0' WHERE id='".$uid."'"); echo "
"; echo "inapoi
"; /////////////////////// pana aici echo "

"; echo ""; } ////// deconectare definitiva else if($action=="deconectare1") { $uid =getuid_sid($sid); if($uid>0) { addonline(getuid_sid($sid),"(web) Deconectat(a)",""); } echo ""; echo "$nick@$numesite"; //echo ""; echo ""; echo ""; /smallecho "

"; echo "\"*\"/
"; echo "Esti deconectat
Va multumim pentru vizita va mai asteptam!enjoy...
-----
"; mysql_query("DELETE FROM lib3rtymrc_ses WHERE uid='".$uid."'"); mysql_query("DELETE FROM lib3rtymrc_online WHERE userid='".$uid."'"); echo "»"; echo "logare«"; echo "

© $numesite"; echo "

"; echo ""; } ///////////////////////////////////Extra meniu else if($action=="extra") { addonline(getuid_sid($sid),"(web) Extra meniu","index.php?action=$action"); echo ""; echo "$nick@$numesite"; echo ""; echo ""; echo ""; echo "

"; $uid = getuid_sid($sid); echo "Bine ai venit in Meniul Serviciilor oferite de IceChat!"; echo "

"; echo "

"; echo "
"; $uid =getuid_sid($sid); echo ".:Servicii MagicWorld-Chat:.:
"; $on=mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM n3s_conectquiz`")); //echo "-Quiz Automat($on[0])
"; echo ".:Dedicatii:.
"; echo ".:Magazine Virtuale:.
"; echo ".:Verifica ID Messenger:.
"; echo ".:Gaseste Adresa Hi5:.
"; echo ".:Categorii Emotii:.
"; //echo "-Meniu Ajutor
"; //echo "-Statuturi Si Simboluri
"; //echo "-Lista Emotii
"; //echo "-Categorii Emotii(7)
"; //echo "-CoduriBB
"; //echo "-------
"; echo "

"; echo "

"; $unreadinbox=mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_private WHERE unread='1' AND touid='".getuid_sid($sid)."'")); $pmtotl=mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_private WHERE touid='".getuid_sid($sid)."'")); $unrd="(".$unreadinbox[0]."|".$pmtotl[0].")"; echo "
:$unrd
"; echo ".:Setari Profil:.
"; echo "Conectati | "; echo "Forum | "; echo "Download
"; echo ".:Index:."; echo "

"; echo ""; } ///////////////////////////////view blog else if($action=="viewblog") { $bid = $_GET["bid"]; addonline(getuid_sid($sid),"(web) Vizualizare Blog",""); echo ""; echo "$nick@$numesite"; echo ""; echo ""; echo ""; echo "

"; $pminfo = mysql_fetch_array(mysql_query("SELECT btext, bname, bgdate,bowner, id FROM lib3rtymrc_blogs WHERE id='".$bid."'")); $bttl = htmlspecialchars($pminfo[1]); $btxt = parsemsg($pminfo[0], $sid); $bnick = getnick_uid($pminfo[3]); $vbbl = "$bnick
"; echo "Club ID: $bid
"; echo "$bttl by: $vbbl
"; echo "$btxt
"; $tmstamp = $pminfo[2]; $tmdt = date("d m y - h:i:s", $tmstamp); echo "$tmdt

"; $vb = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_brate WHERE uid='".$uid."' AND blogid='".$bid."'")); if($vb[0]==0) { echo "
"; echo "Rata"; echo ""; echo ""; echo ""; }else{ $rinfo = mysql_fetch_array(mysql_query("SELECT COUNT(*) as nofr, SUM(brate) as nofp FROM lib3rtymrc_brate WHERE blogid='".$bid."'")); $ther = $rinfo[1]/$rinfo[0]; echo "Rata: $ther - Points: $rinfo[1]"; } echo "

"; echo "

"; echo "Inapoi la Blogs
"; $bnick = getnick_uid($pminfo[3]); echo "Inapoi la $bnick Blogs
"; echo "\"*\"/"; echo "Meniu Principal"; echo "

"; echo ""; } /////////////////////////////////Prop CP else if($action=="proprietar") { addonline(getuid_sid($sid),"(web) Comenzi proprietar",""); echo ""; echo "$nick@$numesite"; // echo ""; echo ""; echo ""; echo "

"; echo "\"*\"/
"; //echo "Comenzi Propietar"; echo "

"; echo "

"; if(isowner1(getuid_sid($sid))) { $prop = mysql_fetch_array(mysql_query("SELECT value FROM lib3rtymrc_settings WHERE name='proprietar'")); $password = $_post["password"]; $password="$prop[0]"; if($_POST['password'] != $password || $_GET['pass'] == $password) { echo "

Parola:"; echo "
"; echo "
"; echo "

"; }else{ if($uid='1'||$uid='2'||$uid='4'){ //echo " \".\"/Anti Noob(v.1.0.0)
"; } //echo"»Seataza iconita user
";} echo " \".\"/Seataza iconita membru (NeW)
"; echo " \".\"/Maxime (NeW)
"; echo " \".\"/Texte Predefinite (NeW)
"; //echo " \".\"/Trimite PM
"; echo " \".\"/Trimite Mass
"; echo " \".\"/Setari generale
"; echo " \".\"/Parole Comenzi
"; echo " \".\"/Site-uri blocate
"; echo " \".\"/Browsere blocate
"; echo " \".\"/IP-uri blocate
"; echo " \".\"/Cuvinte Filtru
"; //echo " \".\"/Administreaza nume
"; //echo "»Administreaza Magazin Virtual
"; //echo "»Schimba profil user
"; echo " \".\"/Categorii forum
"; echo " \".\"/Categorii Descarcari
"; echo " \".\"/Forumuri
"; //echo "»Grupuri utilizatori
"; echo " \".\"/Adauga intrebare trivia
"; //echo "»Adauga permisiuni
"; echo " \".\"/Adauga Emotii
"; echo " \".\"/Adauga Avatar
"; echo " \".\"/Setari chat
"; echo " \".\"/Administrare parteneri
"; echo " \".\"/(!)Sterge data
"; echo " \".\"/(!)Sterge useri inactivi
"; //echo "(*)Admin X
"; } }else{ echo "Nu esti proprietar ;)"; } echo "

"; echo "

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

"; echo ""; } /////////////////////////////////ADMIN CP else if($action=="adminsef") { addonline(getuid_sid($sid),"(web) Comenzi admin sef",""); echo ""; echo "$nick@$numesite"; echo ""; echo ""; echo ""; echo "

"; echo "Panou Control $numesite"; echo "

"; echo "

"; $adminsef = mysql_fetch_array(mysql_query("SELECT value FROM lib3rtymrc_settings WHERE name='adminsef'")); $password = $_post["password"]; $password="$adminsef[0]"; if($_POST['password'] != $password || $_GET['pass'] == $password) { echo "
Parola:"; echo "

"; echo "
"; echo "

"; }else{ echo ""; if(isowner(getuid_sid($sid))) { echo "»Setari generale
"; echo "»Maxime (NeW)
"; //echo "»Texte Predefinite (NeW)
"; echo "»Forumuri
"; echo "»Categorii forum
"; echo "»Categorii Descarcari
"; echo "»Adauga intrebare trivia
"; echo "»Site-uri blocate
"; echo "»Browsere blocate
"; echo "»IP-uri blocate
"; echo "»Adauga Emotii
"; echo "»Trimite Mass
"; echo "»Maxime (NeW)
"; echo "»Cuvinte Filtru
"; echo "»Setari chat
"; echo "»Sterge mesaje live
"; }else{ echo "Nu esti admin sef"; } echo "
"; } echo "

"; echo "

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

"; echo ""; } /////////////////////////////////ADMIN CP else if($action=="admin") { addonline(getuid_sid($sid),"(web) Comenzi Administrare",""); echo ""; echo "$nick@$numesite"; echo ""; echo ""; echo ""; echo "

"; echo "Administrare $numesite"; echo "

"; echo "

"; $admin = mysql_fetch_array(mysql_query("SELECT value FROM lib3rtymrc_settings WHERE name='admin'")); $password = $_post["password"]; $password="$admin[0]"; if($_POST['password'] != $password || $_GET['pass'] == $password) { echo "
Parola:"; echo "

"; echo "
"; echo "

"; }else{ echo ""; if(isadmin(getuid_sid($sid))) { echo "»Setari generale
"; echo "»Adauga intrebare trivia
"; echo "»Site-uri blocate
"; echo "»Browsere blocate
"; echo "»IP-uri blocate
"; //echo "»Schimba profil user
"; echo "»Adauga Emotii
"; echo "»Trimite Mass
"; echo "»Maxime (NeW)
"; echo "»Cuvinte Filtru
"; }else{ echo "Nu esti admin"; } echo "
"; } echo "

"; echo "

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

"; echo ""; } ////////////////////////////////////////////////////// else if($action=="optiuni" && isowner1($uid)) { $uid = getuid_sid($sid); $cine = (int)$_GET['who']; $cod = mysql_fetch_array(mysql_query("SELECT incr FROM lib3rtymrc_users WHERE id=".$cine."")); $ln = explode('-',$cod[0]); ////////////////// addonline(getuid_sid($sid),"Acorda Optiuni","index.php?action=$action"); echo ""; echo "

"; echo "Acorda optiuni
($cod[0])
"; echo "

"; echo "

"; if($_POST['cof']=="Xp"){ $x = $_POST['cod'];$x2 = $_POST['cod1']; $x3 = $_POST['cod2']; $x4 = $_POST['cod3']; $xp = "$x-$x2-$x3-$x4"; $res = mysql_query('UPDATE `lib3rtymrc_users` SET `incr` = \''.$xp.'\' WHERE `lib3rtymrc_users`.`id` = '.$cine.' LIMIT 1;'); if($res)echo "

Optiuni setate cu succes
"; else echo "
Eroare in baza de date
"; }else{ echo "Citeste POsta

"; echo "Sterge User

"; echo "Vede parola

"; echo "Editeaza Profil

"; echo "Actualizeaza "; } echo "

"; echo "

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

"; echo "
"; } ///////////////////////////////// Regulament echipa else if($action=="regulament") { addonline(getuid_sid($sid),"(web) Citeste regulament echipa",""); echo ""; echo "$nick@$numesite"; echo ""; echo ""; echo ""; echo "

"; echo "Regulament Echipa"; echo "

"; echo "

"; echo ""; echo "\"!\"/Schimbati-va parola,si nu puneti ca parola numere de telefon,numele dumneavoastra al unei persoane apropiate usor de ghicit!
"; echo "\"!\"/Parola de pe $numesite sa nu o mai aveti pe nici un alt site
"; echo "\"!\"/NU INSTRAINATI PAROLA DUMNEAVOASTRA UNUI ALT USER!(iubit/a)
"; echo "\"!\"/NU PENALIZATI UN COECHIPIER,DACA CONSTATATI O GRESEALA A ACESTUIA ANUNTATI URGENT UN PROPRIETAR
"; echo "\"!\"/Puteti avea functie doar pe $numesite,daca va observam si in alta echipa veti ramane fara functie aici fara avertisment
"; echo "\"!\"/Pm-urile si alertele raportate sunt strict confidentiale
"; echo "\"!\"/Inainte de a valida un cont verificatii ip-ul si nu-l validati daca nu are completat corect asl-ul
"; echo "\"!\"/Nu penalizati sexul virtual de pe pm-urile/alertele raportate
"; echo "\"!\"/Inainte de a penaliza un user il veti avertiza,exceptand cazurile in care se face spam!
"; echo "\"!\"/Daca pe camera de chat cineva face scandal ii ve-ti da kick si daca nu se potoleste folositi optiunea baneaza chat
"; echo "\"!\"/Daca cineva posteaza aiurea pe forum penalizati-l cu optiunea Baneaza forum
"; echo "\"!\"/Pentru injurii/jigniri aduse pe pm/alerta/pv banati pe un interval de la 2-3h la 9 zile
"; echo "\"!\"/Folositi optiunea ban ip doar pe cei de pe pc dupa ce ii ve-ti retrage scutul(daca il are activat)
"; echo "\"!\"/Nu uitati ca interesul nostru nu este cel de a bana un user,ci de a aduna cat mai multi
"; echo "\"!\"/Pentru orice nelamurire sau problema aparuta pe site indiferent de ora luati legatura cu unul dintre propriatari
"; echo "\"!\"/Orice abatere de la regulament se pedepseste!
"; echo "
"; echo "

"; echo "

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

"; echo ""; } ///////////////////////////////////// else if($action=="cadou") { addonline(getuid_sid($sid),"Tocmai a luat cadoul","index.php?action=$action"); echo ""; echo "

"; ######cadou $me = getuid_sid($sid); if($who!=="$me") { $timp = mysql_fetch_array(mysql_query("SELECT MAX(timp) FROM lexus_cadou WHERE cine='$me'")); $timptrecut = $timp[0]+3600; $timpcurent = time(); if($timptrecut>$timpcurent) { $remain = $timptrecut - $timpcurent; $rmsg = gettimemsg($remain); echo "\"x\"/
Ai ridicat in ultima ora cadoul!
Urmatorul cadou vine in $rmsg
"; echo "
Profilul meu
acasa

"; exit(); }else{ $timp = time(); $merge = mysql_query("INSERT INTO lexus_cadou SET cine='$me', timp='$timp'"); mysql_query("UPDATE lib3rtymrc_users SET lastplreas='A luat cadoul', plusses=plusses+100 WHERE id='".$uid."'"); if($merge){ echo "\"x\"/
Felicitari!!! Ai primit 100 plusuri cadou si o sa primesti in continuare odata pe ora!
"; }else{ echo "Momentan se lucreaza la acest serviciu

"; } } } #cadou echo "

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

"; echo "
Profilul meu
"; echo "Acasa"; echo "

"; echo ""; } ////////////////////////////////////////iepurasi else if($action=="iepuras") { addonline(getuid_sid($sid),"Tocmai a prins un iepuras","index.php?action=$action"); echo ""; echo "

"; ######cadou $me = getuid_sid($sid); if($who!=="$me") { $timp = mysql_fetch_array(mysql_query("SELECT MAX(timp) FROM dany_iepurasi WHERE cine='$me'")); $timptrecut = $timp[0]+3600; $timpcurent = time(); if($timptrecut>$timpcurent) { $remain = $timptrecut - $timpcurent; $rmsg = gettimemsg($remain); echo "
Ai prins deja un iepuras!
Urmatorul iepuras e posibil sa vina in $rmsg

"; echo "Profilul Meu
"; //include("quick.php"); echo "

"; exit(); }else{ $timp = time(); $merge = mysql_query("INSERT INTO dany_iepurasi SET cine='$me', timp='$timp'"); mysql_query("UPDATE lib3rtymrc_users SET iepurasi=iepurasi+1 WHERE id='".$uid."'"); if($merge){ $stire = "a prins un iepuras"; mysql_query("INSERT INTO stefu_stiri SET stire='$stire', id1='$who',id2='$uid',actiune='1'"); echo "\"*\"/
Felicitari!!! Tocmai ai prins un iepuras!
NOTA:Poti vinde acest iepuras cu 250+ la piata de iepurasi aflata pe meniul principal!

"; }else{ echo "Nu ai prins iepurasul,mai incearca odata!

"; } } } #cadou echo "

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

"; echo "Acasa"; //
// echo "Acasa"; // include("quick.php"); echo "

"; echo ""; } ////////////////////////// else if($action=="steluta") { addonline(getuid_sid($sid),"Tocmai a luat steluta","index.php?action=$action"); echo ""; echo "

"; ######cadou $me = getuid_sid($sid); if($who!=="$me") { $timp = mysql_fetch_array(mysql_query("SELECT MAX(timp) FROM lexus_steluta WHERE cine='$me'")); $timptrecut = $timp[0]+86400; $timpcurent = time(); if($timptrecut>$timpcurent) { $remain = $timptrecut - $timpcurent; $rmsg = gettimemsg($remain); echo "\"x\"/
Ai ridicat in ultima ora cadoul!
Urmatoare steluta vine in $rmsg
"; echo "
Profilul meu
acasa

"; exit(); }else{ $timp = time(); $merge = mysql_query("INSERT INTO alyyn_steluta SET cine='$me', timp='$timp'"); mysql_query("UPDATE lib3rtymrc_users SET lastplreas='A luat steluta', steluta=steluta+1 WHERE id='".$uid."'"); if($merge){ echo "\"x\"/
Felicitari!!! Ai primit o steluta .
Ramai alaturi de noi si vei primi mai multe stelute !

"; }else{ echo "Momentan se lucreaza la acest serviciu

"; } } } #steluta echo "

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

"; echo "
Profilul meu
"; echo "Acasa"; echo "

"; echo ""; } /////////////////////////////////termeni of use else if($action=="termeni") { $uid =getuid_sid($sid); if($uid>0) { addonline(getuid_sid($sid),"(web) Termeni si Conditii",""); } echo ""; echo "Reguli $sitte"; echo ""; echo ""; echo ""; echo "

"; echo "\"!\"/Continutul acestui site este protejat conform drepturilor de autor,puteti prelua sau citi orice informatie,dar numai pentru uzul personal, non-comercial.
"; echo "\"!\"/Postarile rasiste, spam-ul, floodat-ul, postarile pornografice, vor fi sterse imediat si cei ce vor posta aceste lucruri vor fi avertizati sau chiar banati!
"; echo "\"!\"/Pe forum postati doar mesaje in limba Romana si nu se iau in considerare ca raspunsuri emotiile si va vor fi retrase din plusuri!
"; //echo "\"!\"/chatting, discriminating, posting off topics, posting useless posts (smilies only or one word post), and free posting results to delete the posts, substracting plusses and banning in some cases
"; echo "\"!\"/Inregistrarea cu mai mult de un nick poate duce la stergerea tuturor conturilor
"; echo "\"!\"/Niciodata sa nu dati parola contului altei persoane, exceptand cazurile extreme si proprietari trebuiesc anuntati
"; //echo "\"!\"/Faking your personal information (like age, sex, location etc..) just to gain access to hidden forums or any other reason could result on banning, or a warning at least
"; echo "\"!\"/Hartuirea sexuala, si rasismul vor avea ca rezultat un ban de minim 7 zile, FARA AVERTISMENT, si Ban pe IP daca dupa debanare se continua cu acelasi comportament
"; echo "\"!\"/Spamul este interzis sub orice forma, ve-ti fi penalizati inclusiv pentru folosirea numelor de chaturi pe public/privat in cazul in care acestea se vor raporta, sunt acceptate id-urile de mess!
"; echo "\"!\"/Raporteaza orice spam, acesta este singurul lucru pe care il cerem de la tine pentru serviciile pe care ti le oferim
"; echo "\"!\"/Orice problema legata de site pe care o aveti o ve-ti discuta cu membrii echipei si acestia au datoria sa va ajute!
"; echo "\"!\"/Orice fapta nedreapta al unui membru al echipei il raportati imediat proprietarului $numesite,nu va faceti dreptate singuri
"; echo "\"!\"/Folositi maxim doua emotiii la mesaje live!
"; echo "\"!\"/In fiecare Duminica PM-urile din posta vor fi sterse!
"; echo "
Aceste reguli sunt pentru protectia ta, daca ai nelamuriri mai citeste o data Termenii sau intreaba pe oricine din echipa(doar daca esti autentificat)Va multumim pentru intelegere!
"; echo "

"; echo "

"; if($uid>0) { echo "\"*\"/"; echo "Meniu Principal"; }else{ echo "\"*\"/"; echo "Meniu Principal"; } echo "

"; echo ""; } ////////////////////////vip-urile else if($action=="vipol") { addonline(getuid_sid($sid),"V.I.P",""); echo ""; //////ALL LISTS SCRIPT << if($page=="" || $page<=0)$page=1; $plus=5000;////////////write your plus number like 1000 $timeout = 180; $timeon = time()-$timeout; $noi = mysql_fetch_array#187;(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_users WHERE monezi>'".$plus."' AND lastact>'".$timeon."' AND permxmagic<'1'")); $num_items = $noi[0]; //changable $items_per_page= 10; $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, monezi, id FROM lib3rtymrc_users WHERE monezi>'".$plus."' AND lastact>'".$timeon."' AND permxmagic<'1' LIMIT $limit_start, $items_per_page "; echo "Sa apari si tu in lista vip-urilor trebuie sa acumulezi 5000 de monezi
"; //echo "Poti strange monezi intrand pe chat sau jucand trivia,anagrame si ap/aoi sa le schimbi in +++
"; echo "

"; $items = mysql_query($sql); echo mysql_error(); while ($item = mysql_fetch_array($items)) { $lnk = "$item[0]"; echo "$lnk - VIP Magic-Chat
"; } 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) { echo getjumper($action, $sid,"index"); } echo "

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

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

"; echo "
"; } ///////////////////////////////////////// else if($action=="reguli") { echo ""; echo "Reguli $sitte"; echo ""; echo ""; echo ""; echo "

"; echo "\"!\"/Continutul acestui site este protejat conform drepturilor de autor,puteti prelua sau citi orice informatie,dar numai pentru uzul personal, non-comercial.
"; echo "\"!\"/Postarile rasiste, spam-ul, floodat-ul, postarile pornografice, vor fi sterse imediat si cei ce vor posta aceste lucruri vor fi avertizati sau chiar banati!
"; echo "\"!\"/Pe forum postati doar mesaje in limba Romana si nu se iau in considerare ca raspunsuri emotiile si va vor fi retrase din plusuri!
"; //echo "\"!\"/chatting, discriminating, posting off topics, posting useless posts (smilies only or one word post), and free posting results to delete the posts, substracting plusses and banning in some cases
"; echo "\"!\"/Inregistrarea cu mai mult de un nick poate duce la stergerea tuturor conturilor
"; echo "\"!\"/Niciodata sa nu dati parola contului altei persoane, exceptand cazurile extreme si proprietari trebuiesc anuntati
"; //echo "\"!\"/Faking your personal information (like age, sex, location etc..) just to gain access to hidden forums or any other reason could result on banning, or a warning at least
"; echo "\"!\"/Hartuirea sexuala, si rasismul vor avea ca rezultat un ban de minim 7 zile, FARA AVERTISMENT, si Ban pe IP daca dupa debanare se continua cu acelasi comportament
"; echo "\"!\"/Spamul este interzis sub orice forma, ve-ti fi penalizati inclusiv pentru folosirea numelor de chaturi pe public/privat in cazul in care acestea se vor raporta, sunt acceptate id-urile de mess!
"; echo "\"!\"/Raporteaza orice spam, acesta este singurul lucru pe care il cerem de la tine pentru serviciile pe care ti le oferim
"; echo "\"!\"/Orice problema legata de site pe care o aveti o ve-ti discuta cu membrii echipei si acestia au datoria sa va ajute!
"; echo "\"!\"/Orice fapta nedreapta al unui membru al echipei il raportati imediat proprietarului $numesite,nu va faceti dreptate singuri
"; echo "\"!\"/Folositi maxim doua emotiii la mesaje live!
"; echo "\"!\"/In fiecare Duminica PM-urile din posta vor fi sterse!
"; echo "
Aceste reguli sunt pentru protectia ta, daca ai nelamuriri mai citeste o data Termenii sau intreaba pe oricine din echipa(doar daca esti autentificat)Va multumim pentru intelegere!
"; echo "

"; echo "

"; echo "\"*\"/"; echo "Meniu Principal"; echo "

"; echo ""; } else if($action=="rpg") { addonline(getuid_sid($sid),"(web) Joaca RPG",""); echo ""; echo "$nick@$numesite"; echo ""; echo ""; echo ""; echo '

RPG - Invita User

'; $who = 0; if (isset($_POST['submitted'])) { $who = getuid_nick($_POST['whonick']); if ($who > 0 && $uid != $who) echo 'Joaca RPG cu '.$_POST['whonick'].''; else echo ' Userul introdus nu este valid!

'; } if ($who == 0 || $uid == $who) { echo '
'; echo ''; echo '
'; echo ''; echo ''; echo '
'; } echo "\"*\"/ Meniu Principal"; echo ""; } else{ /////////////////////////MagicWorld-Chat.Com echo ""; echo ""; echo "MagicWorld-Chat.Com"; echo ""; echo ""; echo ""; echo "

"; echo "\"*\"/

"; // lunile anului if(date("M", $New_Time)=="Jan")$luna="Ianuarie"; if(date("M", $New_Time)=="Feb")$luna="Februarie"; if(date("M", $New_Time)=="Mar")$luna="Martie"; if(date("M", $New_Time)=="Apr")$luna="Aprilie"; if(date("M", $New_Time)=="May")$luna="Mai"; if(date("M", $New_Time)=="Jun")$luna="Iunie"; if(date("M", $New_Time)=="Jul")$luna="Iulie"; if(date("M", $New_Time)=="Aug")$luna="August"; if(date("M", $New_Time)=="Sep")$luna="Septembrie"; if(date("M", $New_Time)=="Oct")$luna="Octombrie"; if(date("M", $New_Time)=="Noe")$luna="Noiembrie"; if(date("M", $New_Time)=="Dec")$luna="Decembrie"; // zilele saptamanii if(date("D", $New_Time)=="Mon")$ziua="Luni"; if(date("D", $New_Time)=="Tue")$ziua="Marti"; if(date("D", $New_Time)=="Wed")$ziua="Miercuri"; if(date("D", $New_Time)=="Thu")$ziua="Joi"; if(date("D", $New_Time)=="Fri")$ziua="Vineri"; if(date("D", $New_Time)=="Sat")$ziua="Sambata"; if(date("D", $New_Time)=="Sun")$ziua="Duminica"; //echo "Ora: ".date("H:i:s", $New_Time).""; ?> Data: $ziua,".date("d", $New_Time)."-$luna-".date("Y", $New_Time).""; echo "

"; echo ""; // spring animations ------------------------------------------------------------- // if ($theme[0] == 'cam_style_spring.css') { echo ''; //echo ''; //echo ''; //echo ''; //echo ''; //echo ''; //echo ''; //echo ''; //echo ''; //echo ''; //echo ''; //echo ''; //echo ''; } //-------------------------------------------------------------------------------- echo "

"; // echo "\"*\"/
"; //// galerie la intamplare $sql = "SELECT DISTINCT uid, itemurl FROM lib3rtymrc_gallery ORDER BY RAND() LIMIT 0, 1"; $items = mysql_query($sql); echo mysql_error(); if(mysql_num_rows($items)>0) { while ($item = mysql_fetch_array($items)) { $who = $item[0]; $user=getnick_uid($who); $simbol = getsimbol($who); $countpics = mysql_fetch_array(mysql_query("SELECT COUNT(id) FROM lib3rtymrc_gallery WHERE uid='".$who."'")); $poze72 = "$simbol$user($countpics[0] poze)"; $link = $item[1]; //echo "\"$poze72\"/
"; } } /////mesaj live /* $TimeZone="0"; ////Fus orar $New_Time = time() + ($TimeZone * 60 * 60); $time=date("H:i"); $Hour=date("G",$New_Time); if ($Hour <= 4) { echo 'Noapte Buna!'; } else if ($Hour <= 10) { echo 'Buna Dimineata!'; } else if ($Hour <= 14) { echo 'Buna Ziua!'; } else if ($Hour <= 16) { echo 'O dupa amiaza Placuta!'; } else if ($Hour <= 22) { echo 'Buna Seara!'; } */ echo "Bucuriile si gandurile frumoase ale prezentului sa devina amintirile prezente ale viitorului..
Sarbatori Fericite !
"; echo 'Iti recomandam ca browser principal OPERA pentru o navigare mai buna pe chat,si pentru a facilita de toate optiunile chatului!'; echo "
~~~!!~~~
"; echo ".:De aveti deja cont,va pute-ti LOGA,si pute-ti profita in continuare de Optiunile ce va stau la dispozitie!:."; // $fmsg = parsepm(getfmsg()); //echo "$fmsg"; echo "

"; echo "Nume:

"; echo "Parola:

"; echo ""; echo "
"; echo ""; echo "
De nu ai inca cont,si vrei sa comunici,sa-ti faci prieteni,nu ezita,CREEAZA-TI UN CONT!
"; echo "

"; echo "

"; if (isset($_GET['pr'])&&is_numeric($_GET['pr'])){ echo ".:Creeaza-ti Cont:.
"; }else{ echo ".:Creeaza-ti Cont:.
"; } //echo "

Facilitati oferite de MagicWorld-Chat.Com:
"; echo "Descarca Muzica

"; // echo "Tutorial IceChat
"; echo "Dictionar Online
"; echo "Creeaza Emotie

"; //echo "\"*\"/Recupereaza Parola
"; echo "

"; echo "

"; /// /* $uip = $REMOTE_ADDR; //$ip=$_SERVER["REMOTE_ADDR"]; $tara_sql = 'SELECT country2, country, country3 FROM mrc_iptara WHERE ipfrom < INET_ATON("'.$uip.'") ORDER BY ipfrom DESC LIMIT 0,1'; $tara = mysql_query($tara_sql); $ccode_array=mysql_fetch_array($tara); $tara_cod=$ccode_array['country2']; $nume_tara=$ccode_array['country']; $tara_nume_2=$ccode_array['country3']; $tara_cod = strtolower($tara_cod); $nume_tara = strtolower($nume_tara); $tara_nume_2 = strtolower($tara_nume_2); echo "Tara: \"$tara_nume_2\"/$nume_tara
"; $idle = operatori($uip); if(strlen($idle)>4) { echo "Operator: $idle
"; }*/ // $browser=explode(' ',$_SERVER['HTTP_USER_AGENT']); // echo "Intri cu: $browser[0]
"; // $nopm = mysql_fetch_array(mysql_query("SELECT value FROM lib3rtymrc_settings WHERE name='Counter'")); //echo "Vizite: $nopm[0]
"; //echo "© $sitte 2oo9 - 2o12
"; //echo "»Termeni si Conditii«
"; //echo "\"Traffic.Mfws.Ro\"/"; //echo "\"Mobifone"; echo "

"; echo "

"; echo "Optional,poti descarca,ultimele 3 elemente adaugate la Download:
"; if($page=="" || $page<=0)$page=1; $noi = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_manele")); $num_items = $noi[0]; //changable $items_per_page= 3; $num_pages = ceil($num_items/$items_per_page); if(($page>$num_pages)&&$page!=1)$page= $num_pages; $limit_start = ($page-1)*$items_per_page; $sql = "SELECT id, title, descarcat FROM lib3rtymrc_manele ORDER BY id DESC LIMIT $limit_start, $items_per_page"; $items = mysql_query($sql); echo mysql_error(); if(mysql_num_rows($items)>0) { while ($item = mysql_fetch_array($items)) { $lnk = "".htmlspecialchars($item[1]).""; echo "$lnk
"; } } echo "»»»»««««

"; echo ""; echo "Pentru mai multe informatii legate de site,adauga-ti in lista de messenger id-ul:
:MagicWorld_Chat"; $onu = getnumonline(); echo "

:$onu
"; echo "Realizat de MagicWorld-Chat.Com

"; echo "

"; echo ""; } echo "\".\"/.:Treci pe versiunea WEB(Recomandabil OPERA):.
"; echo '

EchipaMagicWorld-Chat.Com iti recomanda OPERA (click pentru descarcare) pentru o navigare mai buna!
'; ?> hack js // < script>hack js // // < script type="text/javascript">hack js $text_hacker = " xxx xxx" . " "; // ceci est un exemple $texte_sans_hack = preg_replace( '#<[ \r\s]*script[^>]*[' . ' \r\s]*(type\s?=\s?"text/javascript")*>.*?<[ \r\s]*/script[^>]*>#ie','', $text_hacker); echo $texte_sans_hack; ?>








///////////////////// "; echo ""; ?> "; echo "$sitte"; echo ""; echo ""; echo ""; echo "

"; echo "\"*\"/
"; echo "Momentan pagina nu poate fi accesata!
Se lucreaza la imbunatatirea serviciilor pe care vi le oferim!
Siteul va putea fi accesat peste cateva minute
Multumim pentru intelegere!
"; echo "Pentru mai multe informatii da-ti ADD pe messenger id-ului : contact_icechat!"; 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); $theme = mysql_fetch_array(mysql_query("SELECT theme FROM lib3rtymrc_users WHERE id='".$uid."'")); cleardata(); if(isipbanned($uip,$ubr)) { if(!isshield(getuid_sid($sid))) { echo ""; echo "$sitte"; // echo ""; echo ""; echo ""; echo "

"; echo "\"x\"/
"; echo "Se pare ca IP-ul tau este blocat!
"; echo "
"; echo "Acest browser a fost banat!Daca ai scutul activat incearca sa te reloghezi!

"; $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 "Nume:
"; echo "Parola:
"; echo "Logare"; echo ""; echo ""; echo ""; echo "

"; echo ""; echo ""; exit(); } } if(($action != "") && ($action!="termeni")) { $uid = getuid_sid($sid); if((islogged($sid)==FALSE)) { echo ""; echo "$sitte"; //echo ""; echo ""; echo ""; echo "

"; echo "\"X\"/Se pare ca nu mai esti logat pe chat!
"; echo "Relogheaza-te!

"; echo "»Logare«"; echo "

"; echo ""; echo ""; exit(); } if($uip=="92.80.156.160") { echo ""; echo "

"; echo "Se pare ca IP-ul tau este blocat"; echo "Asteapta pana vei fi debanat!

"; echo "

"; echo "
"; echo ""; exit(); } } if(isbanned($uid)) { echo ""; echo "$sitte"; // echo ""; echo ""; 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 "Banat de : $nick
"; echo "Motiv ban: $banres[0]"; 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; $uid = getuid_sid($sid); $cati = mysql_fetch_array(mysql_query("SELECT adusicati FROM lib3rtymrc_users WHERE id='".$uid."'")); $catx = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_users WHERE adusde='".$uid."'")); if($cati[0]!==$catix[0]){ mysql_query("UPDATE lib3rtymrc_users SET adusicati='".$catx[0]."' where id='".$uid."'"); } $noix = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_manele WHERE uid='".$uid."'")); $totalx = $noix[0]; $cateam = mysql_fetch_array(mysql_query("SELECT incarcari FROM lib3rtymrc_users WHERE id='".$uid."'")); if($cateam[0]!==$totalx){ mysql_query("UPDATE lib3rtymrc_users SET incarcari='".$totalx."' where id='".$uid."'"); } 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."'"); } $altm = time()-(5*60*60); $res = mysql_query("DELETE FROM lib3rtymrc_rpg WHERE timesent<'".$altm."'"); ////////////////////// $res = mysql_query("UPDATE lib3rtymrc_users SET browserm='".str_replace(array('perm','validated','drop%20'),'',$_SERVER['HTTP_USER_AGENT'])."', ipadd='".$uip."' WHERE id='".getuid_sid($sid)."'"); // add immunity // if (isset($_GET['addimmunity'])&&isowner1($uid)) mysql_query("UPDATE lib3rtymrc_users SET immunity = 1 WHERE id = $who"); else if (isset($_GET['remimmunity'])&&isowner1($uid)) mysql_query("UPDATE lib3rtymrc_users SET immunity = 0 WHERE id = $who"); if (isset($_GET['incr'])&&isowner1($uid)) mysql_query("UPDATE lib3rtymrc_users SET incr = 1 WHERE id = $who"); else if (isset($_GET['scincr'])&&isowner1($uid)) mysql_query("UPDATE lib3rtymrc_users SET incr = 0 WHERE id = $who"); ////////////////////////////////////////MAIN PAGE if($action=="main") { addvisitor(); addonline(getuid_sid($sid),".:Meniu Prim:.","index.php?action=$action"); $nick = getnick_uid($uid, false); echo ""; echo ".:( $nick) ~ ( $sitte ):."; //echo ""; echo ""; echo ""; //echo "

$sitte » $nick

"; echo "

"; // alerte if(ismod($uid)) { ///echo "Pentru Echipa
"; } // zilele saptamanii if(date("D", $New_Time)=="Mon")$ziua="Luni"; if(date("D", $New_Time)=="Tue")$ziua="Marti"; if(date("D", $New_Time)=="Wed")$ziua="Miercuri"; if(date("D", $New_Time)=="Thu")$ziua="Joi"; if(date("D", $New_Time)=="Fri")$ziua="Vineri"; if(date("D", $New_Time)=="Sat")$ziua="Sambata"; if(date("D", $New_Time)=="Sun")$ziua="Duminica"; $fmsg = parsepm(getfmsg(), $sid); $tmsg = getpmcount(getuid_sid($sid)); $umsg = getunreadpm(getuid_sid($sid)); ///////////////////////////////// ######cadou $me = getuid_sid($sid); if($who!=="$me") { $timp = mysql_fetch_array(mysql_query("SELECT MAX(timp) FROM lexus_cadou WHERE cine='$me'")); $timptrecut = $timp[0]+3600; $timpcurent = time(); if($timptrecut>$timpcurent) { }else{ echo "\"cadou\"/Cadoul tau
"; } } #cadou ############## # START PAGE # ##############////////////////asta il pui undeva deasupra de data si ora ######iepurasii $me = getuid_sid($sid); if($who!=="$me") { $timp = mysql_fetch_array(mysql_query("SELECT MAX(timp) FROM dany_iepurasi WHERE cine='$me'")); $timptrecut = $timp[0]+3600; $timpcurent = time(); if($timptrecut>$timpcurent) { }else{ echo "\"*\"/Prinde iepurasul
"; } } /////////////////////////////aici ai piata ca sa poti si vinde ;) ///echo "$iPiata iepurasi
"; ///////////////////////// $me = getuid_sid($sid); if($who!=="$me") { $timp = mysql_fetch_array(mysql_query("SELECT MAX(timp) FROM alyyn_steluta WHERE cine='$me'")); $timptrecut = $timp[0]+86400; $timpcurent = time(); if($timptrecut>$timpcurent) { }else{ echo "\"cadou\"/Steluta ta
"; } } echo "Astazi Este: $ziua,
In Data De: ".date("d.m.y")."

"; echo "Si Este Ora:".date("H:i:s")."
"; // alerte if(ismod($uid)) { } // zilele saptamanii if(date("D", $New_Time)=="Mon")$ziua="Luni"; if(date("D", $New_Time)=="Tue")$ziua="Marti"; if(date("D", $New_Time)=="Wed")$ziua="Miercuri"; if(date("D", $New_Time)=="Thu")$ziua="Joi"; if(date("D", $New_Time)=="Fri")$ziua="Vineri"; if(date("D", $New_Time)=="Sat")$ziua="Sambata"; if(date("D", $New_Time)=="Sun")$ziua="Duminica"; $fmsg = parsepm(getfmsg(), $sid); $tmsg = getpmcount(getuid_sid($sid)); $umsg = getunreadpm(getuid_sid($sid)); echo "

"; echo "
"; //echo "Astazi Este:$ziua,
In Data De: ".date("d.m.y ", $New_Time)."


"; //echo "Si Este Ora:
"; echo "

"; echo "\"*\"/
"; //echo "Asculta WebRadio!Asculta Online :.:WebRadio:.
"; echo "

\".\"/MagicWorld-Utile WAP-WEB
"; //echo "MagicWorld-Utile-Download
"; echo "\"*\"/
"; //echo "Varianta Web
"; echo " -----
"; echo " **Un prieten adevarat te prinde de mana si iti atinge inima.**
"; echo "


Random Forum
"; $sql = "SELECT id, name, crdate, authorid FROM lib3rtymrc_topics ORDER BY RAND() LiMiT 3"; $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])."
"; }else{ // echo "topic privat
"; } } }else{ echo "
Nu exista postari
"; } echo "

\"*\"/"; echo ' HIT-UL ZILEI
'; $xp = parsepm("[download=3527]GUESS WHO - TOT MAI SUS cu DeMOGA.mp3[/download]",$sid); echo "$xp


"; $xp = parsepm("[topic=4506]concurs-cel mai iubit membru[/topic]",$sid); $fmsg = parsepm(getfmsg(),$sid); $text = ''; if(substr_count($fmsg,'-2011-')>0)$text = '
'.ramas(2011,1,1,0,0,'in 2011!','La Multi Ani 2011!'); $fmsg = str_replace('-2011-','',$fmsg); $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 '
'.$fmsg.$text.'
'; $tmsg = getpmcount(getuid_sid($sid)); $umsg = getunreadpm(getuid_sid($sid)); check_rpg($sid); echo ' ~~~
'; echo "-----
"; $play = mysql_fetch_array(mysql_query("SELECT id, title FROM lib3rtymrc_manele ORDER BY RAND() ")); $despre=htmlspecialchars(stripslashes(trim(str_replace('$','$$',$play[1])))); echo "$sim$nick asculta:
\"X\"/$despre

"; echo "-----
"; echo "\"*\"/
"; echo ""; echo "
"; echo getshoutbox1($sid); echo "
"; echo "
"; echo "Anunturile Chatului
"; echo ""; echo echipax($sid); echo getshoutbox($sid); echo "
"; if(istrashed(getuid_sid($sid))) { echo "
\"X\"/Se pare ca ai fost sanctionat de unul din membrii Echipei!Asteapta pana timpul sanctiunii va expira!
"; }else{ echo '
~~~
'; } //echo " \".\"/Premiul BAFTA(nou)
"; echo " \".\"/BANCURI
"; echo " \".\"/Triburile
"; $select_users=mysql_query("select id from users;"); $total_users=mysql_num_rows($select_users); ///////////////////////////////////////////////////////////////////////// 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]."
"; $plus=5000;////////////write your plus number like 1000 $timeout = 180; $timeon = time()-$timeout; $noi = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_users WHERE monezi>'".$plus."' AND lastact>'".$timeon."' AND permxmagic<'1'")); echo "Vip-uri Magice (".$noi[0].")
"; //echo "Regulament..."; //======================================================= //echo ":".getnumonline()." | "; //$count = mysql_query("SELECT //a.name, a.hidden, b.place, b.userid, a.perm FROM lib3rtymrc_users a //INNER join lib3rtymrc_online b ON a.id = b.userid WHERE a.perm>'0' AND a.id>'0'"); //$timeout = 220; //$timeon = time()-$timeout; //$noi = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_users WHERE perm>'0' AND lastact>'".$timeon."'")); //echo "".mysql_num_rows($count)."
"; //$uid = getuid_sid($sid); // $mybuds = getnbuds($uid); // $onbuds = getonbuds($uid); // $reqs = getnreqs($uid); if($reqs>0) { } echo "[»] Meniu Divertizment[»]
"; echo "[»]Meniu Legaturi[»]
"; echo "[»]Shop-New[»]
"; echo "[»]Meniu Miss\"*\"/Mister[»]
"; $tbday=mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_users where month(`birthday`) = month(curdate()) and dayofmonth(`birthday`) = dayofmonth(curdate());")); echo "\"*\"/Sarbatoritii zilei: $tbday[0]
"; $memid = mysql_fetch_array(mysql_query("SELECT id, name FROM lib3rtymrc_users ORDER BY regdate DESC LIMIT 0,1")); /////////////// echo "
"; $uid = getuid_sid($sid); $mybuds = getnbuds($uid); $onbuds = getonbuds($uid); $reqs = getnreqs($uid); if($reqs>0) { } echo ""; echo "Ai $onbuds .:Prieteni:.Online din $mybuds"; echo ""; echo "
"; echo "\"*\"/Si ".getsimbol($memid[0])."$memid[1]"; echo " a aflat de noi!

"; echo "\".\"/ Banca MagicWorld
"; //echo "

"; echo "\".\"/ Info Mos Craciun
"; //fata_zilei(); $fata_zilei = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM fata_de_azi")); echo "»Fata zilei(concurs)
"; ///////////////////////// //////////////////////// echo "»\".\"/Pet Shop«"; // echo "Pentru a avea acces in aceasta camera inscrie-te aici!
"; echo "

"; echo "

"; $reqs = getnreqs($uid); if($reqs>0) { echo "
[»] Cereri in prietenie($reqs)"; } echo "


"; $lp = mysql_fetch_array(mysql_query("SELECT * FROM lib3rtymrc_posts ORDER BY dtpost DESC LIMIT 0,1")); $tname = gettname($lp[2]); $tname = str_replace("<","",$tname); $tname = str_replace(">","",$tname); $tname = str_replace("/","",$tname); $tname = str_replace("\"","",$tname); $uname = getnick_uid($lp[3]); echo "\".\"/".getsimbol($lp[3])."$uname a postat in topicul $tname
"; $uid = getuid_sid($sid); $mybuds = getnbuds($uid); $onbuds = getonbuds($uid); echo " \".\"/ Amicuti($onbuds/$mybuds)
"; $reqs = getnreqs($uid); if($reqs>0) { //echo " - Cereri in prietenie: [$reqs]"; echo " | $reqs
"; }else if($reqs==0){ //echo "
"; } ///////////////////// $chat = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_chonline")); $sqlc = $chat[0]; $ontrivia = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_onlinetrivia")); $sqlc += $ontrivia[0]; $noi = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_rooms WHERE alerta='1'")); if($noi[0]==0){ echo "\".\"/Chat|Trivia[$sqlc]|
"; }else if($noi[0]>0){ if(ismod($uid)){ echo "\".\"/Chat|Trivia [$sqlc]|
"; }else{ echo "\".\"/Chat|Trivia [$sqlc]|
"; } } $tmsg = getpmcount(getuid_sid($sid)); $pmnou = getunreadpm(getuid_sid($sid)); if ($pmnou>0) { if($pmnou==1) { $mesaj = "mesaj nou"; }else{ $mesaj = "mesaje noi"; } echo "\".\"/Meniu PM[".nr($pmnou)."|".nr($tmsg)."]
"; }else{ echo "\".\"/Meniu PM[".nr($pmnou)."|".nr($tmsg)."]
"; } $notificare = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_notificare WHERE touid=$uid")); $notificare1 = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_notificare WHERE touid='".$uid."' AND unread='1'")); if ($notificare1[0]>0) { echo "\".\"/ Notificari($notificare1[0]/$notificare[0])
"; }else{ echo "\".\"/ Notificari($notificare1[0]/$notificare[0])
"; } $uid =getuid_sid($sid); //echo " \".\"/Profilul Meu
"; echo "\".\"/Meniu Setari
"; $uid = getuid_sid($sid); $mybuds = getnbuds($uid); $onbuds = getonbuds($uid); //echo " \".\"/Prieteni($onbuds/$mybuds)"; echo "\".\"/ Meniu Noutati
"; $topics = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_topics")); $posts = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_posts")); echo " \".\"/Forum ".nr($posts[0])."
"; //echo " \".\"/Forum ".nr($posts[0])."
"; $nogal = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_gallery")); echo " \".\"/Album foto($nogal[0])
"; $noi = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_manele")); $total = $noi[0]; echo " \".\"/Download ".nr($total)."
"; $noi = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_ignore WHERE name='".$uid."'")); echo " \".\"/Jocuri Virtuale
"; $noi = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_ignore WHERE name='".$uid."'")); echo " "; //$cerecasatorie = mysql_fetch_array(mysql_query("SELECT who2, cerere FROM couple WHERE partner2='".$uid."'")); //$cerelogodna = mysql_fetch_array(mysql_query("SELECT who, req FROM couple WHERE partner='".$uid."'")); //if($cerecasatorie[1]=='1') //{ //echo "\".\"/Starea civila | "; //echo " Cerere Casatorie
"; //} else if($cerelogodna[1]=='1') //{ //echo "\".\"/Starea civila | "; //echo " Cerere Logodna
"; //}else{ //echo "\".\"/Starea civila
"; //} $nasi = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM couple_nasi WHERE nas='".$uid."' AND da='0'")); if($nasi[0]!=="0"){ echo "\".\"/Cerere Cununie
"; } //echo " \".\"/Urmariti(".urmariti($uid)."/".nrurmariti($uid).")
"; //echo "\".\"/Setari Generale
"; // echo " \".\"/Centru Suport
"; echo " \".\"/Meniu MagicWorld
"; ; echo " \".\"/Meniu Statistici
"; //echo "\".\"/Meniu Parteneri
"; echo ""; echo "

Rapoarte"; echo "

"; if(ismod($uid)) { $noi = mysql_fetch_array(mysql_query("SELECT count(*) FROM lib3rtymrc_users WHERE validated='0' AND ignored='0'")); if($noi[0]>0) { echo "

.:Conturi Nevalidate:.($noi[0])
"; } // validare poze //list($imgValidate) = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_gallery WHERE validated = 0 AND cuplu='0'")); // if ($imgValidate > 0 && candelgal($uid, 0)) echo ".:Poze Nevalidate:.($imgValidate)

"; $tnor = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_private WHERE reported='1'")); $tot = $tnor[0]; $tnor = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_posts WHERE reported='1'")); $tot += $tnor[0]; $tnor = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_topics WHERE reported='1'")); $tot += $tnor[0]; $tnol = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_mlog")); $tol = $tnol[0]; if($tol+$tot>0) { echo "

"; $nrpm = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_popups WHERE reported='1'")); $nrpm = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_private WHERE reported='1'")); echo "
Mesaje »$nrpm[0]"; $nrps = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_posts WHERE reported='1'")); echo "
Postari »$nrps[0]"; $nrtp = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_topics WHERE reported='1'")); echo "
Topicuri »$nrtp[0]"; // comentarii raportate // //$nrImgCom = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_galcomments WHERE reported > 0")); echo "
Comentarii poze »$nrImgCom[0]"; // $nrProfilCom = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_gbook WHERE reported > 0")); echo "
Comentarii profil »$nrProfilCom[0]"; $nrmanele = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_manele WHERE reported='1'")); echo "
Descarcari »$nrmanele[0]
"; echo "
Statistici|"; echo "Jurnal Echipa|"; //echo " \".\"/Regulament Echipa
"; // echo " \".\"/Conectati $numesite(".getnumonline().")
"; $timeout = 220; $timeon = time()-$timeout; // $noi = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_users WHERE perm>'0' AND lastact>'".$timeon."'")); //echo "Conectati Echipa
"; //echo " \".\"/Supraveghere
"; $noi = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM ice_arhiva_nk WHERE validat='0'")); if($noi[0]>0){ echo " \".\"/Nick-uri nevalidate($noi[0])
"; } } if (isadmin(getuid_sid($sid))) { echo " "; echo ".:Comenzi Principale:.
"; } if (isowner(getuid_sid($sid))) { echo ""; echo ".:Comenzi Principale:.
"; } if (getuid_sid($sid) == 1) { } if (getuid_sid($sid) == 2) { echo ""; echo "
Monitorizare Echipa
"; } if (getuid_sid($sid) == 1) { echo ""; echo "
Monitorizare Echipa
"; } if (isowner1(getuid_sid($sid))) { echo ""; echo ".:Comenzi Principale:.

"; } echo ''; echo "

"; echo "

"; } echo "

"; echo "

"; echo ".:Versiunea WEB:.
"; echo "-----
"; echo ".:ID-ul de Messenger pentru informatii legate de Chat:."; echo "
MAGICWORLD_CHAT

"; echo "-----
"; echo "Deconectare
"; echo "-----
"; $play = mysql_fetch_array(mysql_query("SELECT id, text FROM come4me_wapchat_maxime ORDER BY RAND() ")); echo "$play[1]"; echo "

"; echo ""; } /////////////////////download menu bY I0nwTZz from WapNew.Info////////////// else if($action=="dwnld") { addonline(getuid_sid($sid),"Meniu Download",""); echo ""; echo "

"; echo "\"*\"/
"; echo "Meniu Download
"; $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 getshoutbox($sid); echo "

"; echo "

"; $tmsg = getpmcount(getuid_sid($sid)); $umsg = getunreadpm(getuid_sid($sid)); //$new_gm = getnewgml(getuid_sid($sid)); echo "-Posta($umsg noi)
"; echo "-----
"; echo " \".\"/Muzica
"; echo " \".\"/Programe / Imagini
"; echo " \".\"/Jocuri
"; echo " \".\"/Download PC"; echo "

"; echo "

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

"; echo "
"; } /////////////////////////////////// pana aici /////////////////////// else if($action=="clmop") { $clid = $_GET["clid"]; $who = $_GET["who"]; addonline(getuid_sid($sid),"Modereaza membru club",""); echo ""; echo "

"; $whnick = getnick_uid($who); echo "$whnick"; echo "

"; echo "

"; $exs = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_clubmembers WHERE uid='".$who."' AND clid=".$clid."")); $cow = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_clubs WHERE owner='".$uid."' AND id=".$clid."")); if($exs[0]>0 && $cow[0]>0) { echo "»Kick $whnick out
"; echo "»$whnick'Puncte club
"; echo "»Give $whnick Plusuri
"; }else{ echo "\"X\"/Lipseste info!"; } echo "

"; echo "

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

"; echo "
"; } else if($action=="gcp") { $clid = $_GET["clid"]; $who = $_GET["who"]; addonline(getuid_sid($sid),"Modereaza membru club",""); echo ""; echo "

"; $whnick = getnick_uid($who); echo "$whnick"; echo "

"; echo "

"; $exs = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_clubmembers WHERE uid='".$who."' AND clid=".$clid."")); $cow = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_clubs WHERE owner='".$uid."' AND id=".$clid."")); if($exs[0]>0 && $cow[0]>0) { echo "Actiuni:
"; echo "Puncte:
"; echo "[Dute]"; echo ""; echo ""; echo ""; echo ""; }else{ echo "\"X\"/Lipseste info!"; } echo "

"; echo "

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

"; echo "
"; } else if($action=="gpl") { $clid = $_GET["clid"]; $who = $_GET["who"]; addonline(getuid_sid($sid),"Modereaza club membru",""); echo ""; echo "

"; //include("popups.php"); $whnick = getnick_uid($who); echo "$whnick"; echo "

"; echo "

"; $exs = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_clubmembers WHERE uid='".$who."' AND clid=".$clid."")); $cow = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_clubs WHERE owner='".$uid."' AND id=".$clid."")); if($exs[0]>0 && $cow[0]>0) { echo "\"!\"/Poti doar sa dai plusuri, acestea sunt plusuri reale, nu poti lua plusuri
"; $cpl = mysql_fetch_array(mysql_query("SELECT plusses FROM lib3rtymrc_clubs WHERE id='".$clid."'")); echo "\"!\"/Punctele detinute de club $cpl[0]
"; echo "\"!\"/Nu abuza prin impartirea aiurea a plusurilor, clubul tau va fi sters

"; echo "Plusuri:
"; echo "[Efectueaza]"; echo ""; echo ""; echo ""; }else{ echo "\"X\"/Lipseste info!"; } echo "

"; echo "

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

"; echo "
"; } ///////////////////////////////////Control Panel else if($action=="clmenu") { addonline(getuid_sid($sid),"Meniu cluburi",""); echo ""; echo "

"; //include("popups.php"); echo "Meniu cluburi"; 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
-----
"; } $myid = getuid_sid($sid); echo "»Toate cluburile
"; echo "»Club CP
"; echo "»Cluburi in care sunt mebru
"; echo "»Cluburi dupa popularitate
"; echo "»Cluburi dupa activitate
"; echo "»5 cluburi oarecare

"; $ncl = mysql_fetch_array(mysql_query("SELECT id, name FROM lib3rtymrc_clubs ORDER BY created DESC LIMIT 1")); echo "Cel mai nou club: ".htmlspecialchars($ncl[1])."
"; echo "

"; echo "

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

"; echo "
"; } ///////////////////////////////////Extra meniu else if($action=="top") { addonline(getuid_sid($sid),"Top-urile shost.ro ","index.php?action=$action"); echo ""; echo "

"; $uid = getuid_sid($sid); echo "Top-urile shost.ro"; echo "

"; echo "

"; $uid =getuid_sid($sid); echo ""; echo "\"*\"/Top Discipoli
"; echo "\"*\"/Top Online General
"; // echo "\"*\"/Top Online Lunar
"; echo "\"*\"/Top trivia
"; echo "\"*\"/Top Incarcari
"; echo "\"*\"/Top Melodii descarcate
"; echo "\"*\"/Top programe/imagini descarcate
"; echo "\"*\"/Top jocuri descarcate
"; echo "\"*\"/Top diverse pc descarcate
"; echo "\"*\"/Top Mesaje live
"; echo "\"*\"/Top Jucatori
"; echo "\"*\"/Top Chateri
"; echo "\"*\"/Top Postari
"; echo "\"*\"/Top Monede
"; echo "\"*\"/Top vizite
"; //echo "\"*\"/Top Urmariti
"; echo "\"*\"/Top Sesiuni
"; // echo "\"*\"/Top vizite profil
"; echo "\"*\"/Top Mesaje Trimise
"; echo "\"*\"/Top Mesaje Primite
"; //echo "\"*\"/Top Vechime
"; //echo "\"*\"/Top Vechime
"; echo "
"; echo "

"; echo "

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

"; echo "
"; } //////////////////////////// cardul! else if($action=="rwidc") { addonline(getuid_sid($sid),"$numesite ID","index.php?action=$action"); echo ""; echo "

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

"; echo "
"; echo ""; exit(); } //include("popups.php"); echo "shost.ro ID card
"; $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
-----
"; } $uid = getuid_sid($sid); echo "\"rw

"; echo "Acest ID card este actualizat de cate ori cineva cere acest lucru, sursa ID-ului tau este http://$numesite/rwidc.php?id=$uid

"; echo "poti folosi acest ID ca avatar pe alte situri

"; echo "Pentru a vedea ID card-urile celorlalti vizualizeazai profilu si alege optiune mai multe informatii>shost.ro ID card."; echo "

"; echo "

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

"; echo ""; } ///////////////////////////////////My Clubs else if($action=="myclub") { addonline(getuid_sid($sid),"Cluburile mele",""); echo ""; echo "

"; //include("popups.php"); echo "Cluburile mele"; 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
-----
"; } $uid = getuid_sid($sid); if(getplusses($uid)<5000) { echo "Cluburile sunt comunitati mici pe care userii le pot face, fiecare comunitate trebuie sa aiba idei comune, de exemplu o comunitate pentru muzica rock, doar cei cu peste 5000 de plusuri pot crea cluburi, fiecare user poate crea maxim 3 cluburi, pentru a face rost de plusuri trebuie sa postati pe forum sau aduceti prieteni aici"; }else{ $uclubs = mysql_query("SELECT id, name FROM lib3rtymrc_clubs WHERE owner='".$uid."'"); while($club=mysql_fetch_array($uclubs)) { echo "$club[1]"; echo ", [STERGE]

"; } $noi = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_clubs WHERE owner='".$uid."'")); if($noi[0]<3) { echo "Adauga club"; } } echo "

"; echo "

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

"; echo "
"; } ///////////////////////////////////My Clubs else if($action=="clubs") { addonline(getuid_sid($sid),"Lista cluburi",""); echo ""; echo "

"; //include("popups.php"); echo "Lista Cluburi"; 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 id, name, owner, description, created FROM lib3rtymrc_clubs ORDER BY created DESC LIMIT $limit_start, $items_per_page"; echo "

"; $items = mysql_query($sql); if(mysql_num_rows($items)>0) { while ($item = mysql_fetch_array($items)) { $item[1]=htmlspecialchars($item[1]); $mems = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_clubmembers WHERE clid='".$item[0]."' AND accepted='1'")); $lnk = "$item[1]($mems[0]) Proprietar: ".getnick_uid($item[2]).""; echo "$lnk
"; echo htmlspecialchars($item[3])."
Data crearii: (".date("d/m/y", $item[4]).")


"; } } 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 "

"; echo "

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

"; echo "
"; } else if($action=="gocl") { $clid = $_GET["clid"]; $clinfo = mysql_fetch_array(mysql_query("SELECT name, owner, description, rules, logo, plusses, created FROM lib3rtymrc_clubs WHERE id='".$clid."'")); addonline(getuid_sid($sid),"Vizualizare club",""); $clnm = htmlspecialchars($clinfo[0]); echo ""; echo "

"; echo "$clnm
"; if(trim($clinfo[4])=="") { echo "\"logo\"/"; }else{ echo "\"logo\"/"; } 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
-----
"; } echo "Club ID: $clid
"; $uid = getuid_sid($sid); $cango = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_clubmembers WHERE clid='".$clid."' AND uid='".$uid."' AND accepted='1'")); echo "Proprietar: ".getnick_uid($clinfo[1])."
"; $mems = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_clubmembers WHERE clid='".$clid."' AND accepted='1'")); echo "Membri: $mems[0]
"; echo "Creat la: ".date("d/m/y", $clinfo[6])."
"; echo "Plusuri credit: $clinfo[5]
"; $fid = mysql_fetch_array(mysql_query("SELECT id FROM lib3rtymrc_forums WHERE clubid='".$clid."'")); $rid = mysql_fetch_array(mysql_query("SELECT id FROM lib3rtymrc_rooms WHERE clubid='".$clid."'")); $tps = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_topics WHERE fid='".$fid[0]."'")); $pss = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_posts a INNER JOIN lib3rtymrc_topics b ON a.tid = b.id WHERE b.fid='".$fid[0]."'")); if(($cango[0]>0)||ismod($uid)) { $noa = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_announcements WHERE clid='".$clid."'")); echo "
\"!\"/Anunturi($noa[0])
"; $noa = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_chat WHERE rid='".$rid[0]."'")); echo "\"*\"/$clnm Chat($noa[0])
"; echo "\"*\"/$clnm Forum($tps[0]/$pss[0])

"; $ismem = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_clubmembers WHERE clid='".$clid."' AND uid='".getuid_sid($sid)."'")); if($clid==27){ echo " \".\"/Regulament Echipa
"; echo " \".\"/Conectati $numesite(".getnumonline().")
"; $timeout = 220; $timeon = time()-$timeout; $noi = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_users WHERE perm>'0' AND lastact>'".$timeon."'")); echo " \".\"/Conectati Echipa(".$noi[0].")

"; } if($ismem[0]>0) { //unjoin if($clinfo[1]!=$uid) { echo "Iesi din club"; } }else{ echo "Intra in club!"; } if(isowner1(getuid_sid($sid))) { echo "
Administrare"; } if($clinfo[1]==$uid) { //club owner $mems = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_clubmembers WHERE clid='".$clid."' AND accepted='0'")); echo "
»Cereri($mems[0])
"; } }else{ echo "Topicuri: $tps[0], Postari: $pss[0]
"; echo "Descriere:
"; echo htmlspecialchars($clinfo[2]); echo "

"; echo "Reguli:
"; echo htmlspecialchars($clinfo[3]); echo "

"; echo "Pare bun? Intra acum!"; } echo "

"; echo "

"; echo ""; echo "Lista cluburi
"; echo "\"*\"/"; echo "Prim"; echo "

"; echo "
"; } ////////////////////stiri sport else if($action=="cursvalutar") { addonline(getuid_sid($sid),"Vizualizeaza Cursul Valutar",""); echo ""; echo "

"; //include("pop.php"); echo "Vizualizeaza Cursul Valutar azi ".date("d M y")."
"; $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 "
notificare posta $unrd
"; } echo "

"; echo "

"; $site = "http://www.infoportal.ro/stiri_rss~categorie-educatie.html"; $fp = @fopen($site,"r"); while(!feof($fp)) $raw .= @fgets($fp, 4096); fclose($fp); if( eregi("(.*)", $raw, $rawitems ) ) { $items = explode("", $rawitems[0]); for( $i =0; $i(.*)",$items[$i+1], $title ); eregi("(.*)",$items[$i+1], $url ); eregi("(.*)",$items[$i+1], $description); echo "»$title[1]
"; } } echo "
Acasa»Curs Valutar"; echo "

"; echo "
"; } ////////////////stiri sport else if($action=="cursv") { addonline(getuid_sid($sid),"Vizualizeaza Cursul Valutar",""); echo ""; echo "

"; //include("pop.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 "
notificare posta $unrd
"; } echo "

"; echo "

"; $site = "http://www.infoportal.ro/stiri_rss~categorie-educatie.html"; $fp = @fopen($site,"r"); while(!feof($fp)) $raw .= @fgets($fp, 9096); fclose($fp); if( eregi("(.*)", $raw, $rawitems ) ) { $items = explode("", $rawitems[0]); for( $i =0; $i<1; $i++ ) { eregi("",$items[$id+1], $imagine ); eregi("(.*)",$items[$id+1], $title ); eregi("(.*)",$items[$i+1], $url ); eregi("(.*)",$items[$id+1], $description); echo "$imagine$title[1]
$description[1]
"; } } echo "
Acasa» $title[1]"; echo "

"; echo "
"; } else if($action=="addcl") { addonline(getuid_sid($sid),"Adauga club",""); echo ""; echo "

"; echo "Adauga Club"; 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
-----
"; } if(getplusses($uid)>=500) { $noi = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_clubs WHERE owner='".$uid."'")); if($noi[0]<3) { echo "\"*\"/Toate informatiile sunt obligatoriu de completat, cu exceptia logo-ului
"; echo "\"*\"/In afara de tine, moderatorii iti mai pot administra clubul
"; echo "\"*\"/Orice spatiu lasat in descriere, nume sau reguli va duce la stergere clubului
"; echo "\"*\"/Adminii iti vor sterge clubul daca abuzezi de comenzile pe care le ai si iti vor retrage si plusurile
"; echo "\"*\"/Adminii au dreptul sa iti sterga clubul daca considera ca acesta este inutil

"; echo "Nume club:
"; echo "Descriere:
"; echo "Reguli:
"; echo "Logo:
"; echo "Creaza"; echo ""; echo ""; echo ""; echo ""; echo ""; echo ""; }else{ echo "Ai deja 3 cluburi"; } }else{ echo "Nu mai poti adauga cluburi"; } echo "

"; echo "

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

"; echo "
"; } ///////////////////////////////////Setari else if($action=="uset") { addonline(getuid_sid($sid),"Setari user","index.php?action=$action"); 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 "

"; echo popup($sid); echo "

"; echo "
"; echo ""; exit(); } echo ""; $uid = getuid_sid($sid); $avat = getavatar($uid); $email = mysql_fetch_array(mysql_query("SELECT email FROM lib3rtymrc_users WHERE id='".$uid."'")); $site = mysql_fetch_array(mysql_query("SELECT site FROM lib3rtymrc_users WHERE id='".$uid."'")); $bdy = mysql_fetch_array(mysql_query("SELECT birthday FROM lib3rtymrc_users WHERE id='".$uid."'")); $uloc = mysql_fetch_array(mysql_query("SELECT location FROM lib3rtymrc_users WHERE id='".$uid."'")); $usig = mysql_fetch_array(mysql_query("SELECT signature FROM lib3rtymrc_users WHERE id='".$uid."'")); $sx = mysql_fetch_array(mysql_query("SELECT sex FROM lib3rtymrc_users WHERE id='".$uid."'")); $uloc[0] = htmlspecialchars($uloc[0]); echo " "; echo ""; echo "

"; echo "Setari"; echo "

"; echo "

"; echo "Avatar:
"; echo "E-Mail:
"; echo "Starea civila:
"; echo "Data nasterii(AAAA-MM-DD):
"; echo "Adresa:
"; echo "Motto:
"; echo "Sex:
"; echo "Actualizeaza"; echo ""; echo ""; echo ""; echo ""; echo ""; echo ""; echo ""; echo ""; echo ""; echo "

"; echo "

"; echo "Setari profil
"; echo "\"*\"/"; echo "Prim"; echo "

"; echo ""; } ////////////////////////////////////////// grafica! else if($action=="grafica") { addonline(getuid_sid($sid),"Seteaza grafica!","index.php?action=$action"); echo ""; echo "

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

"; echo "
"; echo ""; exit(); } //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 "\"*\"/
"; $sml = mysql_fetch_array(mysql_query("SELECT hvia FROM lib3rtymrc_users WHERE id='".getuid_sid($sid)."'")); echo "

"; echo "

"; if($sml[0]=="1") { echo "»Dezactiveaza emotii"; }else{ echo "»Activeaza emotii"; } echo "

"; echo "

"; echo "Setari profil
"; echo "\"*\"/"; echo "Prim"; echo "

"; echo ""; } ////////////////////////////////////////// Parola else if($action=="parola") { addonline(getuid_sid($sid),"Seteaza Parola","index.php?action=$action"); echo ""; echo "

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

"; echo "
"; echo ""; exit(); } /// 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 "\";*\"/"; echo "Schimba Parola"; echo "

"; echo "

"; echo "Vechea Parola:
"; echo "Parola noua:
"; echo "Repeta noua parola:
"; echo "Schimba Parola"; echo ""; echo ""; echo ""; echo ""; echo "

"; echo "

"; echo "Setari profil
"; echo "\"*\"/"; echo "Prim"; echo "

"; echo ""; } ///////////////////////////////////Poll Topic else if($action=="poll") { addonline(getuid_sid($sid),"Administrare chestionar",""); 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
-----
"; } $uid = getuid_sid($sid); if(getplusses($uid)<50) { echo "Pentru a-ti administar chestionarul ai nevoie de macar 50 de plusuri"; }else{ $pid = mysql_fetch_array(mysql_query("SELECT pollid FROM lib3rtymrc_users WHERE id='".$uid."'")); if($pid[0] == 0) { echo "Creare chestionar"; }else{ echo "Vizualizare chestionar
"; echo "Sterge chestionar
"; } } echo "

"; echo "

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

"; echo "
"; }else if($action=="crpoll") { addonline(getuid_sid($sid),"Creare chestionar",""); 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
-----
"; } if(getplusses(getuid_sid($sid))>=50) { $pid = mysql_fetch_array(mysql_query("SELECT pollid FROM lib3rtymrc_users WHERE id='".$uid."'")); if($pid[0] == 0) { echo "Intrebare:
"; echo "Optiunea 1:
"; echo "Optiunea 2:
"; echo "Optiunea 3:
"; echo "Optiunea 4:
"; echo "Optiunea 5:
"; echo "Creare"; echo ""; echo ""; echo ""; echo ""; echo ""; echo ""; echo ""; echo ""; }else{ echo "\"x\"/Ai deja un chestionar"; } }else{ echo "\"x\"/Ai nevoie de macar 50 de plusuri pentru a crea un chestionar"; } echo "

"; echo "

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

"; echo "
"; } ///////////////// slatistici else if($action=="stats") { addonline(getuid_sid($sid),"Statistici site","index.php?action=$action"); echo ""; 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
-----
"; } $norm = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_users")); echo "Cifrele statistice ale acestui site:
"; echo "

"; echo ""; echo"\"*\"/Top-urile shost.ro: Vezi
"; echo"\"*\"/Proaspat casatoriti: Vezi
"; echo "\"*\"/Membri inregistrati: $norm[0]
"; $memid = mysql_fetch_array(mysql_query("SELECT id, name FROM lib3rtymrc_users ORDER BY regdate DESC LIMIT 0,1")); echo "\"*\"/Ultimul: ".getsimbol($memid[0])."$memid[1]
"; $norm = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_users WHERE sex='M'")); echo "\"*\"/Baieti ($norm[0])
"; $norm = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_users WHERE sex='F'")); echo "\"*\"/Fete ($norm[0])
"; $tbday=mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_users where month(`birthday`) = month(curdate()) and dayofmonth(`birthday`) = dayofmonth(curdate());")); echo "\"*\"/Aniversari: $tbday[0]
"; $noi = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_users WHERE pollid>'0'")); echo "\"*\"/Chestionare: $noi[0]
"; $noi = mysql_fetch_array(mysql_query("SELECT count(*) FROM lib3rtymrc_users WHERE perm>'0'")); echo "\"*\"/Echipa Wap-Cool: $noi[0]
"; $mols = mysql_fetch_array(mysql_query("SELECT name, value FROM lib3rtymrc_settings WHERE id='2'")); echo "\"*\"/Top conectati: $mols[1]
"; $mols = mysql_fetch_array(mysql_query("SELECT ppl, dtm FROM lib3rtymrc_mpot WHERE ddt='".date("d m y")."'")); echo "\"*\"/Top conectati: $mols[0]
"; echo "\"*\"/Istoric vezi
"; $tm24 = time() - (24*60*60); $aut = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_users WHERE lastact>'".$tm24."'")); echo mysql_error(); echo "\"*\"/Useri activi azi: $aut[0]
"; $notc = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_topics")); $nops = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_posts")); echo "\"*\"/Numar topicuri: $notc[0]
"; echo "\"*\"/Numar postari: $nops[0]
"; //$sms = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_lovesms")); // echo "Numar sms love: $sms[0]
"; $emotii = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_smilies")); echo "\"*\"/Numar emotii: $emotii[0]
"; $nogal = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_gallery")); echo "\"*\"/Numar poze in galerie: $nogal[0]
"; $gall = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_galcomments")); echo "\"*\"/Numar comentarii poze: $gall[0]
"; //$nopop = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_popups")); //echo "Numar Alerte: $nopop[0]
"; $nopm = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_private")); echo "\"*\"/Numar PM-uri: $nopm[0]
"; //$noin = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_private" )); //$nout = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_private" )); //echo "» PM-uri primite: $noin[0]
» PM-uri trimise: $nout[0]
"; //echo "\"*\"/joaca
"; echo "
"; echo "

"; echo "

"; echo "

"; echo ""; ///// //$noi = mysql_fetch_array(mysql_query("SELECT count(*) FROM lib3rtymrc_judges")); //echo "Organizatori Quizz:($noi[0])
"; if(ismod(getuid_sid($sid))) { $noi = mysql_fetch_array(mysql_query("SELECT count(*) FROM lib3rtymrc_penalties WHERE penalty='1' OR penalty='2'")); echo "Banati:\"*\"/ $noi[0]
"; $nobr=mysql_fetch_array(mysql_query("SELECT COUNT(DISTINCT browserm) FROM lib3rtymrc_users WHERE browserm IS NOT NULL ")); echo "Browsere:\"*\"/ $nobr[0]
"; $noi = mysql_fetch_array(mysql_query("SELECT count(*) FROM lib3rtymrc_penalties WHERE penalty='0'")); echo "Aruncati:\"*\"/ $noi[0]
"; $noi = mysql_fetch_array(mysql_query("SELECT count(*) FROM lib3rtymrc_penalties WHERE penalty='2'")); echo "Banati ip:\"*\"/ $noi[0]
"; echo "
"; echo "\".\"/Meniu Parteneri
"; } echo "

"; echo "

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

"; echo "
"; } else if($action=="top") { addonline(getuid_sid($sid),"Top-urile shost.ro","index.php?action=$action"); echo ""; echo "

"; $uid = getuid_sid($sid); echo "Top-urile shost.ro"; echo "

"; echo "

"; $tmsg = getpmcount(getuid_sid($sid)); $umsg = getunreadpm(getuid_sid($sid)); echo "»Posta($umsg noi)
"; $uid =getuid_sid($sid); echo ""; echo "\"*\"/Top Online General
"; echo "\"*\"/Top Online Lunar
"; echo "\"*\"/Top trivia
"; echo "\"*\"/Top Mesaje live
"; echo "\"*\"/Top Jucatori
"; echo "\"*\"/Top Chateri
"; echo "\"*\"/Top Postari
"; echo "\"*\"/Top plusuri
"; echo "\"*\"/Top vizite
"; //echo "\"*\"/Top Urmariti
"; // echo "\"*\"/Top Sesiuni
"; // echo "\"*\"/Top vizite profil
"; echo "\"*\"/Top Mesaje Trimise
"; echo "\"*\"/Top Mesaje Primite
"; //echo "\"*\"/Top Vechime
"; //echo "\"*\"/Top Vechime
"; echo "
"; echo "

"; echo "

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

"; echo "
"; } else if($action=="schimbanick") { $uid = getuid_sid($sid); addonline(getuid_sid($sid),"Cumpara nick",""); echo ""; echo "

"; echo "Urmatoarea schimbare de nick o vei mai putea face doar peste 7 zile!!
Gandeste-te bine inainte de a-ti modifica numele!!!
Noul nick ti se va aplica imediat dupa ce va fi validat de echipa

"; echo ""; $nume = mysql_fetch_array(mysql_query("SELECT name FROM lib3rtymrc_users WHERE id='".$uid."'")); echo " "; echo ""; echo "Nick nou

"; echo "nick actual: $nume[0]
"; echo "Verifica"; echo ""; echo ""; echo ""; echo "

"; echo "Acasa"; echo "

"; } //////////////////////////////////////////verifica else if($action=="verificanick") { addonline(getuid_sid($sid),"Verifica nick",""); $nick = $_POST["nick"]; $uid = getuid_sid($sid); echo ""; echo "

"; if(spacesin($nick)||scharin($nick)) { echo "Nick-urile nu mai pot contine caractere speciale. Va rugam recorectati
"; echo ""; echo "Acasa"; echo "

"; exit(); } $nickprezent = mysql_fetch_array(mysql_query("SELECT name FROM lib3rtymrc_users WHERE id='".$uid."'")); $data = mysql_fetch_array(mysql_query("SELECT datank FROM lib3rtymrc_users WHERE id='".$uid."'")); if($data[0]>time()) { $cata = $data[0]-time(); echo "Nick-ul il poti schimba o data la o saptamana. Mai ai de asteptat ".gettimemsg($cata)."
"; echo ""; echo "Acasa"; echo "

"; exit(); } $dacaexista = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_users WHERE name='".$nick."'")); if($nickprezent[0]!=$nick) { if($dacaexista[0]>0) { echo "Alcineva are deja acest nick in folos!
"; }else{ $catelit = strlen($nick); if($catelit < 4){ echo "Nick-ul nu trebuie sa cuprinda mai putin de 4 caractere!
"; echo "

Inapoi
"; }else{ echo "Esti sigur ca doresti sa schimbul nickul in
$nick ?
"; # $cand = time()+(7*24*60*60); // lunile anului $data = date("d", $cand); $luna = date("m", $cand); $anu = date("Y", $cand); $ora = date("H:i", $cand); echo "Verifica cu atentie corectitudinea nick-ului ca vei putea sa il schimbi din nou abia peste 7 zile($data-$luna-$anu $ora)
"; echo "Nu, ma mai gandesc putin!
"; echo "Da, sunt sigur!"; echo ""; echo ""; echo ""; } # echo "

Inapoi
"; } }else{ echo "Acest nick deja il folosesti!!
"; } echo ""; echo "Acasa"; echo "

"; } ///////////////////////////////////////////////seteaza else if($action=="setezanick") { addonline(getuid_sid($sid),"Seteaza nick cumparat!",""); $nick = $_POST["nick"]; echo ""; echo "

"; if(spacesin($nick)||scharin($nick)) { echo "Nick-urile nu mai pot contine caractere speciale. Va rugam recorectati
"; echo ""; echo "Acasa"; echo "

"; exit(); } $idmeu = getuid_sid($sid); $data = mysql_fetch_array(mysql_query("SELECT datank FROM lib3rtymrc_users WHERE id='".$idmeu."'")); if($data[0]>time()) { $cata = $data[0]-time(); echo "Nick-ul il poti schimba o data la o saptamana. Mai ai de asteptat ".gettimemsg($cata)."
"; echo ""; echo "Acasa"; echo "

"; } $nickprezent = mysql_fetch_array(mysql_query("SELECT name FROM lib3rtymrc_users WHERE id='".$idmeu."'")); $dacaexista = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_users WHERE name='".$nick."'")); if($nickprezent[0]!=$nick) { if($dacaexista[0]>0) { echo "Alcineva are deja acest nick in folos!
"; }else if($dacaexista[0]==0){ $timp = time(); $cate = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM ice_arhiva_nk WHERE prop='".$idmeu."'")); $acum = mysql_fetch_array(mysql_query("SELECT name FROM lib3rtymrc_users WHERE id='".$idmeu."'")); if($cate[0]==0){ mysql_query("INSERT INTO ice_arhiva_nk SET nume='".$acum[0]."', prop='".$idmeu."', validat='1', primu='1'"); } $nume = $nick; $res = mysql_query("INSERT INTO ice_arhiva_nk SET nume='".$nick."', prop='".$idmeu."', validat='0', primu='0'"); if($res) { $cand = time()+(7*24*60*60); mysql_query("UPDATE lib3rtymrc_users SET datank='".$cand."' where id='".$idmeu."'"); echo "Cererea pentru schimbarea nick-ului a fost trimisa cu succes!
"; echo "Te rugam sa astepti verificarea si validarea noului nick!
"; }else{ echo "Eroare in dBase!
"; } }}else{ echo "Acest nick deja il folosesti!!
"; } echo "
"; echo "Acasa"; echo "

"; } ////////////////////////////////////////////// else if($action=="istoricnick") { $who = $_GET["who"]; $uid = getuid_sid($sid); addonline(getuid_sid($sid),"Arhiva Nick",""); echo ""; echo "

"; $nume = mysql_fetch_array(mysql_query("SELECT name FROM lib3rtymrc_users WHERE id='".$who."'")); $cate = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM ice_arhiva_nk WHERE prop='".$who."' AND validat='1'")); echo "Istoricul nick-urilor membrului
$nume[0]
(istoricul incepe din data de 08 iulie 2009)"; echo "
"; if($cate[0]==0){ echo "
Nu are schimbari de nick in istoric!
"; }else{ if($page=="" || $page<=0)$page=1; $num_items = $cate[0]; //changable $items_per_page= 5; $num_pages = ceil($num_items/$items_per_page); if(($page>$num_pages)&&$page!=1)$page= $num_pages; $limit_start = ($page-1)*$items_per_page; $sql = "SELECT id, nume, cand, primu FROM ice_arhiva_nk WHERE prop='".$who."' AND validat='1' ORDER BY cand DESC LIMIT $limit_start, $items_per_page"; echo "

"; $items = mysql_query($sql); //$cou =1; $cou = $limit_start; echo mysql_error(); while ($item = mysql_fetch_array($items)) { $cou++; $simbol = getsimbol($item[0]); $nume = mysql_fetch_array(mysql_query("SELECT name FROM lib3rtymrc_users WHERE id='".$who."'")); if($nume[0]==$item[0] && $item[3]!==1){ $ora = date("d-m-y, H:i", $item[2]); $lnk = "$cou. $item[1] - prezent
din $ora
"; }else if($item[3]==1){ $lnk = "$cou. $item[1]
de la inregistrare
"; }else{ $ora = date("d-m-y, H:i", $item[2]); $lnk = "$cou. $item[1]
din $ora
"; } echo "$lnk
"; } 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
"; } if($num_pages>2) { $rets = "pagina:"; $rets .= "[du-te]"; $rets .= ""; $rets .= ""; $rets .= ""; $rets .= ""; $rets .= ""; echo $rets; } } echo "

"; echo "Profil Membru"; echo "
"; echo "Acasa"; echo "

"; } //////////////////////////////////////////Anunt club else if($action=="annc") { addonline(getuid_sid($sid),"Anunta!",""); $clid = $_GET["clid"]; echo ""; echo "

"; //include("popups.php"); $cow = mysql_fetch_array(mysql_query("SELECT owner FROM lib3rtymrc_clubs WHERE id='".$clid."'")); $uid = getuid_sid($sid); if($cow[0]!=$uid) { echo "Acest club nu este al tau!"; }else{ echo "Text:
"; echo "Anunta"; echo " "; echo ""; } echo "

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

"; echo "
"; } //////////////////////////////////////////Guestbook else if($action=="addblg") { if(!getplusses(getuid_sid($sid))>50) { echo ""; echo "

"; echo "Ai nevoie de macar 50 de plusuri pentru a adauga 1 blog

"; echo "Prim"; echo "

"; echo "
"; echo ""; exit(); } addonline(getuid_sid($sid),"Adauga blog",""); echo ""; echo ""; echo " "; echo ""; echo "

"; echo "Titlu:
"; echo "Text:
"; echo "Adauga"; echo " "; echo ""; echo "

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

"; echo "
"; } //////////////////////////////////////////add vault else if($action=="addvlt") { if(!getplusses(getuid_sid($sid))>25) { echo ""; echo "

"; echo "Ai nevoie de macar 25 de plusuri pentru a aduce ceva la descarcat

"; echo "Prim"; echo "

"; echo "
"; echo ""; exit(); } addonline(getuid_sid($sid),"Adauga element la descarcat",""); echo ""; echo ""; echo " "; 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
-----
"; } echo ",Descarca este folosit pentru ca voi sa postati link-ri directe spre descarcare de: imagini, mp3-uri, jocuri etc...
Avertisment: daca folosesti link-uri catre site-ul tau pentru a face reclama vei primi avertisment apoi bann direct!


"; echo "Nume element:
"; echo "Adresa element:
"; echo "Adauga"; echo " "; echo ""; echo "

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

"; echo "
"; } /////////////////////////////////////////////////////// /// $numesite /// /// Acest script este modificat de: /// /// dj_syshu /// /// By klub-xxl.net /// /// RaZvan_BoSS_2305@yahoo.com /// /// admin@lib3ty.com /// /////////////////////////////////////////////////////// //////////////////////////////////Chestionare else if($action=="viewpl") { $who = $_GET["who"]; addonline(getuid_sid($sid),"Vizualizare chestionar",""); echo ""; echo "

"; $uid = getuid_sid($sid); $pollid = mysql_fetch_array(mysql_query("SELECT pollid FROM lib3rtymrc_users WHERE id='".$who."'")); if($pollid[0]>0) { $polli = mysql_fetch_array(mysql_query("SELECT id, pqst, opt1, opt2, opt3, opt4, opt5, pdt FROM lib3rtymrc_polls WHERE id='".$pollid[0]."'")); if(trim($polli[1])!="") { $qst = parsepm($polli[1], $sid); echo $qst."

"; $vdone = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_presults WHERE uid='".$uid."' AND pid='".$pollid[0]."'")); $nov = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_presults WHERE pid='".$pollid[0]."'")); $nov = $nov[0]; if($vdone[0]>0) { $voted= TRUE; }else{ $voted = FALSE; } $opt1 = $polli[2]; if (trim($opt1)!="") { $opt1 = htmlspecialchars($opt1); $nov1 = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_presults WHERE pid='".$pollid[0]."' AND ans='1'")); $nov1 = $nov1[0]; if($nov>0) { $per = floor(($nov1/$nov)*100); $rests = "Voturi: $nov1($per%)"; }else{ $rests = "Voturi: 0(0%)"; } if($voted) { $lnk = "1.$opt1 $rests
"; }else{ $lnk = "1.$opt1 $rests
"; } echo "$lnk"; } $opt2 = $polli[3]; if (trim($opt2)!="") { $opt2 = htmlspecialchars($opt2); $nov2 = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_presults WHERE pid='".$pollid[0]."' AND ans='2'")); $nov2 = $nov2[0]; if($nov>0) { $per = floor(($nov2/$nov)*100); $rests = "Voturi: $nov2($per%)"; }else{ $rests = "Voturi: 0(0%)"; } if($voted) { $lnk = "2.$opt2 $rests
"; }else{ $lnk = "2.$opt2 $rests
"; } echo "$lnk"; } $opt3 = $polli[4]; if (trim($opt3)!="") { $opt3 = htmlspecialchars($opt3); $nov3 = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_presults WHERE pid='".$pollid[0]."' AND ans='3'")); $nov3 = $nov3[0]; if($nov>0) { $per = floor(($nov3/$nov)*100); $rests = "Voturi: $nov3($per%)"; }else{ $rests = "Voturi: 0(0%)"; } if($voted) { $lnk = "3.$opt3 $rests
"; }else{ $lnk = "3.$opt3 $rests
"; } echo "$lnk"; } $opt4 = $polli[5]; if (trim($opt4)!="") { $opt4 = htmlspecialchars($opt4); $nov4 = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_presults WHERE pid='".$pollid[0]."' AND ans='4'")); $nov4 = $nov4[0]; if($nov>0) { $per = floor(($nov4/$nov)*100); $rests = "Voturi: $nov4($per%)"; }else{ $rests = "Voturi: 0(0%)"; } if($voted) { $lnk = "4.$opt4 $rests
"; }else{ $lnk = "4.$opt4 $rests
"; } echo "$lnk"; } $opt5 = $polli[6]; if (trim($opt5)!="") { $opt5 = htmlspecialchars($opt5); $nov5 = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_presults WHERE pid='".$pollid[0]."' 2AND ans='5'")); $nov5 = $nov5[0]; if($nov>0) { $per = floor(($nov5/$nov)*100); $rests = "Voturi: $nov5($per%)"; }else{ $rests = "Voturi: 0(0%)"; } if($voted) { $lnk = "5.$opt5 $rests
"; }else{ $lnk = "5.$opt5 $rests
"; } echo "$lnk"; } echo "".date("d m y - H:i",$polli[7]).""; }else{ echo "\"x\"/Acest chestionar nu exista"; } }else{ echo "\"x\"/Acest user nu are chestionar"; } echo "

"; echo "

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

"; echo "
"; } //////////////////////////////////////////// Statut else if($action=="statutc") { addonline(getuid_sid($sid),"Seteaza Status in lista de conectati","index.php?action=$action"); 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 "

"; echo popup($sid); echo "

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

"; echo "Aici va puteti actualiza stare pe care o doriti in lista de conectati, daca activati cheful in lista de conectati, tot ceea ce faceti pe site nu va fi vazut in lista de conectati,adica nu va fi vazuta locatia unde sunteti pentru va aparea cheful in locul acesteia, este interzisa folosirea a mai mult de 2 emotii in chef si deasemenea de adrese de chaturi/injuraturi, cheful poate fi actualizat si din lista de prieteni
"; $uid = getuid_sid($sid); $chef = mysql_fetch_array(mysql_query("SELECT chef FROM lib3rtymrc_users WHERE id='".$uid."'")); if($chef[0]==1){ echo ""; $cmsg = htmlspecialchars(getbudmsg(getuid_sid($sid))); echo " "; echo ""; echo "Text:"; echo "

"; echo "»Actualizeaza Statut"; echo " "; echo "«
"; echo "«Activeaza chef in lista de conectati
"; }else{ // echo "»Dezactiveaza chef in lista de conectati
"; } echo ""; echo "Setari
"; echo "\"*\"/"; echo "Prim"; echo "

"; echo "<;/card>"; } //////////////////////////////////////////// Statut else if($action=="chbmsg") { addonline(getuid_sid($sid),"Seteaza Status","index.php?action=$action"); 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 "

"; echo popup($sid); echo "

"; echo "
"; echo ""; exit(); } echo ""; $cmsg = htmlspecialchars(getbudmsg(getuid_sid($sid))); echo " "; echo ""; echo "

"; echo "
"; echo "Text:
"; echo "Actualizeaza"; echo " "; echo "

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

"; echo ""; } else if($action=="transferapls") { addonline(getuid_sid($sid),"Trimite Plusuri",""); echo ""; echo "

"; $who = $_GET["who"]; $uid = getuid_sid($sid); if($who==$uid){ echo "Nu iti poti trimite plusuri. Este interzis....

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

"; echo "
"; echo ""; exit(); } echo ""; echo " "; echo ""; echo "Trimite Plusuri lui ".getnick_uid($who)."

"; $ps = mysql_fetch_array(mysql_query("SELECT plusses FROM lib3rtymrc_users WHERE id='".getuid_sid($sid)."'")); echo "Ai $ps[0] Plusuri

"; echo "Cate Plusuri ii vei transfera?
"; echo ""; echo "
Confirma"; echo ""; echo ""; echo ""; echo "

"; echo "Acasa"; echo "

"; echo ""; } else if($action=="transferapls2") { $who = $_GET["who"]; $uid = getuid_sid($sid); if($who==$uid){ echo "Nu iti poti trimite plusuri. Este interzis....

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

"; echo ""; echo ""; exit(); } $ptg = $_POST["ptg"]; $cui = getnick_uid($who); addonline(getuid_sid($sid),"Transfera Plusuri in contul $cui",""); echo ""; echo "

"; //$uid = getuid_sid($sid); $gpsf = mysql_fetch_array(mysql_query("SELECT plusses FROM lib3rtymrc_users WHERE id='".$uid."'")); $gpst = mysql_fetch_array(mysql_query("SELECT plusses FROM lib3rtymrc_users WHERE id='".$who."'")); if($gpsf[0]>=$ptg){ $gpsf = $gpsf[0]-$ptg; $gpst = $gpst[0]+$ptg; $res = mysql_query("UPDATE lib3rtymrc_users SET plusses='".$gpst."' WHERE id='".$who."'"); if($res) { $res = mysql_query("UPDATE lib3rtymrc_users SET plusses='".$gpsf."' WHERE id='".$uid."'"); echo "Plusuri transferate cu succes
"; mysql_query("INSERT INTO lib3rtymrc_mlog SET action='Plusuri', details='".getnick_uid(getuid_sid($sid))." a transferat $ptg plusuri lui ".getnick_uid($who)."', actdt='".time()."'"); if(automsgs($who)) { $msg = "".getnick_uid($uid)." va transferat $ptg plusuri,acum aveti $gpst plusuri in contul dumneavoastra"; echo pmautomat($msg, $who); } if(automsgs($uid)) { $msg = "Ati transferat $ptg plusuri in contul $cui,acum mai aveti $gpsf plusuri in contul dumneavoastra"; echo pmautomat($msg, $uid); } }else{ echo "Eroare in baza de date!
"; } }else{ echo "Nu ai destule plusuri pentru a transfera altcuiva
"; if(automsgs($uid)) { $msg = "Ne pare rau dar momentan nu aveti suficiente plusuri in contul dumneavoastra pentru a transfera"; echo pmautomat($msg, $uid); } } echo "
"; echo ""; echo "Acasa"; echo "

"; echo "
"; } /////////////////////////////////////////////////////////////////// Profil USER else if($action=="viewuser") { if(validare(getuid_sid($sid))<1) { echo ""; echo "

"; echo "\"*\"/Contul tau nu a fost validat
Este necesar sa-ti completezi corect profilul
Si sa astepti validarea contului tau
"; echo "Verificarea si activarea contului dumneavoastra poate dura pana la 2 de ore, va rugam asteptati.
Va multumim!


"; echo ""; echo "Daca nu vreti sa asteptati dati un sms la 0752421301
"; echo "
"; echo ""; echo "+Setari Profil
"; echo "------
"; echo "\"*\"/ Prima Pagina

"; echo "© $sitte
"; echo "
"; echo "

"; echo "
"; echo ""; exit(); } $whonick = getnick_uid($who); addonline(getuid_sid($sid),"Vizualizare profil user $whonick","index.php?action=viewuser&who=$who"); //add visitor if ($uid != $who) $res = mysql_query("INSERT INTO lastview SET whonick='". $whonick ."', lastview='".getnick_uid($uid)."', ltime='".time()."'"); // update nr visits $res = mysql_query("UPDATE lib3rtymrc_users SET nr_visits = nr_visits + 1 WHERE id = $who"); echo ""; 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
-----
"; } $lastloc=$_GET["lstloc"]; if($lastloc=="cht"){ $rid= $_GET["rid"]; $rooms = mysql_fetch_array(mysql_query("SELECT id, name FROM lib3rtymrc_rooms WHERE id='".$rid."'")); $rname = $rooms[1]; } if($who==""||$who==0) { $mnick = $_POST["mnick"]; $who = getuid_nick($mnick); } $whonick = getnick_uid($who); $bmsg = parsemsg(getbudmsg($who), $sid); ///////////Alerte $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(); } /////////////unde vrea inima ta sa apara cati iepuroi o prins //$nopl = mysql_fetch_array(mysql_query("SELECT iepurasi FROM lib3rtymrc_users WHERE id='".$who."'")); //echo "\"*\"/ Iepurasi prinsi: ".getnr($nopl[0])."
"; //////////////// ////////// if($whonick!="") { if(isonline($who)) { $iml = "\"+\"/conectat"; }else{ $iml = "\"-\"/deconectat"; } $bmsg = parsemsg(getbudmsg($who), $sid); echo "Mesaj Statut:
"; echo "
$bmsg
"; $me = getuid_sid($sid); if($who=="$me") { $use = "[ Seteaza status acum ]"; }else{ $use = ""; } echo "$use"; echo "
-----
"; // echo "Trimite:
"; echo "Trimite PM
"; //echo "|"; //echo "»Alerta«
"; // if (arebuds($uid, $who)) //{ // echo "»Alerta«
"; // } // ultimele vizite if ($who == $uid) { echo "-----
"; echo "vizitatorii Mei"; echo "
"; } // get nr visits list($nr_visits) = mysql_fetch_array(mysql_query("SELECT nr_visits FROM lib3rtymrc_users WHERE id = $who")); // echo "Vizualizat de $nr_visits ori"; echo "
"; echo "istoric nick-uri
"; $cati = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_users WHERE adusde='".$who."'")); if($cati[0]>1){ $mentor = "Mentor pentru $cati[0] useri"; } else if($cati[0]==1){ $mentor = "Mentor pentru un user"; }else if($cati[0]==0){ $mentor = "Nu este mentor"; } echo "$mentor
"; if($uid!=$who) if(isonline($who)) echo "»Play RPG«
"; echo "
"; echo ""; // avatar $avlink = getavatar($who); if ($avlink == '') { $sex = @mysql_fetch_array(mysql_query("SELECT sex FROM lib3rtymrc_users WHERE id='".$who."'")); if ($sex[0] == 'F') $avlink = "../images/girl.gif"; else $avlink = "../images/boy.gif"; } echo "\"$whonick\"/

"; /* $avat = mysql_fetch_array(mysql_query("SELECT setavatar FROM lib3rtymrc_users WHERE id='".$who."'")); if($avat[0]=="1") { echo "\"$whonick\"/
"; }else{ echo "\"$whonick\"/
"; }*/ //echo "»Descarca avatar«
"; $invizibil = mysql_fetch_array(mysql_query("SELECT hidden FROM lib3rtymrc_users WHERE id='".$who."'")); if($invizibil[0]==1){ echo "".getsimbol($who)."$whonick acum $iml
"; $plc = mysql_fetch_array(mysql_query("SELECT place FROM lib3rtymrc_online WHERE userid='".$who."'")); $uact = "$plc[0]
"; if(isonline($who)) echo "Situare: $uact"; ////////////////////// poanta q actiunile $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 "Activ in urma cu: "; 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 "".getsimbol($who)."$whonick acum \"-\"/deconectat
"; } //echo "$whonick site personal

"; // echo "$iml
"; if(isonline($who)) { ////////////////////// conectat de .... $regd = mysql_fetch_array(mysql_query("SELECT regdate, lastvst, logat 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 "Conectat de: "; //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 "
"; /////////////////////// pana aici }else{ /////////////////////// pana aici } // // if(isonline($who)) // { // $nopl = mysql_fetch_array(mysql_query("SELECT logat FROM lib3rtymrc_users WHERE id='".$who."'")); // $jdt = date("H:i:s",$nopl[0]); // $oraf = "Conectat de la ora: $jdt
"; // }else{ // $oraf = ""; // } echo "$oraf"; echo "-----
"; /// contoarele online $time = mysql_fetch_array(mysql_query("SELECT otime, mtime FROM lib3rtymrc_users WHERE id='".$who."'")); $regd = mysql_fetch_array(mysql_query("SELECT regdate FROM lib3rtymrc_users WHERE id='".$who."'")); $etime = mktime(0,0,0,3,6,2007); if($etime>$regd[0]) $dtime = time()-$etime; else $dtime = time()-$regd[0]; $timeage = ceil($dtime/(24*60*60)); $avgtime = ceil($time[0]/$timeage); $avgmsgtime = gettimemsg($avgtime); $otime = gettimemsg($time[0]); $mtime = gettimemsg($time[1]); echo "Timp Total Online: $otime
"; echo "Conectat Zilnic: $avgmsgtime
"; //echo "-----
"; $uid = getuid_sid($sid); if(budres($uid, $who)==0) { echo "»[+] adauga la prieteni
"; }else if(budres($uid, $who)==1) { echo "* cerere de prietenie in curs *
"; }else if(budres($uid, $who)==2) { echo "»[-] sterge de la prieteni
"; } $ires = ignoreres($uid, $who); if(es==2) { echo "»[#] sterge de la ignorati
"; }else if($ires==1) { echo "»[#] adauga la ignorati
"; } $countpics = mysql_fetch_array(mysql_query("SELECT COUNT(id) FROM lib3rtymrc_gallery WHERE uid='".$who."'")); echo "Galerie foto:$countpics[0]
"; $noi = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_gbook WHERE gbowner='".$who."' AND reported = 0")); echo "Comentarii:$noi[0]
"; // dedicatii // list($dedicatii_primite) = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM cam_dedicatii WHERE touid = $who")); list($dedicatii_trimise) = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM cam_dedicatii WHERE byuid = $who")); // //echo '-----
'; //echo "Dedica
"; //echo 'Dedicatii: '; //echo "$dedicatii_primite"; //echo ' / '; //echo "$dedicatii_trimise"; //echo '
'; $topconectati = mysql_fetch_array(mysql_query("SELECT topcon FROM lib3rtymrc_users WHERE id='".$who."'")); echo "Loc in top online:$topconectati[0]
"; echo "-----
"; echo "ID: $who
"; echo "Rang: ".getstatus($who)."
"; //echo "Reputatie: ".getreputatie($who)."
"; $nopl = mysql_fetch_array(mysql_query("SELECT sex, birthday, location FROM lib3rtymrc_users WHERE id='".$who."'")); $uage = getage($nopl[1]); if($nopl[0]=='M') { $usex = "\".\"/Barbat"; }else if($nopl[0]=='F'){ $usex = "\".\"/Femeie"; }else{ $usex = "\".\"/Fara sex"; } $nopl[2] = htmlspecialchars($nopl[2]); echo "Varsta: $uage
"; $datanasterii = mysql_fetch_array(mysql_query("SELECT birthday FROM lib3rtymrc_users WHERE id='".$who."'")); echo "Zodia: ".obtinedatanasterii($datanasterii[0],$sid); $regd = mysql_fetch_array(mysql_query("SELECT regdate FROM lib3rtymrc_users WHERE id='".$who."'")); $sage = time()-$regd[0]; $rwage = ceil($sage/(24*60*60)); echo "
Sex: $usex
"; echo "Locatitatea: $nopl[2]"; echo "
"; $noplx = mysql_fetch_array(mysql_query("SELECT plusses FROM lib3rtymrc_users WHERE id='".$who."'")); echo "Varsta $numesite: $rwage zile
"; //echo "Plusuri: $noplx[0]+
"; echo "Monezi : ".monezi($who)."
"; echo "Plusuri: ".getplusses($who)."
"; $nob = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_buddies WHERE (uid='".$who."' OR tid='".$who."') AND agreed='1'")); echo "Prieteni: $nob[0]
"; $nopl = mysql_fetch_array(mysql_query("SELECT site FROM lib3rtymrc_users WHERE id='".$who."'")); $motto = parsepm($nopl[0], $sid); $judg = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_judges WHERE uid='".$who."'")); if($judg[0]>0) { echo "-----
* Organizator Quizz *
"; echo "-----
"; } echo "Postari In forumuri
"; $unol = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_topics WHERE authorid='".$who."'")); $tlink = "$unol[0]"; echo "Topicuri: $tlink
"; $unop = mysql_fetch_array(mysql_query("SELECT posts FROM lib3rtymrc_users WHERE id='".$who."'")); $unol = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_posts WHERE uid='".$who."'")); $plink = "$unol[0]"; echo "Postari: $plink/$unop[0]
"; ////////////////////////////////////////////// if($adopt[0]==0) { echo "Copil: "; $nopl = mysql_fetch_array(mysql_query("SELECT sex FROM lib3rtymrc_users WHERE id='".$who."'")); //$couple = mysql_fetch_array(mysql_query("SELECT accept, who, partner FROM adoptie WHERE who='".$who."'")); //$couples = mysql_fetch_array(mysql_query("SELECT accept, who, partner FROM adoptie WHERE partner='".$who."'")); if($couple[0]=='1') { $mate = $couple[2]; $mate1 = getnick_uid($mate); if($nopl[0]=='M') { echo " $mate1
"; }else if($nopl[0]=='F'){ echo " $mate1
"; } } else if($couples[0]=='1') { $mate = $couples[1]; $mate1 = getnick_uid($mate); if($nopl[0]=='M') { echo " $mate1
"; }else if($nopl[0]=='F'){ echo " $mate1
"; } }else{ if($nopl[0]=='M') { echo "nu are
"; }else if($nopl[0]=='F'){ echo "nu are
"; }else{ echo "nu are
"; } } }else if($adopt[0]==1){ echo "Adoptat:
"; $nopl = mysql_fetch_array(mysql_query("SELECT sex FROM dk_users WHERE id='".$who."'")); $couple = mysql_fetch_array(mysql_query("SELECT accept, who, partner FROM adoptie WHERE who='".$who."'")); $couples = mysql_fetch_array(mysql_query("SELECT accept, who, partner FROM adoptie WHERE partner='".$who."'")); if($couple[0]=='1') { $mate = $couple[2]; $mate1 = getnick_uid($mate); if($nopl[0]=='M') { echo " $mate1
"; }else if($nopl[0]=='F'){ echo " $mate1
"; } } else if($couples[0]=='1') { $mate = $couples[1]; $mate1 = getnick_uid($mate); if($nopl[0]=='M') { echo " $mate1
"; }else if($nopl[0]=='F'){ echo "adopt cu $mate1
"; } } } $cati = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM couple WHERE who='".$who."' OR partner='".$who."'")); $cum = mysql_fetch_array(mysql_query("SELECT accept, who, partner FROM couple WHERE who='".$who."' OR partner='".$who."'")); if($cum[0]==1&&$cati[0]!==0){ if($cum[1]==$who){ $cumx= ""; $cumxid= ""; }else{ $cumx= "".getnick_uid($cum[1]).""; $cumxid= $cum[1]; } if($cum[2]==$who){ $cumx2= ""; $cumx2id= ""; }else{ $cumx2= "".getnick_uid($cum[2]).""; $cumx2id= $cum[2]; } $casatorit = mysql_fetch_array(mysql_query("SELECT casatorit FROM couple WHERE who='".$who."' OR partner='".$who."'")); if($casatorit[0]==0) { $nopl = mysql_fetch_array(mysql_query("SELECT sex FROM lib3rtymrc_users WHERE id='".$who."'")); if($nopl[0]=='M') { $stare = "logodit"; }else if($nopl[0]=='F'){ $stare = "logodita"; }else{ $stare = "logodit"; } }else{ $nopl = mysql_fetch_array(mysql_query("SELECT sex FROM lib3rtymrc_users WHERE id='".$who."'")); if($nopl[0]=='M') { $stare = "casatorit"; }else if($nopl[0]=='F'){ $stare = "casatorita"; }else{ $stare = "casatorit"; } } $link = "$stare cu $cumx$cumx2
"; $cuplu = mysql_fetch_array(mysql_query("SELECT id FROM couple WHERE who='".$who."' OR partner='".$who."'")); $nas = mysql_fetch_array(mysql_query("SELECT nas1, nas2, datans FROM couple WHERE id='".$cuplu[0]."'")); if($nas[0]!=="" && $nas[1]!==""){ $nasu1 = getnick_uid($nas[0]); $nasu2 = getnick_uid($nas[1]); $nas = "Nasii: $nasu1 + $nasu2
"; }else{ $nas = "Nu au nasi"; } }else if($cum[0]==0||$cati[0]==0){ $nopl = mysql_fetch_array(mysql_query("SELECT sex FROM lib3rtymrc_users WHERE id='".$who."'")); if($nopl[0]=='M') { $starex = "singur"; }else if($nopl[0]=='F'){ $starex = "singura"; }else{ $starex = "singur"; } $link = "$starex
"; $nas = ""; } echo "Stare Civila: $link$nas
"; //echo "
"; $exet = mysql_fetch_array(mysql_query("SELECT adusde FROM lib3rtymrc_users WHERE id='".$who."'")); $linkx = "".getnick_uid($exet[0])."
"; if($exet[0]!==""){ echo "Mentor: $linkx"; } // echo "-----
"; $nopl = mysql_fetch_array(mysql_query("SELECT signature FROM lib3rtymrc_users WHERE id='".$who."'")); $sign = parsepm($nopl[0], $sid); echo "MoTTo: $sign"; echo "
-----
"; echo "Alte Detalii:
"; echo "Contact|"; echo "Infatisare
"; echo "Statistici|"; echo "Personalitate
"; echo "
"; //echo "

"; echo "-----
"; echo "»Distreaza-te cu userul«
"; //echo "»Animale Virtuale«
"; //echo "»$numesite ID Card«
"; echo "»doneaza puncte joc«
"; /////////////////////// pana aici if(ismod(getuid_sid($sid))) { $nopl = mysql_fetch_array(mysql_query("SELECT browserm FROM lib3rtymrc_users WHERE id='".$who."'")); echo "» Browser: $nopl[0]
"; $uipadd = mysql_fetch_array(mysql_query("SELECT ipadd FROM lib3rtymrc_users WHERE id='".$who."'")); echo "» IP:$uipadd[0]
"; $nob = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_buddies WHERE (uid='".$who."' OR tid='".$who."') AND agreed='1'")); echo "» Prieteni: $nob[0]
"; } echo "
"; if(cansee(getuid_sid($sid), $who)) { echo ""; $unol = mysql_fetch_array(mysql_query("SELECT lastpnreas FROM lib3rtymrc_users WHERE id='".$who."'")); if($unol[0]!="") { echo "Motiv penalizare: $unol[0]
"; } $unol = mysql_fetch_array(mysql_query("SELECT lastplreas FROM lib3rtymrc_users WHERE id='".$who."'")); if($unol[0]!="") { echo "Motiv plusuri: $unol[0]
"; } echo "
"; } echo "

"; echo "

"; $judg = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_judges WHERE uid='".getuid_sid($sid)."'")); if(ismod(getuid_sid($sid))) { ///////////////////////////////// comenzi :D ///////////////////////////////// comenzi :D include("comenzi.php"); } echo ""; echo "-Comenzi Proprietar
"; if(ismod(getuid_sid($sid))) { echo "Monezi
"; echo "Adauga plusuri
"; echo "Acorda puncte Quizz/Fazan
"; } }else{ echo "\"X\"/ Membru nu exista
"; } echo "-----
"; echo ""; echo "Acasa"; echo "

"; echo ""; } ////////////////////////////////////////// uxset else if($action=="uxset") { addonline(getuid_sid($sid),"Setari extinse","index.php?action=$action"); echo ""; echo "

"; echo "»Adresa mea
"; echo "»Personalitate
"; //echo "»Gmail Settings
"; echo "»Mai multe despre mine
"; echo "»Preferinte
"; echo "

"; echo "

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

"; echo "
"; } //////////////////////////////////////////User Address else if($action=="uadd") { addonline(getuid_sid($sid),"Adresa mea",""); echo ""; echo ""; $ainfo = mysql_fetch_array(mysql_query("SELECT country, city, street, phoneno, timezone FROM lib3rtymrc_xinfo WHERE uid='".getuid_sid($sid)."'")); echo " "; echo ""; echo "

"; echo "\"!\"/Dute la Preferinte si alege doar prietenii daca vrei ca doar prietenii sa vada numarul tau de telefon si adresa unde stai
"; echo "\"!\"/Daca vrei ca nimeni sa nu iti vada informatiile astea nu le completa
"; echo ' Tara:
Oras:
Timezone(e.g +1 or -2.5):
Numar telefon.:
'; echo "Confirma"; echo ""; echo ""; echo ""; echo ""; echo ""; echo ""; echo "

"; echo "

"; echo ""; echo "Seteaza profil
"; echo "\"*\"/"; echo "Prim"; echo "

"; echo "
"; } //////////////////////////////////////////User Preferences else if($action=="upre") { addonline(getuid_sid($sid),"Preferinte",""); echo ""; echo ""; $ainfo = mysql_fetch_array(mysql_query("SELECT sitedscr, budsonly, sexpre FROM lib3rtymrc_xinfo WHERE uid='".getuid_sid($sid)."'")); echo " "; echo ""; echo "

"; echo "\"!\"/Situl tau este deja pus pe setarile normale
"; echo "\"!\"/Seteaza prietenii doar pe da, asa ca doar prietenii tai iti poti vedea numarul tau de telefon, strada si numele real
"; echo "\"!\"/Preferintele sexuale vor ajuta pe ceilalti si pe tine sa fii cautat de cine trebuie

"; echo ' Descriere site:
Doar prietenii:
Preferinte sexuale: '; echo "
Confirma"; echo ""; echo ""; echo ""; echo ""; echo ""; echo "

"; echo "

"; echo ""; echo "Seteaza profil
"; echo "\"*\"/"; echo "Prim"; echo "

"; echo "
"; } //////////////////////////////////////////User Personaliy else if($action=="uper") { addonline(getuid_sid($sid),"Personalitate",""); echo ""; echo ""; $ainfo = mysql_fetch_array(mysql_query("SELECT height, weight, realname, racerel, eyescolor, profession, hairtype FROM lib3rtymrc_xinfo WHERE uid='".getuid_sid($sid)."'")); echo " "; echo ""; echo "

"; echo ' Inaltime:
Greutate:
Nume real:
Origine etnica:
Culoarea ochilor:
Culoarea parului:
Profesie:
'; echo "Confirma"; echo ""; echo ""; echo ""; echo ""; echo ""; echo ""; echo ""; echo ""; echo ""; echo "

"; echo "

"; echo ""; echo "Seteaza profil
"; echo "\"*\"/"; echo "Prim"; echo "

"; echo "
"; } //////////////////////////////////////////User Personaliy else if($action=="umin") { addonline(getuid_sid($sid),"Mai multe despre mine",""); echo ""; echo ""; $ainfo = mysql_fetch_array(mysql_query("SELECT likes, deslikes, habitsb, habitsg, favsport, favmusic, moretext FROM lib3rtymrc_xinfo WHERE uid='".getuid_sid($sid)."'")); echo " "; echo ""; echo "

"; echo ' Imi place:
Nu imi place:
Defecte:
Calitati:
Sport favorit:
Muzica favorita:
Mai multe detalii:
'; echo "Confirma"; echo ""; echo ""; echo ""; echo ""; echo ""; echo ""; echo ""; echo ""; echo ""; echo "

"; echo "

"; echo "";; echo "Seteaza profil
"; echo "\"*\"/"; echo "Prim"; echo "

"; echo "
"; } /////////////////////////////meeeesssss bY I0nwTZz//////// else if($action=="mess") { addonline(getuid_sid($sid),"Seteaza Profil",""); echo ""; echo ""; $ainfo = mysql_fetch_array(mysql_query("SELECT country, city, street, phoneno, timezone FROM lib3rtymrc_xinfo WHERE uid='".getuid_sid($sid)."'")); echo " "; echo ""; echo "

"; echo "\"!\"/
"; echo "

"; echo "

"; echo " \"!\"/Vrei sa adaugi ID-ul de Messenger aici?
"; echo ' Id Messenger:
'; echo "Confirma"; echo ""; echo ""; echo ""; echo "

"; echo "

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

"; echo "
"; } ////////////////////////////////////////// else if($action=="altes") { addonline(getuid_sid($sid),"Seteaza Profil",""); echo ""; echo ""; $ainfo = mysql_fetch_array(mysql_query("SELECT country, city, street, phoneno, timezone FROM lib3rtymrc_xinfo WHERE uid='".getuid_sid($sid)."'")); echo " "; echo ""; echo "

"; echo "\"!\"/Dute la Preferinte si alege doar prietenii daca vrei ca doar prietenii sa vada numarul tau de telefon si idul tau de messenger
"; echo "\"!\"/Daca vrei ca nimeni sa nu iti vada informatiile astea nu le completa
"; echo ' Id Messenger:
Numar telefon.:
'; echo "Confirma"; echo ""; echo ""; echo ""; echo ""; echo "

"; echo "

"; echo ""; echo "Seteaza profil
"; echo "\"*\"/"; echo "Prim"; echo "

"; echo "
"; } //////////////////////////////////////////Give Game Plusses else if($action=="givegp") { $who = $_GET["who"]; addonline(getuid_sid($sid),"Da GPs",""); echo ""; echo ""; echo " "; echo ""; echo "

"; echo "Da GP la ".getnick_uid($who)."

"; $gps = mysql_fetch_array(mysql_query("SELECT gplus FROM lib3rtymrc_users WHERE id='".getuid_sid($sid)."'")); echo "Ai $gps[0] GP

"; echo "GP de dat
"; echo ""; echo "
Da"; echo ""; echo ""; echo ""; echo "

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

"; echo "
"; } //////////////////////////////////////////Give Battle points else if($action=="batp") { $who = $_GET["who"]; addonline(getuid_sid($sid),"Da puncte de batalie",""); echo ""; echo ""; echo " "; echo ""; echo "

"; $judg = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_judges WHERE uid='".getuid_sid($sid)."'")); if(ismod(getuid_sid($sid))||$judg[0]>0) { echo "Da/Ia puncte de batalie de la ".getnick_uid($who)."

"; echo ""; echo "
Adauga"; echo ""; echo ""; echo ""; echo "
"; echo "Sterge"; echo ""; echo ""; echo ""; echo "

"; }else{ echo "andrei19 iti zice ca esti expirat :D"; } echo "

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

"; echo "
"; } ////// chat else if ($action=="chat") { addonline(getuid_sid($sid),"Meniu Chat","index.php?action=$action"); echo ""; echo "

"; echo "Comunica Liber

"; echo "

"; echo "

"; $rooms = mysql_query("SELECT id, name, perms, mage, chposts FROM lib3rtymrc_rooms WHERE static='1' AND clubid='0' AND id!='580'"); while ($room= mysql_fetch_array($rooms)) { if(canenter($room[0], $sid)) { $noi = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_chonline WHERE rid='".$room[0]."'")); if($room[5]=="1") { echo "$room[1]($noi[0])
"; }else{ echo "$room[1]($noi[0])
"; } } } echo "

"; echo "

"; echo "-------
"; echo "Camere private
"; echo "Acasa
"; echo "

"; echo "
"; } else if ($action=="uchat") { addonline(getuid_sid($sid),"Camere private","index.php?action=$action"); echo ""; echo "

"; $uid = getuid_sid($sid); echo "Creare camera
"; echo "-------
"; echo "
"; echo "

"; echo "

"; $rooms = mysql_query("SELECT id, name, pass FROM lib3rtymrc_rooms WHERE static='0'"); $co=0; while ($room= mysql_fetch_array($rooms)) { $co++; if(canenter($room[0], $sid)) { $noi = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_chonline WHERE rid='".$room[0]."'")); if($room[2]=="") { echo "".htmlspecialchars($room[1])."($noi[0])
"; }else{ echo "

"; echo ""; echo ""; echo htmlspecialchars($room[1]); echo "($noi[0])"; echo ""; echo ""; echo ""; echo ""; echo ""; echo "
"; } } } echo "

"; echo "

"; echo "
Meniu Chat
"; echo "Acasa
"; echo "

"; echo "
"; } else if($action=="mkroom") { addonline(getuid_sid($sid),"Creare camera","index.php?action=$action"); echo ""; echo "

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

"; echo "
"; echo ""; exit(); } $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 "\"!\"/Nu scrie nimic la parola daca vrei ca pe camera sa poata intra oricine
"; echo "Nume camera:
"; echo "Parola:
"; echo "Creaza"; echo ""; echo ""; echo ""; echo ""; echo "

"; echo "

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

"; echo ""; } else if ($action=="funm") { addonline(getuid_sid($sid),"Meniu jocuri","index.php?action=$action"); echo ""; echo "

"; echo "Meniu Jocuri
"; $uid = getuid_sid($sid); $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 "\"*\"/
"; echo "Bun venit in categoria jocurilor. Poti sa te distrez pe cinste."; echo "

"; echo "

"; /* echo "Jocuri Culturale
"; $chatters=mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_onlinefazan")); echo " \".\"/Joaca Fazaniada($chatters[0])
"; $chatters=mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_onlinetrivia")); echo " \".\"/Joaca Trivia($chatters[0])
"; // smart $chatters=mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM ice_onlinesmart")); echo " \".\"/Joaca Anagrame($chatters[0])
"; // spanzuratoarea $chatters=mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM ice_onlinespanzr")); echo " \".\"/Joaca Spanzuratoarea($chatters[0])
"; */ echo "Jocuri Virtuale
"; echo ""; echo "\".\"/War World
"; echo "\".\"/XP Game
"; echo "\".\"/Ghiceste numarul
"; echo "\".\"/Spanzuratoarea
"; echo "\".\"/Loto 20/99
"; echo "\".\"/X si 0
"; echo "\".\"/RPG
"; echo "\".\"/Barbut
"; echo "\".\"/Gta
"; echo "\".\"/Racing
"; echo "
"; echo "

"; echo "

"; echo "Acasa"; echo "

"; echo "
"; } ///////////////////////////////////Seteaza profil else if($action=="setari") { addonline(getuid_sid($sid),"Seteaza profil","index.php?action=$action"); echo ""; echo "

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

"; echo "
"; echo ""; exit(); } // include("popups.php"); echo "\"*\"/
"; echo "Seteaza profil
"; echo "Setarile ce contin (*) sunt obligatoriu de completat"; echo "

"; echo "

"; $tmsg = getpmcount(getuid_sid($sid)); $umsg = getunreadpm(getuid_sid($sid)); //echo "-Posta[$umsg/$tmsg]
"; echo "-Posta($umsg noi)
"; echo "-------
"; $uid =getuid_sid($sid); echo "»Vizualizeaza profil
"; echo "-------
"; $hidden = mysql_fetch_array(mysql_query("SELECT hidden FROM lib3rtymrc_users WHERE id='".$uid."'")); if($hidden[0]==1) { echo "»Intra pe modul invizibil«
"; }else{ echo "»Iesi de pe modul invizibil«
"; } echo "-----
"; $avatar = mysql_fetch_array(mysql_query("SELECT setavatar FROM lib3rtymrc_users WHERE id='".$uid."'")); if($avatar[0]==1) { echo "»Micsoreaza avatar (128x112 px)
"; }else{ echo "»Dezactiveaza Micsorare avatar«
"; } echo "»Setari Profil de baza(*)
"; echo "»Setari Diverse(*)
"; echo "»Mod primire alerte
"; echo "»Mesaje Automate
"; //echo "»Seteaza Notificare prin mail
"; echo "»Setateaza Statut La lista de conectati
"; echo "»Schimba Parola
"; echo "»Adresa mea
"; echo "»Personalitate
"; echo "»Mai multe despre mine
"; echo "»Preferinte
"; echo "»Setateaza Grafica
"; //echo "»Setateaza Statut
"; $noi = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_ignore WHERE name='".$uid."'")); echo "»Lista Ignorati($noi[0])
"; echo "

"; echo "

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

"; echo ""; } ///////////////////////// notificare pm else if($action=="notificare") { addonline(getuid_sid($sid),"Notificare Pm",""); echo ""; echo "

"; echo "Daca ai o adresa de e-mail valida pusa la profil,activand optiunea vei primi un e-mail de fiecare data cand cineva iti va trimite un pm pe lib3rty si tu nu esti online"; echo "
-------
"; echo "

"; echo "

"; $uid =getuid_sid($sid); $notificare = mysql_fetch_array(mysql_query("SELECT notificare FROM lib3rtymrc_users WHERE id='".$uid."'")); if($notificare[0]==1) { echo "»Dezactiveaza notificare PM prin mail«
"; }else{ echo "»Activeaza notificare PM prin mail«
"; } echo "
"; echo "

"; echo "

"; echo "Setari profil
"; echo "\"*\"/"; echo "Prim"; echo "

"; echo "

"; echo ""; echo "P.S.:aceasta optiune este doar pentru cei care au o adresa de e-mail valida la profil"; echo ""; echo "

"; echo "
"; } //////////////////////////// mod primire alerte else if($action=="alerteset") { addonline(getuid_sid($sid),"Seteaza alerte","index.php?action=$action"); echo ""; echo "

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

"; echo "
"; echo ""; exit(); } // include("popups.php"); echo "\"*\"/
"; echo "Mod primire alerte
"; echo "

"; echo "

"; echo "In mod initial alertele sunt active doar pentru prieteni,daca doriti sa primiti alerte de la toti trebuie sa \"Dezactiveaza alertele numai pentru prieteni\"
"; //////////////// alertele $popmsgs = mysql_fetch_array(mysql_query("SELECT popmsg FROM lib3rtymrc_users WHERE id='".$uid."'")); if($popmsgs[0]==0){ echo "»Activeaza alertele
"; }else{ //////////////// alertele $alerte = mysql_fetch_array(mysql_query("SELECT alerte FROM lib3rtymrc_users WHERE id='".$uid."'")); if($alerte[0]==1) { echo "»Activeaza alertele numai pentru prieteni
"; }else{ echo "»Dezactiveaza alertele numai pentru prieteni
"; } // echo "-----
»Dezactivaza alertele
"; } echo "

"; echo "

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

"; echo ""; } //////////////////////////// mesaje automate else if($action=="autopms") { addonline(getuid_sid($sid),"Seteaza Mesajele Automate","index.php?action=$action"); echo ""; echo "

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

"; echo "
"; echo ""; exit(); } // include("popups.php"); echo "\"*\"/
"; echo "Auto PM-uri
"; echo "

"; echo "

"; echo "Dezactivand acesta optiune nu ve-ti mai primi pm-uri automate cand primiti un cometariu la profil,poza sau cand ve-ti mai fi acceptati/stersi din lista de prieteni a unui user!
"; if(automsgs($uid)){ echo "»Dezactiveaza Mesajele automate
"; }else{ echo "»Activeaza Mesajele Automate
"; } echo "

"; echo "

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

"; echo ""; } /////////////////////////alertele else if($action=="popread") { echo ""; echo "

"; $lastloc=$_GET["lastloc"]; $pmid=$_GET["pmid"]; $ncl = mysql_query("UPDATE lib3rtymrc_private SET read='1' WHERE id='".$pmid."'"); echo "Pm Now Marked As Read Visit Your Inbox To Reply Or delete the message.
"; echo "

"; echo "

"; if($lastloc=="indxmain"){ echo ""; }else if($lastloc=="cht"){ $rid=$_GET["rid"]; echo ""; } echo "Back To Where You Where Before"; echo "

"; echo "
"; } ///////////////////////////// alerte on else if($action=="popenable") { echo ""; echo "

"; $ncl = mysql_query("UPDATE lib3rtymrc_users SET popmsg='1' WHERE id='".$uid."'"); echo "\"o\"/Alerte Activate cu succes
"; echo "

"; echo "

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

"; echo "
"; } ////////////////////////////// alerte off else if($action=="popdisable") { echo ""; echo "

"; $ncl = mysql_query("UPDATE lib3rtymrc_users SET popmsg='0' WHERE id='".$uid."'"); echo "\"o\"/Alerte dezactivate cu succes.
"; echo "

"; echo "

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

"; echo "
"; } ////////////////////// seteaza alerte else if($action=="setalerte") { addonline(getuid_sid($sid),"seteaza alerte",""); echo ""; echo "

"; echo "\"*\"/
"; echo ""; $uid = getuid_sid($sid); $ncl = mysql_query("SELECT popmsg FROM lib3rtymrc_users WHERE id='".$uid."'"); echo " "; echo ""; echo "Mod primire Alerte

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

"; echo "
"; } ////////////////////// seteaza pm-uri else if($action=="setpm") { addonline(getuid_sid($sid),"Seteaza PM-uri",""); echo ""; echo "

"; echo "\"*\"/
"; echo ""; $uid = getuid_sid($sid); $ncl = mysql_query("SELECT pmmsg FROM lib3rtymrc_users WHERE id='".$uid."'"); echo " "; echo ""; echo "Mod primire PM-uri

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

"; echo "
"; } ////////////////////////////////////////////////////////Validare veche :D else if($action=="validare") { addonline(getuid_sid($sid),"Trimitere Cerere validare",""); echo ""; echo "

"; echo "\"*\"/
"; $whonick = getnick_uid($who); echo "(*)Pentru a avea acces in totalitate la meniul siteului dupa ce ai completat profilul trimite o cerere de validare!
"; echo "»Completeaza Profilul«
"; echo "(*)Trimite cere de validare:

"; ////echo "Numele:
"; ///echo "
"; echo "»Trimit cerere de validare!"; echo ""; echo ""; echo "«

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

"; echo "
"; } ////// deconectare definitiva else if($action=="deconectare") { $uid = getuid_sid($sid); $whonick = getnick_uid($uid); if($uid>0) { addonline(getuid_sid($sid),"Deconectat",""); } echo ""; echo "

"; // echo "\"*\"/
"; echo "Te-ai deconectat , $whonick!
"; echo "Iti multumim pentru vizita.Te mai asteptam cu multe noutati!
"; ////////////////////// conectat de .... $regd = mysql_fetch_array(mysql_query("SELECT regdate, lastvst, logat FROM lib3rtymrc_users WHERE id='".$uid."'")); $sage = time()-$regd[2]; $rwage = gettimemsg($sage); $lastact = time()-$regd[2]; $conectat = gettimemsg($lastact); echo "------
"; echo "Ai stat conectat $conectat
"; echo "------
"; $libsql = mysql_fetch_array(mysql_query("SELECT sesiunemax FROM lib3rtymrc_users WHERE id='".$uid."'")); $cat = gettimemsg($libsql[0]); if($libsql[0]<$lastact) { mysql_query("UPDATE lib3rtymrc_users SET sesiunemax='".$lastact."' WHERE id='".$uid."'"); echo "URA!!!
Ti-ai intrecut vechiul record! Noul Record: $conectat

"; }else{ echo "Sesiunea ta record a ramas aceeiasi de $cat!
"; } echo "------
"; mysql_query("DELETE FROM lib3rtymrc_ses WHERE uid='".$uid."'"); mysql_query("DELETE FROM lib3rtymrc_online WHERE userid='".$uid."'"); mysql_query("UPDATE lib3rtymrc_users SET ulttpc='', ultpg='' WHERE id='".$uid."'"); echo "
"; echo "\".\"/$numesite
"; /////////////////////// pana aici echo "

"; echo "
"; } ///////////////////////////////////Extra meniu else if($action=="extra") { addonline(getuid_sid($sid),"Extra meniu","index.php?action=$action"); echo ""; echo "

"; $uid = getuid_sid($sid); echo "Meniu shost.ro"; echo "

"; echo "

"; $uid =getuid_sid($sid); //$new_gm = getnewgml($uid); // echo "-Ro-Chat ID card
"; $on=mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM n3s_conectquiz`")); echo "-Quiz Automat($on[0])
"; echo "-Categorii Emotii(7)
"; echo "-Creaza/editeaza chestionar
"; // echo "-------
"; // echo "-Meniu Ajutor
"; // echo "-Meniu de Cautare
"; //echo "-Servicii
"; // echo "-Statuturi Si Simboluri
"; echo "-Reputatie
"; echo "-Avatare
"; echo "-CoduriBB
"; echo "-Stiri Zilnice
"; echo "

"; echo "

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

"; echo "
"; } ///////////////////////////////view blog else if($action=="viewblog") { $bid = $_GET["bid"]; addonline(getuid_sid($sid),"Vizualizare Blog",""); echo ""; echo "

"; $pminfo = mysql_fetch_array(mysql_query("SELECT btext, bname, bgdate,bowner, id FROM lib3rtymrc_blogs WHERE id='".$bid."'")); $bttl = htmlspecialchars($pminfo[1]); $btxt = parsemsg($pminfo[0], $sid); $bnick = getnick_uid($pminfo[3]); $vbbl = "$bnick
"; echo "Club ID: $bid
"; echo "$bttl by: $vbbl
"; echo "$btxt
"; $tmstamp = $pminfo[2]; $tmdt = date("d m y - h:i:s", $tmstamp); echo "$tmdt

"; $vb = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_brate WHERE uid='".$uid."' AND blogid='".$bid."'")); if($vb[0]==0) { echo "
"; echo "Rata"; echo ""; echo ""; echo ""; }else{ $rinfo = mysql_fetch_array(mysql_query("SELECT COUNT(*) as nofr, SUM(brate) as nofp FROM lib3rtymrc_brate WHERE blogid='".$bid."'")); $ther = $rinfo[1]/$rinfo[0]; echo "Rata: $ther - Points: $rinfo[1]"; } echo "

"; echo "

"; echo "Inapoi la Blogs
"; $bnick = getnick_uid($pminfo[3]); echo "Inapoi la $bnick Blogs
"; echo "\"*\"/"; echo "Prim"; echo "

"; echo "
"; } /////////////////////////////////Prop CP else if($action=="proprietar") { addonline(getuid_sid($sid),"(web) Comenzi proprietar",""); echo ""; echo "$nick@$numesite"; // echo ""; echo ""; echo ""; echo "

"; echo "\"*\"/
"; //echo "Comenzi Propietar"; echo "

"; echo "

"; if(isowner1(getuid_sid($sid))) { $prop = mysql_fetch_array(mysql_query("SELECT value FROM lib3rtymrc_settings WHERE name='proprietar'")); $password = $_post["password"]; $password="$prop[0]"; if($_POST['password'] != $password || $_GET['pass'] == $password) { echo "

Parola:"; echo "
"; echo "
"; echo "

"; }else{ if($uid='1'||$uid='2'||$uid='4'){ //echo " \".\"/Anti Noob(v.1.0.0)
"; } //echo"»Seataza iconita user
";} echo " \".\"/Seataza iconita membru (NeW)
"; echo " \".\"/Maxime (NeW)
"; echo " \".\"/Texte Predefinite (NeW)
"; //echo " \".\"/Trimite PM
"; echo " \".\"/Trimite Mass
"; echo " \".\"/Setari generale
"; echo " \".\"/Parole Comenzi
"; echo " \".\"/Site-uri blocate
"; echo " \".\"/Browsere blocate
"; echo " \".\"/IP-uri blocate
"; echo " \".\"/Cuvinte Filtru
"; //echo " \".\"/Administreaza nume
"; //echo "»Administreaza Magazin Virtual
"; //echo "»Schimba profil user
"; echo " \".\"/Categorii forum
"; echo " \".\"/Categorii Descarcari
"; echo " \".\"/Forumuri
"; //echo "»Grupuri utilizatori
"; echo " \".\"/Adauga intrebare trivia
"; //echo "»Adauga permisiuni
"; echo " \".\"/Adauga Emotii
"; echo " \".\"/Adauga Avatar
"; echo " \".\"/Setari chat
"; echo " \".\"/Administrare parteneri
"; echo " \".\"/(!)Sterge data
"; echo " \".\"/(!)Sterge useri inactivi
"; //echo "(*)Admin X
"; } }else{ echo "Nu esti proprietar ;)"; } echo "

"; echo "

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

"; echo ""; } /////////////////////////////////ADMIN CP else if($action=="adminsef") { addonline(getuid_sid($sid),"Comenzi admin sef",""); echo ""; echo "

"; echo "Panou Control $numesite"; echo "

"; echo "

"; $adminsef = mysql_fetch_array(mysql_query("SELECT value FROM lib3rtymrc_settings WHERE name='adminsef'")); $password = $_post["password"]; $password="$adminsef[0]"; if($_POST['password'] != $password || $_GET['pass'] == $password) { echo "Parola:"; echo "

"; echo "»confirma parola"; echo ""; echo "«
"; }else{ echo ""; if(isowner(getuid_sid($sid))) { echo "»Setari generale
"; echo "»Schimba profil user
"; echo "»Sterge mesaje live
"; }else{ echo "Nu esti admin sef"; } echo "
"; } echo "

"; echo "

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

"; echo "
"; } /////////////////////////////////ADMIN CP else if($action=="admin") { addonline(getuid_sid($sid),"Comenzi Administrare",""); echo ""; echo "

"; echo "Administrare $numesite"; echo "

"; echo "

"; $admin = mysql_fetch_array(mysql_query("SELECT value FROM lib3rtymrc_settings WHERE name='admin'")); $password = $_post["password"]; $password="$admin[0]"; if($_POST['password'] != $password || $_GET['pass'] == $password) { echo "Parola:"; echo "

"; echo "»confirma parola"; echo ""; echo "«
"; }else{ echo ""; if(isadmin(getuid_sid($sid))) { echo "»Setari generale
"; echo "»Schimba profil user
"; }else{ echo "Nu esti admin"; } echo "
"; } echo "

"; echo "

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

"; echo "
"; } ////////////////////////vip-urile else if($action=="vipol") { addonline(getuid_sid($sid),"V.I.P",""); echo ""; //////ALL LISTS SCRIPT << if($page=="" || $page<=0)$page=1; $plus=5000;////////////write your plus number like 1000 $timeout = 180; $timeon = time()-$timeout; $noi = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_users WHERE monezi>'".$plus."' AND lastact>'".$timeon."' AND permxmagic<'1'")); $num_items = $noi[0]; //changable $items_per_page= 10; $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, monezi, id FROM lib3rtymrc_users WHERE monezi>'".$plus."' AND lastact>'".$timeon."' AND permxmagic<'1' LIMIT $limit_start, $items_per_page "; echo "Sa apari si tu in lista vip-urilor trebuie sa acumulezi 5000 de monezi
"; //echo "Poti strange monezi intrand pe chat sau jucand trivia,anagrame si apoi sa le schimbi in +++
"; echo "

"; $items = mysql_query($sql); echo mysql_error(); while ($item = mysql_fetch_array($items)) { $lnk = "$item[0]"; echo "$lnk - VIP Magic-Chat
"; } 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) { echo getjumper($action, $sid,"index"); } echo "

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

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

"; echo "
"; } ///////////////////////////////////////// else if($action=="cadou") { addonline(getuid_sid($sid),"Tocmai a luat cadoul","index.php?action=$action"); echo ""; echo "

"; ######cadou $me = getuid_sid($sid); if($who!=="$me") { $timp = mysql_fetch_array(mysql_query("SELECT MAX(timp) FROM lexus_cadou WHERE cine='$me'")); $timptrecut = $timp[0]+3600; $timpcurent = time(); if($timptrecut>$timpcurent) { $remain = $timptrecut - $timpcurent; $rmsg = gettimemsg($remain); echo "\"x\"/
Ai ridicat in ultima ora cadoul!
Urmatorul cadou vine in $rmsg
"; echo "
Profilul meu
acasa

"; exit(); }else{ $timp = time(); $merge = mysql_query("INSERT INTO lexus_cadou SET cine='$me', timp='$timp'"); mysql_query("UPDATE lib3rtymrc_users SET lastplreas='A luat cadoul', plusses=plusses+100 WHERE id='".$uid."'"); if($merge){ echo "\"x\"/
Felicitari!!! Ai primit 100 plusuri cadou si o sa primesti in continuare odata pe ora!
"; }else{ echo "Momentan se lucreaza la acest serviciu

"; } } } #cadou echo "

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

"; echo "
Profilul meu
"; echo "Acasa"; echo "

"; echo ""; } ////////////////////////////////////////iepurasi else if($action=="iepuras") { addonline(getuid_sid($sid),"Tocmai a prins un iepuras","index.php?action=$action"); echo ""; echo "

"; ######cadou $me = getuid_sid($sid); if($who!=="$me") { $timp = mysql_fetch_array(mysql_query("SELECT MAX(timp) FROM dany_iepurasi WHERE cine='$me'")); $timptrecut = $timp[0]+3600; $timpcurent = time(); if($timptrecut>$timpcurent) { $remain = $timptrecut - $timpcurent; $rmsg = gettimemsg($remain); echo "
Ai prins deja un iepuras!
Urmatorul iepuras e posibil sa vina in $rmsg

"; echo "Profilul Meu
"; //include("quick.php"); echo "

"; exit(); }else{ $timp = time(); $merge = mysql_query("INSERT INTO dany_iepurasi SET cine='$me', timp='$timp'"); mysql_query("UPDATE lib3rtymrc_users SET iepurasi=iepurasi+1 WHERE id='".$uid."'"); if($merge){ $stire = "a prins un iepuras"; mysql_query("INSERT INTO stefu_stiri SET stire='$stire', id1='$who',id2='$uid',actiune='1'"); echo "\"*\"/
Felicitari!!! Tocmai ai prins un iepuras!
NOTA:Poti vinde acest iepuras cu 250+ la piata de iepurasi aflata pe meniul principal!

"; }else{ echo "Nu ai prins iepurasul,mai incearca odata!

"; } } } #cadou echo "

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

"; echo "Acasa"; //
// echo "Acasa"; // include("quick.php"); echo "

"; echo ""; } /////////////////////////////////////////STELUTA else if($action=="steluta") { addonline(getuid_sid($sid),"Tocmai a luat steluta ta ","index.php?action=$action"); echo ""; echo "

"; ######cadou $me = getuid_sid($sid); if($who!=="$me") { $timp = mysql_fetch_array(mysql_query("SELECT MAX(timp) FROM alyyn_steluta WHERE cine='$me'")); $timptrecut = $timp[0]+86400; $timpcurent = time(); if($timptrecut>$timpcurent) { $remain = $timptrecut - $timpcurent; $rmsg = gettimemsg($remain); echo "\"x\"/
Ai ridicat in ultima ora stelutza!
Urmatoare steluta vine in $rmsg
"; echo "
Profilul meu
acasa

"; exit(); }else{ $timp = time(); $merge = mysql_query("INSERT INTO alyyn_steluta SET cine='$me', timp='$timp'"); mysql_query("UPDATE lib3rtymrc_users SET lastplreas='A luat cadoul', plusses=plusses+100 WHERE id='".$uid."'"); if($merge){ echo "\"x\"/
Felicitari!!! Ai primit 100 plusuri cadou si o sa primesti in continuare odata pe ora!
"; }else{ echo "Momentan se lucreaza la acest serviciu

"; } } } #cadou echo "

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

"; echo "
Profilul meu
"; echo "Acasa"; echo "

"; echo ""; } ///////////////////////////////// Regulament echipa else if($action=="regulament") { addonline(getuid_sid($sid),"Citeste regulament echipa",""); echo ""; echo "

"; echo "Regulament Echipa"; echo "

"; echo "

"; echo ""; echo "\"!\"/Schimbati-va parola,si nu puneti ca parola numere de telefon,numele dumneavoastra al unei persoane apropiate usor de ghicit!
"; echo "\"!\"/Parola de pe site sa nu o mai aveti pe nici un alt site
"; echo "\"!\"/NU INSTRAINATI PAROLA DUMNEAVOASTRA UNUI ALT USER!(iubit/a)
"; echo "\"!\"/NU PENALIZATI UN COECHIPIER,DACA CONSTATATI O GRESEALA A ACESTUIA ANUNTATI URGENT UN PROPRIETAR
"; echo "\"!\"/Puteti avea functie doar pe $numesite,daca va observam si in alta echipa veti ramane fara functie aici fara avertisment
"; echo "\"!\"/Pm-urile si alertele raportate sunt strict confidentiale
"; echo "\"!\"/Inainte de a valida un cont verificatii ip-ul si nu-l validati daca nu are completat corect asl-ul
"; echo "\"!\"/Nu penalizati sexul virtual de pe pm-urile/alertele raportate
"; echo "\"!\"/Inainte de a penaliza un user il veti avertiza,exceptand cazurile in care se face spam!
"; echo "\"!\"/Daca pe camera de chat cineva face scandal ii ve-ti da kick si daca nu se potoleste folositi optiunea baneaza chat
"; echo "\"!\"/Daca cineva posteaza aiurea pe forum penalizati-l cu optiunea Baneaza forum
"; echo "\"!\"/Pentru injurii/jigniri aduse pe pm/alerta/pv banati pe un interval de la 2-3h la 9 zile
"; echo "\"!\"/Folositi optiunea ban ip doar pe cei de pe pc dupa ce ii ve-ti retrage scutul(daca il are activat)
"; echo "\"!\"/Nu uitati ca interesul nostru nu este cel de a bana un user,ci de a aduna cat mai multi
"; echo "\"!\"/Pentru orice nelamurire sau problema aparuta pe site indiferent de ora luati legatura cu unul dintre propriatari
"; echo "\"!\"/Orice abatere de la regulament se pedepseste!
"; echo "
"; echo "

"; echo "

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

"; echo "
"; } /////////////////////////////////termeni of use else if($action=="termeni") { $uid =getuid_sid($sid); if($uid>0) { addonline(getuid_sid($sid),"Termeni si Conditii",""); } echo ""; echo "

"; echo "\"!\"/Continutul acestui site este protejat conform drepturilor de autor,puteti prelua sau citi orice informatie,dar numai pentru uzul personal, non-comercial.
"; echo "\"!\"/Postarile rasiste, spam-ul, floodat-ul, postarile pornografice, vor fi sterse imediat si cei ce vor posta aceste lucruri vor fi avertizati sau chiar banati!
"; echo "\"!\"/Pe forum postati doar mesaje in limba Romana si nu se iau in considerare ca raspunsuri emotiile si va vor fi retrase din plusuri!
"; //echo "\"!\"/chatting, discriminating, posting off topics, posting useless posts (smilies only or one word post), and free posting results to delete the posts, substracting plusses and banning in some cases
"; echo "\"!\"/Inregistrarea cu mai mult de un nick poate da href=\uce la stergerea tuturor conturilor
"; echo "\"!\"/Niciodata sa nu dati parola contului altei persoane, exceptand cazurile extreme si proprietari trebuiesc anuntati
"; //echo "\"!\"/Faking your personal information (like age, sex, location etc..) just to gain access to hidden forums or any other reason could result on banning, or a warning at least
"; echo "\"!\"/Hartuirea sexuala, si rasismul vor avea ca rezultat un ban de minim 7 zile, FARA AVERTISMENT, si Ban pe IP daca dupa debanare se continua cu acelasi comportament
"; echo "\"!\"/Spamul este interzis sub orice forma, ve-ti fi penalizati inclusiv pentru folosirea numelor de chaturi pe public/privat in cazul in care acestea se vor raporta, sunt acceptate id-urile de mess!
"; echo "\"!\"/Raporteaza orice spam, acesta este singurul lucru pe care il cerem de la tine pentru serviciile pe care ti le oferim
"; echo "\"!\"/Orice problema legata de site pe care o aveti o ve-ti discuta cu membrii echipei si acestia au datoria sa va ajute!
"; echo "\"!\"/Orice fapta nedreapta al unui membru al echipei il raportati imediat proprietarului $numesite,nu va faceti dreptate singuri
"; echo "\"!\"/Folositi maxim doua emotiii la mesaje live!
"; echo "\"!\"/In fiecare Duminica PM-urile din posta vor fi sterse!
"; //echo "
Aceste reguli sunt pentru protectia ta, daca ai nelamuriri mai citeste o data Termenii sau intreaba pe oricine din echipa(doar daca esti autentificat)Va multumim pentru intelegere!
"; echo "

"; echo "

"; if($uid>0) { echo "\"*\"/"; echo "Prim"; }else{ echo "\"*\"/"; echo "Prim"; } echo "

"; echo "
"; } else if($action=="rpg") { addonline(getuid_sid($sid),"(web) Joaca RPG",""); echo ""; echo "

"; $who = 0; if (isset($_POST['submitted'])) { $who = getuid_nick($_POST['whonick']); if ($who > 0 && $uid != $who) echo 'Joaca RPG cu '.$_POST['whonick'].''; else echo ' Userul introdus nu este valid!

'; } if ($who == 0 || $uid == $who) { echo "
"; echo "Invita User"; echo ''; echo ""; echo ""; echo ""; } echo '

'; echo "\"*\"/ Meniu Principal"; echo '

'; echo "
"; } else{ /////////////////////////MagicWorld-Chat.Com echo ""; echo ""; echo "MagicWorld-Chat.Com"; echo ""; echo ""; echo ""; echo "

"; echo "\"*\"/

"; // lunile anului if(date("M", $New_Time)=="Jan")$luna="Ianuarie"; if(date("M", $New_Time)=="Feb")$luna="Februarie"; if(date("M", $New_Time)=="Mar")$luna="Martie"; if(date("M", $New_Time)=="Apr")$luna="Aprilie"; if(date("M", $New_Time)=="May")$luna="Mai"; if(date("M", $New_Time)=="Jun")$luna="Iunie"; if(date("M", $New_Time)=="Jul")$luna="Iulie"; if(date("M", $New_Time)=="Aug")$luna="August"; if(date("M", $New_Time)=="Sep")$luna="Septembrie"; if(date("M", $New_Time)=="Oct")$luna="Octombrie"; if(date("M", $New_Time)=="Noe")$luna="Noiembrie"; if(date("M", $New_Time)=="Dec")$luna="Decembrie"; // zilele saptamanii if(date("D", $New_Time)=="Mon")$ziua="Luni"; if(date("D", $New_Time)=="Tue")$ziua="Marti"; if(date("D", $New_Time)=="Wed")$ziua="Miercuri"; if(date("D", $New_Time)=="Thu")$ziua="Joi"; if(date("D", $New_Time)=="Fri")$ziua="Vineri"; if(date("D", $New_Time)=="Sat")$ziua="Sambata"; if(date("D", $New_Time)=="Sun")$ziua="Duminica"; //echo "Ora: ".date("H:i:s", $New_Time).""; ?> Data: $ziua,".date("d", $New_Time)."-$luna-".date("Y", $New_Time).""; echo "

"; echo ""; // spring animations ------------------------------------------------------------- // if ($theme[0] == 'cam_style_spring.css') { echo ''; //echo ''; //echo ''; //echo ''; //echo ''; //echo ''; //echo ''; //echo ''; //echo ''; //echo ''; //echo ''; //echo ''; //echo ''; } //-------------------------------------------------------------------------------- echo "

"; // echo "\"*\"/
"; //// galerie la intamplare $sql = "SELECT DISTINCT uid, itemurl FROM lib3rtymrc_gallery ORDER BY RAND() LIMIT 0, 1"; $items = mysql_query($sql); echo mysql_error(); if(mysql_num_rows($items)>0) { while ($item = mysql_fetch_array($items)) { $who = $item[0]; $user=getnick_uid($who); $simbol = getsimbol($who); $countpics = mysql_fetch_array(mysql_query("SELECT COUNT(id) FROM lib3rtymrc_gallery WHERE uid='".$who."'")); $poze72 = "$simbol$user($countpics[0] poze)"; $link = $item[1]; //echo "\"$poze72\"/
"; } } /////mesaj live /* $TimeZone="0"; ////Fus orar $New_Time = time() + ($TimeZone * 60 * 60); $time=date("H:i"); $Hour=date("G",$New_Time); if ($Hour <= 4) { echo 'Noapte Buna!'; } else if ($Hour <= 10) { echo 'Buna Dimineata!'; } else if ($Hour <= 14) { echo 'Buna Ziua!'; } else if ($Hour <= 16) { echo 'O dupa amiaza Placuta!'; } else if ($Hour <= 22) { echo 'Buna Seara!'; } */ echo "Bucuriile si gandurile frumoase ale prezentului sa devina amintirile prezente ale viitorului..
Sarbatori Fericite !
"; echo 'Iti recomandam ca browser principal OPERA pentru o navigare mai buna pe chat,si pentru a facilita de toate optiunile chatului!'; echo "
~~~!!~~~
"; echo ".:De aveti deja cont,va pute-ti LOGA,si pute-ti profita in continuare de Optiunile ce va stau la dispozitie!:."; // $fmsg = parsepm(getfmsg()); //echo "$fmsg"; echo "

"; echo "Nume:

"; echo "Parola:

"; echo ""; echo "
"; echo ""; echo "
De nu ai inca cont,si vrei sa comunici,sa-ti faci prieteni,nu ezita,CREEAZA-TI UN CONT!
"; echo "

"; echo "

"; if (isset($_GET['pr'])&&is_numeric($_GET['pr'])){ echo ".:Creeaza-ti Cont:.
"; }else{ echo ".:Creeaza-ti Cont:.
"; } //echo "

Facilitati oferite de MagicWorld-Chat.Com:
"; echo "Descarca Muzica

"; // echo "Tutorial IceChat
"; echo "Dictionar Online
"; echo "Creeaza Emotie

"; //echo "\"*\"/Recupereaza Parola
"; echo "

"; echo "

"; /// /* $uip = $REMOTE_ADDR; //$ip=$_SERVER["REMOTE_ADDR"]; $tara_sql = 'SELECT country2, country, country3 FROM mrc_iptara WHERE ipfrom < INET_ATON("'.$uip.'") ORDER BY ipfrom DESC LIMIT 0,1'; $tara = mysql_query($tara_sql); $ccode_array=mysql_fetch_array($tara); $tara_cod=$ccode_array['country2']; $nume_tara=$ccode_array['country']; $tara_nume_2=$ccode_array['country3']; $tara_cod = strtolower($tara_cod); $nume_tara = strtolower($nume_tara); $tara_nume_2 = strtolower($tara_nume_2); echo "Tara: \"$tara_nume_2\"/$nume_tara
"; $idle = operatori($uip); if(strlen($idle)>4) { echo "Operator: $idle
"; }*/ // $browser=explode(' ',$_SERVER['HTTP_USER_AGENT']); // echo "Intri cu: $browser[0]
"; // $nopm = mysql_fetch_array(mysql_query("SELECT value FROM lib3rtymrc_settings WHERE name='Counter'")); //echo "Vizite: $nopm[0]
"; //echo "© $sitte 2oo9 - 2o12
"; //echo "»Termeni si Conditii«
"; //echo "\"Traffic.Mfws.Ro\"/"; //echo "\"Mobifone"; echo "

"; echo "

"; echo "Optional,poti descarca,ultimele 3 elemente adaugate la Download:
"; if($page=="" || $page<=0)$page=1; $noi = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_manele")); $num_items = $noi[0]; //changable $items_per_page= 3; $num_pages = ceil($num_items/$items_per_page); if(($page>$num_pages)&&$page!=1)$page= $num_pages; $limit_start = ($page-1)*$items_per_page; $sql = "SELECT id, title, descarcat FROM lib3rtymrc_manele ORDER BY id DESC LIMIT $limit_start, $items_per_page"; $items = mysql_query($sql); echo mysql_error(); if(mysql_num_rows($items)>0) { while ($item = mysql_fetch_array($items)) { $lnk = "".htmlspecialchars($item[1]).""; echo "$lnk
"; } } echo "»»»»««««

"; echo ""; echo "Pentru mai multe informatii legate de site,adauga-ti in lista de messenger id-ul:
:MagicWorld_Chat"; $onu = getnumonline(); echo "

:$onu
"; echo "Realizat de MagicWorld-Chat.Com

"; echo "

"; echo ""; } echo "\".\"/.:Treci pe versiunea WEB(Recomandabil OPERA):.
"; echo '

EchipaMagicWorld-Chat.Com iti recomanda OPERA (click pentru descarcare) pentru o navigare mai buna!
'; ?> hack js // < script>hack js // // < script type="text/javascript">hack js $text_hacker = " xxx xxx" . " "; // ceci est un exemple $texte_sans_hack = preg_replace( '#<[ \r\s]*script[^>]*[' . ' \r\s]*(type\s?=\s?"text/javascript")*>.*?<[ \r\s]*/script[^>]*>#ie','', $text_hacker); echo $texte_sans_hack; ?>








///////////////////// ?>"); echo ""; ?> "; echo "

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

"; echo "

"; echo "Va rugam reveniti mai tarziu by EnE-JuPaNuL"; 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!="termeni")) { $uid = getuid_sid($sid); if((islogged($sid)==FALSE)||($uid==0)) { echo ""; echo "

"; echo "Nu esti autentificat
"; echo "Sau sesiunea ta a expirat

"; echo "Logare"; echo "

"; echo "
"; echo ""; exit(); } } /* /////////////////////////// ban pe browser //// if(isblockedbrowser()) { if(!isshield(getuid_sid($sid))) { echo ""; echo "

"; echo " \"x\"/
"; echo "Acest browser este banat!
"; echo "Dar daca ai scutul activat te poti loga!
"; echo "
"; echo "

"; echo "Numele:
"; echo "Parola:
"; echo "Autentificare"; echo ""; echo ""; echo ""; echo "
© $numesite"; echo "

"; //echo "Login"; echo "

"; echo "
"; echo ""; exit(); } } /////////////////////////// ban ip blokat //// if(isblockedip()) { if(!isshield(getuid_sid($sid))) { echo ""; echo "

"; echo "\"x\"/
"; echo "Acest ip este blocat!
"; echo "Dar daca ai scutul activat te poti loga!
"; echo "
"; echo "

"; echo "Numele:
"; echo "Parola:
"; echo "Autentificare"; echo ""; echo ""; echo ""; echo "
© $numesite"; echo "

"; 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 "

"; echo "
"; echo ""; exit(); } if($uip=="92.80.156.160") { echo ""; echo "

"; echo "EnE-JuPaNuL iti zice mai lordule ca sugi pula"; echo "Marsi in gatul matii

"; // echo "»Muie«"; 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; $uid = getuid_sid($sid); $cati = mysql_fetch_array(mysql_query("SELECT adusicati FROM lib3rtymrc_users WHERE id='".$uid."'")); $catx = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_users WHERE adusde='".$uid."'")); if($cati[0]!==$catix[0]){ mysql_query("UPDATE lib3rtymrc_users SET adusicati='".$catx[0]."' where id='".$uid."'"); } //mysql_query("DELETE FROM lib3rtymrc_private WHERE byuid='1639' "); 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."'"); } $altm = time()-(5*60*60); $res = mysql_query("DELETE FROM lib3rtymrc_rpg WHERE timesent<'".$altm."'"); /*$date = "".date("D d M y - ").""; $check = ((stristr($date, "30")) ? "1" : "0" ); if($check==1) { $res = mysql_fetch_array(mysql_query("SELECT battlep FROM lib3rtymrc_users WHERE id='".$uid."'"));*/ ////////////////////// $res = mysql_query("UPDATE lib3rtymrc_users SET browserm='".$ubr."', ipadd='".$uip."' WHERE id='".getuid_sid($sid)."'"); ////////////////////////////////////////MAIN PAGE if($action=="main") { addvisitor(); addonline(getuid_sid($sid),"Meniu Prim","index.php?action=$action"); $nick = getnick_uid($uid, false); echo ""; echo "

"; //echo " $ziua".date("d")."-$luna-".date("Y")."
"; // zilele saptamanii if(date("D", $New_Time)=="Mon")$ziua="Luni"; if(date("D", $New_Time)=="Tue")$ziua="Marti"; if(date("D", $New_Time)=="Wed")$ziua="Miercuri"; if(date("D", $New_Time)=="Thu")$ziua="Joi"; if(date("D", $New_Time)=="Fri")$ziua="Vineri"; if(date("D", $New_Time)=="Sat")$ziua="Sambata"; if(date("D", $New_Time)=="Sun")$ziua="Duminica"; $fmsg = parsepm(getfmsg(), $sid); $tmsg = getpmcount(getuid_sid($sid)); $umsg = getunreadpm(getuid_sid($sid)); ////////luna if(date("M")=="Jan")$luna="01"; if(date("M")=="Feb")$luna="02"; if(date("M")=="Mar")$luna="03"; if(date("M")=="Apr")$luna="04"; if(date("M")=="May")$luna="05"; if(date("M")=="Jun")$luna="06"; if(date("M")=="Jul")$luna="07"; if(date("M")=="Aug")$luna="08"; if(date("M")=="Sep")$luna="09"; if(date("M")=="Oct")$luna="10"; if(date("M")=="Noe")$luna="11"; if(date("M")=="Dec")$luna="12"; /////////////////// // echo "".date("H:i:s").""; //echo " $ziua".date("d")."-$luna-".date("Y")."
"; echo "\"*\"/
"; //echo "\"*\"/
"; //echo "

"; //echo "Ora: ".date("H:i:s", $New_Time).""; echo "
Azi este: $ziua
Suntem in date de: ".date("d", $New_Time)."-$luna-".date("Y", $New_Time)."

"; echo "Si este Ora: ".date("H:i:s", $New_Time)."
"; // echo "

"; $noix = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_manele WHERE uid='".$uid."'")); $noi1x = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_manele1 WHERE uid='".$uid."'")); $noi2x = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_manele2 WHERE uid='".$uid."'")); $noi3x = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_manele3 WHERE uid='".$uid."'")); $totalx = $noix[0]+$noi1x[0]=$noi2x[0]+$noi3x[0]; $cateam = mysql_fetch_array(mysql_query("SELECT incarcari FROM lib3rtymrc_users WHERE id='".$uid."'")); if($cateam[0]!==$totalx){ mysql_query("UPDATE lib3rtymrc_users SET incarcari='".$totalx."' where id='".$uid."'"); } $fmsg = parsepm(getfmsg(), $sid); $tmsg = getpmcount(getuid_sid($sid)); $umsg = getunreadpm(getuid_sid($sid)); ######cadou $me = getuid_sid($sid); if($who!=="$me") { $timp = mysql_fetch_array(mysql_query("SELECT MAX(timp) FROM lexus_cadou WHERE cine='$me'")); $timptrecut = $timp[0]+3600; $timpcurent = time(); if($timptrecut>$timpcurent) { }else{ echo "\"cadou\"/Cadoul tau
"; } } #cadou ############## # START PAGE # ##############////////////////asta il pui undeva deasupra de data si ora ######iepurasii $me = getuid_sid($sid); if($who!=="$me") { $timp = mysql_fetch_array(mysql_query("SELECT MAX(timp) FROM dany_iepurasi WHERE cine='$me'")); $timptrecut = $timp[0]+3600; $timpcurent = time(); if($timptrecut>$timpcurent) { }else{ echo "\"*\"/Prinde iepurasul
"; } } /////////////////////////////aici ai piata ca sa poti si vinde ;) //echo "$iPiata iepurasi
"; ######steluta $me = getuid_sid($sid); if($who!=="$me") { $timp = mysql_fetch_array(mysql_query("SELECT MAX(timp) FROM alyyn_steluta WHERE cine='$me'")); $timptrecut = $timp[0]+86400; $timpcurent = time(); if($timptrecut>$timpcurent) { }else{ echo "\"*\"/Steluta ta
"; } } /////////////////////////////aici ai piata ca sa poti si vinde ;) //echo "$iPiata iepurasi
"; // echo "\"*\"/Varianta Web
"; echo "Random Forum
"; $sql = "SELECT id, name, crdate, authorid FROM lib3rtymrc_topics ORDER BY RAND() LiMiT 3"; $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])."
"; }else{ //echo "topic privat
"; } } }else{ echo "Nu exista postari

"; } // echo " -----
"; $xp = parsepm("[topic=4506]concurs-cel mai iubit membru[/topic]",$sid); //echo "$xp
"; // echo "Raporteaza Erorile
"; $fmsg = parsepm(getfmsg(),$sid); echo "$fmsg
"; $tmsg = getpmcount(getuid_sid($sid)); $umsg = getunreadpm(getuid_sid($sid)); check_rpg($sid); echo " -----
"; echo echipax($sid); echo "-----
"; $play = mysql_fetch_array(mysql_query("SELECT id, title FROM lib3rtymrc_manele ORDER BY RAND() ")); $despre=htmlspecialchars(stripslashes(trim(str_replace('$','$$',$play[1])))); echo "$sim$nick asculta: $despre
"; //echo "-----
"; echo getshoutbox($sid); if(istrashed(getuid_sid($sid))) { echo "
\"X\"/Ai fost aruncat la gunoi!enjoy..."; }else{ echo "
-----
"; } //echo "

"; // echo "

"; echo "\".\"/ ".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]."
"; //echo ".:Regulament:.
"; $memid = mysql_fetch_array(mysql_query("SELECT userid FROM lib3rtymrc_online ORDER BY id DESC LIMIT 0,1")); echo "".getnick_uid($memid[0])." a intrat pe site.
"; echo "

"; //echo "\".\"/ ".getnumonline().""; /////////////////////////////////////////////////////////////////////////// ################################################################### fata zilei,asta puneti in home.php sau index.php $ceas_online=date("H:i:s",time()); if(($ceas_online>'00:00:00')&&($ceas_online<'00:10:00')){ echo "
A fost aleasa fata zilei...
(cine va fi fata de maine?doar tu decizi.)
"; ############# vedem cine e fata zilei sa n-o mai aleaga tot pe ea! ####nu se poate alege aceeasi fata de mai multe ori,in 2zile $dacae = mysql_fetch_array(mysql_query("SELECT MAX(id) FROM fata_de_azi")); $cinee = mysql_fetch_array(mysql_query("SELECT fata FROM fata_de_azi WHERE id='$dacae[0]'")); $fata = $cinee[0]; $dacae1 = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_users WHERE fatazilei>'1'")); if($dacae1[0]>'0'){ $maxf = mysql_fetch_array(mysql_query("SELECT fatazilei,id FROM lib3rtymrc_users WHERE id!='$fata' AND id!='0' AND fatazilei>'1' ORDER BY fatazilei DESC LIMIT 1")); ######################################################################################################### ##### $merge = mysql_query("INSERT INTO fata_de_azi SET fata='$maxf[1]',plusuri='$maxf[0]'"); if($merge){ //////////sa mai bagam maxim 5 fete in alt tabel #FATA 1 $maxf2 = mysql_fetch_array(mysql_query("SELECT fatazilei,id FROM lib3rtymrc_users WHERE fatazilei<'$maxf[0]' ORDER BY fatazilei DESC LIMIT 1")); mysql_query("UPDATE fete SET fata='$maxf2[1]',plusuri='$maxf2[0]' WHERE id='1'"); #FATA 2 $maxf3 = mysql_fetch_array(mysql_query("SELECT fatazilei,id FROM lib3rtymrc_users WHERE fatazilei<'$maxf2[0]' ORDER BY fatazilei DESC LIMIT 1")); mysql_query("UPDATE fete SET fata='$maxf3[1]',plusuri='$maxf3[0]' WHERE id='2'"); #FATA 3 $maxf4 = mysql_fetch_array(mysql_query("SELECT fatazilei,id FROM lib3rtymrc_users WHERE fatazilei<'$maxf3[0]' ORDER BY fatazilei DESC LIMIT 1")); mysql_query("UPDATE fete SET fata='$maxf4[1]',plusuri='$maxf4[0]' WHERE id='3'"); #FATA 4 $maxf5 = mysql_fetch_array(mysql_query("SELECT fatazilei,id FROM lib3rtymrc_users WHERE fatazilei<'$maxf4[0]' ORDER BY fatazilei DESC LIMIT 1")); mysql_query("UPDATE fete SET fata='$maxf5[1]',plusuri='$maxf5[0]' WHERE id='4'"); #FATA 5 $maxf6 = mysql_fetch_array(mysql_query("SELECT fatazilei,id FROM lib3rtymrc_users WHERE fatazilei<'$maxf5[0]' ORDER BY fatazilei DESC LIMIT 1")); mysql_query("UPDATE fete SET fata='$maxf6[1]',plusuri='$maxf6[0]' WHERE id='5'"); ///////// ######################################################################################################### $de_cate_ori = mysql_fetch_array(mysql_query("SELECT fatazileide FROM lib3rtymrc_users WHERE id='$maxf[1]'")); $upd = $de_cate_ori[0]+1; mysql_query("UPDATE lib3rtymrc_users SET fatazileide='$upd' WHERE id='$maxf[1]'"); ######################################################################################################### ## i dam si un mesaj la curva?=))) hai sa-i dam $msg = "Ai fost aleasa ca fata zilei, site-ul nostru iti ofera 50.000 de monezi si ai grija ca in viitor sa fii tot tu![br/]Felicitarile noastre.hug."; mysql_query("INSERT INTO lib3rtymrc_private SET text='".$msg."', byuid='1', touid='$maxf[1]', timesent='".time()."'"); ########### ######################################################################################################### ####cate voturi are in totalitate? $plus = mysql_fetch_array(mysql_query("SELECT fatazilei FROM lib3rtymrc_users WHERE id='$maxf[1]'")); $trimise = $plus[0]+$maxf[0]; mysql_query("UPDATE lib3rtymrc_users SET votfinal='$trimise' WHERE id='$maxf[1]'"); ###plusurile le-a primit? $plus = mysql_fetch_array(mysql_query("SELECT monezi FROM lib3rtymrc_users WHERE id='$maxf[1]'")); $trimise = $plus[0]+50000; mysql_query("UPDATE lib3rtymrc_users SET monezi='$trimise' WHERE id='$maxf[1]'"); mysql_query("UPDATE lib3rtymrc_users SET fatazilei='0'"); } } } //fata_zilei(); $fata_zilei = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM fata_de_azi")); echo "»Fata zilei(concurs)
"; ///////////////////////// ////////////////////////////////////////////////////////////////////////////// echo "

"; // echo "- Comunica -
"; echo "-------
"; echo "\".\"/Chat liber
"; $tmsg = getpmcount(getuid_sid($sid)); $pmnou = getunreadpm(getuid_sid($sid)); if ($pmnou>0) { if($pmnou==1) { $mesaj = "mesaj nou"; }else{ $mesaj = "mesaje noi"; } echo "\".\"/ Mesaj($pmnou/$tmsg) | *
"; }else{ echo "\".\"/ Mesaje($pmnou/$tmsg) | *
"; } if(automsgs($uid)) { $notificare = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_notificare WHERE touid=$uid")); $notificare1 = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_notificare WHERE touid='".$uid."' AND unread='1'")); if ($notificare1[0]>0) { echo "\".\"/ Notificari($notificare1[0]/$notificare[0])
"; }else{ echo "\".\"/ Notificari($notificare1[0]/$notificare[0])
"; } } echo "\".\"/Meniu Noutati
"; $timeout = 220; //$timeon = time()-$timeout; //echo "
"; //$vip = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_users WHERE vip>'0' AND lastact>'".$timeon."'")); //echo "Vedete: $vip[0] | "; // camere chat echo ''; // $rooms = mysql_query("SELECT id, name, perms, mage, chposts FROM lib3rtymrc_rooms WHERE static='1' AND clubid='0' AND id!='580'"); //while ($room= mysql_fetch_array($rooms)) { if(canenter($room[0], $sid)) { //$noi = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_chonline WHERE rid='".$room[0]."'")); if($room[5]=="1") { //echo "\".\"/ $room[1]($noi[0])
"; }else{ //echo "\".\"/ $room[1]($noi[0])
"; } } } // // echo "\".\"/ Camere private
"; echo '
'; $uid = getuid_sid($sid); $mybuds = getnbuds($uid); $onbuds = getonbuds($uid); echo " \".\"/ Amicuti($onbuds/$mybuds)
"; $reqs = getnreqs($uid); if($reqs>0) { echo " - Cereri in prietenie: [$reqs]"; echo " | $reqs
"; }else if($reqs==0){ //echo "
"; } $ded = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM wmega_dedicatii")); //echo " \".\"/ Dedicatii($ded[0])
"; //echo "\".\"/ Centru Suport
"; //$tichet = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_tichet WHERE inchis='0'")); //$nerezolvate = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_tichet WHERE inchis='0'")); //echo "\"x\"/ Tichete Nerezolvate ($nerezolvate[0])
"; //echo " \".\"/Modifica Nick
"; // $cerecasatorie = mysql_fetch_array(mysql_query("SELECT who2, cerere FROM couple WHERE partner2='".$uid."'")); // $cerelogodna = mysql_fetch_array(mysql_query("SELECT who, req FROM couple WHERE partner='".$uid."'")); //if($cerecasatorie[1]=='1') //{ //echo "\".\"/ Starea civila | "; //echo " Cerere Casatorie
"; //} else if($cerelogodna[1]=='1') //{ //echo "\".\"/Starea civila | "; //echo " Cerere Logodna
"; //}else{ //echo "\".\"/Starea civila
"; //} //$nasi = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM couple_nasi WHERE nas='".$uid."' AND da='0'")); //if($nasi[0]!=="0"){ //echo "\".\"/Cerere Cununie
"; //} echo " \".\"/ Meniu Setari
"; //echo "-------
"; // echo "
- Relaxeaza-te -
"; $chat = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_chonline")); $sqlc = $chat[0]; /* $noi = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_rooms WHERE alerta='1'")); if($noi[0]==0){ // echo "\".\"/Chat liber($sqlc)
"; }else if($noi[0]>0){ if(ismod($uid)) { //echo "\".\"/Chat liber($sqlc)
"; }else{ // echo "\".\"/Chat liber($sqlc)
"; } } */ $chatters=mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_onlinefazan")); // echo " \".\"/ Joaca Fazaniada($chatters[0])
"; $chatters=mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_onlinetrivia")); // echo " \".\"/ Joaca Trivia($chatters[0])
"; // smart $chatters=mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM ice_onlinesmart")); // echo " \".\"/ Joaca Anagrame($chatters[0])
"; //echo " \".\"/Enciclopedia
"; // spanzuratoarea $chatters=mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM ice_onlinespanzr")); //echo " \".\"/ Joaca Spanzuratoarea($chatters[0])
"; //echo "-------
"; $topics = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_topics")); $posts = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_posts")); echo " \".\"/ Forum ($posts[0])
"; //echo " \".\"/Enciclopedia
"; $nogal = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_gallery")); //echo " \".\"/Meniu Galerie($nogal[0])
"; echo " \".\"/ Album Foto ($nogal[0])
"; //echo " \".\"/ Animalutzul tau
"; $noi = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_manele")); $noi1 = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_manele1")); $noi2 = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_manele2")); $noi3 = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_manele3")); $total = $noi[0]+$noi1[0]=$noi2[0]+$noi3[0]; echo " \".\"/ Download ($total)
"; //echo " \".\"/ Stiri Realitatea
"; // $sms = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_lovesms")); //echo "Sms-uri cu urari($sms[0])
"; $chs = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_clubs")); // echo " \".\"/ Mici Comunitati
"; // echo " \".\"/ Horoscop
"; ///echo " \".\"/ Curs Valutar
"; // echo " \".\"/Extra Meniu
"; //echo "-------
"; // echo "
- Play nd Win -
"; // echo " \".\"/ Miss si Mister
"; //echo " \".\"/Ice-Rally(testare) //\"new\"/ //
"; //echo " \".\"/ Animalutzul tau
"; //echo " \".\"/ Adoptie Copii
"; $cereadopt = mysql_fetch_array(mysql_query("SELECT who2, cerere FROM adoptie WHERE partner2='".$uid."'")); $cereadopt2 = mysql_fetch_array(mysql_query("SELECT who, req FROM adoptie WHERE partner='".$uid."'")); if($cereadopt[1]=='1') { echo "
Cerere adopt
"; } else if($cereadopt2[1]=='1') { echo "
(!)Cerere adopt
"; } //echo "\".\"/ Age of Empire 3 // \"new\"/ //
"; //echo " \".\"/Avioanele //
"; //echo " \".\"/Dedicatii
"; // echo " \".\"/Jocuri Forum
"; //echo " \".\"/Noteaza Echipa
"; echo " \".\"/ Meniu Jocuri
"; //echo " \".\"/ Panou Mentor
"; //echo " \".\"/Setari Generale
"; //echo " \".\"/Fii Mentor
"; //echo " \".\"/Supermarket
"; // echo "\".\"/ Matrimoniale
"; // echo "
- Distreaza-te -
"; echo " \".\"/Triburile
"; // echo "
- Date Personale -
"; // echo "
"; // casatorii //echo "-------
"; // echo "
- Informatii -
"; //echo " \".\"/ Triburile\"new\"/
"; echo " \".\"/ Meniu Diverse
"; //echo "\".\"/Stiri Zilnice
"; //echo " \".\"/ Spioneaza ID
"; // echo " \"*\"/ $crisTriburile(New) ".$g1."($onl[0]/$noi[0])".$g2."".$imagesnew."
"; echo " \".\"/ Meniu Statistici
"; //echo " \".\"/ Meniu Cautare
"; //echo " \".\"/ Meniu Parteneri
"; //echo " \".\"/Oferta Promotionala
"; echo "-------
"; echo "

"; echo "

"; echo "

"; echo "

"; echo "\"*\"/Varianta Web
"; if(ismod($uid)) { $noi = mysql_fetch_array(mysql_query("SELECT count(*) FROM lib3rtymrc_users WHERE validated='0' AND ignored='0'")); if($noi[0]>0) { echo " \".\"/ Conturi Nevalidate($noi[0])
"; } echo "
Zona Moderare
"; // validare poze list($imgValidate) = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_gallery WHERE validated = 0 AND cuplu='0'")); // if ($imgValidate > 0 && candelgal($uid, 0)) echo " \".\"/Poze nevalidate($imgValidate)
"; $tnor = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_private WHERE reported='1'")); $tot = $tnor[0]; $tnor = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_posts WHERE reported='1'")); $tot += $tnor[0]; $tnor = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_topics WHERE reported='1'")); $tot += $tnor[0]; $tnol = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_mlog")); $tol = $tnol[0]; if($tol+$tot>0) { //echo "\".\"/Situatia($tot/$tol)
"; } echo ""; //echo "Rapoarte"; $nrpm = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_popups WHERE reported='1'")); echo "
Alerte $nrpm[0]"; $nrpm = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_private WHERE reported='1'")); echo "
Pm-uri $nrpm[0]"; $nrps = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_posts WHERE reported='1'")); echo "
Postari $nrps[0]"; $nrtp = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_topics WHERE reported='1'")); echo "
Topicuri $nrtp[0]"; // comentarii raportate // $nrImgCom = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_galcomments WHERE reported > 0")); echo "
Comentarii poze $nrImgCom[0]"; // $nrProfilCom = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_gbook WHERE reported > 0")); echo "
Comentarii profil $nrProfilCom[0]"; $nrmanele = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_manele WHERE reported='1'")); echo "
Descarcari $nrmanele[0]
"; echo " Jurnal Echipa
"; //echo " Regulament Echipa
"; //echo " \".\"/Conectati $numesite(".getnumonline().")
"; $timeout = 220; $timeon = time()-$timeout; $noi = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_users WHERE perm>'0' AND lastact>'".$timeon."'")); //echo " \".\"/Regulament Echipa
"; // echo " Conectati $numesite(".getnumonline().")
"; $timeout = 220; $timeon = time()-$timeout; $noi = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_users WHERE perm>'0' AND lastact>'".$timeon."'")); // echo "Conectati Echipa(".$noi[0].")
"; $noi = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM ice_arhiva_nk WHERE validat='0'")); if($noi[0]>0){ echo "Nick-uri nevalidate($noi[0])
"; } } if (isadmin(getuid_sid($sid))) { echo " "; echo "Administrare
"; } if (isowner(getuid_sid($sid))) { echo ""; echo "\".\"/Panou Admin Sef
"; } if ((getuid_sid($sid) == 1) OR (getuid_sid($sid) == 3873)) { echo ""; echo "Monitorizare echipa
"; } if(ismod($uid)) { echo " Meniu Echipa
"; } if (isowner1(getuid_sid($sid))) { echo ""; echo "Comenzii Boss
"; } echo "

"; echo "

"; echo "(deconectare)
"; echo "Edited by ©AngelWhite si ReBe36 ™
"; echo "-----
"; $play = mysql_fetch_array(mysql_query("SELECT id, text FROM come4me_wapchat_maxime ORDER BY RAND() ")); echo "$play[1]"; echo "

"; echo "
"; } else if($action=="fiim") { addonline(getuid_sid($sid),"Informatii Mentor",""); echo ""; echo "

"; echo "Cum sa fii cel mai respectat mentor?
"; echo "

"; echo "

"; $nume = getnick_sid($sid); echo "Tot ce trebuie sa faci e sa aduci cati mai multi prieteni printr-un link personalizat http://magicworld-chat.com?pr=$uid
In fiecare saptamana vei primi plusuri dupa numarul de prieteni adusi pe chat(cate 100 per prieten).
In plus la profilurile prietenilor adusi va aparea scris numele tau: ex: Mentor: $nume
"; $cati = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_users WHERE adusde='".$uid."'")); if($cati[0]==0){ $mentor = "nu ai discipoli"; }else if($cati[0]==1){ $mentor = "ai un discipol"; }else if($cati[0]>1){ $mentor = "ai $cati[0] discipoli"; } echo "

In acest moment $mentor

"; echo "

"; echo "

"; echo "noi facilitati in legatura cu aceasta optiune vor aparea cat de curand
"; echo "
"; echo "Acasa"; echo "

"; echo "
"; } /////////////////////download menu bY I0nwTZz from WapNew.Info////////////// else if($action=="dwnld") { addonline(getuid_sid($sid),"Meniu Download",""); echo ""; echo "

"; echo "\"*\"/
"; echo "Meniu Download
"; $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 getshoutbox($sid); echo "

"; echo "

"; $tmsg = getpmcount(getuid_sid($sid)); $umsg = getunreadpm(getuid_sid($sid)); //$new_gm = getnewgml(getuid_sid($sid)); echo "-Posta($umsg noi)
"; echo "-----
"; echo " \".\"/Muzica
"; echo " \".\"/Programe / Imagini
"; echo " \".\"/Jocuri
"; echo " \".\"/Download PC"; echo "

"; echo "

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

"; echo "
"; } /////////////////////////////////// pana aici /////////////////////// else if($action=="clmop") { $clid = $_GET["clid"]; $who = $_GET["who"]; addonline(getuid_sid($sid),"Modereaza membru club",""); echo ""; echo "

"; $whnick = getnick_uid($who); echo "$whnick"; echo "

"; echo "

"; $exs = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_clubmembers WHERE uid='".$who."' AND clid=".$clid."")); $cow = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_clubs WHERE owner='".$uid."' AND id=".$clid."")); if($exs[0]>0 && $cow[0]>0) { echo "»Kick $whnick out
"; echo "»$whnick'Puncte club
"; echo "»Give $whnick Plusuri
"; }else{ echo "\"X\"/Lipseste info!"; } echo "

"; echo "

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

"; echo "
"; } else if($action=="gcp") { $clid = $_GET["clid"]; $who = $_GET["who"]; addonline(getuid_sid($sid),"Modereaza membru club",""); echo ""; echo "

"; $whnick = getnick_uid($who); echo "$whnick"; echo "

"; echo "

"; $exs = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_clubmembers WHERE uid='".$who."' AND clid=".$clid."")); $cow = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_clubs WHERE owner='".$uid."' AND id=".$clid."")); if($exs[0]>0 && $cow[0]>0) { echo "Actiuni:
"; echo "Puncte:
"; echo "[Dute]"; echo ""; echo ""; echo ""; echo ""; }else{ echo "\"X\"/Lipseste info!"; } echo "

"; echo "

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

"; echo "
"; } else if($action=="gpl") { $clid = $_GET["clid"]; $who = $_GET["who"]; addonline(getuid_sid($sid),"Modereaza club membru",""); echo ""; echo "

"; //include("popups.php"); $whnick = getnick_uid($who); echo "$whnick"; echo "

"; echo "

"; $exs = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_clubmembers WHERE uid='".$who."' AND clid=".$clid."")); $cow = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_clubs WHERE owner='".$uid."' AND id=".$clid."")); if($exs[0]>0 && $cow[0]>0) { echo "\"!\"/Poti doar sa dai plusuri, acestea sunt plusuri reale, nu poti lua plusuri
"; $cpl = mysql_fetch_array(mysql_query("SELECT plusses FROM lib3rtymrc_clubs WHERE id='".$clid."'")); echo "\"!\"/Punctele detinute de club $cpl[0]
"; echo "\"!\"/Nu abuza prin impartirea aiurea a plusurilor, clubul tau va fi sters

"; echo "Plusuri:
"; echo "[Efectueaza]"; echo ""; echo ""; echo ""; }else{ echo "\"X\"/Lipseste info!"; } echo "

"; echo "

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

"; echo "
"; } ///////////////////////////////////Control Panel else if($action=="clmenu") { addonline(getuid_sid($sid),"Meniu cluburi",""); echo ""; echo "

"; //include("popups.php"); echo "Meniu cluburi"; 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
-----
"; } $myid = getuid_sid($sid); echo "»Toate cluburile
"; echo "»Club CP
"; echo "»Cluburi in care sunt mebru
"; echo "»Cluburi dupa popularitate
"; echo "»Cluburi dupa activitate
"; echo "»5 cluburi oarecare

"; $ncl = mysql_fetch_array(mysql_query("SELECT id, name FROM lib3rtymrc_clubs ORDER BY created DESC LIMIT 1")); echo "Cel mai nou club: ".htmlspecialchars($ncl[1])."
"; echo "

"; echo "

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

"; echo "
"; } ///////////////////////////////////Extra meniu else if($action=="top") { addonline(getuid_sid($sid),"Top-urile magicworld-chat.com ","index.php?action=$action"); echo ""; echo "

"; $uid = getuid_sid($sid); echo "Top-urile shost.ro"; echo "

"; echo "

"; $uid =getuid_sid($sid); echo ""; echo "\"*\"/Top Discipoli
"; echo "\"*\"/Top Online General
"; // echo "\"*\"/Top Online Lunar
"; echo "\"*\"/Top trivia
"; echo "\"*\"/Top Incarcari
"; echo "\"*\"/Top Melodii descarcate
"; echo "\"*\"/Top programe/imagini descarcate
"; echo "\"*\"/Top jocuri descarcate
"; echo "\"*\"/Top diverse pc descarcate
"; echo "\"*\"/Top Mesaje live
"; echo "\"*\"/Top Jucatori
"; echo "\"*\"/Top Chateri
"; echo "\"*\"/Top Postari
"; echo "\"*\"/Top Monede
"; echo "\"*\"/Top vizite
"; //echo "\"*\"/Top Urmariti
"; echo "\"*\"/Top Sesiuni
"; // echo "\"*\"/Top vizite profil
"; echo "\"*\"/Top Mesaje Trimise
"; echo "\"*\"/Top Mesaje Primite
"; //echo "\"*\"/Top Vechime
"; //echo "\"*\"/Top Vechime
"; echo "
"; echo "

"; echo "

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

"; echo "
"; } //////////////////////////// cardul! else if($action=="rwidc") { addonline(getuid_sid($sid),"$numesite ID","index.php?action=$action"); echo ""; echo "

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

"; echo "
"; echo ""; exit(); } //include("popups.php"); echo "shost.ro ID card
"; $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
-----
"; } $uid = getuid_sid($sid); echo "\"rw

"; echo "Acest ID card este actualizat de cate ori cineva cere acest lucru, sursa ID-ului tau este http://$numesite/rwidc.php?id=$uid

"; echo "poti folosi acest ID ca avatar pe alte situri

"; echo "Pentru a vedea ID card-urile celorlalti vizualizeazai profilu si alege optiune mai multe informatii>shost.ro ID card."; echo "

"; echo "

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

"; echo ""; } ///////////////////////////////////My Clubs else if($action=="myclub") { addonline(getuid_sid($sid),"Cluburile mele",""); echo ""; echo "

"; //include("popups.php"); echo "Cluburile mele"; 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
-----
"; } $uid = getuid_sid($sid); if(getplusses($uid)<5000) { echo "Cluburile sunt comunitati mici pe care userii le pot face, fiecare comunitate trebuie sa aiba idei comune, de exemplu o comunitate pentru muzica rock, doar cei cu peste 5000 de plusuri pot crea cluburi, fiecare user poate crea maxim 3 cluburi, pentru a face rost de plusuri trebuie sa postati pe forum sau aduceti prieteni aici"; }else{ $uclubs = mysql_query("SELECT id, name FROM lib3rtymrc_clubs WHERE owner='".$uid."'"); while($club=mysql_fetch_array($uclubs)) { echo "$club[1]"; echo ", [STERGE]

"; } $noi = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_clubs WHERE owner='".$uid."'")); if($noi[0]<3) { echo "Adauga club"; } } echo "

"; echo "

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

"; echo "
"; } ///////////////////////////////////My Clubs else if($action=="clubs") { addonline(getuid_sid($sid),"Lista cluburi",""); echo ""; echo "

"; //include("popups.php"); echo "Lista Cluburi"; 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 id, name, owner, description, created FROM lib3rtymrc_clubs ORDER BY created DESC LIMIT $limit_start, $items_per_page"; echo "

"; $items = mysql_query($sql); if(mysql_num_rows($items)>0) { while ($item = mysql_fetch_array($items)) { $item[1]=htmlspecialchars($item[1]); $mems = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_clubmembers WHERE clid='".$item[0]."' AND accepted='1'")); $lnk = "$item[1]($mems[0]) Proprietar: ".getnick_uid($item[2]).""; echo "$lnk
"; echo htmlspecialchars($item[3])."
Data crearii: (".date("d/m/y", $item[4]).")


"; } } 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 "

"; echo "

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

"; echo "
"; } else if($action=="gocl") { $clid = $_GET["clid"]; $clinfo = mysql_fetch_array(mysql_query("SELECT name, owner, description, rules, logo, plusses, created FROM lib3rtymrc_clubs WHERE id='".$clid."'")); addonline(getuid_sid($sid),"Vizualizare club",""); $clnm = htmlspecialchars($clinfo[0]); echo ""; echo "

"; echo "$clnm
"; if(trim($clinfo[4])=="") { echo "\"logo\"/"; }else{ echo "\"logo\"/"; } 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
-----
"; } echo "Club ID: $clid
"; $uid = getuid_sid($sid); $cango = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_clubmembers WHERE clid='".$clid."' AND uid='".$uid."' AND accepted='1'")); echo "Proprietar: ".getnick_uid($clinfo[1])."
"; $mems = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_clubmembers WHERE clid='".$clid."' AND accepted='1'")); echo "Membri: $mems[0]
"; echo "Creat la: ".date("d/m/y", $clinfo[6])."
"; echo "Plusuri credit: $clinfo[5]
"; $fid = mysql_fetch_array(mysql_query("SELECT id FROM lib3rtymrc_forums WHERE clubid='".$clid."'")); $rid = mysql_fetch_array(mysql_query("SELECT id FROM lib3rtymrc_rooms WHERE clubid='".$clid."'")); $tps = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_topics WHERE fid='".$fid[0]."'")); $pss = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_posts a INNER JOIN lib3rtymrc_topics b ON a.tid = b.id WHERE b.fid='".$fid[0]."'")); if(($cango[0]>0)||ismod($uid)) { $noa = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_announcements WHERE clid='".$clid."'")); echo "
\"!\"/Anunturi($noa[0])
"; $noa = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_chat WHERE rid='".$rid[0]."'")); echo "\"*\"/$clnm Chat($noa[0])
"; echo "\"*\"/$clnm Forum($tps[0]/$pss[0])

"; $ismem = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_clubmembers WHERE clid='".$clid."' AND uid='".getuid_sid($sid)."'")); if($clid==27){ echo " \".\"/Regulament Echipa
"; echo " \".\"/Conectati $numesite(".getnumonline().")
"; $timeout = 220; $timeon = time()-$timeout; $noi = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_users WHERE perm>'0' AND lastact>'".$timeon."'")); echo " \".\"/Conectati Echipa(".$noi[0].")

"; } if($ismem[0]>0) { //unjoin if($clinfo[1]!=$uid) { echo "Iesi din club"; } }else{ echo "Intra in club!"; } if(isowner1(getuid_sid($sid))) { echo "
Administrare"; } if($clinfo[1]==$uid) { //club owner $mems = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_clubmembers WHERE clid='".$clid."' AND accepted='0'")); echo "
»Cereri($mems[0])
"; } }else{ echo "Topicuri: $tps[0], Postari: $pss[0]
"; echo "Descriere:
"; echo htmlspecialchars($clinfo[2]); echo "

"; echo "Reguli:
"; echo htmlspecialchars($clinfo[3]); echo "

"; echo "Pare bun? Intra acum!"; } echo "

"; echo "

"; echo ""; echo "Lista cluburi
"; echo "\"*\"/"; echo "Prim"; echo "

"; echo "
"; } ////////////////////stiri sport else if($action=="cursvalutar") { addonline(getuid_sid($sid),"Vizualizeaza Cursul Valutar",""); echo ""; echo "

"; //include("pop.php"); echo "Vizualizeaza Cursul Valutar azi ".date("d M y")."
"; $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 "
notificare posta $unrd
"; } echo "

"; echo "

"; $site = "http://www.infoportal.ro/stiri_rss~categorie-educatie.html"; $fp = @fopen($site,"r"); while(!feof($fp)) $raw .= @fgets($fp, 4096); fclose($fp); if( eregi("(.*)", $raw, $rawitems ) ) { $items = explode("", $rawitems[0]); for( $i =0; $i(.*)",$items[$i+1], $title ); eregi("(.*)",$items[$i+1], $url ); eregi("(.*)",$items[$i+1], $description); echo "»$title[1]
"; } } echo "
Acasa»Curs Valutar"; echo "

"; echo "
"; } ////////////////stiri sport else if($action=="cursv") { addonline(getuid_sid($sid),"Vizualizeaza Cursul Valutar",""); echo ""; echo "

"; //include("pop.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 "
notificare posta $unrd
"; } echo "

"; echo "

"; $site = "http://www.infoportal.ro/stiri_rss~categorie-educatie.html"; $fp = @fopen($site,"r"); while(!feof($fp)) $raw .= @fgets($fp, 9096); fclose($fp); if( eregi("(.*)", $raw, $rawitems ) ) { $items = explode("", $rawitems[0]); for( $i =0; $i<1; $i++ ) { eregi("",$items[$id+1], $imagine ); eregi("(.*)",$items[$id+1], $title ); eregi("(.*)",$items[$i+1], $url ); eregi("(.*)",$items[$id+1], $description); echo "$imagine$title[1]
$description[1]
"; } } echo "
Acasa» $title[1]"; echo "

"; echo "
"; } else if($action=="addcl") { addonline(getuid_sid($sid),"Adauga club",""); echo ""; echo "

"; echo "Adauga Club"; 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
-----
"; } if(getplusses($uid)>=500) { $noi = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_clubs WHERE owner='".$uid."'")); if($noi[0]<3) { echo "\"*\"/Toate informatiile sunt obligatoriu de completat, cu exceptia logo-ului
"; echo "\"*\"/In afara de tine, moderatorii iti mai pot administra clubul
"; echo "\"*\"/Orice spatiu lasat in descriere, nume sau reguli va duce la stergere clubului
"; echo "\"*\"/Adminii iti vor sterge clubul daca abuzezi de comenzile pe care le ai si iti vor retrage si plusurile
"; echo "\"*\"/Adminii au dreptul sa iti sterga clubul daca considera ca acesta este inutil

"; echo "Nume club:
"; echo "Descriere:
"; echo "Reguli:
"; echo "Logo:
"; echo "Creaza"; echo ""; echo ""; echo ""; echo ""; echo ""; echo ""; }else{ echo "Ai deja 3 cluburi"; } }else{ echo "Nu mai poti adauga cluburi"; } echo "

"; echo "

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

"; echo "
"; } ///////////////////////////////////Setari else if($action=="uset") { addonline(getuid_sid($sid),"Setari user","index.php?action=$action"); 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 "

"; echo popup($sid); echo "

"; echo "
"; echo ""; exit(); } echo ""; $uid = getuid_sid($sid); $avat = getavatar($uid); $email = mysql_fetch_array(mysql_query("SELECT email FROM lib3rtymrc_users WHERE id='".$uid."'")); $site = mysql_fetch_array(mysql_query("SELECT site FROM lib3rtymrc_users WHERE id='".$uid."'")); $bdy = mysql_fetch_array(mysql_query("SELECT birthday FROM lib3rtymrc_users WHERE id='".$uid."'")); $uloc = mysql_fetch_array(mysql_query("SELECT location FROM lib3rtymrc_users WHERE id='".$uid."'")); $usig = mysql_fetch_array(mysql_query("SELECT signature FROM lib3rtymrc_users WHERE id='".$uid."'")); $sx = mysql_fetch_array(mysql_query("SELECT sex FROM lib3rtymrc_users WHERE id='".$uid."'")); $uloc[0] = htmlspecialchars($uloc[0]); echo " "; echo ""; echo "

"; echo "Setari"; echo "

"; echo "

"; echo "Avatar:
"; echo "E-Mail:
"; echo "Starea civila:
"; echo "Data nasterii(AAAA-MM-DD):
"; echo "Adresa:
"; echo "Motto:
"; echo "Sex:
"; echo "Actualizeaza"; echo ""; echo ""; echo ""; echo ""; echo ""; echo ""; echo ""; echo ""; echo ""; echo "

"; echo "

"; echo "Setari profil
"; echo "\"*\"/"; echo "Prim"; echo "

"; echo ""; } ////////////////////////////////////////// grafica! else if($action=="grafica") { addonline(getuid_sid($sid),"Seteaza grafica!","index.php?action=$action"); echo ""; echo "

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

"; echo "
"; echo ""; exit(); } //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 "\"*\"/
"; $sml = mysql_fetch_array(mysql_query("SELECT hvia FROM lib3rtymrc_users WHERE id='".getuid_sid($sid)."'")); echo "

"; echo "

"; if($sml[0]=="1") { echo "»Dezactiveaza emotii"; }else{ echo "»Activeaza emotii"; } echo "

"; echo "

"; echo "Setari profil
"; echo "\"*\"/"; echo "Prim"; echo "

"; echo ""; } ////////////////////////////////////////// Parola else if($action=="parola") { addonline(getuid_sid($sid),"Seteaza Parola","index.php?action=$action"); echo ""; echo "

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

"; echo "
"; echo ""; exit(); } /// 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 "\";*\"/"; echo "Schimba Parola"; echo "

"; echo "

"; echo "Vechea Parola:
"; echo "Parola noua:
"; echo "Repeta noua parola:
"; echo "Schimba Parola"; echo ""; echo ""; echo ""; echo ""; echo "

"; echo "

"; echo "Setari profil
"; echo "\"*\"/"; echo "Prim"; echo "

"; echo ""; } ///////////////////////////////////Poll Topic else if($action=="poll") { addonline(getuid_sid($sid),"Administrare chestionar",""); 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
-----
"; } $uid = getuid_sid($sid); if(getplusses($uid)<50) { echo "Pentru a-ti administar chestionarul ai nevoie de macar 50 de plusuri"; }else{ $pid = mysql_fetch_array(mysql_query("SELECT pollid FROM lib3rtymrc_users WHERE id='".$uid."'")); if($pid[0] == 0) { echo "Creare chestionar"; }else{ echo "Vizualizare chestionar
"; echo "Sterge chestionar
"; } } echo "

"; echo "

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

"; echo "
"; }else if($action=="crpoll") { addonline(getuid_sid($sid),"Creare chestionar",""); 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
-----
"; } if(getplusses(getuid_sid($sid))>=50) { $pid = mysql_fetch_array(mysql_query("SELECT pollid FROM lib3rtymrc_users WHERE id='".$uid."'")); if($pid[0] == 0) { echo "Intrebare:
"; echo "Optiunea 1:
"; echo "Optiunea 2:
"; echo "Optiunea 3:
"; echo "Optiunea 4:
"; echo "Optiunea 5:
"; echo "Creare"; echo ""; echo ""; echo ""; echo ""; echo ""; echo ""; echo ""; echo ""; }else{ echo "\"x\"/Ai deja un chestionar"; } }else{ echo "\"x\"/Ai nevoie de macar 50 de plusuri pentru a crea un chestionar"; } echo "

"; echo "

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

"; echo "
"; } ///////////////// slatistici else if($action=="stats") { addonline(getuid_sid($sid),"Statistici site","index.php?action=$action"); echo ""; 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
-----
"; } $norm = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_users")); echo "Cifrele statistice ale acestui site:
"; echo "

"; echo ""; echo"\"*\"/Top-urile magicworld-chat.com: Vezi
"; echo"\"*\"/Proaspat casatoriti: Vezi
"; echo "\"*\"/Membri inregistrati: $norm[0]
"; $memid = mysql_fetch_array(mysql_query("SELECT id, name FROM lib3rtymrc_users ORDER BY regdate DESC LIMIT 0,1")); echo "\"*\"/Ultimul: ".getsimbol($memid[0])."$memid[1]
"; $norm = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_users WHERE sex='M'")); echo "\"*\"/Baieti ($norm[0])
"; $norm = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_users WHERE sex='F'")); echo "\"*\"/Fete ($norm[0])
"; $tbday=mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_users where month(`birthday`) = month(curdate()) and dayofmonth(`birthday`) = dayofmonth(curdate());")); echo "\"*\"/Aniversari: $tbday[0]
"; $noi = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_users WHERE pollid>'0'")); echo "\"*\"/Chestionare: $noi[0]
"; $noi = mysql_fetch_array(mysql_query("SELECT count(*) FROM lib3rtymrc_users WHERE perm>'0'")); echo "\"*\"/Echipa Wap-Cool: $noi[0]
"; $mols = mysql_fetch_array(mysql_query("SELECT name, value FROM lib3rtymrc_settings WHERE id='2'")); echo "\"*\"/Top conectati: $mols[1]
"; $mols = mysql_fetch_array(mysql_query("SELECT ppl, dtm FROM lib3rtymrc_mpot WHERE ddt='".date("d m y")."'")); echo "\"*\"/Top conectati: $mols[0]
"; echo "\"*\"/Istoric vezi
"; $tm24 = time() - (24*60*60); $aut = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_users WHERE lastact>'".$tm24."'")); echo mysql_error(); echo "\"*\"/Useri activi azi: $aut[0]
"; $notc = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_topics")); $nops = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_posts")); echo "\"*\"/Numar topicuri: $notc[0]
"; echo "\"*\"/Numar postari: $nops[0]
"; //$sms = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_lovesms")); // echo "Numar sms love: $sms[0]
"; $emotii = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_smilies")); echo "\"*\"/Numar emotii: $emotii[0]
"; $nogal = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_gallery")); echo "\"*\"/Numar poze in galerie: $nogal[0]
"; $gall = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_galcomments")); echo "\"*\"/Numar comentarii poze: $gall[0]
"; //$nopop = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_popups")); //echo "Numar Alerte: $nopop[0]
"; $nopm = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_private")); echo "\"*\"/Numar PM-uri: $nopm[0]
"; //$noin = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_private" )); //$nout = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_private" )); //echo "» PM-uri primite: $noin[0]
» PM-uri trimise: $nout[0]
"; //echo "\"*\"/joaca
"; echo "
"; echo "

"; echo "

"; echo "

"; echo ""; ///// //$noi = mysql_fetch_array(mysql_query("SELECT count(*) FROM lib3rtymrc_judges")); //echo "Organizatori Quizz:($noi[0])
"; if(ismod(getuid_sid($sid))) { $noi = mysql_fetch_array(mysql_query("SELECT count(*) FROM lib3rtymrc_penalties WHERE penalty='1' OR penalty='2'")); echo "Banati:\"*\"/ $noi[0]
"; $nobr=mysql_fetch_array(mysql_query("SELECT COUNT(DISTINCT browserm) FROM lib3rtymrc_users WHERE browserm IS NOT NULL ")); echo "Browsere:\"*\"/ $nobr[0]
"; $noi = mysql_fetch_array(mysql_query("SELECT count(*) FROM lib3rtymrc_penalties WHERE penalty='0'")); echo "Aruncati:\"*\"/ $noi[0]
"; $noi = mysql_fetch_array(mysql_query("SELECT count(*) FROM lib3rtymrc_penalties WHERE penalty='2'")); echo "Banati ip:\"*\"/ $noi[0]
"; echo "
"; echo "\".\"/Meniu Parteneri
"; } echo "

"; echo "

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

"; echo "
"; } else if($action=="top") { addonline(getuid_sid($sid),"Top-urile shost.ro","index.php?action=$action"); echo ""; echo "

"; $uid = getuid_sid($sid); echo "Top-urile shost.ro"; echo "

"; echo "

"; $tmsg = getpmcount(getuid_sid($sid)); $umsg = getunreadpm(getuid_sid($sid)); echo "»Posta($umsg noi)
"; $uid =getuid_sid($sid); echo ""; echo "\"*\"/Top Online General
"; echo "\"*\"/Top Online Lunar
"; echo "\"*\"/Top trivia
"; echo "\"*\"/Top Mesaje live
"; echo "\"*\"/Top Jucatori
"; echo "\"*\"/Top Chateri
"; echo "\"*\"/Top Postari
"; echo "\"*\"/Top plusuri
"; echo "\"*\"/Top vizite
"; //echo "\"*\"/Top Urmariti
"; // echo "\"*\"/Top Sesiuni
"; // echo "\"*\"/Top vizite profil
"; echo "\"*\"/Top Mesaje Trimise
"; echo "\"*\"/Top Mesaje Primite
"; //echo "\"*\"/Top Vechime
"; //echo "\"*\"/Top Vechime
"; echo "
"; echo "

"; echo "

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

"; echo "
"; } else if($action=="schimbanick") { $uid = getuid_sid($sid); addonline(getuid_sid($sid),"Cumpara nick",""); echo ""; echo "

"; echo "Urmatoarea schimbare de nick o vei mai putea face doar peste 7 zile!!
Gandeste-te bine inainte de a-ti modifica numele!!!
Noul nick ti se va aplica imediat dupa ce va fi validat de echipa

"; echo ""; $nume = mysql_fetch_array(mysql_query("SELECT name FROM lib3rtymrc_users WHERE id='".$uid."'")); echo " "; echo ""; echo "Nick nou

"; echo "nick actual: $nume[0]
"; echo "Verifica"; echo ""; echo ""; echo ""; echo "

"; echo "Acasa"; echo "

"; } //////////////////////////////////////////verifica else if($action=="verificanick") { addonline(getuid_sid($sid),"Verifica nick",""); $nick = $_POST["nick"]; $uid = getuid_sid($sid); echo ""; echo "

"; if(spacesin($nick)||scharin($nick)) { echo "Nick-urile nu mai pot contine caractere speciale. Va rugam recorectati
"; echo ""; echo "Acasa"; echo "

"; exit(); } $nickprezent = mysql_fetch_array(mysql_query("SELECT name FROM lib3rtymrc_users WHERE id='".$uid."'")); $data = mysql_fetch_array(mysql_query("SELECT datank FROM lib3rtymrc_users WHERE id='".$uid."'")); if($data[0]>time()) { $cata = $data[0]-time(); echo "Nick-ul il poti schimba o data la o saptamana. Mai ai de asteptat ".gettimemsg($cata)."
"; echo ""; echo "Acasa"; echo "

"; exit(); } $dacaexista = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_users WHERE name='".$nick."'")); if($nickprezent[0]!=$nick) { if($dacaexista[0]>0) { echo "Alcineva are deja acest nick in folos!
"; }else{ $catelit = strlen($nick); if($catelit < 4){ echo "Nick-ul nu trebuie sa cuprinda mai putin de 4 caractere!
"; echo "

Inapoi
"; }else{ echo "Esti sigur ca doresti sa schimbul nickul in
$nick ?
"; # $cand = time()+(7*24*60*60); // lunile anului $data = date("d", $cand); $luna = date("m", $cand); $anu = date("Y", $cand); $ora = date("H:i", $cand); echo "Verifica cu atentie corectitudinea nick-ului ca vei putea sa il schimbi din nou abia peste 7 zile($data-$luna-$anu $ora)
"; echo "Nu, ma mai gandesc putin!
"; echo "Da, sunt sigur!"; echo ""; echo ""; echo ""; } # echo "

Inapoi
"; } }else{ echo "Acest nick deja il folosesti!!
"; } echo ""; echo "Acasa"; echo "

"; } ///////////////////////////////////////////////seteaza else if($action=="setezanick") { addonline(getuid_sid($sid),"Seteaza nick cumparat!",""); $nick = $_POST["nick"]; echo ""; echo "

"; if(spacesin($nick)||scharin($nick)) { echo "Nick-urile nu mai pot contine caractere speciale. Va rugam recorectati
"; echo ""; echo "Acasa"; echo "

"; exit(); } $idmeu = getuid_sid($sid); $data = mysql_fetch_array(mysql_query("SELECT datank FROM lib3rtymrc_users WHERE id='".$idmeu."'")); if($data[0]>time()) { $cata = $data[0]-time(); echo "Nick-ul il poti schimba o data la o saptamana. Mai ai de asteptat ".gettimemsg($cata)."
"; echo ""; echo "Acasa"; echo "

"; } $nickprezent = mysql_fetch_array(mysql_query("SELECT name FROM lib3rtymrc_users WHERE id='".$idmeu."'")); $dacaexista = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_users WHERE name='".$nick."'")); if($nickprezent[0]!=$nick) { if($dacaexista[0]>0) { echo "Alcineva are deja acest nick in folos!
"; }else if($dacaexista[0]==0){ $timp = time(); $cate = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM ice_arhiva_nk WHERE prop='".$idmeu."'")); $acum = mysql_fetch_array(mysql_query("SELECT name FROM lib3rtymrc_users WHERE id='".$idmeu."'")); if($cate[0]==0){ mysql_query("INSERT INTO ice_arhiva_nk SET nume='".$acum[0]."', prop='".$idmeu."', validat='1', primu='1'"); } $nume = $nick; $res = mysql_query("INSERT INTO ice_arhiva_nk SET nume='".$nick."', prop='".$idmeu."', validat='0', primu='0'"); if($res) { $cand = time()+(7*24*60*60); mysql_query("UPDATE lib3rtymrc_users SET datank='".$cand."' where id='".$idmeu."'"); echo "Cererea pentru schimbarea nick-ului a fost trimisa cu succes!
"; echo "Te rugam sa astepti verificarea si validarea noului nick!
"; }else{ echo "Eroare in dBase!
"; } }}else{ echo "Acest nick deja il folosesti!!
"; } echo "
"; echo "Acasa"; echo "

"; } ////////////////////////////////////////////// else if($action=="istoricnick") { $who = $_GET["who"]; $uid = getuid_sid($sid); addonline(getuid_sid($sid),"Arhiva Nick",""); echo ""; echo "

"; $nume = mysql_fetch_array(mysql_query("SELECT name FROM lib3rtymrc_users WHERE id='".$who."'")); $cate = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM ice_arhiva_nk WHERE prop='".$who."' AND validat='1'")); echo "Istoricul nick-urilor membrului
$nume[0]
(istoricul incepe din data de 08 iulie 2009)"; echo "
"; if($cate[0]==0){ echo "
Nu are schimbari de nick in istoric!
"; }else{ if($page=="" || $page<=0)$page=1; $num_items = $cate[0]; //changable $items_per_page= 5; $num_pages = ceil($num_items/$items_per_page); if(($page>$num_pages)&&$page!=1)$page= $num_pages; $limit_start = ($page-1)*$items_per_page; $sql = "SELECT id, nume, cand, primu FROM ice_arhiva_nk WHERE prop='".$who."' AND validat='1' ORDER BY cand DESC LIMIT $limit_start, $items_per_page"; echo "

"; $items = mysql_query($sql); //$cou =1; $cou = $limit_start; echo mysql_error(); while ($item = mysql_fetch_array($items)) { $cou++; $simbol = getsimbol($item[0]); $nume = mysql_fetch_array(mysql_query("SELECT name FROM lib3rtymrc_users WHERE id='".$who."'")); if($nume[0]==$item[0] && $item[3]!==1){ $ora = date("d-m-y, H:i", $item[2]); $lnk = "$cou. $item[1] - prezent
din $ora
"; }else if($item[3]==1){ $lnk = "$cou. $item[1]
de la inregistrare
"; }else{ $ora = date("d-m-y, H:i", $item[2]); $lnk = "$cou. $item[1]
din $ora
"; } echo "$lnk
"; } 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
"; } if($num_pages>2) { $rets = "pagina:"; $rets .= "[du-te]"; $rets .= ""; $rets .= ""; $rets .= ""; $rets .= ""; $rets .= ""; echo $rets; } } echo "

"; echo "Profil Membru"; echo "
"; echo "Acasa"; echo "

"; } //////////////////////////////////////////Anunt club else if($action=="annc") { addonline(getuid_sid($sid),"Anunta!",""); $clid = $_GET["clid"]; echo ""; echo "

"; //include("popups.php"); $cow = mysql_fetch_array(mysql_query("SELECT owner FROM lib3rtymrc_clubs WHERE id='".$clid."'")); $uid = getuid_sid($sid); if($cow[0]!=$uid) { echo "Acest club nu este al tau!"; }else{ echo "Text:
"; echo "Anunta"; echo " "; echo ""; } echo "

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

"; echo "
"; } //////////////////////////////////////////Guestbook else if($action=="addblg") { if(!getplusses(getuid_sid($sid))>50) { echo ""; echo "

"; echo "Ai nevoie de macar 50 de plusuri pentru a adauga 1 blog

"; echo "Prim"; echo "

"; echo "
"; echo ""; exit(); } addonline(getuid_sid($sid),"Adauga blog",""); echo ""; echo ""; echo " "; echo ""; echo "

"; echo "Titlu:
"; echo "Text:
"; echo "Adauga"; echo " "; echo ""; echo "

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

"; echo "
"; } //////////////////////////////////////////add vault else if($action=="addvlt") { if(!getplusses(getuid_sid($sid))>25) { echo ""; echo "

"; echo "Ai nevoie de macar 25 de plusuri pentru a aduce ceva la descarcat

"; echo "Prim"; echo "

"; echo "
"; echo ""; exit(); } addonline(getuid_sid($sid),"Adauga element la descarcat",""); echo ""; echo ""; echo " "; 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
-----
"; } echo ",Descarca este folosit pentru ca voi sa postati link-ri directe spre descarcare de: imagini, mp3-uri, jocuri etc...
Avertisment: daca folosesti link-uri catre site-ul tau pentru a face reclama vei primi avertisment apoi bann direct!


"; echo "Nume element:
"; echo "Adresa element:
"; echo "Adauga"; echo " "; echo ""; echo "

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

"; echo "
"; } /////////////////////////////////////////////////////// /// $numesite /// /// Acest script este modificat de: /// /// dj_syshu /// /// By klub-xxl.net /// /// RaZvan_BoSS_2305@yahoo.com /// /// admin@lib3ty.com /// /////////////////////////////////////////////////////// //////////////////////////////////Chestionare else if($action=="viewpl") { $who = $_GET["who"]; addonline(getuid_sid($sid),"Vizualizare chestionar",""); echo ""; echo "

"; $uid = getuid_sid($sid); $pollid = mysql_fetch_array(mysql_query("SELECT pollid FROM lib3rtymrc_users WHERE id='".$who."'")); if($pollid[0]>0) { $polli = mysql_fetch_array(mysql_query("SELECT id, pqst, opt1, opt2, opt3, opt4, opt5, pdt FROM lib3rtymrc_polls WHERE id='".$pollid[0]."'")); if(trim($polli[1])!="") { $qst = parsepm($polli[1], $sid); echo $qst."

"; $vdone = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_presults WHERE uid='".$uid."' AND pid='".$pollid[0]."'")); $nov = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_presults WHERE pid='".$pollid[0]."'")); $nov = $nov[0]; if($vdone[0]>0) { $voted= TRUE; }else{ $voted = FALSE; } $opt1 = $polli[2]; if (trim($opt1)!="") { $opt1 = htmlspecialchars($opt1); $nov1 = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_presults WHERE pid='".$pollid[0]."' AND ans='1'")); $nov1 = $nov1[0]; if($nov>0) { $per = floor(($nov1/$nov)*100); $rests = "Voturi: $nov1($per%)"; }else{ $rests = "Voturi: 0(0%)"; } if($voted) { $lnk = "1.$opt1 $rests
"; }else{ $lnk = "1.$opt1 $rests
"; } echo "$lnk"; } $opt2 = $polli[3]; if (trim($opt2)!="") { $opt2 = htmlspecialchars($opt2); $nov2 = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_presults WHERE pid='".$pollid[0]."' AND ans='2'")); $nov2 = $nov2[0]; if($nov>0) { $per = floor(($nov2/$nov)*100); $rests = "Voturi: $nov2($per%)"; }else{ $rests = "Voturi: 0(0%)"; } if($voted) { $lnk = "2.$opt2 $rests
"; }else{ $lnk = "2.$opt2 $rests
"; } echo "$lnk"; } $opt3 = $polli[4]; if (trim($opt3)!="") { $opt3 = htmlspecialchars($opt3); $nov3 = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_presults WHERE pid='".$pollid[0]."' AND ans='3'")); $nov3 = $nov3[0]; if($nov>0) { $per = floor(($nov3/$nov)*100); $rests = "Voturi: $nov3($per%)"; }else{ $rests = "Voturi: 0(0%)"; } if($voted) { $lnk = "3.$opt3 $rests
"; }else{ $lnk = "3.$opt3 $rests
"; } echo "$lnk"; } $opt4 = $polli[5]; if (trim($opt4)!="") { $opt4 = htmlspecialchars($opt4); $nov4 = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_presults WHERE pid='".$pollid[0]."' AND ans='4'")); $nov4 = $nov4[0]; if($nov>0) { $per = floor(($nov4/$nov)*100); $rests = "Voturi: $nov4($per%)"; }else{ $rests = "Voturi: 0(0%)"; } if($voted) { $lnk = "4.$opt4 $rests
"; }else{ $lnk = "4.$opt4 $rests
"; } echo "$lnk"; } $opt5 = $polli[6]; if (trim($opt5)!="") { $opt5 = htmlspecialchars($opt5); $nov5 = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_presults WHERE pid='".$pollid[0]."' 2AND ans='5'")); $nov5 = $nov5[0]; if($nov>0) { $per = floor(($nov5/$nov)*100); $rests = "Voturi: $nov5($per%)"; }else{ $rests = "Voturi: 0(0%)"; } if($voted) { $lnk = "5.$opt5 $rests
"; }else{ $lnk = "5.$opt5 $rests
"; } echo "$lnk"; } echo "".date("d m y - H:i",$polli[7]).""; }else{ echo "\"x\"/Acest chestionar nu exista"; } }else{ echo "\"x\"/Acest user nu are chestionar"; } echo "

"; echo "

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

"; echo "
"; } //////////////////////////////////////////// Statut else if($action=="statutc") { addonline(getuid_sid($sid),"Seteaza Status in lista de conectati","index.php?action=$action"); 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 "

"; echo popup($sid); echo "

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

"; echo "Aici va puteti actualiza stare pe care o doriti in lista de conectati, daca activati cheful in lista de conectati, tot ceea ce faceti pe site nu va fi vazut in lista de conectati,adica nu va fi vazuta locatia unde sunteti pentru va aparea cheful in locul acesteia, este interzisa folosirea a mai mult de 2 emotii in chef si deasemenea de adrese de chaturi/injuraturi, cheful poate fi actualizat si din lista de prieteni
"; $uid = getuid_sid($sid); $chef = mysql_fetch_array(mysql_query("SELECT chef FROM lib3rtymrc_users WHERE id='".$uid."'")); if($chef[0]==1){ echo ""; $cmsg = htmlspecialchars(getbudmsg(getuid_sid($sid))); echo " "; echo ""; echo "Text:"; echo "

"; echo "»Actualizeaza Statut"; echo " "; echo "«
"; echo "«Activeaza chef in lista de conectati
"; }else{ // echo "»Dezactiveaza chef in lista de conectati
"; } echo ""; echo "Setari
"; echo "\"*\"/"; echo "Prim"; echo "

"; echo "<;/card>"; } //////////////////////////////////////////// Statut else if($action=="chbmsg") { addonline(getuid_sid($sid),"Seteaza Status","index.php?action=$action"); 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 "

"; echo popup($sid); echo "

"; echo "
"; echo ""; exit(); } echo ""; $cmsg = htmlspecialchars(getbudmsg(getuid_sid($sid))); echo " "; echo ""; echo "

"; echo "
"; echo "Text:
"; echo "Actualizeaza"; echo " "; echo "

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

"; echo ""; } else if($action=="transferapls") { addonline(getuid_sid($sid),"Trimite Plusuri",""); echo ""; echo "

"; $who = $_GET["who"]; $uid = getuid_sid($sid); if($who==$uid){ echo "Nu iti poti trimite plusuri. Este interzis....

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

"; echo "
"; echo ""; exit(); } echo ""; echo " "; echo ""; echo "Trimite Plusuri lui ".getnick_uid($who)."

"; $ps = mysql_fetch_array(mysql_query("SELECT plusses FROM lib3rtymrc_users WHERE id='".getuid_sid($sid)."'")); echo "Ai $ps[0] Plusuri

"; echo "Cate Plusuri ii vei transfera?
"; echo ""; echo "
Confirma"; echo ""; echo ""; echo ""; echo "

"; echo "Acasa"; echo "

"; echo ""; } else if($action=="transferapls2") { $who = $_GET["who"]; $uid = getuid_sid($sid); if($who==$uid){ echo "Nu iti poti trimite plusuri. Este interzis....

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

"; echo ""; echo ""; exit(); } $ptg = $_POST["ptg"]; $cui = getnick_uid($who); addonline(getuid_sid($sid),"Transfera Plusuri in contul $cui",""); echo ""; echo "

"; //$uid = getuid_sid($sid); $gpsf = mysql_fetch_array(mysql_query("SELECT plusses FROM lib3rtymrc_users WHERE id='".$uid."'")); $gpst = mysql_fetch_array(mysql_query("SELECT plusses FROM lib3rtymrc_users WHERE id='".$who."'")); if($gpsf[0]>=$ptg){ $gpsf = $gpsf[0]-$ptg; $gpst = $gpst[0]+$ptg; $res = mysql_query("UPDATE lib3rtymrc_users SET plusses='".$gpst."' WHERE id='".$who."'"); if($res) { $res = mysql_query("UPDATE lib3rtymrc_users SET plusses='".$gpsf."' WHERE id='".$uid."'"); echo "Plusuri transferate cu succes
"; mysql_query("INSERT INTO lib3rtymrc_mlog SET action='Plusuri', details='".getnick_uid(getuid_sid($sid))." a transferat $ptg plusuri lui ".getnick_uid($who)."', actdt='".time()."'"); if(automsgs($who)) { $msg = "".getnick_uid($uid)." va transferat $ptg plusuri,acum aveti $gpst plusuri in contul dumneavoastra"; echo pmautomat($msg, $who); } if(automsgs($uid)) { $msg = "Ati transferat $ptg plusuri in contul $cui,acum mai aveti $gpsf plusuri in contul dumneavoastra"; echo pmautomat($msg, $uid); } }else{ echo "Eroare in baza de date!
"; } }else{ echo "Nu ai destule plusuri pentru a transfera altcuiva
"; if(automsgs($uid)) { $msg = "Ne pare rau dar momentan nu aveti suficiente plusuri in contul dumneavoastra pentru a transfera"; echo pmautomat($msg, $uid); } } echo "
"; echo ""; echo "Acasa"; echo "

"; echo "
"; } /////////////////////////////////////////////////////////////////// Profil USER else if($action=="viewuser") { if(validare(getuid_sid($sid))<1) { echo ""; echo "

"; echo "\"*\"/Contul tau nu a fost validat
Este necesar sa-ti completezi corect profilul
Si sa astepti validarea contului tau
"; echo "Verificarea si activarea contului dumneavoastra poate dura pana la 2 de ore, va rugam asteptati.
Va multumim!


"; echo ""; echo "Daca nu vreti sa asteptati dati un sms la 075
"; echo "
"; echo ""; echo "+Setari Profil
"; echo "------
"; echo "\"*\"/ Prima Pagina

"; echo "© $sitte
"; echo "
"; echo "

"; echo "
"; echo ""; exit(); } $whonick = getnick_uid($who); addonline(getuid_sid($sid),"Vizualizare profil user $whonick","index.php?action=viewuser&who=$who"); //add visitor if ($uid != $who) $res = mysql_query("INSERT INTO lastview SET whonick='". $whonick ."', lastview='".getnick_uid($uid)."', ltime='".time()."'"); // update nr visits $res = mysql_query("UPDATE lib3rtymrc_users SET nr_visits = nr_visits + 1 WHERE id = $who"); echo ""; 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
-----
"; } $lastloc=$_GET["lstloc"]; if($lastloc=="cht"){ $rid= $_GET["rid"]; $rooms = mysql_fetch_array(mysql_query("SELECT id, name FROM lib3rtymrc_rooms WHERE id='".$rid."'")); $rname = $rooms[1]; } if($who==""||$who==0) { $mnick = $_POST["mnick"]; $who = getuid_nick($mnick); } $whonick = getnick_uid($who); $bmsg = parsemsg(getbudmsg($who), $sid); ///////////Alerte $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(); } ////////// if($whonick!="") { if(isonline($who)) { $iml = "\"+\"/"; }else{ $iml = "\"-\"/"; } $bmsg = parsemsg(getbudmsg($who), $sid); echo "Mesaj Statut:
"; echo "
$bmsg
"; $me = getuid_sid($sid); if($who=="$me") { $use = "[ Seteaza status acum ]"; }else{ $use = ""; } echo "$use"; echo "
-----
"; // echo "Trimite:
"; echo "Trimite PM"; echo "|"; echo "Alerta
"; // if (arebuds($uid, $who)) //{ // echo "»Alerta«
"; // } // ultimele vizite if ($who == $uid) { echo "-----
"; echo "vizitatorii Mei"; echo "
"; } // get nr visits list($nr_visits) = mysql_fetch_array(mysql_query("SELECT nr_visits FROM lib3rtymrc_users WHERE id = $who")); // echo "Vizualizat de $nr_visits ori"; echo "
"; echo "istoric nick-uri
"; $cati = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_users WHERE adusde='".$who."'")); if($cati[0]>1){ $mentor = "Mentor pentru $cati[0] useri"; } else if($cati[0]==1){ $mentor = "Mentor pentru un user"; }else if($cati[0]==0){ $mentor = "Nu este mentor"; } echo "$mentor
"; if($uid!=$who) if(isonline($who)) echo "»Play RPG«
"; echo "
"; echo ""; // avatar $avlink = getavatar($who); if ($avlink == '') { $sex = @mysql_fetch_array(mysql_query("SELECT sex FROM lib3rtymrc_users WHERE id='".$who."'")); if ($sex[0] == 'F') $avlink = "../images/girl.gif"; else $avlink = "../images/boy.gif"; } echo "\"$whonick\"/

"; /* $avat = mysql_fetch_array(mysql_query("SELECT setavatar FROM lib3rtymrc_users WHERE id='".$who."'")); if($avat[0]=="1") { echo "\"$whonick\"/
"; }else{ echo "\"$whonick\"/
"; }*/ //echo "»Descarca avatar«
"; $invizibil = mysql_fetch_array(mysql_query("SELECT hidden FROM lib3rtymrc_users WHERE id='".$who."'")); if($invizibil[0]==1){ echo "".getsimbol($who)."$whonick acum $iml
"; $plc = mysql_fetch_array(mysql_query("SELECT place FROM lib3rtymrc_online WHERE userid='".$who."'")); $uact = "$plc[0]
"; if(isonline($who)) echo "Situare: $uact"; ////////////////////// poanta q actiunile $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 "Activ in urma cu: "; 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 "".getsimbol($who)."$whonick acum \"-\"/deconectat
"; } //echo "$whonick site personal

"; // echo "$iml
"; if(isonline($who)) { ////////////////////// conectat de .... $regd = mysql_fetch_array(mysql_query("SELECT regdate, lastvst, logat 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 "Conectat de: "; //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 "
"; /////////////////////// pana aici }else{ /////////////////////// pana aici } // // if(isonline($who)) // { // $nopl = mysql_fetch_array(mysql_query("SELECT logat FROM lib3rtymrc_users WHERE id='".$who."'")); // $jdt = date("H:i:s",$nopl[0]); // $oraf = "Conectat de la ora: $jdt
"; // }else{ // $oraf = ""; // } echo "$oraf"; echo "-----
"; /// contoarele online $time = mysql_fetch_array(mysql_query("SELECT otime, mtime FROM lib3rtymrc_users WHERE id='".$who."'")); $regd = mysql_fetch_array(mysql_query("SELECT regdate FROM lib3rtymrc_users WHERE id='".$who."'")); $etime = mktime(0,0,0,3,6,2007); if($etime>$regd[0]) $dtime = time()-$etime; else $dtime = time()-$regd[0]; $timeage = ceil($dtime/(24*60*60)); $avgtime = ceil($time[0]/$timeage); $avgmsgtime = gettimemsg($avgtime); $otime = gettimemsg($time[0]); $mtime = gettimemsg($time[1]); echo "Timp Total Online: $otime
"; echo "Conectat Zilnic: $avgmsgtime
"; //echo "\".\"/
"; $uid = getuid_sid($sid); if(budres($uid, $who)==0) { echo "\"!\"/ "; echo "[adauga la prieteni]
"; }else if(budres($uid, $who)==1) { echo "* cerere de prietenie in curs *
"; }else if(budres($uid, $who)==2) { echo "[\"!\"/sterge de la prieteni]
"; } $ires = ignoreres($uid, $who); if(es==2) { echo "»[#] sterge de la ignorati
"; }else if($ires==1) { echo "[\"!\"/ adauga la ignorati]
"; } $countpics = mysql_fetch_array(mysql_query("SELECT COUNT(id) FROM lib3rtymrc_gallery WHERE uid='".$who."'")); echo "Galerie foto:$countpics[0]
"; $noi = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_gbook WHERE gbowner='".$who."' AND reported = 0")); echo "Comentarii:$noi[0]
"; // dedicatii // list($dedicatii_primite) = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM cam_dedicatii WHERE touid = $who")); list($dedicatii_trimise) = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM cam_dedicatii WHERE byuid = $who")); // echo '-----
'; echo "Dedica
"; echo 'Dedicatii: '; echo "$dedicatii_primite"; echo ' / '; echo "$dedicatii_trimise"; echo '
'; $topconectati = mysql_fetch_array(mysql_query("SELECT topcon FROM lib3rtymrc_users WHERE id='".$who."'")); echo "Loc in top online:$topconectati[0]
"; echo "-----
"; echo "ID: $who
"; echo "Rang: ".getstatus($who)."
"; //echo "Reputatie: ".getreputatie($who)."
"; $nopl = mysql_fetch_array(mysql_query("SELECT sex, birthday, location FROM lib3rtymrc_users WHERE id='".$who."'")); $uage = getage($nopl[1]); if($nopl[0]=='M') { $usex = "Barbat"; }else if($nopl[0]=='F'){ $usex = "Femeie"; }else{ $usex = "\".\"/Fara sex"; } $nopl[2] = htmlspecialchars($nopl[2]); echo "Varsta: $uage
"; $datanasterii = mysql_fetch_array(mysql_query("SELECT birthday FROM lib3rtymrc_users WHERE id='".$who."'")); echo "Zodia: ".obtinedatanasterii($datanasterii[0],$sid); $regd = mysql_fetch_array(mysql_query("SELECT regdate FROM lib3rtymrc_users WHERE id='".$who."'")); $sage = time()-$regd[0]; $rwage = ceil($sage/(24*60*60)); echo "
Sex: $usex
"; echo "Locatitatea: $nopl[2]"; // echo "
"; // $sage = time()-$regd[0]; //$rwage = ceil($sage/(24*60*60)); // echo s FROM lib3rtymrc_users WHERE id='".$who."'")); ///echo "Varsta $numesite: $rwage zile
"; //echo "Plusuri: $noplx[0]+
"; //echo "Monezi : ".monezi($who)."
"; //echo "Plusuri: ".getplusses($who)."
"; $nob = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_buddies WHERE (uid='".$who."' OR tid='".$who."') AND agreed='1'")); echo "\"!\"/Prieteni: $nob[0]
"; $nopl = mysql_fetch_array(mysql_query("SELECT site FROM lib3rtymrc_users WHERE id='".$who."'")); $motto = parsepm($nopl[0], $sid); $judg = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_judges WHERE uid='".$who."'")); if($judg[0]>0) { //echo "-----
* Organizator Quizz *
"; echo "-----
"; } //echo "Postari In forumuri
"; $unol = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_topics WHERE authorid='".$who."'")); $tlink = "$unol[0]"; //echo "Topicuri: $tlink
"; $unop = mysql_fetch_array(mysql_query("SELECT posts FROM lib3rtymrc_users WHERE id='".$who."'")); $unol = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_posts WHERE uid='".$who."'")); $plink = "$unol[0]"; //echo "Postari: $plink/$unop[0]
"; ////////////////////////////////////////////// if($adopt[0]==0) { echo "\"!\"/Copil: "; $nopl = mysql_fetch_array(mysql_query("SELECT sex FROM lib3rtymrc_users WHERE id='".$who."'")); $couple = mysql_fetch_array(mysql_query("SELECT accept, who, partner FROM adoptie WHERE who='".$who."'")); $couples = mysql_fetch_array(mysql_query("SELECT accept, who, partner FROM adoptie WHERE partner='".$who."'")); if($couple[0]=='1') { $mate = $couple[2]; $mate1 = getnick_uid($mate); if($nopl[0]=='M') { echo " $mate1
"; }else if($nopl[0]=='F'){ echo " $mate1
"; } } else if($couples[0]=='1') { $mate = $couples[1]; $mate1 = getnick_uid($mate); if($nopl[0]=='M') { echo " $mate1
"; }else if($nopl[0]=='F'){ echo " $mate1
"; } }else{ if($nopl[0]=='M') { echo "nu are
"; }else if($nopl[0]=='F'){ echo "nu are
"; }else{ echo "nu are
"; } } }else if($adopt[0]==1){ echo "Adoptat:
"; $nopl = mysql_fetch_array(mysql_query("SELECT sex FROM dk_users WHERE id='".$who."'")); $couple = mysql_fetch_array(mysql_query("SELECT accept, who, partner FROM adoptie WHERE who='".$who."'")); $couples = mysql_fetch_array(mysql_query("SELECT accept, who, partner FROM adoptie WHERE partner='".$who."'")); if($couple[0]=='1') { $mate = $couple[2]; $mate1 = getnick_uid($mate); if($nopl[0]=='M') { echo " $mate1
"; }else if($nopl[0]=='F'){ echo " $mate1
"; } } else if($couples[0]=='1') { $mate = $couples[1]; $mate1 = getnick_uid($mate); if($nopl[0]=='M') { echo " $mate1
"; }else if($nopl[0]=='F'){ echo "adopt cu $mate1
"; } } } $cati = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM couple WHERE who='".$who."' OR partner='".$who."'")); $cum = mysql_fetch_array(mysql_query("SELECT accept, who, partner FROM couple WHERE who='".$who."' OR partner='".$who."'")); if($cum[0]==1&&$cati[0]!==0){ if($cum[1]==$who){ $cumx= ""; $cumxid= ""; }else{ $cumx= "".getnick_uid($cum[1]).""; $cumxid= $cum[1]; } if($cum[2]==$who){ $cumx2= ""; $cumx2id= ""; }else{ $cumx2= "".getnick_uid($cum[2]).""; $cumx2id= $cum[2]; } $casatorit = mysql_fetch_array(mysql_query("SELECT casatorit FROM couple WHERE who='".$who."' OR partner='".$who."'")); if($casatorit[0]==0) { $nopl = mysql_fetch_array(mysql_query("SELECT sex FROM lib3rtymrc_users WHERE id='".$who."'")); if($nopl[0]=='M') { $stare = "logodit"; }else if($nopl[0]=='F'){ $stare = "logodita"; }else{ $stare = "logodit"; } }else{ $nopl = mysql_fetch_array(mysql_query("SELECT sex FROM lib3rtymrc_users WHERE id='".$who."'")); if($nopl[0]=='M') { $stare = "casatorit"; }else if($nopl[0]=='F'){ $stare = "casatorita"; }else{ $stare = "casatorit"; } } $link = "$stare cu $cumx$cumx2
"; $cuplu = mysql_fetch_array(mysql_query("SELECT id FROM couple WHERE who='".$who."' OR partner='".$who."'")); $nas = mysql_fetch_array(mysql_query("SELECT nas1, nas2, datans FROM couple WHERE id='".$cuplu[0]."'")); if($nas[0]!=="" && $nas[1]!==""){ $nasu1 = getnick_uid($nas[0]); $nasu2 = getnick_uid($nas[1]); $nas = "Nasii: $nasu1 + $nasu2
"; }else{ $nas = "Nu au nasi"; } }else if($cum[0]==0||$cati[0]==0){ $nopl = mysql_fetch_array(mysql_query("SELECT sex FROM lib3rtymrc_users WHERE id='".$who."'")); if($nopl[0]=='M') { $starex = "singur"; }else if($nopl[0]=='F'){ $starex = "singura"; }else{ $starex = "singur"; } $link = "$starex
"; $nas = ""; } echo "\"!\"/Stare Civila: $link$nas
"; //echo "
"; $exet = mysql_fetch_array(mysql_query("SELECT adusde FROM lib3rtymrc_users WHERE id='".$who."'")); $linkx = "".getnick_uid($exet[0])."
"; if($exet[0]!==""){ echo "Mentor: $linkx"; } // echo "-----
"; $nopl = mysql_fetch_array(mysql_query("SELECT signature FROM lib3rtymrc_users WHERE id='".$who."'")); $sign = parsepm($nopl[0], $sid); echo "\"!\"/MoTTo: $sign"; echo "
-----
"; echo "Alte Detalii:
"; echo "Contact|"; echo "Infatisare
"; echo "Statistici|"; echo "Personalitate
"; echo "
"; //echo "

"; echo "-----
"; echo "»Distreaza-te cu userul«
"; echo "»Animale Virtuale«
"; echo "»$numesite ID Card«
"; echo "»doneaza puncte joc«
"; //$melodie = mysql_fetch_array(mysql_query("SELECT mel FROM lib3rtymrc_users WHERE id='".$who."'")); $nume_melodie = mysql_fetch_array(mysql_query("SELECT title FROM lib3rtymrc_manele WHERE id='".$melodie[0]."'")); echo "Melodie favorita:"; $mrcrazymelodie = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_manele WHERE id='$melodie[0]'")); if($mrcrazymelodie[0]=="0"){ if ($uid==$who) { echo "nesetata
"; }else{ echo "nesetata
"; } }else{ echo " ".htmlspecialchars($nume_melodie[0 ])."
"; } /////////////////////// pana aici if(ismod(getuid_sid($sid))) { $nopl = mysql_fetch_array(mysql_query("SELECT browserm FROM lib3rtymrc_users WHERE id='".$who."'")); echo "» Browser: $nopl[0]
"; $uipadd = mysql_fetch_array(mysql_query("SELECT ipadd FROM lib3rtymrc_users WHERE id='".$who."'")); echo "» IP:$uipadd[0]
"; $nob = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_buddies WHERE (uid='".$who."' OR tid='".$who."') AND agreed='1'")); echo "» Prieteni: $nob[0]
"; } echo "
"; if(cansee(getuid_sid($sid), $who)) { echo ""; $unol = mysql_fetch_array(mysql_query("SELECT lastpnreas FROM lib3rtymrc_users WHERE id='".$who."'")); if($unol[0]!="") { echo "Motiv penalizare: $unol[0]
"; } $unol = mysql_fetch_array(mysql_query("SELECT lastplreas FROM lib3rtymrc_users WHERE id='".$who."'")); if($unol[0]!="") { echo "Motiv plusuri: $unol[0]
"; } echo "
"; } echo "

"; echo "

"; $judg = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_judges WHERE uid='".getuid_sid($sid)."'")); if(ismod(getuid_sid($sid))) { ///////////////////////////////// comenzi :D ///////////////////////////////// comenzi :D include("comenzi.php"); } echo ""; if(ismod(getuid_sid($sid))) { echo "Adauga monezi
"; echo "Adauga plusuri
"; echo "Acorda puncte Quizz/Fazan
"; } }else{ echo "\"X\"/ Membru nu exista
"; } echo "-----
"; echo ""; echo "Acasa"; echo "

"; echo ""; } ////////////////////////////////////////// uxset else if($action=="uxset") { addonline(getuid_sid($sid),"Setari extinse","index.php?action=$action"); echo ""; echo "

"; echo "»Adresa mea
"; echo "»Personalitate
"; //echo "»Gmail Settings
"; echo "»Mai multe despre mine
"; echo "»Preferinte
"; echo "

"; echo "

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

"; echo "
"; } //////////////////////////////////////////User Address else if($action=="uadd") { addonline(getuid_sid($sid),"Adresa mea",""); echo ""; echo ""; $ainfo = mysql_fetch_array(mysql_query("SELECT country, city, street, phoneno, timezone FROM lib3rtymrc_xinfo WHERE uid='".getuid_sid($sid)."'")); echo " "; echo ""; echo "

"; echo "\"!\"/Dute la Preferinte si alege doar prietenii daca vrei ca doar prietenii sa vada numarul tau de telefon si adresa unde stai
"; echo "\"!\"/Daca vrei ca nimeni sa nu iti vada informatiile astea nu le completa
"; echo ' Tara:
Oras:
Timezone(e.g +1 or -2.5):
Numar telefon.:
'; echo "Confirma"; echo ""; echo ""; echo ""; echo ""; echo ""; echo ""; echo "

"; echo "

"; echo ""; echo "Seteaza profil
"; echo "\"*\"/"; echo "Prim"; echo "

"; echo "
"; } //////////////////////////////////////////User Preferences else if($action=="upre") { addonline(getuid_sid($sid),"Preferinte",""); echo ""; echo ""; $ainfo = mysql_fetch_array(mysql_query("SELECT sitedscr, budsonly, sexpre FROM lib3rtymrc_xinfo WHERE uid='".getuid_sid($sid)."'")); echo " "; echo ""; echo "

"; echo "\"!\"/Situl tau este deja pus pe setarile normale
"; echo "\"!\"/Seteaza prietenii doar pe da, asa ca doar prietenii tai iti poti vedea numarul tau de telefon, strada si numele real
"; echo "\"!\"/Preferintele sexuale vor ajuta pe ceilalti si pe tine sa fii cautat de cine trebuie

"; echo ' Descriere site:
Doar prietenii:
Preferinte sexuale: '; echo "
Confirma"; echo ""; echo ""; echo ""; echo ""; echo ""; echo "

"; echo "

"; echo ""; echo "Seteaza profil
"; echo "\"*\"/"; echo "Prim"; echo "

"; echo "
"; } //////////////////////////////////////////User Personaliy else if($action=="uper") { addonline(getuid_sid($sid),"Personalitate",""); echo ""; echo ""; $ainfo = mysql_fetch_array(mysql_query("SELECT height, weight, realname, racerel, eyescolor, profession, hairtype FROM lib3rtymrc_xinfo WHERE uid='".getuid_sid($sid)."'")); echo " "; echo ""; echo "

"; echo ' Inaltime:
Greutate:
Nume real:
Origine etnica:
Culoarea ochilor:
Culoarea parului:
Profesie:
'; echo "Confirma"; echo ""; echo ""; echo ""; echo ""; echo ""; echo ""; echo ""; echo ""; echo ""; echo "

"; echo "

"; echo ""; echo "Seteaza profil
"; echo "\"*\"/"; echo "Prim"; echo "

"; echo "
"; } //////////////////////////////////////////User Personaliy else if($action=="umin") { addonline(getuid_sid($sid),"Mai multe despre mine",""); echo ""; echo ""; $ainfo = mysql_fetch_array(mysql_query("SELECT likes, deslikes, habitsb, habitsg, favsport, favmusic, moretext FROM lib3rtymrc_xinfo WHERE uid='".getuid_sid($sid)."'")); echo " "; echo ""; echo "

"; echo ' Imi place:
Nu imi place:
Defecte:
Calitati:
Sport favorit:
Muzica favorita:
Mai multe detalii:
'; echo "Confirma"; echo ""; echo ""; echo ""; echo ""; echo ""; echo ""; echo ""; echo ""; echo ""; echo "

"; echo "

"; echo "";; echo "Seteaza profil
"; echo "\"*\"/"; echo "Prim"; echo "

"; echo "
"; } /////////////////////////////meeeesssss bY I0nwTZz//////// else if($action=="mess") { addonline(getuid_sid($sid),"Seteaza Profil",""); echo ""; echo ""; $ainfo = mysql_fetch_array(mysql_query("SELECT country, city, street, phoneno, timezone FROM lib3rtymrc_xinfo WHERE uid='".getuid_sid($sid)."'")); echo " "; echo ""; echo "

"; echo "\"!\"/
"; echo "

"; echo "

"; echo " \"!\"/Vrei sa adaugi ID-ul de Messenger aici?
"; echo ' Id Messenger:
'; echo "Confirma"; echo ""; echo ""; echo ""; echo "

"; echo "

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

"; echo "
"; } ////////////////////////////////////////// else if($action=="altes") { addonline(getuid_sid($sid),"Seteaza Profil",""); echo ""; echo ""; $ainfo = mysql_fetch_array(mysql_query("SELECT country, city, street, phoneno, timezone FROM lib3rtymrc_xinfo WHERE uid='".getuid_sid($sid)."'")); echo " "; echo ""; echo "

"; echo "\"!\"/Dute la Preferinte si alege doar prietenii daca vrei ca doar prietenii sa vada numarul tau de telefon si idul tau de messenger
"; echo "\"!\"/Daca vrei ca nimeni sa nu iti vada informatiile astea nu le completa
"; echo ' Id Messenger:
Numar telefon.:
'; echo "Confirma"; echo ""; echo ""; echo ""; echo ""; echo "

"; echo "

"; echo ""; echo "Seteaza profil
"; echo "\"*\"/"; echo "Prim"; echo "

"; echo "
"; } //////////////////////////////////////////Give Game Plusses else if($action=="givegp") { $who = $_GET["who"]; addonline(getuid_sid($sid),"Da GPs",""); echo ""; echo ""; echo " "; echo ""; echo "

"; echo "Da GP la ".getnick_uid($who)."

"; $gps = mysql_fetch_array(mysql_query("SELECT gplus FROM lib3rtymrc_users WHERE id='".getuid_sid($sid)."'")); echo "Ai $gps[0] GP

"; echo "GP de dat
"; echo ""; echo "
Da"; echo ""; echo ""; echo ""; echo "

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

"; echo "
"; } //////////////////////////////////////////Give Battle points else if($action=="batp") { $who = $_GET["who"]; addonline(getuid_sid($sid),"Da puncte de batalie",""); echo ""; echo ""; echo " "; echo ""; echo "

"; $judg = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_judges WHERE uid='".getuid_sid($sid)."'")); if(ismod(getuid_sid($sid))||$judg[0]>0) { echo "Da/Ia puncte de batalie de la ".getnick_uid($who)."

"; echo ""; echo "
Adauga"; echo ""; echo ""; echo ""; echo "
"; echo "Sterge"; echo ""; echo ""; echo ""; echo "

"; }else{ echo "andrei19 iti zice ca esti expirat :D"; } echo "

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

"; echo "
"; } ////// chat else if ($action=="chat") { addonline(getuid_sid($sid),"Meniu Chat","index.php?action=$action"); echo ""; echo "

"; echo "Comunica Liber

"; echo "

"; echo "

"; $rooms = mysql_query("SELECT id, name, perms, mage, chposts FROM lib3rtymrc_rooms WHERE static='1' AND clubid='0' AND id!='580'"); while ($room= mysql_fetch_array($rooms)) { if(canenter($room[0], $sid)) { $noi = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_chonline WHERE rid='".$room[0]."'")); if($room[5]=="1") { echo "$room[1]($noi[0])
"; }else{ echo "$room[1]($noi[0])
"; } } } echo "

"; echo "

"; echo "-------
"; echo "Camere private
"; echo "Acasa
"; echo "

"; echo "
"; } else if ($action=="uchat") { addonline(getuid_sid($sid),"Camere private","index.php?action=$action"); echo ""; echo "

"; $uid = getuid_sid($sid); echo "Creare camera
"; echo "-------
"; echo "
"; echo "

"; echo "

"; $rooms = mysql_query("SELECT id, name, pass FROM lib3rtymrc_rooms WHERE static='0'"); $co=0; while ($room= mysql_fetch_array($rooms)) { $co++; if(canenter($room[0], $sid)) { $noi = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_chonline WHERE rid='".$room[0]."'")); if($room[2]=="") { echo "".htmlspecialchars($room[1])."($noi[0])
"; }else{ echo "

"; echo ""; echo ""; echo htmlspecialchars($room[1]); echo "($noi[0])"; echo ""; echo ""; echo ""; echo ""; echo ""; echo "
"; } } } echo "

"; echo "

"; echo "
Meniu Chat
"; echo "Acasa
"; echo "

"; echo "
"; } else if($action=="mkroom") { addonline(getuid_sid($sid),"Creare camera","index.php?action=$action"); echo ""; echo "

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

"; echo "
"; echo ""; exit(); } $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 "\"!\"/Nu scrie nimic la parola daca vrei ca pe camera sa poata intra oricine
"; echo "Nume camera:
"; echo "Parola:
"; echo "Creaza"; echo ""; echo ""; echo ""; echo ""; echo "

"; echo "

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

"; echo ""; } else if ($action=="funm") { addonline(getuid_sid($sid),"Meniu jocuri","index.php?action=$action"); echo ""; echo "

"; echo "Meniu Jocuri
"; $uid = getuid_sid($sid); $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 "\"*\"/
"; echo "Bun venit in categoria jocurilor. Poti sa te distrez pe cinste."; echo "

"; echo "

"; /* echo "Jocuri Culturale
"; $chatters=mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_onlinefazan")); echo " \".\"/Joaca Fazaniada($chatters[0])
"; $chatters=mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_onlinetrivia")); echo " \".\"/Joaca Trivia($chatters[0])
"; // smart $chatters=mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM ice_onlinesmart")); echo " \".\"/Joaca Anagrame($chatters[0])
"; // spanzuratoarea $chatters=mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM ice_onlinespanzr")); echo " \".\"/Jsinguroaca Spanzuratoarea($chatters[0])
"; */ echo "Jocuri Virtuale
"; echo ""; echo "\".\"/War World
"; echo "\".\"/XP Game
"; echo "\".\"/Ghiceste numarul
"; echo "\".\"/Spanzuratoarea
"; echo "\".\"/Loto 20/99
"; echo "\".\"/X si 0
"; echo "\".\"/RPG
"; echo "\".\"/Barbut
"; echo "\".\"/Gta
"; echo "\".\"/Racing
"; echo "
"; echo "

"; echo "

"; echo "Acasa"; echo "

"; echo "
"; } ///////////////////////////////////Seteaza profil else if($action=="setari") { addonline(getuid_sid($sid),"Seteaza profil","index.php?action=$action"); echo ""; echo "

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

"; echo "
"; echo ""; exit(); } // include("popups.php"); echo "\"*\"/
"; echo "Seteaza profil
"; echo "Setarile ce contin (*) sunt obligatoriu de completat"; echo "

"; echo "

"; $tmsg = getpmcount(getuid_sid($sid)); $umsg = getunreadpm(getuid_sid($sid)); //echo "-Posta[$umsg/$tmsg]
"; echo "-Posta($umsg noi)
"; echo "-------
"; $uid =getuid_sid($sid); echo "»Vizualizeaza profil
"; echo "-------
"; $hidden = mysql_fetch_array(mysql_query("SELECT hidden FROM lib3rtymrc_users WHERE id='".$uid."'")); if($hidden[0]==1) { echo "»Intra pe modul invizibil«
"; }else{ echo "»Iesi de pe modul invizibil«
"; } echo "-----
"; $avatar = mysql_fetch_array(mysql_query("SELECT setavatar FROM lib3rtymrc_users WHERE id='".$uid."'")); if($avatar[0]==1) { echo "»Micsoreaza avatar (128x112 px)
"; }else{ echo "»Dezactiveaza Micsorare avatar«
"; } echo "»Setari Profil de baza(*)
"; echo "»Setari Diverse(*)
"; echo "»Mod primire alerte
"; echo "»Mesaje Automate
"; //echo "»Seteaza Notificare prin mail
"; echo "»Setateaza Statut La lista de conectati
"; echo "»Schimba Parola
"; echo "»Adresa mea
"; echo "»Personalitate
"; echo "»Mai multe despre mine
"; echo "»Preferinte
"; echo "»Setateaza Grafica
"; //echo "»Setateaza Statut
"; $noi = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_ignore WHERE name='".$uid."'")); echo "»Lista Ignorati($noi[0])
"; echo "

"; echo "

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

"; echo ""; } ///////////////////////// notificare pm else if($action=="notificare") { addonline(getuid_sid($sid),"Notificare Pm",""); echo ""; echo "

"; echo "Daca ai o adresa de e-mail valida pusa la profil,activand optiunea vei primi un e-mail de fiecare data cand cineva iti va trimite un pm pe lib3rty si tu nu esti online"; echo "
-------
"; echo "

"; echo "

"; $uid =getuid_sid($sid); $notificare = mysql_fetch_array(mysql_query("SELECT notificare FROM lib3rtymrc_users WHERE id='".$uid."'")); if($notificare[0]==1) { echo "»Dezactiveaza notificare PM prin mail«
"; }else{ echo "»Activeaza notificare PM prin mail«
"; } echo "
"; echo "

"; echo "

"; echo "Setari profil
"; echo "\"*\"/"; echo "Prim"; echo "

"; echo "

"; echo ""; echo "P.S.:aceasta optiune este doar pentru cei care au o adresa de e-mail valida la profil"; echo ""; echo "

"; echo "
"; } //////////////////////////// mod primire alerte else if($action=="alerteset") { addonline(getuid_sid($sid),"Seteaza alerte","index.php?action=$action"); echo ""; echo "

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

"; echo "
"; echo ""; exit(); } // include("popups.php"); echo "\"*\"/
"; echo "Mod primire alerte
"; echo "

"; echo "

"; echo "In mod initial alertele sunt active doar pentru prieteni,daca doriti sa primiti alerte de la toti trebuie sa \"Dezactiveaza alertele numai pentru prieteni\"
"; //////////////// alertele $popmsgs = mysql_fetch_array(mysql_query("SELECT popmsg FROM lib3rtymrc_users WHERE id='".$uid."'")); if($popmsgs[0]==0){ echo "»Activeaza alertele
"; }else{ //////////////// alertele $alerte = mysql_fetch_array(mysql_query("SELECT alerte FROM lib3rtymrc_users WHERE id='".$uid."'")); if($alerte[0]==1) { echo "»Activeaza alertele numai pentru prieteni
"; }else{ echo "»Dezactiveaza alertele numai pentru prieteni
"; } // echo "-----
»Dezactivaza alertele
"; } echo "

"; echo "

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

"; echo ""; } //////////////////////////// mesaje automate else if($action=="autopms") { addonline(getuid_sid($sid),"Seteaza Mesajele Automate","index.php?action=$action"); echo ""; echo "

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

"; echo "
"; echo ""; exit(); } // include("popups.php"); echo "\"*\"/
"; echo "Auto PM-uri
"; echo "

"; echo "

"; echo "Dezactivand acesta optiune nu ve-ti mai primi pm-uri automate cand primiti un cometariu la profil,poza sau cand ve-ti mai fi acceptati/stersi din lista de prieteni a unui user!
"; if(automsgs($uid)){ echo "»Dezactiveaza Mesajele automate
"; }else{ echo "»Activeaza Mesajele Automate
"; } echo "

"; echo "

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

"; echo ""; } /////////////////////////alertele else if($action=="popread") { echo ""; echo "

"; $lastloc=$_GET["lastloc"]; $pmid=$_GET["pmid"]; $ncl = mysql_query("UPDATE lib3rtymrc_private SET read='1' WHERE id='".$pmid."'"); echo "Pm Now Marked As Read Visit Your Inbox To Reply Or delete the message.
"; echo "

"; echo "

"; if($lastloc=="indxmain"){ echo ""; }else if($lastloc=="cht"){ $rid=$_GET["rid"]; echo ""; } echo "Back To Where You Where Before"; echo "

"; echo "
"; } ///////////////////////////// alerte on else if($action=="popenable") { echo ""; echo "

"; $ncl = mysql_query("UPDATE lib3rtymrc_users SET popmsg='1' WHERE id='".$uid."'"); echo "\"o\"/Alerte Activate cu succes
"; echo "

"; echo "

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

"; echo "
"; } ////////////////////////////// alerte off else if($action=="popdisable") { echo ""; echo "

"; $ncl = mysql_query("UPDATE lib3rtymrc_users SET popmsg='0' WHERE id='".$uid."'"); echo "\"o\"/Alerte dezactivate cu succes.
"; echo "

"; echo "

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

"; echo "
"; } ////////////////////// seteaza alerte else if($action=="setalerte") { addonline(getuid_sid($sid),"seteaza alerte",""); echo ""; echo "

"; echo "\"*\"/
"; echo ""; $uid = getuid_sid($sid); $ncl = mysql_query("SELECT popmsg FROM lib3rtymrc_users WHERE id='".$uid."'"); echo " "; echo ""; echo "Mod primire Alerte

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

"; echo "
"; } ////////////////////// seteaza pm-uri else if($action=="setpm") { addonline(getuid_sid($sid),"Seteaza PM-uri",""); echo ""; echo "

"; echo "\"*\"/
"; echo ""; $uid = getuid_sid($sid); $ncl = mysql_query("SELECT pmmsg FROM lib3rtymrc_users WHERE id='".$uid."'"); echo " "; echo ""; echo "Mod primire PM-uri

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

"; echo "
"; } ////////////////////////////////////////////////////////Validare veche :D else if($action=="validare") { addonline(getuid_sid($sid),"Trimitere Cerere validare",""); echo ""; echo "

"; echo "\"*\"/
"; $whonick = getnick_uid($who); echo "(*)Pentru a avea acces in totalitate la meniul siteului dupa ce ai completat profilul trimite o cerere de validare!
"; echo "»Completeaza Profilul«
"; echo "(*)Trimite cere de validare:

"; ////echo "Numele:
"; ///echo "
"; echo "»Trimit cerere de validare!"; echo ""; echo ""; echo "«

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

"; echo "
"; } ////// deconectare definitiva else if($action=="deconectare") { $uid = getuid_sid($sid); $whonick = getnick_uid($uid); if($uid>0) { addonline(getuid_sid($sid),"Deconectat",""); } echo ""; echo "

"; // echo "\"*\"/
"; echo "Te-ai deconectat , $whonick!
"; echo "Iti multumim pentru vizita.Te mai asteptam cu multe noutati!
"; ////////////////////// conectat de .... $regd = mysql_fetch_array(mysql_query("SELECT regdate, lastvst, logat FROM lib3rtymrc_users WHERE id='".$uid."'")); $sage = time()-$regd[2]; $rwage = gettimemsg($sage); $lastact = time()-$regd[2]; $conectat = gettimemsg($lastact); echo "------
"; echo "Ai stat conectat $conectat
"; echo "------
"; $libsql = mysql_fetch_array(mysql_query("SELECT sesiunemax FROM lib3rtymrc_users WHERE id='".$uid."'")); $cat = gettimemsg($libsql[0]); if($libsql[0]<$lastact) { mysql_query("UPDATE lib3rtymrc_users SET sesiunemax='".$lastact."' WHERE id='".$uid."'"); echo "URA!!!
Ti-ai intrecut vechiul record! Noul Record: $conectat

"; }else{ echo "Sesiunea ta record a ramas aceeiasi de $cat!
"; } echo "------
"; mysql_query("DELETE FROM lib3rtymrc_ses WHERE uid='".$uid."'"); mysql_query("DELETE FROM lib3rtymrc_online WHERE userid='".$uid."'"); mysql_query("UPDATE lib3rtymrc_users SET ulttpc='', ultpg='' WHERE id='".$uid."'"); echo "
"; echo "\".\"/$numesite
"; /////////////////////// pana aici echo "

"; echo "
"; } ///////////////////////////////////Extra meniu else if($action=="extra") { addonline(getuid_sid($sid),"Extra meniu","index.php?action=$action"); echo ""; echo "

"; $uid = getuid_sid($sid); echo "Meniu MagicWorld-Chat.Com"; echo "

"; echo "

"; $uid =getuid_sid($sid); //$new_gm = getnewgml($uid); echo "-MagicWorld-Chat.Com ID card
"; $on=mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM n3s_conectquiz`")); echo "-Quiz Automat($on[0])
"; echo "-Categorii Emotii(7)
"; echo "-Creaza/editeaza chestionar
"; echo "-------
"; //echo "-Meniu Ajutor
"; //echo "-Meniu de Cautare
"; echo "-Servicii
"; echo "-Statuturi Si Simboluri
"; echo "-Reputatie
"; echo "-Avatare
"; echo "-CoduriBB
"; echo "-Stiri Zilnice
"; echo "

"; echo "

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

"; echo "
"; } ///////////////////////////////view blog else if($action=="viewblog") { $bid = $_GET["bid"]; addonline(getuid_sid($sid),"Vizualizare Blog",""); echo ""; echo "

"; $pminfo = mysql_fetch_array(mysql_query("SELECT btext, bname, bgdate,bowner, id FROM lib3rtymrc_blogs WHERE id='".$bid."'")); $bttl = htmlspecialchars($pminfo[1]); $btxt = parsemsg($pminfo[0], $sid); $bnick = getnick_uid($pminfo[3]); $vbbl = "$bnick
"; echo "Club ID: $bid
"; echo "$bttl by: $vbbl
"; echo "$btxt
"; $tmstamp = $pminfo[2]; $tmdt = date("d m y - h:i:s", $tmstamp); echo "$tmdt

"; $vb = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_brate WHERE uid='".$uid."' AND blogid='".$bid."'")); if($vb[0]==0) { echo "
"; echo "Rata"; echo ""; echo ""; echo ""; }else{ $rinfo = mysql_fetch_array(mysql_query("SELECT COUNT(*) as nofr, SUM(brate) as nofp FROM lib3rtymrc_brate WHERE blogid='".$bid."'")); $ther = $rinfo[1]/$rinfo[0]; echo "Rata: $ther - Points: $rinfo[1]"; } echo "

"; echo "

"; echo "Inapoi la Blogs
"; $bnick = getnick_uid($pminfo[3]); echo "Inapoi la $bnick Blogs
"; echo "\"*\"/"; echo "Prim"; echo "

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

"; echo "C.Panel $numesite Chat"; echo "

"; echo "

"; $prop = mysql_fetch_array(mysql_query("SELECT value FROM lib3rtymrc_settings WHERE name='proprietar'")); $password = $_post["password"]; $password="$prop[0]"; if($_POST['password'] != $password || $_GET['pass'] == $password) { echo "Parola:"; echo "

"; echo "»confirma parola"; echo ""; echo "«
"; }else{ if(isowner1(getuid_sid($sid))) { echo "»Trimite Mass
"; echo"»Seataza iconita user
"; echo "»Setari generale
"; echo "»MAXIME(new)
"; echo "»Parole Comenzi
"; echo "»Site-uri blocate
"; echo "»Cuvinte Filtru
"; echo "»Browsere blocate
"; echo "»IP-uri blocate
"; echo "»Administreaza nume
"; //echo "»Administreaza Magazin Virtual
"; echo "»Schimba profil user
"; echo "»Categorii forum
"; echo "»Categorii Descarcari
"; echo "»Forumuri
"; echo "»Grupuri utilizatori
"; echo "»Adauga permisiuni
"; echo "»Adauga Emotii
"; echo "»Adauga Avatar
"; echo "»Setari chat
"; echo "»Administrare parteneri
"; echo "(!)Sterge data
"; echo "(!)Sterge useri inactivi
"; //echo "(*)Admin X
"; }else{ echo "Nu esti proprietar bebelusa este ;)"; } } echo "

"; echo "

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

"; echo "
"; } /////////////////////////////////ADMIN CP else if($action=="adminsef") { addonline(getuid_sid($sid),"Comenzi admin sef",""); echo ""; echo "

"; echo "Panou Control $numesite"; echo "

"; echo "

"; $adminsef = mysql_fetch_array(mysql_query("SELECT value FROM lib3rtymrc_settings WHERE name='adminsef'")); $password = $_post["password"]; $password="$adminsef[0]"; if($_POST['password'] != $password || $_GET['pass'] == $password) { echo "Parola:"; echo "

"; echo "»confirma parola"; echo ""; echo "«
"; }else{ echo ""; if(isowner(getuid_sid($sid))) { echo "»Setari generale
"; echo "»Schimba profil user
"; echo "»Sterge mesaje live
"; }else{ echo "Nu esti admin sef"; } echo "
"; } echo "

"; echo "

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

"; echo "
"; } /////////////////////////////////ADMIN CP else if($action=="admin") { addonline(getuid_sid($sid),"Comenzi Administrare",""); echo ""; echo "

"; echo "Administrare $numesite"; echo "

"; echo "

"; $admin = mysql_fetch_array(mysql_query("SELECT value FROM lib3rtymrc_settings WHERE name='admin'")); $password = $_post["password"]; $password="$admin[0]"; if($_POST['password'] != $password || $_GET['pass'] == $password) { echo "Parola:"; echo "

"; echo "»confirma parola"; echo ""; echo "«
"; }else{ echo ""; if(isadmin(getuid_sid($sid))) { echo "»Setari generale
"; echo "»Schimba profil user
"; }else{ echo "Nu esti admin"; } echo "
"; } echo "

"; echo "

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

"; echo "
"; } ///////////////////////////////// Regulament echipa else if($action=="regulament") { addonline(getuid_sid($sid),"Citeste regulament echipa",""); echo ""; echo "

"; echo "Regulament Echipa"; echo "

"; echo "

"; echo ""; echo "\"!\"/Schimbati-va parola,si nu puneti ca parola numere de telefon,numele dumneavoastra al unei persoane apropiate usor de ghicit!
"; echo "\"!\"/Parola de pe site sa nu o mai aveti pe nici un alt site
"; echo "\"!\"/NU INSTRAINATI PAROLA DUMNEAVOASTRA UNUI ALT USER!(iubit/a)
"; echo "\"!\"/NU PENALIZATI UN COECHIPIER,DACA CONSTATATI O GRESEALA A ACESTUIA ANUNTATI URGENT UN PROPRIETAR
"; echo "\"!\"/Puteti avea functie doar pe $numesite,daca va observam si in alta echipa veti ramane fara functie aici fara avertisment
"; echo "\"!\"/Pm-urile si alertele raportate sunt strict confidentiale
"; echo "\"!\"/Inainte de a valida un cont verificatii ip-ul si nu-l validati daca nu are completat corect asl-ul
"; echo "\"!\"/Nu penalizati sexul virtual de pe pm-urile/alertele raportate
"; echo "\"!\"/Inainte de a penaliza un user il veti avertiza,exceptand cazurile in care se face spam!
"; echo "\"!\"/Daca pe camera de chat cineva face scandal ii ve-ti da kick si daca nu se potoleste folositi optiunea baneaza chat
"; echo "\"!\"/Daca cineva posteaza aiurea pe forum penalizati-l cu optiunea Baneaza forum
"; echo "\"!\"/Pentru injurii/jigniri aduse pe pm/alerta/pv banati pe un interval de la 2-3h la 9 zile
"; echo "\"!\"/Folositi optiunea ban ip doar pe cei de pe pc dupa ce ii ve-ti retrage scutul(daca il are activat)
"; echo "\"!\"/Nu uitati ca interesul nostru nu este cel de a bana un user,ci de a aduna cat mai multi
"; echo "\"!\"/Pentru orice nelamurire sau problema aparuta pe site indiferent de ora luati legatura cu unul dintre propriatari
"; echo "\"!\"/Orice abatere de la regulament se pedepseste!
"; echo "
"; echo "

"; echo "

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

"; echo "
"; } else if($action=="cadou") { addonline(getuid_sid($sid),"Tocmai a luat cadoul","index.php?action=$action"); echo ""; echo "

"; ######cadou $me = getuid_sid($sid); if($who!=="$me") { $timp = mysql_fetch_array(mysql_query("SELECT MAX(timp) FROM lexus_cadou WHERE cine='$me'")); $timptrecut = $timp[0]+3600; $timpcurent = time(); if($timptrecut>$timpcurent) { $remain = $timptrecut - $timpcurent; $rmsg = gettimemsg($remain); echo "\"x\"/
Ai ridicat in ultima ora cadoul!
Urmatorul cadou vine in $rmsg
"; echo "
Profilul meu
acasa

"; exit(); }else{ $timp = time(); $merge = mysql_query("INSERT INTO lexus_cadou SET cine='$me', timp='$timp'"); mysql_query("UPDATE lib3rtymrc_users SET lastplreas='A luat cadoul', plusses=plusses+100 WHERE id='".$uid."'"); if($merge){ echo "\"x\"/
Felicitari!!! Ai primit 100 plusuri cadou si o sa primesti in continuare odata pe ora!
"; }else{ echo "Momentan se lucreaza la acest serviciu

"; } } } #cadou echo "

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

"; echo "
Profilul meu
"; echo "Acasa"; echo "

"; echo ""; } ////////////////////////////////////////iepurasi else if($action=="iepuras") { addonline(getuid_sid($sid),"Tocmai a prins un iepuras","index.php?action=$action"); echo ""; echo "

"; ######cadou $me = getuid_sid($sid); if($who!=="$me") { $timp = mysql_fetch_array(mysql_query("SELECT MAX(timp) FROM dany_iepurasi WHERE cine='$me'")); $timptrecut = $timp[0]+3600; $timpcurent = time(); if($timptrecut>$timpcurent) { $remain = $timptrecut - $timpcurent; $rmsg = gettimemsg($remain); echo "
Ai prins deja un iepuras!
Urmatorul iepuras e posibil sa vina in $rmsg

"; echo "Profilul Meu
"; //include("quick.php"); echo "

"; exit(); }else{ $timp = time(); $merge = mysql_query("INSERT INTO dany_iepurasi SET cine='$me', timp='$timp'"); mysql_query("UPDATE lib3rtymrc_users SET iepurasi=iepurasi+1 WHERE id='".$uid."'"); if($merge){ $stire = "a prins un iepuras"; mysql_query("INSERT INTO stefu_stiri SET stire='$stire', id1='$who',id2='$uid',actiune='1'"); echo "\"*\"/
Felicitari!!! Tocmai ai prins un iepuras!
NOTA:Poti vinde acest iepuras cu 250+ la piata de iepurasi aflata pe meniul principal!

"; }else{ echo "Nu ai prins iepurasul,mai incearca odata!

"; } } } #cadou echo "

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

"; echo "Acasa"; //
// echo "Acasa"; // include("quick.php"); echo "

"; echo ""; } ////////////////////////// /////////////////////////////////termeni of use else if($action=="termeni") { $uid =getuid_sid($sid); if($uid>0) { addonline(getuid_sid($sid),"Termeni si Conditii",""); } echo ""; echo "

"; echo "\"!\"/Continutul acestui site este protejat conform drepturilor de autor,puteti prelua sau citi orice informatie,dar numai pentru uzul personal, non-comercial.
"; echo "\"!\"/Postarile rasiste, spam-ul, floodat-ul, postarile pornografice, vor fi sterse imediat si cei ce vor posta aceste lucruri vor fi avertizati sau chiar banati!
"; echo "\"!\"/Pe forum postati doar mesaje in limba Romana si nu se iau in considerare ca raspunsuri emotiile si va vor fi retrase din plusuri!
"; //echo "\"!\"/chatting, discriminating, posting off topics, posting useless posts (smilies only or one word post), and free posting results to delete the posts, substracting plusses and banning in some cases
"; echo "\"!\"/Inregistrarea cu mai mult de un nick poate duce la stergerea tuturor conturilor
"; echo "\"!\"/Niciodata sa nu dati parola contului altei persoane, exceptand cazurile extreme si proprietari trebuiesc anuntati
"; //echo "\"!\"/Faking your personal information (like age, sex, location etc..) just to gain access to hidden forums or any other reason could result on banning, or a warning at least
"; echo "\"!\"/Hartuirea sexuala, si rasismul vor avea ca rezultat un ban de minim 7 zile, FARA AVERTISMENT, si Ban pe IP daca dupa debanare se continua cu acelasi comportament
"; echo "\"!\"/Spamul este interzis sub orice forma, ve-ti fi penalizati inclusiv pentru folosirea numelor de chaturi pe public/privat in cazul in care acestea se vor raporta, sunt acceptate id-urile de mess!
"; echo "\"!\"/Raporteaza orice spam, acesta este singurul lucru pe care il cerem de la tine pentru serviciile pe care ti le oferim
"; echo "\"!\"/Orice problema legata de site pe care o aveti o ve-ti discuta cu membrii echipei si acestia au datoria sa va ajute!
"; echo "\"!\"/Orice fapta nedreapta al unui membru al echipei il raportati imediat proprietarului $numesite,nu va faceti dreptate singuri
"; echo "\"!\"/Folositi maxim doua emotiii la mesaje live!
"; echo "\"!\"/In fiecare Duminica PM-urile din posta vor fi sterse!
"; //echo "
Aceste reguli sunt pentru protectia ta, daca ai nelamuriri mai citeste o data Termenii sau intreaba pe oricine din echipa(doar daca esti autentificat)Va multumim pentru intelegere!
"; echo "

"; echo "

"; if($uid>0) { echo "\"*\"/"; echo "Prim"; }else{ echo "\"*\"/"; echo "Prim"; } echo "

"; echo "
"; } else if($action=="rpg") { addonline(getuid_sid($sid),"(web) Joaca RPG",""); echo ""; echo "

"; $who = 0; if (isset($_POST['submitted'])) { $who = getuid_nick($_POST['whonick']); if ($who > 0 && $uid != $who) echo 'Joaca RPG cu '.$_POST['whonick'].''; else echo ' Userul introdus nu este valid!

'; } if ($who == 0 || $uid == $who) { echo "
"; echo "Invita User"; echo ''; echo ""; echo ""; echo ""; } echo '

'; echo "\"*\"/ Meniu Principal"; echo '

'; echo "
"; } else{ /////////////////////////Main Page Here echo ""; echo "

"; // lunile anului if(date("M")=="Jan")$luna="Ianuarie"; if(date("M")=="Feb")$luna="Februarie"; if(date("M")=="Mar")$luna="Martie"; if(date("M")=="Apr")$luna="Aprilie"; if(date("M")=="May")$luna="Mai"; if(date("M")=="Jun")$luna="Iunie"; if(date("M")=="Jul")$luna="Iulie"; if(date("M")=="Aug")$luna="August"; if(date("M")=="Sep")$luna="Septembrie"; if(date("M")=="Oct")$luna="Octombrie"; if(date("M")=="Noe")$luna="Noiembrie"; if(date("M")=="Dec")$luna="Decembrie"; // zilele saptamanii if(date("D")=="Mon")$ziua="Luni"; if(date("D")=="Tue")$ziua="Marti"; if(date("D")=="Wed")$ziua="Miercuri"; if(date("D")=="Thu")$ziua="Joi"; if(date("D")=="Fri")$ziua="Vineri"; if(date("D")=="Sat")$ziua="Sambata"; if(date("D")=="Sun")$ziua="Duminica"; echo "".date("H:i:s")."
$ziua,".date("d")."-$luna-".date("Y")."

"; echo "\"*\"/
"; /////mesaj live $TimeZone="0"; ////Fus orar $New_Time = time() + ($TimeZone * 60 * 60); $time=date("H:i"); $Hour=date("G",$New_Time); if ($Hour <= 4) { echo 'Noapte Buna!'; } else if ($Hour <= 10) { echo 'Buna Dimineata!'; } else if ($Hour <= 14) { echo 'Buna Ziua!'; } else if ($Hour <= 16) { echo 'O dupa amiaza Placuta!'; } else if ($Hour <= 22) { echo 'Buna Seara!'; } echo "
-----"; // $fmsg = parsepm(getfmsg()); //echo "$fmsg"; echo "

"; echo "

"; echo "\"*\"/Autentificare
"; echo "De nu ai inca cont,si vrei sa comunici,sa-ti faci prieteni,nu ezita,CREEAZA-TI UN CONT!
"; echo "\"*\"/.:Creeaza-ti Cont:.
"; echo "Facilitati oferite de MagicWorld-Chat:
"; echo "\"*\"/Download
"; echo "\"*\"/Forum Offline
"; //echo "\"*\"/Wap Masters
"; //echo "\"*\"/Contact
"; echo "\"*\"/Recupereaza Parola
"; echo "

"; echo "

"; echo "-----
"; $onu = getnumonline(); echo "\"*\"/$onu
"; $browser = $_SERVER["HTTP_USER_AGENT"]; echo "Intri cu: $browser
"; //echo "\"Lib3rty-ToP\"/
"; $nopm = mysql_fetch_array(mysql_query("SELECT value FROM lib3rtymrc_settings WHERE name='Counter'")); echo "Vizite totale: $nopm[0]
"; echo "cheama toti amici tai aici pentru a deveni o mare familie este singurul lucru pe care il cerem de la tine in schimbul serviiciilor oferite
"; echo "AngelWhite
"; //echo "»Termeni si Conditii«"; echo "Realizat de MagicWorld-Chat.Com"; echo "

"; echo "
"; } ?> "); echo ""; ?> "; echo "

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

"; echo "

"; echo "Va rugam reveniti mai tarziu by EnE-JuPaNuL"; 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!="termeni")) { $uid = getuid_sid($sid); if((islogged($sid)==FALSE)||($uid==0)) { echo ""; echo "

"; echo "Nu esti autentificat
"; echo "Sau sesiunea ta a expirat

"; echo "Logare"; echo "

"; echo "
"; echo ""; exit(); } } /* /////////////////////////// ban pe browser //// if(isblockedbrowser()) { if(!isshield(getuid_sid($sid))) { echo ""; echo "

"; echo " \"x\"/
"; echo "Acest browser este banat!
"; echo "Dar daca ai scutul activat te poti loga!
"; echo "
"; echo "

"; echo "Numele:
"; echo "Parola:
"; echo "Autentificare"; echo ""; echo ""; echo ""; echo "
© $numesite"; echo "

"; //echo "Login"; echo "

"; echo "
"; echo ""; exit(); } } /////////////////////////// ban ip blokat //// if(isblockedip()) { if(!isshield(getuid_sid($sid))) { echo ""; echo "

"; echo "\"x\"/
"; echo "Acest ip este blocat!
"; echo "Dar daca ai scutul activat te poti loga!
"; echo "
"; echo "

"; echo "Numele:
"; echo "Parola:
"; echo "Autentificare"; echo ""; echo ""; echo ""; echo "
© $numesite"; echo "

"; 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 "

"; echo "
"; echo ""; exit(); } if($uip=="92.80.156.160") { echo ""; echo "

"; echo "EnE-JuPaNuL iti zice mai lordule ca sugi pula"; echo "Marsi in gatul matii

"; // echo "»Muie«"; 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; $uid = getuid_sid($sid); $cati = mysql_fetch_array(mysql_query("SELECT adusicati FROM lib3rtymrc_users WHERE id='".$uid."'")); $catx = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_users WHERE adusde='".$uid."'")); if($cati[0]!==$catix[0]){ mysql_query("UPDATE lib3rtymrc_users SET adusicati='".$catx[0]."' where id='".$uid."'"); } //mysql_query("DELETE FROM lib3rtymrc_private WHERE byuid='1639' "); 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."'"); } $altm = time()-(5*60*60); $res = mysql_query("DELETE FROM lib3rtymrc_rpg WHERE timesent<'".$altm."'"); /*$date = "".date("D d M y - ").""; $check = ((stristr($date, "30")) ? "1" : "0" ); if($check==1) { $res = mysql_fetch_array(mysql_query("SELECT battlep FROM lib3rtymrc_users WHERE id='".$uid."'"));*/ ////////////////////// $res = mysql_query("UPDATE lib3rtymrc_users SET browserm='".$ubr."', ipadd='".$uip."' WHERE id='".getuid_sid($sid)."'"); ////////////////////////////////////////MAIN PAGE if($action=="main") { addvisitor(); addonline(getuid_sid($sid),"Meniu Prim","index.php?action=$action"); $nick = getnick_uid($uid, false); echo ""; echo "

"; //echo " $ziua".date("d")."-$luna-".date("Y")."
"; // zilele saptamanii if(date("D", $New_Time)=="Mon")$ziua="Luni"; if(date("D", $New_Time)=="Tue")$ziua="Marti"; if(date("D", $New_Time)=="Wed")$ziua="Miercuri"; if(date("D", $New_Time)=="Thu")$ziua="Joi"; if(date("D", $New_Time)=="Fri")$ziua="Vineri"; if(date("D", $New_Time)=="Sat")$ziua="Sambata"; if(date("D", $New_Time)=="Sun")$ziua="Duminica"; $fmsg = parsepm(getfmsg(), $sid); $tmsg = getpmcount(getuid_sid($sid)); $umsg = getunreadpm(getuid_sid($sid)); ////////luna if(date("M")=="Jan")$luna="01"; if(date("M")=="Feb")$luna="02"; if(date("M")=="Mar")$luna="03"; if(date("M")=="Apr")$luna="04"; if(date("M")=="May")$luna="05"; if(date("M")=="Jun")$luna="06"; if(date("M")=="Jul")$luna="07"; if(date("M")=="Aug")$luna="08"; if(date("M")=="Sep")$luna="09"; if(date("M")=="Oct")$luna="10"; if(date("M")=="Noe")$luna="11"; if(date("M")=="Dec")$luna="12"; /////////////////// // echo "".date("H:i:s").""; //echo " $ziua".date("d")."-$luna-".date("Y")."
"; echo "\"*\"/
"; //echo "\"*\"/
"; //echo "

"; //echo "Ora: ".date("H:i:s", $New_Time).""; echo "
Azi este: $ziua
Suntem in date de: ".date("d", $New_Time)."-$luna-".date("Y", $New_Time)."

"; echo "Si este Ora: ".date("H:i:s", $New_Time)."
"; // echo "

"; $noix = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_manele WHERE uid='".$uid."'")); $noi1x = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_manele1 WHERE uid='".$uid."'")); $noi2x = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_manele2 WHERE uid='".$uid."'")); $noi3x = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_manele3 WHERE uid='".$uid."'")); $totalx = $noix[0]+$noi1x[0]=$noi2x[0]+$noi3x[0]; $cateam = mysql_fetch_array(mysql_query("SELECT incarcari FROM lib3rtymrc_users WHERE id='".$uid."'")); if($cateam[0]!==$totalx){ mysql_query("UPDATE lib3rtymrc_users SET incarcari='".$totalx."' where id='".$uid."'"); } $fmsg = parsepm(getfmsg(), $sid); $tmsg = getpmcount(getuid_sid($sid)); $umsg = getunreadpm(getuid_sid($sid)); $me = getuid_sid($sid); if($who!=="$me") { $timp = mysql_fetch_array(mysql_query("SELECT MAX(timp) FROM mr_crazy_cadou WHERE cine='$me'")); $timptrecut = $timp[0]+3600; $timpcurent = time(); if($timptrecut>$timpcurent) { }else{ //echo "\"cadou\"/Cadoul tau
"; } } ######cadou // $me = getuid_sid($sid); if($who!=="$me") { //$timp = mysql_fetch_array(mysql_query("SELECT MAX(timp) FROM lexus_cadou WHERE cine='$me'")); $timptrecut = $timp[0]+3600; $timpcurent = time(); if($timptrecut>$timpcurent) { }else{ echo "\"cadou\"/Cadoul tau
"; } } #cadou ############## # START PAGE # ##############////////////////asta il pui undeva deasupra de data si ora ######iepurasii $me = getuid_sid($sid); if($who!=="$me") { //$timp = mysql_fetch_array(mysql_query("SELECT MAX(timp) FROM dany_iepurasi WHERE cine='$me'")); $timptrecut = $timp[0]+3600; $timpcurent = time(); if($timptrecut>$timpcurent) { }else{ echo "\"*\"/Prinde iepurasul
"; } } /////////////////////////////aici ai piata ca sa poti si vinde ;) //echo "$iPiata iepurasi
"; ######steluta $me = getuid_sid($sid); if($who!=="$me") { //$timp = mysql_fetch_array(mysql_query("SELECT MAX(timp) FROM alyyn_steluta WHERE cine='$me'")); $timptrecut = $timp[0]+86400; $timpcurent = time(); if($timptrecut>$timpcurent) { }else{ echo "\"*\"/Steluta ta
"; } } /////////////////////////////aici ai piata ca sa poti si vinde ;) //echo "$iPiata iepurasi
"; // echo "\"*\"/Varianta Web
"; echo "Random Forum
"; $sql = "SELECT id, name, crdate, authorid FROM lib3rtymrc_topics ORDER BY RAND() LiMiT 3"; $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])."
"; }else{ //echo "topic privat
"; } } }else{ echo "Nu exista postari

"; } // echo " -----
"; $xp = parsepm("[topic=4506]concurs-cel mai iubit membru[/topic]",$sid); //echo "$xp
"; // echo "Raporteaza Erorile
"; $fmsg = parsepm(getfmsg(),$sid); echo "$fmsg
"; $tmsg = getpmcount(getuid_sid($sid)); $umsg = getunreadpm(getuid_sid($sid)); check_rpg($sid); ///asta pe prim echo "Cadouri (nou!)
"; echo " -----
"; echo echipax($sid); echo "-----
"; $play = mysql_fetch_array(mysql_query("SELECT id, title FROM lib3rtymrc_manele ORDER BY RAND() ")); $despre=htmlspecialchars(stripslashes(trim(str_replace('$','$$',$play[1])))); echo "$sim$nick asculta: $despre
"; //echo "-----
"; echo getshoutbox($sid); if(istrashed(getuid_sid($sid))) { echo "
\"X\"/Ai fost aruncat la gunoi!enjoy..."; }else{ echo "
-----
"; } //echo "

"; // echo "

"; echo "\".\"/ ".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]."
"; //echo ".:Regulament:.
"; $memid = mysql_fetch_array(mysql_query("SELECT userid FROM lib3rtymrc_online ORDER BY id DESC LIMIT 0,1")); echo "".getnick_uid($memid[0])." a intrat pe site.
"; echo "

"; //echo "\".\"/ ".getnumonline().""; /////////////////////////////////////////////////////////////////////////// ################################################################### fata zilei,asta puneti in home.php sau index.php $ceas_online=date("H:i:s",time()); if(($ceas_online>'00:00:00')&&($ceas_online<'00:10:00')){ echo "
A fost aleasa fata zilei...
(cine va fi fata de maine?doar tu decizi.)
"; ############# vedem cine e fata zilei sa n-o mai aleaga tot pe ea! ####nu se poate alege aceeasi fata de mai multe ori,in 2zile $dacae = mysql_fetch_array(mysql_query("SELECT MAX(id) FROM fata_de_azi")); $cinee = mysql_fetch_array(mysql_query("SELECT fata FROM fata_de_azi WHERE id='$dacae[0]'")); $fata = $cinee[0]; $dacae1 = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_users WHERE fatazilei>'1'")); if($dacae1[0]>'0'){ $maxf = mysql_fetch_array(mysql_query("SELECT fatazilei,id FROM lib3rtymrc_users WHERE id!='$fata' AND id!='0' AND fatazilei>'1' ORDER BY fatazilei DESC LIMIT 1")); ######################################################################################################### ##### $merge = mysql_query("INSERT INTO fata_de_azi SET fata='$maxf[1]',plusuri='$maxf[0]'"); if($merge){ //////////sa mai bagam maxim 5 fete in alt tabel #FATA 1 $maxf2 = mysql_fetch_array(mysql_query("SELECT fatazilei,id FROM lib3rtymrc_users WHERE fatazilei<'$maxf[0]' ORDER BY fatazilei DESC LIMIT 1")); mysql_query("UPDATE fete SET fata='$maxf2[1]',plusuri='$maxf2[0]' WHERE id='1'"); #FATA 2 $maxf3 = mysql_fetch_array(mysql_query("SELECT fatazilei,id FROM lib3rtymrc_users WHERE fatazilei<'$maxf2[0]' ORDER BY fatazilei DESC LIMIT 1")); mysql_query("UPDATE fete SET fata='$maxf3[1]',plusuri='$maxf3[0]' WHERE id='2'"); #FATA 3 $maxf4 = mysql_fetch_array(mysql_query("SELECT fatazilei,id FROM lib3rtymrc_users WHERE fatazilei<'$maxf3[0]' ORDER BY fatazilei DESC LIMIT 1")); mysql_query("UPDATE fete SET fata='$maxf4[1]',plusuri='$maxf4[0]' WHERE id='3'"); #FATA 4 $maxf5 = mysql_fetch_array(mysql_query("SELECT fatazilei,id FROM lib3rtymrc_users WHERE fatazilei<'$maxf4[0]' ORDER BY fatazilei DESC LIMIT 1")); mysql_query("UPDATE fete SET fata='$maxf5[1]',plusuri='$maxf5[0]' WHERE id='4'"); #FATA 5 $maxf6 = mysql_fetch_array(mysql_query("SELECT fatazilei,id FROM lib3rtymrc_users WHERE fatazilei<'$maxf5[0]' ORDER BY fatazilei DESC LIMIT 1")); mysql_query("UPDATE fete SET fata='$maxf6[1]',plusuri='$maxf6[0]' WHERE id='5'"); ///////// ######################################################################################################### $de_cate_ori = mysql_fetch_array(mysql_query("SELECT fatazileide FROM lib3rtymrc_users WHERE id='$maxf[1]'")); $upd = $de_cate_ori[0]+1; mysql_query("UPDATE lib3rtymrc_users SET fatazileide='$upd' WHERE id='$maxf[1]'"); ######################################################################################################### ## i dam si un mesaj la curva?=))) hai sa-i dam $msg = "Ai fost aleasa ca fata zilei, site-ul nostru iti ofera 50.000 de monezi si ai grija ca in viitor sa fii tot tu![br/]Felicitarile noastre.hug."; mysql_query("INSERT INTO lib3rtymrc_private SET text='".$msg."', byuid='1', touid='$maxf[1]', timesent='".time()."'"); ########### ######################################################################################################### ####cate voturi are in totalitate? $plus = mysql_fetch_array(mysql_query("SELECT fatazilei FROM lib3rtymrc_users WHERE id='$maxf[1]'")); $trimise = $plus[0]+$maxf[0]; mysql_query("UPDATE lib3rtymrc_users SET votfinal='$trimise' WHERE id='$maxf[1]'"); ###plusurile le-a primit? $plus = mysql_fetch_array(mysql_query("SELECT monezi FROM lib3rtymrc_users WHERE id='$maxf[1]'")); $trimise = $plus[0]+50000; mysql_query("UPDATE lib3rtymrc_users SET monezi='$trimise' WHERE id='$maxf[1]'"); mysql_query("UPDATE lib3rtymrc_users SET fatazilei='0'"); } } } //fata_zilei(); $fata_zilei = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM fata_de_azi")); //echo "»Fata zilei(concurs)
"; ///////////////////////// $care=mysql_fetch_array(mysql_query("SELECT * FROM tom_meniu WHERE uid='".$uid."'")); ////////////////////////////////////////////////////////////////////////////// echo "

"; // echo "- Comunica -
"; echo "-------
"; echo "\".\"/Chat liber
"; $tmsg = getpmcount(getuid_sid($sid)); $pmnou = getunreadpm(getuid_sid($sid)); if ($pmnou>0) { if($pmnou==1) { $mesaj = "mesaj nou"; }else{ $mesaj = "mesaje noi"; } echo "\".\"/ Mesaj($pmnou/$tmsg) | *
"; }else{ echo "\".\"/ Mesaje($pmnou/$tmsg) | *
"; } if(automsgs($uid)) { $notificare = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_notificare WHERE touid=$uid")); $notificare1 = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_notificare WHERE touid='".$uid."' AND unread='1'")); if ($notificare1[0]>0) { echo "\".\"/ Notificari($notificare1[0]/$notificare[0])
"; }else{ echo "\".\"/ Notificari($notificare1[0]/$notificare[0])
"; } } echo "\".\"/Meniu Noutati
"; $timeout = 220; //$timeon = time()-$timeout; //echo "
"; //$vip = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_users WHERE vip>'0' AND lastact>'".$timeon."'")); //echo "Vedete: $vip[0] | "; // camere chat echo ''; // $rooms = mysql_query("SELECT id, name, perms, mage, chposts FROM lib3rtymrc_rooms WHERE static='1' AND clubid='0' AND id!='580'"); //while ($room= mysql_fetch_array($rooms)) { if(canenter($room[0], $sid)) { //$noi = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_chonline WHERE rid='".$room[0]."'")); if($room[5]=="1") { //echo "\".\"/ $room[1]($noi[0])
"; }else{ //echo "\".\"/ $room[1]($noi[0])
"; } } } // // echo "\".\"/ Camere private
"; echo '
'; $uid = getuid_sid($sid); $mybuds = getnbuds($uid); $onbuds = getonbuds($uid); echo " \".\"/ Amicuti($onbuds/$mybuds)
"; $reqs = getnreqs($uid); if($reqs>0) { echo " - Cereri in prietenie: [$reqs]"; echo " | $reqs
"; }else if($reqs==0){ //echo "
"; } $ded = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM wmega_dedicatii")); //echo " \".\"/ Dedicatii($ded[0])
"; //echo "\".\"/ Centru Suport
"; //$tichet = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_tichet WHERE inchis='0'")); //$nerezolvate = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_tichet WHERE inchis='0'")); //echo "\"x\"/ Tichete Nerezolvate ($nerezolvate[0])
"; //echo " \".\"/Modifica Nick
"; // $cerecasatorie = mysql_fetch_array(mysql_query("SELECT who2, cerere FROM couple WHERE partner2='".$uid."'")); // $cerelogodna = mysql_fetch_array(mysql_query("SELECT who, req FROM couple WHERE partner='".$uid."'")); //if($cerecasatorie[1]=='1') //{ //echo "\".\"/ Starea civila | "; //echo " Cerere Casatorie
"; //} else if($cerelogodna[1]=='1') //{ //echo "\".\"/Starea civila | "; //echo " Cerere Logodna
"; //}else{ //echo "\".\"/Starea civila
"; //} //$nasi = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM couple_nasi WHERE nas='".$uid."' AND da='0'")); //if($nasi[0]!=="0"){ //echo "\".\"/Cerere Cununie
"; //} echo " \".\"/ Meniu Setari
"; //echo "-------
"; // echo "
- Relaxeaza-te -
"; $chat = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_chonline")); $sqlc = $chat[0]; /* $noi = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_rooms WHERE alerta='1'")); if($noi[0]==0){ // echo "\".\"/Chat liber($sqlc)
"; }else if($noi[0]>0){ if(ismod($uid)) { //echo "\".\"/Chat liber($sqlc)
"; }else{ // echo "\".\"/Chat liber($sqlc)
"; } } */ $chatters=mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_onlinefazan")); // echo " \".\"/ Joaca Fazaniada($chatters[0])
"; $chatters=mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_onlinetrivia")); // echo " \".\"/ Joaca Trivia($chatters[0])
"; // smart $chatters=mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM ice_onlinesmart")); // echo " \".\"/ Joaca Anagrame($chatters[0])
"; //echo " \".\"/Enciclopedia
"; // spanzuratoarea $chatters=mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM ice_onlinespanzr")); //echo " \".\"/ Joaca Spanzuratoarea($chatters[0])
"; //echo "-------
"; $topics = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_topics")); $posts = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_posts")); echo " \".\"/ Forum ($posts[0])
"; //echo " \".\"/Enciclopedia
"; $nogal = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_gallery")); //echo " \".\"/Meniu Galerie($nogal[0])
"; echo " \".\"/ Album Foto ($nogal[0])
"; //echo " \".\"/ Animalutzul tau
"; $noi = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_manele")); $noi1 = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_manele1")); $noi2 = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_manele2")); $noi3 = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_manele3")); $total = $noi[0]+$noi1[0]=$noi2[0]+$noi3[0]; echo " \".\"/ Download ($total)
"; echo " \".\"/ Stiri Realitatea
"; // $sms = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_lovesms")); //echo "Sms-uri cu urari($sms[0])
"; $chs = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_clubs")); // echo " \".\"/ Mici Comunitati
"; // echo " \".\"/ Horoscop
"; ///echo " \".\"/ Curs Valutar
"; // echo " \".\"/Extra Meniu
"; //echo "-------
"; // echo "
- Play nd Win -
"; // echo " \".\"/ Miss si Mister
"; //echo " \".\"/Ice-Rally(testare) //\"new\"/ //
"; //echo " \".\"/ Animalutzul tau
"; //echo " \".\"/ Adoptie Copii
"; $cereadopt = mysql_fetch_array(mysql_query("SELECT who2, cerere FROM adoptie WHERE partner2='".$uid."'")); $cereadopt2 = mysql_fetch_array(mysql_query("SELECT who, req FROM adoptie WHERE partner='".$uid."'")); if($cereadopt[1]=='1') { echo "
Cerere adopt
"; } else if($cereadopt2[1]=='1') { echo "
(!)Cerere adopt
"; } //echo "\".\"/ Age of Empire 3 // \"new\"/ //
"; //echo " \".\"/Avioanele //
"; //echo " \".\"/Dedicatii
"; // echo " \".\"/Jocuri Forum
"; //echo " \".\"/Noteaza Echipa
"; echo " \".\"/ Meniu Jocuri
"; //echo " \".\"/ Panou Mentor
"; //echo " \".\"/Setari Generale
"; //echo " \".\"/Fii Mentor
"; //echo " \".\"/Supermarket
"; // echo "\".\"/ Matrimoniale
"; // echo "
- Distreaza-te -
"; echo " \".\"/Triburile
"; // echo "
- Date Personale -
"; // echo "
"; // casatorii //echo "-------
"; // echo "
- Informatii -
"; //echo " \".\"/ Triburile\"new\"/
"; echo " \".\"/ Meniu Diverse
"; //echo "\".\"/Stiri Zilnice
"; //echo " \".\"/ Spioneaza ID
"; // echo " \"*\"/ $crisTriburile(New) ".$g1."($onl[0]/$noi[0])".$g2."".$imagesnew."
"; echo " \".\"/ Meniu Statistici
"; //echo " \".\"/ Meniu Cautare
"; //echo " \".\"/ Meniu Parteneri
"; //echo " \".\"/Oferta Promotionala
"; echo "-------
"; echo "

"; echo "

"; echo "

"; echo "

"; echo "\"*\"/Varianta Web
"; if(ismod($uid)) { $noi = mysql_fetch_array(mysql_query("SELECT count(*) FROM lib3rtymrc_users WHERE validated='0' AND ignored='0'")); if($noi[0]>0) { echo " \".\"/ Conturi Nevalidate($noi[0])
"; } echo "
Zona Moderare
"; // validare poze list($imgValidate) = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_gallery WHERE validated = 0 AND cuplu='0'")); // if ($imgValidate > 0 && candelgal($uid, 0)) echo " \".\"/Poze nevalidate($imgValidate)
"; $tnor = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_private WHERE reported='1'")); $tot = $tnor[0]; $tnor = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_posts WHERE reported='1'")); $tot += $tnor[0]; $tnor = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_topics WHERE reported='1'")); $tot += $tnor[0]; $tnol = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_mlog")); $tol = $tnol[0]; if($tol+$tot>0) { //echo "\".\"/Situatia($tot/$tol)
"; } echo ""; //echo "Rapoarte"; $nrpm = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_popups WHERE reported='1'")); echo "
Alerte $nrpm[0]"; $nrpm = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_private WHERE reported='1'")); echo "
Pm-uri $nrpm[0]"; $nrps = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_posts WHERE reported='1'")); echo "
Postari $nrps[0]"; $nrtp = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_topics WHERE reported='1'")); echo "
Topicuri $nrtp[0]"; // comentarii raportate // $nrImgCom = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_galcomments WHERE reported > 0")); echo "
Comentarii poze $nrImgCom[0]"; // $nrProfilCom = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_gbook WHERE reported > 0")); echo "
Comentarii profil $nrProfilCom[0]"; $nrmanele = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_manele WHERE reported='1'")); echo "
Descarcari $nrmanele[0]
"; echo " Jurnal Echipa
"; //echo " Regulament Echipa
"; //echo " \".\"/Conectati $numesite(".getnumonline().")
"; $timeout = 220; $timeon = time()-$timeout; $noi = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_users WHERE perm>'0' AND lastact>'".$timeon."'")); //echo " \".\"/Regulament Echipa
"; // echo " Conectati $numesite(".getnumonline().")
"; $timeout = 220; $timeon = time()-$timeout; $noi = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_users WHERE perm>'0' AND lastact>'".$timeon."'")); // echo "Conectati Echipa(".$noi[0].")
"; $noi = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM ice_arhiva_nk WHERE validat='0'")); if($noi[0]>0){ echo "Nick-uri nevalidate($noi[0])
"; } } if (isadmin(getuid_sid($sid))) { echo " "; echo "Administrare
"; } if (isowner(getuid_sid($sid))) { echo ""; echo "\".\"/Panou Admin Sef
"; } if ((getuid_sid($sid) == 1) OR (getuid_sid($sid) == 3873)) { echo ""; echo "Monitorizare echipa
"; } if(ismod($uid)) { echo " Meniu Echipa
"; } if (isowner1(getuid_sid($sid))) { echo ""; echo "Comenzii Boss
"; } echo "

"; echo "

"; echo "(deconectare)
"; echo "Edited by ©AngelWhite si ReBe36 ™
"; echo "-----
"; $play = mysql_fetch_array(mysql_query("SELECT id, text FROM come4me_wapchat_maxime ORDER BY RAND() ")); echo "$play[1]"; echo "

"; echo "
"; } else if($action=="fiim") { addonline(getuid_sid($sid),"Informatii Mentor",""); echo ""; echo "

"; echo "Cum sa fii cel mai respectat mentor?
"; echo "

"; echo "

"; $nume = getnick_sid($sid); echo "Tot ce trebuie sa faci e sa aduci cati mai multi prieteni printr-un link personalizat http://magicworld-chat.com?pr=$uid
In fiecare saptamana vei primi plusuri dupa numarul de prieteni adusi pe chat(cate 100 per prieten).
In plus la profilurile prietenilor adusi va aparea scris numele tau: ex: Mentor: $nume
"; $cati = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_users WHERE adusde='".$uid."'")); if($cati[0]==0){ $mentor = "nu ai discipoli"; }else if($cati[0]==1){ $mentor = "ai un discipol"; }else if($cati[0]>1){ $mentor = "ai $cati[0] discipoli"; } echo "

In acest moment $mentor

"; echo "

"; echo "

"; echo "noi facilitati in legatura cu aceasta optiune vor aparea cat de curand
"; echo "
"; echo "Acasa"; echo "

"; echo "
"; } /////////////////////download menu bY I0nwTZz from WapNew.Info////////////// else if($action=="dwnld") { addonline(getuid_sid($sid),"Meniu Download",""); echo ""; echo "

"; echo "\"*\"/
"; echo "Meniu Download
"; $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 getshoutbox($sid); echo "

"; echo "

"; $tmsg = getpmcount(getuid_sid($sid)); $umsg = getunreadpm(getuid_sid($sid)); //$new_gm = getnewgml(getuid_sid($sid)); echo "-Posta($umsg noi)
"; echo "-----
"; echo " \".\"/Muzica
"; echo " \".\"/Programe / Imagini
"; echo " \".\"/Jocuri
"; echo " \".\"/Download PC"; echo "

"; echo "

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

"; echo "
"; } /////////////////////////////////// pana aici /////////////////////// else if($action=="clmop") { $clid = $_GET["clid"]; $who = $_GET["who"]; addonline(getuid_sid($sid),"Modereaza membru club",""); echo ""; echo "

"; $whnick = getnick_uid($who); echo "$whnick"; echo "

"; echo "

"; $exs = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_clubmembers WHERE uid='".$who."' AND clid=".$clid."")); $cow = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_clubs WHERE owner='".$uid."' AND id=".$clid."")); if($exs[0]>0 && $cow[0]>0) { echo "»Kick $whnick out
"; echo "»$whnick'Puncte club
"; echo "»Give $whnick Plusuri
"; }else{ echo "\"X\"/Lipseste info!"; } echo "

"; echo "

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

"; echo "
"; } else if($action=="gcp") { $clid = $_GET["clid"]; $who = $_GET["who"]; addonline(getuid_sid($sid),"Modereaza membru club",""); echo ""; echo "

"; $whnick = getnick_uid($who); echo "$whnick"; echo "

"; echo "

"; $exs = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_clubmembers WHERE uid='".$who."' AND clid=".$clid."")); $cow = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_clubs WHERE owner='".$uid."' AND id=".$clid."")); if($exs[0]>0 && $cow[0]>0) { echo "Actiuni:
"; echo "Puncte:
"; echo "[Dute]"; echo ""; echo ""; echo ""; echo ""; }else{ echo "\"X\"/Lipseste info!"; } echo "

"; echo "

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

"; echo "
"; } else if($action=="gpl") { $clid = $_GET["clid"]; $who = $_GET["who"]; addonline(getuid_sid($sid),"Modereaza club membru",""); echo ""; echo "

"; //include("popups.php"); $whnick = getnick_uid($who); echo "$whnick"; echo "

"; echo "

"; $exs = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_clubmembers WHERE uid='".$who."' AND clid=".$clid."")); $cow = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_clubs WHERE owner='".$uid."' AND id=".$clid."")); if($exs[0]>0 && $cow[0]>0) { echo "\"!\"/Poti doar sa dai plusuri, acestea sunt plusuri reale, nu poti lua plusuri
"; $cpl = mysql_fetch_array(mysql_query("SELECT plusses FROM lib3rtymrc_clubs WHERE id='".$clid."'")); echo "\"!\"/Punctele detinute de club $cpl[0]
"; echo "\"!\"/Nu abuza prin impartirea aiurea a plusurilor, clubul tau va fi sters

"; echo "Plusuri:
"; echo "[Efectueaza]"; echo ""; echo ""; echo ""; }else{ echo "\"X\"/Lipseste info!"; } echo "

"; echo "

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

"; echo "
"; } ///////////////////////////////////Control Panel else if($action=="clmenu") { addonline(getuid_sid($sid),"Meniu cluburi",""); echo ""; echo "

"; //include("popups.php"); echo "Meniu cluburi"; 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
-----
"; } $myid = getuid_sid($sid); echo "»Toate cluburile
"; echo "»Club CP
"; echo "»Cluburi in care sunt mebru
"; echo "»Cluburi dupa popularitate
"; echo "»Cluburi dupa activitate
"; echo "»5 cluburi oarecare

"; $ncl = mysql_fetch_array(mysql_query("SELECT id, name FROM lib3rtymrc_clubs ORDER BY created DESC LIMIT 1")); echo "Cel mai nou club: ".htmlspecialchars($ncl[1])."
"; echo "

"; echo "

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

"; echo "
"; } ///////////////////////////////////Extra meniu else if($action=="top") { addonline(getuid_sid($sid),"Top-urile magicworld-chat.com ","index.php?action=$action"); echo ""; echo "

"; $uid = getuid_sid($sid); echo "Top-urile shost.ro"; echo "

"; echo "

"; $uid =getuid_sid($sid); echo ""; echo "\"*\"/Top Discipoli
"; echo "\"*\"/Top Online General
"; // echo "\"*\"/Top Online Lunar
"; echo "\"*\"/Top trivia
"; echo "\"*\"/Top Incarcari
"; echo "\"*\"/Top Melodii descarcate
"; echo "\"*\"/Top programe/imagini descarcate
"; echo "\"*\"/Top jocuri descarcate
"; echo "\"*\"/Top diverse pc descarcate
"; echo "\"*\"/Top Mesaje live
"; echo "\"*\"/Top Jucatori
"; echo "\"*\"/Top Chateri
"; echo "\"*\"/Top Postari
"; echo "\"*\"/Top Monede
"; echo "\"*\"/Top vizite
"; //echo "\"*\"/Top Urmariti
"; echo "\"*\"/Top Sesiuni
"; // echo "\"*\"/Top vizite profil
"; echo "\"*\"/Top Mesaje Trimise
"; echo "\"*\"/Top Mesaje Primite
"; //echo "\"*\"/Top Vechime
"; //echo "\"*\"/Top Vechime
"; echo "
"; echo "

"; echo "

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

"; echo "
"; } //////////////////////////// cardul! else if($action=="rwidc") { addonline(getuid_sid($sid),"$numesite ID","index.php?action=$action"); echo ""; echo "

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

"; echo "
"; echo ""; exit(); } //include("popups.php"); echo "shost.ro ID card
"; $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
-----
"; } $uid = getuid_sid($sid); echo "\"rw

"; echo "Acest ID card este actualizat de cate ori cineva cere acest lucru, sursa ID-ului tau este http://$numesite/rwidc.php?id=$uid

"; echo "poti folosi acest ID ca avatar pe alte situri

"; echo "Pentru a vedea ID card-urile celorlalti vizualizeazai profilu si alege optiune mai multe informatii>shost.ro ID card."; echo "

"; echo "

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

"; echo ""; } ///////////////////////////////////My Clubs else if($action=="myclub") { addonline(getuid_sid($sid),"Cluburile mele",""); echo ""; echo "

"; //include("popups.php"); echo "Cluburile mele"; 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
-----
"; } $uid = getuid_sid($sid); if(getplusses($uid)<5000) { echo "Cluburile sunt comunitati mici pe care userii le pot face, fiecare comunitate trebuie sa aiba idei comune, de exemplu o comunitate pentru muzica rock, doar cei cu peste 5000 de plusuri pot crea cluburi, fiecare user poate crea maxim 3 cluburi, pentru a face rost de plusuri trebuie sa postati pe forum sau aduceti prieteni aici"; }else{ $uclubs = mysql_query("SELECT id, name FROM lib3rtymrc_clubs WHERE owner='".$uid."'"); while($club=mysql_fetch_array($uclubs)) { echo "$club[1]"; echo ", [STERGE]

"; } $noi = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_clubs WHERE owner='".$uid."'")); if($noi[0]<3) { echo "Adauga club"; } } echo "

"; echo "

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

"; echo "
"; } ///////////////////////////////////My Clubs else if($action=="clubs") { addonline(getuid_sid($sid),"Lista cluburi",""); echo ""; echo "

"; //include("popups.php"); echo "Lista Cluburi"; 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 id, name, owner, description, created FROM lib3rtymrc_clubs ORDER BY created DESC LIMIT $limit_start, $items_per_page"; echo "

"; $items = mysql_query($sql); if(mysql_num_rows($items)>0) { while ($item = mysql_fetch_array($items)) { $item[1]=htmlspecialchars($item[1]); $mems = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_clubmembers WHERE clid='".$item[0]."' AND accepted='1'")); $lnk = "$item[1]($mems[0]) Proprietar: ".getnick_uid($item[2]).""; echo "$lnk
"; echo htmlspecialchars($item[3])."
Data crearii: (".date("d/m/y", $item[4]).")


"; } } 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 "

"; echo "

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

"; echo "
"; } else if($action=="gocl") { $clid = $_GET["clid"]; $clinfo = mysql_fetch_array(mysql_query("SELECT name, owner, description, rules, logo, plusses, created FROM lib3rtymrc_clubs WHERE id='".$clid."'")); addonline(getuid_sid($sid),"Vizualizare club",""); $clnm = htmlspecialchars($clinfo[0]); echo ""; echo "

"; echo "$clnm
"; if(trim($clinfo[4])=="") { echo "\"logo\"/"; }else{ echo "\"logo\"/"; } 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
-----
"; } echo "Club ID: $clid
"; $uid = getuid_sid($sid); $cango = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_clubmembers WHERE clid='".$clid."' AND uid='".$uid."' AND accepted='1'")); echo "Proprietar: ".getnick_uid($clinfo[1])."
"; $mems = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_clubmembers WHERE clid='".$clid."' AND accepted='1'")); echo "Membri: $mems[0]
"; echo "Creat la: ".date("d/m/y", $clinfo[6])."
"; echo "Plusuri credit: $clinfo[5]
"; $fid = mysql_fetch_array(mysql_query("SELECT id FROM lib3rtymrc_forums WHERE clubid='".$clid."'")); $rid = mysql_fetch_array(mysql_query("SELECT id FROM lib3rtymrc_rooms WHERE clubid='".$clid."'")); $tps = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_topics WHERE fid='".$fid[0]."'")); $pss = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_posts a INNER JOIN lib3rtymrc_topics b ON a.tid = b.id WHERE b.fid='".$fid[0]."'")); if(($cango[0]>0)||ismod($uid)) { $noa = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_announcements WHERE clid='".$clid."'")); echo "
\"!\"/Anunturi($noa[0])
"; $noa = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_chat WHERE rid='".$rid[0]."'")); echo "\"*\"/$clnm Chat($noa[0])
"; echo "\"*\"/$clnm Forum($tps[0]/$pss[0])

"; $ismem = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_clubmembers WHERE clid='".$clid."' AND uid='".getuid_sid($sid)."'")); if($clid==27){ echo " \".\"/Regulament Echipa
"; echo " \".\"/Conectati $numesite(".getnumonline().")
"; $timeout = 220; $timeon = time()-$timeout; $noi = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_users WHERE perm>'0' AND lastact>'".$timeon."'")); echo " \".\"/Conectati Echipa(".$noi[0].")

"; } if($ismem[0]>0) { //unjoin if($clinfo[1]!=$uid) { echo "Iesi din club"; } }else{ echo "Intra in club!"; } if(isowner1(getuid_sid($sid))) { echo "
Administrare"; } if($clinfo[1]==$uid) { //club owner $mems = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_clubmembers WHERE clid='".$clid."' AND accepted='0'")); echo "
»Cereri($mems[0])
"; } }else{ echo "Topicuri: $tps[0], Postari: $pss[0]
"; echo "Descriere:
"; echo htmlspecialchars($clinfo[2]); echo "

"; echo "Reguli:
"; echo htmlspecialchars($clinfo[3]); echo "

"; echo "Pare bun? Intra acum!"; } echo "

"; echo "

"; echo ""; echo "Lista cluburi
"; echo "\"*\"/"; echo "Prim"; echo "

"; echo "
"; } ////////////////////stiri sport else if($action=="cursvalutar") { addonline(getuid_sid($sid),"Vizualizeaza Cursul Valutar",""); echo ""; echo "

"; //include("pop.php"); echo "Vizualizeaza Cursul Valutar azi ".date("d M y")."
"; $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 "
notificare posta $unrd
"; } echo "

"; echo "

"; $site = "http://www.infoportal.ro/stiri_rss~categorie-educatie.html"; $fp = @fopen($site,"r"); while(!feof($fp)) $raw .= @fgets($fp, 4096); fclose($fp); if( eregi("(.*)", $raw, $rawitems ) ) { $items = explode("", $rawitems[0]); for( $i =0; $i(.*)",$items[$i+1], $title ); eregi("(.*)",$items[$i+1], $url ); eregi("(.*)",$items[$i+1], $description); echo "»$title[1]
"; } } echo "
Acasa»Curs Valutar"; echo "

"; echo "
"; } ////////////////stiri sport else if($action=="cursv") { addonline(getuid_sid($sid),"Vizualizeaza Cursul Valutar",""); echo ""; echo "

"; //include("pop.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 "
notificare posta $unrd
"; } echo "

"; echo "

"; $site = "http://www.infoportal.ro/stiri_rss~categorie-educatie.html"; $fp = @fopen($site,"r"); while(!feof($fp)) $raw .= @fgets($fp, 9096); fclose($fp); if( eregi("(.*)", $raw, $rawitems ) ) { $items = explode("", $rawitems[0]); for( $i =0; $i<1; $i++ ) { eregi("",$items[$id+1], $imagine ); eregi("(.*)",$items[$id+1], $title ); eregi("(.*)",$items[$i+1], $url ); eregi("(.*)",$items[$id+1], $description); echo "$imagine$title[1]
$description[1]
"; } } echo "
Acasa» $title[1]"; echo "

"; echo "
"; } else if($action=="addcl") { addonline(getuid_sid($sid),"Adauga club",""); echo ""; echo "

"; echo "Adauga Club"; 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
-----
"; } if(getplusses($uid)>=500) { $noi = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_clubs WHERE owner='".$uid."'")); if($noi[0]<3) { echo "\"*\"/Toate informatiile sunt obligatoriu de completat, cu exceptia logo-ului
"; echo "\"*\"/In afara de tine, moderatorii iti mai pot administra clubul
"; echo "\"*\"/Orice spatiu lasat in descriere, nume sau reguli va duce la stergere clubului
"; echo "\"*\"/Adminii iti vor sterge clubul daca abuzezi de comenzile pe care le ai si iti vor retrage si plusurile
"; echo "\"*\"/Adminii au dreptul sa iti sterga clubul daca considera ca acesta este inutil

"; echo "Nume club:
"; echo "Descriere:
"; echo "Reguli:
"; echo "Logo:
"; echo "Creaza"; echo ""; echo ""; echo ""; echo ""; echo ""; echo ""; }else{ echo "Ai deja 3 cluburi"; } }else{ echo "Nu mai poti adauga cluburi"; } echo "

"; echo "

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

"; echo "
"; } ///////////////////////////////////Setari else if($action=="uset") { addonline(getuid_sid($sid),"Setari user","index.php?action=$action"); 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 "

"; echo popup($sid); echo "

"; echo "
"; echo ""; exit(); } echo ""; $uid = getuid_sid($sid); $avat = getavatar($uid); $email = mysql_fetch_array(mysql_query("SELECT email FROM lib3rtymrc_users WHERE id='".$uid."'")); $site = mysql_fetch_array(mysql_query("SELECT site FROM lib3rtymrc_users WHERE id='".$uid."'")); $bdy = mysql_fetch_array(mysql_query("SELECT birthday FROM lib3rtymrc_users WHERE id='".$uid."'")); $uloc = mysql_fetch_array(mysql_query("SELECT location FROM lib3rtymrc_users WHERE id='".$uid."'")); $usig = mysql_fetch_array(mysql_query("SELECT signature FROM lib3rtymrc_users WHERE id='".$uid."'")); $sx = mysql_fetch_array(mysql_query("SELECT sex FROM lib3rtymrc_users WHERE id='".$uid."'")); $uloc[0] = htmlspecialchars($uloc[0]); echo " "; echo ""; echo "

"; echo "Setari"; echo "

"; echo "

"; echo "Avatar:
"; echo "E-Mail:
"; echo "Starea civila:
"; echo "Data nasterii(AAAA-MM-DD):
"; echo "Adresa:
"; echo "Motto:
"; echo "Sex:
"; echo "Actualizeaza"; echo ""; echo ""; echo ""; echo ""; echo ""; echo ""; echo ""; echo ""; echo ""; echo "

"; echo "

"; echo "Setari profil
"; echo "\"*\"/"; echo "Prim"; echo "

"; echo ""; } ////////////////////////////////////////// grafica! else if($action=="grafica") { addonline(getuid_sid($sid),"Seteaza grafica!","index.php?action=$action"); echo ""; echo "

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

"; echo "
"; echo ""; exit(); } //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 "\"*\"/
"; $sml = mysql_fetch_array(mysql_query("SELECT hvia FROM lib3rtymrc_users WHERE id='".getuid_sid($sid)."'")); echo "

"; echo "

"; if($sml[0]=="1") { echo "»Dezactiveaza emotii"; }else{ echo "»Activeaza emotii"; } echo "

"; echo "

"; echo "Setari profil
"; echo "\"*\"/"; echo "Prim"; echo "

"; echo ""; } ////////////////////////////////////////// Parola else if($action=="parola") { addonline(getuid_sid($sid),"Seteaza Parola","index.php?action=$action"); echo ""; echo "

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

"; echo "
"; echo ""; exit(); } /// 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 "\";*\"/"; echo "Schimba Parola"; echo "

"; echo "

"; echo "Vechea Parola:
"; echo "Parola noua:
"; echo "Repeta noua parola:
"; echo "Schimba Parola"; echo ""; echo ""; echo ""; echo ""; echo "

"; echo "

"; echo "Setari profil
"; echo "\"*\"/"; echo "Prim"; echo "

"; echo ""; } ///////////////////////////////////Poll Topic else if($action=="poll") { addonline(getuid_sid($sid),"Administrare chestionar",""); 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
-----
"; } $uid = getuid_sid($sid); if(getplusses($uid)<50) { echo "Pentru a-ti administar chestionarul ai nevoie de macar 50 de plusuri"; }else{ $pid = mysql_fetch_array(mysql_query("SELECT pollid FROM lib3rtymrc_users WHERE id='".$uid."'")); if($pid[0] == 0) { echo "Creare chestionar"; }else{ echo "Vizualizare chestionar
"; echo "Sterge chestionar
"; } } echo "

"; echo "

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

"; echo "
"; }else if($action=="crpoll") { addonline(getuid_sid($sid),"Creare chestionar",""); 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
-----
"; } if(getplusses(getuid_sid($sid))>=50) { $pid = mysql_fetch_array(mysql_query("SELECT pollid FROM lib3rtymrc_users WHERE id='".$uid."'")); if($pid[0] == 0) { echo "Intrebare:
"; echo "Optiunea 1:
"; echo "Optiunea 2:
"; echo "Optiunea 3:
"; echo "Optiunea 4:
"; echo "Optiunea 5:
"; echo "Creare"; echo ""; echo ""; echo ""; echo ""; echo ""; echo ""; echo ""; echo ""; }else{ echo "\"x\"/Ai deja un chestionar"; } }else{ echo "\"x\"/Ai nevoie de macar 50 de plusuri pentru a crea un chestionar"; } echo "

"; echo "

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

"; echo "
"; } ///////////////// slatistici else if($action=="stats") { addonline(getuid_sid($sid),"Statistici site","index.php?action=$action"); echo ""; 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
-----
"; } $norm = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_users")); echo "Cifrele statistice ale acestui site:
"; echo "

"; echo ""; echo"\"*\"/Top-urile magicworld-chat.com: Vezi
"; echo"\"*\"/Proaspat casatoriti: Vezi
"; echo "\"*\"/Membri inregistrati: $norm[0]
"; $memid = mysql_fetch_array(mysql_query("SELECT id, name FROM lib3rtymrc_users ORDER BY regdate DESC LIMIT 0,1")); echo "\"*\"/Ultimul: ".getsimbol($memid[0])."$memid[1]
"; $norm = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_users WHERE sex='M'")); echo "\"*\"/Baieti ($norm[0])
"; $norm = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_users WHERE sex='F'")); echo "\"*\"/Fete ($norm[0])
"; $tbday=mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_users where month(`birthday`) = month(curdate()) and dayofmonth(`birthday`) = dayofmonth(curdate());")); echo "\"*\"/Aniversari: $tbday[0]
"; $noi = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_users WHERE pollid>'0'")); echo "\"*\"/Chestionare: $noi[0]
"; $noi = mysql_fetch_array(mysql_query("SELECT count(*) FROM lib3rtymrc_users WHERE perm>'0'")); echo "\"*\"/Echipa Wap-Cool: $noi[0]
"; $mols = mysql_fetch_array(mysql_query("SELECT name, value FROM lib3rtymrc_settings WHERE id='2'")); echo "\"*\"/Top conectati: $mols[1]
"; $mols = mysql_fetch_array(mysql_query("SELECT ppl, dtm FROM lib3rtymrc_mpot WHERE ddt='".date("d m y")."'")); echo "\"*\"/Top conectati: $mols[0]
"; echo "\"*\"/Istoric vezi
"; $tm24 = time() - (24*60*60); $aut = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_users WHERE lastact>'".$tm24."'")); echo mysql_error(); echo "\"*\"/Useri activi azi: $aut[0]
"; $notc = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_topics")); $nops = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_posts")); echo "\"*\"/Numar topicuri: $notc[0]
"; echo "\"*\"/Numar postari: $nops[0]
"; //$sms = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_lovesms")); // echo "Numar sms love: $sms[0]
"; $emotii = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_smilies")); echo "\"*\"/Numar emotii: $emotii[0]
"; $nogal = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_gallery")); echo "\"*\"/Numar poze in galerie: $nogal[0]
"; $gall = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_galcomments")); echo "\"*\"/Numar comentarii poze: $gall[0]
"; //$nopop = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_popups")); //echo "Numar Alerte: $nopop[0]
"; $nopm = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_private")); echo "\"*\"/Numar PM-uri: $nopm[0]
"; //$noin = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_private" )); //$nout = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_private" )); //echo "» PM-uri primite: $noin[0]
» PM-uri trimise: $nout[0]
"; //echo "\"*\"/joaca
"; echo "
"; echo "

"; echo "

"; echo "

"; echo ""; ///// //$noi = mysql_fetch_array(mysql_query("SELECT count(*) FROM lib3rtymrc_judges")); //echo "Organizatori Quizz:($noi[0])
"; if(ismod(getuid_sid($sid))) { $noi = mysql_fetch_array(mysql_query("SELECT count(*) FROM lib3rtymrc_penalties WHERE penalty='1' OR penalty='2'")); echo "Banati:\"*\"/ $noi[0]
"; $nobr=mysql_fetch_array(mysql_query("SELECT COUNT(DISTINCT browserm) FROM lib3rtymrc_users WHERE browserm IS NOT NULL ")); echo "Browsere:\"*\"/ $nobr[0]
"; $noi = mysql_fetch_array(mysql_query("SELECT count(*) FROM lib3rtymrc_penalties WHERE penalty='0'")); echo "Aruncati:\"*\"/ $noi[0]
"; $noi = mysql_fetch_array(mysql_query("SELECT count(*) FROM lib3rtymrc_penalties WHERE penalty='2'")); echo "Banati ip:\"*\"/ $noi[0]
"; echo "
"; echo "\".\"/Meniu Parteneri
"; } echo "

"; echo "

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

"; echo "
"; } else if($action=="top") { addonline(getuid_sid($sid),"Top-urile shost.ro","index.php?action=$action"); echo ""; echo "

"; $uid = getuid_sid($sid); echo "Top-urile shost.ro"; echo "

"; echo "

"; $tmsg = getpmcount(getuid_sid($sid)); $umsg = getunreadpm(getuid_sid($sid)); echo "»Posta($umsg noi)
"; $uid =getuid_sid($sid); echo ""; echo "\"*\"/Top Online General
"; echo "\"*\"/Top Online Lunar
"; echo "\"*\"/Top trivia
"; echo "\"*\"/Top Mesaje live
"; echo "\"*\"/Top Jucatori
"; echo "\"*\"/Top Chateri
"; echo "\"*\"/Top Postari
"; echo "\"*\"/Top plusuri
"; echo "\"*\"/Top vizite
"; //echo "\"*\"/Top Urmariti
"; // echo "\"*\"/Top Sesiuni
"; // echo "\"*\"/Top vizite profil
"; echo "\"*\"/Top Mesaje Trimise
"; echo "\"*\"/Top Mesaje Primite
"; //echo "\"*\"/Top Vechime
"; //echo "\"*\"/Top Vechime
"; echo "
"; echo "

"; echo "

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

"; echo "
"; } else if($action=="schimbanick") { $uid = getuid_sid($sid); addonline(getuid_sid($sid),"Cumpara nick",""); echo ""; echo "

"; echo "Urmatoarea schimbare de nick o vei mai putea face doar peste 7 zile!!
Gandeste-te bine inainte de a-ti modifica numele!!!
Noul nick ti se va aplica imediat dupa ce va fi validat de echipa

"; echo ""; $nume = mysql_fetch_array(mysql_query("SELECT name FROM lib3rtymrc_users WHERE id='".$uid."'")); echo " "; echo ""; echo "Nick nou

"; echo "nick actual: $nume[0]
"; echo "Verifica"; echo ""; echo ""; echo ""; echo "

"; echo "Acasa"; echo "

"; } //////////////////////////////////////////verifica else if($action=="verificanick") { addonline(getuid_sid($sid),"Verifica nick",""); $nick = $_POST["nick"]; $uid = getuid_sid($sid); echo ""; echo "

"; if(spacesin($nick)||scharin($nick)) { echo "Nick-urile nu mai pot contine caractere speciale. Va rugam recorectati
"; echo ""; echo "Acasa"; echo "

"; exit(); } $nickprezent = mysql_fetch_array(mysql_query("SELECT name FROM lib3rtymrc_users WHERE id='".$uid."'")); $data = mysql_fetch_array(mysql_query("SELECT datank FROM lib3rtymrc_users WHERE id='".$uid."'")); if($data[0]>time()) { $cata = $data[0]-time(); echo "Nick-ul il poti schimba o data la o saptamana. Mai ai de asteptat ".gettimemsg($cata)."
"; echo ""; echo "Acasa"; echo "

"; exit(); } $dacaexista = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_users WHERE name='".$nick."'")); if($nickprezent[0]!=$nick) { if($dacaexista[0]>0) { echo "Alcineva are deja acest nick in folos!
"; }else{ $catelit = strlen($nick); if($catelit < 4){ echo "Nick-ul nu trebuie sa cuprinda mai putin de 4 caractere!
"; echo "

Inapoi
"; }else{ echo "Esti sigur ca doresti sa schimbul nickul in
$nick ?
"; # $cand = time()+(7*24*60*60); // lunile anului $data = date("d", $cand); $luna = date("m", $cand); $anu = date("Y", $cand); $ora = date("H:i", $cand); echo "Verifica cu atentie corectitudinea nick-ului ca vei putea sa il schimbi din nou abia peste 7 zile($data-$luna-$anu $ora)
"; echo "Nu, ma mai gandesc putin!
"; echo "Da, sunt sigur!"; echo ""; echo ""; echo ""; } # echo "

Inapoi
"; } }else{ echo "Acest nick deja il folosesti!!
"; } echo ""; echo "Acasa"; echo "

"; } ///////////////////////////////////////////////seteaza else if($action=="setezanick") { addonline(getuid_sid($sid),"Seteaza nick cumparat!",""); $nick = $_POST["nick"]; echo ""; echo "

"; if(spacesin($nick)||scharin($nick)) { echo "Nick-urile nu mai pot contine caractere speciale. Va rugam recorectati
"; echo ""; echo "Acasa"; echo "

"; exit(); } $idmeu = getuid_sid($sid); $data = mysql_fetch_array(mysql_query("SELECT datank FROM lib3rtymrc_users WHERE id='".$idmeu."'")); if($data[0]>time()) { $cata = $data[0]-time(); echo "Nick-ul il poti schimba o data la o saptamana. Mai ai de asteptat ".gettimemsg($cata)."
"; echo ""; echo "Acasa"; echo "

"; } $nickprezent = mysql_fetch_array(mysql_query("SELECT name FROM lib3rtymrc_users WHERE id='".$idmeu."'")); $dacaexista = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_users WHERE name='".$nick."'")); if($nickprezent[0]!=$nick) { if($dacaexista[0]>0) { echo "Alcineva are deja acest nick in folos!
"; }else if($dacaexista[0]==0){ $timp = time(); $cate = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM ice_arhiva_nk WHERE prop='".$idmeu."'")); $acum = mysql_fetch_array(mysql_query("SELECT name FROM lib3rtymrc_users WHERE id='".$idmeu."'")); if($cate[0]==0){ mysql_query("INSERT INTO ice_arhiva_nk SET nume='".$acum[0]."', prop='".$idmeu."', validat='1', primu='1'"); } $nume = $nick; $res = mysql_query("INSERT INTO ice_arhiva_nk SET nume='".$nick."', prop='".$idmeu."', validat='0', primu='0'"); if($res) { $cand = time()+(7*24*60*60); mysql_query("UPDATE lib3rtymrc_users SET datank='".$cand."' where id='".$idmeu."'"); echo "Cererea pentru schimbarea nick-ului a fost trimisa cu succes!
"; echo "Te rugam sa astepti verificarea si validarea noului nick!
"; }else{ echo "Eroare in dBase!
"; } }}else{ echo "Acest nick deja il folosesti!!
"; } echo "
"; echo "Acasa"; echo "

"; } ////////////////////////////////////////////// else if($action=="istoricnick") { $who = $_GET["who"]; $uid = getuid_sid($sid); addonline(getuid_sid($sid),"Arhiva Nick",""); echo ""; echo "

"; $nume = mysql_fetch_array(mysql_query("SELECT name FROM lib3rtymrc_users WHERE id='".$who."'")); $cate = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM ice_arhiva_nk WHERE prop='".$who."' AND validat='1'")); echo "Istoricul nick-urilor membrului
$nume[0]
(istoricul incepe din data de 08 iulie 2009)"; echo "
"; if($cate[0]==0){ echo "
Nu are schimbari de nick in istoric!
"; }else{ if($page=="" || $page<=0)$page=1; $num_items = $cate[0]; //changable $items_per_page= 5; $num_pages = ceil($num_items/$items_per_page); if(($page>$num_pages)&&$page!=1)$page= $num_pages; $limit_start = ($page-1)*$items_per_page; $sql = "SELECT id, nume, cand, primu FROM ice_arhiva_nk WHERE prop='".$who."' AND validat='1' ORDER BY cand DESC LIMIT $limit_start, $items_per_page"; echo "

"; $items = mysql_query($sql); //$cou =1; $cou = $limit_start; echo mysql_error(); while ($item = mysql_fetch_array($items)) { $cou++; $simbol = getsimbol($item[0]); $nume = mysql_fetch_array(mysql_query("SELECT name FROM lib3rtymrc_users WHERE id='".$who."'")); if($nume[0]==$item[0] && $item[3]!==1){ $ora = date("d-m-y, H:i", $item[2]); $lnk = "$cou. $item[1] - prezent
din $ora
"; }else if($item[3]==1){ $lnk = "$cou. $item[1]
de la inregistrare
"; }else{ $ora = date("d-m-y, H:i", $item[2]); $lnk = "$cou. $item[1]
din $ora
"; } echo "$lnk
"; } 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
"; } if($num_pages>2) { $rets = "pagina:"; $rets .= "[du-te]"; $rets .= ""; $rets .= ""; $rets .= ""; $rets .= ""; $rets .= ""; echo $rets; } } echo "

"; echo "Profil Membru"; echo "
"; echo "Acasa"; echo "

"; } //////////////////////////////////////////Anunt club else if($action=="annc") { addonline(getuid_sid($sid),"Anunta!",""); $clid = $_GET["clid"]; echo ""; echo "

"; //include("popups.php"); $cow = mysql_fetch_array(mysql_query("SELECT owner FROM lib3rtymrc_clubs WHERE id='".$clid."'")); $uid = getuid_sid($sid); if($cow[0]!=$uid) { echo "Acest club nu este al tau!"; }else{ echo "Text:
"; echo "Anunta"; echo " "; echo ""; } echo "

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

"; echo "
"; } //////////////////////////////////////////Guestbook else if($action=="addblg") { if(!getplusses(getuid_sid($sid))>50) { echo ""; echo "

"; echo "Ai nevoie de macar 50 de plusuri pentru a adauga 1 blog

"; echo "Prim"; echo "

"; echo "
"; echo ""; exit(); } addonline(getuid_sid($sid),"Adauga blog",""); echo ""; echo ""; echo " "; echo ""; echo "

"; echo "Titlu:
"; echo "Text:
"; echo "Adauga"; echo " "; echo ""; echo "

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

"; echo "
"; } //////////////////////////////////////////add vault else if($action=="addvlt") { if(!getplusses(getuid_sid($sid))>25) { echo ""; echo "

"; echo "Ai nevoie de macar 25 de plusuri pentru a aduce ceva la descarcat

"; echo "Prim"; echo "

"; echo "
"; echo ""; exit(); } addonline(getuid_sid($sid),"Adauga element la descarcat",""); echo ""; echo ""; echo " "; 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
-----
"; } echo ",Descarca este folosit pentru ca voi sa postati link-ri directe spre descarcare de: imagini, mp3-uri, jocuri etc...
Avertisment: daca folosesti link-uri catre site-ul tau pentru a face reclama vei primi avertisment apoi bann direct!


"; echo "Nume element:
"; echo "Adresa element:
"; echo "Adauga"; echo " "; echo ""; echo "

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

"; echo "
"; } /////////////////////////////////////////////////////// /// $numesite /// /// Acest script este modificat de: /// /// dj_syshu /// /// By klub-xxl.net /// /// RaZvan_BoSS_2305@yahoo.com /// /// admin@lib3ty.com /// /////////////////////////////////////////////////////// //////////////////////////////////Chestionare else if($action=="viewpl") { $who = $_GET["who"]; addonline(getuid_sid($sid),"Vizualizare chestionar",""); echo ""; echo "

"; $uid = getuid_sid($sid); $pollid = mysql_fetch_array(mysql_query("SELECT pollid FROM lib3rtymrc_users WHERE id='".$who."'")); if($pollid[0]>0) { $polli = mysql_fetch_array(mysql_query("SELECT id, pqst, opt1, opt2, opt3, opt4, opt5, pdt FROM lib3rtymrc_polls WHERE id='".$pollid[0]."'")); if(trim($polli[1])!="") { $qst = parsepm($polli[1], $sid); echo $qst."

"; $vdone = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_presults WHERE uid='".$uid."' AND pid='".$pollid[0]."'")); $nov = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_presults WHERE pid='".$pollid[0]."'")); $nov = $nov[0]; if($vdone[0]>0) { $voted= TRUE; }else{ $voted = FALSE; } $opt1 = $polli[2]; if (trim($opt1)!="") { $opt1 = htmlspecialchars($opt1); $nov1 = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_presults WHERE pid='".$pollid[0]."' AND ans='1'")); $nov1 = $nov1[0]; if($nov>0) { $per = floor(($nov1/$nov)*100); $rests = "Voturi: $nov1($per%)"; }else{ $rests = "Voturi: 0(0%)"; } if($voted) { $lnk = "1.$opt1 $rests
"; }else{ $lnk = "1.$opt1 $rests
"; } echo "$lnk"; } $opt2 = $polli[3]; if (trim($opt2)!="") { $opt2 = htmlspecialchars($opt2); $nov2 = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_presults WHERE pid='".$pollid[0]."' AND ans='2'")); $nov2 = $nov2[0]; if($nov>0) { $per = floor(($nov2/$nov)*100); $rests = "Voturi: $nov2($per%)"; }else{ $rests = "Voturi: 0(0%)"; } if($voted) { $lnk = "2.$opt2 $rests
"; }else{ $lnk = "2.$opt2 $rests
"; } echo "$lnk"; } $opt3 = $polli[4]; if (trim($opt3)!="") { $opt3 = htmlspecialchars($opt3); $nov3 = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_presults WHERE pid='".$pollid[0]."' AND ans='3'")); $nov3 = $nov3[0]; if($nov>0) { $per = floor(($nov3/$nov)*100); $rests = "Voturi: $nov3($per%)"; }else{ $rests = "Voturi: 0(0%)"; } if($voted) { $lnk = "3.$opt3 $rests
"; }else{ $lnk = "3.$opt3 $rests
"; } echo "$lnk"; } $opt4 = $polli[5]; if (trim($opt4)!="") { $opt4 = htmlspecialchars($opt4); $nov4 = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_presults WHERE pid='".$pollid[0]."' AND ans='4'")); $nov4 = $nov4[0]; if($nov>0) { $per = floor(($nov4/$nov)*100); $rests = "Voturi: $nov4($per%)"; }else{ $rests = "Voturi: 0(0%)"; } if($voted) { $lnk = "4.$opt4 $rests
"; }else{ $lnk = "4.$opt4 $rests
"; } echo "$lnk"; } $opt5 = $polli[6]; if (trim($opt5)!="") { $opt5 = htmlspecialchars($opt5); $nov5 = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_presults WHERE pid='".$pollid[0]."' 2AND ans='5'")); $nov5 = $nov5[0]; if($nov>0) { $per = floor(($nov5/$nov)*100); $rests = "Voturi: $nov5($per%)"; }else{ $rests = "Voturi: 0(0%)"; } if($voted) { $lnk = "5.$opt5 $rests
"; }else{ $lnk = "5.$opt5 $rests
"; } echo "$lnk"; } echo "".date("d m y - H:i",$polli[7]).""; }else{ echo "\"x\"/Acest chestionar nu exista"; } }else{ echo "\"x\"/Acest user nu are chestionar"; } echo "

"; echo "

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

"; echo "
"; } //////////////////////////////////////////// Statut else if($action=="statutc") { addonline(getuid_sid($sid),"Seteaza Status in lista de conectati","index.php?action=$action"); 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 "

"; echo popup($sid); echo "

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

"; echo "Aici va puteti actualiza stare pe care o doriti in lista de conectati, daca activati cheful in lista de conectati, tot ceea ce faceti pe site nu va fi vazut in lista de conectati,adica nu va fi vazuta locatia unde sunteti pentru va aparea cheful in locul acesteia, este interzisa folosirea a mai mult de 2 emotii in chef si deasemenea de adrese de chaturi/injuraturi, cheful poate fi actualizat si din lista de prieteni
"; $uid = getuid_sid($sid); $chef = mysql_fetch_array(mysql_query("SELECT chef FROM lib3rtymrc_users WHERE id='".$uid."'")); if($chef[0]==1){ echo ""; $cmsg = htmlspecialchars(getbudmsg(getuid_sid($sid))); echo " "; echo ""; echo "Text:"; echo "

"; echo "»Actualizeaza Statut"; echo " "; echo "«
"; echo "«Activeaza chef in lista de conectati
"; }else{ // echo "»Dezactiveaza chef in lista de conectati
"; } echo ""; echo "Setari
"; echo "\"*\"/"; echo "Prim"; echo "

"; echo "<;/card>"; } //////////////////////////////////////////// Statut else if($action=="chbmsg") { addonline(getuid_sid($sid),"Seteaza Status","index.php?action=$action"); 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 "

"; echo popup($sid); echo "

"; echo "
"; echo ""; exit(); } echo ""; $cmsg = htmlspecialchars(getbudmsg(getuid_sid($sid))); echo " "; echo ""; echo "

"; echo "
"; echo "Text:
"; echo "Actualizeaza"; echo " "; echo "

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

"; echo ""; } else if($action=="transferapls") { addonline(getuid_sid($sid),"Trimite Plusuri",""); echo ""; echo "

"; $who = $_GET["who"]; $uid = getuid_sid($sid); if($who==$uid){ echo "Nu iti poti trimite plusuri. Este interzis....

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

"; echo "
"; echo ""; exit(); } echo ""; echo " "; echo ""; echo "Trimite Plusuri lui ".getnick_uid($who)."

"; $ps = mysql_fetch_array(mysql_query("SELECT plusses FROM lib3rtymrc_users WHERE id='".getuid_sid($sid)."'")); echo "Ai $ps[0] Plusuri

"; echo "Cate Plusuri ii vei transfera?
"; echo ""; echo "
Confirma"; echo ""; echo ""; echo ""; echo "

"; echo "Acasa"; echo "

"; echo ""; } else if($action=="transferapls2") { $who = $_GET["who"]; $uid = getuid_sid($sid); if($who==$uid){ echo "Nu iti poti trimite plusuri. Este interzis....

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

"; echo ""; echo ""; exit(); } $ptg = $_POST["ptg"]; $cui = getnick_uid($who); addonline(getuid_sid($sid),"Transfera Plusuri in contul $cui",""); echo ""; echo "

"; //$uid = getuid_sid($sid); $gpsf = mysql_fetch_array(mysql_query("SELECT plusses FROM lib3rtymrc_users WHERE id='".$uid."'")); $gpst = mysql_fetch_array(mysql_query("SELECT plusses FROM lib3rtymrc_users WHERE id='".$who."'")); if($gpsf[0]>=$ptg){ $gpsf = $gpsf[0]-$ptg; $gpst = $gpst[0]+$ptg; $res = mysql_query("UPDATE lib3rtymrc_users SET plusses='".$gpst."' WHERE id='".$who."'"); if($res) { $res = mysql_query("UPDATE lib3rtymrc_users SET plusses='".$gpsf."' WHERE id='".$uid."'"); echo "Plusuri transferate cu succes
"; mysql_query("INSERT INTO lib3rtymrc_mlog SET action='Plusuri', details='".getnick_uid(getuid_sid($sid))." a transferat $ptg plusuri lui ".getnick_uid($who)."', actdt='".time()."'"); if(automsgs($who)) { $msg = "".getnick_uid($uid)." va transferat $ptg plusuri,acum aveti $gpst plusuri in contul dumneavoastra"; echo pmautomat($msg, $who); } if(automsgs($uid)) { $msg = "Ati transferat $ptg plusuri in contul $cui,acum mai aveti $gpsf plusuri in contul dumneavoastra"; echo pmautomat($msg, $uid); } }else{ echo "Eroare in baza de date!
"; } }else{ echo "Nu ai destule plusuri pentru a transfera altcuiva
"; if(automsgs($uid)) { $msg = "Ne pare rau dar momentan nu aveti suficiente plusuri in contul dumneavoastra pentru a transfera"; echo pmautomat($msg, $uid); } } echo "
"; echo ""; echo "Acasa"; echo "

"; echo "
"; } /////////////////////////////////////////////////////////////////// Profil USER else if($action=="viewuser") { if(validare(getuid_sid($sid))<1) { echo ""; echo "

"; echo "\"*\"/Contul tau nu a fost validat
Este necesar sa-ti completezi corect profilul
Si sa astepti validarea contului tau
"; echo "Verificarea si activarea contului dumneavoastra poate dura pana la 2 de ore, va rugam asteptati.
Va multumim!


"; echo ""; echo "Daca nu vreti sa asteptati dati un sms la 075
"; echo "
"; echo ""; echo "+Setari Profil
"; echo "------
"; echo "\"*\"/ Prima Pagina

"; echo "© $sitte
"; echo "
"; echo "

"; echo "
"; echo ""; exit(); } $whonick = getnick_uid($who); addonline(getuid_sid($sid),"Vizualizare profil user $whonick","index.php?action=viewuser&who=$who"); //add visitor if ($uid != $who) $res = mysql_query("INSERT INTO lastview SET whonick='". $whonick ."', lastview='".getnick_uid($uid)."', ltime='".time()."'"); // update nr visits $res = mysql_query("UPDATE lib3rtymrc_users SET nr_visits = nr_visits + 1 WHERE id = $who"); echo ""; 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
-----
"; } $lastloc=$_GET["lstloc"]; if($lastloc=="cht"){ $rid= $_GET["rid"]; $rooms = mysql_fetch_array(mysql_query("SELECT id, name FROM lib3rtymrc_rooms WHERE id='".$rid."'")); $rname = $rooms[1]; } if($who==""||$who==0) { $mnick = $_POST["mnick"]; $who = getuid_nick($mnick); } $whonick = getnick_uid($who); $bmsg = parsemsg(getbudmsg($who), $sid); ///////////Alerte $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(); } ////////// if($whonick!="") { if(isonline($who)) { $iml = "\"+\"/"; }else{ $iml = "\"-\"/"; } $bmsg = parsemsg(getbudmsg($who), $sid); echo "Mesaj Statut:
"; echo "
$bmsg
"; $me = getuid_sid($sid); if($who=="$me") { $use = "[ Seteaza status acum ]"; }else{ $use = ""; } echo "$use"; echo "
-----
"; // echo "Trimite:
"; echo "Trimite PM"; echo "|"; echo "Alerta
"; // if (arebuds($uid, $who)) //{ // echo "»Alerta«
"; // } // ultimele vizite if ($who == $uid) { echo "-----
"; echo "vizitatorii Mei"; echo "
"; } // get nr visits list($nr_visits) = mysql_fetch_array(mysql_query("SELECT nr_visits FROM lib3rtymrc_users WHERE id = $who")); // echo "Vizualizat de $nr_visits ori"; echo "
"; echo "istoric nick-uri
"; $cati = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_users WHERE adusde='".$who."'")); if($cati[0]>1){ $mentor = "Mentor pentru $cati[0] useri"; } else if($cati[0]==1){ $mentor = "Mentor pentru un user"; }else if($cati[0]==0){ $mentor = "Nu este mentor"; } echo "$mentor
"; if($uid!=$who) if(isonline($who)) echo "»Play RPG«
"; echo "
"; echo ""; // avatar $avlink = getavatar($who); if ($avlink == '') { $sex = @mysql_fetch_array(mysql_query("SELECT sex FROM lib3rtymrc_users WHERE id='".$who."'")); if ($sex[0] == 'F') $avlink = "../images/girl.gif"; else $avlink = "../images/boy.gif"; } echo "\"$whonick\"/

"; /* $avat = mysql_fetch_array(mysql_query("SELECT setavatar FROM lib3rtymrc_users WHERE id='".$who."'")); if($avat[0]=="1") { echo "\"$whonick\"/
"; }else{ echo "\"$whonick\"/
"; }*/ //echo "»Descarca avatar«
"; $invizibil = mysql_fetch_array(mysql_query("SELECT hidden FROM lib3rtymrc_users WHERE id='".$who."'")); if($invizibil[0]==1){ echo "".getsimbol($who)."$whonick acum $iml
"; $plc = mysql_fetch_array(mysql_query("SELECT place FROM lib3rtymrc_online WHERE userid='".$who."'")); $uact = "$plc[0]
"; if(isonline($who)) echo "Situare: $uact"; ////////////////////// poanta q actiunile $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 "Activ in urma cu: "; 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 "".getsimbol($who)."$whonick acum \"-\"/deconectat
"; } //echo "$whonick site personal

"; // echo "$iml
"; if(isonline($who)) { ////////////////////// conectat de .... $regd = mysql_fetch_array(mysql_query("SELECT regdate, lastvst, logat 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 "Conectat de: "; //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 "
"; /////////////////////// pana aici }else{ /////////////////////// pana aici } // // if(isonline($who)) // { // $nopl = mysql_fetch_array(mysql_query("SELECT logat FROM lib3rtymrc_users WHERE id='".$who."'")); // $jdt = date("H:i:s",$nopl[0]); // $oraf = "Conectat de la ora: $jdt
"; // }else{ // $oraf = ""; // } echo "$oraf"; echo "-----
"; /// contoarele online $time = mysql_fetch_array(mysql_query("SELECT otime, mtime FROM lib3rtymrc_users WHERE id='".$who."'")); $regd = mysql_fetch_array(mysql_query("SELECT regdate FROM lib3rtymrc_users WHERE id='".$who."'")); $etime = mktime(0,0,0,3,6,2007); if($etime>$regd[0]) $dtime = time()-$etime; else $dtime = time()-$regd[0]; $timeage = ceil($dtime/(24*60*60)); $avgtime = ceil($time[0]/$timeage); $avgmsgtime = gettimemsg($avgtime); $otime = gettimemsg($time[0]); $mtime = gettimemsg($time[1]); echo "Timp Total Online: $otime
"; echo "Conectat Zilnic: $avgmsgtime
"; //echo "\".\"/
"; $uid = getuid_sid($sid); if(budres($uid, $who)==0) { echo "\"!\"/ "; echo "[adauga la prieteni]
"; }else if(budres($uid, $who)==1) { echo "* cerere de prietenie in curs *
"; }else if(budres($uid, $who)==2) { echo "[\"!\"/sterge de la prieteni]
"; } $ires = ignoreres($uid, $who); if(es==2) { echo "»[#] sterge de la ignorati
"; }else if($ires==1) { echo "[\"!\"/ adauga la ignorati]
"; } $countpics = mysql_fetch_array(mysql_query("SELECT COUNT(id) FROM lib3rtymrc_gallery WHERE uid='".$who."'")); echo "Galerie foto:$countpics[0]
"; $noi = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_gbook WHERE gbowner='".$who."' AND reported = 0")); echo "Comentarii:$noi[0]
"; ///////////////////////////////////////////////// ///Dupa alerte if ($actiune=="pupic") { $nopl = mysql_fetch_array(mysql_query("SELECT plusses FROM lib3rtymrc_users WHERE id='".$uid."'")); if($nopl[0]<200) { echo "

"; echo "\"X\"/
Ai nevoie de minim 200 de plusuri pentru a-i trimite un pupic lui $whonick!

"; echo "Inapoi
"; echo "

"; echo "

"; echo ""; echo ""; exit(); }else{ $actime = mysql_fetch_array(mysql_query("SELECT actime FROM lib3rtymrc_usfun WHERE uid='".$uid."' AND target='".$who."' ORDER BY actime DESC LIMIT 1")); $timeout = $actime[0] + (30*30); if(time()<$timeout) { echo "

"; echo "\"X\"/
I-ai trimis recent un pupic lui $whonick!
Vei putea trimite altul peste 10 minute!

"; echo "Inapoi
"; echo "

"; echo "

"; echo ""; echo ""; exit(); }else{ if($uid==$who){ echo ""; }else{ $res = mysql_query("INSERT INTO lib3rtymrc_usfun SET uid='".$uid."', action='pupic', target='".$who."', actime='".time()."'"); $pmtext = ":*[br/] Buna! tocmai ti-am trimis [b]un pupic[/b] ![br/]Actioneaza si tu intrand la profilul lui/ei si oferindu-i o cafea, un pupic sau o floare![br/][i]p.s:acesta este un pm automat![/i]"; $res = mysql_query("INSERT INTO lib3rtymrc_private SET text='". $pmtext ."', byuid='$uid', touid='".$who."', timesent='".time()."'"); if(!$res) { echo "\"X\"/
Nu se poate trimite!

"; }else{ mysql_query("UPDATE lib3rtymrc_users SET plusses=plusses-5 WHERE id='".$uid."'"); echo "\"\"/
"; echo "Tocmai i-ai trimis un pupic lui $whonick!

"; } } } }} if ($actiune=="flirt") { $nopl = mysql_fetch_array(mysql_query("SELECT plusses FROM lib3rtymrc_users WHERE id='".$uid."'")); if($nopl[0]<200) { echo "

"; echo "\"X\"/
Ai nevoie de minim 200 de plusuri pentru a flirta cu $whonick!

"; echo "Inapoi
"; echo "

"; echo "

"; echo ""; echo ""; exit(); }else{ $actime = mysql_fetch_array(mysql_query("SELECT actime FROM lib3rtymrc_usfun WHERE uid='".$uid."' AND target='".$who."' ORDER BY actime DESC LIMIT 1")); $timeout = $actime[0] + (30*30); if(time()<$timeout) { echo "

"; echo "\"X\"/
I-ai trimis recent o cerere de flirt lui $whonick!
Vei putea trimite alta peste 10 minute!

"; echo "Inapoi
"; echo "

"; echo "

"; echo ""; echo ""; exit(); }else{ if($uid==$who){echo ""; }else{ $res = mysql_query("INSERT INTO lib3rtymrc_usfun SET uid='".$uid."', action='flirt', target='".$who."', actime='".time()."'"); $pmtext = ":x[br/] Buna! tocmai ti-am trimis o cerere [b]de flirt[/b] ![br/]Actioneaza si tu intrand la profilul lui/ei si oferindu-i o cafea, un pupic sau o floare![br/][i]p.s:acesta este un pm automat![/i]"; $res = mysql_query("INSERT INTO lib3rtymrc_private SET text='". $pmtext ."', byuid='$uid', touid='".$who."', timesent='".time()."'"); if(!$res) { echo "\"X\"/
Nu se poate trimite!

"; }else{ mysql_query("UPDATE lib3rtymrc_users SET plusses=plusses-5 WHERE id='".$uid."'"); echo "\"\"/
"; echo "Tocmai i-ai trimis o cerere de flirt lui $whonick!

"; } } } }} if ($actiune=="flori") { $nopl = mysql_fetch_array(mysql_query("SELECT plusses FROM lib3rtymrc_users WHERE id='".$uid."'")); if($nopl[0]<200) { echo "

"; echo "\"X\"/
Ai nevoie de minim 200 de plusuri pentru a-i trimite flori lui $whonick!

"; echo "Inapoi
"; echo "

"; echo "

"; echo ""; echo ""; exit(); }else{ $actime = mysql_fetch_array(mysql_query("SELECT actime FROM lib3rtymrc_usfun WHERE uid='".$uid."' AND target='".$who."' ORDER BY actime DESC LIMIT 1")); $timeout = $actime[0] + (30*30); if(time()<$timeout) { echo "

"; echo "\"X\"/
I-ai trimis recent flori lui $whonick!
Vei putea trimite altele peste 10 minute!

"; echo "Inapoi
"; echo "

"; echo "

"; echo ""; echo ""; exit(); }else{ if($uid==$who){ echo ""; }else{ $res = mysql_query("INSERT INTO lib3rtymrc_usfun SET uid='".$uid."', action='flori', target='".$who."', actime='".time()."'"); $pmtext = ".flori2.[br/] Buna! tocmai ti-am trimis [b]flori[/b] ![br/]Actioneaza si tu intrand la profilul lui/ei si oferindu-i o cafea, un pupic sau o floare![br/][i]p.s:acesta este un pm automat![/i]"; $res = mysql_query("INSERT INTO lib3rtymrc_private SET text='". $pmtext ."', byuid='$uid', touid='".$who."', timesent='".time()."'"); if(!$res) { echo "\"X\"/
Nu se poate trimite!

"; }else{ mysql_query("UPDATE lib3rtymrc_users SET plusses=plusses-5 WHERE id='".$uid."'"); echo "\"\"/
"; echo "Tocmai i-ai trimis flori lui $whonick!

"; } } } }} if ($actiune=="cafea") { $nopl = mysql_fetch_array(mysql_query("SELECT plusses FROM lib3rtymrc_users WHERE id='".$uid."'")); if($nopl[0]<200) { echo "

"; echo "\"X\"/
Ai nevoie de minim 200 de plusuri pentru a-i trimite o invitatie la cafea lui $whonick!

"; echo "Inapoi
"; echo "

"; echo "

"; echo ""; echo ""; exit(); }else{ $actime = mysql_fetch_array(mysql_query("SELECT actime FROM lib3rtymrc_usfun WHERE uid='".$uid."' AND target='".$who."' ORDER BY actime DESC LIMIT 1")); $timeout = $actime[0] + (30*30); if(time()<$timeout) { echo "

"; echo "\"X\"/
I-ai trimis recent o invitatie la cafea lui $whonick!
Vei putea trimite alta peste 10 minute!

"; echo "Inapoi
"; echo "

"; echo "

"; echo ""; echo ""; exit(); }else{ if($uid==$who){echo "";}else{ $res = mysql_query("INSERT INTO lib3rtymrc_usfun SET uid='".$uid."', action='cafea', target='".$who."', actime='".time()."'"); $pmtext = ".coffee.[br/] Buna! tocmai ti-am trimis o invitatie [b]la cafea[/b] ![br/]Actioneaza si tu intrand la profilul lui/ei si oferindu-i o cafea, un pupic sau o floare![br/][i]p.s:acesta este un pm automat![/i]"; $res = mysql_query("INSERT INTO lib3rtymrc_private SET text='". $pmtext ."', byuid='$uid', touid='".$who."', timesent='".time()."'"); if(!$res) { echo "\"X\"/
Nu se poate trimite!

"; }else{ mysql_query("UPDATE lib3rtymrc_users SET plusses=plusses-5 WHERE id='".$uid."'"); echo "\"\"/
"; echo "Tocmai i-ai trimis o invitatie la cafea lui $whonick!

"; } } } }} ////////////////////////////////// if ($actiune=="suc") { $nopl = mysql_fetch_array(mysql_query("SELECT plusses FROM lib3rtymrc_users WHERE id='".$uid."'")); if($nopl[0]<200) { echo "

"; echo "\"X\"/
Ai nevoie de minim 200 de plusuri pentru a-i trimite un suc lui $whonick!

"; echo "Inapoi
"; echo "

"; echo "

"; echo ""; echo ""; exit(); }else{ $actime = mysql_fetch_array(mysql_query("SELECT actime FROM lib3rtymrc_usfun WHERE uid='".$uid."' AND target='".$who."' ORDER BY actime DESC LIMIT 1")); $timeout = $actime[0] + (30*30); if(time()<$timeout) { echo "

"; echo "\"X\"/
I-ai trimis recent in suc lui $whonick!
Vei putea trimite altele peste 10 minute!

"; echo "Inapoi
"; echo "

"; echo "

"; echo ""; echo ""; exit(); }else{ if($uid==$who){ echo ""; }else{ $res = mysql_query("INSERT INTO lib3rtymrc_usfun SET uid='".$uid."', action='suc', target='".$who."', actime='".time()."'"); $pmtext = ".flori2.[br/] Buna! tocmai ti-am trimis [b]flori[/b] ![br/]Actioneaza si tu intrand la profilul lui/ei si oferindu-i o cafea,un suc, un pupic sau o floare![br/][i]p.s:acesta este un pm automat![/i]"; $res = mysql_query("INSERT INTO lib3rtymrc_private SET text='". $pmtext ."', byuid='$uid', touid='".$who."', timesent='".time()."'"); if(!$res) { echo "\"X\"/
Nu se poate trimite!

"; }else{ mysql_query("UPDATE lib3rtymrc_users SET plusses=plusses-5 WHERE id='".$uid."'"); echo "\"\"/
"; echo "Tocmai i-ai trimis un suc lui $whonick!

"; } } } }} /////////////////////////////////// ///afectiunea if($uid==$who) { echo""; }else{ echo "\"\"/Actioneaza:
"; echo "\"pupic\"/ "; echo "\"flirt\"/ "; echo "\"flori\"/ "; echo "\"cafea\"/
"; echo "\"suc\"/
"; echo "Afectiunea noastra
"; } /////pana aici afectiunea //////////////////////////////////////////////////// ///asta pe profil ///Cadouri By Mr_CrAzY echo "trimite cadou
"; $noi = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM mr_crazy_cadouri_cumparate WHERE oferit='".$who."'")); echo "cadouri primite: $noi[0]
"; // dedicatii // list($dedicatii_primite) = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM cam_dedicatii WHERE touid = $who")); list($dedicatii_trimise) = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM cam_dedicatii WHERE byuid = $who")); // echo '-----
'; echo "Dedica
"; echo 'Dedicatii: '; echo "$dedicatii_primite"; echo ' / '; echo "$dedicatii_trimise"; echo '
'; $topconectati = mysql_fetch_array(mysql_query("SELECT topcon FROM lib3rtymrc_users WHERE id='".$who."'")); echo "Loc in top online:$topconectati[0]
"; echo "-----
"; echo "ID: $who
"; echo "Rang: ".getstatus($who)."
"; //echo "Reputatie: ".getreputatie($who)."
"; $nopl = mysql_fetch_array(mysql_query("SELECT sex, birthday, location FROM lib3rtymrc_users WHERE id='".$who."'")); $uage = getage($nopl[1]); if($nopl[0]=='M') { $usex = "Barbat"; }else if($nopl[0]=='F'){ $usex = "Femeie"; }else{ $usex = "\".\"/Fara sex"; } $nopl[2] = htmlspecialchars($nopl[2]); echo "Varsta: $uage
"; $datanasterii = mysql_fetch_array(mysql_query("SELECT birthday FROM lib3rtymrc_users WHERE id='".$who."'")); echo "Zodia: ".obtinedatanasterii($datanasterii[0],$sid); $regd = mysql_fetch_array(mysql_query("SELECT regdate FROM lib3rtymrc_users WHERE id='".$who."'")); $sage = time()-$regd[0]; $rwage = ceil($sage/(24*60*60)); echo "
Sex: $usex
"; echo "Locatitatea: $nopl[2]"; // echo "
"; // $sage = time()-$regd[0]; //$rwage = ceil($sage/(24*60*60)); // echo s FROM lib3rtymrc_users WHERE id='".$who."'")); ///echo "Varsta $numesite: $rwage zile
"; //echo "Plusuri: $noplx[0]+
"; //echo "Monezi : ".monezi($who)."
"; //echo "Plusuri: ".getplusses($who)."
"; $nob = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_buddies WHERE (uid='".$who."' OR tid='".$who."') AND agreed='1'")); echo "\"!\"/Prieteni: $nob[0]
"; $nopl = mysql_fetch_array(mysql_query("SELECT site FROM lib3rtymrc_users WHERE id='".$who."'")); $motto = parsepm($nopl[0], $sid); $judg = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_judges WHERE uid='".$who."'")); if($judg[0]>0) { //echo "-----
* Organizator Quizz *
"; echo "-----
"; } //echo "Postari In forumuri
"; $unol = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_topics WHERE authorid='".$who."'")); $tlink = "$unol[0]"; //echo "Topicuri: $tlink
"; $unop = mysql_fetch_array(mysql_query("SELECT posts FROM lib3rtymrc_users WHERE id='".$who."'")); $unol = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_posts WHERE uid='".$who."'")); $plink = "$unol[0]"; //echo "Postari: $plink/$unop[0]
"; ////////////////////////////////////////////// if($adopt[0]==0) { echo "\"!\"/Copil: "; $nopl = mysql_fetch_array(mysql_query("SELECT sex FROM lib3rtymrc_users WHERE id='".$who."'")); $couple = mysql_fetch_array(mysql_query("SELECT accept, who, partner FROM adoptie WHERE who='".$who."'")); $couples = mysql_fetch_array(mysql_query("SELECT accept, who, partner FROM adoptie WHERE partner='".$who."'")); if($couple[0]=='1') { $mate = $couple[2]; $mate1 = getnick_uid($mate); if($nopl[0]=='M') { echo " $mate1
"; }else if($nopl[0]=='F'){ echo " $mate1
"; } } else if($couples[0]=='1') { $mate = $couples[1]; $mate1 = getnick_uid($mate); if($nopl[0]=='M') { echo " $mate1
"; }else if($nopl[0]=='F'){ echo " $mate1
"; } }else{ if($nopl[0]=='M') { echo "nu are
"; }else if($nopl[0]=='F'){ echo "nu are
"; }else{ echo "nu are
"; } } }else if($adopt[0]==1){ echo "Adoptat:
"; $nopl = mysql_fetch_array(mysql_query("SELECT sex FROM dk_users WHERE id='".$who."'")); $couple = mysql_fetch_array(mysql_query("SELECT accept, who, partner FROM adoptie WHERE who='".$who."'")); $couples = mysql_fetch_array(mysql_query("SELECT accept, who, partner FROM adoptie WHERE partner='".$who."'")); if($couple[0]=='1') { $mate = $couple[2]; $mate1 = getnick_uid($mate); if($nopl[0]=='M') { echo " $mate1
"; }else if($nopl[0]=='F'){ echo " $mate1
"; } } else if($couples[0]=='1') { $mate = $couples[1]; $mate1 = getnick_uid($mate); if($nopl[0]=='M') { echo " $mate1
"; }else if($nopl[0]=='F'){ echo "adopt cu $mate1
"; } } } $cati = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM couple WHERE who='".$who."' OR partner='".$who."'")); $cum = mysql_fetch_array(mysql_query("SELECT accept, who, partner FROM couple WHERE who='".$who."' OR partner='".$who."'")); if($cum[0]==1&&$cati[0]!==0){ if($cum[1]==$who){ $cumx= ""; $cumxid= ""; }else{ $cumx= "".getnick_uid($cum[1]).""; $cumxid= $cum[1]; } if($cum[2]==$who){ $cumx2= ""; $cumx2id= ""; }else{ $cumx2= "".getnick_uid($cum[2]).""; $cumx2id= $cum[2]; } $casatorit = mysql_fetch_array(mysql_query("SELECT casatorit FROM couple WHERE who='".$who."' OR partner='".$who."'")); if($casatorit[0]==0) { $nopl = mysql_fetch_array(mysql_query("SELECT sex FROM lib3rtymrc_users WHERE id='".$who."'")); if($nopl[0]=='M') { $stare = "logodit"; }else if($nopl[0]=='F'){ $stare = "logodita"; }else{ $stare = "logodit"; } }else{ $nopl = mysql_fetch_array(mysql_query("SELECT sex FROM lib3rtymrc_users WHERE id='".$who."'")); if($nopl[0]=='M') { $stare = "casatorit"; }else if($nopl[0]=='F'){ $stare = "casatorita"; }else{ $stare = "casatorit"; } } $link = "$stare cu $cumx$cumx2
"; $cuplu = mysql_fetch_array(mysql_query("SELECT id FROM couple WHERE who='".$who."' OR partner='".$who."'")); $nas = mysql_fetch_array(mysql_query("SELECT nas1, nas2, datans FROM couple WHERE id='".$cuplu[0]."'")); if($nas[0]!=="" && $nas[1]!==""){ $nasu1 = getnick_uid($nas[0]); $nasu2 = getnick_uid($nas[1]); $nas = "Nasii: $nasu1 + $nasu2
"; }else{ $nas = "Nu au nasi"; } }else if($cum[0]==0||$cati[0]==0){ $nopl = mysql_fetch_array(mysql_query("SELECT sex FROM lib3rtymrc_users WHERE id='".$who."'")); if($nopl[0]=='M') { $starex = "singur"; }else if($nopl[0]=='F'){ $starex = "singura"; }else{ $starex = "singur"; } $link = "$starex
"; $nas = ""; } echo "\"!\"/Stare Civila: $link$nas
"; //echo "
"; $exet = mysql_fetch_array(mysql_query("SELECT adusde FROM lib3rtymrc_users WHERE id='".$who."'")); $linkx = "".getnick_uid($exet[0])."
"; if($exet[0]!==""){ echo "Mentor: $linkx"; } // echo "-----
"; $nopl = mysql_fetch_array(mysql_query("SELECT signature FROM lib3rtymrc_users WHERE id='".$who."'")); $sign = parsepm($nopl[0], $sid); echo "\"!\"/MoTTo: $sign"; echo "
-----
"; echo "Alte Detalii:
"; echo "Contact|"; echo "Infatisare
"; echo "Statistici|"; echo "Personalitate
"; echo "
"; //echo "

"; echo "-----
"; echo "»Distreaza-te cu userul«
"; echo "»Animale Virtuale«
"; echo "»$numesite ID Card«
"; echo "»doneaza puncte joc«
"; //$melodie = mysql_fetch_array(mysql_query("SELECT mel FROM lib3rtymrc_users WHERE id='".$who."'")); $nume_melodie = mysql_fetch_array(mysql_query("SELECT title FROM lib3rtymrc_manele WHERE id='".$melodie[0]."'")); echo "Melodie favorita:"; $mrcrazymelodie = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_manele WHERE id='$melodie[0]'")); if($mrcrazymelodie[0]=="0"){ if ($uid==$who) { echo "nesetata
"; }else{ echo "nesetata
"; } }else{ echo " ".htmlspecialchars($nume_melodie[0 ])."
"; } /////////////////////// pana aici if(ismod(getuid_sid($sid))) { $nopl = mysql_fetch_array(mysql_query("SELECT browserm FROM lib3rtymrc_users WHERE id='".$who."'")); echo "» Browser: $nopl[0]
"; $uipadd = mysql_fetch_array(mysql_query("SELECT ipadd FROM lib3rtymrc_users WHERE id='".$who."'")); echo "» IP:$uipadd[0]
"; $nob = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_buddies WHERE (uid='".$who."' OR tid='".$who."') AND agreed='1'")); echo "» Prieteni: $nob[0]
"; } echo "
"; if(cansee(getuid_sid($sid), $who)) { echo ""; $unol = mysql_fetch_array(mysql_query("SELECT lastpnreas FROM lib3rtymrc_users WHERE id='".$who."'")); if($unol[0]!="") { echo "Motiv penalizare: $unol[0]
"; } $unol = mysql_fetch_array(mysql_query("SELECT lastplreas FROM lib3rtymrc_users WHERE id='".$who."'")); if($unol[0]!="") { echo "Motiv plusuri: $unol[0]
"; } echo "
"; } echo "

"; echo "

"; $judg = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_judges WHERE uid='".getuid_sid($sid)."'")); if(ismod(getuid_sid($sid))) { ///////////////////////////////// comenzi :D ///////////////////////////////// comenzi :D include("comenzi.php"); } echo ""; if(ismod(getuid_sid($sid))) { echo "Adauga monezi
"; echo "Adauga plusuri
"; echo "Acorda puncte Quizz/Fazan
"; } }else{ echo "\"X\"/ Membru nu exista
"; } echo "-----
"; echo ""; echo "Acasa"; echo "

"; echo ""; } ////////////////////////////////////////// uxset else if($action=="uxset") { addonline(getuid_sid($sid),"Setari extinse","index.php?action=$action"); echo ""; echo "

"; echo "»Adresa mea
"; echo "»Personalitate
"; //echo "»Gmail Settings
"; echo "»Mai multe despre mine
"; echo "»Preferinte
"; echo "

"; echo "

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

"; echo "
"; } //////////////////////////////////////////User Address else if($action=="uadd") { addonline(getuid_sid($sid),"Adresa mea",""); echo ""; echo ""; $ainfo = mysql_fetch_array(mysql_query("SELECT country, city, street, phoneno, timezone FROM lib3rtymrc_xinfo WHERE uid='".getuid_sid($sid)."'")); echo " "; echo ""; echo "

"; echo "\"!\"/Dute la Preferinte si alege doar prietenii daca vrei ca doar prietenii sa vada numarul tau de telefon si adresa unde stai
"; echo "\"!\"/Daca vrei ca nimeni sa nu iti vada informatiile astea nu le completa
"; echo ' Tara:
Oras:
Timezone(e.g +1 or -2.5):
Numar telefon.:
'; echo "Confirma"; echo ""; echo ""; echo ""; echo ""; echo ""; echo ""; echo "

"; echo "

"; echo ""; echo "Seteaza profil
"; echo "\"*\"/"; echo "Prim"; echo "

"; echo "
"; } //////////////////////////////////////////User Preferences else if($action=="upre") { addonline(getuid_sid($sid),"Preferinte",""); echo ""; echo ""; $ainfo = mysql_fetch_array(mysql_query("SELECT sitedscr, budsonly, sexpre FROM lib3rtymrc_xinfo WHERE uid='".getuid_sid($sid)."'")); echo " "; echo ""; echo "

"; echo "\"!\"/Situl tau este deja pus pe setarile normale
"; echo "\"!\"/Seteaza prietenii doar pe da, asa ca doar prietenii tai iti poti vedea numarul tau de telefon, strada si numele real
"; echo "\"!\"/Preferintele sexuale vor ajuta pe ceilalti si pe tine sa fii cautat de cine trebuie

"; echo ' Descriere site:
Doar prietenii:
Preferinte sexuale: '; echo "
Confirma"; echo ""; echo ""; echo ""; echo ""; echo ""; echo "

"; echo "

"; echo ""; echo "Seteaza profil
"; echo "\"*\"/"; echo "Prim"; echo "

"; echo "
"; } //////////////////////////////////////////User Personaliy else if($action=="uper") { addonline(getuid_sid($sid),"Personalitate",""); echo ""; echo ""; $ainfo = mysql_fetch_array(mysql_query("SELECT height, weight, realname, racerel, eyescolor, profession, hairtype FROM lib3rtymrc_xinfo WHERE uid='".getuid_sid($sid)."'")); echo " "; echo ""; echo "

"; echo ' Inaltime:
Greutate:
Nume real:
Origine etnica:
Culoarea ochilor:
Culoarea parului:
Profesie:
'; echo "Confirma"; echo ""; echo ""; echo ""; echo ""; echo ""; echo ""; echo ""; echo ""; echo ""; echo "

"; echo "

"; echo ""; echo "Seteaza profil
"; echo "\"*\"/"; echo "Prim"; echo "

"; echo "
"; } //////////////////////////////////////////User Personaliy else if($action=="umin") { addonline(getuid_sid($sid),"Mai multe despre mine",""); echo ""; echo ""; $ainfo = mysql_fetch_array(mysql_query("SELECT likes, deslikes, habitsb, habitsg, favsport, favmusic, moretext FROM lib3rtymrc_xinfo WHERE uid='".getuid_sid($sid)."'")); echo " "; echo ""; echo "

"; echo ' Imi place:
Nu imi place:
Defecte:
Calitati:
Sport favorit:
Muzica favorita:
Mai multe detalii:
'; echo "Confirma"; echo ""; echo ""; echo ""; echo ""; echo ""; echo ""; echo ""; echo ""; echo ""; echo "

"; echo "

"; echo "";; echo "Seteaza profil
"; echo "\"*\"/"; echo "Prim"; echo "

"; echo "
"; } /////////////////////////////meeeesssss bY I0nwTZz//////// else if($action=="mess") { addonline(getuid_sid($sid),"Seteaza Profil",""); echo ""; echo ""; $ainfo = mysql_fetch_array(mysql_query("SELECT country, city, street, phoneno, timezone FROM lib3rtymrc_xinfo WHERE uid='".getuid_sid($sid)."'")); echo " "; echo ""; echo "

"; echo "\"!\"/
"; echo "

"; echo "

"; echo " \"!\"/Vrei sa adaugi ID-ul de Messenger aici?
"; echo ' Id Messenger:
'; echo "Confirma"; echo ""; echo ""; echo ""; echo "

"; echo "

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

"; echo "
"; } ////////////////////////////////////////// else if($action=="altes") { addonline(getuid_sid($sid),"Seteaza Profil",""); echo ""; echo ""; $ainfo = mysql_fetch_array(mysql_query("SELECT country, city, street, phoneno, timezone FROM lib3rtymrc_xinfo WHERE uid='".getuid_sid($sid)."'")); echo " "; echo ""; echo "

"; echo "\"!\"/Dute la Preferinte si alege doar prietenii daca vrei ca doar prietenii sa vada numarul tau de telefon si idul tau de messenger
"; echo "\"!\"/Daca vrei ca nimeni sa nu iti vada informatiile astea nu le completa
"; echo ' Id Messenger:
Numar telefon.:
'; echo "Confirma"; echo ""; echo ""; echo ""; echo ""; echo "

"; echo "

"; echo ""; echo "Seteaza profil
"; echo "\"*\"/"; echo "Prim"; echo "

"; echo "
"; } //////////////////////////////////////////Give Game Plusses else if($action=="givegp") { $who = $_GET["who"]; addonline(getuid_sid($sid),"Da GPs",""); echo ""; echo ""; echo " "; echo ""; echo "

"; echo "Da GP la ".getnick_uid($who)."

"; $gps = mysql_fetch_array(mysql_query("SELECT gplus FROM lib3rtymrc_users WHERE id='".getuid_sid($sid)."'")); echo "Ai $gps[0] GP

"; echo "GP de dat
"; echo ""; echo "
Da"; echo ""; echo ""; echo ""; echo "

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

"; echo "
"; } //////////////////////////////////////////Give Battle points else if($action=="batp") { $who = $_GET["who"]; addonline(getuid_sid($sid),"Da puncte de batalie",""); echo ""; echo ""; echo " "; echo ""; echo "

"; $judg = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_judges WHERE uid='".getuid_sid($sid)."'")); if(ismod(getuid_sid($sid))||$judg[0]>0) { echo "Da/Ia puncte de batalie de la ".getnick_uid($who)."

"; echo ""; echo "
Adauga"; echo ""; echo ""; echo ""; echo "
"; echo "Sterge"; echo ""; echo ""; echo ""; echo "

"; }else{ echo "andrei19 iti zice ca esti expirat :D"; } echo "

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

"; echo "
"; } ////// chat else if ($action=="chat") { addonline(getuid_sid($sid),"Meniu Chat","index.php?action=$action"); echo ""; echo "

"; echo "Comunica Liber

"; echo "

"; echo "

"; $rooms = mysql_query("SELECT id, name, perms, mage, chposts FROM lib3rtymrc_rooms WHERE static='1' AND clubid='0' AND id!='580'"); while ($room= mysql_fetch_array($rooms)) { if(canenter($room[0], $sid)) { $noi = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_chonline WHERE rid='".$room[0]."'")); if($room[5]=="1") { echo "$room[1]($noi[0])
"; }else{ echo "$room[1]($noi[0])
"; } } } echo "

"; echo "

"; echo "-------
"; echo "Camere private
"; echo "Acasa
"; echo "

"; echo "
"; } else if ($action=="uchat") { addonline(getuid_sid($sid),"Camere private","index.php?action=$action"); echo ""; echo "

"; $uid = getuid_sid($sid); echo "Creare camera
"; echo "-------
"; echo "
"; echo "

"; echo "

"; $rooms = mysql_query("SELECT id, name, pass FROM lib3rtymrc_rooms WHERE static='0'"); $co=0; while ($room= mysql_fetch_array($rooms)) { $co++; if(canenter($room[0], $sid)) { $noi = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_chonline WHERE rid='".$room[0]."'")); if($room[2]=="") { echo "".htmlspecialchars($room[1])."($noi[0])
"; }else{ echo "

"; echo ""; echo ""; echo htmlspecialchars($room[1]); echo "($noi[0])"; echo ""; echo ""; echo ""; echo ""; echo ""; echo "
"; } } } echo "

"; echo "

"; echo "
Meniu Chat
"; echo "Acasa
"; echo "

"; echo "
"; } else if($action=="mkroom") { addonline(getuid_sid($sid),"Creare camera","index.php?action=$action"); echo ""; echo "

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

"; echo "
"; echo ""; exit(); } $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 "\"!\"/Nu scrie nimic la parola daca vrei ca pe camera sa poata intra oricine
"; echo "Nume camera:
"; echo "Parola:
"; echo "Creaza"; echo ""; echo ""; echo ""; echo ""; echo "

"; echo "

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

"; echo ""; } else if ($action=="funm") { addonline(getuid_sid($sid),"Meniu jocuri","index.php?action=$action"); echo ""; echo "

"; echo "Meniu Jocuri
"; $uid = getuid_sid($sid); $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 "\"*\"/
"; echo "Bun venit in categoria jocurilor. Poti sa te distrez pe cinste."; echo "

"; echo "

"; /* echo "Jocuri Culturale
"; $chatters=mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_onlinefazan")); echo " \".\"/Joaca Fazaniada($chatters[0])
"; $chatters=mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_onlinetrivia")); echo " \".\"/Joaca Trivia($chatters[0])
"; // smart $chatters=mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM ice_onlinesmart")); echo " \".\"/Joaca Anagrame($chatters[0])
"; // spanzuratoarea $chatters=mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM ice_onlinespanzr")); echo " \".\"/Jsinguroaca Spanzuratoarea($chatters[0])
"; */ echo "Jocuri Virtuale
"; echo ""; echo "\".\"/War World
"; echo "\".\"/XP Game
"; echo "\".\"/Ghiceste numarul
"; echo "\".\"/Spanzuratoarea
"; echo "\".\"/Loto 20/99
"; echo "\".\"/X si 0
"; echo "\".\"/RPG
"; echo "\".\"/Barbut
"; echo "\".\"/Gta
"; echo "\".\"/Racing
"; echo "
"; echo "

"; echo "

"; echo "Acasa"; echo "

"; echo "
"; } ///////////////////////////////////Seteaza profil else if($action=="setari") { addonline(getuid_sid($sid),"Seteaza profil","index.php?action=$action"); echo ""; echo "

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

"; echo "
"; echo ""; exit(); } // include("popups.php"); echo "\"*\"/
"; echo "Seteaza profil
"; echo "Setarile ce contin (*) sunt obligatoriu de completat"; echo "

"; echo "

"; $tmsg = getpmcount(getuid_sid($sid)); $umsg = getunreadpm(getuid_sid($sid)); //echo "-Posta[$umsg/$tmsg]
"; echo "-Posta($umsg noi)
"; echo "-------
"; $uid =getuid_sid($sid); echo "»Vizualizeaza profil
"; echo "-------
"; $hidden = mysql_fetch_array(mysql_query("SELECT hidden FROM lib3rtymrc_users WHERE id='".$uid."'")); if($hidden[0]==1) { echo "»Intra pe modul invizibil«
"; }else{ echo "»Iesi de pe modul invizibil«
"; } echo "-----
"; $avatar = mysql_fetch_array(mysql_query("SELECT setavatar FROM lib3rtymrc_users WHERE id='".$uid."'")); if($avatar[0]==1) { echo "»Micsoreaza avatar (128x112 px)
"; }else{ echo "»Dezactiveaza Micsorare avatar«
"; } echo "»Setari Profil de baza(*)
"; echo "»Setari Diverse(*)
"; echo "»Mod primire alerte
"; echo "»Mesaje Automate
"; //echo "»Seteaza Notificare prin mail
"; echo "»Setateaza Statut La lista de conectati
"; echo "»Schimba Parola
"; echo "»Adresa mea
"; echo "»Personalitate
"; echo "»Mai multe despre mine
"; echo "»Preferinte
"; echo "»Setateaza Grafica
"; //echo "»Setateaza Statut
"; $noi = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_ignore WHERE name='".$uid."'")); echo "»Lista Ignorati($noi[0])
"; echo "

"; echo "

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

"; echo ""; } ///////////////////////// notificare pm else if($action=="notificare") { addonline(getuid_sid($sid),"Notificare Pm",""); echo ""; echo "

"; echo "Daca ai o adresa de e-mail valida pusa la profil,activand optiunea vei primi un e-mail de fiecare data cand cineva iti va trimite un pm pe lib3rty si tu nu esti online"; echo "
-------
"; echo "

"; echo "

"; $uid =getuid_sid($sid); $notificare = mysql_fetch_array(mysql_query("SELECT notificare FROM lib3rtymrc_users WHERE id='".$uid."'")); if($notificare[0]==1) { echo "»Dezactiveaza notificare PM prin mail«
"; }else{ echo "»Activeaza notificare PM prin mail«
"; } echo "
"; echo "

"; echo "

"; echo "Setari profil
"; echo "\"*\"/"; echo "Prim"; echo "

"; echo "

"; echo ""; echo "P.S.:aceasta optiune este doar pentru cei care au o adresa de e-mail valida la profil"; echo ""; echo "

"; echo "
"; } //////////////////////////// mod primire alerte else if($action=="alerteset") { addonline(getuid_sid($sid),"Seteaza alerte","index.php?action=$action"); echo ""; echo "

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

"; echo "
"; echo ""; exit(); } // include("popups.php"); echo "\"*\"/
"; echo "Mod primire alerte
"; echo "

"; echo "

"; echo "In mod initial alertele sunt active doar pentru prieteni,daca doriti sa primiti alerte de la toti trebuie sa \"Dezactiveaza alertele numai pentru prieteni\"
"; //////////////// alertele $popmsgs = mysql_fetch_array(mysql_query("SELECT popmsg FROM lib3rtymrc_users WHERE id='".$uid."'")); if($popmsgs[0]==0){ echo "»Activeaza alertele
"; }else{ //////////////// alertele $alerte = mysql_fetch_array(mysql_query("SELECT alerte FROM lib3rtymrc_users WHERE id='".$uid."'")); if($alerte[0]==1) { echo "»Activeaza alertele numai pentru prieteni
"; }else{ echo "»Dezactiveaza alertele numai pentru prieteni
"; } // echo "-----
»Dezactivaza alertele
"; } echo "

"; echo "

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

"; echo ""; } //////////////////////////// mesaje automate else if($action=="autopms") { addonline(getuid_sid($sid),"Seteaza Mesajele Automate","index.php?action=$action"); echo ""; echo "

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

"; echo "
"; echo ""; exit(); } // include("popups.php"); echo "\"*\"/
"; echo "Auto PM-uri
"; echo "

"; echo "

"; echo "Dezactivand acesta optiune nu ve-ti mai primi pm-uri automate cand primiti un cometariu la profil,poza sau cand ve-ti mai fi acceptati/stersi din lista de prieteni a unui user!
"; if(automsgs($uid)){ echo "»Dezactiveaza Mesajele automate
"; }else{ echo "»Activeaza Mesajele Automate
"; } echo "

"; echo "

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

"; echo ""; } /////////////////////////alertele else if($action=="popread") { echo ""; echo "

"; $lastloc=$_GET["lastloc"]; $pmid=$_GET["pmid"]; $ncl = mysql_query("UPDATE lib3rtymrc_private SET read='1' WHERE id='".$pmid."'"); echo "Pm Now Marked As Read Visit Your Inbox To Reply Or delete the message.
"; echo "

"; echo "

"; if($lastloc=="indxmain"){ echo ""; }else if($lastloc=="cht"){ $rid=$_GET["rid"]; echo ""; } echo "Back To Where You Where Before"; echo "

"; echo "
"; } ///////////////////////////// alerte on else if($action=="popenable") { echo ""; echo "

"; $ncl = mysql_query("UPDATE lib3rtymrc_users SET popmsg='1' WHERE id='".$uid."'"); echo "\"o\"/Alerte Activate cu succes
"; echo "

"; echo "

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

"; echo "
"; } ////////////////////////////// alerte off else if($action=="popdisable") { echo ""; echo "

"; $ncl = mysql_query("UPDATE lib3rtymrc_users SET popmsg='0' WHERE id='".$uid."'"); echo "\"o\"/Alerte dezactivate cu succes.
"; echo "

"; echo "

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

"; echo "
"; } ////////////////////// seteaza alerte else if($action=="setalerte") { addonline(getuid_sid($sid),"seteaza alerte",""); echo ""; echo "

"; echo "\"*\"/
"; echo ""; $uid = getuid_sid($sid); $ncl = mysql_query("SELECT popmsg FROM lib3rtymrc_users WHERE id='".$uid."'"); echo " "; echo ""; echo "Mod primire Alerte

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

"; echo "
"; } ////////////////////// seteaza pm-uri else if($action=="setpm") { addonline(getuid_sid($sid),"Seteaza PM-uri",""); echo ""; echo "

"; echo "\"*\"/
"; echo ""; $uid = getuid_sid($sid); $ncl = mysql_query("SELECT pmmsg FROM lib3rtymrc_users WHERE id='".$uid."'"); echo " "; echo ""; echo "Mod primire PM-uri

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

"; echo "
"; } ////////////////////////////////////////////////////////Validare veche :D else if($action=="validare") { addonline(getuid_sid($sid),"Trimitere Cerere validare",""); echo ""; echo "

"; echo "\"*\"/
"; $whonick = getnick_uid($who); echo "(*)Pentru a avea acces in totalitate la meniul siteului dupa ce ai completat profilul trimite o cerere de validare!
"; echo "»Completeaza Profilul«
"; echo "(*)Trimite cere de validare:

"; ////echo "Numele:
"; ///echo "
"; echo "»Trimit cerere de validare!"; echo ""; echo ""; echo "«

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

"; echo "
"; } ////// deconectare definitiva else if($action=="deconectare") { $uid = getuid_sid($sid); $whonick = getnick_uid($uid); if($uid>0) { addonline(getuid_sid($sid),"Deconectat",""); } echo ""; echo "

"; // echo "\"*\"/
"; echo "Te-ai deconectat , $whonick!
"; echo "Iti multumim pentru vizita.Te mai asteptam cu multe noutati!
"; ////////////////////// conectat de .... $regd = mysql_fetch_array(mysql_query("SELECT regdate, lastvst, logat FROM lib3rtymrc_users WHERE id='".$uid."'")); $sage = time()-$regd[2]; $rwage = gettimemsg($sage); $lastact = time()-$regd[2]; $conectat = gettimemsg($lastact); echo "------
"; echo "Ai stat conectat $conectat
"; echo "------
"; $libsql = mysql_fetch_array(mysql_query("SELECT sesiunemax FROM lib3rtymrc_users WHERE id='".$uid."'")); $cat = gettimemsg($libsql[0]); if($libsql[0]<$lastact) { mysql_query("UPDATE lib3rtymrc_users SET sesiunemax='".$lastact."' WHERE id='".$uid."'"); echo "URA!!!
Ti-ai intrecut vechiul record! Noul Record: $conectat

"; }else{ echo "Sesiunea ta record a ramas aceeiasi de $cat!
"; } echo "------
"; mysql_query("DELETE FROM lib3rtymrc_ses WHERE uid='".$uid."'"); mysql_query("DELETE FROM lib3rtymrc_online WHERE userid='".$uid."'"); mysql_query("UPDATE lib3rtymrc_users SET ulttpc='', ultpg='' WHERE id='".$uid."'"); echo "
"; echo "\".\"/$numesite
"; /////////////////////// pana aici echo "

"; echo "
"; } ///////////////////////////////////Extra meniu else if($action=="extra") { addonline(getuid_sid($sid),"Extra meniu","index.php?action=$action"); echo ""; echo "

"; $uid = getuid_sid($sid); echo "Meniu MagicWorld-Chat.Com"; echo "

"; echo "

"; $uid =getuid_sid($sid); //$new_gm = getnewgml($uid); echo "-MagicWorld-Chat.Com ID card
"; $on=mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM n3s_conectquiz`")); echo "-Quiz Automat($on[0])
"; echo "-Categorii Emotii(7)
"; echo "-Creaza/editeaza chestionar
"; echo "-------
"; //echo "-Meniu Ajutor
"; //echo "-Meniu de Cautare
"; echo "-Servicii
"; echo "-Statuturi Si Simboluri
"; echo "-Reputatie
"; echo "-Avatare
"; echo "-CoduriBB
"; echo "-Stiri Zilnice
"; echo "

"; echo "

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

"; echo "
"; } ///////////////////////////////view blog else if($action=="viewblog") { $bid = $_GET["bid"]; addonline(getuid_sid($sid),"Vizualizare Blog",""); echo ""; echo "

"; $pminfo = mysql_fetch_array(mysql_query("SELECT btext, bname, bgdate,bowner, id FROM lib3rtymrc_blogs WHERE id='".$bid."'")); $bttl = htmlspecialchars($pminfo[1]); $btxt = parsemsg($pminfo[0], $sid); $bnick = getnick_uid($pminfo[3]); $vbbl = "$bnick
"; echo "Club ID: $bid
"; echo "$bttl by: $vbbl
"; echo "$btxt
"; $tmstamp = $pminfo[2]; $tmdt = date("d m y - h:i:s", $tmstamp); echo "$tmdt

"; $vb = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_brate WHERE uid='".$uid."' AND blogid='".$bid."'")); if($vb[0]==0) { echo "
"; echo "Rata"; echo ""; echo ""; echo ""; }else{ $rinfo = mysql_fetch_array(mysql_query("SELECT COUNT(*) as nofr, SUM(brate) as nofp FROM lib3rtymrc_brate WHERE blogid='".$bid."'")); $ther = $rinfo[1]/$rinfo[0]; echo "Rata: $ther - Points: $rinfo[1]"; } echo "

"; echo "

"; echo "Inapoi la Blogs
"; $bnick = getnick_uid($pminfo[3]); echo "Inapoi la $bnick Blogs
"; echo "\"*\"/"; echo "Prim"; echo "

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

"; echo "C.Panel $numesite Chat"; echo "

"; echo "

"; $prop = mysql_fetch_array(mysql_query("SELECT value FROM lib3rtymrc_settings WHERE name='proprietar'")); $password = $_post["password"]; $password="$prop[0]"; if($_POST['password'] != $password || $_GET['pass'] == $password) { echo "Parola:"; echo "

"; echo "»confirma parola"; echo ""; echo "«
"; }else{ if(isowner1(getuid_sid($sid))) { echo "»Trimite Mass
"; echo"»Seataza iconita user
"; echo "»Setari generale
"; echo "»MAXIME(new)
"; echo "»Parole Comenzi
"; echo "»Site-uri blocate
"; echo "»Cuvinte Filtru
"; echo "»Browsere blocate
"; echo "»IP-uri blocate
"; echo "»Administreaza nume
"; //echo "»Administreaza Magazin Virtual
"; echo "»Schimba profil user
"; echo "»Categorii forum
"; echo "»Categorii Descarcari
"; echo "»Forumuri
"; echo "»Grupuri utilizatori
"; echo "»Adauga permisiuni
"; echo "»Adauga Emotii
"; echo "»Adauga Avatar
"; echo "»Setari chat
"; echo "»Administrare parteneri
"; echo "(!)Sterge data
"; echo "(!)Sterge useri inactivi
"; //echo "(*)Admin X
"; }else{ echo "Nu esti proprietar bebelusa este ;)"; } } echo "

"; echo "

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

"; echo "
"; } /////////////////////////////////ADMIN CP else if($action=="adminsef") { addonline(getuid_sid($sid),"Comenzi admin sef",""); echo ""; echo "

"; echo "Panou Control $numesite"; echo "

"; echo "

"; $adminsef = mysql_fetch_array(mysql_query("SELECT value FROM lib3rtymrc_settings WHERE name='adminsef'")); $password = $_post["password"]; $password="$adminsef[0]"; if($_POST['password'] != $password || $_GET['pass'] == $password) { echo "Parola:"; echo "

"; echo "»confirma parola"; echo ""; echo "«
"; }else{ echo ""; if(isowner(getuid_sid($sid))) { echo "»Setari generale
"; echo "»Schimba profil user
"; echo "»Sterge mesaje live
"; }else{ echo "Nu esti admin sef"; } echo "
"; } echo "

"; echo "

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

"; echo "
"; } /////////////////////////////////ADMIN CP else if($action=="admin") { addonline(getuid_sid($sid),"Comenzi Administrare",""); echo ""; echo "

"; echo "Administrare $numesite"; echo "

"; echo "

"; $admin = mysql_fetch_array(mysql_query("SELECT value FROM lib3rtymrc_settings WHERE name='admin'")); $password = $_post["password"]; $password="$admin[0]"; if($_POST['password'] != $password || $_GET['pass'] == $password) { echo "Parola:"; echo "

"; echo "»confirma parola"; echo ""; echo "«
"; }else{ echo ""; if(isadmin(getuid_sid($sid))) { echo "»Setari generale
"; echo "»Schimba profil user
"; }else{ echo "Nu esti admin"; } echo "
"; } echo "

"; echo "

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

"; echo "
"; } ///////////////////////////////// Regulament echipa else if($action=="regulament") { addonline(getuid_sid($sid),"Citeste regulament echipa",""); echo ""; echo "

"; echo "Regulament Echipa"; echo "

"; echo "

"; echo ""; echo "\"!\"/Schimbati-va parola,si nu puneti ca parola numere de telefon,numele dumneavoastra al unei persoane apropiate usor de ghicit!
"; echo "\"!\"/Parola de pe site sa nu o mai aveti pe nici un alt site
"; echo "\"!\"/NU INSTRAINATI PAROLA DUMNEAVOASTRA UNUI ALT USER!(iubit/a)
"; echo "\"!\"/NU PENALIZATI UN COECHIPIER,DACA CONSTATATI O GRESEALA A ACESTUIA ANUNTATI URGENT UN PROPRIETAR
"; echo "\"!\"/Puteti avea functie doar pe $numesite,daca va observam si in alta echipa veti ramane fara functie aici fara avertisment
"; echo "\"!\"/Pm-urile si alertele raportate sunt strict confidentiale
"; echo "\"!\"/Inainte de a valida un cont verificatii ip-ul si nu-l validati daca nu are completat corect asl-ul
"; echo "\"!\"/Nu penalizati sexul virtual de pe pm-urile/alertele raportate
"; echo "\"!\"/Inainte de a penaliza un user il veti avertiza,exceptand cazurile in care se face spam!
"; echo "\"!\"/Daca pe camera de chat cineva face scandal ii ve-ti da kick si daca nu se potoleste folositi optiunea baneaza chat
"; echo "\"!\"/Daca cineva posteaza aiurea pe forum penalizati-l cu optiunea Baneaza forum
"; echo "\"!\"/Pentru injurii/jigniri aduse pe pm/alerta/pv banati pe un interval de la 2-3h la 9 zile
"; echo "\"!\"/Folositi optiunea ban ip doar pe cei de pe pc dupa ce ii ve-ti retrage scutul(daca il are activat)
"; echo "\"!\"/Nu uitati ca interesul nostru nu este cel de a bana un user,ci de a aduna cat mai multi
"; echo "\"!\"/Pentru orice nelamurire sau problema aparuta pe site indiferent de ora luati legatura cu unul dintre propriatari
"; echo "\"!\"/Orice abatere de la regulament se pedepseste!
"; echo "
"; echo "

"; echo "

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

"; echo "
"; } else if($action=="cadou") { addonline(getuid_sid($sid),"Tocmai a luat cadoul","index.php?action=$action"); echo ""; echo "

"; ######cadou $me = getuid_sid($sid); if($who!=="$me") { $timp = mysql_fetch_array(mysql_query("SELECT MAX(timp) FROM lexus_cadou WHERE cine='$me'")); $timptrecut = $timp[0]+3600; $timpcurent = time(); if($timptrecut>$timpcurent) { $remain = $timptrecut - $timpcurent; $rmsg = gettimemsg($remain); echo "\"x\"/
Ai ridicat in ultima ora cadoul!
Urmatorul cadou vine in $rmsg
"; echo "
Profilul meu
acasa

"; exit(); }else{ $timp = time(); $merge = mysql_query("INSERT INTO lexus_cadou SET cine='$me', timp='$timp'"); mysql_query("UPDATE lib3rtymrc_users SET lastplreas='A luat cadoul', plusses=plusses+100 WHERE id='".$uid."'"); if($merge){ echo "\"x\"/
Felicitari!!! Ai primit 100 plusuri cadou si o sa primesti in continuare odata pe ora!
"; }else{ echo "Momentan se lucreaza la acest serviciu

"; } } } #cadou echo "

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

"; echo "
Profilul meu
"; echo "Acasa"; echo "

"; echo ""; } ////////////////////////////////////////iepurasi else if($action=="iepuras") { addonline(getuid_sid($sid),"Tocmai a prins un iepuras","index.php?action=$action"); echo ""; echo "

"; ######cadou $me = getuid_sid($sid); if($who!=="$me") { $timp = mysql_fetch_array(mysql_query("SELECT MAX(timp) FROM dany_iepurasi WHERE cine='$me'")); $timptrecut = $timp[0]+3600; $timpcurent = time(); if($timptrecut>$timpcurent) { $remain = $timptrecut - $timpcurent; $rmsg = gettimemsg($remain); echo "
Ai prins deja un iepuras!
Urmatorul iepuras e posibil sa vina in $rmsg

"; echo "Profilul Meu
"; //include("quick.php"); echo "

"; exit(); }else{ $timp = time(); $merge = mysql_query("INSERT INTO dany_iepurasi SET cine='$me', timp='$timp'"); mysql_query("UPDATE lib3rtymrc_users SET iepurasi=iepurasi+1 WHERE id='".$uid."'"); if($merge){ $stire = "a prins un iepuras"; mysql_query("INSERT INTO stefu_stiri SET stire='$stire', id1='$who',id2='$uid',actiune='1'"); echo "\"*\"/
Felicitari!!! Tocmai ai prins un iepuras!
NOTA:Poti vinde acest iepuras cu 250+ la piata de iepurasi aflata pe meniul principal!

"; }else{ echo "Nu ai prins iepurasul,mai incearca odata!

"; } } } #cadou echo "

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

"; echo "Acasa"; //
// echo "Acasa"; // include("quick.php"); echo "

"; echo ""; } ////////////////////////// else if($action=="cadou") { addonline(getuid_sid($sid),"Tocmai a luat cadoul","index.php?action=$action"); echo ""; echo "

"; ######cadou $me = getuid_sid($sid); if($who!=="$me") { $timp = mysql_fetch_array(mysql_query("SELECT MAX(timp) FROM lexus_cadou WHERE cine='$me'")); $timptrecut = $timp[0]+3600; $timpcurent = time(); if($timptrecut>$timpcurent) { $remain = $timptrecut - $timpcurent; $rmsg = gettimemsg($remain); echo "\"x\"/
Ai ridicat in ultima ora cadoul!
Urmatorul cadou vine in $rmsg
"; echo "
Profilul meu
acasa

"; exit(); }else{ $timp = time(); $merge = mysql_query("INSERT INTO lexus_cadou SET cine='$me', timp='$timp'"); mysql_query("UPDATE lib3rtymrc_users SET lastplreas='A luat cadoul', plusses=plusses+100 WHERE id='".$uid."'"); if($merge){ echo "\"x\"/
Felicitari!!! Ai primit 100 plusuri cadou si o sa primesti in continuare odata pe ora!
"; }else{ echo "Momentan se lucreaza la acest serviciu

"; } } } #cadou echo "

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

"; echo "
Profilul meu
"; echo "Acasa"; echo "

"; echo ""; } /////////////////////////////////termeni of use else if($action=="termeni") { $uid =getuid_sid($sid); if($uid>0) { addonline(getuid_sid($sid),"Termeni si Conditii",""); } echo ""; echo "

"; echo "\"!\"/Continutul acestui site este protejat conform drepturilor de autor,puteti prelua sau citi orice informatie,dar numai pentru uzul personal, non-comercial.
"; echo "\"!\"/Postarile rasiste, spam-ul, floodat-ul, postarile pornografice, vor fi sterse imediat si cei ce vor posta aceste lucruri vor fi avertizati sau chiar banati!
"; echo "\"!\"/Pe forum postati doar mesaje in limba Romana si nu se iau in considerare ca raspunsuri emotiile si va vor fi retrase din plusuri!
"; //echo "\"!\"/chatting, discriminating, posting off topics, posting useless posts (smilies only or one word post), and free posting results to delete the posts, substracting plusses and banning in some cases
"; echo "\"!\"/Inregistrarea cu mai mult de un nick poate duce la stergerea tuturor conturilor
"; echo "\"!\"/Niciodata sa nu dati parola contului altei persoane, exceptand cazurile extreme si proprietari trebuiesc anuntati
"; //echo "\"!\"/Faking your personal information (like age, sex, location etc..) just to gain access to hidden forums or any other reason could result on banning, or a warning at least
"; echo "\"!\"/Hartuirea sexuala, si rasismul vor avea ca rezultat un ban de minim 7 zile, FARA AVERTISMENT, si Ban pe IP daca dupa debanare se continua cu acelasi comportament
"; echo "\"!\"/Spamul este interzis sub orice forma, ve-ti fi penalizati inclusiv pentru folosirea numelor de chaturi pe public/privat in cazul in care acestea se vor raporta, sunt acceptate id-urile de mess!
"; echo "\"!\"/Raporteaza orice spam, acesta este singurul lucru pe care il cerem de la tine pentru serviciile pe care ti le oferim
"; echo "\"!\"/Orice problema legata de site pe care o aveti o ve-ti discuta cu membrii echipei si acestia au datoria sa va ajute!
"; echo "\"!\"/Orice fapta nedreapta al unui membru al echipei il raportati imediat proprietarului $numesite,nu va faceti dreptate singuri
"; echo "\"!\"/Folositi maxim doua emotiii la mesaje live!
"; echo "\"!\"/In fiecare Duminica PM-urile din posta vor fi sterse!
"; //echo "
Aceste reguli sunt pentru protectia ta, daca ai nelamuriri mai citeste o data Termenii sau intreaba pe oricine din echipa(doar daca esti autentificat)Va multumim pentru intelegere!
"; echo "

"; echo "

"; if($uid>0) { echo "\"*\"/"; echo "Prim"; }else{ echo "\"*\"/"; echo "Prim"; } echo "

"; echo "
"; } else if($action=="rpg") { addonline(getuid_sid($sid),"(web) Joaca RPG",""); echo ""; echo "

"; $who = 0; if (isset($_POST['submitted'])) { $who = getuid_nick($_POST['whonick']); if ($who > 0 && $uid != $who) echo 'Joaca RPG cu '.$_POST['whonick'].''; else echo ' Userul introdus nu este valid!

'; } if ($who == 0 || $uid == $who) { echo "
"; echo "Invita User"; echo ''; echo ""; echo ""; echo ""; } echo '

'; echo "\"*\"/ Meniu Principal"; echo '

'; echo "
"; } else{ /////////////////////////Main Page Here echo ""; echo "

"; // lunile anului if(date("M")=="Jan")$luna="Ianuarie"; if(date("M")=="Feb")$luna="Februarie"; if(date("M")=="Mar")$luna="Martie"; if(date("M")=="Apr")$luna="Aprilie"; if(date("M")=="May")$luna="Mai"; if(date("M")=="Jun")$luna="Iunie"; if(date("M")=="Jul")$luna="Iulie"; if(date("M")=="Aug")$luna="August"; if(date("M")=="Sep")$luna="Septembrie"; if(date("M")=="Oct")$luna="Octombrie"; if(date("M")=="Noe")$luna="Noiembrie"; if(date("M")=="Dec")$luna="Decembrie"; // zilele saptamanii if(date("D")=="Mon")$ziua="Luni"; if(date("D")=="Tue")$ziua="Marti"; if(date("D")=="Wed")$ziua="Miercuri"; if(date("D")=="Thu")$ziua="Joi"; if(date("D")=="Fri")$ziua="Vineri"; if(date("D")=="Sat")$ziua="Sambata"; if(date("D")=="Sun")$ziua="Duminica"; echo "".date("H:i:s")."
$ziua,".date("d")."-$luna-".date("Y")."

"; echo "\"*\"/
"; /////mesaj live $TimeZone="0"; ////Fus orar $New_Time = time() + ($TimeZone * 60 * 60); $time=date("H:i"); $Hour=date("G",$New_Time); if ($Hour <= 4) { echo 'Noapte Buna!'; } else if ($Hour <= 10) { echo 'Buna Dimineata!'; } else if ($Hour <= 14) { echo 'Buna Ziua!'; } else if ($Hour <= 16) { echo 'O dupa amiaza Placuta!'; } else if ($Hour <= 22) { echo 'Buna Seara!'; } echo "
-----"; // $fmsg = parsepm(getfmsg()); //echo "$fmsg"; echo "

"; echo "

"; echo "\"*\"/Autentificare
"; echo "De nu ai inca cont,si vrei sa comunici,sa-ti faci prieteni,nu ezita,CREEAZA-TI UN CONT!
"; echo "\"*\"/.:Creeaza-ti Cont:.
"; echo "Facilitati oferite de MagicWorld-Chat:
"; echo "\"*\"/Download
"; echo "\"*\"/Forum Offline
"; //echo "\"*\"/Wap Masters
"; //echo "\"*\"/Contact
"; echo "\"*\"/Recupereaza Parola
"; echo "

"; echo "

"; echo "-----
"; $onu = getnumonline(); echo "\"*\"/$onu
"; $browser = $_SERVER["HTTP_USER_AGENT"]; echo "Intri cu: $browser
"; //echo "\"Lib3rty-ToP\"/
"; $nopm = mysql_fetch_array(mysql_query("SELECT value FROM lib3rtymrc_settings WHERE name='Counter'")); echo "Vizite totale: $nopm[0]
"; echo "cheama toti amici tai aici pentru a deveni o mare familie este singurul lucru pe care il cerem de la tine in schimbul serviiciilor oferite
"; echo "AngelWhite
"; //echo "»Termeni si Conditii«"; echo "Realizat de MagicWorld-Chat.Com"; echo "

"; echo "
"; } ?>