submit.html 661 B

12345678910111213141516
  1. <form style="border: medium none;" id="voteform{$id}" method="post" action="{APP_PATH}index.php?m=vote&c=index&a=post&subjectid={$id}">
  2. <dl>
  3. <dt>{$subject}</dt>
  4. </dl>
  5. <dl>
  6. {loop $options $r}
  7. {$i++}
  8. <dd>
  9. &nbsp;&nbsp;<input type={if $ischeckbox=='0'}"radio"{else}"checkbox"{/if} name="radio[]" id="radio" value="{$r['optionid']}" {$check_status}/>
  10. {$r['option']}
  11. </dd>
  12. {/loop}
  13. <input type="hidden" name="voteid" value="{$id}">
  14. </dl>
  15. <p> &nbsp;&nbsp; <input type="submit" value="提交" name="dosubmit" style="{$display}" /> &nbsp;&nbsp; <a href="{APP_PATH}/index.php?m=vote&c=index&a=result&id={$id}" target="_blank">查看结果</a> </p>
  16. </form>