全局------------------------------------------------------------
網站全稱:
- {get('fullname')}
軟件版本:
- {get('version')}
網站URL:
- {get('site_url')}
網站名稱:
- {get('sitename')}
ICP備案:
- {get('site_icp')}
網站關鍵詞:
- {get('site_keyword')}
網站描述:
- {get('site_description')}
網站版權:
- {get('site_right')}
客服QQ:
- {get('qq1')}
客服QQ:
- {get('qq2')}
復制代碼
客服QQ:
- {get('qq3')}
地址:
- {get('adderss')}
手機:
- {get('mobile')}
電話:
- {get('tel')}
傳真:
- {get('fax')}
郵編:
- {get('postcode')}
郵件:
- {get('email')}
留言URL:
- {url('guestbook')}
會員登錄:
- {url('user')}
分類列表分頁:
- {type_pagination($typeid,'system/type_pagination.html')}
當前分類名稱:
- {$type[$typeid][typename]}
當前分類封面內容:
- {$type[$typeid][typecontent]}
網站首頁地址:
- {$base_url}/
模板目錄地址:
- {$skin_path}/
內容網頁標題:
- {$archive[mtitle]}
內容標題:
- {$archive[title]}
分類網頁標題:
- {typename($meta_title)}
分類名稱:
- {typename($typeid)}
模板------------------------------------------------------------
調用頁頭模板:
- {template 'header.html'}
調用頁底模板:
- {template 'footerer.html'}
內容頁中縮略圖地址:
- {$archive[image]}
循環說明:
相關文章調用:
- {loop article($typeid,32,'view',10) $i $arc}
- 鏈接:{$arc[url]}
- 標題{$arc[title]}
- {/loop}
子級分類調用同級分類列表:
- <?php $t=position_p($typeid=9);?>
- 分類鏈接:{$t.url}
- 分類名稱:{$t['name']}
父級分類頁循環子級分類名稱及內容列表:
- {loop type($typeid) $t}
- 子級分類名稱:{$type[typename]}
- 子級分類鏈接:{$type[url]}
- {loop article($t[typeid],20,'aid',10,true,'') $arc}
- 內容發布時間:{$arc[adddate]}
- 內容標題:{$arc[title]}
- 內容鏈接:{$arc[url]}">
- {/loop}
- {/loop}
分類頁圖片內容列表:
- {loop $archives $i $arc}
- 內容標題:{$arc[title]}
- 內容鏈接:{$arc[url]}
- 內容縮略圖:{$arc[image]}
- {/loop}
父級分類循環子級分類列表:
- {loop type($typeid) $t}
- 子級分類鏈接:{typeurl($t[typeid])}
- 子級分類名稱:{$t[typename]}
- {/loop}
分類內容帶內容簡介列表:
- {loop $archives $arc}
- 內容添加時間:{$arc[adddate]}
- 內容標題:{$arc[title]}
- 內容鏈接:{$arc[url]}
- 內容簡介:{$arc[introduce]}
- {/loop}
上一篇:判斷不同欄目,應用不同內容
下一篇:為什么建立分類后,打開分類為空白頁