Temos pavadinimas: WordPress, Shopify ir PHPFusion programuotojų bendruomenė :: Atsitiktiniai Siuntiniai

Parašė ramon· 2007 Gru. 18 17:12:29
#4

Mano kurtas..
<?php
openside("Atsitiktinis failas");

$uzklausa = dbquery(
"SELECT td.*,tdc.* FROM ".$db_prefix."downloads td
INNER JOIN ".$db_prefix."download_cats tdc ON td.download_cat=tdc.download_cat_id
WHERE ".groupaccess('download_cat_access')." ORDER BY download_datestamp DESC LIMIT 1");

if (dbrows($uzklausa) == 1) {
$data=dbarray($uzklausa);

   $failas = trimlink($data['download_title'], 15);
echo "<img src='".THEME."images/bullet.gif'>
<a href='".BASEDIR."downloads.php?cat_id=".$data['download_cat']."&download_id=".$data['download_id']."' title='".$data['download_title'].",".$data['download_description']."' class='side'><b>$failas</b> </a>[".$data['download_count']." kartu atsiusta]<Br>";
   }

closeside();
?>





EDIT: paziuredamas i duota koda virs mano sio posto pamaciau klaida.

Redagavo ramon· 2007 Gru. 18 17:12:02