Seacms首页显示分页

<div class="pages">
    <em>1</em><a href='/list/?0-2.html'>2</a><a href='/list/?0-3.html'>3</a><a href='/list/?0-4.html'>4</a><a href='/list/?0-5.html'>5</a><a href='/list/?0-6.html'>6</a><a href='/list/?0-7.html'>7</a><a href='/list/?0-8.html'>8</a><a href='/list/?0-2.html'>下一页</a>
</div>

编辑 /list/index.php 文件,将

if($tid==0){
    showmsg('参数丢失,请返回!', -1);
    exit;
}

if (strpos(" ,".getHideTypeIDS().",",",".$typeId.",")>0) exit("<font color='red'>视频列表为空或被隐藏</font><br>");
    if ($cfg_user == 1){
        if (!getUserAuth($typeId, "list")){exit("<font color='red'>您没有权限浏览此内容!</font><script>function JumpUrl(){history.go(-1);}setTimeout('JumpUrl()',1000);</script>");}
    }

注释掉即可。

标签:文件, 分页, seacms, 首页

仅有一条评论

  1. 看看怎么设置

添加新评论