search
HomeCMS TutorialEmpire CMSSharing Empire cms selects a collection of two tables to sort by a certain field

Sharing Empire cms selects a collection of two tables to sort by a certain field

Empire cms selects a set of two tables to sort by a certain field

The code is as follows:

<div class="TitleBox"><a href="/" target="_blank">热门作品</a></div>
<div class="BoxBlockMain PicBlock02">
<ul>[e:loop={&#39;select title,titleurl,onclick,titlepic from `[!db.pre!]ecms_test` Union All select title,
titleurl,
onclick,titlepic from `[!db.pre!]ecms_gamepic` order by onclick desc limit 6&#39;,6,24,1}]
<li class="iHover">
<span class="pic"><a href="<?=$bqsr[titleurl]?>" target="_blank" title="<?=$bqr[title]?>"><img  src="/static/imghwm/default1.png"  data-src="<?=$bqr[titlepic]? alt="Sharing Empire cms selects a collection of two tables to sort by a certain field" >"  class="lazy"  style="
max-width:
120px;max-height:86px;"  class="_ImagesReSize" alt="<?=$bqr[title]?>" /></a></span>
<span class="title"><a href="<?=$bqsr[titleurl]?>" target="_blank" title="<?=$bqr[title]?>"><?=esub($bqr[title],
12)
?></a></span>
</li>[/e:loop]
</ul>
</div>

Recommended study《 Empire cms tutorial

The above is the detailed content of Sharing Empire cms selects a collection of two tables to sort by a certain field. For more information, please follow other related articles on the PHP Chinese website!

Statement
This article is reproduced at:www.word666.com/cms. If there is any infringement, please contact admin@php.cn delete

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 Tools

SublimeText3 English version

SublimeText3 English version

Recommended: Win version, supports code prompts!

SecLists

SecLists

SecLists is the ultimate security tester's companion. It is a collection of various types of lists that are frequently used during security assessments, all in one place. SecLists helps make security testing more efficient and productive by conveniently providing all the lists a security tester might need. List types include usernames, passwords, URLs, fuzzing payloads, sensitive data patterns, web shells, and more. The tester can simply pull this repository onto a new test machine and he will have access to every type of list he needs.

Dreamweaver Mac version

Dreamweaver Mac version

Visual web development tools

Notepad++7.3.1

Notepad++7.3.1

Easy-to-use and free code editor

PhpStorm Mac version

PhpStorm Mac version

The latest (2018.2.1) professional PHP integrated development tool