-
Swipe left and right dynamic navigation bar 1. The following replacement is not used, and the bottom method is finally adopted. {php} // print_r($modules['navbar']->Content); &nb... -
Phpword php exports word wordpress instances, sets fonts, exports codes, etc Wordpress code snippet function content_to_word(){ global $wpdb; date_default_timezone_set('Asia... -
Number of articles called in a week (the current time is pushed forward by 6 days) Zblogphp code snippet function tt_api_art_get_num_oneweek(){ global $zbp; $db = $zbp->d... -
Zblogphp cancels the plug-in interface, invalidates an interface, and cancels the interface method Cancel the plug-in interface to disable an interface. Cancel the interface method function ActivePlugin_tt_app_in_out(){ Add_Filter_Plugin('Filter_Plugin_Zbp_PreLoad', 'xxx_in_out_Cm... -
MySQL nested query -- in nested query MySQL Nested Query -- in Nested Query SELECT * FROM ` zbp_post ` where log_ID IN (SELECT dy_Post_ID FROM ` zbp_ttzhuanti_dy `&nbs -
Zblogphp calls the classified articles {php} function tt_Getrelated($article){ global $zbp; return $zbp->GetPostList( array('*'), array(array(&#... -
Zblog Create Table - Standard Create Table $table['tt_youhua_Table']='%pre%tt_youhua'; $datainfo['tt_youhua_DataInfo']=array( ... -
Zblogphp has the same memory function as asp Change js first//********************************************************* //Purpose: Set Cookies //Input: sNa -
Zblogasp determines whether the spider comes from Baidu <% function checkbd() dim i,agent,searray agent="agent:"&LCase(request.servervariables("http_user_agent")) se... -
Zblogphp: Get the total number of articles with the now timestamp of the current day Php code: function tt_allzhan_TodayNum() {global $zbp; $db=$zbp ->db ->sql ->get(); $sql = $db->select('... -
Zblogphp: Apache pseudo static static directory configuration with 403 problems <IfModule mod_rewrite.c> RewriteEngine On RewriteBase /2019/app/RewriteCond %{REQUEST_FILENAME} !- f [OR] Rewrit... -
Zblogphp: pseudo static setting of nginx subdirectory installation website The pagoda can be set in the pseudo static of a single website by directly entering the following: location/{ if (-f $request_filename/index.html){ rewrite (.*) $1/index.html break;... -
Zblogphp homepage cms infinite classification module random sorting infinite style implementation method During this period of time, the company had no time to write a blog. Today, I have time to do this.. Some time ago, a developer friend asked me how to implement the unlimited sorting of cms unlimited classification module in the home page. I considered the implementation method of unlimited style. So I wrote the following example code, hoping to help you. 1. First is the background function code:/* $type: module style $data: data */function tutu_mokua -
Zblog php useful code collection (5) - get the number of articles in a certain year and month $a=strtotime($date->year . '-' . $date->mon); &nb... -
Coded mobile phone -- IE supports placeholder (compatible) In the process of developing customized zblog themes, I encountered that placeholder is not compatible with ie, so I went to the Internet to find relevant codes. I found the following code useful, so I collected it to make placeholder compatible with IE: $(document). ready (function()){ &nbs... -
The database processes events and prompts you to use the visiting spider statistics plug-in I have nothing to do today. To send messages to prove their existence. Recently, there have been a lot of things. First, I went to Hangzhou, and then I came back busy with the customized list of customers. All of them have customized functions. Although I am tired, I am OK. Thank you for your support and sponsorship. Here. I have already sent this message twice before sending this message. Although the prompt was successful when clicking Submit, there is nothing in the article list. Why.. So guess that the submission is successful