Hongmu Notes
Home Program Notes Empire cms

Empire cms

Commonly used and practical Empire CMS codes – a collection of code snippets utilized in Empire CMS, such as those for creating and invoking navigation menus, implementing pagination, and performing various database queries, among others.

Empire cms8.0 search list page supports dynamic php code display

Empire cms8.0 search list page supports dynamic php code display Program Notes Empire cms PHP Summary of pitfalls

Empire cms updated to 8.0. During daily use, I discovered that this search list page does not support dynamic php code display, so I modified the code and put it here. <?php require("../../class/connect.php"); require("../../data/dbcache/class.php");…
👁 85
After calling the smart tag in Empire CMS, how to output the new logo behind the title?

After calling the smart tag in Empire CMS, how to output the new logo behind the title? Program Notes Empire cms

1.css code: .newpage::after { content: "new"; /* Displayed text */ display: inline-block; color: #ff0000; font-weight: bold; font-size: 14px; margin-left: 8px; anima…
👁 676
EmpireCMS 8.0 – Beginner Website Clone Tutorial

EmpireCMS 8.0 – Beginner Website Clone Tutorial Program Notes Empire cms

QQ Discussion Group: 958972323; Required Tools: Local Server Environment (https://www.xp.cn/); Website Domain: 127.0.0.1; EmpireCMS 8.0 Download Link: http://www.phome.net/down/; Editor: Notepad++; Page Download Tool: Website Clone Tool; Online HTML Formatting: Online HTML Code Formatting-H...
👁 389
Logo image management of Imperial cms website is convenient for subsequent uploading and replacement (use of image information management and PHP call).

Logo image management of Imperial cms website is convenient for subsequent uploading and replacement (use of image information management and PHP call). Program Notes Empire cms

It is inconvenient to use extended variables to manage imperial pictures. Therefore, you can use the empire's own plug-in: picture information management. Usage, as shown above, but more introduction! Here is the calling method! & lt; div class=" logo fl w_img" & gt; & lt; ? php $img=$empire-& gt; fetch1(" SELECT * FROM…
👁 388
How does Empire CMS call the sub-column under the specified parent column?

How does Empire CMS call the sub-column under the specified parent column? Program Notes Empire cms

In the code, $Fclassid = 1;//Parent column ID $SelectClassStyle = 'current'; //The style when currently selected🔒 Hidden content: View after comment<?php //Parent column ID $Fclassid = 1; $SelectClassStyle = 'current'; // Query the first-level menu...
👁 2946
The empire cms picture collection is output and called on the content page

The empire cms picture collection is output and called on the content page Program Notes Empire cms

&lt;? $arrayImg = explode(PHP_EOL,$navinfor['morepic']); foreach($arrayImg as $v): $ImgDataArray = explode('::::::',$v); ?&gt; &lt;li data-responsive=…
👁 231
How do you create the built-in Image Collection and Download fields in Empire CMS?

How do you create the built-in Image Collection and Download fields in Empire CMS? Program Notes Empire cms

Create a field directly in the News table! Image Collection Field: Replace the HTML code in the form with: 🔒 Hidden Content: View after commenting <script> function dopicadd() {var i; var str=""; var oldi=0; var j=0; oldi=parseInt(document.a...
👁 336
EmpireCMS – Quickly modify data titles and title images when creating a clone site, making testing easier.

EmpireCMS – Quickly modify data titles and title images when creating a clone site, making testing easier. Program Notes Empire cms

Modified SQL code for desired effect 🔐 Hidden content: View after commenting. `UPDATE `phome_ecms_news` SET `title` = CONCAT('This is a test article; the article ID is', id, ',', 'Please modify the article in the backend section if needed');` – Quick batch thumbnail setup: Thumbs are configured directly using PHP. PHP code: Randomly retrieve files from a specified folder...
👁 639
EmpireCMS Special Call and Database Table

EmpireCMS Special Call and Database Table Program Notes Empire cms

The built-in thematic fields available for listing calls are: Thematic ID: [!--self.classid--]; Thematic Title: [!--pagetitle--]; Thematic Description: [!--class.intro--]; Thematic Thumbnail URL: [!--class.classimg--]; Thematic list can be queried using the Lingdong Index Tag: [e:loop={"select * fro...
👁 359
EmpireCMS – Frequently Used Function Library Extension (Continuously Updated)

EmpireCMS – Frequently Used Function Library Extension (Continuously Updated) Program Notes Empire cms

Inbound time – shows how many seconds or hours ago the content was published 🔒 Hidden content: View after commenting. Function: `user_beforeTime($givenTime) { $givenDateTime = new DateTime($givenTime); $currentTime = new DateTime(); $time...`
👁 466
1 2 3 10