以下为PHPB2B4.0支持的模板中数据调用标签:
标签 | 类型 | 示例 | 说明 | |
ads | 数据 | {ads typeid=1 start=5 row=5}{$ads.link}{/ads} |
| |
adword | 数据 | {adword row=5}{$adword.link}{/adword} | 关键字广告 | |
announce | 数据 | {announce row=5}{/announce} | 公告 | |
area | 数据 | {area depth=1}{/area} | 地区 | |
brand | 数据 | {brand row=5}{/brand} | 品牌 | |
company | 数据 | {company type=”image,commend}{/company} 公司库 | ||
companynews | 数据 | {companynews comanyid=1 memberid=1}{/companynews} | 公司新闻 | |
dict | 数据 | {dict row=5}{/dict} | 百科 | |
fair | 数据 | {fair row=5}{/fair} | 展会 | |
feed | 数据 | {feed row=5}{/feed} | RSS | |
friendlink | 数据 | {friendlink typeid=1 sep=” | “}{/friendlink} | 友情链接 | |
good | 数据 | {good typeid=1}{/good} | 商品 | |
help | 数据 | {help row=5 typeid=1}{/help} | 帮助文件 | |
industry | 数据 | {industry depth=1}{/industry} | 行业分类 | |
job | 数据 | {job row=5}{/job} | 职位 | |
keyword | 数据 | {keyword row=5 start=1}{/keyword} | 关键字 | |
market | 数据 | {market row=5}{/market} | 市场库 | |
member | 数据 | {member}{/member} | 会员(求职) | |
news | 数据 | {news typeid=1 row=5}{/news} | 资讯 | |
newstype | 数据 | {newstype}{/newstype} | 资讯分类 | |
offer | 数据 | {offer row=5 start=0}{/offer} | 供求信息 | |
price | 数据 | {price productid=1 companyid=1}{/price} | 产品报价 | |
product | 数据 | {product row=5 industryid=1 areaid=1 sortid=1}{$product.link}{/product} | 产品库 | |
quote | 数据 | {quote marketid=1 areaid=1 orderby=”created desc”}{/quote} | 价格行情 | |
standard | 数据 | {standard row=5}{$item.link}{/standard} | 标准法规 | |
tag | 数据 | {tag row=3}{$tag.link}{/tag} | 关键字标签 | |
topic | 数据 | {topic row=3}{/topic} | 专题 | |
userpage | 数据 | <!–{userpage row=15 sep=”<span>|</span>”}–>
{$page.link} <!–{/userpage}–> | 用户自定义页面 | |
category | 函数 | {category depth=”1″}
{foreach from=$category item=item} <a href=’product/price.php?action=search&areaid={$item.id}’><span>{$item.name}</span></a> {/foreach} | 取得产品分类列表 | |
editor | 函数 | {editor} | 编辑器 | |
exp | 函数 | {exp data=”a,b,c,d,e” vars=”0,1,2″ sep=” ”} | 字符串处理 | |
formhash | 函数 | {formhash} | 提交表单加密处理 | |
get | 函数 | {get from=”area”} | 取得数据,如地区,行业分类 | |
get_cache | 函数 | {get_cache} | 取得缓存数据 | |
get_widget | 函数 | {get_widget} | 取得微件 | |
im | 函数 | {im} | 取得即时通信连接 | |
iplocation | 函数 | {iplocation ip=”127.0.0.1″} | ip所在地 | |
pager | 函数 | <!– {pager rowcount=100} –> | 分页 | |
plugin | 函数 | {plugin} | 插件 | |
the_attachment | 函数 | {the_attachment} | 取得附件地址 | |
the_map | 函数 | {the_map longti=”39.908682835132836″ lati=”116.39748573303222″} | 取得Google地图 | |
the_time | 函数 | {the_time the_time=”130259928882″} | 个性化时间显示格式 | |
the_url | 函数 | {the_url module=”search” do=”product”} | 取得特殊链接地址 |