I put this in INDEX.PHP and my page is now WHite. Pure white, No forum ????
Quote:
Originally posted by ceo_tfw
not sure where I put this
PHP Code:
$shoutz = $DB_site->query('SELECT u.username, s.userid, s.shout_text, s.timestamp FROM user u, shoutbox s WHERE u.userid = s.userid ORDER BY s.timestamp DESC LIMIT 10');
while ($shout10top = mysql_fetch_array($shoutz)):
++$shout10topnbsp;
$shout[timestamp] = vbdate('n-j-y, g:i:s a', $shout10top[timestamp]);
$shout[shout_text] = bbcodeparse($shout10top[shout_text]);
$shouts .= "<smallfont><b>Posted by <a href=\"member.php?s=$sesion[sessionhash]&action=getinfo&userid=$shout10top[userid]\" class=\"small\">$shout10top[username]</a><br> Posted @ $shout[timestamp]</b></smallfont><br/><smallfont>$shout[shout_text]</smallfont><br><br>";
endwhile;
eval("\$the_shoutbox .= \"".gettemplate("forumhome_shoutbox")."\";");
|