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

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
<? $arrayImg = explode(PHP_EOL,$navinfor['morepic']);
foreach($arrayImg as $v):
$ImgDataArray = explode('::::::',$v);
?>

<li data-responsive="<?=$ImgDataArray[0]?> 375, <?=$ImgDataArray[0]?> 480, <?=$ImgDataArray[1]?> 800" data-src="<?=$ImgDataArray[1]?>" data-sub-html="<h4><?=$ImgDataArray[2]?></h4><p></p>"><a href="" rel="lightbox-g"><span></span><em><?=$ImgDataArray[2]?></em><u><img src="<?=$ImgDataArray[1]?>" alt="<?=$ImgDataArray[2]?>"></u></a></li>

<? endforeach;?>
微信赞赏

WeChat

支付宝赞赏

Alipay

✍️ Author: Hong Mu

webmaster · Thanks for reading, stay tuned for more exciting content

Author homepage View home page →

Related articles

Empire CMS database statement & SQL statement format

Empire CMS database statement & SQL statement format Program Notes Empire cms

Introduction to Imperial CMS extended SQL program writing, basic examples of Imperial CMS database statements & SQL statement formats: Note: The following examples are based on placing PHP files in the system root directory. Example 1: Connect to MYSQL program. (a.php)<?php require('e/class/connect.php'); //Introduce database configuration files and public function files requ…
👁 351
Empire CMS obtains the system COOKIE variable function getcvar()

Empire CMS obtains the system COOKIE variable function getcvar() Program Notes Empire cms

Get the system COOKIE variable function syntax: getcvar($var,$ecms) Description: $var: is the variable name $ecms: 0 is to set the foreground COOKIE variable, 1 is to set the background COOKIE variable. This parameter can be omitted and defaults to 0. Usage example: getcvar('mlusername'), get the user name of the front-end login member getcvar('loginu...
👁 294
Empire CMS smart label call field collection

Empire CMS smart label call field collection Program Notes Empire cms

Collect and classify all fields that support smart tag calls into Empire CMS smart tags: [e:loop={column ID/topic ID, number of items displayed, operation type, only display pictures with titles, additional SQL conditions, display sorting}] Template code content [/e:loop] Calling time: <?=date('m-d',$bqr[newstime])?> <?=dat…
👁 3748

Recommended reading

PHP regular matches all href links

PHP regular matches all href links Language Notes PHP PHP collection

In HTML, links usually appear as <a> tags, whose href attribute represents the address of the link. You can use regular expressions to match <a> tags and extract the href attribute value within them. Here is an example regular expression: $pattern = '/<a\s[^>]*href=([\'"])(.*?…
👁 483
(PC + WAP) Marketing-oriented green furniture and office solutions – PbootCMS website template; Download office desk and chair website source code – 0647

(PC + WAP) Marketing-oriented green furniture and office solutions – PbootCMS website template; Download office desk and chair website source code – 0647 Practical Collection pbootcms Template

A green-themed, marketing-oriented office furniture website template designed for the PbootCMS platform – compatible with both PC and WAP devices. Featuring a modern, minimalist design style, it effectively showcases the aesthetic appeal and practicality of office furniture products such as desks, chairs, and screens. This template helps furniture businesses showcase their product lines online, enhance their brand image, and boost sales performance. Template Preview | Installation Instructions | Website Backend: /admin.php | Username: admin | Password: admin | Extract password...
👁 62
Responsive greenery and floral website template – 0716

Responsive greenery and floral website template – 0716 Practical Collection Yiyou template

An eYouCMS responsive website template designed for the greenery and floriculture industries. Its fresh and natural design is ideal for showcasing plant and floral products, cultivation techniques, brand stories, and gardening services. This template helps floral and greenery brands effectively present their products online, attracting both individual and corporate customers. Template Overview | Installation Instructions | Website Backend: /login.php | Username: admin | Password: admin | Related Articles: Common Questions About eYouCMS Installation...
👁 46
(PC + WAP) Ceiling Circulating Fan – Marketing-oriented PbootCMS Website Template; Download Source Code for Small Household Electrical Appliances Websites – 0034

(PC + WAP) Ceiling Circulating Fan – Marketing-oriented PbootCMS Website Template; Download Source Code for Small Household Electrical Appliances Websites – 0034 Practical Collection pbootcms Template

A marketing PbootCMS website template for ceiling circulation fans and small household appliances industries, supporting PC and mobile terminals. The design style is fresh and energetic, suitable for displaying electric fans, circulation fans and other home appliances. The template has built-in product highlights, technical advantages and e-commerce shopping guide modules, which can help small home appliance brands quickly increase sales and influence online. Template display installation instructions website backend:/admin.php account: admi...
👁 49
Marketing-oriented plastic sheet purification and environmental protection equipment website template 0092

Marketing-oriented plastic sheet purification and environmental protection equipment website template 0092 Practical Collection Yiyou template

An EyouCMS website template designed for enterprises specializing in marketing-oriented plastic sheet products and environmental purification equipment. Its eco-friendly design is ideal for showcasing plastic sheet products, purification equipment, and technical solutions. This template helps environmental materials companies showcase their products online and attract industrial customers. Template Demo | Installation Instructions | Website Backend: /login.php | Username: admin | Password: admin | Related Articles: Summary of Common Installation Issues for EyouCMS | Eyou...
👁 42