";
echo "Nu esti administrator
";
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='".$arv."' WHERE name='reg'");
if($res)
{
echo "Inregistrari setate cu succes
";
}else{
echo "Eroare actualizand inregistrarile
";
}
echo "
";
echo "";
echo "Editare setari generale
";
echo "";
echo "Administrare
";
echo "";
echo "Prim";
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 "
";
$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."' 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."' 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 "
";
$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 "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 "Nu stiu cum ai ajuns aici, dar nu ai ce vedea
";
echo "";
echo "Prim";
echo "