/*-------------------------------------------------+ | PHP-Fusion 5 - Content Management System | |--------------------------------------------------| | author: Nick Jones (Digitanium) © 2002-2005 | | web: http://www.php-fusion.co.uk | | email: nick@php-fusion.co.uk | |--------------------------------------------------| | infusion by: Sebastian Zaborowski (SebaZ) © 2005 | | web: http://www.s55.fks.pl | | email: dragonSZ@op.pl | |--------------------------------------------------| | Released under the terms and conditions of | | the GNU General Public License (Version 2) | +------------------------------------------------*/ if (!defined("IN_FUSION")) { header("Location:../../index.php"); exit; } openside("hhhh"); $result = dbquery("SELECT * FROM ".$fusion_prefix."articles WHERE article_cat="1" 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 = " [".LAN_402."]"; } else { $new = ""; } echo "
\n"; if ($i != $rows) { echo "