Temos pavadinimas: WordPress, Shopify ir PHPFusion programuotojų bendruomenė :: Sty klausimu lendas

Parašė ChecK· 2009 Lie. 16 11:07:39
#47

openside("Pamokos Žaidejui");
echo "<table><td height='70'>";
$result = dbquery(
"SELECT ta.*,tac.* FROM ".$db_prefix."articles ta
INNER JOIN ".$db_prefix."article_cats tac ON ta.article_cat=tac.article_cat_id
WHERE ".groupaccess('article_cat_access')." AND ta.article_cat=2 ORDER BY article_datestamp DESC LIMIT 0,77"
);
if (dbrows($result) != 0) {
while($data = dbarray($result)) {
$itemsubject = trimlink($data['article_subject'], 20);
echo "<img src='".THEME."images/bullet2.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";
}
echo "<img src='paveiksliukas'><a href='nuoroda'>Tekstas ?</a>";
echo "</td></tr></table>";
closeside();



Redagavo ChecK· 2009 Lie. 16 11:07:02