# 內容列表
內容循環標簽可以調用出后臺添加的所有內容基礎信息
## 使用范圍
* 任何頁面
## 代碼
~~~
{contentlist name="vo"}
{$vo.class_id}
{/contentlist}
~~~
調用屬性
| 屬性 | 可用值 | 描述 | 演示 |
| --- | --- | --- | --- |
| class_id | 1 | 欄目ID,可為變量 | class_id=1 或者 class_id="1,2,3" |
| sub | true | 調用class_id下的所有子欄目內容 | sub=true |
| image | true|false | true用帶形象圖內容,false調用不帶形象圖內容 | image=true 或 image=false |
| module | Article | 調用指定模塊內容 | module="Article" |
| not_id | 1|1,2,3 | 排除指定的文章ID | not_id=1 或者 not_id="1,2,3" |
| pos_id | 1|1,2,3 | 推薦位ID | pos_id=1 |
| where | SQL | 擴展SQL條件 | where="A.content_id = 1" |
| limit | 10 | 調用數量,默認條數 | limit=10 |
| order | time|class_id |views | 內容排序 | order="time desc" |
調用值
| 屬性 | 描述 |
| --- | --- |
| content_id | 內容ID |
| class_id | 欄目ID |
| title | 內容標題 |
| keywords | 關鍵詞 |
| description | 描述 |
| time | 發布時間(格式化后使用) |
| image | 形象圖 |
| copyfrom | 來源 |
| views | 瀏覽次數 |
| class_name | 欄目名稱 |
| class_image | 欄目形象圖 |
| curl | 欄目連接 |
| aurl | 文章連接 |
| i | 循環序號 |