";
}
$mlt=($mltvote?'enabled':'disabled');
$pollpreview="
$question
$tccell2ls colspan=3>$briefing
$pchoices
$tccell2ls colspan=3>Multi-voting is $mlt.
$tblend $tblstart
";
$subject = htmlspecialchars(stripslashes($subject));
$question = htmlspecialchars(stripslashes($question));
$briefing = htmlspecialchars(stripslashes($briefing));
}
loadtlayout();
$ppost=$user;
$ppost[uid]=$userid;
$ppost[num]=$postnum;
$ppost[posts]++;
$ppost[lastposttime]=$currenttime;
$ppost[date]=$currenttime;
$ppost[headtext]=$rhead;
$ppost[signtext]=$rsign;
if ($nolayout) {
$ppost[headtext] = "";
$ppost[signtext] = "";
} else {
$ppost[headtext]=$rhead;
$ppost[signtext]=$rsign;
}
$ppost[text]=$message;
$ppost[options] = $nosmilies . "|" . $nohtml;
if($isadmin) $ip=$userip;
$threadtype=($poll?'poll':'thread');
print "
$tccellh>".($poll?'Poll':'Thread')." preview
$tblend$tblstart
$pollpreview
$tccell2l>$posticon1 ". stripslashes($subject) ."
$tblend$tblstart
".threadpost($ppost,1)."
$tblend $tblstart
|