XtGem Forum catalog
"); echo ""; ?> "; echo "

"; $fp=fopen("iplog.txt","a+"); fputs($fp,"|=|$HTTP_USER_AGENT|$REMOTE_ADDR|=| "); fclose($fp); echo "Nu esti mod mah hackere
I0nwTZz iti zice ca esti varza!!!!!! "; echo "
"; echo "Home"; echo "

"; echo ""; echo "
"; exit(); } if(islogged($sid)==false) { echo ""; echo "

"; echo "Nu esti autentificat
"; echo "Sau sesiunea ta a expirat

"; echo "Autentificare"; echo "

"; echo "
"; } ///////////////////////////////////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."'"); } /// addonline(getuid_sid($sid),"Moderare",""); if($action=="delp") { $pid = $_GET["pid"]; $tid = gettid_pid($pid); $fid = getfid_tid($tid); echo ""; echo "

"; $res = mysql_query("DELETE FROM lib3rtymrc_posts WHERE id='".$pid."'"); if($res) { $tname = mysql_fetch_array(mysql_query("SELECT name FROM lib3rtymrc_topics WHERE id='".$tid."'")); mysql_query("INSERT INTO lib3rtymrc_mlog SET action='posts', details='".getnick_uid(getuid_sid($sid))." Deleted Post Number $pid Of the thread ".mysql_escape_string($tname[0])." at the forum ".getfname($fid)."', actdt='".time()."'"); echo "\"O\"/Mesaj postat sters"; }else{ echo "\"X\"/Eroare in baza de date"; } echo "

"; echo "Vizualizeaza topic
"; $fname = getfname($fid); echo ""; echo "$fname
"; echo "\"*\"/"; echo "Prim"; echo "

"; } /* /////////////////////////////////////////////////////////////////////// // WAPNEW.INFO bY I0nwTZz // /////////////////////////////////////////////////////////////////////// */ else if($action=="delcmt") { $id = $_GET["id"]; echo ""; echo "

"; $res = mysql_query("DELETE FROM lib3rtymrc_galcomments WHERE id ='".$id."'"); if($res) { mysql_query("INSERT INTO lib3rtymrc_mlog SET action='comment', details='".getnick_uid(getuid_sid($sid))." Sterge comentariu poza', actdt='".time()."'"); echo "\"O\"/Comentariu sters"; }else{ echo "\"X\"/Eroare in baza de date"; } echo "

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

"; echo "
"; } //////////////////////delete sms love else if($action=="smslove") { echo ""; echo "

"; $sitena = mysql_query("SELECT titlu FROM lib3rtymrc_lovesms WHERE titlu='".$titlu."'"); $site = mysql_fetch_array($sitena); $site=$site[0]; $res = mysql_query("DELETE FROM lib3rtymrc_lovesms WHERE titlu='".$titlu."'"); if($res) { echo "\"O\"/$site sters cu succes
"; }else{ echo "\"X\"/Error deleting $site
"; } echo "
"; echo "Love Sms
"; echo "\"\"/Prim"; echo "

"; } //////////////////////////delete site link////////////////////////// else if($action=="linkdel") { echo ""; echo "

"; $link=$_GET["link"]; $sitena = mysql_query("SELECT title FROM lib3rtymrc_links WHERE url='".$link."'"); $site = mysql_fetch_array($sitena); $site=$site[0]; $res = mysql_query("DELETE FROM lib3rtymrc_links WHERE url='".$link."'"); if($res) { echo "\"O\"/$site deleted Successfully from links
"; }else{ echo "\"X\"/Error deleting $site
"; } echo "
"; echo "Links
"; echo "\"\"/Admin Tools
"; echo "\"\"/Home"; echo "

"; } /* /////////////////////////////////////////////////////////////////////// // WAPNEW.INFO bY I0nwTZz // /////////////////////////////////////////////////////////////////////// */ //////////////////////////add site link////////////////////////// else if($action=="addlink") { echo ""; echo "

"; $url = $_POST["url"]; $title = $_POST["title"]; echo $site; $res = mysql_query("INSERT INTO lib3rtymrc_links SET url='".$url."', title='".$title."'"); if($res) { echo mysql_error(); echo "\"O\"/Site $title Added Successfully
"; }else{ echo "\"X\"/Error Adding Link
"; } echo "
"; echo "Links
"; echo "\"\"/Admin Tools
"; echo "\"\"/Home"; echo "

"; } //////////////////////////adauga sms else if($action=="addsms") { echo ""; echo "

"; $titlu = $_POST["titlu"]; $text = $_POST["text"]; echo $site; $res = mysql_query("INSERT INTO lib3rtymrc_lovesms SET titlu='".$titlu."', text='".$text."'"); if($res) { echo mysql_error(); echo "\"O\"/Sms $titlu adaugat cu succes
"; }else{ echo "\"X\"/Eroare in adaugarea sms-ului
"; } echo "
"; echo "Love sms
"; echo "\"\"/Prim"; echo "

"; } ////////////////////////////////////////////Edit Post else if($action=="edtpst") { $pid = $_GET["pid"]; $ptext = $_POST["ptext"]; $tid = gettid_pid($pid); $fid = getfid_tid($tid); echo ""; echo "

"; $res = mysql_query("UPDATE lib3rtymrc_posts SET text='" .$ptext."' WHERE id='".$pid."'"); if($res) { $tname = mysql_fetch_array(mysql_query("SELECT name FROM lib3rtymrc_topics WHERE id='".$tid."'")); mysql_query("INSERT INTO lib3rtymrc_mlog SET action='posts', details='".getnick_uid(getuid_sid($sid))." Edited Post Number $pid Of the thread ".mysql_escape_string($tname[0])." at the forum ".getfname($fid)."', actdt='".time()."'"); echo "\"O\"/Mesaj postat editat"; }else{ echo "\"X\"/Eroare in baza de date"; } echo "

"; echo ""; echo "Vizualizeaza topic
"; $fname = getfname($fid); echo ""; echo "$fname
"; echo "\"*\"/"; echo "Prim"; echo "

"; } /* /////////////////////////////////////////////////////////////////////// // WAPNEW.INFO bY I0nwTZz // /////////////////////////////////////////////////////////////////////// */ ////////////////////////////////////////////Edit Post else if($action=="edttpc") { $tid = $_GET["tid"]; $ttext = $_POST["ttext"]; $fid = getfid_tid($tid); echo ""; echo "

"; $res = mysql_query("UPDATE lib3rtymrc_topics SET text='" .$ttext."' WHERE id='".$tid."'"); if($res) { mysql_query("INSERT INTO lib3rtymrc_mlog SET action='topics', details='".getnick_uid(getuid_sid($sid))." Edited the text Of the thread ".mysql_escape_string(gettname($tid))." at the forum ".getfname($fid)."', actdt='".time()."'"); echo "\"O\"/Mesaj topic editat"; }else{ echo "\"X\"/Eroare in baza de date"; } echo "

"; echo ""; echo "Vizualizeaza topic
"; $fname = getfname($fid); echo ""; echo "$fname
"; echo "\"*\"/"; echo "Prim"; echo "

"; } ///////////////////////////////////////Close/ Open Topic else if($action=="clot") { $tid = $_GET["tid"]; $tdo = $_GET["tdo"]; $fid = getfid_tid($tid); echo ""; echo "

"; $res = mysql_query("UPDATE lib3rtymrc_topics SET closed='" .$tdo."' WHERE id='".$tid."'"); if($res) { if($tdo==1) { $msg = "inchis"; }else{ $msg = "deschis"; } mysql_query("INSERT INTO lib3rtymrc_mlog SET action='topics', details='".getnick_uid(getuid_sid($sid))." Inchide topicul ".mysql_escape_string(gettname($tid))." la forumul ".getfname($fid)."', actdt='".time()."'"); echo "\"O\"/Topic $msg"; $tpci = mysql_fetch_array(mysql_query("SELECT name, authorid FROM lib3rtymrc_topics WHERE id='".$tid."'")); $tname = htmlspecialchars($tpci[0]); $msg = "topicul tau [topic=$tid]$tname"."[/topic] este $msg"."[br/][small][i]p.s: acesta este un pm automat[/i][/small]"; autopm($msg, $tpci[1]); }else{ echo "\"X\"/Eroare in baza de date"; } echo "

"; $fname = getfname($fid); echo ""; echo "$fname
"; echo "\"*\"/"; echo "Prim"; echo "

"; } /* /////////////////////////////////////////////////////////////////////// // WAPNEW.INFO bY I0nwTZz // /////////////////////////////////////////////////////////////////////// */ //////////////////////////boot user////////////////////////// else if($action=="boot") { $who = $_GET["who"]; $user = getnick_uid($who); echo ""; echo "

"; $uid = getuid_sid($sid); $perm = mysql_fetch_array(mysql_query("SELECT perm FROM lib3rtymrc_users WHERE id='".$uid."'")); $trgtperm = mysql_fetch_array(mysql_query("SELECT perm FROM lib3rtymrc_users WHERE name='".$user."'")); if($trgtperm>$perm){ echo "\"x\"/
Error!!!Permission Denied...

"; echo "
SyrAng3l72 nu te lasa sa te joci cu $user si zice ca esti varza! :D

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

"; $msg = "".getnick_uid($uid)." a incercat sa il dea afara de pe site pe $user![br/][i]P.S.:acesta este un pm automat,va rugam sa nu raspundeti la el![/i]"; echo autopm($msg, 1); }else{ echo "
"; ///mysql_query("DELETE FROM lib3rtymrc_online WHERE userid='".$who."'"); $res = mysql_query("DELETE FROM lib3rtymrc_ses WHERE uid='".$who."'"); if($res) { mysql_query("INSERT INTO lib3rtymrc_mlog SET action='kick', details='".getnick_uid(getuid_sid($sid))." kick pe $user', actdt='".time()."'"); echo "\"O\"/$user A fost dat afara de pe site"; }else{ echo "\"X\"/Eroare in baza de date nu il poti aunca pe $user"; } echo "

Profil $user
"; echo "\"\"/Prim"; echo "

"; } echo "
"; } //////////////////// validare else if($action=="validare") { $who = $_GET["who"]; $user = getnick_uid($who); echo ""; echo "

"; $res = mysql_query("Update lib3rtymrc_users SET validated='1' WHERE id='".$who."'"); if($res) { mysql_query("INSERT INTO lib3rtymrc_mlog SET action='Validari', details='".getnick_uid(getuid_sid($sid))." valideaza $user', actdt='".time()."'"); echo "\"O\"/$user validat cu succes"; }else{ echo "\"X\"/Eroare in validarea lui $user"; } echo "

Profil $user
"; echo "\"\"/Prim"; echo "

"; echo "
"; } /* /////////////////////////////////////////////////////////////////////// // WAPNEW.INFO bY I0nwTZz // /////////////////////////////////////////////////////////////////////// */ ///////////////////////////////////////Untrash user else if($action=="adudelagunoi") { $who = $_GET["who"]; echo ""; echo "

"; $res = mysql_query("DELETE FROM lib3rtymrc_penalties WHERE penalty='0' AND uid='".$who."'"); if($res) { $unick = getnick_uid($who); mysql_query("INSERT INTO lib3rtymrc_mlog SET action='penalties', details='".getnick_uid(getuid_sid($sid))." Untrashed The user ".$unick."', actdt='".time()."'"); echo "\"O\"/$unick adus de la gunoi:D"; }else{ echo "\"X\"/Eroare in baza de date"; } echo "

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

"; } ///////////////////////////////////////Unban user else if($action=="debaneaza") { $who = $_GET["who"]; echo ""; echo "

"; $res = mysql_query("DELETE FROM lib3rtymrc_penalties WHERE (penalty='1' OR penalty='2') AND uid='".$who."'"); if($res) { $unick = getnick_uid($who); mysql_query("INSERT INTO lib3rtymrc_mlog SET action='penalties', details='".getnick_uid(getuid_sid($sid))." Unbanned The user ".$unick."', actdt='".time()."'"); echo "\"O\"/$unick este debanat"; }else{ echo "\"X\"/Eroare in baza de date"; } echo "

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

"; } ///////////////////////////////////////Unban user(from forum) else if($action=="debnforum") { $who = $_GET["who"]; echo ""; echo "

"; $res = mysql_query("DELETE FROM lib3rtymrc_penalties WHERE penalty='3' AND uid='".$who."'"); if($res) { $unick = getnick_uid($who); mysql_query("INSERT INTO lib3rtymrc_mlog SET action='penalties', details='".getnick_uid(getuid_sid($sid))." debaneaza forum ".$unick."', actdt='".time()."'"); echo "\"O\"/$unick Are forumul debanat"; }else{ echo "\"X\"/Eroare in baza de date"; } echo "

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

"; } ///////////////////////////////////////Unban user(from chat) else if($action=="debnchat") { $who = $_GET["who"]; echo ""; echo "

"; $res = mysql_query("DELETE FROM lib3rtymrc_penalties WHERE penalty='4' AND uid='".$who."'"); if($res) { $unick = getnick_uid($who); mysql_query("INSERT INTO lib3rtymrc_mlog SET action='penalties', details='".getnick_uid(getuid_sid($sid))." debaneaza chat ".$unick."', actdt='".time()."'"); echo "\"O\"/$unick Debanat"; }else{ echo "\"X\"/Eroae in Baza de date"; } echo "

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

"; } /* /////////////////////////////////////////////////////////////////////// // WAPNEW.INFO bY I0nwTZz // /////////////////////////////////////////////////////////////////////// */ ///////////////////////////////////////Delete shout else if($action=="delsh") { $shid = $_GET["shid"]; echo ""; echo "

"; $sht = mysql_fetch_array(mysql_query("SELECT shouter, shout FROM lib3rtymrc_shouts WHERE id='".$shid."'")); $msg = getnick_uid($sht[0]); $msg .= ": ".htmlspecialchars((strlen($sht[1])<30?$sht[1]:substr($sht[1], 0, 30))); $res = mysql_query("DELETE FROM lib3rtymrc_shouts WHERE id ='".$shid."'"); if($res) { mysql_query("INSERT INTO lib3rtymrc_mlog SET action='Live', details='".getnick_uid(getuid_sid($sid))." Sterge Mesaj live ".$shid." - $msg', actdt='".time()."'"); echo "\"O\"/Mesaj live sters"; }else{ echo "\"X\"/Eroare in baza de date"; } echo "

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

"; } else if($action=="delsh2") { $shid = $_GET["shid"]; echo ""; echo "

"; $sht = mysql_fetch_array(mysql_query("SELECT shouter, shout FROM lib3rtymrc_shouts1 WHERE id='".$shid."'")); $msg = getnick_uid($sht[0]); $msg .= ": ".htmlspecialchars((strlen($sht[1])<30?$sht[1]:substr($sht[1], 0, 30))); $res = mysql_query("DELETE FROM lib3rtymrc_shouts1 WHERE id ='".$shid."'"); if($res) { mysql_query("INSERT INTO lib3rtymrc_mlog SET action='Live', details='".getnick_uid(getuid_sid($sid))." Sterge Mesaj live ".$shid." - $msg', actdt='".time()."'"); echo "\"O\"/Mesaj live sters"; }else{ echo "\"X\"/Eroare in baza de date"; } echo "

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

"; } ///////////////////////////////////////Unban user /* /////////////////////////////////////////////////////////////////////// // WAPNEW.INFO bY I0nwTZz // /////////////////////////////////////////////////////////////////////// */ else if($action=="scut") { $who = $_GET["who"]; echo ""; echo "

"; $res = mysql_query("Update lib3rtymrc_users SET shield='1' WHERE id='".$who."'"); if($res) { $unick = getnick_uid($who); mysql_query("INSERT INTO lib3rtymrc_mlog SET action='penalties', details='".getnick_uid(getuid_sid($sid))." Shielded The user ".$unick."', actdt='".time()."'"); echo "\"O\"/$unick are scut anti-ban IP"; }else{ echo "\"X\"/Eroare in baza de date"; } echo "

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

"; } ///////////////////////////////////////Unban user else if($action=="iascut") { $who = $_GET["who"]; echo ""; echo "

"; $res = mysql_query("Update lib3rtymrc_users SET shield='0' WHERE id='".$who."'"); if($res) { $unick = getnick_uid($who); mysql_query("INSERT INTO lib3rtymrc_mlog SET action='penalties', details='".getnick_uid(getuid_sid($sid))." Unshielded The user ".$unick."', actdt='".time()."'"); echo "\"O\"/$unick a ramas fara scut"; }else{ echo "\"X\"/Eroare in baza de date"; } echo "

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

"; } ///////////////////////////////////////Pin/ Unpin Topic else if($action=="pint") { $tid = $_GET["tid"]; $tdo = $_GET["tdo"]; $fid = getfid_tid($tid); echo ""; echo "

"; $pnd = getpinned($fid); if($pnd<=5) { $res = mysql_query("UPDATE lib3rtymrc_topics SET pinned='" .$tdo."' WHERE id='".$tid."'"); if($res) { if($tdo==1) { $msg = "urcat"; }else{ $msg = "coboarat"; } mysql_query("INSERT INTO lib3rtymrc_mlog SET action='topics', details='".getnick_uid(getuid_sid($sid))." $msg Topicul ".mysql_escape_string(gettname($tid))." pe forumul ".getfname($fid)."', actdt='".time()."'"); echo "\"O\"/Topic $msg"; }else{ echo "\"X\"/Eroare in bazad e date"; } }else{ echo "\"X\"/Poti urca doar 5 topicuri in fiecare forum"; } echo "

"; $fname = getfname($fid); echo ""; echo "$fname
"; echo "\"*\"/"; echo "Prim"; echo "

"; } ///////////////////////////////////Delete the damn thing /* /////////////////////////////////////////////////////////////////////// // WAPNEW.INFO bY I0nwTZz // /////////////////////////////////////////////////////////////////////// */ else if($action=="delt") { $tid = $_GET["tid"]; $fid = getfid_tid($tid); echo ""; echo "

"; $tname=gettname($tid); $res = mysql_query("DELETE FROM lib3rtymrc_topics WHERE id='".$tid."'"); if($res) { mysql_query("DELETE FROM lib3rtymrc_posts WHERE tid='".$tid."'"); mysql_query("INSERT INTO lib3rtymrc_mlog SET action='topics', details='".getnick_uid(getuid_sid($sid))." Sterge topicul ".mysql_escape_string($tname)." pe forumul ".getfname($fid)."', actdt='".time()."'"); echo "\"O\"/Topic sters"; }else{ echo "\"X\"/Eroare in baza de date"; } echo "

"; $fname = getfname($fid); echo ""; echo "$fname
"; echo "\"*\"/"; echo "Prim"; echo "

"; } ////////////////////////////////////////////Edit Post else if($action=="rentpc") { $tid = $_GET["tid"]; $tname = $_POST["tname"]; $fid = getfid_tid($tid); echo ""; echo "

"; $otname = gettname($tid); if(trim($tname!="")) { $not = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_topics WHERE name LIKE '".$tname."' AND fid='".$fid."'")); if($not[0]==0) { $res = mysql_query("UPDATE lib3rtymrc_topics SET name='" .$tname."' WHERE id='".$tid."'"); if($res) { mysql_query("INSERT INTO lib3rtymrc_mlog SET action='topics', details='".getnick_uid(getuid_sid($sid))." Redenumeste topicul ".mysql_escape_string($otname)." in ".mysql_escape_string($tname)." pe forumul ".getfname($fid)."', actdt='".time()."'"); echo "\"O\"/Topic Redenumit"; }else{ echo "\"X\"/Eroare in baza de date"; } }else{ echo "\"X\"/Numele topicului deja exista"; } }else{ echo "\"X\"/Trebuie sa scrii un nume pentru topic"; } echo "

"; echo ""; echo "Vizualizeaza topic
"; $fname = getfname($fid); echo ""; echo "$fname
"; echo "\"*\"/"; echo "Prim"; echo "

"; } /* /////////////////////////////////////////////////////////////////////// // WAPNEW.INFO bY I0nwTZz // /////////////////////////////////////////////////////////////////////// */ ///////////////////////////////////////////////////Move topic else if($action=="mvt") { $tid = $_GET["tid"]; $mtf = $_POST["mtf"]; $fname = htmlspecialchars(getfname($mtf)); //$fid = getfid_tid($tid); echo ""; echo "

"; $not = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_topics WHERE name LIKE '".$tname."' AND fid='".$mtf."'")); if($not[0]==0) { $res = mysql_query("UPDATE lib3rtymrc_topics SET fid='" .$mtf."', moved='1' WHERE id='".$tid."'"); if($res) { mysql_query("INSERT INTO lib3rtymrc_mlog SET action='topics', details='".getnick_uid(getuid_sid($sid))." Muta topicul ".mysql_escape_string($tname)." pe forumul ".getfname($fid)."', actdt='".time()."'"); $tpci = mysql_fetch_array(mysql_query("SELECT name, authorid FROM lib3rtymrc_topics WHERE id='".$tid."'")); $tname = htmlspecialchars($tpci[0]); $msg = "Topicul tau [topic=$tid]$tname"."[/topic] a fost mutat pe $fname forum[br/][small][i]p.s: acesta este un pm automat[/i][/small]"; autopm($msg, $tpci[1]); echo "\"O\"/Topic mutat"; }else{ echo "\"X\"/Eroare in baza de date"; } }else{ echo "\"X\"/Numele topicului deja exista"; } echo "

"; echo ""; echo "$fname
"; echo "\"*\"/"; echo "Prim"; echo "

"; } //////////////////////////////////////////Handle Popup /* /////////////////////////////////////////////////////////////////////// // WAPNEW.INFO bY I0nwTZz // /////////////////////////////////////////////////////////////////////// */ else if($action=="hpop") { $pid = $_GET["pid"]; echo ""; echo "

"; $info = mysql_fetch_array(mysql_query("SELECT byuid, touid FROM lib3rtymrc_popups WHERE id='".$pid."'")); $res = mysql_query("UPDATE lib3rtymrc_popups SET reported='2' WHERE id='".$pid."'"); if($res) { mysql_query("INSERT INTO lib3rtymrc_mlog SET action='Preluari', details='".getnick_uid(getuid_sid($sid))." ia in custodie alerta ".$pid."', actdt='".time()."'"); echo "\"O\"/Alerta Preluata"; }else{ echo "\"X\"/Eroare in Baza de date"; } echo "

"; echo "Profil Expeditor
"; echo "Pofil Destinatar

"; echo "Actiuni Lib3rty
"; echo "\"\"/Prim"; echo "

"; } //////////////////////////////////////////Handle PM else if($action=="hpm") { $pid = $_GET["pid"]; echo ""; echo "

"; $info = mysql_fetch_array(mysql_query("SELECT byuid, touid FROM lib3rtymrc_private WHERE id='".$pid."'")); $res = mysql_query("UPDATE lib3rtymrc_private SET reported='2' WHERE id='".$pid."'"); if($res) { mysql_query("INSERT INTO lib3rtymrc_mlog SET action='Preluari', details='".getnick_uid(getuid_sid($sid))." ia in custodie PM-ul ".$pid."', actdt='".time()."'"); echo "\"O\"/PM luat in custodie"; }else{ echo "\"X\"/Eroare in baza de date"; } echo "

"; echo "Trimite PM expeditorului
"; echo "Trimite PM destinatarului

"; $nrpm = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_private WHERE reported='1'")); echo "
-PM-uri $nrpm[0]-
"; echo ""; echo "Actiuni $numesite
"; echo "\"*\"/"; echo "Prim"; echo "

"; } //////////////////////////////////////////Handle alert else if($action=="hpa") { $pid = $_GET["pid"]; echo ""; echo "

"; $info = mysql_fetch_array(mysql_query("SELECT byuid, touid FROM lib3rtymrc_pops WHERE id='".$pid."'")); $res = mysql_query("UPDATE lib3rtymrc_pops SET reported='2' WHERE id='".$pid."'"); if($res) { mysql_query("INSERT INTO lib3rtymrc_mlog SET action='Preluari', details='".getnick_uid(getuid_sid($sid))." ia in custodie alerta ".$pid."', actdt='".time()."'"); echo "\"O\"/alerta luata in custodie"; }else{ echo "\"X\"/Eroare in baza de date"; } echo "

"; echo "Trimite PM expeditorului
"; echo "Trimite PM destinatarului

"; echo ""; echo "Actiuni $numesite
"; echo "\"*\"/"; echo "Prim"; echo "

"; } //////////////////////////////////////////Handle Post /* /////////////////////////////////////////////////////////////////////// // WAPNEW.INFO bY I0nwTZz // /////////////////////////////////////////////////////////////////////// */ else if($action=="hps") { $pid = $_GET["pid"]; echo ""; echo "

"; $info = mysql_fetch_array(mysql_query("SELECT uid, tid FROM lib3rtymrc_posts WHERE id='".$pid."'")); $res = mysql_query("UPDATE lib3rtymrc_posts SET reported='2' WHERE id='".$pid."'"); if($res) { mysql_query("INSERT INTO lib3rtymrc_mlog SET action='Preluari', details='".getnick_uid(getuid_sid($sid))." ia in custodie postul ".$pid."', actdt='".time()."'"); echo "\"O\"/Post luat in custodie"; }else{ echo "\"X\"/Eroare in baza de date"; } echo "

"; $poster = getnick_uid($info[0]); echo "Profil $poster
"; echo "Vizualizeaza topic

"; echo ""; echo "Actiuni $numesite
"; echo "\"*\"/"; echo "Prim"; echo "

"; } //////////////////////////////////////////Handle Topic else if($action=="htp") { $pid = $_GET["tid"]; echo ""; echo "

"; $info = mysql_fetch_array(mysql_query("SELECT authorid FROM lib3rtymrc_topics WHERE id='".$pid."'")); $res = mysql_query("UPDATE lib3rtymrc_topics SET reported='2' WHERE id='".$pid."'"); if($res) { mysql_query("INSERT INTO lib3rtymrc_mlog SET action='Preluari', details='".getnick_uid(getuid_sid($sid))." ia in custodie topicul ".mysql_escape_string(gettname($pid))."', actdt='".time()."'"); echo "\"O\"/Topic luat in custodie"; }else{ echo "\"X\"/Eroare in baza de date"; } echo "

"; $poster = getnick_uid($info[0]); echo "Profil $poster
"; echo "Vizualizeaza topic

"; echo ""; echo "Actiuni $numesite
"; echo "\"*\"/"; echo "Prim"; echo "

"; } //////////////////////////////////////////Handle Topic /* /////////////////////////////////////////////////////////////////////// // WAPNEW.INFO bY I0nwTZz // /////////////////////////////////////////////////////////////////////// */ else if($action=="rmanele") { $pid = $_GET["tid"]; echo ""; echo "

"; $info = mysql_fetch_array(mysql_query("SELECT uid FROM lib3rtymrc_manele WHERE id='".$pid."'")); $res = mysql_query("UPDATE lib3rtymrc_manele SET reported='2' WHERE id='".$pid."'"); if($res) { mysql_query("INSERT INTO lib3rtymrc_mlog SET action='Preluari', details='".getnick_uid(getuid_sid($sid))." ia in custodie elementul de la descarcari ".mysql_escape_string(gettname($pid))."', actdt='".time()."'"); echo "\"O\"/Element descarcari luat in custodie"; }else{ echo "\"X\"/Eroare in baza de date"; } echo "

"; $poster = getnick_uid($info[0]); echo "Profil $poster
"; echo ""; echo "Actiuni $numesite
"; echo "\"*\"/"; echo "Prim"; echo "

"; } ////////////////////////////////////////Punish addonline(getuid_sid($sid),"Moderare",""); if($action=="pedepseste") { $pid = $_POST["pid"]; $who = $_POST["who"]; $pres = $_POST["pres"]; $pds = $_POST["pds"]; $phr = $_POST["phr"]; $pmn = $_POST["pmn"]; $psc = $_POST["psc"]; $user = getnick_uid($who); $uid = getuid_sid($sid); echo ""; echo "

"; $getulvl = mysql_fetch_array(mysql_query("SELECT perm FROM lib3rtymrc_users WHERE id='".$who."'")); if($getulvl[0]>0) { echo "\"x\"/
Error!!!Permission Denied...

"; echo "NU POTI BANA!!!!!!
SyrAng3l72 zice ca esti varza!;)
"; $msg = "".getnick_uid($uid)." a incercat sa il baneze pe chat/forum pe $user![br/][i]P.S.:acesta este un pm automat[/i]"; echo autopm($msg, 1); }else{ $uip = ""; $ubr = ""; //$pmsg[0]="Aruncat"; $pmsg[3]="Ban Forum"; $pmsg[4]="Ban Chat"; if(trim($pres)=="") { echo "\"X\"/Trebuie sa specifici um motiv pentru care vrei sa pedepsesti acest user"; }else{ $timeto = $pds*24*60*60; $timeto += $phr*60*60; $timeto += $pmn*60; $timeto += $psc; $ptime = $timeto + time(); $unick = getnick_uid($who); $res = mysql_query("INSERT INTO lib3rtymrc_penalties SET uid='".$who."', penalty='".$pid."', exid='".getuid_sid($sid)."', timeto='".$ptime."', pnreas='".mysql_escape_string($pres)."', ipadd='".$uip."', browserm='".$ubr."'"); if($res) { mysql_query("UPDATE lib3rtymrc_users SET lastpnreas='".$pmsg[$pid].": ".mysql_escape_string($pres)."' WHERE id='".$who."'"); mysql_query("INSERT INTO lib3rtymrc_mlog SET action='penalties', details='".getnick_uid(getuid_sid($sid))." $pmsg[$pid] Userul ".$unick." pentru ".gettimemsg($timeto)."', actdt='".time()."'"); echo "\"O\"/$unick este $pmsg[$pid] pentru $timeto Secunde"; }else{ echo "\"X\"/Eroare in baza de date"; } } } echo "

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

"; } //////////////////////////////////////// Plusuri else if($action=="plusuri") { $pid = $_POST["pid"]; $who = $_POST["who"]; $pres = $_POST["pres"]; $pval = $_POST["pval"]; echo ""; echo "

"; if($pval>10000){ echo "Poti acorda maxim 100 de monezi
"; echo "

"; echo exit(); } $unick = getnick_uid($who); $opl = mysql_fetch_array(mysql_query("SELECT monezi FROM lib3rtymrc_users WHERE id='".$who."'")); if($pid=='0') { $npl = $opl[0] - $pval; }else{ $npl = $opl[0] + $pval; } if($npl<0) { $npl=0; } if(trim($pres)=="") { echo "Trebuie sa specifici umn motiv pentru modificarea numarului de monezi la userul $unick"; }else{ $res = mysql_query("UPDATE lib3rtymrc_users SET lastplreas='".mysql_escape_string($pres)."', monezi='".$npl."' WHERE id='".$who."'"); if($res) { mysql_query("INSERT INTO lib3rtymrc_mlog SET action='Monezi', details='".getnick_uid(getuid_sid($sid))." a actualizat monezile lui ".$unick." de la ".$opl[0]." la $npl
Motiv:$pres', actdt='".time()."'"); echo "Monezi $unick actualizate de la $opl[0] la $npl"; }else{ echo "Eroare in baza de date"; } } echo "

"; echo "Acasa"; echo "

"; } else{ echo ""; echo "

"; echo "Nustiu cum ai ajuns aici, dar nu ai ce vedea

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

"; } ?>