标签循环
<temp:loop count=num data=data id=id title=title select="条件">
<temp:id/><temp:title/>/>//循环内容
</temp:loop>
<temp:ltitle/>截断的前20个字母的标题
num:循环次数,0为不限
data:读取的表名
id,title:自定义显示字段,且只有这两个标签能自定义,循环内引用<temp:id/>,<temp:title/>
select: 护展SQL语句,可无,条件为SQL中的条件语句,如: select="ubb=1 and classid=6"语句错误会引起错误
取出模版列表:select="uit=1"
首页模版(index)
<temp:top/> 顶部 根模版下才有效
<temp:toptitle/> 标题 内容显示(index_show) 模版下才有效
<temp:calendar/> 日历  
<temp:newtopic/> 最新记录
 
<temp:newcomment/>
最新评论  
<temp:classmenu/> 分类菜单  
<temp:searchform/> 搜索表单  
<temp:body/> 中间部份 根模版下才有效,根据系统判断是列表还是显示(index_list or index_show)
<temp:link/> 网站链接  
<temp:online/> 访问统计  
<temp:runtime/> 程序执行时间 会带上版权:CopyRight © Hubro 125 ms.
<temp:tempstyle/> 模版样式接口 提供浏览者自定义模版接口
顶部(index_top)
无标签
最新记录(index_newtopic)
标签写法 <temp:loop count=10 data=article id=id title=title>  
<temp:id/> 自动编号ID  
<temp:title/> 标题  
最新评论(index_newcomment)

标签写法
<temp:loop count=10 data=comment id=aid title=content>
 
<temp:id/> 引用记录ID  
<temp:title/> 评论内容  
分类菜单(index_classmenu)

标签写法
<temp:loop count=0 data=class id=id title=classname>  
<temp:count/> 分类中记录数  
<temp:id /> 分类ID  
<temp:title/> 分类名  
搜索表单(index_searchform)
标签写法 <form name="form1" method="get" action="index.aspx" ><input name="keyword" type="text" /><br /><select name="chose"><option value=""> All</option><option value="title"> Title</option><option value="content"> Content</option></select> <input name="Submit" type="submit" value="Search"/></form>  
提交方式 get  
keyword 关键字  
chose 搜索类别 title:标题,content:内容,空:所有
主体列表(index_list)
标签写法 <temp:loop count=0 data=article id=id title=title>  
<temp:id/> ID  
<temp:title/> 标题  
<temp:weather/> 天气 <img src="images/<temp:weather/>.gif">
<temp:smile/> 心情图标 <img src="images/<temp:smile/>.gif">
<temp:content/> 内容  
<temp:contents/> 返回处理好后完整的内容  
<temp:class/> 分类ID  
<temp:classname/ 分类名  
<temp:hit/> 点击  
<temp:comment/> 评论数  
<temp:writer/> 作者  
<temp:pages/> 分页 循环外才能用
<temp:endate/> 英文时间日期 Tuesday, February 15, 2005
<temp:entime/> 英文时间 11:19:55 AM
<temp:date/> 标准时间日期 2005-2-15
<temp:time/> 标准时间 11:19:55
循环内评论(list_comment)
标签写法 <temp:loop count=0 data=comment id=aid
title=content>
调用:<loop:comment/>
此标签只有在循环内有用
<temp:id/> 引用记录ID  
<temp:content/> 评论内容  
<temp:endate/> 英文时间日期 Tuesday, February 15, 2005
<temp:entime/> 英文时间 11:19:55 AM
<temp:date/> 标准时间日期 2005-2-15
<temp:time/> 标准时间 11:19:55
<temp:writer/> 作者  
<temp:email/> 邮件地址  
<temp:url/> 网站URL  
<temp:content/> 内容  
内容显示(index_show)
基本标签
同列表 select="top=1"
top=1 置顶或推存
评论显示    
标签写法 <temp:loop count=0 data=comment id=aid
title=content>
 
<temp:id/> 引用记录ID  
<temp:title/> 评论内容  
<temp:endate/> 英文时间日期 Tuesday, February 15, 2005
<temp:entime/> 英文时间 11:19:55 AM
<temp:date/> 标准时间日期 2005-2-15
<temp:time/> 标准时间 11:19:55
<temp:writer/> 作者  
<temp:email/> 邮件地址  
<temp:url/> 网站URL  
<temp:content/> 内容  
评论表单    
<temp:ubbface/> UBBface 调用images/js.js中 chekcimg(i)
username 名称  
email 邮件地址  
url 网站地址  
Remember 记住表单信息 value="true"
content 内容  
网站链接(index_link)
标签写法 <temp:loop count=0 data=links id=url title=sitename select="sub=1"> select="sub=1"
sub=1为审核过的
<temp:id/> 网站URL  
<temp:content/> 网站名  
<temp:logo/> LOGO地址  
<temp:info/> 简介  
错误信息(index_erro)
<temp:erro/>
<div align=center><li><temp:erro/></li><br>
<a href="javascript:history.back(1)">返回上一页</a>
</div>