<?exit?>
<div id="pollwrap"  class="mt5 mb15" >
<form action="{ART_URL}wskm.php?act=pollpost" method="POST" >
<input type="hidden" name="aid" value="{$aid}" />
<table width="100%" >
<tr>
	<td colspan="3"><span class="pollinfo" >{lang poll_count}:{$others[poll][hits]}{if $others[poll][expire]},{lang poll_endtime}:{$others[poll][expire]|time:Y-m-d}{/if}(<b>{if $others[poll][ismore]}{lang poll_moreselect}{else}{lang poll_singleselect}{/if}</b>)</span></td>
</tr>
<tr class="pollsp" ><td colspan="3"></td></tr>

{loop $others[options] $option}
<tr>
	<td colspan="2">{if !$others[poll][isput] && !$others[poll][isexpire]}<input type="{$others[poll][inputtype]}" value="{$option[optionid]}" name="polloptions[]"/>{/if}<label for="poptionid{$option[optionid]}">{$option[name]}</label></td>
	<td></td>
</tr>
<tr > 
	<td width="20"></td>
	<td >    
	<div class="pollratiobar barbg" >
	<div class="pollratiobar" id="pollbar{$option[optionid]}" style="width:{$option[width]};"></div>
	</div>
	<script type="text/javascript">
		dom('pollbar{$option[optionid]}').style.backgroundColor=randDeepColor();
	</script>
	</td>
	<td class="pollratioinfo" >
		&nbsp;&nbsp;{$option[ratio]}%&nbsp;/&nbsp;{$option[total]}
	</td>
</tr>
<tr class="pollsp" ><td colspan="3"></td></tr>
{/loop}

<tr>
<td colspan="3" align="left" >{if $others[poll][isput]}{lang poll_err_alreadyput}{elseif $others[poll][isexpire]}{lang poll_err_expire}{else}<input type="submit" name="pollpostgo" value="{lang poll}" />{/if}</td>
</tr>


</table>
</form>
</div>
