Hongmu Notes
Click to expand the menu js code on the mobile side

Click to expand the menu js code on the mobile side Language Notes JavaScript

HTML code: <div class= "menu" > <i></i> <i></i> <i></i> </div> CSS code:.hdCon.menu {width: 40px; border...
👁 174
How to add floating online customer service to the right side of the website in HTML

How to add floating online customer service to the right side of the website in HTML Summary of pitfalls

Legend – Total Code <div class="kf" style="right: 20px;"> <div class="kt-top" style="background-color: #35c5a3"> Online Customer Support <span class="close"> <b>...
👁 127
php gzcompress() and gzuncompress() functions implement string compression

php gzcompress() and gzuncompress() functions implement string compression Language Notes PHP

:(Comical) When we talk about compression, we might think of file compression; however, strings can also be compressed. PHP provides the `gzcompress()` and `gzuncompress()` functions: `$string = "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nu...";`
👁 110
PHP glob() function

PHP glob() function Language Notes PHP

Definition and Usage: The `glob()` function returns the filenames or directory names that match a specified pattern. This function returns an array containing the matched filenames or directory names; if an error occurs, it returns `false`. Syntax: `glob(pattern, flags)`. Parameters: - `pattern`: Required. Specifies the search pattern. - `flags`: Optional. Specifies special options. Example: Example 1: `<?php print_r(glob('*.php'));`
👁 129
Example of how to obtain the top-level domain name in the URL address using PHP

Example of how to obtain the top-level domain name in the URL address using PHP Language Notes PHP

This article demonstrates an example of how to use PHP to extract the top-level domain (TLD) from a URL. We share this code for your reference; the implementation is as follows: The `parse_url()` function returns the host portion of a URL, which may contain multiple-level domains (e.g., `mp.weixin.qq.com`). When creating a domain blacklist, it is necessary to identify the top-level domain. If you find any shortcomings in this code, please leave a comment to point them out – thank you! <?php /** * @Author: Di...
👁 152
How does Imperial CMS determine whether a member is logged in?

How does Imperial CMS determine whether a member is logged in? Program Notes Empire cms

This article demonstrates an example of how to determine whether a member is logged in using EmpireCMS; certain content can only be viewed after logging in, and is inaccessible if the user is not logged in. For this purpose, you may refer to the following code: <?php include("e/class/connect.php"); lguserid=intval_GET['mluserid']); // Logged-in user ID...
👁 254
PHP iconv encoding conversion in file

PHP iconv encoding conversion in file Language Notes PHP

Convert UTF-8 to GBK $data = iconv(&quot;utf-8&quot;,&quot;GBK//IGNORE&quot;,$data); Convert GBK to UTF-8 $data = iconv(&quot;GBK&quot;,&quot;utf-8//IGNORE&quot;,$data); IG...
👁 177
Bootstrap5 container document translation

Bootstrap5 container document translation Language Notes Bootstrap

Containers are the fundamental building blocks of Bootstrap; they are used to contain, fill, and align content within a specific device or viewport. Containers are the most basic layout elements in Bootstrap and are essential when using our default grid system. They are used to hold, fill, and (sometimes) center content. While containers can be nested, most layouts do not require nested containers. Bootstrap comes with three types of containers...
👁 190
css background color gradient attribute (linear

css background color gradient attribute (linear Language Notes CSS

Syntax: <linear-gradient> = linear-gradient([ [ <angle> | to <side-or-corner> ] ,]? <color-stop>[, <color-stop>]+) <side-o…
👁 240
After css is floated, the parent box has no height solution

After css is floated, the parent box has no height solution Language Notes CSS

As shown below, the child element div2 itself has height and width, but since it has float:left; attribute. Its parent element div1 has no height. <html> <head> </head> <body> <div id="div1"> <…
👁 171
1 300 301 302 303 304 315

🔥 Popular articles

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…
👁 3752
Imperial cms imitation website tutorial corresponding notes

Imperial cms imitation website tutorial corresponding notes Program Notes Empire cms

Hello everyone, welcome to learn the imperial cms imitation website tutorial. I am Hong Mu qq1810216796 QQ exchange group: 9589723231 Imperial cms website installation. Hello everyone, welcome to learn the imperial cms imitation website tutorial. I am Hong Mu qq: 1810216796 qq exchange group: 958972323 Build an imperial program. If you have a server and have built an imperial website on the server, then...
👁 3413
Empire cms7.5 payment upgraded and optimized version of the library sample automatically generates word/PDF documents paid copy download with payment system member center whole site template source code sitemap Baidu push + installation tutorial 014

Empire cms7.5 payment upgraded and optimized version of the library sample automatically generates word/PDF documents paid copy download with payment system member center whole site template source code sitemap Baidu push + installation tutorial 014 Practical Collection empire template

This set of templates has a complete member center on mobile and PC. The member center template is also very good! By the way, there are also corresponding locomotive collection rules! Regarding installation, upload the direct installation version, install it directly, and then restore the data in the background. There is a view more on the mobile phone. If there is a problem, you can copy the view more code in index.js on the PC. If it has not taken effect yet, please check whether the js file renderings are referenced...
👁 2697