📄 pollresults.tpl
字号:
{strip}
<table width="100%" border="0" cellpadding="0" cellspacing="0" >
<tr>
<td class="module_detail" width="100%">
{assign var="page_hdr01_text" value="{lang mkey='results_poll_title'}"}
{include file="page_hdr01.tpl"}
<table width="100%" border="0" cellpadding="{$config.cellspacing}" cellspacing="{$config.cellpadding}">
<tr>
<td width="100%" height="25">
<table width="100%" border="0" cellpadding="3" cellspacing="1" >
<tr>
<td align="center" class='edituserlink'>
<a href="polllist.php" class='edituserlink'>
<span>{lang mkey='section_poll_list'}</span>
</a>
</td>
<td align="center" class='edituserlink'>
<a href="addpoll.php" class='edituserlink'>
<span>{lang mkey='section_add_poll'}</span>
</a>
</td>
</tr>
</table>
<table width="550" border="0" cellpadding="0" cellspacing="0" >
<tr>
<td class="module_detail_inside" width="100%">
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td class="module_head" width="6"></td>
<td class="module_head" width="516">
{lang mkey='poll_subtitle_results'}
</td>
<td width="28"><img src="{$image_dir}blue_hor2.jpg" width="28" height="23" alt="" /></td>
</tr>
</table>
<table width="100%" border="0" cellspacing="{$config.cellspacing}" cellpadding="{$config.cellpadding}">
<tr>
<td width="100%">
<table width="100%" border="0" cellspacing="{$config.cellspacing}" cellpadding="{$config.cellpadding}">
<tr>
<td colspan="2"><b>{lang mkey='poll_question'}</b>: {$question.question}</td>
</tr>
<tr>
<td><br /></td>
<td></td>
</tr>
<tr>
<td><b>Answer</b></td>
<td><b>Votes</b></td>
</tr>
{assign var="mcount" value="0"}
{foreach item=item key=key from=$answer}
{math equation="$mcount+1" assign="mcount"}
<tr class="{cycle values="oddrow,evenrow"}">
<td>{$item.answeroption}</td>
<td>{$item.votes}</td>
</tr>
{/foreach}
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
<br />
{/strip}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -