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

"; echo "Nu esti administrator
"; echo "
"; echo "Prim"; echo "

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

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

"; echo "Autentificare"; echo "

"; echo "
"; echo ""; exit(); } addonline(getuid_sid($sid),"Administrare",""); if($action=="general") { echo ""; $xtm = getsxtm(); $paf = getpmaf(); $fvw = getfview(); $fmsg = htmlspecialchars(getfmsg()); if(canreg()) { $arv = "e"; }else{ $arv= "d"; } echo ""; echo " "; echo ""; echo "

"; echo "Setari Generale
"; echo "

"; echo "

"; echo "Perioada sesiune: "; echo ""; echo "
PM Antiflood"; echo "
Mesaj Prim: "; echo ""; echo "
Inregistrari: "; echo "
"; echo "Vizualizeaza:"; echo ""; echo "
Confirma "; echo "

"; echo "

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

"; } else if($action=="addperm") { echo ""; echo "

"; echo "Adauga permisiune"; $forums = mysql_query("SELECT id, name FROM lib3rtymrc_forums ORDER BY position, id, name"); echo "

Forum: "; $forums = mysql_query("SELECT id, name FROM lib3rtymrc_groups ORDER BY name, id"); echo "
Gupuri utilizator: "; echo "
Confirma "; echo "

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

"; echo "
"; } //////////////////////////////////////Manage Mods else if($action=="manmods") { echo ""; echo "

"; echo "NOTA: Pe aceasta pagina vor mai fi aduse alte elemente

"; $mods = mysql_query("SELECT id, name FROM lib3rtymrc_users WHERE perm='1'"); echo "Mod:
"; /* $forums = mysql_query("SELECT id, name FROM lib3rtymrc_forums"); echo "Forum:
"; echo "Add"; echo ""; echo ""; echo ""; echo ""; echo ""; */ echo "Adauga pe toate forumurile"; echo ""; echo ""; echo ""; echo ""; echo "
"; echo "Sterge toate forumurile"; echo ""; echo ""; echo ""; echo ""; echo ""; //echo "

"; echo "

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

"; echo "
"; } else if($action=="fcategorii") { echo ""; echo "

"; echo "»Adauga Categorie
"; echo "»Editeaza Categorie
"; echo "»Sterge Categorie
"; echo "

"; echo "

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

"; echo "
"; } else if($action=="club") { $clid = $_GET["clid"]; echo ""; echo "

"; echo "»Da plusuri credit
"; echo "»Sterge Club
"; echo "

"; echo "

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

"; echo "
"; } else if($action=="chrooms") { echo ""; echo "

"; echo "»Adauga camera
"; $noi = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_rooms")); if($noi[0]>0) { $rss = mysql_query("SELECT name, id FROM lib3rtymrc_rooms"); echo "

"; echo "Sterge camera"; echo ""; echo ""; echo "
"; } echo "

"; echo "

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

"; echo "
"; } else if($action=="forums") { echo ""; echo "

"; echo "»Adauga Forum
"; echo "»Editeaza Forum
"; echo "»Sterge Forum
"; echo "

"; echo "

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

"; echo "
"; } else if($action=="clrdta") { echo ""; echo "

"; echo "»Sterge PM-uri
"; echo "»Sterge actiuni
"; echo "»Sterge mesaje live vechi
"; echo "

"; echo "

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

"; echo "
"; } else if($action=="ugroups") { echo ""; echo "

"; echo "»Adauga grup utilizator
"; //echo "»Editeaza grup utilizator
"; echo "»Sterge grup utilizator
"; echo "

"; echo "

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

"; echo "
"; } else if($action=="addcat") { echo ""; echo "

"; echo "Adauga Categorie

"; echo "Nume:
"; echo "Pozitie:
"; echo "Adauga"; echo ""; echo ""; echo ""; echo ""; echo "

"; echo "Categorii forum
"; echo "\"*\"/"; echo "Administrare
"; echo "\"*\"/"; echo "Prim"; echo "

"; echo "
"; } else if($action=="addfrm") { echo ""; echo "

"; echo "Adauga forum

"; echo "Nume:
"; echo "Pozitie:
"; $fcats = mysql_query("SELECT id, name FROM lib3rtymrc_fcats ORDER BY position, id, name"); echo "Categorie:
"; echo "Adauga"; echo ""; echo ""; echo ""; echo ""; echo ""; echo "

"; echo "Forumuri
"; echo "\"*\"/"; echo "Administrare
"; echo "\"*\"/"; echo "Prim"; echo "

"; echo "
"; } else if($action=="gccp") { echo ""; echo "

"; echo "Da plusuri club

"; $clid = $_GET["clid"]; echo "Plusuri:
"; echo "Adauga"; echo ""; echo ""; echo ""; echo "

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

"; echo "
"; } else if($action=="addsml") { echo ""; echo "

"; echo "Adauga emotii

"; echo "Cod:
"; echo "Adresa emotie:
"; echo "Adauga"; echo ""; echo ""; echo ""; echo ""; echo "

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

"; echo "
"; } else if($action=="addavt") { echo ""; echo "

"; echo "Adauga emotii

"; echo "Sursa:
"; echo "Adauga"; echo ""; echo ""; echo ""; echo "

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

"; echo "
"; } else if($action=="addchr") { echo ""; echo "

"; echo "Adauga camera

"; echo "Nume:
"; echo "Varsta minima:
"; echo "Postari minime pe chat:
"; echo "Permisiuni:
"; echo "Cenzurata:
"; echo "Distractie:
"; echo "Adauga"; echo ""; echo ""; echo ""; echo ""; echo ""; echo ""; echo ""; echo ""; echo "

"; echo "\"chat\"/Chat
"; echo "\"*\"/"; echo "Administrare
"; echo "\"*\"/"; echo "Prim"; echo "

"; echo "
"; } else if($action=="addgrp") { echo ""; echo "

"; echo "Adauga Grup

"; echo "Nume:
"; echo "Alegere automata:
"; echo "
Pentru alegere automata doar
"; echo "Permite:
"; echo "Varsta minima:"; echo ""; echo "
Postari minime:"; echo ""; echo "
Minim plusuri:"; echo "
"; echo "Adauga"; echo ""; echo ""; echo ""; echo ""; echo ""; echo ""; echo ""; echo ""; echo "

"; echo "Grup utilizatori
"; echo "\"*\"/"; echo "Administrare
"; echo "\"*\"/"; echo "Prim"; echo "

"; echo "
"; } else if($action=="edtfrm") { echo ""; echo "

"; echo "Editeaza Forum

"; $forums = mysql_query("SELECT id,name FROM lib3rtymrc_forums ORDER BY position, id, name"); echo "Forum: "; echo "
Nume:
"; echo "Pozitie:
"; $fcats = mysql_query("SELECT id, name FROM lib3rtymrc_fcats ORDER BY position, id, name"); echo "Categorie:
"; echo "Editeaza"; echo ""; echo ""; echo ""; echo ""; echo ""; echo ""; echo "

"; echo "Forumuri
"; echo "\"*\"/"; echo "Administrare
"; echo "\"*\"/"; echo "Prim"; echo "

"; echo "
"; } else if($action=="delfrm") { echo ""; echo "

"; echo "Sterge Forum

"; $forums = mysql_query("SELECT id,name FROM lib3rtymrc_forums ORDER BY position, id, name"); echo "Forum:
"; echo "Sterge"; echo ""; echo ""; echo ""; echo "

"; echo "Forumuri
"; echo "\"*\"/"; echo "Administrare
"; echo "\"*\"/"; echo "Prim"; echo "

"; echo "
"; }else if($action=="delgrp") { echo ""; echo "

"; echo "Sterge grup utilizatori

"; $forums = mysql_query("SELECT id,name FROM lib3rtymrc_groups ORDER BY name, id"); echo "Grup utilizator:
"; echo "Sterge"; echo ""; echo ""; echo ""; echo "

"; echo "Forumuri
"; echo "\"*\"/"; echo "Administrare
"; echo "\"*\"/"; echo "Prim"; echo "

"; echo "
"; } else if($action=="edtcat") { echo ""; echo "

"; echo "Editeaza Categorie

"; $fcats = mysql_query("SELECT id, name FROM lib3rtymrc_fcats ORDER BY position, id, name"); echo "Editeaza:
"; echo "Nume:
"; echo "Pozitie:
"; echo "Editeaza"; echo ""; echo ""; echo ""; echo ""; echo ""; echo "

"; echo "Categorii forum
"; echo "\"*\"/"; echo "Administrare
"; echo "\"*\"/"; echo "Prim"; echo "

"; echo "
"; }else if($action=="delcat") { echo ""; echo "

"; echo "Sterge Categorie

"; $fcats = mysql_query("SELECT id, name FROM lib3rtymrc_fcats ORDER BY position, id, name"); echo "Sterge:
"; echo "Sterge"; echo ""; echo ""; echo ""; echo "

"; echo "Categorii forum
"; echo "\"*\"/"; echo "Administrare
"; echo "\"*\"/"; echo "Prim"; echo "

"; echo "
"; } /////////////////////////////////user info else if($action=="chuinfo") { echo ""; echo "

"; echo "Scrie nick-ul

"; echo "Utilizator:
"; echo "[Gaseste]"; echo ""; echo ""; echo ""; echo "

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

"; echo "
"; } //////////////////////////////////////Change User info else if($action=="gaseste") { echo ""; echo "

"; $unick = $_POST["unick"]; $tid = getuid_nick($unick); if($tid==0) { echo "\"x\"/Utilizatorul nu exista
"; }else{ echo "

"; echo "

"; echo "»$unick Profile
"; $judg = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_judges WHERE uid='".$tid."'")); if($judg[0]>0) { echo "»Sterge $unick din lista judecatorilor
"; }else{ echo "»Adauga $unick in lista judecatorilor
"; } //echo "»Adauga $unick unui grup
"; //echo "»$unick setari moderator
"; echo "»Sterge postari $unick
"; echo "»Sterge $unick
"; echo "

"; echo "

"; } echo ""; echo "Info utilizatori
"; echo "\"*\"/"; echo "Administrare
"; echo "\"*\"/"; echo "Prim"; echo "

"; echo "
"; } //////////////////////////////////////////// else if($action=="chubi") { echo ""; $who = $_GET["who"]; $unick = getnick_uid($who); echo ""; $avat = getavatar($who); $email = mysql_fetch_array(mysql_query("SELECT email FROM lib3rtymrc_users WHERE id='".$who."'")); $site = mysql_fetch_array(mysql_query("SELECT site FROM lib3rtymrc_users WHERE id='".$who."'")); $bdy = mysql_fetch_array(mysql_query("SELECT birthday FROM lib3rtymrc_users WHERE id='".$who."'")); $uloc = mysql_fetch_array(mysql_query("SELECT location FROM lib3rtymrc_users WHERE id='".$who."'")); $usig = mysql_fetch_array(mysql_query("SELECT signature FROM lib3rtymrc_users WHERE id='".$who."'")); $sx = mysql_fetch_array(mysql_query("SELECT sex FROM lib3rtymrc_users WHERE id='".$who."'")); $perm = mysql_fetch_array(mysql_query("SELECT perm FROM lib3rtymrc_users WHERE id='".$who."'")); echo " "; echo ""; echo "

"; echo "Nick:
"; echo "Avatar:
"; echo "E-Mail:
"; echo "Site:
"; echo "Data nasterii(YYYY-MM-DD):
"; echo "Locatie:
"; echo "Motto:
"; echo "Sex:
"; echo "Privilegii:
"; echo "Actualizeaza"; echo ""; echo ""; echo ""; echo ""; echo ""; echo ""; echo ""; echo ""; echo ""; echo ""; echo ""; echo "

"; echo "Parola:
"; echo "Schimba"; echo ""; echo ""; echo ""; echo "

"; echo "

"; echo ""; echo "Info utilizatori
"; echo "\"*\"/"; echo "Administrare
"; echo "\"*\"/"; echo "Prim"; echo "

"; echo "
"; } else{ echo ""; echo "

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

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

"; } ?>