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/content/ |
{template "content","header"} <!--main--> <div class="main"> <div class="col-left channel-hot"> <div class="news-hot"> <div class="icon"></div> <div class="content"> {pc:content action="position" posid="10" catid="$catid" thumb="1" order="listorder DESC" num="2"} {loop $data $v} <h4 class="blue"><a href="{$v[url]}" target="_blank"{title_style($v[style])}>{$v[title]}</a></h4> <p><img src="{thumb($v[thumb],90,60)}" width="90" height="60" />{str_cut(strip_tags($v[description]), 150)}</p> <div class="bk20 hr"><hr /></div> {/loop} {/pc} {pc:content action="lists" catid="$catid" order="id DESC" num="3"} <ul class="list"> {loop $data $k $v} <li>·<a href="{$v[url]}" title="{$v[title]}" target="_blank"{title_style($v[style])}>{str_cut($v[title], 60)}</a></li> {/loop} </ul> {/pc} </div> </div> </div> <div class="col-auto channel-slide"> {pc:content action="lists" catid="$catid" order="listorder ASC" thumb="1" num="5"} <ul class="thumb"> {loop $data $k $v} <li {if $n==1}class="on" style="margin:0"{/if}><a href="{$v[url]}"><img src="{thumb($v[thumb], 82, 50)}" alt="{$v[title]}" width="82" height="50" /><div class="icon"></div></a></li> {/loop} </ul> <div class="col-auto"> <ul class="photo"> {loop $data $k $v} <li><a href="{$v[url]}" title="{$v[title]}"><img src="{thumb($v[thumb], 398, 234)}" width="398" height="234" alt="{$v[title]}" /></a></li> {/loop} </ul> <div class="title"> {loop $data $k $v} <p {if $n==1}style="display:block"{/if}><strong><a href="{$v[url]}" title="{$v[title]}" class="blue"{title_style($v[style])}>{str_cut($v[title], 36)}</a></strong><br />{str_cut(strip_tags($v[description]), 62)}</p> {/loop} </div> </div> {/pc} </div> <!--下面这部分代码是广告代码,可通过删除注释的方法显示出来--> <!-- <div class="ads"> <div class="col-left"><script language="javascript" src="{APP_PATH}caches/poster_js/4.js"></script></div> <div class="col-auto"> <div class="left">推广链接</div> <div class="right">这里放广告</div> </div> </div> --> <div class="bk10"></div> <div class="col-left"> {php $j=1;} {loop subcat($catid) $v} {php if($v['type']!=0) continue;} <div class="box cat-area" {if $j%2==1}style="margin-right:10px"{/if}> <h5 class="title-1">{$v[catname]}<a href="{$v[url]}" class="more">更多>></a></h5> <div class="content"> {pc:content action="lists" catid="$v[catid]" thumb="1" num="1" order="id DESC"} <p> {loop $data $v} <a href="{$v[url]}" target="_blank"><img src="{thumb($v[thumb],70,60)}" width="70" height="60"/></a> <strong><a href="{$v[url]}" target="_blank" title="{$v[title]}"{title_style($v[style])}>{str_cut($v[title], 30)}</a></strong><br />{str_cut($v[description],116,'..')} {/loop} </p> {/pc} <div class="bk15 hr"></div> <ul class="list lh24 f14"> {pc:content action="lists" catid="$v[catid]" num="5" order="id DESC"} {loop $data $v} <li><a href="{$v[url]}" target="_blank"{title_style($v[style])}>{$v[title]}</a></li> {/loop} {/pc} </ul> </div> </div> {if $j%2==0}<div class="bk10"></div>{/if} {$j++} {/loop} </div> <div class="col-auto"> <div class="box"> <h5 class="title-2">频道总排行</h5> <ul class="content digg"> {pc:content action="hits" catid="$catid" num="10" order="views DESC" cache="3600"} {loop $data $v} <li><a href="{$v[url]}" target="_blank"{title_style($v[style])}>{$v[title]}</a></li> {/loop} {/pc} </ul> </div> <div class="bk10"></div> <div class="box"> <h5 class="title-2">频道本月排行</h5> <ul class="content rank"> {pc:content action="hits" catid="$catid" num="8" order="monthviews DESC" cache="3600"} {loop $data $v} <li><span>{number_format($v[monthviews])}</span><a href="{$v[url]}"{title_style($v[style])} class="title" title="{$v[title]}">{str_cut($v[title],56,'...')}</a></li> {/loop} {/pc} </ul> </div> </div> </div> <script type="text/javascript"> function ChannelSlide(Name,Class){ $(Name+' ul.photo li').sGallery({ titleObj:Name+' div.title p', thumbObj:Name+' .thumb li', thumbNowClass:Class }); } new ChannelSlide(".channel-slide","on",311,260); </script> {template "content","footer"}