<?php die;?><html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="Content-Language" content="zh-cn" />
<title><!--{$smarty.const.MICE_TITLE}--></title>
<base href="<!--{$smarty.const.MICE_URL}--><!--{$smarty.const.MICE_TPL}-->/admin/" />
<link href="css/Default.css" rel="stylesheet" type="text/css" />
<link href="css/fieldset.css" rel="stylesheet" type="text/css">
<script language="JavaScript">
var baseurl = '<!--{$smarty.const.MICE_URL}--><!--{$smarty.const.MICE_TPL}-->/admin/';
</script>
<script type="text/javascript" src="js/Main.js"></script>
</head>

<body>
<table width="100%" border="0" cellspacing="6" cellpadding="0" style="border-collapse: separate; border-spacing: 6px;">
      <tr valign="top">
        <td>
		<table width="100%" border="0" cellspacing="0" cellpadding="0" class="blockTable">
            <tr>
			  <td width="100%" style="padding:6px 10px;" class="blockTd">&nbsp;</td>
            </tr>
			<tr>
              <td style="padding-top:0px;padding-left:6px;padding-right:6px;padding-bottom:8px;">
<!--内容开始-->
<table width="99%" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td width="860" align="center" valign="top"><table width="100%" border="0" cellpadding="0" cellspacing="1" bgcolor="#D5D5D5">
      <tr>
        <td height="28" bgcolor="#F9F9F9">&nbsp;<B>投票标签</B></td>
      </tr>
      <tr>
        <td height="28" bgcolor="#FFFFFF"><table width="100%" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td height="28" class="bottomline" width="200" valign="top">&nbsp;投票框标签</td>
    <td height="28" class="bottomline">
	&ltform action="&lt!--{$smarty.const.MICE_URL}-->index.php/poll" method="post" name="formpoll" id="formpoll"><br>
	&lt!--{'micefun'|PollTitle:1}-->：获得投票id=1的投票标题<br>
	&ltinput type="hidden" name="pollid" id="pollid" value="1">：投票id=1<br>
	&lt!--{assign var=checks value='micefun'|PollChecks:1}-->：获得投票id=1的可选投票的选项数,值为radio或checkbox<br>
	&lt!--{foreach from='micefun'|PollList:1:0:5 item=poll name=counter}-->：获得投票id=1的选项列表，0表示从第1条开始,5表示显示5条<br>
	&ltinput type="&lt!--{$checks}-->" name="poll[&lt!--{$poll->getPollId()}-->]" id="poll[&lt!--{$poll->getPollId()}-->]" value="&lt!--{$poll->getPollId()}-->" &lt!--{if $poll->getIsdefault()==0}-->checked&lt!--{/if}-->/>&lt!--{$poll->getTitle()}--><br>
	&lt!--{/foreach}--><br>
	&ltinput class="submit" type="submit" value="投票" /><br>
	&lta href="&lt!--{$smarty.const.MICE_URL}-->index.php/Pollresults/1">查看结果&lt/a>：查看投票id=1的投票结果<br>
	&lt/form>
	</td>
  </tr>
  <tr>
    <td height="28" class="bottomline" width="200">&nbsp;</td>
    <td height="28" class="bottomline">
	<b>适用范围：</b>所有模板都可使用<br>
	可参考pollresults.php模板
	</td>
  </tr>
  <tr>
    <td height="28" class="bottomline" width="200" valign="top">&nbsp;投票结果页面标签</td>
    <td height="28" class="bottomline">
	&lt!--{$PollCategoryRS->getTitle()}--></b>(共&lt!--{$PollCategoryRS->getNum()}-->票):投票名称和投票总票数<br>
	&lt!--{foreach from='micefun'|PollList:$PollID:0:5 item=poll name=counter}-->：获得投票选项列表，0表示从第1条开始,5表示显示5条<br>
	&lt!--{$smarty.foreach.counter.iteration}-->、&lt!--{$poll->getTitle()}-->&lt!--{'micefun'|MiceDivisible:$poll->getNum():$PollCategoryRS->getNum()}-->%(&lt!--{$poll->getNum()}-->票)：分别是投票选项序号，投票选项标题，该投票选项占总选项数的百分比，该投票选择获得的投票数<br>
	&lt!--{/foreach}-->
	</td>
  </tr>
  <tr>
    <td height="28" class="bottomline" width="200">&nbsp;</td>
    <td height="28" class="bottomline">
	<b>适用范围：</b>pollresults.php页面<br>
	可参考pollresults.php模板 
	</td>
  </tr>


  


</table>
	</td>
   </tr>
</table>
<!--内容结束-->
		</td>
		</tr>
	</table></td>
  </tr>
</table>
</body>
</html>
