Home > Article > CMS Tutorial > Does Phpcms have paging function?
# Does Phpcms have paging function?
Phpcms has a paging function. How to use it: first open the "phpcms\libs\functions\global.func.php" file, search for "pages" on the page, and find the paging method; then copy a modification Method name, modify the paging style inside; just call it last.
Front desk modification
<div class="s5_in"> {pc:content action="lists" catid="13" siteid="1" moreinfo="1" num="3" page="$_GET[page]"} {loop $data $va} <a class="a1"> <img src="{$va[thumb]}" / alt="Does Phpcms have paging function?" > <div> <h4> <b>{$va[title]}</b> | <span>{$va[object]}:{$va[symptom]}</span> </h4> <p>{$va[description]}<span><查看详情></span></p> </div> </a> {/loop} {/pc} </div>
Recommended tutorial: "PHPCMS Tutorial"
The above is the detailed content of Does Phpcms have paging function?. For more information, please follow other related articles on the PHP Chinese website!