No to przerobiłem na panel to (na cześć SebaZa nazwę go SZpanel) :)
/*---------------------------------------------------+
| PHP-Fusion 6 Content Management System
+----------------------------------------------------+
| Copyright © 2002 - 2005 Nick Jones
| http://www.php-fusion.co.uk/
+----------------------------------------------------+
| Released under the terms & conditions of v2 of the
| GNU General Public License. For details refer to
| the included gpl.txt file or visit http://gnu.org
+----------------------------------------------------*/
if (!defined("IN_FUSION")) { header("Location:../../index.php"); exit; }
openside("legújabb írások");
$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')." ORDER BY article_datestamp DESC LIMIT 0,5"
);
if (dbrows($result) != 0) {
while($data = dbarray($result)) {
$itemsubject = trimlink($data['article_subject'], 53);
$itemsubject2 = trimlink($data['article_snippet'], 200);
echo " <a href='".BASEDIR."readarticle.php?article_id=".$data['article_id']."' title='".$data['article_subject']."' class='side'>$itemsubject <font color='#FF0000'>(itt)</font></a> $itemsubject2<br>\n";
}
} else {
echo "<center>".$locale['004']."</center>\n";
}
closeside();
?>
"legujabb írások" mośecie zmienić na "ostatnie artykuły",
"(itt)" na "dalej" .
Edytowane przez erdei dnia 10.08.2005 21:53:41
|