帝国cms列表分页及列表内容调用演示


页面模板:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>[!--pagetitle--]</title> <meta name="keywords" content="[!--pagekey--]" /> <meta name="description" content="[!--pagedes--]" /> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <link href="/e/web/css/base.css" rel="stylesheet"> <link href="/e/web/css/index.css" rel="stylesheet"> <link href="/e/web/css/m.css" rel="stylesheet"> <script src="/e/web/js/jquery.min.js"></script> <script src="/e/web/js/jquery.easyfader.min.js"></script> <script src="/e/web/js/hc-sticky.js"></script> <script src="/e/web/js/comm.js"></script> <script src="/e/web/js/scrollReveal.js"></script> <!--[if lt IE 9]><script src="/e/web/js/modernizr.js"></script><![endif]--> </head> <body> [!--temp.header--] <article> <main>[!--empirenews.listtemp--]<!--list.var1-->[!--empirenews.listtemp--]<div>[!--show.listpage--]</div> </main> [!--temp.aside--] </article> <a href="#">Top</a> [!--temp.footer--] </body></html>

列表内容模板(list.var)?

<div bottom over 1s"> <h3><a href="[!--titleurl--]"> [!--title--]</a></h3> <span><a href="[!--titleurl--]" title="[!--oldtitle--]"><img src="[!--titlepic--]" alt="[!--oldtitle--]"></a></span> <p> [!--smalltext--] </p> <div> <ul> <li> [!--writer--]</li> <li><a href="[!--this.classlink--]"> [!--this.classname--]</a></li> <li> [!--newstime--] </li> <li> [!--onclick--]已阅读</li> <li>[!--onclick--]</li> </ul> </div> </div>

?