DedeCMS arclist的分页使用教程

乐清SEO_开发应用_dedecms_ 乐清SEO2021-01-19 转载自:
  1. <script language="javascript" type="text/javascript" src="{dede:global.cfg_cmsurl/}/include/dedeajax2.js"></script>  
  2. <script>  
  3. function multi(pagenum,tagid)  
  4. {  
  5. var taget_obj = document.getElementById(tagid);  
  6. var taget_obj_page = document.getElementById("page_"+tagid);  
  7. myajax = new DedeAjax(taget_obj,false,false,'','','');  
  8. myajax.SendGet2("/plus/arcmulti.php?mtype=0&pnum="+pagenum+'&tagid='+tagid);  
  9. myajax = new DedeAjax(taget_obj_page,false,false,'','','');  
  10. myajax.SendGet2("/plus/arcmulti.php?mtype=1&pnum="+pagenum+'&tagid='+tagid);  
  11. DedeXHTTP = null;  
  12. }  
  13. </script>  
  14. {dede:arclist tagid='index' pagesize='5'}  
  15. <li><b><a href="[field:arcurl/]" style="color: #FF6633">[field:title/]</a></b></li>  
  16. <p class="my_tj_info">[field:info/]...</p>  
  17. {/dede:arclist}  
  18. {dede:arcpagelist tagid='index'/}