if ($vbulletin->GPC['preview'] != '') { $previewpost = 1; $counter = 0; $pollpreview = ''; $previewquestion = $bbcode_parser->parse(unhtmlspecialchars($question), $foruminfo['forumid'], $foruminfo['allowsmilies']); while ($counter++ < $polloptions) { $pollpreviewbits .= " $counter. " . $bbcode_parser->parse($vbulletin->GPC['options']["$counter"], $foruminfo['forumid'], $foruminfo['allowsmilies']) . '<br />'; } eval('$pollpreview = "' . fetch_template('pollpreview') . '";'); }
$checked = array( 'multiple' => ($vbulletin->GPC['multiple'] ? 'checked="checked"' : ''), 'public' => ($vbulletin->GPC['public'] ? 'checked="checked"' : ''), 'parseurl' => ($vbulletin->GPC['parseurl'] ? 'checked="checked"' : ''), );
if ($vbulletin->GPC['preview'] != '') { $previewpost = 1; $counter = 0; $pollpreview = ''; $pollinfo['question'] = $bbcode_parser->parse(unhtmlspecialchars($question), $foruminfo['forumid'], $foruminfo['allowsmilies']); if($checked['public']) $show['publicwarning'] = true; if($timeout) { $pollinfo['dateline'] = TIMENOW; $pollinfo['timeout'] = $timeout; $pollendtime = vbdate($vbulletin->options['timeformat'], $pollinfo['dateline'] + ($pollinfo['timeout'] * 86400)); $pollenddate = vbdate($vbulletin->options['dateformat'], $pollinfo['dateline'] + ($pollinfo['timeout'] * 86400)); $show['pollenddate'] = true; } while ($counter++ < $polloptions) { $option['number'] = $counter; $option['question'] = $bbcode_parser->parse($vbulletin->GPC['options']["$counter"], $foruminfo['forumid'], $foruminfo['allowsmilies']); if ($checked['multiple']) { eval('$pollbits .= "' . fetch_template('polloption_multiple') . '";'); } else { eval('$pollbits .= "' . fetch_template('polloption') . '";'); } } eval('$pollpreview = "' . fetch_template('polloptions_table') . '";'); }
<form action="poll.php?do=postpoll&t=$threadid" method="post"> $pollpreview
$pollpreview <form action="poll.php?do=postpoll&t=$threadid" method="post">
Show Your Support