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

"; echo "\"*\"/
"; echo "Eroare a cazut baza de date....va reveni imediat
"; echo "MULTUMIM FOARTE MULT PENTRU INTELEGERE
"; echo "

"; echo ""; echo "
"; exit(); } $brws = explode(" / ",$HTTP_USER_AGENT); $ubr = $brws[0]; $uip = getip(); $action = $_GET["action"]; $sid = $_GET["sid"]; $page = $_GET["page"]; $who = $_GET["who"]; $uid = getuid_sid($sid); cleardata(); if(isipbanned($uip,$ubr)) { if(!isshield(getuid_sid($sid))) { echo ""; echo "

"; echo "\"x\"/
"; echo "Acest ip este blocat
"; echo "
"; $banto = mysql_fetch_array(mysql_query("SELECT timeto FROM lib3rtymrc_penalties WHERE penalty='2' AND ipadd='".$uip."' AND browserm='".$ubr."' LIMIT 1 ")); $remain = $banto[0] - time(); $rmsg = gettimemsg($remain); echo "Timp ramas pana la debanarea IP-ului: $rmsg

"; echo "

"; echo "

"; echo "Numele:
"; echo "Parola:
"; echo "-autentificare-"; echo ""; echo ""; echo ""; echo "

"; echo "
"; echo ""; exit(); } } if(($action != "") && ($action!="terms")) { $uid = getuid_sid($sid); if((islogged($sid)==false)||($uid==0)) { echo ""; echo "

"; echo "Nu esti autentificat sau sesiunea ta a expirat!
"; echo "-autentificare-
"; echo "

"; echo "
"; echo ""; exit(); } } //echo isbanned($uid); if(isbanned($uid)) { echo ""; echo "

"; echo "\"x\"/
"; echo "Esti Banat(a)
"; $banto = mysql_fetch_array(mysql_query("SELECT timeto FROM lib3rtymrc_penalties WHERE uid='".$uid."' AND penalty='1'")); $banres = mysql_fetch_array(mysql_query("SELECT lastpnreas FROM lib3rtymrc_users WHERE id='".$uid."'")); $banner = mysql_fetch_array(mysql_query("SELECT uid, penalty, pnreas, exid FROM lib3rtymrc_penalties WHERE penalty='1'")); $remain = $banto[0]- time(); $rmsg = gettimemsg($remain); echo "Timp ramas pana la debanare: $rmsg
"; echo "Motiv ban: $banres[0]"; //echo "Login"; echo "

"; echo "
"; echo ""; exit(); } $res = mysql_query("UPDATE lib3rtymrc_users SET browserm='".$ubr."', ipadd='".$uip."' WHERE id='".getuid_sid($sid)."'"); ///////////////////////////////////time $res = mysql_fetch_array(mysql_query("SELECT lastact FROM lib3rtymrc_users WHERE id='".$uid."'")); $lastact = $res[0]; $atime = time() - $lastact; if($atime<1800){ $res = mysql_fetch_array(mysql_query("SELECT otime, mtime FROM lib3rtymrc_users where id='".$uid."'")); $otime = $res[0] + $atime; $mtime = $res[1] + $atime; $res = mysql_query("UPDATE lib3rtymrc_users SET otime='".$otime."', mtime='".$mtime."' where id='".$uid."'"); } /// ////////////////////////////////////////MAIN PAGE if($action=="main") { addvisitor(); addonline(getuid_sid($sid),"Mega Download $numesite","download.php?action=$action"); //saveuinfo($sid); echo ""; echo "

"; // zilele saptamanii if(date("D")=="Mon")$ziua="Luni"; if(date("D")=="Tue")$ziua="Marti"; if(date("D")=="Wed")$ziua="Miercuri"; if(date("D")=="Thu")$ziua="Joi"; if(date("D")=="Fri")$ziua="Vineri"; if(date("D")=="Sat")$ziua="Sambata"; if(date("D")=="Sun")$ziua="Duminica"; echo "$ziua'".date("d.m.y/H:i:s")."
"; echo "\"*\"/
"; $tmsg = getpmcount(getuid_sid($sid)); $umsg = getunreadpm(getuid_sid($sid)); //$new_gm = getnewgml(getuid_sid($sid)); echo getshoutbox($sid); echo "

"; echo "

"; echo "-Posta($umsg noi)
"; echo "------"; echo "
Cautare
"; echo "------"; echo "

"; echo "

"; /////////////// categorii $fcats = mysql_query("SELECT id, name FROM lib3rtymrc_descarcari1 ORDER BY id"); while($fcat=mysql_fetch_array($fcats)) { $noi = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_manele1 WHERE cid='".$fcat[0]."'")); $catlink = "»$fcat[1]($noi[0])
"; echo "$catlink"; } ///// // $noi = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_manele1")); //echo "»Mp3 manele($noi[0])
"; echo "

"; echo "

"; echo ""; echo "------
"; echo "\"*\"/"; echo "Prim"; echo "
© $numesite"; include("syr.php"); echo "

"; echo "
"; } /* /////////////////////////////////////////////////////////////////////// // WAPNEW.INFO bY I0nwTZz // /////////////////////////////////////////////////////////////////////// */ ////////////////////////////////// categorii descarcari else if($action=="descarca") { $who = $_GET["who"]; $uid = getuid_sid($sid); $cid = $_GET["cid"]; $cinfo = mysql_fetch_array(mysql_query("SELECT name from lib3rtymrc_descarcari1 WHERE id='".$cid."'")); addonline(getuid_sid($sid),"Descarcari $cinfo[0]",""); echo ""; echo "

"; echo "

"; //////ALL LISTS SCRIPT << if($page=="" || $page<=0)$page=1; $noi = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_manele1 WHERE cid='".$cid."'")); // $noi = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_manele1")); $num_items = $noi[0]; //changable $items_per_page= 10; $num_pages = ceil($num_items/$items_per_page); if(($page>$num_pages)&&$page!=1)$page= $num_pages; $limit_start = ($page-1)*$items_per_page; $sql = "SELECT id, title, itemurl, uid, pudt, descarcat, descriere FROM lib3rtymrc_manele1 WHERE cid='".$cid."' ORDER BY pudt DESC LIMIT $limit_start, $items_per_page"; $cou = $limit_start; echo "

"; $items = mysql_query($sql); echo mysql_error(); if(mysql_num_rows($items)>0) { while ($item = mysql_fetch_array($items)) { $ext = getext($item[2]); $ime = getextimg($ext); $link = "$ime".htmlspecialchars($item[1]).""; $raport = "raporteaza"; //$lnk = "$ime".htmlspecialchars($item[1]).""; if(candelmanele($uid, $item[0])) { $delnk = "/[sterge]"; }else{ $delnk = ""; } $tmopm = date("d/m/y",$item[4]); $views = $item[5]; $unick = getnick_uid($item[3]); $simbol = getsimbol($item[3]); $descriere = parsepm($item[6],$sid); $ulnk = "$simbol$unick"; $byusr = "$ulnk"; $cou++; echo "$cou.Fisier (id: $item[0]): $link
"; echo "Adaugat de: $byusr
"; echo "Adaugat pe data de: $tmopm
"; echo "Descarcat de: $views ori
"; //echo "Descriere: $descriere
"; echo "$raport$delnk"; echo "
-----
"; } } echo "

"; echo "

"; if($page>1) { $ppage = $page-1; echo "«pagina anterioara
"; } if($page<$num_pages) { $npage = $page+1; echo "»pagina urmatoare"; } echo "
$page/$num_pages
"; if($num_pages>2) { $rets = "Dute la pagina"; $rets .= "[Dute]"; $rets .= ""; $rets .= ""; $rets .= ""; $rets .= ""; $rets .= ""; $rets .= ""; $rets .= ""; echo $rets; } echo "

"; ////// UNTILL HERE >> echo "

"; if(getplusses(getuid_sid($sid))<3000) { }else{ echo "»"; echo "Adauga element la descarcari
"; } $tmsg = getpmcount(getuid_sid($sid)); $umsg = getunreadpm(getuid_sid($sid)); if($umsg>0) { echo "»Aveti $umsg PMs
"; } echo "\"*\"/"; echo "Prim"; echo "

"; echo "
"; } //////////////////////////////////////////adauga element la descarcari else if($action=="adauga") { $cid = $_GET["cid"]; if(getplusses(getuid_sid($sid))<3000) { echo ""; echo "

"; echo "\"X\"/Ai nevoie de minim 1000 de plusuri pentru a agauga un element la descarcat!

"; echo "-----
"; echo "prim"; echo "

"; echo "
"; echo ""; exit(); } addonline(getuid_sid($sid),"Adauga elemnt la descarcat",""); echo ""; echo ""; echo " "; echo ""; echo "

"; echo "Adaugati numai link-uri a caror accesare descarca direct,si nu necesita navigarea pe un alt site...
"; echo "Numele:
"; echo "Link-ul:
"; //echo "Descriere:
"; echo "Adauga element"; echo " "; echo ""; echo "

ATENTIE: spamul la descarcari se pedepseste cu stergerea contului!
"; echo "\"*\"/"; echo "Meniu Descarcari"; echo "

"; echo "
"; } /* /////////////////////////////////////////////////////////////////////// // WAPNEW.INFO bY I0nwTZz // /////////////////////////////////////////////////////////////////////// */ else{ /////////////////////////Main Page Here echo ""; echo "

"; echo "\"*\"/
"; echo "Numele:

"; echo "Parola:

"; echo "»autentificare«"; echo ""; echo ""; echo ""; echo "

"; echo "
"; } ?>