Hello,
Im trying to install a news hack (
https://vborg.vbsupport.ru/showthread.php?t=70648 ) the thing thats making it not work is in index.php I had to put this:
PHP Code:
<?php
$news = mysql_query("select thread.threadid,thread.title,thread.replycount,thread.postusername,thread.dateline,post.postid,post.pagetext from thread,post where thread.forumid=4 and post.postid=thread.firstpostid group by thread.firstpostid order by threadid desc limit 4;");
$n = 0;
while($newsitem = mysql_fetch_row($news)){
$n++;
$newstitle[$n]=$newsitem["1"];
$newsreply[$n]=$newsitem["2"];
$newsuser[$n]=$newsitem["3"];
$newsdate[$n]=vbdate("D j M Y, g:i A",$newsitem["4"]);
$newsthread[$n]=$newsitem["5"];
$limittext[$n]=parse_bbcode($newsitem["6"]);
$newstext[$n] = substr($limittext[$n], 0, 200) . "...";
$newsavatar[$n]=$newsitem["7"];
}
?>
between the 2 eval's after // ### ALL DONE... and it gives me a blank page, could anyone please help me? The problem is not in the template.
thanks a mil.