-
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 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... -
Zblog php useful code collection (IV) - topic background dedicated call page ID The ID of the theme background dedicated call page is modified according to the drop-down function of the zblog call classification. (compatible with 1.5) function YT_DeadLine_pagealls ($default) {global $zbp; $articles=$zbp ->GetPageList (array ('*'), a -
Tudou We Media Theme for zblogphp Released It passed the review on May 4, 2016. You are welcome to download it for comments. thank you: http://app.zblogcn.com/?id=1004 Apply from