Hongmu Notes
jquery screen size judgment

jquery screen size judgment Language Notes JavaScript

<script> $(function () { if($(window).width() <= 760){ $("#css").attr("href","./static/css/style_m.css"); } })…
👁 191
swiper displays in different ways on different screens

swiper displays in different ways on different screens Language Notes JavaScript

breakpoints: { 320: { //When the screen width is greater than or equal to 320 slidesPerView: 2, slidesPerGroup: 2, spaceBetween: 50 }, 1000: { //When the screen width is greater than or equal to 768 slidesPerView: 3, slidesPerGroup:…
👁 151
PHP generates fixed number based on title

PHP generates fixed number based on title Language Notes PHP

substr(str_replace(array("a","b","c","d","e","f","g","h","i"…
👁 134
Summary of experience in installing sphinx on Linux

Summary of experience in installing sphinx on Linux Program Notes sphinx

1. The installation directory must be located within the same directory as MySQL; the Ptao directory is: /www/server/2. The `etc` folder contains three files: `example.sql`, `sphinx.conf.dist`, and `sphinx-min.conf.dist`. The first file is an MySQL instance file provided for importing your database; using this instance can help you better understand the setup. The second file is for configuration...
👁 351
Empire Big Data Project Notes

Empire Big Data Project Notes Program Notes Empire cms

October 6, 2022:1. Create an aggregated table – the vanguard of big data! To create an aggregated table, use the following syntax: CREATE TABLE `i9j_cn`. `phome_book_1` (`id` INT(10) NOT NULL AUTO_INCREMENT COMMENT 'id', `book` VARCHAR(255) NOT NULL...
👁 148
curl post submission example

curl post submission example Summary of pitfalls

<?php $host = '"/"; $path =' "/wyc/title&quot;; $method = '"POST&quot;; $apikey =' "The API key you wish to use&quot;; $headers = array();...
👁 177
php sql read and write operation database

php sql read and write operation database Language Notes PHP PHP collection PHP and mysql

I am about to learn object-oriented, so some codes need to be deleted. Here is a record. This string of code is mainly used for writing operations in the empire database, etc.
👁 123
Empire uses PHP to generate sitemap files

Empire uses PHP to generate sitemap files Program Notes Empire cms

This code can be used directly; however, one thing to note is that if your website contains a large number of articles, you may need to modify part of the code – it appears that Baidu has a limit on the number of links allowed in a sitemap. If the number of links is too high, it may not be optimal; sitemap code <?php /* Include files */ require('e/class/connect.php'); require('e/class/d...
👁 253
js move the mouse up to modify the style attribute

js move the mouse up to modify the style attribute Language Notes JavaScript

When the mouse hovers over the element, the color changes to red; when the mouse leaves the element, the color changes to black. To retrieve an element by its ID: `document.getElementById()`; Event handler for mouse hover: `onmouseover`; Event handler for mouse leave: `onmouseout`.<!DOCTYPE html><html lang= "en">...
👁 130
PHP gets Baidu drop-down words

PHP gets Baidu drop-down words Language Notes PHP

Sometimes, when performing SEO tasks, you may want to use a script to automatically modify page titles; in such cases, you can utilize Baidu's dropdown keyword database for automatic matching and modification. Below is a PHP snippet for retrieving Baidu's dropdown keyword data: // Retrieve Baidu dropdown information $title = urlencode($data['title']); $api = "https://www.baidu.com/sugrec?pr...";
👁 498
1 293 294 295 296 297 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