[89] | 1 | <{* ************************** usage ****************************
|
---|
| 2 | The template tag of the following list can be used.
|
---|
| 3 | <{$block.data_count}>
|
---|
| 4 | <{$content.post_id}>
|
---|
| 5 | <{$content.post_title}>
|
---|
| 6 | <{$content.post_content}>
|
---|
| 7 | <{$content.post_date}>
|
---|
| 8 | <{$content.post_time}>
|
---|
| 9 | <{$content.post_date_time}>
|
---|
| 10 | <{$content.post_modified_date}>
|
---|
| 11 | <{$content.post_modified_time}>
|
---|
| 12 | <{$content.post_modified_date_time}>
|
---|
| 13 | <{$content.post_author}>
|
---|
| 14 | <{$content.post_category}>
|
---|
| 15 | <{$content.post_tags}>
|
---|
| 16 | <{$content.post_views}>
|
---|
| 17 | <{$content.comment_link}>
|
---|
| 18 | <{$content.trackback_url}>
|
---|
| 19 | ************************* End of usage ************************ *}>
|
---|
| 20 | <{* Start Template *}>
|
---|
| 21 |
|
---|
| 22 | <ul class="xpress_recent_comments">
|
---|
| 23 | <{$block.data_count}>
|
---|
| 24 | <{foreach from=$block.contents item=content}>
|
---|
| 25 | <li>
|
---|
| 26 | <{$content.post_id}><br />
|
---|
| 27 | <{$content.post_title}><br />
|
---|
| 28 | <{$content.post_content}><br />
|
---|
| 29 | <{$content.post_date}><br />
|
---|
| 30 | <{$content.post_time}><br />
|
---|
| 31 | <{$content.post_date_time}><br />
|
---|
| 32 | <{$content.post_modified_date}><br />
|
---|
| 33 | <{$content.post_modified_time}><br />
|
---|
| 34 | <{$content.post_modified_date_time}><br />
|
---|
| 35 | <{$content.post_author}><br />
|
---|
| 36 | <{$content.post_category}><br />
|
---|
| 37 | <{$content.post_tags}><br />
|
---|
| 38 | <{$content.post_views}><br />
|
---|
| 39 | <{$content.comment_link}><br />
|
---|
| 40 | <{$content.trackback_url}>
|
---|
| 41 | </li>
|
---|
| 42 | <{/foreach}>
|
---|
| 43 | </ul> |
---|