📄 setting.php
字号:
<?php
/*
+-----------------------------------------------------------------------------+
| $Id: *.php,v 1.* 2005/07/01 06:15:08 Bleakwind Exp $
| SnowStats
| --- A Web Statistics Analysis for multiuser
| Copyright (c) 2003-2005 Weaverdream.com By Bleakwind
| http://www.weaverdream.com
+-----------------------------------------------------------------------------+
*/
// System variable
$SETTING = array(
'dir_ipdata' => 'ipdata/',
'dir_data' => 'userdata/',
'dir_fonts' => 'fonts/',
'dir_js_picture' => 'images/js_picture/',
'dir_js_icon' => 'images/js_icon/',
'dir_image_custom' => 'images/image_custom/',
'file_config' => 'config.php',
'file_forbidip' => 'forbidip.php',
'file_ipsame' => 'ipsame.php',
'file_click' => 'click.php',
'file_totalmonth' => 'totalmonth.php',
'file_totalday' => 'totalday.php',
'file_totalhour' => 'totalhour.php',
'file_year' => 'year.php',
'file_month' => 'month.php',
'file_day' => 'day.php',
'file_hour' => 'hour.php',
'file_online' => 'online.php',
'file_visitor' => 'visitor.php',
'file_os' => 'os.php',
'file_browser' => 'browser.php',
'file_language' => 'language.php',
'file_colordepth' => 'colordepth.php',
'file_screensize' => 'screensize.php',
'file_timezone' => 'timezone.php',
'file_searchfrom' => 'searchfrom.php',
'file_searchkeyword' => 'searchkeyword.php',
'division1' => '|',
'division2' => '.',
'howyear' => '10',
'cannotview' => '<h1>Forbidden</h1><p>You don\'t have permission to access on this server.</p>',
'ver' => 'Ver1.31',
);
// Searcher from
$SEARCHLIST = array(
'google' => array(
"url" => "http://www.google.com/",
"search" => array(
array('http://www.google.com/search?','q=','&','UTF-8'),
array('http://images.google.com/images?','q=','&','UTF-8'),
array('http://directory.google.com/','','','UTF-8'),
array('http://www.google.com.tw/search?','q=','&','UTF-8'),
array('http://images.google.com.tw/images?','q=','&','UTF-8'),
array('http://directory.google.com.tw/','','','UTF-8'),
),
),
'baidu' => array(
"url" => "http://www.baidu.com/",
"search" => array(
array('http://www.baidu.com/s?','wd=','&','GB2312'),
array('http://image.baidu.com/i?','word=','&','GB2312'),
array('http://site.baidu.com/','','','GB2312'),
),
),
'yisou' => array(
"url" => "http://www.yisou.com/",
"search" => array(
array('http://www.yisou.com/search?','p=','&','GB2312'),
array('http://image.yisou.com/searchdtl.html?','p=','&','GB2312'),
array('http://www.yisou.com/search.html?','p=','&','GB2312'),
array('http://www.1sou.com/search?','p=','&','GB2312'),
array('http://image.1sou.com/searchdtl.html?','p=','&','GB2312'),
array('http://www.1sou.com/search.html?','p=','&','GB2312'),
),
),
'yahoo' => array(
"url" => "http://www.yahoo.com/",
"search" => array(
array('http://search.yahoo.com/search?','p=','&','UTF-8'),
array('http://images.search.yahoo.com/search/images/view?','p=','&','UTF-8'),
array('http://video.search.yahoo.com/video/view?','p=','&','UTF-8'),
array('http://search.yahoo.com/search/dir?','p=','&','UTF-8'),
),
),
'3721' => array(
"url" => "http://www.3721.com/",
"search" => array(
array('http://cns.3721.com/cns.dll?','p=','&','GB2312'),
array('http://seek.3721.com/right.htm?','p=','&','GB2312'),
array('http://seek.3721.com/left.htm?','p=','&','GB2312'),
),
),
'sohu,sogou' => array(
"url" => "http://www.sogou.com/",
"search" => array(
array('http://search.sohu.com/web?','query=','&','GB2312'),
array('http://www.sogou.com/web?','query=','&','GB2312'),
array('http://dir.search.sohu.com/site?','query=','&','GB2312'),
array('http://dir.sogou.com/dirsearch.jsp?','','','GB2312'),
array('http://dir.sohu.com/','','','GB2312'),
),
),
'sina' => array(
"url" => "http://search.sina.com.cn/",
"search" => array(
array('http://search.sina.com.cn/cgi-bin/search/search.cgi?','_searchkey=','&','GB2312'),
array('http://pic.sina.com.cn/cgi-bin/retr/show?','query=','&','GB2312'),
array('http://dir.sina.com.cn/search_dir/','','','GB2312'),
),
),
'163' => array(
"url" => "http://so.163.com/",
"search" => array(
array('http://site.so.163.com/search.php?','q=','&','GB2312'),
array('http://page.so.163.com/psearch.php?','q=','&','GB2312'),
array('http://pic.so.163.com/showimg.php?','q=','&','GB2312'),
array('http://search.163.com/dirlist.php?','','','GB2312'),
),
),
'tom' => array(
"url" => "http://search.tom.com/",
"search" => array(
array('http://search.tom.com/search.php?','word=','&','GB2312'),
array('http://search.tom.com/searchpicsnap.php?','word=','&','GB2312'),
),
),
'china' => array(
"url" => "http://search.china.com/",
"search" => array(
array('http://search.china.com/search/result.php?','query=','&','GB2312'),
),
),
'msn' => array(
"url" => "http://search.msn.com/",
"search" => array(
array('http://search.msn.com/results.aspx?','q=','&','UTF-8'),
array('http://search.msn.com/images/details.aspx?','q=','&','UTF-8'),
),
),
);
?>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -