Temos pavadinimas: WordPress, Shopify ir PHPFusion programuotojų bendruomenė :: Top Forumo nariai,naujienos,pamokos

Parašė MAnjack· 2008 Vas. 2 10:02:07
#6

TOP Forumiečiai:
https://webdnd.com/infusions/cod...ode_id=121
Populiariausios naujienos:
https://webdnd.com/infusions/cod...code_id=21
Populiariausios pamokos:
openside("Populiariausios pamokos ");
$result = dbquery("SELECT * FROM ".$db_prefix."articles ORDER BY article_reads DESC LIMIT 0,5");
while($data = dbarray($result)) {
$itemsubject = trimlink($data['article_subject'], 23);
echo "<img src='".THEME."images/bullet.gif' alt=''> <a href='".BASEDIR."readarticle.php?article_id=".$data['article_id']."' title='".$data['article_subject']."' class='side'>$itemsubject</a><br>\n";
}

if (dbrows($result) != 0) {
while($data = dbarray($result)) {
$itemsubject = trimlink($data['article_subject'], 23);
echo "<img src='".THEME."images/bullet.gif' alt=''> <a href='".BASEDIR."readarticle.php?article_id=".$data['article_id']."' title='".$data['article_subject']."' class='side'>$itemsubject</a><br>\n";
}
} else {
echo "<center>".$locale['004']."</center>\n";
}
closeside();



Redagavo MAnjack· 2008 Vas. 2 10:02:23