";
$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 "Nu esti autentificat
";
echo "Sau sesiunea ta a expirat
";
echo "Autentificare";
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 "Mesaj postat sters";
}else{
echo "Eroare in baza de date";
}
echo "
";
echo "Vizualizeaza topic
";
$fname = getfname($fid);
echo "";
echo "$fname
";
echo "";
echo "Prim";
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 "Comentariu sters";
}else{
echo "Eroare in baza de date";
}
echo "
";
echo "";
echo "Album
";
echo "";
echo "Prim";
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 "$site sters cu succes
";
}else{
echo "Error deleting $site
";
}
echo "
";
echo "Love Sms
";
echo "Prim";
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 "$site deleted Successfully from links
";
}else{
echo "Error deleting $site
";
}
echo "
";
echo "Links
";
echo "Admin Tools
";
echo "Home";
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 "Site $title Added Successfully
";
}else{
echo "Error Adding Link
";
}
echo "
";
echo "Links
";
echo "Admin Tools
";
echo "Home";
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 "Sms $titlu adaugat cu succes
";
}else{
echo "Eroare in adaugarea sms-ului
";
}
echo "
";
echo "Love sms
";
echo "Prim";
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 "Mesaj postat editat";
}else{
echo "Eroare in baza de date";
}
echo "
";
echo "";
echo "Vizualizeaza topic
";
$fname = getfname($fid);
echo "";
echo "$fname
";
echo "";
echo "Prim";
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 "Mesaj topic editat";
}else{
echo "Eroare in baza de date";
}
echo "
";
echo "";
echo "Vizualizeaza topic
";
$fname = getfname($fid);
echo "";
echo "$fname
";
echo "";
echo "Prim";
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 "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 "Eroare in baza de date";
}
echo "
";
$fname = getfname($fid);
echo "";
echo "$fname
";
echo "";
echo "Prim";
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 "
Error!!!Permission Denied...
";
echo "
SyrAng3l72 nu te lasa sa te joci cu $user si zice ca esti varza! :D
";
echo "Prim";
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 "$user validat cu succes";
}else{
echo "Eroare in validarea lui $user";
}
echo "
Profil $user
";
echo "Prim";
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 "$unick adus de la gunoi:D";
}else{
echo "Eroare in baza de date";
}
echo "
";
echo "";
echo "Prim";
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 "$unick este debanat";
}else{
echo "Eroare in baza de date";
}
echo "
";
echo "";
echo "Prim";
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 "$unick Are forumul debanat";
}else{
echo "Eroare in baza de date";
}
echo "
";
echo "";
echo "Prim";
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 "$unick Debanat";
}else{
echo "Eroae in Baza de date";
}
echo "
";
echo "";
echo "Prim";
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 "Mesaj live sters";
}else{
echo "Eroare in baza de date";
}
echo "
";
echo "";
echo "Prim";
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 "Mesaj live sters";
}else{
echo "Eroare in baza de date";
}
echo "
";
echo "";
echo "Prim";
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 "$unick are scut anti-ban IP";
}else{
echo "Eroare in baza de date";
}
echo "
";
echo "";
echo "Prim";
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 "$unick a ramas fara scut";
}else{
echo "Eroare in baza de date";
}
echo "
";
echo "";
echo "Prim";
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 "Topic $msg";
}else{
echo "Eroare in bazad e date";
}
}else{
echo "Poti urca doar 5 topicuri in fiecare forum";
}
echo "
";
$fname = getfname($fid);
echo "";
echo "$fname
";
echo "";
echo "Prim";
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 "Topic sters";
}else{
echo "Eroare in baza de date";
}
echo "
";
$fname = getfname($fid);
echo "";
echo "$fname
";
echo "";
echo "Prim";
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 "Topic Redenumit";
}else{
echo "Eroare in baza de date";
}
}else{
echo "Numele topicului deja exista";
}
}else{
echo "Trebuie sa scrii un nume pentru topic";
}
echo "
";
echo "";
echo "Vizualizeaza topic
";
$fname = getfname($fid);
echo "";
echo "$fname
";
echo "";
echo "Prim";
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 "Topic mutat";
}else{
echo "Eroare in baza de date";
}
}else{
echo "Numele topicului deja exista";
}
echo "
";
echo "";
echo "$fname
";
echo "";
echo "Prim";
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 "Alerta Preluata";
}else{
echo "Eroare in Baza de date";
}
echo "
";
echo "Profil Expeditor
";
echo "Pofil Destinatar
";
echo "Actiuni Lib3rty
";
echo "Prim";
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 "PM luat in custodie";
}else{
echo "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 "
";
$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 "alerta luata in custodie";
}else{
echo "Eroare in baza de date";
}
echo "
";
echo "Trimite PM expeditorului
";
echo "Trimite PM destinatarului
";
echo "";
echo "Actiuni $numesite
";
echo "";
echo "Prim";
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 "Post luat in custodie";
}else{
echo "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 "
";
$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 "Topic luat in custodie";
}else{
echo "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 "
";
$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 "Element descarcari luat in custodie";
}else{
echo "Eroare in baza de date";
}
echo "
";
$poster = getnick_uid($info[0]);
echo "Profil $poster
";
echo "";
echo "Actiuni $numesite
";
echo "";
echo "Prim";
echo "
";
$getulvl = mysql_fetch_array(mysql_query("SELECT perm FROM lib3rtymrc_users WHERE id='".$who."'"));
if($getulvl[0]>0) {
echo "
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 "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 "$unick este $pmsg[$pid] pentru $timeto Secunde";
}else{
echo "Eroare in baza de date";
}
}
}
echo "
";
echo "Prim";
echo "
";
if($pval>10000){
echo "Poti acorda maxim 100 de monezi
";
echo "
";
echo "Nustiu cum ai ajuns aici, dar nu ai ce vedea
";
echo "";
echo "Prim";
echo "