Hongmu Notes
Small problems with jquery each and splicing

Small problems with jquery each and splicing Language Notes JavaScript

Selector + traversal $('div').each(function (i){   i is the index value   this means traversing each dom object }); $('div').each(function (index,domEle){   index is the index...
👁 147
jquery common codes

jquery common codes Language Notes JavaScript

Hover event: <script>     $(function () {     $(".pro_box a").hover(function(){      &nb…
👁 154
Empire website url Baidu api push code

Empire website url Baidu api push code Summary of pitfalls

Baidu Push Code for EmpireCMS – I personally use this code; if you don't know how to use it, don't try to modify it casually. You will need to adjust the URL, modify the database table, and change the Baidu API key. <?php define('EmpireCMSAdmin', '1'); require('e/class/connect.php');...
👁 167
Eight great acupoints

Eight great acupoints Hobbies Memo notes

Badada acupoint, Guhui Dazhu acupoint, Jinhui Yanglingquan, Xuehui Geshu, Qihui Tanzhong, Meridian Hui Taiyuan, Zanghui Zhangmen, Fu Huizhong wrist, Marrow Hui bone.
👁 373
The five internal organs corresponding to the eyes, diagnosis

The five internal organs corresponding to the eyes, diagnosis Hobbies Memo notes

By looking from the outside to the inside, we can use our eyes to judge the coordinated relationship between various organs in the human body. This allows us to prevent the occurrence of diseases as early as possible! Diagnosis of bags under the eyes: The location of the kidney meridian in normal people is the location of the kidneys under the bags under the eyes. During the consultation, I looked over and realized that the bags under the patient's eyes were dark, which meant that the kidneys had been injured. If the bags under the eyes bulge very much, like a lying silkworm, it means there is edema and the patient has water accumulation. If not…
👁 194
PHP foreach jumps out of this/current loop and terminates the loop method

PHP foreach jumps out of this/current loop and terminates the loop method Language Notes PHP

`continue`: Exit the current iteration; `break`: Terminate the loop; `exit`: Ends the execution of the program; `return`: Ends a block of code; $arr = array('le', 'yang', 'jun', 'lecode', 'gagade');...
👁 201
The empire cms editor line break is changed to p tag

The empire cms editor line break is changed to p tag Program Notes Empire cms

When you press Enter in the EmpireCMS backend editor, a `<br>` tag will appear; this tag can be seen when you view the "Source Code" (in the top-left corner). The `<br>` tag serves as a mandatory line break and is less preferable than the paragraph tag. Although the visual effect of both tags is similar—both cause the text to start on a new line—the paragraph tag makes the page structure more readable when viewed in the source code. Step 1: Locate the following three files: `\e\admi...`
👁 163
PHP generates random numbers with specified number of digits

PHP generates random numbers with specified number of digits Language Notes PHP

How can I generate a random number with 70 to 80 digits? To solve this problem, I wrote a function: "`php function rand_num($num = 1){ &nbsp;&nbsp;&nbsp; $num = (int) $num; $rand ="; //... "`
👁 187
Empire cms php calls random lines in text

Empire cms php calls random lines in text Program Notes Empire cms

function rand_txt($filename = &quot;hot&quot;, $type = 1){if(!file_exists(ECMS_PATH.&quot;d/{$filename}.txt&quot;)){return &quot;请检查网站根目录下/d/{$file...
👁 169
typecho background custom field multi-selection

typecho background custom field multi-selection Program Notes Typecho

Typecho background custom field multi-select code is as follows, perform research, where the multi-select is the value corresponding to the option name, the default is the first one, mainly depends on the subscript $biaosi = new Typecho_Widget_Helper_Form_Element_Select('biaosi',array('1'=>&…
👁 230
1 290 291 292 293 294 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