DEDECMS How to remove the last cycle symbol?
DEDECMS label loop call removes the last loop symbol code, friends in need can refer to it.
Recommended learning: 梦Weavercms
The Dreamweaver mark allows limited programming expansion.
The format is:
{dede:tagname runphp=’yes’} $aaa = @me; @me = “123456″; {/dede:tagname}
@me represents the value of the tag itself. Therefore, statements such as echo cannot be used in programming within the tag. All return values can only be passed to @me.
In addition, because the program code occupies the content of the underlying template InnerText, the tags that require programming can only use the default InnerText.
Of course, here we are [field:global name=autoindex/], but we can program in the following way:
[field:global name=autoindex] $aaa = @me; @me = “123456″; [/field:global]
Here we only need a judgment, the code is as follows:
[field:global name=autoindex runphp="yes"](@me!=8)? @me=”|”:@me=”";[/field:global]
It means that when autoindex is equal to 8, this label is empty, otherwise it is "|".
Let’s take a look at this code in general:
{dede:arclist row=’8′ att=’3′ type=’p_w_picpath.’}[field:litpic/][field:global name=autoindex runphp="yes"](@me!=8)? @me=”|”:@me=”";[/field:global]{/dede:arclist}
This generates the code in the form we want. Many FLASH can be solved using this style.
The above is the detailed content of How to remove the last loop symbol in DEDECMS. For more information, please follow other related articles on the PHP Chinese website!

Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

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

Hot Article

Hot Tools

Safe Exam Browser
Safe Exam Browser is a secure browser environment for taking online exams securely. This software turns any computer into a secure workstation. It controls access to any utility and prevents students from using unauthorized resources.

SublimeText3 Linux new version
SublimeText3 Linux latest version

MinGW - Minimalist GNU for Windows
This project is in the process of being migrated to osdn.net/projects/mingw, you can continue to follow us there. MinGW: A native Windows port of the GNU Compiler Collection (GCC), freely distributable import libraries and header files for building native Windows applications; includes extensions to the MSVC runtime to support C99 functionality. All MinGW software can run on 64-bit Windows platforms.

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

MantisBT
Mantis is an easy-to-deploy web-based defect tracking tool designed to aid in product defect tracking. It requires PHP, MySQL and a web server. Check out our demo and hosting services.
