arclist 分页
head之间添加如下代码:
<script language="javascript" type="text/javascript" src="{dede:global.cfg_cmsurl/}/include/dedeajax2.js"></script>
<script>
function multi(pagenum,tagid)
{
var taget_obj = document.getElementById(tagid);
var taget_obj_page = document.getElementById("page_"+tagid);
myajax = new DedeAjax(taget_obj,false,false,'','','');
myajax.SendGet2("/plus/arcmulti.php?mtype=0&pnum="+pagenum+'&tagid='+tagid);
myajax = new DedeAjax(taget_obj_page,false,false,'','','');
myajax.SendGet2("/plus/arcmulti.php?mtype=1&pnum="+pagenum+'&tagid='+tagid);
DedeXHTTP = null;
}
</script>
然后是arclist部分
{dede:arclist tagid='index' typeid ='2' pagesize='10' row='100'}
<div class="searchlist">
<span class="riqi">[field:stime/]</span>
<a href="[field:arcurl/]">
<p class="title">[field:title/]</p>
<p class="info">[field:description/]...</p>
</a>
</div>
{/dede:arclist}
{dede:arcpagelist tagid='index'/}