Home  >  Article  >  CMS Tutorial  >  Where is the dedecms paging css file?

Where is the dedecms paging css file?

尚
Original
2019-07-18 14:34:442601browse

Where is the dedecms paging css file?

DEDE's pages are displayed in two ways: dynamic and static. Obviously, there will be two tag parsing functions, corresponding to static and dynamic pages respectively. First find the arc.archives.class.php file in the include folder. The path is: \include\arc.archives.class.php

If it is dynamic, ctrl F searches for function GetPagebreakDM($totalPage, $nowPage, $aid) If it is static, ctrl F searches for function GetPagebreak($totalPage, $nowPage, $aid)
Take static as an example:

/**
* 获得静态页面分页列表
*
* @access public
* @param int $totalPage 总页数
* @param int $nowPage 当前页数
* @param int $aid 文档id
* @return string
*/
function GetPagebreak($totalPage, $nowPage, $aid)
{
if($totalPage==1)
{
return "";
}
$PageList = "<li><a>共".$totalPage."页: </a></li>";
$nPage = $nowPage-1;
$lPage = $nowPage+1;
if($nowPage==1)
{
$PageList.="<li><a href=&#39;#&#39;>上一页</a></li>";
}
else
{
if($nPage==1)
{
$PageList.="<li><a href=&#39;".$this->NameFirst.".".$this->ShortName."&#39;>上一页</a></li>";
}

For more technical articles related to DedeCMS, please visit the DedeCMS Tutorial column to learn!

The above is the detailed content of Where is the dedecms paging css file?. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn