Parašė Kelmas· 2010 Bal. 22 15:04:43
#6
3)
openside("Skyriai");
$result = dbquery("SELECT * FROM ".$db_prefix."news_cats ORDER BY news_cat_name");
while ($data = dbarray($result)) {
$rows = dbcount("(news_id)", "news", "news_cat='".$data['news_cat_id']."' AND ".groupaccess('news_visibility')." AND (news_start='0'||news_start<=".time().") AND (news_end='0'||news_end>=".time().")");
echo "[$rows] <a href='".BASEDIR."news_cats.php?cat_id=".$data['news_cat_id']."' class='side'>".$data['news_cat_name']."</a><br />";
}
closeside();
2)
Reikia modifikuoti naujienų sistema. Kitaip neis.
Redagavo Kelmas· 2010 Bal. 22 15:04:56