";
echo "Nu esti Proprietar
";
echo "
";
echo "Prim";
echo "
";
echo "Nu esti autentificat
";
echo "sau sesiunea ta a expirat
";
echo "Autentificare";
echo "
";
$res = mysql_query("UPDATE lib3rtymrc_settings SET value='".$fmsg."' WHERE name='4ummsg'");
if($res)
{
echo "Mesaj Prim actualizat
";
}else{
echo "Eroare in actualizarea mesajului Prim
";
}
$res = mysql_query("UPDATE lib3rtymrc_settings SET value='".$xtm."' WHERE name='sesxp'");
if($res)
{
echo "Perioada sesiune actualizata cu succes
";
}else{
echo "Eroare in actualizarea perioadei sesiunii
";
}
$res = mysql_query("UPDATE lib3rtymrc_settings SET value='".$pmaf."' WHERE name='pmaf'");
if($res)
{
echo "PM antiflood este de $pmaf secunde
";
}else{
echo "Eroare in actualizarea valorii PM antiflood
";
}
$res = mysql_query("UPDATE lib3rtymrc_settings SET value='".$liveaf."' WHERE name='liveaf'");
if($res)
{
echo "Mesaj live antiflood este de $liveaf secunde
";
}else{
echo "Eroare in actualizarea valorii Mesaj Live antiflood
";
}
$res = mysql_query("UPDATE lib3rtymrc_settings SET value='".$arv."' WHERE name='reg'");
if($res)
{
echo "Inregistrari setate cu succes
";
}else{
echo "Eroare actualizand inregistrarile
";
}
$res = mysql_query("UPDATE lib3rtymrc_settings SET value='".$fvw."' WHERE name='fview'");
if($res)
{
echo "Vizualizare forumuri actualizate cu succes
";
}else{
echo "Eroare actualizand vizualizarea forumurilor
";
}
$res = mysql_query("UPDATE lib3rtymrc_settings SET value='".$valid."' WHERE name='vldtn'");
if($res)
{
echo "Validari setate cu succes
";
}else{
echo "Eroare in actualizarea validarilor
";
}
$res = mysql_query("UPDATE lib3rtymrc_settings SET value='".$liveon."' WHERE name='mlive'");
if($res)
{
echo "Mesaje live setate cu succes
";
}else{
echo "Eroare in actualizarea Mesajelor Live
";
}
echo "
";
echo "";
echo "Editare setari generale
";
echo "";
echo "Administrare
";
echo "";
echo "Prim";
echo "
";
$res = mysql_query("UPDATE lib3rtymrc_settings SET value='".$moderator."' WHERE name='moderator'");
if($res)
{
echo "Parola moderatori actualizata cu succes
";
}else{
echo "Eroare in Baza de date
";
}
$res = mysql_query("UPDATE lib3rtymrc_settings SET value='".$admin."' WHERE name='admin'");
if($res)
{
echo "Parola admini actualizata cu succes
";
}else{
echo "Eroare in Baza de date
";
}
$res = mysql_query("UPDATE lib3rtymrc_settings SET value='".$adminsef."' WHERE name='adminsef'");
if($res)
{
echo "Parola admini sefi actualizata cu succes
";
}else{
echo "Eroare in Baza de date
";
}
echo "
";
echo "";
echo "Scimba Parole
";
echo "";
echo "Administrare
";
echo "";
echo "Prim";
echo "
";
$ncl = mysql_query("UPDATE lib3rtymrc_users SET popmsg='1' WHERE id='".$who."'");
echo "Alerte Activate cu succes
";
echo "
"; echo ""; echo "Prim"; echo "
"; echo ""; } /////// sterge pm-uri else if($action=="stergepm") { $who = $_GET["who"]; $unick = getnick_uid($who); echo ""; echo ""; $del = mysql_query("DELETE FROM lib3rtymrc_private WHERE byuid='".$who."'"); if($del) { echo "Toate PM-urile trimise de $unick au fost sterse"; }else{ echo "Nu poti sterge PM-ul pentru moment"; } echo "
"; echo ""; echo ""; echo "Acasa"; echo "
"; echo ""; } ////////////////////////////// alerte off else if($action=="popdisable") { $who = $_GET["who"]; echo ""; echo "";
$ncl = mysql_query("UPDATE lib3rtymrc_users SET popmsg='0' WHERE id='".$who."'");
echo "Alerte dezactivate cu succes.
";
echo "
"; echo ""; echo "Prim"; echo "
"; echo ""; } //////////////////////////delete categorile download////////////////////////// else if($action=="deldownload") { addonline(getuid_sid($sid),"Comenzi proprietar",""); echo ""; echo "";
$id=$_GET["id"];
$sitena = mysql_query("SELECT name FROM lib3rtymrc_descarcari WHERE id='".$id."'");
$site = mysql_fetch_array($sitena);
$site=$site[0];
$res = mysql_query("DELETE FROM lib3rtymrc_descarcari WHERE id='".$id."'");
if($res)
{
echo "$site
Categorie download stearsa cu succes
";
}else{
echo "Nu poti $site
";
}
echo "
";
echo "
";
echo "Categorii descarcari
";
echo "";
echo "Comenzi proprietar
";
echo "Prim";
echo "
";
$id=$_GET["id"];
$sitena = mysql_query("SELECT name FROM lib3rtymrc_descarcari1 WHERE id='".$id."'");
$site = mysql_fetch_array($sitena);
$site=$site[0];
$res = mysql_query("DELETE FROM lib3rtymrc_descarcari1 WHERE id='".$id."'");
if($res)
{
echo "$site
Categorie download stearsa cu succes
";
}else{
echo "Nu poti $site
";
}
echo "
";
echo "
";
echo "Categorii descarcari
";
echo "";
echo "Comenzi proprietar
";
echo "Prim";
echo "
";
$id=$_GET["id"];
$sitena = mysql_query("SELECT name FROM lib3rtymrc_descarcari2 WHERE id='".$id."'");
$site = mysql_fetch_array($sitena);
$site=$site[0];
$res = mysql_query("DELETE FROM lib3rtymrc_descarcari2 WHERE id='".$id."'");
if($res)
{
echo "$site
Categorie download stearsa cu succes
";
}else{
echo "Nu poti $site
";
}
echo "
";
echo "
";
echo "Categorii descarcari
";
echo "";
echo "Comenzi proprietar
";
echo "Prim";
echo "
";
$id=$_GET["id"];
$sitena = mysql_query("SELECT name FROM lib3rtymrc_descarcari3 WHERE id='".$id."'");
$site = mysql_fetch_array($sitena);
$site=$site[0];
$res = mysql_query("DELETE FROM lib3rtymrc_descarcari3 WHERE id='".$id."'");
if($res)
{
echo "$site
Categorie download stearsa cu succes
";
}else{
echo "Nu poti $site
";
}
echo "
";
echo "
";
echo "Categorii descarcari
";
echo "";
echo "Comenzi proprietar
";
echo "Prim";
echo "
";
$nick = $_POST["nick"];
$level = $_POST["level"];
if($level=='1') {
$status ="Rezervat";
}else{
$status = "Blocat";
}
echo "$nick - $status";
echo "
";
$res = mysql_query("INSERT INTO lib3rtymrc_nicks SET name='".$nick."', nicklvl='".$level."'");
if($res)
{
echo mysql_error();
echo "$nick adaugat cu succes in lista $status
";
}else{
echo "Eroare nu poti sterge $nick din $status
";
}
echo "
";
echo "Optiuni nume
";
echo "";
echo "Comenzi proprietar
";
echo "";
echo "Prim";
echo "
";
$id=$_GET["id"];
$sitena = mysql_query("SELECT name, nicklvl FROM lib3rtymrc_nicks WHERE id='".$id."'");
$site = mysql_fetch_array($sitena);
$nick=$site[0];
if($site[1]=='1') {
$status ="Rezervat";
}else{
$status = "Blocat";
}
$res = mysql_query("DELETE FROM lib3rtymrc_nicks WHERE id='".$id."'");
if($res)
{
echo " $nick Sters cu succes din lista $status
";
}else{
echo "Eroare din baza de datenu poti sterge $nick
";
}
echo "
";
echo "
";
echo "Optiuni nume
";
echo "";
echo "Comenzi proprietar
";
echo "";
echo "Prim";
echo "
";
$site = $_POST["site"];
echo $site;
$res = mysql_query("INSERT INTO lib3rtymrc_blockedsite SET site='".$site."'");
if($res)
{
echo mysql_error();
echo "
Adaugat cu succes la siteuri blocate
";
}else{
echo "Eroare in adaugarea siteului
";
}
echo "
";
echo "Siteuri blocate
";
echo "";
echo "Comenzi proprietar
";
echo "Prim";
echo "
";
$id=$_GET["id"];
$sitena = mysql_query("SELECT site FROM lib3rtymrc_blockedsite WHERE id='".$id."'");
$site = mysql_fetch_array($sitena);
$site=$site[0];
$res = mysql_query("DELETE FROM lib3rtymrc_blockedsite WHERE id='".$id."'");
if($res)
{
echo "$site
Sters de la siteuri blocate
";
}else{
echo "Nu poti sterge $site
";
}
echo "
";
echo "Siteuri blocate
";
echo "";
echo "Comenzi proprietar
";
echo "Prim";
echo "
";
$site = $_POST["site"];
echo $site;
$res = mysql_query("INSERT INTO lib3rtymrc_blockedspam SET spam='".$site."'");
if($res)
{
echo mysql_error();
echo "
Cuvant adaugat cu succes in lista de filtre anti-spam
";
}else{
echo "Eroare in baza de date
";
}
echo "
";
echo "Filtre anti-spam
";
echo "";
echo "Comenzi proprietar
";
echo "Prim";
echo "
";
$id=$_GET["id"];
$sitena = mysql_query("SELECT spam FROM lib3rtymrc_blockedspam WHERE id='".$id."'");
$site = mysql_fetch_array($sitena);
$site=$site[0];
$res = mysql_query("DELETE FROM lib3rtymrc_blockedspam WHERE id='".$id."'");
if($res)
{
echo "$site
Sters de la filtre spam
";
}else{
echo "Nu poti sterge $site
";
}
echo "
";
echo "Filtre anti-spam
";
echo "";
echo "Comenzi proprietar
";
echo "Prim";
echo "
";
$site = $_POST["site"];
echo $site;
$res = mysql_query("INSERT INTO lib3rtymrc_blockbrowser SET browser='".$site."'");
if($res)
{
echo mysql_error();
echo "
Browser blocat
";
}else{
echo "
Eroare in adaugarea browserului
";
}
echo "
";
echo "Browsere blocate
";
echo "";
echo "Comenzi proprietar
";
echo "Prim";
echo "
";
$id=$_GET["id"];
$sitena = mysql_query("SELECT browser FROM lib3rtymrc_blockbrowser WHERE id='".$id."'");
$site = mysql_fetch_array($sitena);
$site=$site[0];
$res = mysql_query("DELETE FROM lib3rtymrc_blockbrowser WHERE id='".$id."'");
if($res)
{
echo "$site
Sters de la browsere blocate
";
}else{
echo "Nu poti sterge $site
";
}
echo "
";
echo "Browsere blocate
";
echo "";
echo "Comenzi proprietar
";
echo "Prim";
echo "
";
$site = $_POST["site"];
echo $site;
$res = mysql_query("INSERT INTO lib3rtymrc_pc SET browser='".$site."'");
if($res)
{
echo mysql_error();
echo "
Browser blocat pe trivia
";
}else{
echo "
Eroare in baza de date
";
}
echo "
";
echo "Browsere blocate pe trivia
";
echo "";
echo "Comenzi proprietar
";
echo "Prim";
echo "
";
$id=$_GET["id"];
$sitena = mysql_query("SELECT browser FROM lib3rtymrc_pc WHERE id='".$id."'");
$site = mysql_fetch_array($sitena);
$site=$site[0];
$res = mysql_query("DELETE FROM lib3rtymrc_pc WHERE id='".$id."'");
if($res)
{
echo "$site
Sters de la browsere blocate pe trivia
";
}else{
echo "Nu poti sterge $site
";
}
echo "
";
echo "Browsere blocate pe trivia
";
echo "";
echo "Comenzi proprietar
";
echo "Prim";
echo "
";
$site = $_POST["site"];
echo $site;
$res = mysql_query("INSERT INTO lib3rtymrc_blockedip SET ip='".$site."'");
if($res)
{
echo mysql_error();
echo "
IP blocat
";
}else{
echo "
Eroare in baza de date
";
}
echo "
";
echo "IP-uri blocate
";
echo "";
echo "Comenzi proprietar
";
echo "Prim";
echo "
";
$logo = $_POST["logo"];
$nume = $_POST["nume"];
$pret = $_POST["pret"];
echo "$nume
";
echo "Pret:$pret ++";
$res = mysql_query("INSERT INTO lib3rtymrc_magazin SET logo='".$logo."', nume='".$nume."', cost='".$pret."'");
if($res)
{
echo mysql_error();
echo "
Animal Adaugat cu succes in PetShop
";
}else{
echo "
Eroare in baza de date
";
}
echo "
";
echo "Administrare Magazin
";
echo "";
echo "Comenzi proprietar
";
echo "Prim";
echo "
";
$id=$_GET["id"];
$res = mysql_query("DELETE FROM lib3rtymrc_magazin WHERE id='".$id."'");
if($res)
{
echo "$site
Animal sters
";
}else{
echo "Eroare in baza de date
";
}
echo "
";
echo "Administrare Magazin
";
echo "";
echo "Comenzi proprietar
";
echo "Prim";
echo "
";
$id=$_GET["id"];
$sitena = mysql_query("SELECT browser FROM lib3rtymrc_blockedip WHERE id='".$id."'");
$site = mysql_fetch_array($sitena);
$site=$site[0];
$res = mysql_query("DELETE FROM lib3rtymrc_blockedip WHERE id='".$id."'");
if($res)
{
echo "$site
Sters de la ip-uri blocate
";
}else{
echo "Nu poti sterge $site
";
}
echo "
";
echo "IP-uri blocate
";
echo "";
echo "Comenzi proprietar
";
echo "Prim";
echo "
";
$res = mysql_query("INSERT INTO lib3rtymrc_modr SET name='".$mid."', forum='".$fid."'");
if($res)
{
echo "Privilegii moderator actualizate
";
}else{
echo "Eroare in baza de date
";
}
echo "
";
echo "Configureaza moderatori
";
echo "";
echo "Administrare
";
echo "";
echo "Prim";
echo "
";
$res = deleteClub($clid);
if($res)
{
echo "Club sters
";
}else{
echo "Eroare in baza de date
";
}
echo "
";
echo "Administrare
";
echo "";
echo "Prim";
echo "
";
$nop = mysql_fetch_array(mysql_query("SELECT plusses FROM lib3rtymrc_clubs WHERE id='".$clid."'"));
$newpl = $nop[0] + $plss;
$res = mysql_query("UPDATE lib3rtymrc_clubs SET plusses='".$newpl."' WHERE id='".$clid."'");
if($res)
{
echo "Plusuri club actualizate
";
}else{
echo "Eroare in baza de date
";
}
echo "
";
echo "Administrare
";
echo "";
echo "Prim";
echo "
";
$res = mysql_query("DELETE FROM lib3rtymrc_modr WHERE name='".$mid."' AND forum='".$fid."'");
if($res)
{
echo "Privilegii moderator sterse
";
}else{
echo "Eroare in baza de date
";
}
echo "
";
echo "Configureaza moderatori
";
echo "";
echo "Administrare
";
echo "";
echo "Prim";
echo "
";
echo $fcname;
echo "
";
$res = mysql_query("INSERT INTO lib3rtymrc_fcats SET name='".$fcname."', position='".$fcpos."'");
if($res)
{
echo "Categorie forum adaugata cu succes";
}else{
echo "Eroare in adugarea categoriei de forum";
}
echo "
";
echo "Categorii forum
";
echo "";
echo "Administrare
";
echo "";
echo "Prim";
echo "
";
echo $fcname;
echo "
";
$res = mysql_query("INSERT INTO lib3rtymrc_descarcari SET name='".$fcname."'");
if($res)
{
echo "Categorie descarcari adaugata cu succes";
}else{
echo "Eroare in baza de date";
}
echo "
";
echo "Categorii descarcari
";
echo "";
echo "Administrare
";
echo "";
echo "Prim";
echo "
";
echo $fcname;
echo "
";
$res = mysql_query("INSERT INTO lib3rtymrc_descarcari1 SET name='".$fcname."'");
if($res)
{
echo "Categorie descarcari adaugata cu succes";
}else{
echo "Eroare in baza de date";
}
echo "
";
echo "Categorii descarcari
";
echo "";
echo "Administrare
";
echo "";
echo "Prim";
echo "
";
echo $fcname;
echo "
";
$res = mysql_query("INSERT INTO lib3rtymrc_descarcari2 SET name='".$fcname."'");
if($res)
{
echo "Categorie descarcari adaugata cu succes";
}else{
echo "Eroare in baza de date";
}
echo "
";
echo "Categorii descarcari
";
echo "";
echo "Administrare
";
echo "";
echo "Prim";
echo "
";
echo $fcname;
echo "
";
$res = mysql_query("INSERT INTO lib3rtymrc_descarcari3 SET name='".$fcname."'");
if($res)
{
echo "Categorie descarcari adaugata cu succes";
}else{
echo "Eroare in baza de date";
}
echo "
";
echo "Categorii descarcari
";
echo "";
echo "Administrare
";
echo "";
echo "Prim";
echo "
";
echo $frname;
echo "
";
$res = mysql_query("INSERT INTO lib3rtymrc_forums SET name='".$frname."', position='".$frpos."', cid='".$fcid."'");
if($res)
{
echo "Forum adaugat cu succes";
}else{
echo "Eroare in adaugarea forumului ";
}
echo "
";
echo "Forumuri
";
echo "";
echo "Administrare
";
echo "";
echo "Prim";
echo "
";
echo "
";
$res = mysql_query("INSERT INTO lib3rtymrc_smilies SET scode='".$smlcde."', imgsrc='".$smlsrc."', hidden='0'");
if($res)
{
echo "Emotie adaugata cu succes";
}else{
echo "Eroare in adaugarea emotiei";
}
echo "
";
echo "Adauga alta emotie
";
echo "";
echo "Administrare
";
echo "";
echo "Prim";
echo "
";
echo "
";
$res = mysql_query("INSERT INTO lib3rtymrc_avatars SET avlink='".$avtsrc."'");
if($res)
{
echo "Avatar adaugat cu succes";
}else{
echo "Eroare in adaugarea avatarului ";
}
echo "
";
echo "Adauga alt avatar
";
echo "";
echo "Administrare
";
echo "";
echo "Prim";
echo "
";
echo "
";
$res = mysql_query("INSERT INTO lib3rtymrc_judges SET uid='".$who."'");
if($res)
{
echo "Judecator adaugat cu succes";
}else{
echo "Eroare in adaugarea judecatorului ";
}
echo "
";
echo "Info utilizatori
";
echo "";
echo "Administrare
";
echo "";
echo "Prim";
echo "
";
echo "
";
$res = mysql_query("DELETE FROM lib3rtymrc_judges WHERE uid='".$who."'");
if($res)
{
echo "Judecator sters cu succes";
}else{
echo "Eroare in stergerea judecatorului ";
}
echo "
";
echo "Info utilizatori
";
echo "";
echo "Administrare
";
echo "";
echo "Prim";
echo "
";
echo "
";
$scode = mysql_fetch_array(mysql_query("SELECT scode FROM lib3rtymrc_smilies WHERE id='".$smid."'"));
$site = 'http://'. strtolower($sitte) .'/';
$itemowner = mysql_fetch_array(mysql_query("SELECT imgsrc FROM lib3rtymrc_smilies WHERE id='".$smid."'"));
if (stristr($itemowner['imgsrc'], $site))
{
$fname = str_replace($site, '../', $itemowner['imgsrc']);
if (file_exists($fname) && is_file($fname))
{
if(unlink($fname)){
mysql_query("INSERT INTO lib3rtymrc_mlog SET action='Emotie', details='".getnick_uid(getuid_sid($sid))." a sters emotia $scode[0] !', actdt='".time()."'");
mysql_query("DELETE FROM lib3rtymrc_smilies WHERE id='".$smid."'");
echo "Emotie stersa cu succes";
}else{
echo "Eroare in stergerea emotiei ";
}
} else{
echo "Emotie stearsa cu succes din database";
mysql_query("DELETE FROM lib3rtymrc_smilies WHERE id='".$smid."'");
mysql_query("INSERT INTO lib3rtymrc_mlog SET action='Emotie', details='".getnick_uid(getuid_sid($sid))." a sters emotia $scode[0] !', actdt='".time()."'");
}
}
echo "
";
echo "Administrare
";
echo "";
echo "Acasa";
echo "
";
echo $chrnm;
echo "
";
$res = mysql_query("INSERT INTO lib3rtymrc_rooms SET name='".$chrnm."', static='1', pass='', mage='".$chrage."', chposts='".$chrpst."', perms='".$chrprm."', censord='".$chrcns."' , freaky='".$chrfun."'");
echo mysql_error();
if($res)
{
echo "Camera chat adaugata cu succes";
}else{
echo "Eroare in adaugarea camerei de chat";
}
echo "
";
echo "Chat
";
echo "";
echo "Administrare
";
echo "";
echo "Prim";
echo "
";
echo "
";
$res = mysql_query("INSERT INTO lib3rtymrc_acc SET fid='".$fid."', gid='".$gid."'");
if($res)
{
echo "Permisiune adaugata cu succes";
}else{
echo "Eroare in adaugarea permisiunii ";
}
echo "
";
echo "Adauga Permisiune
";
echo "";
echo "Administrare
";
echo "";
echo "Prim";
echo "
";
$onk = mysql_fetch_array(mysql_query("SELECT name FROM lib3rtymrc_users WHERE id='".$who."'"));
$exs = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_users WHERE name='".$unick."'"));
if($onk[0]!=$unick)
{
if($exs[0]>0)
{
echo "Noul nick ales deja exista, alege altul
";
}else
{
$res = mysql_query("UPDATE lib3rtymrc_users SET avatar='".$savat."', email='".$semail."', site='".$usite."', birthday='".$ubday."', location='".$uloc."', signature='".$usig."', sex='".$usex."', name='".$unick."', perm='".$perm."' WHERE id='".$who."'");
if($res)
{
echo "$unick profil actualizat cu succes
";
}else{
echo "Eroare in actualizarea profilului userului $unick's profile
";
}
}
}else
{
$res = mysql_query("UPDATE lib3rtymrc_users SET avatar='".$savat."', email='".$semail."', site='".$usite."', birthday='".$ubday."', location='".$uloc."', signature='".$usig."', sex='".$usex."', name='".$unick."', perm='".$perm."' WHERE id='".$who."'");
if($res)
{
echo "$unick profil actualizat cu succes
";
}else{
echo "Eroare in actualizarea profilului userului $unick
";
}
}
echo "
";
echo "Info utilizatori
";
echo "";
echo "Administrare
";
echo "";
echo "Prim";
echo "
";
$res = mysql_query("UPDATE lib3rtymrc_users SET ban='".$ban."', banip='".$banip."', banchatforum='".$banchatforum."', arunca='".$arunca."', validari='".$validari."', debaneaza='".$debaneaza."', actiunir='".$actiunir."', dforum='".$dforum."' WHERE id='".$who."'");
if($res)
{
echo "Optiuni setate cu succes pentru $user
";
}else{
echo "Eroare in actualizarea optiunilor de moderare pentru $user
";
}
echo "
";
echo "Info utilizatori
";
echo "";
echo "Administrare
";
echo "";
echo "Prim";
echo "
";
$res = mysql_query("UPDATE lib3rtymrc_users SET budmsg='".$statut."' WHERE id='".$who."'");
if($res)
{
echo "Statut actualizata cu succes
";
}else{
echo "Eroare in actualizarea parolei
";
}
echo "
";
echo "Info utilizatori
";
echo "";
echo "Administrare
";
echo "";
echo "Prim";
echo "
";
if((strlen($npwd)<4) || (strlen($npwd)>15)){
echo "parola trebuie sa contina intre 4 si 15 caractere
";
}else{
$pwd = md5($npwd);
$res = mysql_query("UPDATE lib3rtymrc_users SET pass='".$pwd."' WHERE id='".$who."'");
if($res)
{
echo "Parola actualizata cu succes
";
}else{
echo "Eroare in actualizarea parolei
";
}
}
echo "
";
echo "Info utilizatori
";
echo "";
echo "Administrare
";
echo "";
echo "Prim";
echo "
";
echo $ugname;
echo "
";
$res = mysql_query("INSERT INTO lib3rtymrc_groups SET name='".$ugname."', autoass='".$ugaa."', userst='".$allus."', mage='".$mage."', posts='".$mpst."', plusses='".$mpls."'");
if($res)
{
echo "Grup utilizator adaugat cu succes";
}else{
echo "Eroare in adaugarea grupului de utilizatori";
}
echo "
";
echo "Grup de utilizatori
";
echo "";
echo "Administrare
";
echo "";
echo "Prim";
echo "
";
echo $frname;
echo "
";
$res = mysql_query("UPDATE lib3rtymrc_forums SET name='".$frname."', position='".$frpos."', cid='".$fcid."' WHERE id='".$fid."'");
if($res)
{
echo "Forum actualizat cu succes";
}else{
echo "Eroare in actualizarea forumului ";
}
echo "
";
echo "Forumuri
";
echo "";
echo "Administrare
";
echo "";
echo "Prim";
echo "
";
echo $fcname;
echo "
";
$res = mysql_query("UPDATE lib3rtymrc_fcats SET name='".$fcname."', position='".$fcpos."' WHERE id='".$fcid."'");
if($res)
{
echo "Categorie forum actualizata cu succes";
}else{
echo "Eroare in actualizarea categoriei de forum";
}
echo "
";
echo "Categorii forum
";
echo "";
echo "Administrare
";
echo "";
echo "Prim";
echo "
";
echo "
";
$res = mysql_query("DELETE FROM lib3rtymrc_forums WHERE id='".$fid."'");
if($res)
{
echo "Forum sters cu succes";
}else{
echo "Eroare in stergerea forumului ";
}
echo "
";
echo "Forumuri
";
echo "";
echo "Administrare
";
echo "";
echo "Prim";
echo "
";
echo "
";
$res = mysql_query("DELETE FROM lib3rtymrc_private WHERE reported!='1' AND starred='0' AND unread='0'");
if($res)
{
echo "Toate PM-urile marcate, raportate si citite au fost sterse";
}else{
echo "Eroare in baza de date!";
}
echo "
";
echo "Sterge Data
";
echo "";
echo "Administrare
";
echo "";
echo "Prim";
echo "
";
echo "
";
$res = mysql_query("DELETE FROM lib3rtymrc_private WHERE byuid='4' AND starred='0'");
if($res)
{
echo "Toate PM-urile automate au fost sterse";
}else{
echo "Eroare in baza de date!";
}
echo "
";
echo "Sterge Data
";
echo "";
echo "Administrare
";
echo "";
echo "Prim";
echo "
";
echo "
";
$res = mysql_query("DELETE FROM lib3rtymrc_private WHERE reported ='1'");
if($res)
{
echo "Toate PM-urile raportate au fost sterse";
}else{
echo "Eroare in baza de date!";
}
echo "
";
echo "Sterge Data
";
echo "";
echo "Administrare
";
echo "";
echo "Prim";
echo "
";
echo "
";
$res = mysql_query("DELETE FROM lib3rtymrc_popups WHERE reported!='1' AND unread='0'");
if($res)
{
echo "Toate Alertele au fost sterse";
}else{
echo "Eroare in baza de date!";
}
echo "
";
echo "Sterge Data
";
echo "";
echo "Administrare
";
echo "";
echo "Prim";
echo "
";
echo "
";
$res = mysql_query("DELETE FROM lib3rtymrc_mlog");
echo mysql_error();
if($res)
{
echo "Actiuni sterse cu succes";
}else{
echo "Eroare in baza de date!";
}
echo "
";
echo "Sterge Data
";
echo "";
echo "Administrare
";
echo "";
echo "Prim";
echo "
";
$altm = time()-(1*24*60*60);
echo "
";
$res = mysql_query("DELETE FROM lib3rtymrc_shouts WHERE shtime<'".$altm."'");
if($res)
{
echo "Mesajele live mai vechi de 1 zi au fost sterse";
}else{
echo "Eroare in baza de date!";
}
echo "
";
echo "Sterge Data
";
echo "";
echo "Administrare
";
echo "";
echo "Prim";
echo "
";
echo "
";
$res = mysql_query("DELETE FROM lib3rtymrc_groups WHERE id='".$ugid."'");
if($res)
{
echo "Grup utilizator sters cu succes";
}else{
echo "Eroare in stergerea grupului de utilizator";
}
echo "
";
echo "Grup de utilizatori
";
echo "";
echo "Administrare
";
echo "";
echo "Prim";
echo "
";
echo "
";
$res = mysql_query("DELETE FROM lib3rtymrc_rooms WHERE id='".$chrid."'");
if($res)
{
echo "Camera stearsa cu succes";
}else{
echo "Eroare in baza de date";
}
echo "
";
echo "Chat
";
echo "";
echo "Administrare
";
echo "";
echo "Prim";
echo "
";
echo "
";
$res = mysql_query("DELETE FROM lib3rtymrc_buddies WHERE tid='".$who."' OR uid='".$who."'");
$res = mysql_query("DELETE FROM lib3rtymrc_gbook WHERE gbowner='".$who."' OR gbsigner='".$who."'");
$res = mysql_query("DELETE FROM lib3rtymrc_ignore WHERE name='".$who."' OR target='".$who."'");
$res = mysql_query("DELETE FROM lib3rtymrc_mangr WHERE uid='".$who."'");
$res = mysql_query("DELETE FROM lib3rtymrc_modr WHERE name='".$who."'");
$res = mysql_query("DELETE FROM lib3rtymrc_penalties WHERE uid='".$who."' OR exid='".$who."'");
$res = mysql_query("DELETE FROM lib3rtymrc_posts WHERE uid='".$who."'");
$res = mysql_query("DELETE FROM lib3rtymrc_private WHERE byuid='".$who."' OR touid='".$who."'");
$res = mysql_query("DELETE FROM lib3rtymrc_shouts WHERE shouter='".$who."'");
$res = mysql_query("DELETE FROM lib3rtymrc_topics WHERE authorid='".$who."'");
$res = mysql_query("DELETE FROM lib3rtymrc_brate WHERE uid='".$who."'");
$res = mysql_query("DELETE FROM lib3rtymrc_games WHERE uid='".$who."'");
$res = mysql_query("DELETE FROM lib3rtymrc_presults WHERE uid='".$who."'");
$res = mysql_query("DELETE FROM lib3rtymrc_vault WHERE uid='".$who."'");
$res = mysql_query("DELETE FROM lib3rtymrc_blogs WHERE bowner='".$who."'");
$res = mysql_query("DELETE FROM lib3rtymrc_chat WHERE chatter='".$who."'");
$res = mysql_query("DELETE FROM lib3rtymrc_chat WHERE who='".$who."'");
$res = mysql_query("DELETE FROM lib3rtymrc_chonline WHERE uid='".$who."'");
$res = mysql_query("DELETE FROM lib3rtymrc_online WHERE userid='".$who."'");
$res = mysql_query("DELETE FROM lib3rtymrc_ses WHERE uid='".$who."'");
$res = mysql_query("DELETE FROM lib3rtymrc_xinfo WHERE uid='".$who."'");
$res = mysql_query("DELETE FROM lib3rtymrc_popups WHERE byuid='".$who."' OR touid='".$who."'");
$res = mysql_query("DELETE FROM lib3rtymrc_galcomments WHERE pid='".$who."'");
$res = mysql_query("DELETE FROM lib3rtymrc_gallery WHERE uid='".$who."'");
deleteMClubs($who);
$res = mysql_query("DELETE FROM lib3rtymrc_users WHERE id='".$who."'");
if($res)
{
echo "User sters cu succes";
}else{
echo "Eroare in stergerea grupului de utilizatori";
}
echo "
";
echo "Info utilizator
";
echo "";
echo "Administrare
";
echo "";
echo "Prim";
echo "
";
echo "
";
$res = mysql_query("DELETE FROM lib3rtymrc_posts WHERE uid='".$who."'");
$res = mysql_query("DELETE FROM lib3rtymrc_topics WHERE authorid='".$who."'");
if($res)
{
mysql_query("UPDATE lib3rtymrc_users SET plusses='0' where id='".$who."'");
echo "Postari user sterse cu succes";
}else{
echo "Eroare in stergerea postarilor userului";
}
echo "
";
echo "Info utilizator
";
echo "";
echo "Administrare
";
echo "";
echo "Prim";
echo "
";
echo $fcname;
echo "
";
$res = mysql_query("DELETE FROM lib3rtymrc_fcats WHERE id='".$fcid."'");
if($res)
{
echo "Categorie forum stearsa";
}else{
echo "Eroare in stergerea categoriei de forum";
}
echo "
";
echo "Categorii forum
";
echo "";
echo "Administrare
";
echo "";
echo "Prim";
echo "
";
echo "Nu stiu cum ai ajuns aici, dar nu ai ce vedea
";
echo "";
echo "Prim";
echo "