首页 > 网站 > 建站经验 > 正文

dede列表页实现左侧为文章列表 右侧为文章内容

2024-04-25 20:48:39
字体:
来源:转载
供稿:网友

{dede:list pagesize=’12′ listtype=’text’}
<P >
<img src="/templets/images/nav_icon.gif" >
<a href=’[field:arcurl/]‘>[field:title function='html2text(@me)'/]</a>
</P>
 
{/dede:list}
</DIV>
<DIV class=main_left_bottom_bottom></DIV>
<DIV class=question><A href="#"><IMG
src="/templets/images/question.gif"></A></DIV>
<DIV class=main_left_live>
</DIV></DIV></DIV>
<DIV class=main_right>
<DIV class=main_right_1part><A name=question_top></A>
<DIV class=main_right_1part_top>
{dede:sql sql="select a.body,b.title from hotel_addonarticle a join hotel_archives b on a.aid= b.id where a.typeid=~id~ order by aid desc limit 1"}
<h1>[field:title/]</h1></DIV>
<DIV class=main_right_1part_content>
[field:body/]
{/dede:sql} 


发表评论 共有条评论
用户名: 密码:
验证码: 匿名发表