kann mir da einer helfen, wo genau ich da was ändern muss?
wäre nett, danke
cu travis
EDIT: hier der code zum installieren
Code: Alles auswählen
#
#-----[ SQL ]------------------------------------------
#
# CHANGE TABLE PREFIX ACCORDINGLY!!!
#
ALTER TABLE `phpbb_vote_desc` ADD `vote_max` INT( 3 ) DEFAULT '1' NOT NULL;
ALTER TABLE `phpbb_vote_desc` ADD `vote_voted` INT( 7 ) DEFAULT '0' NOT NULL;
ALTER TABLE `phpbb_vote_desc` ADD `vote_hide` TINYINT( 1 ) DEFAULT '0' NOT NULL;
ALTER TABLE `phpbb_vote_desc` ADD `vote_tothide` TINYINT( 1 ) DEFAULT '0' NOT NULL;
#
#-----[ OPEN ]---------------------------------------------
#
posting.php
#
#-----[ FIND ]---------------------------------------------
#
$poll_length = $row['vote_length'] / 86400;
#
#-----[ REPLACE WITH ]---------------------------------------------
#
$poll_length = intval($row['vote_length'] / 86400);
$poll_length_h = intval( ( $row['vote_length'] - ( $poll_length *86400) ) /3600 ) ;
$max_vote = $row['vote_max'];
$hide_vote = $row['vote_hide'];
$tothide_vote = $row['vote_tothide'];
#
#-----[ FIND ]---------------------------------------------
#
if ( !empty($HTTP_POST_VARS['vote_id']) )
#
#-----[ REPLACE WITH ]---------------------------------------------
#
if ( (!empty($HTTP_POST_VARS['vote_id'])) and (is_array($HTTP_POST_VARS['vote_id'])) and (isset($HTTP_POST_VARS['vote_id'])) )
#
#-----[ FIND ]---------------------------------------------
#
$vote_option_id = intval($HTTP_POST_VARS['vote_id']);
#
#-----[ AFTER, ADD ]---------------------------------------------
#
$vote_id = $HTTP_POST_VARS['vote_id'];
$sql = "SELECT vd.vote_id, vd.vote_max
FROM " . VOTE_DESC_TABLE . " vd, " . VOTE_RESULTS_TABLE . " vr
WHERE vd.topic_id = $topic_id
AND vr.vote_id = vd.vote_id
AND vr.vote_option_id = $vote_option_id
GROUP BY vd.vote_id";
if ( !($result = $db->sql_query($sql)) )
{
message_die(GENERAL_ERROR, 'Could not obtain vote data for this topic', '', __LINE__, __FILE__, $sql);
}
if ( $vote_info = $db->sql_fetchrow($result) )
{
$max_vote = $vote_info['vote_max'];
}
$max_voting=count($vote_id);
if ($max_voting>$max_vote)
{
$max_voting=$max_vote;
}
for($i = 0; $i < $max_voting; $i++)
{
$vbn[$i]= $vote_id[$i];
}
#
#-----[ FIND ]---------------------------------------------
#
$sql = "UPDATE " . VOTE_RESULTS_TABLE . "
#
#-----[ BEFORE, ADD ]---------------------------------------------
#
for($i = 0; $i < $max_voting; $i++)
{
$vote_option_id = $vbn[$i];
#
#-----[ FIND ]---------------------------------------------
#
SET vote_result = vote_result + 1
WHERE vote_id = $vote_id
AND vote_option_id = $vote_option_id";
#
#-----[ AFTER, ADD ]---------------------------------------------
#
$vote_option_id = '';
#
#-----[ FIND ]---------------------------------------------
#
$sql = "INSERT INTO " . VOTE_USERS_TABLE . " (vote_id, vote_user_id, vote_user_ip)
#
#-----[ BEFORE, ADD ]---------------------------------------------
#
}
$sql = "UPDATE " . VOTE_DESC_TABLE . "
SET vote_voted = vote_voted + 1
WHERE vote_id = $vote_id
AND topic_id = $topic_id";
if ( !$db->sql_query($sql, BEGIN_TRANSACTION) )
{
message_die(GENERAL_ERROR, 'Could not update poll voted', '', __LINE__, __FILE__, $sql);
}
#
#-----[ FIND ]---------------------------------------------
#
$poll_length = ( isset($HTTP_POST_VARS['poll_length']) && $is_auth['auth_pollcreate'] ) ? $HTTP_POST_VARS['poll_length'] : '';
#
#-----[ REPLACE WITH ]---------------------------------------------
#
$poll_length = ( isset($HTTP_POST_VARS['poll_length']) && $is_auth['auth_pollcreate'] ) ? intval($HTTP_POST_VARS['poll_length']) : '0';
$poll_length_h = ( isset($HTTP_POST_VARS['poll_length_h']) && $is_auth['auth_pollcreate'] ) ? intval($HTTP_POST_VARS['poll_length_h']) : '0';
$poll_length = $poll_length*24;
$poll_length = $poll_length_h+$poll_length;
$poll_length = ($poll_length) ? max(0, ($poll_length/24)) : 0;
$max_vote = ( isset($HTTP_POST_VARS['max_vote']) && $is_auth['auth_pollcreate'] ) ? ( ( $HTTP_POST_VARS['max_vote'] == 0 ) ? 1 : $HTTP_POST_VARS['max_vote'] ) : '';
$hide_vote = ( isset($HTTP_POST_VARS['hide_vote']) && $is_auth['auth_pollcreate'] && ($poll_length>0) ) ? 1 : '';
$tothide_vote = ( isset($HTTP_POST_VARS['tothide_vote']) && isset($HTTP_POST_VARS['hide_vote']) && $is_auth['auth_pollcreate'] && ($poll_length>0) ) ? 1 : '';
#
#-----[ FIND ]---------------------------------------------
#
prepare_post($mode, $post_data, $bbcode_on, $html_on, $smilies_on, $error_msg, $username, $bbcode_uid, $subject, $message, $poll_title, $poll_options, $poll_length);
#
#-----[ IN-LINE FIND ]---------------------------------------------
#
, $poll_length
#
#-----[ IN-LINE AFTER, ADD ]---------------------------------------------
#
, $max_vote, $hide_vote, $tothide_vote
#
#-----[ FIND ]---------------------------------------------
#
submit_post($mode, $post_data, $return_message, $return_meta, $forum_id, $topic_id, $post_id, $poll_id, $topic_type, $bbcode_on, $html_on, $smilies_on, $attach_sig, $bbcode_uid, str_replace("\'", "''", $username), str_replace("\'", "''", $subject), str_replace("\'", "''", $message), str_replace("\'", "''", $poll_title), $poll_options, $poll_length);
#
#-----[ IN-LINE FIND ]---------------------------------------------
#
, $poll_length
#
#-----[ IN-LINE AFTER, ADD ]---------------------------------------------
#
, $max_vote, $hide_vote, $tothide_vote
#
#-----[ FIND ]---------------------------------------------
#
$poll_length = ( isset($HTTP_POST_VARS['poll_length']) ) ? max(0, intval($HTTP_POST_VARS['poll_length'])) : 0;
#
#-----[ AFTER, ADD ]---------------------------------------------
#
$max_vote = ( isset($HTTP_POST_VARS['max_vote']) ) ? max(0, intval($HTTP_POST_VARS['max_vote'])) : 0;
$hide_vote = ( isset($HTTP_POST_VARS['hide_vote']) ) ? max(0, intval($HTTP_POST_VARS['hide_vote'])) : 0;
$tothide_vote = ( isset($HTTP_POST_VARS['tothide_vote']) ) ? max(0, intval($HTTP_POST_VARS['tothide_vote'])) : 0;
#
#-----[ FIND ]---------------------------------------------
#
$poll_length = '';
#
#-----[ AFTER, ADD ]---------------------------------------------
#
$poll_length_h = '';
$max_vote = '1';
$hide_vote = '';
$tothide_vote = '';
#
#-----[ FIND ]---------------------------------------------
#
'L_POLL_LENGTH' => $lang['Poll_for'],
#
#-----[ AFTER, ADD ]---------------------------------------------
#
'L_MAX_VOTE' => $lang['Max_vote'],
'L_MAX_VOTE_EXPLAIN' => $lang['Max_vote_explain'],
'L_MAX_VOTING_1_EXPLAIN' => $lang['Max_voting_1_explain'],
'L_MAX_VOTING_2_EXPLAIN' => $lang['Max_voting_2_explain'],
'L_MAX_VOTING_3_EXPLAIN' => $lang['Max_voting_3_explain'],
'L_VHIDE' => $lang['Vhide'],
'L_HIDE_VOTE' => $lang['Hide_vote'],
'L_TOTHIDE_VOTE' => $lang['Tothide_vote'],
'L_HIDE_VOTE_EXPLAIN' => $lang['Hide_vote_explain'],
'L_HOURS' => $lang['Hours'],
#
#-----[ FIND ]---------------------------------------------
#
'POLL_LENGTH' => $poll_length)
#
#-----[ BEFORE, ADD ]---------------------------------------------
#
'HIDE_VOTE' => ( $hide_vote ) ? 'checked="checked"' : '',
'TOTHIDE_VOTE' => ( $tothide_vote ) ? 'checked="checked"' : '',
'POLL_LENGTH_H' => $poll_length_h,
'MAX_VOTE' => $max_vote,
#
#-----[ OPEN ]---------------------------------------------
#
viewtopic.php
#
#-----[ FIND ]---------------------------------------------
#
$topic_id = $post_id = 0;
#
#-----[ AFTER, ADD ]---------------------------------------------
#
$vote_id = array();
#
#-----[ FIND ]---------------------------------------------
#
$sql = "SELECT vd.vote_id, vd.vote_text, vd.vote_start, vd.vote_length, vr.vote_option_id, vr.vote_option_text, vr.vote_result
#
#-----[ IN-LINE FIND ]---------------------------------------------
#
vd.vote_length
#
#-----[ IN-LINE AFTER, ADD ]---------------------------------------------
#
, vd.vote_max, vd.vote_voted, vd.vote_hide, vd.vote_tothide
#
#-----[ FIND ]---------------------------------------------
#
$vote_title = $vote_info[0]['vote_text'];
#
#-----[ AFTER, ADD ]---------------------------------------------
#
$max_vote = $vote_info[0]['vote_max'];
$voted_vote = $vote_info[0]['vote_voted'];
$hide_vote = $vote_info[0]['vote_hide'];
$tothide_vote = $vote_info[0]['vote_tothide'];
#
#-----[ FIND ]---------------------------------------------
#
$template->assign_block_vars("poll_option", array(
'POLL_OPTION_CAPTION' => $vote_info[$i]['vote_option_text'],
#
#-----[ BEFORE, ADD ]---------------------------------------------
#
$hide_vote_bl = '';
$hide_vote_zr = '0';
$total_votes_1 = $lang['Total_votes'] ;
$total_votes_2 = $vote_results_sum ;
if ( ( $poll_expired == 0 ) && ( $hide_vote == 1 ) && ( $vote_info[0]['vote_length'] <> 0 ) )
{
if ( $tothide_vote == 1 )
{
$total_votes_1 = '' ;
$total_votes_2 = '' ;
}
$poll_expires_c = $lang['Results_after'];
$template->assign_block_vars("poll_option", array(
'POLL_OPTION_CAPTION' => $vote_info[$i]['vote_option_text'],
'POLL_OPTION_RESULT' => $hide_vote_bl,
'POLL_OPTION_PERCENT' => $hide_vote_bl,
'POLL_OPTION_IMG' => $vote_graphic_img,
'POLL_OPTION_IMG_WIDTH' => $hide_vote_zr)
);
}
else
{
$poll_expires_c = '';
#
#-----[ FIND ]---------------------------------------------
#
'POLL_OPTION_IMG_WIDTH' => $vote_graphic_length)
);
#
#-----[ AFTER, ADD ]---------------------------------------------
#
}
#
#-----[ FIND ]---------------------------------------------
#
$template->assign_vars(array(
'L_TOTAL_VOTES' => $lang['Total_votes'],
'TOTAL_VOTES' => $vote_results_sum)
#
#-----[ REPLACE WITH ]---------------------------------------------
#
if ( ( $poll_expired == 0 ) && ( $vote_info[0]['vote_length'] <> 0 ) )
{
$poll_expire_1 = (( $vote_info[0]['vote_start'] + $vote_info[0]['vote_length'] ) - time() );
$poll_expire_2 = intval($poll_expire_1/86400);
$poll_expire_a = $poll_expire_2*86400;
$poll_expire_3 = intval(($poll_expire_1 - ($poll_expire_a))/3600);
$poll_expire_b = $poll_expire_3*3600;
$poll_expire_4 = intval((($poll_expire_1 - ($poll_expire_a) - ($poll_expire_b)))/60);
$poll_comma = ', ';
$poll_space = ' ';
$poll_expire_2 == '0' ? $poll_expire_6='' : ( ( $poll_expire_3 == 0 && $poll_expire_4 == 0 ) ? $poll_expire_6=$poll_expire_2.$poll_space.$lang['Days'] : $poll_expire_6=$poll_expire_2.$poll_space.$lang['Days'].$poll_comma ) ;
$poll_expire_3 == '0' ? $poll_expire_7='' : ( $poll_expire_4 == 0 ? $poll_expire_7=$poll_expire_3.$poll_space.$lang['Hours'] : $poll_expire_7=$poll_expire_3.$poll_space.$lang['Hours'].$poll_comma ) ;
$poll_expire_4 == '0' ? $poll_expire_8='' : $poll_expire_8=$poll_expire_4.$poll_space.$lang['Minutes'] ;
$poll_expires_d = $lang['Poll_expires'];
}
else if ($poll_expired == 1)
{
$poll_expires_6 = '';
$poll_expires_7 = '';
$poll_expires_8 = '';
$poll_expires_d = $lang['Poll_expiredyes'];
}
else
{
$poll_expires_6 = '';
$poll_expires_7 = '';
$poll_expires_8 = '';
$poll_expires_d = $lang['Poll_noexpire'];
}
$voted_vote_nb = $voted_vote;
$template->assign_vars(array(
'VOTED_SHOW' => $lang['Voted_show'],
'L_TOTAL_VOTES' => $total_votes_1,
'L_RESULTS_AFTER' => $poll_expires_c,
'L_POLL_EXPIRES' => $poll_expires_d,
'POLL_EXPIRES' => ($poll_expire_6.$poll_expire_7.$poll_expire_8),
'TOTAL_VOTES' => $total_votes_2)
#
#-----[ FIND ]---------------------------------------------
#
'pollbox' => 'viewtopic_poll_ballot.tpl')
);
#
#-----[ AFTER, ADD ]---------------------------------------------
#
if ( $max_vote > 1 )
{
$vote_box = 'checkbox';
}
else $vote_box = 'radio';
#
#-----[ FIND ]---------------------------------------------
#
'POLL_OPTION_ID' => $vote_info[$i]['vote_option_id'],
#
#-----[ BEFORE, ADD ]---------------------------------------------
#
'POLL_VOTE_BOX' => $vote_box,
#
#-----[ FIND ]---------------------------------------------
#
$s_hidden_fields = '<input type="hidden" name="topic_id" value="' . $topic_id . '" /><input type="hidden" name="mode" value="vote" />';
}
#
#-----[ AFTER, ADD ]---------------------------------------------
#
if ( ( $max_vote > 1 ) && ( $max_vote < $vote_options ) )
{
$vote_br = '<br/>';
$max_vote_nb = $max_vote;
}
else
{
$vote_br = '';
$lang['Max_voting_1_explain'] = '';
$lang['Max_voting_2_explain'] = '';
$lang['Max_voting_3_explain'] = '';
$max_vote_nb = '';
}
#
#-----[ FIND ]---------------------------------------------
#
'POLL_QUESTION' => $vote_title,
#
#-----[ AFTER, ADD ]---------------------------------------------
#
'POLL_VOTE_BR' => $vote_br,
'MAX_VOTING_1_EXPLAIN' => $lang['Max_voting_1_explain'],
'MAX_VOTING_2_EXPLAIN' => $lang['Max_voting_2_explain'],
'MAX_VOTING_3_EXPLAIN' => $lang['Max_voting_3_explain'],
'max_vote' => $max_vote_nb,
'voted_vote' => $voted_vote_nb,
#
#-----[ OPEN ]---------------------------------------------
#
includes/functions_post.php
#
#-----[ FIND ]---------------------------------------------
#
function prepare_post(&$mode, &$post_data, &$bbcode_on, &$html_on, &$smilies_on, &$error_msg, &$username, &$bbcode_uid, &$subject, &$message, &$poll_title, &$poll_options, &$poll_length)
#
#-----[ IN-LINE FIND ]---------------------------------------------
#
&$poll_length
#
#-----[ IN-LINE AFTER, ADD ]---------------------------------------------
#
, &$max_vote, &$hide_vote, &$tothide_vote
#
#-----[ FIND ]---------------------------------------------
#
$poll_length = (isset($poll_length)) ? max(0, intval($poll_length)) : 0;
#
#-----[ REPLACE WITH ]---------------------------------------------
#
$poll_length = (isset($poll_length)) ? max(0, ($poll_length+$poll_length_h/24)) : 0;
$$max_vote = (isset($max_vote)) ? max(0, intval($max_vote)) : 0;
$$hide_vote = (isset($hide_vote)) ? max(0, intval($hide_vote)) : 0;
$$tothide_vote = (isset($tothide_vote)) ? max(0, intval($tothide_vote)) : 0;
#
#-----[ FIND ]---------------------------------------------
#
function submit_post($mode, &$post_data, &$message, &$meta, &$forum_id, &$topic_id, &$post_id, &$poll_id, &$topic_type, &$bbcode_on, &$html_on, &$smilies_on, &$attach_sig, &$bbcode_uid, &$post_username, &$post_subject, &$post_message, &$poll_title, &$poll_options, &$poll_length)
#
#-----[ IN-LINE FIND ]---------------------------------------------
#
&$poll_length
#
#-----[ IN-LINE AFTER, ADD ]---------------------------------------------
#
, &$max_vote, &$hide_vote, &$tothide_vote
#
#-----[ FIND ]---------------------------------------------
#
$sql = (!$post_data['has_poll']) ? "INSERT INTO " . VOTE_DESC_TABLE . " (topic_id, vote_text, vote_start, vote_length) VALUES ($topic_id, '$poll_title', $current_time, " . ($poll_length * 86400) . ")" : "UPDATE " . VOTE_DESC_TABLE . " SET vote_text = '$poll_title', vote_length = " . ($poll_length * 86400) . " WHERE topic_id = $topic_id";
#
#-----[ IN-LINE FIND ]---------------------------------------------
#
vote_length
#
#-----[ IN-LINE AFTER, ADD ]---------------------------------------------
#
, vote_max, vote_hide, vote_tothide
#
#-----[ IN-LINE FIND ]---------------------------------------------
#
$current_time, " . ($poll_length * 86400) . "
#
#-----[ IN-LINE AFTER, ADD ]---------------------------------------------
#
, '$max_vote', '$hide_vote', '$tothide_vote'
#
#-----[ IN-LINE FIND ]---------------------------------------------
#
vote_length = " . ($poll_length * 86400) . "
#
#-----[ IN-LINE AFTER, ADD ]---------------------------------------------
#
, vote_max = '$max_vote', vote_hide = '$hide_vote', vote_tothide = '$tothide_vote'
#
#-----[ OPEN ]---------------------------------------------
#
language/lang_english/lang_main.php
#
#-----[ FIND ]---------------------------------------------
#
$lang['Total_votes'] = 'Total Votes';
#
#-----[ REPLACE WITH ]---------------------------------------------
#
$lang['Total_votes'] = 'Total Votes : ';
$lang['Voted_show'] = 'Voted : '; // it means : users that voted (the number of voters will follow)
$lang['Results_after'] = 'Results will be visible after the poll expires';
$lang['Poll_expires'] = 'Poll expires in ';
$lang['Poll_expiredyes'] = '- Poll expired -';
$lang['Poll_noexpire'] = 'This poll does not expire';
$lang['Minutes'] = 'Minutes';
#
#-----[ FIND ]---------------------------------------------
#
$lang['Delete_poll'] = 'Delete Poll';
#
#-----[ AFTER, ADD ]---------------------------------------------
#
$lang['Max_vote'] = 'Maximum selections';
$lang['Max_vote_explain'] = '[ Enter 1 or leave blank to allow only one selection ]';
$lang['Max_voting_1_explain'] = 'Please select only ';
$lang['Max_voting_2_explain'] = ' answers';
$lang['Max_voting_3_explain'] = ' (selections above limit will be ignored)';
$lang['Vhide'] = 'Hide';
$lang['Hide_vote'] = 'Results';
$lang['Tothide_vote'] = 'Sum of votes';
$lang['Hide_vote_explain'] = '[ Hide until poll expires ]';
#
#-----[ OPEN ]---------------------------------------------
#
templates/subSilver/posting_poll_body.tpl
#
#-----[ FIND ]---------------------------------------------
#
<tr>
<td class="row1"><span class="gen"><b>{L_POLL_OPTION}</b></span></td>
<td class="row2"><span class="genmed"><input type="text" name="add_poll_option_text" size="50" maxlength="255" class="post" value="{ADD_POLL_OPTION}" /></span> <input type="submit" name="add_poll_option" value="{L_ADD_OPTION}" class="liteoption" /></td>
</tr>
#
#-----[ AFTER, ADD ]---------------------------------------------
#
<tr>
<td class="row1"><span class="gen"><b>{L_MAX_VOTE}</b></span></td>
<td class="row2"><span class="genmed"><input type="text" name="max_vote" size="3" maxlength="3" class="post" value="{MAX_VOTE}" /></span> <span class="gen"><b>{L_OPTIONS}</b></span> <span class="gensmall">{L_MAX_VOTE_EXPLAIN}</span></td>
</tr>
#
#-----[ FIND ]---------------------------------------------
#
<td class="row2"><span class="genmed"><input type="text" name="poll_length" size="3" maxlength="3" class="post" value="{POLL_LENGTH}" /></span> <span class="gen"><b>{L_DAYS}</b></span> <span class="gensmall">{L_POLL_LENGTH_EXPLAIN}</span></td>
</tr>
#
#-----[ REPLACE WITH ]---------------------------------------------
#
<td class="row2">
<span class="genmed"><input type="text" name="poll_length" size="3" maxlength="3" class="post" value="{POLL_LENGTH}" /></span> <span class="gen"><b>{L_DAYS}</b></span>
<span class="genmed"><input type="text" name="poll_length_h" size="3" maxlength="3" class="post" value="{POLL_LENGTH_H}" /></span> <span class="gen"><b>{L_HOURS}</b></span> <span class="gensmall">{L_POLL_LENGTH_EXPLAIN}</span></td>
</tr>
<tr>
<td class="row1"><span class="gen"><b>{L_VHIDE}</b></span></td>
<td class="row2"><input type="checkbox" name="hide_vote" {HIDE_VOTE} /> <span class="gen"><b>{L_HIDE_VOTE} </b>( </span><input type="checkbox" name="tothide_vote" {TOTHIDE_VOTE} /> <span class="gen"><b>{L_TOTHIDE_VOTE}</b> )</span> <span class="gensmall">{L_HIDE_VOTE_EXPLAIN}</span></td>
</tr>
#
#-----[ OPEN ]---------------------------------------------
#
templates/subSilver/viewtopic_poll_ballot.tpl
#
#-----[ FIND ]---------------------------------------------
#
<tr>
<td class="row2" colspan="2"><br clear="all" /><form method="POST" action="{S_POLL_ACTION}"><table cellspacing="0" cellpadding="4" border="0" align="center">
#
#-----[ AFTER, ADD ]---------------------------------------------
#
<tr>
<td align="center"><span class="gen" style="color: red"><b>{MAX_VOTING_1_EXPLAIN}{max_vote}{MAX_VOTING_2_EXPLAIN}{POLL_VOTE_BR}</b></span><span class="gen" style="color: darkred">{MAX_VOTING_3_EXPLAIN}{POLL_VOTE_BR}{POLL_VOTE_BR}</span></td>
</tr>
#
#-----[ FIND ]---------------------------------------------
#
<td><input type="radio" name="vote_id" value="{poll_option.POLL_OPTION_ID}" /> </td>
#
#-----[ REPLACE WITH ]---------------------------------------------
#
<td><input type="{poll_option.POLL_VOTE_BOX}" name="vote_id[]" value="{poll_option.POLL_OPTION_ID}" /> </td>
#
#-----[ OPEN ]---------------------------------------------
#
templates/subSilver/viewtopic_poll_result.tpl
#
#-----[ FIND ]---------------------------------------------
#
<tr>
<td colspan="4" align="center"><span class="gen"><b>{L_TOTAL_VOTES} : {TOTAL_VOTES}</b></span></td>
</tr>
#
#-----[ REPLACE WITH ]---------------------------------------------
#
<tr>
<td colspan="4" align="center"><span class="gen"><b>{VOTED_SHOW}{voted_vote}</b></span></td>
</tr>
<tr>
<td colspan="4" align="center"><span class="gen"><b>{L_TOTAL_VOTES}{TOTAL_VOTES}</b></span></td>
</tr>
<tr>
<td colspan="4" align="center"><span class="gensmall">{L_RESULTS_AFTER}</span></td>
</tr>
<tr>
<td colspan="4" align="center"><span class="gensmall">{L_POLL_EXPIRES}{POLL_EXPIRES}</span></td>
</tr>
#
#-----[ SAVE/CLOSE ALL FILES ]---------------------------------------------
#
# EoM