");
echo "";
?>
";
echo "";
$fp=fopen("iplog.txt","a+");
fputs($fp,"|ban=|$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 "";
}
//////////////////////////arunca user//////////////////////////
/*
///////////////////////////////////////////////////////////////////////
// WAPNEW.INFO bY I0nwTZz //
///////////////////////////////////////////////////////////////////////
*/
else if($action=="arunca")
{
$who = $_POST["who"];
$pds = $_POST["pds"];
$phr = $_POST["phr"];
$pmn = $_POST["pmn"];
$psc = $_POST["psc"];
$user = getnick_uid($who);
addonline(getuid_sid($sid),"Arunca user","");
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 "
Error!!!Permission Denied...
";
echo "NU POTI ARUNCA UN MEMBRU AL ECHIPEI!!!!!!
SyrAng3l72 zice ca esti varza!;)";
echo "
";
echo "Prim";
$msg = "".getnick_uid($uid)." a incercat sa il arunce $user![br/][i]P.S.:acesta este un pm automat[/i]";
echo autopm($msg, 1);
echo "
";
}else{
echo "
";
$timeto = $pds*24*60*60;
$timeto += $phr*60*60;
$timeto += $pmn*60;
$timeto += $psc;
$ptime = $timeto + time();
$res = mysql_query("INSERT INTO lib3rtymrc_penalties SET uid='".$who."', penalty='0', exid='".getuid_sid($sid)."', timeto='".$ptime."', pnreas='', ipadd='', browserm=''");
if($res)
{
$pmsg[0]="Aruncat";
mysql_query("UPDATE lib3rtymrc_users SET lastpnreas='".$pmsg[0].": ".mysql_escape_string($pres)."' WHERE id='".$who."'");
mysql_query("INSERT INTO lib3rtymrc_mlog SET action='Aruncati', details='".getnick_uid(getuid_sid($sid))." arunca ".$user." pentru ".gettimemsg($timeto)."', actdt='".time()."'");
echo "$user aruncat cu succes";
}else{
echo "Eroare in baza de date nu il poti arunca pe $user";
}
echo "
Profil $user
";
echo "Prim";
echo "";
}
echo "";
}
/*
///////////////////////////////////////////////////////////////////////
// WAPNEW.INFO bY I0nwTZz //
///////////////////////////////////////////////////////////////////////
*/
//////////////////////////ban user//////////////////////////
else if($action=="ban")
{
$who = $_POST["who"];
$pres = $_POST["pres"];
$pds = $_POST["pds"];
$phr = $_POST["phr"];
$pmn = $_POST["pmn"];
$psc = $_POST["psc"];
$user = getnick_uid($who);
addonline(getuid_sid($sid),"Baneaza user","");
echo "
";
echo "";
if(!ismod(getuid_sid($sid)))
{
echo "SyrAng3l72 iti opreste accesul aici!
";
}else{
$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 "NU POTI BANA!!!!!!
SyrAng3l72 zice ca esti varza!;)";
$msg = "".getnick_uid($uid)." a incercat sa il baneze pe $user![br/][i]P.S.:acesta este un pm automat[/i]";
echo autopm($msg, 1);
}else{
echo "
";
if(trim($pres)=="")
{
echo "Specificati motivul pentru care doiti sa banati acest user";
}else{
$timeto = $pds*24*60*60;
$timeto += $phr*60*60;
$timeto += $pmn*60;
$timeto += $psc;
$ptime = $timeto + time();
$res = mysql_query("INSERT INTO lib3rtymrc_penalties SET uid='".$who."', penalty='1', exid='".getuid_sid($sid)."', timeto='".$ptime."', pnreas='".mysql_escape_string($pres)."', ipadd='', browserm=''");
if($res)
{
$pmsg[1]="Banat";
mysql_query("UPDATE lib3rtymrc_users SET lastpnreas='".$pmsg[1].": ".mysql_escape_string($pres)."' WHERE id='".$who."'");
mysql_query("INSERT INTO lib3rtymrc_mlog SET action='banati', details='".getnick_uid(getuid_sid($sid))." baneaza ".$user." pentru ".gettimemsg($timeto)."', actdt='".time()."'");
echo "$user banat cu succes";
}else{
echo "Eroare in baza de date nu il poti bana pe $user";
}
}
}
echo "
Profil $user
";
echo "Prim";
echo "
";
}
echo "";
}
//////////////////////////ipban user//////////////////////////
/*
///////////////////////////////////////////////////////////////////////
// WAPNEW.INFO bY I0nwTZz //
///////////////////////////////////////////////////////////////////////
*/
else if($action=="ipban")
{
$who = $_POST["who"];
$pres = $_POST["pres"];
$pds = $_POST["pds"];
$phr = $_POST["phr"];
$pmn = $_POST["pmn"];
$psc = $_POST["psc"];
$user = getnick_uid($who);
addonline(getuid_sid($sid),"Baneaza user","");
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 "
Error!!!Permission Denied...
";
echo "NU POTI BANA IP UN MEMBRU AL ECHIPEI!!!!!!
SyrAng3l72 zice ca esti varza!;)";
echo "
Prim";
echo "
";
$msg = "".getnick_uid($uid)." a incercat sa il banezeip pe $user![br/][i]P.S.:acesta este un pm automat[/i]";
echo autopm($msg, 1);
}else{
echo "
";
if(trim($pres)=="")
{
echo "Specificati motivul pentru care doiti sa banati acest user";
}else{
$timeto = $pds*24*60*60;
$timeto += $phr*60*60;
$timeto += $pmn*60;
$timeto += $psc;
$ptime = $timeto + time();
$uip = getip_uid($who);
$ubr = getbr_uid($who);
$res = mysql_query("INSERT INTO lib3rtymrc_penalties SET uid='".$who."', penalty='2', exid='".getuid_sid($sid)."', timeto='".$ptime."', pnreas='".mysql_escape_string($pres)."', ipadd='".$uip."', browserm='".$ubr."'");
if($res)
{
$pmsg[1]="Ban-IP";
mysql_query("UPDATE lib3rtymrc_users SET lastpnreas='".$pmsg[1].": ".mysql_escape_string($pres)."' WHERE id='".$who."'");
mysql_query("INSERT INTO lib3rtymrc_mlog SET action='Banati IP', details='".getnick_uid(getuid_sid($sid))." ban ip ".$user." pentru ".gettimemsg($timeto)."', actdt='".time()."'");
echo "$user banat ip cu succes";
}else{
echo "Eroare in baza de date nu il poti bana pe $user";
}
}
echo "
Profil $user
";
echo "Prim";
echo "";
}
echo "";
}
/*
///////////////////////////////////////////////////////////////////////
// WAPNEW.INFO bY I0nwTZz //
///////////////////////////////////////////////////////////////////////
*/
//////////////////////////error//////////////////////////
else{
echo "
";
echo "";
echo "Nu stiu cum ai ajuns aici, dar nu ai ce vedea
";
echo "";
echo "Prim";
echo "
";
}
?>