HEX
Server: nginx/1.28.1
System: Linux 10-41-63-61 6.8.0-31-generic #31-Ubuntu SMP PREEMPT_DYNAMIC Sat Apr 20 00:40:06 UTC 2024 x86_64
User: www (1001)
PHP: 7.4.33
Disabled: 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
Upload Files
File: /www/wwwroot/cs.wgegeghx.com/templates/default/index/sider.html
<style>
 .article-hot-l {
    padding: 25px 20px;
    margin-bottom: 20px;
    border-radius: 8px;
	background: white;
	width: 100%;
}
.content-title {
    font-size: 18px;
    line-height: 40px;
	height:45px;
	border:0;
	background:none;
	padding-left:0;
    color: #333;
    display: inline-block;
    font-weight: 700;
}
.article-hot-l ul li {
    height: 20px;
    line-height: 20px;
    margin-top: 20px;
}
.article-hot-l ul li .top {
    background: #ff700a;
}
.article-hot-l ul li em {
    float: left;
    width: 25px;
    height: 20px;
    line-height: 20px;
    text-align: center;
    background: #ddd;
    font-size: 13px;
    color: #fff;
    border-radius: 3px;
    margin-right: 10px;
}
.article-hot-l ul li a {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    display: block;
    font-size: 14px;
}
.content-left{
  background:#f6f6f6;
}

.article-hot-l li:nth-child(1) em{
   background:#ff700a;
}
.article-hot-l li:nth-child(2) em{
   background:#ff842c;
}
.article-hot-l li:nth-child(3) em{
   background:#ffb885;
}

</style>
<div class="content-left">
    
    <div class="article-hot-l">
		<h2 class="content-title">
		编辑推荐
		</h2>
	   <ul>
        {yzn module="cms" action="lists" flag='4' catid="19" cache="3600" order="listorder ASC" num="8" return="data"}
        {volist name="data" id="vo" key='index'}
          <li>
		    <em>{$index}</em>
		    <a href="/news/{$vo.id}" class="transition">{$vo.title}</a>
		  </li>
        {/volist}
        {/yzn}
	   </ul>
    </div>
    
	<div class="article-hot-l" >
		<h2 class="content-title">
		热门文章
		</h2>
	   <ul>
        {yzn module="cms" action="lists" catid="19" cache="3600" order="hits desc" num="8" return="data"}
        {volist name="data" id="vo" key='index'}
          <li><em>{$index}</em>
		    <a href="/news/{$vo.id}" class="transition">{$vo.title}</a>
		  </li>
        {/volist}
        {/yzn}
	   </ul>
    </div>
</div>