然后建立列表模板,代码如下:
<!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=gb2312" /> <title>[!--pagetitle--] - Powered by EmpireCMS</title> <meta name="keywords" content="[!--pagekey--]" /> <meta name="description" content="[!--pagedes--]" /> <link href="[!--news.url--]skin/default/css/style.css" rel="stylesheet" type="text/css" /> <script type="text/javascript" src="[!--news.url--]skin/default/js/tabs.js"></script> <style type="text/css">
</style> </head>
<body> <!----页头-----> [!--temp.header--] <!----DIV大框-----> <div id="wrap"> <!------主内容区---------> <table id="bjx" width="984" border="0" cellpadding="0" cellspacing="0"> <!--DWLayoutTable--> <tr> <td id="boxa" width="662" valign="top"><table id="sx" width="642" border="1"> <tr> <td width="629"><div id="gallery"> <div class="box1">[phomeflashpic]0,3,300,180,0,0,13,3[/phomeflashpic] </div> <div class="box2">[ecmsinfo]0,1,18,0,5,5,1[/ecmsinfo]</div> <div class="box3">>[!--empirenews.listtemp--] <!--list.var1--> <!--list.var2--> <!--list.var3--> <!--list.var4--> <!--list.var5--> [!--empirenews.listtemp--] </div> <div class="box3">[phomenewspic]'news',3,6,128,90,1,20,20[/phomenewspic] </div> </div> <div class="box3"></div></td> </tr> </table></td> <td id="boxb" width="322" valign="top"><table id="sx" width="300" border="1"> <tr> <td class="nj">[ecmsinfo]0,1,18,0,5,5,1[/ecmsinfo]</td> </tr> </table> <table width="300" border="1" class="nj" id="sx"> <tr> <td class="nj">[ecmsinfo]0,1,18,0,5,5,1[/ecmsinfo]</td> </tr> </table></td> </tr> </table> <!--------主内容区2---------> <table id="bjx" width="984" border="0" cellpadding="0" cellspacing="0"> <!--广告图片区1--> <tr> <td width="984"><div align="center"></div></td> </tr> </table> <!--------广告图片区2---------> <table id="bjx" width="984" border="0" cellpadding="0" cellspacing="0"> <!--DWLayoutTable--> <tr> <td width="984"><div align="center"></div></td> </tr> </table> </div> [!--temp.footer--] </body> </html>
|