Li Yang's personal blog template demonstration station

Theme template demonstration station, there must be one you like

Z-blogPHP call article, the first tutorial with different styles

In fact, I had planned to create a cms blog theme for a long time, but due to my own time and technical constraints, there has always been a problem unsolved, that is, calling the articles under a certain column. The first article has a different arrangement style from other articles. For example, the current blog of our site calls five articles, of which the first article has a different style from the other four, It looks better like this, don't you think? I also thought about using other methods to solve the problem, but none of them is ideal. There are too many codes piled up, which affects the speed of the website, which goes against the original intention of making a theme. I finally learned this skill a few days ago. I saw it in the Tianxing blog tutorial, so the Brieflee theme came out. When I have time today, I can write this tutorial. If necessary, I can take it away directly

Z-blogPHP Comment Beautify Tutorial

For days, I was tired and forced. When I was bored, I saw an article on Tu Tuyan's blog to beautify the comments. I added "@ name" to the tutorial before replying to the message. I felt it was good. I tested it myself and it was pretty good, as shown in the figure: friends who like it can try to modify it by themselves, and pay attention to backup before modifying the template! Pay attention to backup! Primary Backup! Use FTP and other remote connection tools, open the website directory, find the theme template file comment.php, search for "{$comment. Content}" and add the following code in front of it: {if $comment. ParentID!=0} {php} $newc=$zbp->GetCommen

Qiniu Cloud Storage Batch Download Tutorial

Once upon a time, Qiniu Cloud storage, including images, was also enabled on our blog, which was generally very good. I remember that when I used it, I said that colleagues could store files. At that time, the configured attachments uploaded by Qiniu were transferred directly to Qiniu Cloud storage, but not locally. When the whole site enabled HTTPS, I found that the images are all in http format, so I rebind the Qiniu https domain name, but it costs money. After comprehensive consideration, the website gave up https. These days, I have been thinking about how to download all the attachments and images in the cloud space, and then upload them to the server. That is to give up Qiniu Cloud. Baidu has found this method is feasible, So organize the tutorials and share them

Manually close the 445 port operation tutorial

It is recommended to disconnect the network first, and then close the port. After closing the port, you can download patches or repair tools online Step 1: Start Menu - Open the Windows Firewall in the control panel, and ensure that the firewall is in the enabled state Windows system patch download address Windows XP, Windows Server 2003, Windows8 and other systems please visit: Windows7, For Windows 8.1, Windows Server 2008, Windows 10, Windows Server 2016 and other systems, please visit: here

PHP error WARNING: SESSION_START() [FUNCTION. ESSION-START] Solution

This article mainly introduces the solution to the PHP error WARNING: SESSION_START() [FUNCTION. ESSION-START]. You can refer to the following for friends who need it. Sometimes, when operating sessions, you will encounter this problem: Warning: session_start() [function. session start]...... System environment: WIN2003+IIS6+PHP5.2.12PHP has the following error: Warning: session_start() [function. session start]: failed

Tutorial on Converting MySQL Database InnoDB to MyISAM

I accidentally found that the WordPress site database is very large, but there are less than 10 articles in this site. It's unreasonable to have such a large database. Then start to find out the reason. It is found that the database type in the background of phpmyadmin is different from other wp sites. This site is InnoDB and the other wp sites are MyISAM. I also forgot how it came about. InnoDB type will cause the size of the database to expand several times, so I decided to convert from InnoDB type to MyISAM type. The database is a bit troublesome. I went to the Internet and found no exact answer. I simply asked the military brother on the forum and soon got a reply. Here, I would like to praise the diligent military brother and thank him for his lnmp

The code "This site has been running safely for XX days" at the bottom of the zblog page

I had an idea when I was working on the website. I wanted to add a "This website has been running safely for XX days" at the bottom of the website, but I was busy and forgot it later. Today, I checked the information and found that other websites had this tip, so I remembered to put the code on the website. If necessary, I can modify it myself and return it. The code is simple, easy and does not occupy any resources. The code is as follows: The html code is placed at the bottom of the website< a> This site has been running for<a id="days">0</a>days</a>The JS code is as follows: the code can be placed before</body>, and the time is your site establishment time (remember to cancel<scr

How to convert Tencent video qlv format to mp4

Today, I watched the Langya List. I saw that Hu Ge met Nie Feng in that episode. The acting skills were really gone. It was off the topic. Then I downloaded the video. But when I uploaded the space, I failed to find the Tencent video I just downloaded. The reason is that the video format is in the qlv format, so I used transcoding software to convert Tencent video into mp4 in the qlv format, but the software also failed to achieve... This is embarrassing. Friends who like to use Tencent video should know that Tencent video has produced a separate QLV format file, which can only be played using Tencent's unique Tencent video software, even if format factory conversion is not possible. I don't know if you have tried it. Baidu later found that the original QLV file of Tencent video can be converted to MP4 format, recording the transformation process; Tencent video ql

What if Windows10 can't open built-in applications?

A few days ago, I installed the Win10 system for my colleagues. After the installation, I encountered a thorny problem. I couldn't open my own software (such as calculator, weather, calendar, etc; The newly installed system has not set anything, but it is unable to open all built-in applications, so Baidu has a look. The principle is that this situation is mainly related to Win10 permission settings. In brief, the security design requirements of built-in software need to be supported by UAC. Generally speaking, it is the built-in administrator It is not used to perform daily operations. If you want to run the Modern APP, you can either set up another account (even if this account is the same as

One line of code solves the incompatibility of IE6, IE7 and IE8

Recently, I was sorting out the mate tags on web pages, and I wanted to record the commonly used mate tags. Some of them can solve the problem of IE incompatibility. Now generally speaking, the lowest version of Internet Explorer should be IE8, but it is not ruled out that some backward computer machines are still IE6.7, so we should sort out the relevant data for backup. Give priority to the latest version of IE and Chrome<meta http equiv="X-UA-COmpatible" content="IE=edge, chrome=1"/><-- About X-UA-Compatible -->&

How Baidu Encyclopedia successfully created entries (editorial)

Yesterday, we talked about how Baidu Encyclopedia successfully created entries (preparatory chapter). So we are ready to start implementing it. In fact, this article does not have any skills. It is mainly to organize and edit the reference materials. Avoid subjective words. After having reference materials, you can extract the contents of the reference materials for editing. There are two points to note: (1) The contents of the entries must appear in the reference materials; (2) Be sure to remove subjective, emotional and adjective words, such as rich and beautiful...... Enterprise entries can try enterprise channels. I won't say much about this. The entry specially prepared for the enterprise entry will have a greater chance of passing through the enterprise entry. 1. Modify according to the review. For such terms with obvious commercial nature, it is possible for the machine to pass the review

An error occurred during the installation of zblogasp. The left side shows that the Access database cannot be used

Today, I suddenly remembered a previous website blog. I felt it was good, but it belonged to zblogasp, so I wanted to migrate it to the zblogphp version. But after restoring the website data, I logged in to the background and displayed it. The database connection error occurred. Because the asp+access type and directory location were both correct, it might be that the access database connection failed. To verify this theory, download zblogasp 2.2 again and reinstall it. The left side shows that the Access database cannot be used, but the server itself supports the access database. The reason is that Microsoft will give up access, so it has not developed the 64 bit access database. My server win7 is 64 bit, and it also cannot support

Powered By Z-BlogPHP 1.7.2

Copyright 2015-2016  LiBlog.Cn.  All Rights Reserved.   Liao ICP Bei No. 15015379