Thread subject: pHpFusion Nederlands (BE|NL) » Ondersteuning, Themas, Infusies, Modificaties en Installatie :: latest_artcles_panel ziet raar uit

Posted by ivoht on 27 december 2010, 18:15
#1

Hoi,

ik heb t panel zo aangepast dat de hyperlink eruit gehaald is.

[geshi=php] /*-------------------------------------------------------+
| PHP-Fusion Content Management System
| Copyright (C) 2002 - 2008 Nick Jones
| http://www.php-fusion.co.uk/
+--------------------------------------------------------+
| Filename: latest_articles_panel.php
| Author: Nick Jones (Digitanium)
+--------------------------------------------------------+
| This program is released as free software under the
| Affero GPL license. You can redistribute it and/or
| modify it under the terms of this license which you
| can read by viewing the included agpl.txt or online
| at www.gnu.org/licenses/agpl.html. Removal of this
| copyright header is strictly prohibited without
| written permission from the original author(s).
+--------------------------------------------------------*/
if (!defined("IN_FUSION")) { die("Access Denied"); }

openside($locale['global_030']);
$result = dbquery(
"SELECT ta.article_id, ta.article_subject, tac.article_cat_id, tac.article_cat_access FROM ".DB_ARTICLES." ta
INNER JOIN ".DB_ARTICLE_CATS." tac ON ta.article_cat=tac.article_cat_id
".(iSUPERADMIN ? "" : "WHERE ".groupaccess('article_cat_access'))." AND article_draft='0' ORDER BY article_datestamp DESC LIMIT 0,5"
);
if (dbrows($result)) {
while($data = dbarray($result)) {
$itemsubject = trimlink($data['article_subject'], 23);
/* removed hyperlink */
echo THEME_BULLET." <".BASEDIR."articles.php?article_id=".$data['article_id']."' title='".$data['article_subject']."' class='side'>$itemsubject
\n";
}
} else {
echo "
".$locale['global_031']."
\n";
}
closeside();
?>[/geshi]


op de startpagina wordt nu alles goed getoond;

Laatste Verslagen
Vet. Mheerder Boys -...
KTC3- SCKR3 (KTC ver...
KTC3 - SCKR3 (zo 7-1...


echter als ik dieper op de site zit wordt t panel zo getoond;

Laatste Verslagen
<../../articles.php?article_id=10' title='Vet. Mheerder Boys - Vet. SCKR' class='side'>Vet. Mheerder Boys -...
<../../articles.php?article_id=9' title='KTC3- SCKR3 (KTC versie)' class='side'>KTC3- SCKR3 (KTC ver...
<../../articles.php?article_id=8' title='KTC3 - SCKR3 (zo 7-11-2010)' class='side'>KTC3 - SCKR3 (zo 7-1...

ligt dat nu aan mijn aanpassing of...?