<div class="content vote">
<form id="voteform" name="voteform">
<#if test="${notequals(cint(vote.id), 0)}">
<h4>${vote.title}</h4>
<div class="hr bk6"><hr></div>
<#if test="${notequals(vote.item.count, 0)}">
<#foreach collection="${vote.item}" var="field" index="i">
<#if test="${equals(cint(vote.type), 1)}">
<label><input type="checkbox" name="vote" value="${i}" />${field.itemtext}</label>
<#else>
<label><input type="radio" name="vote" value="${i}" />${field.itemtext}</label>
<#/if>
<#/foreach>
<#/if>
<div class="btn"><input type="button" value="提交" onclick="ajaxPluginVoteAdd(${vote.id},${vote.type},this)"></div><a href="/extends/vote/default.aspx?id=${vote.id}">[查看结果]</a>
<#/if>
</form>
</div>
