Home CMS Tutorial DEDECMS Where is the dedecms paging css file?

Where is the dedecms paging css file?

Jul 18, 2019 pm 02:34 PM

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>";
}
Copy after login

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 of this Website
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

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

AI Hentai Generator

AI Hentai Generator

Generate AI Hentai for free.

Hot Article

R.E.P.O. Energy Crystals Explained and What They Do (Yellow Crystal)
2 weeks ago By 尊渡假赌尊渡假赌尊渡假赌
Hello Kitty Island Adventure: How To Get Giant Seeds
1 months ago By 尊渡假赌尊渡假赌尊渡假赌
Two Point Museum: All Exhibits And Where To Find Them
1 months ago By 尊渡假赌尊渡假赌尊渡假赌

Hot Tools

Notepad++7.3.1

Notepad++7.3.1

Easy-to-use and free code editor

SublimeText3 Chinese version

SublimeText3 Chinese version

Chinese version, very easy to use

Zend Studio 13.0.1

Zend Studio 13.0.1

Powerful PHP integrated development environment

Dreamweaver CS6

Dreamweaver CS6

Visual web development tools

SublimeText3 Mac version

SublimeText3 Mac version

God-level code editing software (SublimeText3)