📄 config.php
字号:
<?php
// --------------------------------------------
// | The EP-Dev Whois script
// |
// | Copyright (c) 2003-2005 EP-Dev.com :
// | This program is distributed as free
// | software under the GNU General Public
// | License as published by the Free Software
// | Foundation. You may freely redistribute
// | and/or modify this program.
// |
// --------------------------------------------
/* ------------------------------------------------------------------ */
// !!!!!!!!!!! DO NOT EDIT THIS FILE MANUALLY !!!!!!!!!!!!!!!!!!!!!!
// If you edit this file manually it is likely that the control panel
// will no longer work.
/* ------------------------------------------------------------------ */
/* ------------------------------------------------------------------ */
// Configuration Class
// Contains all configuration data
/* ------------------------------------------------------------------ */
class EP_Dev_Whois_Config
{
var $NAMESERVERS;
var $BUYMODE;
var $SCRIPT;
var $FILES;
function EP_Dev_Whois_Config()
{
$this->ADMIN['enabled'] = true;
$this->ADMIN['username'] = "admin";
$this->ADMIN['password'] = "admin";
$this->ADMIN['update_check'] = true;
$this->BUYMODE['PRICETABLE']['enable'] = false;
$this->BUYMODE['PRICETABLE']['num_rows'] = 3;
$this->BUYMODE['PRICETABLE']['num_columns'] = 5;
$this->BUYMODE['PRICETABLE']['include'] = "";
$this->BUYMODE['CONFIG']['currency_format'] = "us";
$this->BUYMODE['CONFIG']['currency_string'] = "";
$this->BUYMODE['CONFIG']['tld_search'] = "";
$this->BUYMODE['CONFIG']['enable'] = true;
$this->SCRIPT['TLD_DISPLAY']['num_rows'] = 6;
$this->SCRIPT['TLD_DISPLAY']['num_columns'] = 6;
$this->SCRIPT['TLD_DISPLAY']['include'] = "com, net, org, us, biz, info, tv, ws, cc, net.ru, com.ru, org.ru, pp.ru, to, com.au, cn, edu, de, pl, ac.uk, ac.jp, co.jp, no, com.tw, net.tw, org.tw";
$this->SCRIPT['TLD_DISPLAY']['alphabetize'] = true;
$this->SCRIPT['LOGS']['enable'] = true;
$this->SCRIPT['LOGS']['file'] = "logs/[[MONTH]]-[[YEAR]].txt";
$this->SCRIPT['LOGS']['type'] = "short";
$this->SCRIPT['LOGS']['all'] = false;
$this->SCRIPT['LOGS']['long_format'] = "<query>
<date>
<month>[[MONTH]]</month>
<day>[[DAY]]</day>
<year>[[YEAR]]</year>
<time>[[TIME]]</time>
</date>
<ip>[[IP]]</ip>
<domain>[[DOMAIN]]</domain>
<ext>[[EXT]]</ext>
</query>
";
$this->SCRIPT['LOGS']['short_format'] = "[[MONTH]]-[[DAY]]-[[YEAR]] [[DOMAIN]].[[EXT]] [[IP]]
";
$this->SCRIPT['limit_bypass'] = true;
$this->SCRIPT['copyright'] = true;
$this->SCRIPT['absolute_path'] = "";
$this->SCRIPT['version'] = "2.1";
$this->SCRIPT['SITE']['title'] = "Whois Search";
$this->SCRIPT['SITE']['url'] = "";
$this->SCRIPT['ERRORS']['domain_badlength'] = "The length of a domain name must be between 2 and 63 characters.";
$this->SCRIPT['ERRORS']['domain_badformat'] = "The domain must contain only numbers, letters, and hyphens (-). The domain must begin and end with a number or a letter.";
$this->SCRIPT['ERRORS']['bad_extension'] = "We currently do not support the TLD [[DATA-1]].";
$this->SCRIPT['ERRORS']['no_extension'] = "Please enter a valid extension.";
$this->SCRIPT['ERRORS']['default'] = "An unknown error occurred!<br>Error Code:[[DATA-0]]";
$this->FILES['folder']['classes'] = "classes/";
$this->FILES['folder']['admin'] = "admin/";
$this->FILES['file']['domains'] = $this->FILES['folder']['classes'] . "domains.php";
$this->FILES['file']['display'] = $this->FILES['folder']['classes'] . "display.php";
$this->FILES['file']['user'] = $this->FILES['folder']['classes'] . "user.php";
$this->FILES['file']['engine'] = $this->FILES['folder']['classes'] . "engine.php";
$this->FILES['file']['logs'] = $this->FILES['folder']['classes'] . "logs.php";
$this->NAMESERVERS['whois.crsnic.net']['enabled'] = true;
$this->NAMESERVERS['whois.crsnic.net']['keyword'] = "No match";
$this->NAMESERVERS['whois.crsnic.net']['format'] = "[[DOMAIN]].[[EXT]]";
$this->NAMESERVERS['whois.crsnic.net']['limit_format'] = "[[DOMAIN]].[[EXT]]";
$this->NAMESERVERS['whois.crsnic.net']['limit_keyword'] = "No match";
$this->NAMESERVERS['whois.crsnic.net']['timeout'] = 30;
$this->NAMESERVERS['whois.crsnic.net']['extensions'] = "com,net,edu";
$this->NAMESERVERS['whois.crsnic.net']['extensions_disabled'] = "";
$this->NAMESERVERS['whois.publicinterestregistry.net']['enabled'] = true;
$this->NAMESERVERS['whois.publicinterestregistry.net']['keyword'] = "NOT FOUND";
$this->NAMESERVERS['whois.publicinterestregistry.net']['format'] = "[[DOMAIN]].[[EXT]]";
$this->NAMESERVERS['whois.publicinterestregistry.net']['limit_format'] = "[[DOMAIN]].[[EXT]]";
$this->NAMESERVERS['whois.publicinterestregistry.net']['limit_keyword'] = "NOT FOUND";
$this->NAMESERVERS['whois.publicinterestregistry.net']['timeout'] = 30;
$this->NAMESERVERS['whois.publicinterestregistry.net']['extensions'] = "org";
$this->NAMESERVERS['whois.publicinterestregistry.net']['extensions_disabled'] = "";
$this->NAMESERVERS['whois.nic.uk']['enabled'] = true;
$this->NAMESERVERS['whois.nic.uk']['keyword'] = "No match";
$this->NAMESERVERS['whois.nic.uk']['format'] = "[[DOMAIN]].[[EXT]]";
$this->NAMESERVERS['whois.nic.uk']['limit_format'] = "[[DOMAIN]].[[EXT]]";
$this->NAMESERVERS['whois.nic.uk']['limit_keyword'] = "No match";
$this->NAMESERVERS['whois.nic.uk']['timeout'] = 30;
$this->NAMESERVERS['whois.nic.uk']['extensions'] = "co.uk,org.uk,net.uk";
$this->NAMESERVERS['whois.nic.uk']['extensions_disabled'] = "ltd.uk,plc.uk";
$this->NAMESERVERS['whois.nic.us']['enabled'] = true;
$this->NAMESERVERS['whois.nic.us']['keyword'] = "Not found";
$this->NAMESERVERS['whois.nic.us']['format'] = "[[DOMAIN]].[[EXT]]";
$this->NAMESERVERS['whois.nic.us']['limit_format'] = "[[DOMAIN]].[[EXT]]";
$this->NAMESERVERS['whois.nic.us']['limit_keyword'] = "Not found";
$this->NAMESERVERS['whois.nic.us']['timeout'] = 30;
$this->NAMESERVERS['whois.nic.us']['extensions'] = "us";
$this->NAMESERVERS['whois.nic.us']['extensions_disabled'] = "";
$this->NAMESERVERS['whois.neulevel.biz']['enabled'] = true;
$this->NAMESERVERS['whois.neulevel.biz']['keyword'] = "Not found";
$this->NAMESERVERS['whois.neulevel.biz']['format'] = "[[DOMAIN]].[[EXT]]";
$this->NAMESERVERS['whois.neulevel.biz']['limit_format'] = "[[DOMAIN]].[[EXT]]";
$this->NAMESERVERS['whois.neulevel.biz']['limit_keyword'] = "Not found";
$this->NAMESERVERS['whois.neulevel.biz']['timeout'] = 30;
$this->NAMESERVERS['whois.neulevel.biz']['extensions'] = "biz";
$this->NAMESERVERS['whois.neulevel.biz']['extensions_disabled'] = "";
$this->NAMESERVERS['whois.afilias.info']['enabled'] = true;
$this->NAMESERVERS['whois.afilias.info']['keyword'] = "not found";
$this->NAMESERVERS['whois.afilias.info']['format'] = "[[DOMAIN]].[[EXT]]";
$this->NAMESERVERS['whois.afilias.info']['limit_format'] = "[[DOMAIN]].[[EXT]]";
$this->NAMESERVERS['whois.afilias.info']['limit_keyword'] = "not found";
$this->NAMESERVERS['whois.afilias.info']['timeout'] = 30;
$this->NAMESERVERS['whois.afilias.info']['extensions'] = "info";
$this->NAMESERVERS['whois.afilias.info']['extensions_disabled'] = "";
$this->NAMESERVERS['whois.website.ws']['enabled'] = true;
$this->NAMESERVERS['whois.website.ws']['keyword'] = "no match";
$this->NAMESERVERS['whois.website.ws']['format'] = "[[DOMAIN]].[[EXT]]";
$this->NAMESERVERS['whois.website.ws']['limit_format'] = "[[DOMAIN]].[[EXT]]";
$this->NAMESERVERS['whois.website.ws']['limit_keyword'] = "no match";
$this->NAMESERVERS['whois.website.ws']['timeout'] = 30;
$this->NAMESERVERS['whois.website.ws']['extensions'] = "ws";
$this->NAMESERVERS['whois.website.ws']['extensions_disabled'] = "";
$this->NAMESERVERS['whois.nic.name']['enabled'] = true;
$this->NAMESERVERS['whois.nic.name']['keyword'] = "No match";
$this->NAMESERVERS['whois.nic.name']['format'] = "[[DOMAIN]].[[EXT]]";
$this->NAMESERVERS['whois.nic.name']['limit_format'] = "[[DOMAIN]].[[EXT]]";
$this->NAMESERVERS['whois.nic.name']['limit_keyword'] = "No match";
$this->NAMESERVERS['whois.nic.name']['timeout'] = 30;
$this->NAMESERVERS['whois.nic.name']['extensions'] = "name";
$this->NAMESERVERS['whois.nic.name']['extensions_disabled'] = "";
$this->NAMESERVERS['whois.nic.cc']['enabled'] = true;
$this->NAMESERVERS['whois.nic.cc']['keyword'] = "No match";
$this->NAMESERVERS['whois.nic.cc']['format'] = "[[DOMAIN]].[[EXT]]";
$this->NAMESERVERS['whois.nic.cc']['limit_format'] = "is [[DOMAIN]].[[EXT]]";
$this->NAMESERVERS['whois.nic.cc']['limit_keyword'] = "No match";
$this->NAMESERVERS['whois.nic.cc']['timeout'] = 30;
$this->NAMESERVERS['whois.nic.cc']['extensions'] = "cc";
$this->NAMESERVERS['whois.nic.cc']['extensions_disabled'] = "";
$this->NAMESERVERS['whois.cira.ca']['enabled'] = true;
$this->NAMESERVERS['whois.cira.ca']['keyword'] = "AVAIL";
$this->NAMESERVERS['whois.cira.ca']['format'] = "[[DOMAIN]].[[EXT]]";
$this->NAMESERVERS['whois.cira.ca']['limit_format'] = "[[DOMAIN]].[[EXT]]";
$this->NAMESERVERS['whois.cira.ca']['limit_keyword'] = "AVAIL";
$this->NAMESERVERS['whois.cira.ca']['timeout'] = 30;
$this->NAMESERVERS['whois.cira.ca']['extensions'] = "ca";
$this->NAMESERVERS['whois.cira.ca']['extensions_disabled'] = "ab.ca,bc.ca,mb.ca,nb.ca,qc.ca,pe.ca,on.ca,nt.ca,ns.ca,sk.ca,yk.ca";
$this->NAMESERVERS['whois.cnnic.net.cn']['enabled'] = true;
$this->NAMESERVERS['whois.cnnic.net.cn']['keyword'] = "no matching record";
$this->NAMESERVERS['whois.cnnic.net.cn']['format'] = "[[DOMAIN]].[[EXT]]";
$this->NAMESERVERS['whois.cnnic.net.cn']['limit_format'] = "[[DOMAIN]].[[EXT]]";
$this->NAMESERVERS['whois.cnnic.net.cn']['limit_keyword'] = "no matching record";
$this->NAMESERVERS['whois.cnnic.net.cn']['timeout'] = 30;
$this->NAMESERVERS['whois.cnnic.net.cn']['extensions'] = "cn";
$this->NAMESERVERS['whois.cnnic.net.cn']['extensions_disabled'] = "nx.cn,yn.cn,gd.cn,js.cn,he.cn,org.cn,net.cn,cq.cn,hl.cn,hn.cn,gz.cn,qh.cn,mo.cn,hk.cn,gs.cn,sc.cn,hb.cn,jl.cn,tj.cn,gov.cn,com.cn,sh.cn,ln.cn,ah.cn,hi.cn,sn.cn,xj.cn,xz.cn,tw.cn,gx.cn,zj.cn,nm.cn,bj.cn,ac.cn";
$this->NAMESERVERS['whois.cnnic.cn']['enabled'] = true;
$this->NAMESERVERS['whois.cnnic.cn']['keyword'] = "no matching record";
$this->NAMESERVERS['whois.cnnic.cn']['format'] = "[[DOMAIN]].[[EXT]]";
$this->NAMESERVERS['whois.cnnic.cn']['limit_format'] = "[[DOMAIN]].[[EXT]]";
$this->NAMESERVERS['whois.cnnic.cn']['limit_keyword'] = "no matching record";
$this->NAMESERVERS['whois.cnnic.cn']['timeout'] = 30;
$this->NAMESERVERS['whois.cnnic.cn']['extensions'] = "cn";
$this->NAMESERVERS['whois.cnnic.cn']['extensions_disabled'] = "nx.cn,yn.cn,gd.cn,js.cn,he.cn,org.cn,net.cn,cq.cn,hl.cn,hn.cn,gz.cn,qh.cn,mo.cn,hk.cn,gs.cn,sc.cn,hb.cn,jl.cn,tj.cn,gov.cn,com.cn,sh.cn,ln.cn,ah.cn,hi.cn,sn.cn,xj.cn,xz.cn,tw.cn,gx.cn,zj.cn,nm.cn,bj.cn,ac.cn";
$this->NAMESERVERS['whois.nic.tm']['enabled'] = true;
$this->NAMESERVERS['whois.nic.tm']['keyword'] = "No Match";
$this->NAMESERVERS['whois.nic.tm']['format'] = "[[DOMAIN]].[[EXT]]";
$this->NAMESERVERS['whois.nic.tm']['limit_format'] = "[[DOMAIN]].[[EXT]]";
$this->NAMESERVERS['whois.nic.tm']['limit_keyword'] = "No Match";
$this->NAMESERVERS['whois.nic.tm']['timeout'] = 30;
$this->NAMESERVERS['whois.nic.tm']['extensions'] = "tm";
$this->NAMESERVERS['whois.nic.tm']['extensions_disabled'] = "";
$this->NAMESERVERS['whois.domain-registry.nl']['enabled'] = true;
$this->NAMESERVERS['whois.domain-registry.nl']['keyword'] = "is free";
$this->NAMESERVERS['whois.domain-registry.nl']['format'] = "[[DOMAIN]].[[EXT]]";
$this->NAMESERVERS['whois.domain-registry.nl']['limit_format'] = "is [[DOMAIN]].[[EXT]]";
$this->NAMESERVERS['whois.domain-registry.nl']['limit_keyword'] = "is free";
$this->NAMESERVERS['whois.domain-registry.nl']['timeout'] = 30;
$this->NAMESERVERS['whois.domain-registry.nl']['extensions'] = "nl";
$this->NAMESERVERS['whois.domain-registry.nl']['extensions_disabled'] = "";
$this->NAMESERVERS['whois.denic.de']['enabled'] = true;
$this->NAMESERVERS['whois.denic.de']['keyword'] = "not found";
$this->NAMESERVERS['whois.denic.de']['format'] = "-T ace,dn [[DOMAIN]].[[EXT]]";
$this->NAMESERVERS['whois.denic.de']['limit_format'] = "-T ace,dn [[DOMAIN]].[[EXT]]";
$this->NAMESERVERS['whois.denic.de']['limit_keyword'] = "not found";
$this->NAMESERVERS['whois.denic.de']['timeout'] = 30;
$this->NAMESERVERS['whois.denic.de']['extensions'] = "de";
$this->NAMESERVERS['whois.denic.de']['extensions_disabled'] = "";
$this->NAMESERVERS['whois-check.ausregistry.net.au']['enabled'] = true;
$this->NAMESERVERS['whois-check.ausregistry.net.au']['keyword'] = "^Available";
$this->NAMESERVERS['whois-check.ausregistry.net.au']['format'] = "[[DOMAIN]].[[EXT]]";
$this->NAMESERVERS['whois-check.ausregistry.net.au']['limit_format'] = "is [[DOMAIN]].[[EXT]]";
$this->NAMESERVERS['whois-check.ausregistry.net.au']['limit_keyword'] = "Not Available";
$this->NAMESERVERS['whois-check.ausregistry.net.au']['timeout'] = 30;
$this->NAMESERVERS['whois-check.ausregistry.net.au']['extensions'] = "com.au";
$this->NAMESERVERS['whois-check.ausregistry.net.au']['extensions_disabled'] = "";
$this->NAMESERVERS['whois.centralnic.com']['enabled'] = true;
$this->NAMESERVERS['whois.centralnic.com']['keyword'] = "No match";
$this->NAMESERVERS['whois.centralnic.com']['format'] = "[[DOMAIN]].[[EXT]]";
$this->NAMESERVERS['whois.centralnic.com']['limit_format'] = "[[DOMAIN]].[[EXT]]";
$this->NAMESERVERS['whois.centralnic.com']['limit_keyword'] = "No match";
$this->NAMESERVERS['whois.centralnic.com']['timeout'] = 30;
$this->NAMESERVERS['whois.centralnic.com']['extensions'] = "br.com,cn.com,eu.com,hu.com,no.com,qc.com,sa.com,se.com,se.net,us.com,uy.com,za.com";
$this->NAMESERVERS['whois.centralnic.com']['extensions_disabled'] = "";
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -