";
echo "
";
echo "Eroare a cazut baza de date....va reveni imediat
";
echo "MULTUMIM FOARTE MULT PENTRU INTELEGERE";
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 "
";
echo "
";
/////////////// categorii
echo"
$admob
";
$fcats = mysql_query("SELECT id, name FROM lib3rtymrc_descarcari ORDER BY id");
while($fcat=mysql_fetch_array($fcats))
{
$noi = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_manele WHERE cid='".$fcat[0]."'"));
$catlink = "»$fcat[1]($noi[0])
";
echo "$catlink";
}
echo "
";
echo "";
echo "------
";
echo "";
echo "Prim";
echo "
© LUIGYKENT.ORG ";
echo "
"; echo "
"; //////ALL LISTS SCRIPT << if($page=="" || $page<=0)$page=1; $noi = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_manele WHERE cid='".$cid."'")); // $noi = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM lib3rtymrc_manele")); $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_manele 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])."";
//$lnk = "$ime".htmlspecialchars($item[1])."";
$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 : $link
";
echo "Adaugat de: $byusr
";
echo "Adaugat pe data de: $tmopm
";
echo "Descarcat de: $views ori
";
echo "Pentru a descarca Autentifica-va";
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 .= "
"; echo ""; echo "Prim"; echo "
"; echo "";
echo "
";
echo "Nume de utilizator:";
echo "
";
echo "Parola:";
echo "
";
echo "»