Server : nginx/1.22.1 System : Linux iZwz9daxib3w3i063fw434Z 3.10.0-1127.19.1.el7.x86_64 #1 SMP Tue Aug 25 17:23:54 UTC 2020 x86_64 User : www ( 1000) PHP Version : 5.6.40 Disable Function : passthru,exec,system,putenv,chroot,chgrp,chown,shell_exec,popen,proc_open,pcntl_exec,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru,pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,imap_open,apache_setenv Directory : /www/wwwroot/www.jkmold.com/phpcms/templates/default/vote/ |
{template "content","header"} <link href="{CSS_PATH}vote.css" rel="stylesheet" type="text/css" /> <!--main--> <div class="main tps"> <div class="crumbs"><a href="{siteurl($siteid)}">首页</a><span> > </span> <a href="{APP_PATH}index.php?m=vote&c=index&a=lists&siteid={$siteid}">投票</a> </div> <div class="vote_result"> <div class="tit"><span class="r">总票数:<strong>{$vote_data['total']}</strong></span><h5>{$subject}</h5></div> <div class="c_box wrap"> <table width="100%" border="1" cellspacing="0" cellpadding="0"> {loop $options $r} {$i++} {if $vote_data['total']==0 } {php $per=0;} {else} {php $per=intval($vote_data[$r['optionid']]/$vote_data['total']*100);} {/if} <tr> <th>{$i}</th> <td class="tp_tit">{$r['option']}</td> <td class="tdcol3">{$per} %</td> <td><div><img src="statics/images/vote/tit_cs.jpg" width="{$per}%" /></div></td> <td class="tdcol3">{php echo $vote_data[$r['optionid']]==''? 0:$vote_data[$r['optionid']]} 票</td> </tr> {/loop} </table> </div> </div> <div class="vote_listt"> <div class="tit"><span class="r"><a href="{APP_PATH}index.php?m=vote&c=index&a=lists&siteid={$siteid}">查看更多>></a></span><h5>其他投票</h5></div> <ul class="wrap licol2 icon3j"> {pc:vote action="other_vote" catid="$catid" num="8" order="subjectid DESC"} {loop $data $r} <li><a title="{$r['subject']}" href="{APP_PATH}index.php?m=vote&c=index&a=show&show_type=1&subjectid={$r['subjectid']}&siteid={$siteid}">{$r['subject']}</a><span><font color="#1E50A0">(得票数: {$r['votenumber']})</font></span></li> {/loop} {/pc} </ul> </div> </div> {template "content","footer"}