判断是否显示分页
判断超过1页时再显示分页:{if $pagebar && $pagebar.PageAll > 1} <div class="pagebar"…
判断超过1页时再显示分页:
{if $pagebar && $pagebar.PageAll > 1}
<div class="pagebar">
{template:pagebar}
</div>
{/if}判断超过1页时再显示分页:{if $pagebar && $pagebar.PageAll > 1} <div class="pagebar"…
判断超过1页时再显示分页:
{if $pagebar && $pagebar.PageAll > 1}
<div class="pagebar">
{template:pagebar}
</div>
{/if}获取主题/插件的xml信息:$app = new App; $app->LoadInfoByXml('theme', '主题ID');//这里是挂载主题的xml信息 //$app->LoadInfoByXml(&…
遗忘管理员密码解决方法,在根目录创建php文件访问:<?php require 'zb_system/function/c_system_base.php'; $uid = 1; //这里为管理员用户ID; SetLog…
挂接口:Add_Filter_Plugin('Filter_Plugin_ViewList_Core','appid_Filter_Plugin_ViewList_Core'); function appid_Filter_Plugin_ViewList_…
通过接口干扰文章详情日期显示为当前时间:挂接口://Add_Filter_Plugin('Filter_Plugin_ViewPost_Template', 'AppID_Today'); function AppID_Today(&$t…
通过接口干扰文章详情日期显示为当前时间:
挂接口:
//Add_Filter_Plugin('Filter_Plugin_ViewPost_Template', 'AppID_Today');
function AppID_Today(&$template)
{
global $zbp;
$article = $template->GetTags('article');
$article->PostTime = time();
}