📄 viewresult.tpl
字号:
{strip}
{include file="popheader.tpl"}
<table width="100%" border="0" cellpadding="0" cellspacing="0" >
<tr>
<td class="module_detail_inside" width="100%">
{assign var="page_hdr01_text" value="{lang mkey='poll_result'}"}
{include file="page_hdr01.tpl"}
<br />
<center>
<table width="100%" border="0" cellpadding="0" cellspacing="0" >
<tr>
<td class="module_detail_inside" width="100%">
{assign var="page_hdr02_text" value=$question|stripslashes}
{include file="page_hdr02.tpl"}
{if $err == 1 }
<center>
<p>
<font color='red'>{lang mkey='poll_errmsg1'}</font>
</p>
</center>
{/if}
<table width="100%" cellspacing="{$config.cellspacing}" cellpadding="{$config.cellpadding}" border="0">
{foreach item=row from=$data}
<tr>
<td valign="top"><b>{$row.opt|stripslashes}</b></td>
<td valign="top">
{if $row.numw > 0}
<img src="{$image_dir}{$row.c}.gif" height="18" width="{$row.numw}" alt="" />
{$row.numw}%</td>
{else}
{math equation="ceil(x)" x=$row.numw}%</td>
{/if}
<td align="right" valign="top"><b>{$row.result} {lang mkey='votes'}</b></td>
</tr>
{/foreach}
<tr>
<td colspan="3" align="right"><b>Total: {$numtotal} {lang mkey='votes'}</b></td>
</tr>
</table>
<tr>
<td colspan="3">
<table class="table" width="100%" cellspacing="{$config.cellspacing}" cellpadding="{$config.cellpadding}" align='center'>
<tr>
<td>
{lang mkey='poll_msg'}
</td>
</tr>
</table>
</td>
</tr>
<tr><td colspan="3" height="10"></td></tr>
{if $config.use_popups == 'Y'}
<tr><td colspan="3" align="center"><a href="javascript: window.close()" class="closelink">{lang mkey='close'}</a></td></tr>
{/if}
</table>
</td>
</tr>
</table>
</center>
<br />
</td>
</tr>
</table>
{include file="popfooter.tpl"}
{/strip}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -