@openside("[color=red]name of panel[/color]"); echo ""; $result = dbquery("SELECT * FROM ".$fusion_prefix."articles WHERE article_cat='[color=red]1[/color]' ORDER BY article_name"); $rows = dbrows($result); if ($rows != 0) { $i = 1; while ($data = dbarray($result)) { $dateposted = strftime("%d.%m.%y", $data['article_datestamp']+($settings['timeoffset']*3600)); if ($data['article_datestamp']+604800 > time()+($settings['timeoffset']*3600)) { $new = " [NEW]"; } else { $new = ""; } echo "\n"; if ($i != $rows) { echo "\n"; } else { echo "\n"; } $i++; } } echo "
".$data['article_subject']."$new
"; @closeside();