"; echo ""; //8152 ?> "; echo "

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

"; echo "Autentificate"; echo "

"; echo ""; echo "
"; exit(); } 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 add la id-ul de messenger dlagos_masterwap
"; echo "
"; echo ""; echo "+Setari Profil
"; echo "------
"; echo "\"*\"/ Prima Pagina

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

"; echo "
"; echo ""; exit(); } if(isbanned($uid)) { echo ""; echo "

"; echo "\"x\"/
"; echo "Esti Banat(a)
"; $banto = mysql_fetch_array(mysql_query("SELECT timeto, pnreas, exid FROM lib3rtymrc_penalties WHERE uid='".$uid."' AND penalty='1' OR uid='".$uid."' AND penalty='2'")); $banres = mysql_fetch_array(mysql_query("SELECT lastpnreas FROM lib3rtymrc_users WHERE id='".$uid."'")); $remain = $banto[0]- time(); $rmsg = gettimemsg($remain); echo "Timp ramas pana la debanare: $rmsg
"; $nick = getnick_uid($banto[2]); echo "By: $nick
"; echo "Motiv ban: $banres[0]"; //echo "Login"; echo "

"; echo "
"; echo ""; exit(); } if(ischatban($uid)) { echo ""; echo "

"; echo "\"x\"/"; echo "Esti Banat(a) pe acest serviciu
"; $banto = mysql_fetch_array(mysql_query("SELECT timeto, pnreas, exid FROM lib3rtymrc_penalties WHERE uid='".$uid."' AND penalty='4'")); $remain = $banto[0]- time(); $rmsg = gettimemsg($remain); echo "Timp ramas pana la debanare: $rmsg
"; $nick = getnick_uid($banto[2]); echo "By: $nick
"; $banres = mysql_fetch_array(mysql_query("SELECT lastpnreas FROM lib3rtymrc_users WHERE id='".$uid."'")); echo "Motiv ban: $banres[0]
"; echo "\"*\"/"; echo "Prim"; echo "

"; echo "
"; echo ""; exit(); } /* /////////////////////////////////////////////////////////////////////// // WAPNEW.INFO bY I0nwTZz // /////////////////////////////////////////////////////////////////////// */ ///////////////////////////////////time $res = mysql_fetch_array(mysql_query("SELECT lastact FROM lib3rtymrc_users WHERE id='".$uid."'")); $lastact = $res[0]; $atime = time() - $lastact; if($atime<1800){ $res = mysql_fetch_array(mysql_query("SELECT otime, mtime FROM lib3rtymrc_users where id='".$uid."'")); $otime = $res[0] + $atime; $mtime = $res[1] + $atime; $res = mysql_query("UPDATE lib3rtymrc_users SET otime='".$otime."', mtime='".$mtime."' where id='".$uid."'"); } $isroom = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_rooms WHERE id='".$rid."'")); if($isroom[0]==0) { echo ""; echo "

"; echo "Aceasta camera nu mai exista
"; echo ":P vezi in alta camera

"; echo "Camere chat"; echo "

"; echo "
"; echo ""; exit(); } $passworded = mysql_fetch_array(mysql_query("SELECT pass FROM lib3rtymrc_rooms WHERE id='".$rid."'")); if($passworded[0]!="") { if($rpw!=$passworded[0]) { echo ""; echo "

"; echo "Nu poti intra in aceasta camera!
"; echo "Parola gresita!

"; echo "Camere chat"; echo "

"; echo "
"; echo ""; exit(); } } if(!canenter($rid,$sid)) { echo ""; echo "

"; echo "Nu poti intra in aceasta camera
"; echo ":P hai ia distanta

"; echo "Camere chat"; echo "

"; echo "
"; echo ""; exit(); } $monezi = 10; if(monezi($uid) < $monezi) { echo ""; echo "

"; echo "Nu poti intra in aceasta camera
"; echo "Ai nevoie de $monezi monezi

"; echo "Pentru a acumula cat mai rapid monezi intra pe
"; echo "forum
"; echo "Acasa"; echo "

"; echo "
"; echo ""; exit(); } if (isset($_GET['del']) && is_numeric($_GET['del'])) { $msgId = $_GET['del']; list($chatter_chat, $who_chat, $msgtext_chat, $rid_chat) = mysql_fetch_array(mysql_query("SELECT chatter, who, msgtext, rid FROM lib3rtymrc_chat WHERE id = $msgId")); $res = mysql_query("DELETE FROM lib3rtymrc_chat WHERE id = $msgId"); if ($res) { // delete from archive // $res = mysql_query("DELETE FROM lib3rtymrc_chat WHERE chatter = $chatter_chat AND who = $who_chat AND msgtext = '$msgtext_chat' AND rid = $rid_chat"); } } /* /////////////////////////////////////////////////////////////////////// // WAPNEW.INFO bY I0nwTZz // /////////////////////////////////////////////////////////////////////// */ if($vezi == 'icg') { echo ""; echo "

"; //echo "\"*\"/
Barbie
Varsta: 20 de ani
Sex: Barbat
Rang:AnGajat shost.ro\".\"/
ATENTIE !!!:
"; echo " Cea mai erogena zona este mintea.
Cei mai buni amanti au mintile cele mai murdare.
\".\"/


"; echo ""; echo "------
"; if(is_numeric($rid) && $rid !== ''){ echo "Camera
"; } echo "Acasa

"; echo "
"; echo "

"; echo "
"; echo ""; exit(); } if($vezi == 'icg') { echo ""; echo "

"; echo "\"*\"/
AngelWhite
AsL: 21-B-angajat MagicWorld
Motto: Valoarea unui prieten nu o cunosti decat atunci cand il pierzi!!
"; echo "O sedere placuta pe MagicWorld iti doresc si nu uita ca fiecare postare pe camera iti va aduce cate o moneda de gheata
Va multumim!


"; echo ""; echo "------
"; if(is_numeric($rid) && $rid !== ''){ echo "Camera
"; } echo "Acasa

"; echo "
"; echo "

"; echo "
"; echo ""; exit(); } //Script bY I0nwTZz from WapNew.Info //admin@wapnew.info $timeto = 2000; $timenw = time(); $timeout = $timenw-$timeto; $deleted = mysql_query("DELETE FROM lib3rtymrc_chat WHERE timesent<".$timeout.""); //////a intrat $entercount = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_chat WHERE msgtext='!hix2ff9xpfrzplmsex112910hi2!' AND chatter='".$uid."' AND rid='".$rid."'")); $onlinecount = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_chonline WHERE rid='".$rid."' and uid='".$uid."'")); if(($entercount[0]==0) && ($onlinecount[0]==0)) { $enter = mysql_query("INSERT INTO lib3rtymrc_chat SET chatter='".$uid."', who='0', timesent='".time()."', msgtext='!hix2ff9xpfrzplmsex112910hi2!', rid='".$rid."'"); } addtochat($uid, $rid); ////////a intrat end if ($action=="") { $rooms = mysql_fetch_array(mysql_query("SELECT id, name FROM lib3rtymrc_rooms WHERE id='".$rid."'")); $rname = $rooms[1]; $nick = getnick_sid($sid); //echo ""; //start of main card echo "

"; addonline($uid,"Camera Chat $rname","chat.php?sid=$sid&rid=$rid&rpw=$rpw"); echo "$rname
"; // 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(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])
"; } } // if(istrashed(getuid_sid($sid))) { echo "scrie | "; }else{ echo "scrie | "; } echo "refresh | "; echo "emotii
"; // echo "arhiva | "; echo "Moduri | "; //echo "Moduri | "; $chatters=mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_chonline where rid='".$rid."'")); echo "Conectati($chatters[0])"; if(ismod($uid)) { echo " | arhiva"; } 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$unrd pm"; } echo "

"; $message=$_POST["message"]; $who = $_POST["who"]; $rinfo = mysql_fetch_array(mysql_query("SELECT censord, freaky FROM lib3rtymrc_rooms WHERE id='".$rid."'")); if (trim($message) != "") { $nosm = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_chat WHERE msgtext='".$message."'")); if($nosm[0]==0){ $chatok = mysql_query("INSERT INTO lib3rtymrc_chat SET chatter='".$uid."', who='".$who."', timesent='".time()."', msgtext='".$message."', rid='".$rid."';"); $arhivaok = mysql_query("INSERT INTO lib3rtymrc_arhivachat SET chatter='".$uid."', who='".$who."', timesent='".time()."', msgtext='".$message."', rid='".$rid."';"); $lstmsg = mysql_query("UPDATE lib3rtymrc_rooms SET lastmsg='".time()."' WHERE id='".$rid."'"); $hehe=mysql_fetch_array(mysql_query("SELECT chmsgs FROM lib3rtymrc_users WHERE id='".$uid."'")); $totl = $hehe[0]+1; $msgst= mysql_query("UPDATE lib3rtymrc_users SET chmsgs='".$totl."' WHERE id='".$uid."'"); //// plusuri pe camera de chat $usts = mysql_fetch_array(mysql_query("SELECT plusses FROM lib3rtymrc_users WHERE id='".$uid."'")); $upl = $usts[0]+1;// aici e q ++ mysql_query("UPDATE lib3rtymrc_users SET monezi=monezi+1, plusses='".$upl."' WHERE id='".$uid."'"); if($rinfo[1]==2) { //oh damn i gotta post this message to ravebabe :( //will it succeed? $botid = "a946463cae36564f"; $hostname = "www.pandorabots.com"; $hostpath = "/pandora/talk-xml"; $sendData = "botid=".$botid."&input=".urlencode($message)."&custid=".$custid; $result = PostToHost($hostname, $hostpath, $sendData); $pos = strpos($result, "custid=\""); $pos = strpos($result, ""); if ($pos === false) { $reply = ""; } else { $pos += 6; $endpos = strpos($result, "", $pos); $reply = unhtmlspecialchars2(substr($result, $pos, $endpos - $pos)); $reply = mysql_escape_string($reply); } $chatok = mysql_query("INSERT INTO lib3rtymrc_chat SET chatter='8152', who='', timesent='".time()."', msgtext='".$reply." @".getnick_uid($uid)."', rid='".$rid."';"); } } $message = ""; } echo "

"; echo ""; $chats = mysql_query("SELECT chatter, who, timesent, msgtext, exposed, id FROM lib3rtymrc_chat WHERE rid='".$rid."' ORDER BY timesent DESC, id DESC"); $counter=0; while($chat = mysql_fetch_array($chats)) { $canc = true; if($counter<12) { if(istrashed($chat[0])){ if($uid!=$chat[0]) { $canc = false; } } //////good if(isignored($chat[0],$uid)){ $canc = false; } //////////good if($chat[0]!=$uid) { if($chat[1]!=0) { if($chat[1]!=$uid) { $canc = false; } } } if($chat[4]=='1' && ismod($uid)) { $canc = true; } if($canc) { $cmid = mysql_fetch_array(mysql_query("SELECT chmood FROM lib3rtymrc_users WHERE id='".$chat[0]."'")); $iml = ""; if(($cmid[0]!=0)) { $mlnk = mysql_fetch_array(mysql_query("SELECT img, text FROM lib3rtymrc_moods WHERE id='".$cmid[0]."'")); $iml = "\"$mlnk[1]\"/"; } $chnick = getnick_uid($chat[0]);// nick // simbol $sim = getsimbol($chat[0]); // $optlink = $iml.$sim.$chnick; if(($chat[1]!=0)&&($chat[0]==$uid)) { ///out $iml = "\"!\"/"; $chnick = getnick_uid($chat[1]); // simbol $sim = getsimbol($chat[1]); // $optlink = $iml."PV la ".$sim.$chnick; } if($chat[1]==$uid) { ///out $iml = "\"!\"/"; $chnick = getnick_uid($chat[0]); // simbol $sim = getsimbol($chat[0]); // $optlink = $iml."PV de la ".$sim.$chnick; } if($chat[4]=='1') { ///out $iml = "\"!\"/"; $chnick = getnick_uid($chat[0]); $tonick = getnick_uid($chat[1]); $tosim = getsimbol($chat[1]); $sim = getsimbol($chat[0]); $optlink = "$iml de la ".$sim.$chnick." la ".$tosim.$tonick; } $ds= date("H:i:s", $chat[2] + $TimeZone * 60 * 60); $text = parsepm($chat[3], $sid); $nos = substr_count($text,"Angelwhite:»*alo $sim$chnick,nu incerca sa faci spam ca ne-am saturat de astfel de pesoane!\".\"/*
-----
"; } else if($chat[3]=="!hix2ff9xpfrzplmsex112910hi2!") { if(sex($gen[0])){ $sx = "MagicWorld:"; }else{ $sx = "MagicWorld"; } $chnick = getnick_uid($chat[0]); echo "*$sx - Welcome ".nume_id($chat[0],$sid)." in familia noastra \".\"/
----
"; } else if($nos>4){ $chnick = getnick_uid($chat[0]); $sim = getsimbol($chat[0]); echo "Angelwhite$sim*$chnick,incearca sa te rezumi doar la 4 emotii pe mesaj!\".\"/*
-----
"; }else{ $sres = substr($chat[3],0,3); //////////////////// if(ismod($chat[0])&& $sres == "!11"){ // if($sres == "!11") //{ $chco = strlen($chat[3]); $goto = $chco - 3; $rest = substr($chat[3],3,$goto); $tosay = parsepm($rest, $sid); echo "*$chnick $tosay*
----
"; }else{ $tosay = parsepm($chat[3], $sid); if($rinfo[0]==1) { $tosay = str_replace("fuck","f**k",$tosay); $tosay = str_replace("shit","sh*t",$tosay); $tosay = str_replace("dick","d**k",$tosay); $tosay = str_replace("pussy","pu**y",$tosay); $tosay = str_replace("cock","c**k",$tosay); $tosay = str_replace("pula","nu am minte, iarta-ma Doamne",$tosay); $tosay = str_replace("pizda","afara ninge, cerul e senin",$tosay); $tosay = str_replace("fut","imi pare rau, dar nu am cei 7 ani de acasa ",$tosay); $tosay = str_replace("coaie","oare de ce nu inteleg eu ca aici e un chat decent?",$tosay); $tosay = str_replace("kkt ","vreau inghetata",$tosay); $tosay = str_replace("cacat","vreau hamburgher de la McDonalds",$tosay); } if($rinfo[1]==1) { $tosay = htmlspecialchars($chat[3]); $tosay = strrev($tosay); } $nopl = mysql_fetch_array(mysql_query("SELECT sex FROM lib3rtymrc_users WHERE id='".$chat[0]."'")); if($nopl[0]=='M') { $usex = "B"; }else if($nopl[0]=='F'){ $usex = "F"; }else{ $usex = "\".\"/"; } // echo "»$optlink-$ds
"; if(ismod(getuid_sid($sid))) { echo "[x]"; } // echo "$usex»$optlink-".getstatus($chat[0])."
"; echo "$usex»$optlink-$ds"; if (ismod($uid)) echo " | Sterge"; echo '
'; echo $tosay."
~*~*~
"; } ///////// } $counter++; } } } echo "
"; echo "

"; echo "

"; $raport = mysql_fetch_array(mysql_query("SELECT alerta, cine FROM lib3rtymrc_rooms WHERE id='".$rid."'")); if($raport[0]=="1") { $user=getnick_uid($raport[1]); $link = "$user"; echo "camera raportata de $link
"; if(ismod($uid)) { echo "ridica nivelul de alerta
"; } }else{ if(!ismod($uid)) { echo "anunta echipa
"; } } if (isowner1(getuid_sid($sid))) { //echo "Sterge arhiva
"; } echo "Meniu Chat
"; echo "Acasa
"; echo "

"; echo ""; } /* /////////////////////////////////////////////////////////////////////// // WAPNEW.INFO bY I0nwTZz // /////////////////////////////////////////////////////////////////////// */ /////////////////////////////////////////////////////SAY else if ($action=="say") { echo ""; addonline($uid,"Scrie mesaj pe chat",""); print ''; print ''; print ''; print ''; print ''; echo "

Mesaj:
"; echo "«Scrie"; echo ""; echo ""; echo "
"; echo "»Chef
"; echo "»Emotii
"; echo "»CodBB
"; echo "»Creaza camera
"; echo "»Conectati
"; echo "«Camera

"; //end echo "


~*~*~
«Meniu chat
"; echo "«Prim

"; echo "
"; } /* /////////////////////////////////////////////////////////////////////// // WAPNEW.INFO bY I0nwTZz // /////////////////////////////////////////////////////////////////////// */ /////////////////////////////////////////////////////SAY2 else if ($action=="privat") { $unick = getnick_uid($who); $sim = getsimbol($who); addonline($uid,"Scrie mesaj privat pe Chat",""); echo ""; echo "

"; $nopl = mysql_fetch_array(mysql_query("SELECT sex, location, birthday FROM lib3rtymrc_users WHERE id='".$who."'")); $uage = getage($nopl[2]); if($nopl[0]=='M') { $usex = "\".\"/"; }else if($nopl[0]=='F'){ $usex = "\".\"/"; }else{ $usex = "\".\"/"; } echo "Privat la $sim$unick"; echo "
"; echo "$usex/$uage ani/$nopl[1]"; echo "

"; print ''; print ''; print ''; print ''; print ''; echo "

Mesaj:
"; echo "«Privat"; echo ""; echo ""; echo ""; echo "
"; echo "»$sim$unick profil
"; echo "»Expune $sim$unick
"; echo "»Conectati
"; echo "«Camera

"; //end echo "


-----
«Meniu chat
"; echo "«Prim

"; echo "
"; } //////////////////////////////////////////// //////////////////////////////inside////////// else if ($action=="inside") { addonline($uid,"Conectati Camera Chat",""); echo ""; echo "

"; $inside=mysql_query("SELECT DISTINCT * FROM lib3rtymrc_chonline WHERE rid='".$rid."' and uid IS NOT NULL"); while($ins=mysql_fetch_array($inside)) { $nopl = mysql_fetch_array(mysql_query("SELECT sex FROM lib3rtymrc_users WHERE id='".$ins[1]."'")); if($nopl[0]=='M') { $usex = "\".\"/"; }else if($nopl[0]=='F'){ $usex = "\".\"/"; }else{ $usex = "\".\"/"; } $unick = getnick_uid($ins[1]); $sim = getsimbol($ins[1]); $userl = "»$usex $sim$unick
"; if ($ins[1] != 0) echo "$userl"; } echo "

-----
"; echo "«Camera
"; echo "«Meniu chat
"; echo "«Prim

"; echo "
"; } /* /////////////////////////////////////////////////////////////////////// // WAPNEW.INFO bY I0nwTZz // /////////////////////////////////////////////////////////////////////// */ else if ($action=="expose") { $unick = getnick_uid($who); addonline($uid,"Expune PV",""); echo ""; echo "


"; mysql_query("UPDATE lib3rtymrc_chat SET exposed='1' WHERE chatter='".$who."' AND who='".$uid."'"); echo "Privatele userului $unick sunt expuse moderatorilor"; echo "

"; $rooms = mysql_fetch_array(mysql_query("SELECT id, name FROM lib3rtymrc_rooms WHERE id='".$rid."'")); $rname = $rooms[1]; echo "«Inapoi pe $rname
"; // echo "
\"*\"/Meniu chat
"; echo "\"*\"/Prim

"; echo "
"; } else if ($action=="arhiva") { $rooms = mysql_fetch_array(mysql_query("SELECT name FROM lib3rtymrc_rooms WHERE id='".$rid."'")); $rname = $rooms[0]; echo ""; addonline($uid,"Vizualizeaza arhiva $rname",""); echo "

"; echo "Arhiva mesajelor de pe camera $rname
--
"; echo "

"; echo "

"; if(ismod($uid)) { /////////////// faza q pagina if($page=="" || $page<=0)$page=1; $noi = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_arhivachat WHERE rid='".$rid."'")); $num_items = $noi[0]; //changable $items_per_page= 10; $num_pages = ceil($num_items/$items_per_page); if(($page>$num_pages)&&$page!=1)$page= $num_pages; $limit_start = ($page-1)*$items_per_page; // * pana aici prima parte * \\ $sql = "SELECT chatter, who, timesent, msgtext FROM lib3rtymrc_arhivachat WHERE rid='".$rid."' ORDER BY timesent 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)) { $who = $item[0]; $sim = getsimbol($item[0]); $text = parsepm($item[3], $sid); $ds= date("H:i:s", $item[2]); $nick = getnick_uid($item[0]); $link = "$sim$nick"; if($item[1]=="0") { $mesaj = "»$link - $text ($ds)
"; }else{ $mesaj = ""; } echo "$mesaj"; } echo "
"; if($page>1) { $ppage = $page-1; echo "Inainte | "; } if($page<$num_pages) { $npage = $page+1; echo "Inapoi"; } echo "
$page/$num_pages"; if($num_pages>2) { $rets = "
Sari la pagina:
"; $rets .= " Du-te"; $rets .= ""; $rets .= ""; $rets .= ""; $rets .= ""; $rets .= ""; $rets .= ""; echo $rets; } // * pana aici * \\ }else{ echo "\"\"/
"; echo "Nu exista arhiva pe camera $rname
"; } if(getuid_sid($sid) == 1) { echo "

sterge arhiva $rname
"; } } else { echo "Acces interzis!"; } echo "
--
Inapoi in camera / "; echo "Meniu prim
"; echo "

"; } else if($action=="sterge_arhiva" && getuid_sid($sid) == 1) { $rid=$_GET["rid"]; $rooms = mysql_fetch_array(mysql_query("SELECT name FROM lib3rtymrc_rooms WHERE id='".$rid."'")); $rname = $rooms[0]; echo ""; echo "

"; $res = mysql_query("DELETE FROM lib3rtymrc_arhivachat WHERE rid='".$rid."'"); if($res) { echo "$site
\"O\"/Arhiva camera $rname stearsa cu succes!
"; }else{ echo "\"X\"/Nu poti sterge arhiva camerei $rname
"; } echo "
"; echo "--
Inapoi in camera / "; echo "Meniu prim
"; echo "

"; } ?> "); echo ""; ?> "; echo "

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

"; echo "Autentificate"; echo "

"; echo ""; echo "
"; exit(); } if(isbanned($uid)) { echo ""; echo "

"; echo "\"x\"/
"; echo "Esti Banat(a)
"; $banto = mysql_fetch_array(mysql_query("SELECT timeto, pnreas, exid FROM lib3rtymrc_penalties WHERE uid='".$uid."' AND penalty='1' OR uid='".$uid."' AND penalty='2'")); $banres = mysql_fetch_array(mysql_query("SELECT lastpnreas FROM lib3rtymrc_users WHERE id='".$uid."'")); $remain = $banto[0]- time(); $rmsg = gettimemsg($remain); echo "Timp ramas pana la debanare: $rmsg
"; $nick = getnick_uid($banto[2]); echo "By: $nick
"; echo "Motiv ban: $banres[0]"; //echo "Login"; echo "

"; echo "
"; echo ""; exit(); } if(ischatban($uid)) { echo ""; echo "

"; echo "\"x\"/"; echo "Esti Banat(a) pe acest serviciu
"; $banto = mysql_fetch_array(mysql_query("SELECT timeto, pnreas, exid FROM lib3rtymrc_penalties WHERE uid='".$uid."' AND penalty='4'")); $remain = $banto[0]- time(); $rmsg = gettimemsg($remain); echo "Timp ramas pana la debanare: $rmsg
"; $nick = getnick_uid($banto[2]); echo "By: $nick
"; $banres = mysql_fetch_array(mysql_query("SELECT lastpnreas FROM lib3rtymrc_users WHERE id='".$uid."'")); echo "Motiv ban: $banres[0]
"; echo "\"*\"/"; echo "Prim"; echo "

"; echo "
"; echo ""; exit(); } ///////////////////////////////////time $res = mysql_fetch_array(mysql_query("SELECT lastact FROM lib3rtymrc_users WHERE id='".$uid."'")); $lastact = $res[0]; $atime = time() - $lastact; if($atime<1800){ $res = mysql_fetch_array(mysql_query("SELECT otime, mtime FROM lib3rtymrc_users where id='".$uid."'")); $otime = $res[0] + $atime; $mtime = $res[1] + $atime; $res = mysql_query("UPDATE lib3rtymrc_users SET otime='".$otime."', mtime='".$mtime."' where id='".$uid."'"); } $isroom = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_rooms WHERE id='".$rid."'")); if($isroom[0]==0) { echo ""; echo "

"; echo "Aceasta camera nu mai exista
"; echo ":P vezi in alta camera

"; echo "Camere chat"; echo "

"; echo "
"; echo ""; exit(); } $passworded = mysql_fetch_array(mysql_query("SELECT pass FROM lib3rtymrc_rooms WHERE id='".$rid."'")); if($passworded[0]!="") { if($rpw!=$passworded[0]) { echo ""; echo "

"; echo "Nu poti intra in aceasta camera!
"; echo "Parola gresita!

"; echo "Camere chat"; echo "

"; echo "
"; echo ""; exit(); } } if(!canenter($rid,$sid)) { echo ""; echo "

"; echo "Nu poti intra in aceasta camera
"; echo "

"; echo "Camere chat"; echo "

"; echo "
"; echo ""; exit(); } addtochat($uid, $rid); //admin@luigykent LK $timeto = 300; $timenw = time(); $timeout = $timenw-$timeto; $deleted = mysql_query("DELETE FROM lib3rtymrc_chat WHERE timesent<".$timeout.""); if ($action=="") { $rooms = mysql_fetch_array(mysql_query("SELECT id, name FROM lib3rtymrc_rooms WHERE id='".$rid."'")); $rname = $rooms[1]; $nick = getnick_sid($sid); //echo ""; //start of main card echo "

"; addonline($uid,"Camera Chat $rname","chat.php?sid=$sid&rid=$rid&rpw=$rpw"); // 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(ismod($uid)) { $noi = mysql_fetch_array(mysql_query("SELECT count(*) FROM lib3rtymrc_users WHERE validated='0'")); if($noi[0]>0) { echo "(!)Conturi Nevalidate($noi[0])
"; } } echo " scrie|"; echo "®"; $chatters=mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_chonline where rid='".$rid."'")); $numarcubot=$chatters[0]+2; echo "
Online:$numarcubot "; echo "Ora:".date("H:i")."
"; $chatters=mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_chonline where rid='".$rid."'")); $nrplus=intval($chatters[0]/3); echo $nrplus; echo"MagicWorld"; /* if(getuid_sid($sid)==2) { // echo "Call me
"; } */ $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 $unrd PM"; } echo "

"; $message=strtolower($_POST["message"]); if(!ismod($uid)) { $message=str_replace("b69", "lol", $message); $message=str_replace("big69", "lol", $message); $message=str_replace("url69", "lol", $message); } $modm=$_POST[mod]; /* $filtru = substr($message,'sexyblonda'); if($filtru) { $ziceivona="Da stiu :) Luigykent.org e cel mai tare chat!"; $nosm = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_chat WHERE msgtext='".$ziceivona."'")); if($nosm[0]==0){ @mysql_query("INSERT INTO lib3rtymrc_chat SET chatter='11111', who='0', timesent='".time()."', msgtext='".$ziceivona."', rid='".$rid."'"); } } $filtru2 = substr($message,'lover4u'); if($filtru2) { $ziceivona="Caut o fata sa ma iubesc cu ea le Nr1 MagicWorld:)"; $nosm = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_chat WHERE msgtext='".$ziceivona."'")); if($nosm[0]==0){ @mysql_query("INSERT INTO lib3rtymrc_chat SET chatter='22222', who='0', timesent='".time()."', msgtext='".$ziceivona."', rid='".$rid."'"); } } */ /////////////////ivona messaje $inside=mysql_query("SELECT DISTINCT * FROM lib3rtymrc_chonline WHERE rid='".$rid."' and uid IS NOT NULL"); //while($ins=mysql_fetch_array($inside)) { echo $nopl[1]; $nopl = mysql_fetch_array(mysql_query("SELECT sex,salut2,id FROM lib3rtymrc_users WHERE id='".$ins[1]."'")); $trecut=time()-$nopl[1]; if($trecut>"36000") { $quotes[] = " ce faci?"; $quotes[] = " :*"; $quotes[] = " cmz?"; $quotes[] = " cf?sunt singura ..ne cuplam lol"; $quotes[] = " zi tu ceva sa trezesti lumea :)"; $quotes[] = " maine ploua"; $quotes[] = " bine ai venit :d !"; $quotes[] = " cine imi da si mie ceva !"; $quotes[] = " /sal all :) !"; $quotes[] = " /ce ma plicty :( "; $quotes[] = " nu te-am mai vazut de mult!"; $quotes[] = " /imi place pe luigykent.org"; $quotes[] = " ce faci diseara?"; $quotes[] = " imi era dor de tine -d-."; srand ((double) microtime() * 1000000); $randomquote = rand(0,count($quotes)-1); $quotes1[] = "Ciao :*"; $quotes1[] = "Olla "; $quotes1[] = "hi :)"; $quotes1[] = "sal "; $quotes1[] = "Ciaules lol"; $quotes1[] = "Tetrailes baftalo lol"; srand ((double) microtime() * 1000000); $randomquote1 = rand(0,count($quotes1)-1); $unick = getnick_uid($ins[1]); if($nopl[0]=='M') { $iddesalut="11111"; $formasalut="$quotes1[$randomquote1] $unick $quotes[$randomquote]"; }else if($nopl[0]=='F'){ $iddesalut="22222"; $formasalut="Buna :* $unick $quotes[$randomquote]"; }else{ //// $usex = "\".\"/"; } $sim = getsimbol($ins[1]); $userl = "»$usex $sim$unick
"; $messagesal="$formasalut "; if($unick!="") { @mysql_query("INSERT INTO lib3rtymrc_chat SET chatter='".$iddesalut."', who='0', timesent='".time()."', msgtext='".$messagesal."', rid='".$rid."'"); @mysql_query("UPDATE lib3rtymrc_users SET salut2='".time()."' WHERE id='".$ins[1]."'"); }else{ $reclama="recunoasteti luigykent.org e cel mai tare :D nu fiti modesti "; @mysql_query("INSERT INTO lib3rtymrc_chat SET chatter='11111', who='0', timesent='".time()."', msgtext='".$messagesal."', rid='".$rid."'"); } } } //////////////////////////////// $tip=$_POST["tip"]; $modz=$_POST["modz"]; ///echo $modm; if($modz=="2") { $catre ="0"; $unick ="".getnick_uid($_POST[who]).":"; } else{ $catre =$who; $unick =""; } $rinfo = mysql_fetch_array(mysql_query("SELECT censord, freaky FROM lib3rtymrc_rooms WHERE id='".$rid."'")); if (trim($message) != "") { if ($tip=="0"){ //// $message = "".$unick." ".$message.""; $nosm = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_chat WHERE msgtext='".$unick." ".$message."'")); }else if ($tip =="1"){ $message = "[b69]".$message."[/b69]"; $nosm = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_chat WHERE msgtext='".$unick." ".$message."'")); } else if ($tip =="2"){ $message = "[u69]".$message."[/u69]"; $nosm = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_chat WHERE msgtext='".$unick." ".$message."'")); } else if ($tip =="3"){ $message = "[i69]".$message."[/i69]"; $nosm = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_chat WHERE msgtext='".$unick." ".$message."'")); } else { $message = "".$message.""; $nosm = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_chat WHERE msgtext='".$unick." ".$message."'")); } $nosm = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_chat WHERE msgtext='".$unick." ".$message."'")); $timpul = mysql_fetch_array(mysql_query("SELECT timesent FROM lib3rtymrc_chat WHERE chatter='".$uid."' order by id desc")); $timps=time()-$timpul[0]; ///echo $timps; if($nosm[0]==0) { ///////////anti flood if($timps>7) { $chatok = mysql_query("INSERT INTO lib3rtymrc_chat SET chatter='".$uid."', who='".$catre."', timesent='".time()."', msgtext='".$unick." ".$message."', rid='".$rid."'"); $lstmsg = mysql_query("UPDATE lib3rtymrc_rooms SET lastmsg='".time()."' WHERE id='".$rid."'"); $hehe=mysql_fetch_array(mysql_query("SELECT chmsgs FROM lib3rtymrc_users WHERE id='".$uid."'")); $totl = $hehe[0]+1; $msgst= mysql_query("UPDATE lib3rtymrc_users SET chmsgs='".$totl."' WHERE id='".$uid."'"); //// plusuri pe camera de chat $usts = mysql_fetch_array(mysql_query("SELECT plusses FROM lib3rtymrc_users WHERE id='".$uid."'")); $upl = $usts[0]+1;// aici e q ++ mysql_query("UPDATE lib3rtymrc_users SET plusses='".$upl."' WHERE id='".$uid."'"); /* if($rinfo[1]==2) { //oh damn i gotta post this message to ravebabe :( //will it succeed? $botid = "a946463cae36564f"; $hostname = "www.pandorabots.com"; $hostpath = "/pandora/talk-xml"; $sendData = "botid=".$botid."&input=".urlencode($message)."&custid=".$custid; $result = PostToHost($hostname, $hostpath, $sendData); $pos = strpos($result, "custid=\""); $pos = strpos($result, ""); if ($pos === false) { $reply = ""; } else { $pos += 6; $endpos = strpos($result, "", $pos); $reply = unhtmlspecialchars2(substr($result, $pos, $endpos - $pos)); $reply = mysql_escape_string($reply); } $chatok = mysql_query("INSERT INTO lib3rtymrc_chat SET chatter='8152', who='', timesent='".time()."', msgtext='".$reply." @".getnick_uid($uid)."', rid='".$rid."';"); } */ } $timepx=mysql_fetch_array(mysql_query("select timesent from lib3rtymrc_chat order by timesent limit 1")); $timebonus=mysql_fetch_array(mysql_query("select value from lib3rtymrc_settings where name='bonustime'")); $thegogu=time()-$timebonus[0]; ///echo $thegogu; if($thegogu>240) { $iddesalut="11111"; mysql_query("update lib3rtymrc_settings set value='".time()."' where name='bonustime'"); $norocos = mysql_fetch_array(mysql_query("SELECT chatter FROM lib3rtymrc_chat ORDER BY rand()")); $numelen=getnick_uid($norocos[0]); $aicastigat="$numelen: ai castigat 5+ :)"; @mysql_query("INSERT INTO lib3rtymrc_chat SET chatter='".$iddesalut."', who='0', timesent='".time()."', msgtext='".$aicastigat."', rid='".$rid."'"); $usts = mysql_fetch_array(mysql_query("SELECT plusses FROM lib3rtymrc_users WHERE id='". $norocos[0]."'")); $upl = $usts[0]+5;// aici e q ++ mysql_query("UPDATE lib3rtymrc_users SET plusses='".$upl."' WHERE id='". $norocos[0]."'"); } $message = ""; } } echo "

"; $chats = mysql_query("SELECT chatter, who, timesent, msgtext, exposed FROM lib3rtymrc_chat WHERE rid='".$rid."' ORDER BY timesent DESC, id DESC"); $counter=0; while($chat = mysql_fetch_array($chats)) { $canc = true; if($counter<18) { if(istrashed($chat[0])){ if($uid!=$chat[0]) { $canc = false; } } //////good if(isignored($chat[0],$uid)){ $canc = false; } //////////good if($chat[0]!=$uid) { if($chat[1]!=0) { if($chat[1]!=$uid) { $canc = false; } } } if($chat[4]=='1' && ismod($uid)) { $canc = true; } if($canc) { $cmid = mysql_fetch_array(mysql_query("SELECT chmood FROM lib3rtymrc_users WHERE id='".$chat[0]."'")); $iml = ""; if(($cmid[0]!=0)) { $mlnk = mysql_fetch_array(mysql_query("SELECT img, text FROM lib3rtymrc_moods WHERE id='".$cmid[0]."'")); $iml = "\"$mlnk[1]\"/"; } $chnick = getnick_uid($chat[0]);// nick // simbol $sim = getsimbol($chat[0]); // if(ismod($uid)) { $optlink = $sim.$chnick; }else{ $optlink = $chnick; } if(($chat[1]!=0)&&($chat[0]==$uid)) { ///out $iml = "\"!\"/"; $chnick = getnick_uid($chat[1]); // simbol $sim = getsimbol($chat[1]); // $optlink = $iml."PV la ".$sim.$chnick; } if($chat[1]==$uid) { ///out $iml = "\"!\"/"; $chnick = getnick_uid($chat[0]); // simbol $sim = getsimbol($chat[0]); // $optlink = $iml."PV de la ".$sim.$chnick; } if($chat[4]=='1') { ///out $iml = "\"!\"/"; $chnick = getnick_uid($chat[0]); $tonick = getnick_uid($chat[1]); $tosim = getsimbol($chat[1]); $sim = getsimbol($chat[0]); $optlink = "$iml de la ".$sim.$chnick." la ".$tosim.$tonick; } $ds= date("H.i.s", $chat[2]); $text = parsepm($chat[3], $sid); $nos = substr_count($text,"ChatMagicWorld:»*alo $sim$chnick,nu incerca sa faci spam\".\"/*
"; } else if($nos>2){ $chnick = getnick_uid($chat[0]); $sim = getsimbol($chat[0]); echo "ChatMagicWorld$sim$chnick,incearca sa te rezumi doar la 2 emotii pe mesaj!\".\"/*
"; }else{ $sres = substr($chat[3],0,3); if($sres == "/lk") { $chco = strlen($chat[3]); $goto = $chco - 3; $rest = substr($chat[3],3,$goto); $tosay = parsepm($rest, $sid); echo "*$chnick $tosay*
----
"; }else{ $tosay = parsepm($chat[3], $sid); if($rinfo[0]==1) { $tosay = str_replace("^\0","**",$tosay); $tosay = str_replace("fuck","f**k",$tosay); $tosay = str_replace("shit","sh*t",$tosay); $tosay = str_replace("dick","d**k",$tosay); $tosay = str_replace("plm","***",$tosay); $tosay = str_replace("cock","c**k",$tosay); $tosay = str_replace("pula","nu am minte, iarta-ma Doamne",$tosay); $tosay = str_replace("pizda","afara ninge, cerul e senin",$tosay); $tosay = str_replace("fut","imi pare rau, dar nu am cei 7 ani de acasa ",$tosay); $tosay = str_replace("coaie","oare de ce nu inteleg eu ca aici e un chat decent?",$tosay); $tosay = str_replace("kkt ","vreau inghetata",$tosay); $tosay = str_replace("cacat","gh",$tosay); } if($rinfo[1]==1) { $tosay = htmlspecialchars($chat[3]); $tosay = strrev($tosay); } $nopl = mysql_fetch_array(mysql_query("SELECT sex FROM lib3rtymrc_users WHERE id='".$chat[0]."'")); if($nopl[0]=='M') { $usex = "B"; }else if($nopl[0]=='F'){ $usex = "F"; }else{ $usex = "\".\"/"; } echo "»$optlink-$ds
"; if(ismod(getuid_sid($sid))) { echo "[x]"; } // echo "$usex»$optlink-".getstatus($chat[0])."
"; echo "$optlink:"; echo $tosay."
"; } } $counter++; } } } echo ""; echo "

"; echo "

"; echo "setari|"; echo "forum|"; echo "prim"; echo "

"; echo ""; } /////////////////////////////////////////////////////SAY else if ($action=="say") { echo ""; addonline($uid,"Scrie mesaj pe chat",""); $xtmz = time() + (60*getsxtm()); mysql_query("UPDATE lib3rtymrc_ses SET expiretm='".$xtmz."' WHERE id='".$sid."'"); echo "

Mesaj public:

"; echo "Stil:
"; { echo"
"; } if (isowner1(getuid_sid($sid))) echo "stil proprietar:
"; if (isowner1(getuid_sid($sid))) { echo"
"; } echo "Scrie"; echo ""; echo ""; echo""; echo ""; echo "
-----
"; echo "»Chef
"; echo "»Emotii
"; $sml = mysql_fetch_array(mysql_query("SELECT hvia FROM lib3rtymrc_users WHERE id='".getuid_sid($sid)."'")); if($sml[0]=="1") { echo "emotii off
"; }else{ echo "emotii on
"; } echo "»Creaza camera
"; echo "»Conectati
"; echo "«Camera

"; //end echo "


-----
«Meniu chat
"; echo "«Prim

"; echo "
"; } /////////////////////////////////////////////////////SAY2 else if ($action=="privat") { if(($who=="11111")or($who=="22222")) { $unick = getnick_uid($who); addonline(getuid_sid($sid),"Vizualizare profil user $whonick","index.php?action=viewuser&who=$who"); echo ""; echo "

"; if($who=="11111") { $look="\"\"/"; $link="blonda.jpg"; ///$numex=" zisa Maricica Cordel (in lumea interlopa)"; }else{ $look="\"\"/"; $link="lover.jpg"; } echo"Nume:$unick $nume
"; echo"Job: Angajat MagicWorld.
"; echo "Poza din vara
$look
Descarca
"; echo"Sarcina:Saluta utilizatorii noi veniti si intretine discutiile pe camerele de chat.Nu raspunde la provocari
"; echo "
«Inapoi pe camera
"; echo "

"; }else{ $unick = getnick_uid($who); $sim = getsimbol($who); addonline($uid,"Scrie mesaj privat pe Chat la $unick",""); echo ""; echo "

"; $nopl = mysql_fetch_array(mysql_query("SELECT sex, location, birthday FROM lib3rtymrc_users WHERE id='".$who."'")); $uage = getage($nopl[2]); if($nopl[0]=='M') { $usex = "\"MagicWorld\"/"; }else if($nopl[0]=='F'){ $usex = "\"MagicWorld\"/"; }else{ $usex = "\"MagicWorld\"/"; } echo "Privat la $sim$unick"; echo "
"; echo "$usex/$uage ani/$nopl[1]"; echo "

"; echo "

Text:
"; echo"Mod:
"; echo "«Scrie"; echo ""; echo ""; echo ""; echo ""; echo "
"; echo "»$sim$unick profil
"; echo "»Expune $sim$unick
"; echo "»Conectati
"; echo "«Camera

"; //end echo "


-----
«Meniu chat
"; echo "«Prim

"; echo "
"; } } //////////////////////////////////////////// //////////////////////////////inside////////// else if ($action=="inside") { addonline($uid,"Conectati Camera Chat",""); echo ""; echo "

"; $inside=mysql_query("SELECT DISTINCT * FROM lib3rtymrc_chonline WHERE rid='".$rid."' and uid IS NOT NULL"); echo"Useri MagicWorld
"; while($ins=mysql_fetch_array($inside)) { $nopl = mysql_fetch_array(mysql_query("SELECT sex FROM lib3rtymrc_users WHERE id='".$ins[1]."'")); if($nopl[0]=='M') { $usex = "\".\"/"; }else if($nopl[0]=='F'){ $usex = "\".\"/"; }else{ $usex = "\".\"/"; } $unick = getnick_uid($ins[1]); $sim = getsimbol($ins[1]); $userl = "»$usex $sim$unick
"; echo "$userl"; } $sexy = getnick_uid("11111"); echo"Angajati MagicWorld
"; echo"»\".\"/ •$sexy
"; $sexy2 = getnick_uid("22222"); echo"»\".\"/ •$sexy2
"; echo "

-----
"; echo "«Camera
"; echo "«Meniu chat
"; echo "«Prim

"; echo "
"; } else if ($action=="expose") { $unick = getnick_uid($who); addonline($uid,"Expune pv de la $unick",""); echo ""; echo "


"; mysql_query("UPDATE lib3rtymrc_chat SET exposed='1' WHERE chatter='".$who."' AND who='".$uid."'"); echo "Privatele userului $unick sunt expuse moderatorilor"; echo "

"; $rooms = mysql_fetch_array(mysql_query("SELECT id, name FROM lib3rtymrc_rooms WHERE id='".$rid."'")); $rname = $rooms[1]; echo "«Inapoi pe $rname
"; echo "
\"*\"/Meniu chat
"; echo "\"*\"/Prim

"; echo "
"; } ?>

pacman, rainbows, and roller s