spiderlogs.php
来自「sabreipb 2.1.6 utf-8中文版本!」· PHP 代码 · 共 110 行
PHP
110 行
<?php/*+--------------------------------------------------------------------------| Invision Power Board v2.1.5| =============================================| by Matthew Mecham| (c) 2001 - 2005 Invision Power Services, Inc.| | =============================================| Web: | Time: Wed, 01 Mar 2006 19:11:27 GMT| Release: | Licence Info: +---------------------------------------------------------------------------| > $Date: 2006-3-6| > $Revision: 23 $| > $Author: matt $+---------------------------------------------------------------------------|| > Spider (MAN) Logs| > Module written by Matt Mecham| > Date started: 28th May 2003|| > Module Version Number: 1.0.0| > DBA Checked: Tue 25th May 2004+--------------------------------------------------------------------------*/if ( ! defined( 'IN_ACP' ) ){ print "<h1>Incorrect access</h1>You cannot access this file directly. If you have recently upgraded, make sure you upgraded 'admin.php'."; exit();}class ad_spiderlogs { var $base_url; /** * Section title name * * @var string */ var $perm_main = "admin"; /** * Section title name * * @var string */ var $perm_child = "spiderlog"; function auto_run() { //----------------------------------------- // Kill globals - globals bad, Homer good. //----------------------------------------- $tmp_in = array_merge( $_GET, $_POST, $_COOKIE ); foreach ( $tmp_in as $k => $v ) { unset($$k); } $this->ipsclass->admin->nav[] = array( $this->ipsclass->form_code, '鎼滅储寮曟搸璁板綍' ); //----------------------------------------- // Get bot names //----------------------------------------- foreach( explode( "\n", $this->ipsclass->vars['search_engine_bots'] ) as $bot ) { list($ua, $n) = explode( "=", $bot ); $this->bot_map[ strtolower($ua) ] = $n; } switch($this->ipsclass->input['code']) { case 'view': $this->ipsclass->admin->cp_permission_check( $this->perm_main.'|'.$this->perm_child.':' ); $this->view(); break; case 'remove': $this->ipsclass->admin->cp_permission_check( $this->perm_main.'|'.$this->perm_child.':remove' ); $this->remove(); break; //----------------------------------------- default: $this->ipsclass->admin->cp_permission_check( $this->perm_main.'|'.$this->perm_child.':' ); $this->list_current(); break; } } //----------------------------------------- // Remove archived files //----------------------------------------- function view() { $start = $this->ipsclass->input['st'] ? $this->ipsclass->input['st'] : 0; $this->ipsclass->admin->page_detail = "鏌ョ湅鎼滅储寮曟搸鐨勬墍鏈夋搷浣滆
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?