ZBlog $zbp->GetListTyp

取category表所有的数据{php}$sql = $zbp->db->sql->get()->select($zbp->table['Category'])->sql

2014-09-24 13:06:40  · 

ZBlog $zbp->GetCategor

$zbp->GetCategoryListzbp全局操作类的默认函数 获取全部分类列表函数array( 'select' => array

2014-07-11 10:53:20  · 

ZBlog $zbp->GetCategor

{$zbp->GetCategoryByID(1)->Name}var_dump($zbp->GetCategoryByID(1)); ["ID"]=> string(1) "1"

2014-04-27 08:40:00  · 

ZBlog zbp全局操作类的

目录文件:zb_system/function/lib/zblogphp.phpzbp全局操作类的默认函数:8个获取列表的函数正好对应8个默认数

2014-02-11 06:26:40  · 

ZBlog GetValueInArray(

从数组中获取指定键值的元素;(可以省去了 isset 判断)内部封装了所需键值是否存在的判断,不存在时返回第三个

2013-11-28 04:13:20  · 

ZBlog GetVars()函数

GetVars()可快速获取 GET/POST/COOKIE 等传值;不存在时将默认返回null,无需isset($_GET['act'])判断;

2013-09-14 02:00:00  · 

ZBlog GetList()函数

GetList 函数通过GetList可以获取自定义的文章列表,如指定分类的最新文章、置顶文章等等array( 'count&

2013-06-30 23:46:40  · 

ZBlog GetPost()函数

GetPost 函数 通过GetPost 可以获取指定的文章或页面或是其它类型的Post表的数据array( 'id' => 1

2013-04-16 21:33:20  · 

ZBlog $categoriesbyord

使用例子:调用全部分类{foreach $categoriesbyorder as $categorynav}<li><a href=&#39;{$categorynav.Url}&

2013-01-31 19:20:00  · 

ZBlog $categorys变量

使用例子:调用全部分类{foreach $categorys as $categorynav}<li><a href=&#39;{$categorynav.Url}&#39;>{$c

2012-11-17 17:06:40  · 

ZBlog $category变量

分类模板使用:{$category->Name}var_dump($category); ["ID"]=> string(1) "1" ["Name"]=> stri

2012-09-03 14:53:20  · 

ZBlog $article变量

文章模板使用:{$article->Title}var_dump($article); ["ID"]=> string(1) "1" ["CateID"]=> str

2012-06-20 12:40:00  · 

ZBlog 错误页404模板404

ZBlog 404.php{* Template Name:404错误页 *}<!DOCTYPE html><html><head> {template:seo} <link rel

2012-04-06 10:26:40  · 

ZBlog 友情链接模板lm-m

<li> <a href="{$item.href}" title="{$item.text}" {if $item.target} target="{$item.target}"{/if}>{

2012-01-22 08:13:20  · 

ZBlog 导航条模板lm-mod

<li> <a href="{$item.href}" id="{$item.title}">{$item.text}</a> {if count($item.subs)} <ul>

2011-11-08 06:00:00  · 

ZBlog 模块模板module.p

ZBlog module.php自由配置<div class="{$module.HtmlID}"> <h2 class="title">{$module.Name}</h2>

2011-08-25 03:46:40  · 

ZBlog 分页模板pagebar.

pagebar.php文件:{if $pagebar}{foreach $pagebar.buttons as $k=>$v} {if $pagebar.isFullLink==false &

2011-06-11 01:33:20  · 

ZBlog 面包屑模板crumbs

crumbs文件:<a href="{$host}">首页</a>>{if $type==&#39;article&#39;} {if is_object($article.Categor

2011-03-27 23:20:00  · 

ZBlog 尾部模板footer.p

<div class="footer"> <p class="mid"> <a href="/sitemap.xml" title="Sitemap" target="_blank

2011-01-11 21:06:40  · 

ZBlog 头部模板header.p

header.php文件:{php}$_id="";$_type="index";if($type==&#39;category&#39;){ $_id=$category->RootID?$

2010-10-28 18:53:20  · 

ZBlog SEO优化模板seo.p

{php}<?phpif ($type==&#39;article&#39;){ $title = $article->Title ."-". $zbp->Config(&#39;teke&#3

2010-08-14 16:40:00  · 

ZBlog 内容页模板single

{* Template Name:默认内容页 * Template Type:single|article|page *}{php}//封面图片$titlepic = $articl

2010-05-31 14:26:40  · 

ZBlog 列表页模板list.p

{* Template Name:默认列表页 * Template Type:list|author|category|date|tag *}<!DOCTYPE html><html><he

2010-03-17 12:13:20  · 

ZBlog 首页模板index.ph

{* Template Name:首页 * Template Type:index *}<!DOCTYPE html><html><head> {template:seo} <link

2010-01-01 10:00:00  · 
 74   首页 上一页 1 2 3