Changeset 2321292
- Timestamp:
- 06/10/2020 03:32:55 AM (6 years ago)
- Location:
- spiderdisplay
- Files:
-
- 4 added
- 2 edited
-
tags/1.8 (added)
-
tags/1.8/SpiderDisplay-zh_CN.mo (added)
-
tags/1.8/SpiderDisplay.php (added)
-
tags/1.8/readme.txt (added)
-
trunk/SpiderDisplay.php (modified) (5 diffs)
-
trunk/readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
spiderdisplay/trunk/SpiderDisplay.php
r2115878 r2321292 2 2 /* 3 3 Plugin Name: SpiderDisplay 蜘蛛痕迹记录 4 Plugin URI: http s://www.fyljp.com/p/36.html4 Plugin URI: http://fyljp.com/archives/48.html 5 5 Description: 记录搜索引擎蜘蛛访问的页面地址、时间等信息 6 Version: 1. 76 Version: 1.8 7 7 Author: 闪电 8 8 Author URI: http://www.fyljp.com … … 30 30 function sd_spiderdisplay_install() 31 31 { 32 add_option("SpiderDisplayVersion", " 2");32 add_option("SpiderDisplayVersion", "3"); 33 33 global $wpdb; 34 34 $sd_spiderdisplay_table_name = $wpdb->prefix . "spiderdisplay"; … … 92 92 echo "</h2>"; 93 93 ?> 94 <style> 95 table { 96 border-collapse: collapse; 97 } 98 99 table, td, th { 100 border: 1px solid black; 101 } 102 </style> 94 103 <table border="1"> 95 104 <tr> … … 157 166 $spidercountall = $wpdb->get_results("SELECT * , COUNT(*) as 'allcount' FROM `wp_spiderdisplay` WHERE 1 GROUP BY `spidername` ORDER BY `allcount` DESC"); 158 167 ?> 168 <style> 169 table { 170 border-collapse: collapse; 171 } 172 173 table, td, th { 174 border: 1px solid black; 175 } 176 </style> 159 177 <table border="1"> 160 178 <tr> … … 186 204 { 187 205 $data_arr = array( 188 "visittime" => date("Y-m-d H:i:s",$_SERVER["REQUEST_TIME"]),206 "visittime" => current_time('mysql',0), 189 207 "spidername" => $bot_name, 190 208 "visiturl" => $s_uri -
spiderdisplay/trunk/readme.txt
r2115878 r2321292 4 4 Tags: Spider,Bot 5 5 Requires at least: 4.6 6 Tested up to: 5. 2.27 Stable tag: 1. 76 Tested up to: 5.4.1 7 Stable tag: 1.8 8 8 Requires PHP: 5.6 9 9 License: GPLv2 or later … … 31 31 == Changelog == 32 32 33 = 1.8 = 34 35 * Fix time bug 修复了时间问题 36 37 * Support up to 38 33 39 = 1.7 = 34 40
Note: See TracChangeset
for help on using the changeset viewer.