this is what my file looks like and get error on
http://www.globalvibez.com/test.php
PHP Code:
<?php
chdir('/home/global/public_html/forum');
require_once('/home/global/public_html/forum/global.php');
?>
<?php
$getthreads = $vbulletin->db->query_read("
SELECT * FROM thread
WHERE forumid = ''
LIMIT 5
ORDER BY threadid
DESC
");
while ($threads = $vbulletin->db->fetch_array($getthreads))
{
$dateposted = vbdate('m-d-Y', $news['postdateline']);
eval('print_output("' . fetch_template('latest_thread_display') . '");');
}
?>
$thread[title]
Posted By: $thread[postusername]
Posted On: $dateposted