www.bluebase-guide.net
Dort kann ich schon den Topic Namen anzeigen lassen und die Links funktionieren auch, jedoch kann ich kein Text anzeigen lassen, mit allen möglichen Abfragen geht das nicht...
Jetzt wollte ich umsteigen und nur Topic Namen anzeigen, und den Ersteller sowie das Erstelldatum in der Form
Topictitel
erstellt von Erstellernamen am Datum
Das ganze sollte in der wirklichen php Form gecoded werden, und nicht in phpbb Form

Hier meine bisherige Abfrage:
Code: Alles auswählen
openside('News');
echo '<table><tr>';
//News
echo "<td align='justify' width='33%'>";
echo "<table>";
$sql = "SELECT
topic_title,
topic_id,
forum_id,
topic_time
FROM
forum_topics
WHERE
forum_id = 30
ORDER BY
topic_id DESC LIMIT 10;";
$result = mysql_query($sql) OR die(mysql_error());
if (dbrows($result) != 0) {
while ($data = dbarray($result)) {
$iW=sprintf("%2d",floor($data['topic_time']/604800));
$iD=sprintf("%2d",floor($data['topic_time']/(60*60*24)));
$iH=sprintf("%02d",floor((($data['topic_time']%604800)%86400)/3600));
$iM=sprintf("%02d",floor(((($data['topic_time']%604800)%86400)%3600)/60));
$iS=sprintf("%02d",floor((((($data['topic_time']%604800)%86400)%3600)%60)));
$itemsubject = trimlink($data['topic_title'], 45);
echo "<img src='".FUSION_THEME."images/bullet.gif' alt='bullet'> <a href='Forum/viewtopic.php?t=".$data['topic_id']."' title='".$row['topic_title']."'>$itemsubject</a><br />
$iD. $iM. $iS<br /><hr />\n<br />";
}
}
echo "<a href='http://www.bluebase-guide.net/Forum/viewforum.php?f=30' alt='aeltere News'>Ältere News</a>";
echo "</table>";
echo '</td></tr></table>';
closeside();