o.O...err ok I'll try.
--------
Heh, still did'nt work, well this is how it looks in the php file, can you see if its messed up there
PHP Code:
$lastpost = $DB_site->query_first("SELECT * FROM post WHERE threadid = '$threadid' ORDER BY postid DESC");
if($lastpost[userid]!=$bbuserinfo[userid] || (time()-$lastpost[dateline])>3600 || ($attachmentid and !$foruminfo[moderateattach])){
$DB_site->query("INSERT INTO post
(postid,threadid,title,username,userid,dateline,attachmentid,pagetext,allowsmilie,showsignature,ipaddress,iconid,visible) VALUES
(NULL,'$threadid','".addslashes(htmlspecialchars($title))."','".addslashes($postusername)."','$bbuserinfo[userid]','".time()."','$attachmentid','".addslashes($mess
age)."','$allowsmilie','$signature','$ipaddress','$iconid','$visible')");
} else {
$editedbysql="";
if ($showeditedby and $lastpost[dateline]<(time()-($noeditedbytime*60))) {
$editedbysql=",edituserid='$bbuserinfo[userid]',editdate='".time()."'";
}
unindexpost($lastpost[postid],$lastpost[title],$lastpost[pagetext]);
$DB_site->query("UPDATE post SET dateline='".time()."',pagetext='".addslashes($lastpost[pagetext]."\n\n".$message)."' WHERE
postid=".$lastpost[postid]);
indexpost($lastpost[postid],0);
$DB_site->query("UPDATE thread SET lastpost='".time()."' WHERE threadid='$threadid'");
if ($visible) {
$goto="showthread.php?s=$session[sessionhash]&postid=".$lastpost[postid]."#post".$lastpost[postid];
} else {
$goto="forumdisplay.php?s=$session[sessionhash]&forumid=$threadinfo[forumid]";
}
eval("standardredirect(\"".gettemplate("redirect_postthanks")."\",\"$goto\");");
exit;
}