在数据库中找到 xxx_polloptions表。内里列出的就是你的投票选项。 个中:tid 是该投票贴的id votes 是投票总数 polloption 是投票选项title voterids 参加投票人的id 假如嫌一个一个打voterids数值较量贫困 可以找到论坛根目次下的forumdata/templates/1_1_viewthread_poll.tpl.php文件。将个中的代码删掉即可(还得确定你写的id是否正确。不然页面上的总统计人数照旧和votes 总投票数不切合):
<div class="pollinfo"> <? if($multiple) { ?><strong>多选投票</strong><? if($maxchoices) { ?>: ( 最多可选 <?=$maxchoices?> 项 )<? } } else { ?><strong>单选投票</strong><? } if($visiblepoll && $allowvote) { ?>,投票后功效可见<? } ?>,共有 <?=$voterscount?> 人参加投票 <? if(!$visiblepoll && ($overt || $adminid == 1)) { ?> <a href="misc.php?action=viewvote&tid=<?=$tid?>" onclick="showWindow('viewvote',this.href);doane(event);">查察投票参加人</a> <? } ?> </div>
增补: 其它将模板下面的viewthread_poll.htm一段代码删掉: <div class="pollinfo"> <!--{if $multiple}--><strong>{lang poll_multiple}{lang thread_poll}</strong><!--{if $maxchoices}-->: ( {lang poll_more_than} )<!--{/if}--><!--{else}--><strong>{lang poll_single}{lang thread_poll}</strong><!--{/if}--><!--{if $visiblepoll && $allowvote}-->,{lang poll_after_result}<!--{/if}-->,{lang poll_voterscount} <!--{if !$visiblepoll && ($overt || $adminid == 1)}--> <a href="misc.php?action=viewvote&tid=$tid" onclick="showWindow('viewvote',this.href);doane(event);">{lang poll_view_voters}</a> <!--{/if}--> </div>
(编辑:湖南网)
【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!
|