帝国cms插件 二次开发下拉加载更多教程
2020-04-02 站长 站长日志
首先调用20条默认的信息,代码如下
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 |
<section class = "FConBig" > <div class = "divcon" > <div id= "divcon1" > [e:loop={ "select * from www_11px_cn_ecms_news where classid in (2,3,4,5,6) order by newstime desc limit 20" ,6,24,0}] <dl class = "FConSmall" > <dt><a href= "<?=$bqsr['titleurl']?>" ><img src= "<?=$public_r['add_www_11px_cn_url']?><?=$bqr['titlepic']?>" width= "100%" ></a></dt> <dd> <a href= "<?=$bqsr['titleurl']?>" class = "FConWza" > <span class = "FConWzTag" ><?= $bqsr [classname]?></span> <span class = "FConTimeIco" ></span> <span class = "FConWzTime" ><?= date ( 'Y-m-d' , $bqr [newstime])?></span> </a> <a href= "<?=$bqsr['titleurl']?>" class = "FConWzDesc" ><?= $bqr [ 'title' ]?></a> </dd> </dl> [/e:loop] </div> </div> </section> <div class = "FConBig" id= "paiList" ></div> <div id= "divcon2" ><div id= "divload" ></div></div> |