search
HomeCMS TutorialDEDECMSWhere is the dedecms paging css file?

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

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

Video Face Swap

Video Face Swap

Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Article

Hot Tools

Dreamweaver Mac version

Dreamweaver Mac version

Visual web development tools

SublimeText3 Mac version

SublimeText3 Mac version

God-level code editing software (SublimeText3)

WebStorm Mac version

WebStorm Mac version

Useful JavaScript development tools

Atom editor mac version download

Atom editor mac version download

The most popular open source editor

DVWA

DVWA

Damn Vulnerable Web App (DVWA) is a PHP/MySQL web application that is very vulnerable. Its main goals are to be an aid for security professionals to test their skills and tools in a legal environment, to help web developers better understand the process of securing web applications, and to help teachers/students teach/learn in a classroom environment Web application security. The goal of DVWA is to practice some of the most common web vulnerabilities through a simple and straightforward interface, with varying degrees of difficulty. Please note that this software