$this->templateTags['zbp'] = &$zbp; $this->templateTags['user'] = &$zbp->user; $this->templateTags['option'] = &$option; $this->templateTags['lang'] = &$zbp->lang; $this->templateTags['langs'] = &$zbp->langs; $this->templateTags['version'] = &$zbp->version; $this->templateTags['categorys'] = &$zbp->categories; $this->templateTags['categories'] = &$zbp->categories; $this->templateTags['categorysbyorder'] = &$zbp->categoriesbyorder; $this->templateTags['categoriesbyorder'] = &$zbp->categoriesbyorder; $this->templateTags['modules'] = &$zbp->modulesbyfilename; $this->templateTags['title'] = htmlspecialchars($zbp->title); $this->templateTags['host'] = &$zbp->host; $this->templateTags['path'] = &$zbp->path; $this->templateTags['cookiespath'] = &$zbp->cookiespath; $this->templateTags['name'] = htmlspecialchars($zbp->name); $this->templateTags['subname'] = htmlspecialchars($zbp->subname); $this->templateTags['theme'] = &$zbp->theme; $this->templateTags['themeinfo'] = &$zbp->themeinfo; $this->templateTags['style'] = &$zbp->style; $this->templateTags['language'] = $zbp->option['ZC_BLOG_LANGUAGE']; $this->templateTags['copyright'] = $zbp->option['ZC_BLOG_COPYRIGHT']; $this->templateTags['zblogphp'] = $zbp->option['ZC_BLOG_PRODUCT_FULL']; $this->templateTags['zblogphphtml'] = $zbp->option['ZC_BLOG_PRODUCT_FULLHTML']; $this->templateTags['zblogphpabbrhtml'] = $zbp->option['ZC_BLOG_PRODUCT_HTML']; $this->templateTags['type'] = ''; $this->templateTags['page'] = ''; $this->templateTags['socialcomment'] = &$zbp->socialcomment; $this->templateTags['header'] = &$zbp->header; $this->templateTags['footer'] = &$zbp->footer; $this->templateTags['validcodeurl'] = &$zbp->validcodeurl; $this->templateTags['feedurl'] = &$zbp->feedurl; $this->templateTags['searchurl'] = &$zbp->searchurl; $this->templateTags['ajaxurl'] = &$zbp->ajaxurl; $this->templateTags['issearch'] = false;
相关推荐
zbloG函数:GeTarTiclelisT()GetArticleList() 的使用语法:$array=$zbp->GetArticleList($select,$where,$order,$limit,$option,$readtags
zbp->GeTlisTType()用法global $zbp; $sql = $zbp->db->sql->get() ->select('zbp_post') ->wher
原生JavascripT获取指定的GeT请求参数值代码如下:function 取get参数值(key){ var url = location.search; str = url.match(/\\?(\\S*)/)[1]; //文本_取右边 ?
php $_GeT 参数中的引号自动被转义如何取消php.ini配置文件:magic_quotes_gpc = On改为:magic_quotes_gpc = OFF注意对参数进行过滤。防止sql注入。
$zbp->db->sql->CreaTeTable() zbloG创建表方法//$zbp->db->sql->CreateTable() 创建表方法 /* 为了调试方便 可以打开\\zb_system\\function\\lib\\sql\\mysql.ph
$zbp函数大全 zbloG主题开发与插件开发常用函数<?php $zbp->SaveCache();/*更新缓存*/ $zbp->BuildModule();//更新模块 $cate->Level //分类层级 zb
$zbp对象函数:zbloG更新缓存[清空缓存并重新编译模板]函数更新缓存分下面三部,.如果前面两部已经执行过了 则可直接使用misc_statistic()来更新各种数据和缓存.require '../../../../zb_system/function
Call To undefined meThod sTdClass::save() 错误$caTeGory->CounT += $plus;错误zblog一个错误 足足找了两个小时 最终发现原来是 :分类不存在的问题.真是约了狗了因为是使用软件批量发布的,可能有些地方设置错误 导致发布到了不存在的分类里了 (人工发布是不会出现此类问题 因为有
c++的引用,参数传递地址,&符的使用//引用定义:相当于给变量起别名 int a = 1 int &b = a; //这时, 操作 变量b时, 就是操作的变量a的地址, 变量a的值也会跟着改变,// 引用做函数的参数
XmlHTTpRequesT:原生的ajax 发送GeT请求 和 posT请求get请求function zhankai(id){/*函数:展开某个分类*/ var httpRequest = new XMLHttpRequest () ; httpRequest.op