#!/usr/bin/perl

 ##################################################################################
 #                                                                                #
 #                COPYRIGHT(C) COLIN TAM (AH PING)                                #
 #                EMAIL: ping@ping.com.hk                                         #
 #                HOMEPAGE: http://www.ping.com.hk                                #
 #                                                                                #
 #                THIS FILE WRITTEN ON 25/02/1999 AT 13:00 BY AH PING             #
 #                                                                                #
 ##################################################################################
require "cgi-lib.cgi";
&ReadParse(*input);

@months = ('1','2','3','4','5','6','7','8','9','10','11','12');
@days   = ('日','一','二','三','四','五','六');
($sec,$min,$hour,$mday,$mon,$year,$wday) = (localtime(time))[0,1,2,3,4,5,6];
$time = sprintf("%02d:%02d:%02d",$hour,$min,$sec);
$year += 1900;
$date = "星期$days[$wday]，$year年$months[$mon]月$mday月 ($time)";

print "Content-type: text/html\n\n";

if ($input{'domain'} eq "Check")
{
&check;
}

print <<"DOMAIN";
<html>

<head>
<meta http-equiv="Content-Type" content="text/html; charset=big5">
<meta name="GENERATOR" content="Microsoft FrontPage 4.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<title>域名查詢</title>
<style type="text/css">
<!--
a:link {  text-decoration: none}
a:active {  text-decoration: none}
a:hover {  text-decoration: none; color: #FF0000; font-family: "Verdana", "Arial", "Helvetica", "sans-serif"; font-style: normal}
a:visited {  text-decoration: none}
-->
</style>
</head>

<body marginwidth="0" marginheight="0" topmargin="0" leftmargin="0" link="#FFFFFF" vlink="#FFFFFF">

<form method="GET" action="domain.pl">
  <input type="hidden" name="domain" value="Check"><table border="0" cellpadding="0"
  cellspacing="0" width="778" height="70">
    <tr>
      <td width="100%" bgcolor="#C60000"><div align="center"><center><table border="0" width="100%" marginwidth="0" marginheight="0" cellspacing="0" cellpadding="0" bgcolor="#CC0000" height="1">
  <tr>
    <td width="33%" height="1"><img border="0" src="../images/logo.gif" width="228" height="67"></td>
    <td width="34%" height="1"><img border="0" src="../images/Movie2.gif" width="450" height="67"></td>
    <td width="33%" height="38">
      <table border="0" width="100%" cellspacing="0" cellpadding="0">
        <tr>
          <td width="100%" align="center"><img border="0" src="../images/logo4.gif" width="70" height="15"></td>
        </tr>
        <tr>
          <td width="100%" align="center"><a href="http://www.newsbook.net/gb/"><img border="0" src="../images/logo5.gif" width="70" height="16"></a></td>
        </tr>
        <tr>
          <td width="100%" align="center"><a href="../domain.pl"><img border="0" src="../images/logo6.gif" width="70" height="15"></a></td>
        </tr>
        <tr>
          <td width="100%" align="center"><a href="http://www.newsbook.de/"><img border="0" src="../images/logo7.gif" width="70" height="14"></a></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
      </center></div></td>
    </tr>
    <tr>
      <td width="100%"><div align="center"><center><table border="1" width="100%" bordercolor="#FF9900" cellspacing="0" cellpadding="0" bordercolorlight="#FF9900" bordercolordark="#FF9900" bgcolor="#8EC756" height="20">
  <tr>
    <td width="14%" align="center" height="18" valign="bottom"><font size="2" color="#FFFFFF"><a href="index.htm">公 
      司 簡 介</a></font></td>
    <td width="14%" align="center" height="18" valign="bottom"><font size="2" color="#FFFFFF"><a href="hosting.htm">網  
      頁 儲 存</a></font></td> 
    <td width="14%" align="center" height="18" valign="bottom"><font size="2" color="#FFFFFF"><a href="server_management.htm">伺  
      服 器 管 理</a></font></td> 
    <td width="14%" align="center" height="18" valign="bottom"><font size="2" color="#FFFFFF"><a href="http://www.newsbook.net/tech" target="_blank">技  
      術 支 援</a></font></td> 
    <td width="14%" align="center" height="18" valign="bottom"><font size="2" color="#FFFFFF"><a href="news.htm">報  
      章 報 導</a></font></td> 
    <td width="15%" align="center" height="18" valign="bottom"><font size="2" color="#FFFFFF"><a href="order.htm">訂  
      購 表 格</a></font></td> 
    <td width="15%" align="center" height="18" valign="bottom"><font size="2" color="#FFFFFF"><a href="other2.htm">其  
      他</a></font></td>
  </tr>
</table>
<p><p>
      </center></div></td>
    </tr>
    <tr align="center">
      <td width="100%"><div align="center"><center><table border="0" cellpadding="0"
      cellspacing="0" width="776" height="1">
        <tr>
                      <tr>
              <td width="158" valign="top" bgcolor="#ffffff"><div align="center"><center><table
              border="1" cellpadding="0" cellspacing="0" width="130" bgcolor="#FFFFFF"
              bordercolor="#ffffff">
                <tr>
                  <td width="119" bgcolor="#ffffff"><div align="center"><center><table border="0" width="144" cellspacing="0" cellpadding="0" height="192">
        <tr>
                <td width="6" height="23"></td>
                <td width="134" height="23" align="center"><a href="index.htm"><font color="#FF0080">公 司 簡 介</font></a></td>        
        </tr>
        <tr>
                <td width="6" height="23"></td>
                <td width="134" height="23" align="center"><a href="hosting.htm"><font color="#FF0080">網 頁 儲 存</font></a></td>  
        </tr>
        <tr>
                <td width="6" height="23"></td>
                <td width="134" height="23" align="center"><a href="server_management.htm"><font color="#FF0080">伺 服 器 管 理</font></a></td>  
        </tr>
        <tr>
                <td width="6" height="24"></td>
                <td width="134" height="24" align="center"><a href="../other.htm"><font color="#FF0080">其 他 服 務</font></a></td>   
        </tr>
        <tr>
                <td width="6" height="24"></td>
                <td width="134" height="24" align="center">域 名 查 詢</td>   
        </tr>
        <tr>
                <td width="6" height="24"></td>
                <td width="134" height="24" align="center"><a href="news.htm"><font color="#FF0080">報 章 報 導</font></a></td>  
        </tr>
        <tr>
                <td width="6" height="24"></td>
                <td width="134" height="24" align="center"><a href="partner.htm"><font color="#FF0080">合 作 伙 伴</font></a></td>  
        </tr>
        <tr>
                <td width="6" height="24"></td>
                <td width="134" height="24" align="center"><a href="customers.htm"><font color="#FF0080">顧 客 簡 介</font></a></td>  
        </tr>
        <tr>
                <td width="6" height="24"></td>
                <td width="134" height="24" align="center"><a href="http://www.newsbook.net/tech" target="_blank"><font color="#FF0080">技 術 支 援</font></a></td>  
        </tr>
        <tr>
                <td width="6" height="24"></td>
                <td width="134" height="24" align="center"><a href="contact.htm"><font color="#FF0080">聯 絡 我 們</font></a></td>  
        </tr>
        <tr>
                <td width="6" height="24"></td>
                <td width="134" height="24" align="center"><a href="order.htm"><font color="#FF0080">訂 購 表 格</font></a></td>  
        </tr>
      </table>

                  </center></div></td>
                </tr>
              </center></div>
            </tr>
            <tr>
              <td width="158" valign="top"></td>
            </tr>
            <tr>
              <td width="158" valign="top"></td>
            </tr>
            <tr>
              <td width="158" valign="top"></td>
            </tr>
          </table>
          </center></div></td>
          <td width="884" height="1" valign="Top"><div align="center"><center><table border="0"
          cellpadding="0" cellspacing="0" width="100%">
            <tr>
              <td width="157"></td>
              <td width="443"></td>
            </tr>
            <tr>
              <td width="157"></td>
              <td width="443"></td>
            </tr>
            <tr>
              <td width="157"><font face="Verdana" size="3">網址名稱:</font></td>
              <td width="443"><input name="intended_domain_name" size="15"><select name="type" size="1">
                <option value="com" selected>.com</option>
                <option value="net">.net</option>
                <option value="org">.org</option>
                <option value="com.hk">.com.hk</option>
                <option value="net.hk">.net.hk</option>
                <option value="org.hk">.org.hk</option>
                <option value="edu.hk">.edu.hk</option>
              </select></td>
            </tr>
            <tr>
              <td width="157"></td>
              <td width="443"><input type="submit" value="Check"></td>
            </tr>
            <tr>
              <td width="600" colspan="2"><div align="center"><center><table border="0" cellpadding="0"
              cellspacing="0" width="533">
                <tr>
                  <td width="533" bgcolor="#FFF7F7">......<p>　</p>
                  <p>　</td>
                </tr>
              </table>
              </center></div></td>
            </tr>
          </table>
          </center></div></td>
        </tr>
        <tr align="center">
          <td width="14" height="1" valign="top"></td>
          <td width="850" height="1"></td>
        </tr>
        <tr align="center">
          <td width="14" height="1" valign="top"></td>
          <td width="850" height="1"><table border="0" cellPadding="0" cellSpacing="0" height="32"
          width="503">
<TBODY>
            <tr>
              <td height="8" width="503"><table border="0" cellPadding="0" cellSpacing="0" width="503">
<TBODY>
                <tr>
                  <td colSpan="3" height="8" width="503"><p align="center"><font face="Verdana" size="1">&copy; 資訊網絡有限公司</font></td>
                </tr>
                <tr>
                  <td colSpan="3" height="11" width="503"><p align="center"><font face="Verdana" size="1">香港觀塘鴻圖道37-39號鴻泰大廈1樓1室(資訊網絡集團物業)</font></td>
                </tr>
                <tr>
                  <td width="4%"><font face="Verdana" size="1">電話</font><font face="Verdana" size="1">:(852)27820197</font></td>
                  <td width="3%"><font face="Verdana" size="1">傳真</font><font face="Verdana" size="1">:(852)23967073</font></td>
                  <td width="3%"><font face="Verdana" size="1">電郵</font><font face="Verdana" size="1">: <a
                  href="mailto:info\@newsbook.net"><font color=#000000>info\@newsbook.net</font></a></font></td>
                </tr>
</TBODY>
              </table>
              </td>
            </tr>
</TBODY>
          </table>
          </td>
        </tr>
      </table>
      </center></div></td>
    </tr>
    <tr align="center">
      <td width="100%"></td>
    </tr>
  </table>
</form>
</body>
</html>
DOMAIN
exit;


sub check
{
$whois = "/usr/bin/jwhois";
$input{'intended_domain_name'} =~ s/\"/\&quot\;/g;
$input{'intended_domain_name'} =~ tr/A-Z/a-z/;
$input{'intended_domain_name'} =~ s/^www\.//;
$input{'intended_domain_name'} =~ s/,$//g;
$input{'intended_domain_name'} =~ s/\;//g;
$input{'intended_domain_name'} =~ s/,,+/,/g;
$input{'intended_domain_name'} =~ s/^,//g;
$input{'intended_domain_name'} =~ s/\.(net|org|com|com\.hk|org\.hk|net\.hk|edu\.hk)$//g;
$search = "$input{'intended_domain_name'}\.$input{'type'}";

$ifhkdnr=0;

if ($input{'type'} eq "com")
{
$who = "$whois $search";
}
if ($input{'type'} eq "net")
{
$who = "$whois $search";
}
if ($input{'type'} eq "org")
{
$who = "$whois $search";
}
if ($input{'type'} eq "com\.hk")
{
$ishkdnr=1;
$who = "$whois $search\@whois.hkdnr.net.hk";
}
if ($input{'type'} eq "org\.hk")
{
$ishkdnr=1;
$who = "$whois $search\@whois.hkdnr.net.hk";
}
if ($input{'type'} eq "net\.hk")
{
$ishkdnr=1;
$who = "$whois $search\@whois.hkdnr.net.hk";
}
if ($input{'type'} eq "edu\.hk")
{
$ishkdnr=1;
$who = "$whois $search\@whois.hkdnr.net.hk";
}

if ($ENV{'REMOTE_USER'} != 0) { 
$newREMOTE_USER = $ENV{'REMOTE_USER'};
} else { 
$newREMOTE_USER = "Turned Off"; 
}
if ($search =~ /@/i) {
	$searched = "mailto:$search";
} else {
	$searched = "http://www.$search";
}
if (defined($input{'domain'})) {
    if ($search =~ /^([-\@\w.]+)$/) {
        $search = $1;
        $result = `$who`;

}
}
if ($input{'intended_domain_name'} eq "")
{
$error = "You must type a domain (eg. newsbook) to search.";
&back;
}

sub back
{
if ($input{'type'} eq "com") { $select01=" selected"; }
if ($input{'type'} eq "com\.hk") { $select02=" selected"; }
if ($input{'type'} eq "net") { $select03=" selected"; }
if ($input{'type'} eq "net\.hk") { $select04=" selected"; }
if ($input{'type'} eq "org") { $select05=" selected"; }
if ($input{'type'} eq "org\.hk") { $select06=" selected"; }
if ($input{'type'} eq "edu\.hk") { $selectedu=" selected"; }
print <<"DD";
<html>

<head>
<meta http-equiv="Content-Type" content="text/html; charset=big5">
<meta name="GENERATOR" content="Microsoft FrontPage 4.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<title>域名查詢</title>
<style type="text/css">
<!--
a:link {  text-decoration: none}
a:active {  text-decoration: none}
a:hover {  text-decoration: none; color: #FF0000; font-family: "Verdana", "Arial", "Helvetica", "sans-serif"; font-style: normal}
a:visited {  text-decoration: none}
-->
</style>
</head>

<body marginwidth="0" marginheight="0" topmargin="0" leftmargin="0" link="#FFFFFF" vlink="#FFFFFF">

<form method="GET" action="domain.pl">
  <input type="hidden" name="domain" value="Check"><table border="0" cellpadding="0"
  cellspacing="0" width="778" height="70">
    <tr>
      <td width="100%" bgcolor="#C60000"><div align="center"><center><table border="0" width="100%" marginwidth="0" marginheight="0" cellspacing="0" cellpadding="0" bgcolor="#CC0000" height="1">
  <tr>
    <td width="33%" height="1"><img border="0" src="../images/logo.gif" width="228" height="67"></td>
    <td width="34%" height="1"><img border="0" src="../images/Movie2.gif" width="450" height="67"></td>
    <td width="33%" height="38">
      <table border="0" width="100%" cellspacing="0" cellpadding="0">
        <tr>
          <td width="100%" align="center"><img border="0" src="../images/logo4.gif" width="70" height="15"></td>
        </tr>
        <tr>
          <td width="100%" align="center"><a href="http://www.newsbook.net/gb/"><img border="0" src="../images/logo5.gif" width="70" height="16"></a></td>
        </tr>
        <tr>
          <td width="100%" align="center"><a href="../domain.pl"><img border="0" src="../images/logo6.gif" width="70" height="15"></a></td>
        </tr>
        <tr>
          <td width="100%" align="center"><a href="http://www.newsbook.de/"><img border="0" src="../images/logo7.gif" width="70" height="14"></a></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
      </center></div></td>
    </tr>
    <tr>
      <td width="100%"><div align="center"><center><table border="1" width="100%" bordercolor="#FF9900" cellspacing="0" cellpadding="0" bordercolorlight="#FF9900" bordercolordark="#FF9900" bgcolor="#8EC756" height="20">
  <tr>
    <td width="14%" align="center" height="18" valign="bottom"><font size="2" color="#FFFFFF"><a href="index.htm">公 
      司 簡 介</a></font></td>
    <td width="14%" align="center" height="18" valign="bottom"><font size="2" color="#FFFFFF"><a href="hosting.htm">網  
      頁 儲 存</a></font></td> 
    <td width="14%" align="center" height="18" valign="bottom"><font size="2" color="#FFFFFF"><a href="server_management.htm">伺  
      服 器 管 理</a></font></td> 
    <td width="14%" align="center" height="18" valign="bottom"><font size="2" color="#FFFFFF"><a href="http://www.newsbook.net/tech" target="_blank">技  
      術 支 援</a></font></td> 
    <td width="14%" align="center" height="18" valign="bottom"><font size="2" color="#FFFFFF"><a href="news.htm">報  
      章 報 導</a></font></td> 
    <td width="15%" align="center" height="18" valign="bottom"><font size="2" color="#FFFFFF"><a href="order.htm">訂  
      購 表 格</a></font></td> 
    <td width="15%" align="center" height="18" valign="bottom"><font size="2" color="#FFFFFF"><a href="other2.htm">其  
      他</a></font></td>
  </tr>
</table>
<p><p>
      </center></div></td>
    </tr>
    <tr align="center">
      <td width="100%"><div align="center"><center><table border="0" cellpadding="0"
      cellspacing="0" width="776" height="1">
        <tr>
                      <tr>
              <td width="158" valign="top" bgcolor="#ffffff"><div align="center"><center><table
              border="1" cellpadding="0" cellspacing="0" width="130" bgcolor="#FFFFFF"
              bordercolor="#ffffff">
                <tr>
                  <td width="119" bgcolor="#ffffff"><div align="center"><center><table border="0" width="144" cellspacing="0" cellpadding="0" height="192">
        <tr>
                <td width="6" height="23"></td>
                <td width="134" height="23" align="center"><a href="index.htm"><font color="#FF0080">公 司 簡 介</font></a></td>        
        </tr>
        <tr>
                <td width="6" height="23"></td>
                <td width="134" height="23" align="center"><a href="hosting.htm"><font color="#FF0080">網 頁 儲 存</font></a></td>  
        </tr>
        <tr>
                <td width="6" height="23"></td>
                <td width="134" height="23" align="center"><a href="server_management.htm"><font color="#FF0080">伺 服 器 管 理</font></a></td>  
        </tr>
        <tr>
                <td width="6" height="24"></td>
                <td width="134" height="24" align="center"><a href="../other.htm"><font color="#FF0080">其 他 服 務</font></a></td>   
        </tr>
        <tr>
                <td width="6" height="24"></td>
                <td width="134" height="24" align="center">域 名 查 詢</td>   
        </tr>
        <tr>
                <td width="6" height="24"></td>
                <td width="134" height="24" align="center"><a href="news.htm"><font color="#FF0080">報 章 報 導</font></a></td>  
        </tr>
        <tr>
                <td width="6" height="24"></td>
                <td width="134" height="24" align="center"><a href="partner.htm"><font color="#FF0080">合 作 伙 伴</font></a></td>  
        </tr>
        <tr>
                <td width="6" height="24"></td>
                <td width="134" height="24" align="center"><a href="customers.htm"><font color="#FF0080">顧 客 簡 介</font></a></td>  
        </tr>
        <tr>
                <td width="6" height="24"></td>
                <td width="134" height="24" align="center"><a href="http://www.newsbook.net/tech" target="_blank"><font color="#FF0080">技 術 支 援</font></a></td>  
        </tr>
        <tr>
                <td width="6" height="24"></td>
                <td width="134" height="24" align="center"><a href="contact.htm"><font color="#FF0080">聯 絡 我 們</font></a></td>  
        </tr>
        <tr>
                <td width="6" height="24"></td>
                <td width="134" height="24" align="center"><a href="order.htm"><font color="#FF0080">訂 購 表 格</font></a></td>  
        </tr>
      </table>

                  </center></div></td>
                </tr>
              </center></div>
            </tr>
            <tr>
              <td width="158" valign="top"></td>
            </tr>
            <tr>
              <td width="158" valign="top"></td>
            </tr>
            <tr>
              <td width="158" valign="top"></td>
            </tr>
          </table>
          </center></div></td>
          <td width="884" height="1" valign="Top"><div align="center"><center><table border="0"
          cellpadding="0" cellspacing="0" width="100%">
            <tr>
              <td width="157"></td>
              <td width="443"></td>
            </tr>
            <tr>
              <td width="157"></td>
              <td width="443"></td>
            </tr>
            <tr>
              <td width="157"><font face="Verdana" size="3">網址名稱:</font></td>
              <td width="443"><input name="intended_domain_name" size="15" value="$input{'intended_domain_name'}"><select name="type" size="1">
                <option value="com" $select01>.com</option>
                <option value="net" $select03>.net</option>
                <option value="org" $select05>.org</option>
                <option value="com.hk" $select02>.com.hk</option>
                <option value="net.hk" $select04>.net.hk</option>
                <option value="org.hk" $select06>.org.hk</option>
                <option value="edu.hk" $selectedu>.edu.hk</option>
              </select></td>
            </tr>
            <tr>
              <td width="157"></td>
              <td width="443"><input type="submit" value="Check"></td>
            </tr>
            <tr>
              <td width="600" colspan="2"><div align="center"><center><table border="0" cellpadding="0"
              cellspacing="0" width="533">
                <tr>
                  <td width="533" bgcolor="#FFF7F7">......$error<p>　</p>
                  <p>　</td>
                </tr>
              </table>
              </center></div></td>
            </tr>
          </table>
          </center></div></td>
        </tr>
        <tr align="center">
          <td width="14" height="1" valign="top"></td>
          <td width="884" height="1"></td>
        </tr>
        <tr align="center">
          <td width="14" height="1" valign="top"></td>
          <td width="884" height="1"><table border="0" cellPadding="0" cellSpacing="0" height="32"
          width="503">
<TBODY>
            <tr>
              <td height="8" width="503"><table border="0" cellPadding="0" cellSpacing="0" width="503">
<TBODY>
                <tr>
                  <td colSpan="3" height="8" width="503"><p align="center"><font face="Verdana" size="1">&copy; 資訊網絡有限公司</font></td>
                </tr>
                <tr>
                  <td colSpan="3" height="11" width="503"><p align="center"><font face="Verdana" size="1">香港觀塘鴻圖道37-39號鴻泰大廈1樓1室(資訊網絡集團物業)</font></td>
                </tr>
                <tr>
                  <td width="30%"><font face="Verdana" size="1">電話</font><font face="Verdana" size="1">:(852)27820197</font></td>
                  <td width="30%"><font face="Verdana" size="1">傳真</font><font face="Verdana" size="1">:(852)23967073</font></td>
                  <td width="30%"><font face="Verdana" size="1">電郵</font><font face="Verdana" size="1">: <a
                  href="mailto:info\@newsbook.net"><font color=#000000>info\@newsbook.net</font></a></font></td>
                </tr>
</TBODY>
              </table>
              </td>
            </tr>
</TBODY>
          </table>
          </td>
        </tr>
      </table>
      </center></div></td>
    </tr>
    <tr align="center">
      <td width="100%"></td>
    </tr>
  </table>
</form>
</body>
</html>


DD
exit;
}

if($ishkdnr==0)
{
$av = "<b>$input{'intended_domain_name'}\.$input{'type'}</b>已被註冊.";
$result =~ s/\[[^>]+\]{1}//g;
foreach ($result)
{
if ($_ =~ /No match for/i)
{
$av = "<b>$input{'intended_domain_name'}\.$input{'type'}</b>可接受申請.";
}
if ($_ =~ /\% Your search returns no relevent records/i)
{
$av = "<b>$input{'intended_domain_name'}\.$input{'type'}</b>可接受申請.";
}
}
}

if($ishkdnr==1)
{
$result =~ s/\[[^>]+\]{1}//g;
$hkdnrflag1=0;
$hkdnrflag2=0;
@result=split("\n",$result);
foreach $hkdnrresult (@result)
{
	if ($hkdnrresult=~m/-/)
		{
		$hkdnrflag1++;
		}

	if ($hkdnrflag1==1&&$hkdnrflag2==1)
		{
		$av =$av.$hkdnrresult."<br>\n";
		}

	if ($hkdnrresult=~m/-/)
		{
		$hkdnrflag2++;
		}
}
if ( !($av=~m/\S/)|| !($av=~m//) )
	{
	$av="無效的查詢,或者<br>\n";
	$av=$av."註冊機構伺服器繁忙! 請稍後再試!\n";
	}

$av="<font size=2>".$av."</font>\n";
}

if ($input{'type'} eq "com") { $select01=" selected"; }
if ($input{'type'} eq "com\.hk") { $select02=" selected"; }
if ($input{'type'} eq "net") { $select03=" selected"; }
if ($input{'type'} eq "net\.hk") { $select04=" selected"; }
if ($input{'type'} eq "org") { $select05=" selected"; }
if ($input{'type'} eq "org\.hk") { $select06=" selected"; }
if ($input{'type'} eq "edu\.hk") { $selectedu=" selected"; }

print <<"DDD";
<html>

<head>
<meta http-equiv="Content-Type" content="text/html; charset=big5">
<meta name="GENERATOR" content="Microsoft FrontPage 4.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<title>域名查詢</title>
<style type="text/css">
<!--
a:link {  text-decoration: none}
a:active {  text-decoration: none}
a:hover {  text-decoration: none; color: #FF0000; font-family: "Verdana", "Arial", "Helvetica", "sans-serif"; font-style: normal}
a:visited {  text-decoration: none}
-->
</style>
</head>

<body marginwidth="0" marginheight="0" topmargin="0" leftmargin="0" link="#FFFFFF" vlink="#FFFFFF">

<form method="GET" action="domain.pl">
  <input type="hidden" name="domain" value="Check"><table border="0" cellpadding="0"
  cellspacing="0" width="778" height="70">
    <tr>
      <td width="100%" bgcolor="#C60000"><div align="center"><center><table border="0" width="100%" marginwidth="0" marginheight="0" cellspacing="0" cellpadding="0" bgcolor="#CC0000" height="1">
  <tr>
    <td width="33%" height="1"><img border="0" src="../images/logo.gif" width="228" height="67"></td>
    <td width="34%" height="1"><img border="0" src="../images/Movie2.gif" width="450" height="67"></td>
    <td width="33%" height="38">
      <table border="0" width="100%" cellspacing="0" cellpadding="0">
        <tr>
          <td width="100%" align="center"><img border="0" src="../images/logo4.gif" width="70" height="15"></td>
        </tr>
        <tr>
          <td width="100%" align="center"><a href="http://www.newsbook.net/gb/"><img border="0" src="../images/logo5.gif" width="70" height="16"></a></td>
        </tr>
        <tr>
          <td width="100%" align="center"><a href="../domain.pl"><img border="0" src="../images/logo6.gif" width="70" height="15"></a></td>
        </tr>
        <tr>
          <td width="100%" align="center"><a href="http://www.newsbook.de/"><img border="0" src="../images/logo7.gif" width="70" height="14"></a></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
      </center></div></td>
    </tr>
    <tr>
      <td width="100%"><div align="center"><center><table border="1" width="100%" bordercolor="#FF9900" cellspacing="0" cellpadding="0" bordercolorlight="#FF9900" bordercolordark="#FF9900" bgcolor="#8EC756" height="20">
  <tr>
    <td width="14%" align="center" height="18" valign="bottom"><font size="2" color="#FFFFFF"><a href="index.htm">公 
      司 簡 介</a></font></td>
    <td width="14%" align="center" height="18" valign="bottom"><font size="2" color="#FFFFFF"><a href="hosting.htm">網  
      頁 儲 存</a></font></td> 
    <td width="14%" align="center" height="18" valign="bottom"><font size="2" color="#FFFFFF"><a href="server_management.htm">伺  
      服 器 管 理</a></font></td> 
    <td width="14%" align="center" height="18" valign="bottom"><font size="2" color="#FFFFFF"><a href="http://www.newsbook.net/tech" target="_blank">技  
      術 支 援</a></font></td> 
    <td width="14%" align="center" height="18" valign="bottom"><font size="2" color="#FFFFFF"><a href="news.htm">報  
      章 報 導</a></font></td> 
    <td width="15%" align="center" height="18" valign="bottom"><font size="2" color="#FFFFFF"><a href="order.htm">訂  
      購 表 格</a></font></td> 
    <td width="15%" align="center" height="18" valign="bottom"><font size="2" color="#FFFFFF"><a href="other2.htm">其  
      他</a></font></td>
  </tr>
</table>
<p><p>
      </center></div></td>
    </tr>
    <tr align="center">
      <td width="100%"><div align="center"><center><table border="0" cellpadding="0"
      cellspacing="0" width="776" height="1">
        <tr>
                      <tr>
              <td width="158" valign="top" bgcolor="#ffffff"><div align="center"><center><table
              border="1" cellpadding="0" cellspacing="0" width="130" bgcolor="#FFFFFF"
              bordercolor="#ffffff">
                <tr>
                  <td width="119" bgcolor="#ffffff"><div align="center"><center><table border="0" width="144" cellspacing="0" cellpadding="0" height="192">
        <tr>
                <td width="6" height="23"></td>
                <td width="134" height="23" align="center"><a href="index.htm"><font color="#FF0080">公 司 簡 介</font></a></td>        
        </tr>
        <tr>
                <td width="6" height="23"></td>
                <td width="134" height="23" align="center"><a href="hosting.htm"><font color="#FF0080">網 頁 儲 存</font></a></td>  
        </tr>
        <tr>
                <td width="6" height="23"></td>
                <td width="134" height="23" align="center"><a href="server_management.htm"><font color="#FF0080">伺 服 器 管 理</font></a></td>  
        </tr>
        <tr>
                <td width="6" height="24"></td>
                <td width="134" height="24" align="center"><a href="../other.htm"><font color="#FF0080">其 他 服 務</font></a></td>   
        </tr>
        <tr>
                <td width="6" height="24"></td>
                <td width="134" height="24" align="center">域 名 查 詢</td>   
        </tr>
        <tr>
                <td width="6" height="24"></td>
                <td width="134" height="24" align="center"><a href="news.htm"><font color="#FF0080">報 章 報 導</font></a></td>  
        </tr>
        <tr>
                <td width="6" height="24"></td>
                <td width="134" height="24" align="center"><a href="partner.htm"><font color="#FF0080">合 作 伙 伴</font></a></td>  
        </tr>
        <tr>
                <td width="6" height="24"></td>
                <td width="134" height="24" align="center"><a href="customers.htm"><font color="#FF0080">顧 客 簡 介</font></a></td>  
        </tr>
        <tr>
                <td width="6" height="24"></td>
                <td width="134" height="24" align="center"><a href="http://www.newsbook.net/tech" target="_blank"><font color="#FF0080">技 術 支 援</font></a></td>  
        </tr>
        <tr>
                <td width="6" height="24"></td>
                <td width="134" height="24" align="center"><a href="contact.htm"><font color="#FF0080">聯 絡 我 們</font></a></td>  
        </tr>
        <tr>
                <td width="6" height="24"></td>
                <td width="134" height="24" align="center"><a href="order.htm"><font color="#FF0080">訂 購 表 格</font></a></td>  
        </tr>
      </table>

                  </center></div></td>
                </tr>
              </center></div>
            </tr>
            <tr>
              <td width="158" valign="top"></td>
            </tr>
            <tr>
              <td width="158" valign="top"></td>
            </tr>
            <tr>
              <td width="158" valign="top"></td>
            </tr>
          </table>
          </center></div></td>
          <td width="884" height="1" valign="Top"><div align="center"><center><table border="0"
          cellpadding="0" cellspacing="0" width="100%">
            <tr>
              <td width="157"></td>
              <td width="443"></td>
            </tr>
            <tr>
              <td width="157"></td>
              <td width="443"></td>
            </tr>
            <tr>
              <td width="157"><font face="Verdana" size="3">網址名稱:</font></td>
              <td width="443"><input name="intended_domain_name" size="15"><select name="type" size="1">
                <option value="com" $select01>.com</option>
                <option value="net" $select03>.net</option>
                <option value="org" $select05>.org</option>
                <option value="com.hk" $select02>.com.hk</option>
                <option value="net.hk" $select04>.net.hk</option>
                <option value="org.hk" $select06>.org.hk</option>
                <option value="edu.hk" $selectedu>.edu.hk</option>
              </select></td>
            </tr>
            <tr>
              <td width="157"></td>
              <td width="443"><input type="submit" value="Check"></td>
            </tr>
            <tr>
              <td width="600" colspan="2"><blockquote>
                <p><font face="Verdana" color="#FF0080"><big><big>$av</big></big></font></p>
              </blockquote>
              </td>
            </tr>
            <tr>
              <td width="600" colspan="2"><div align="center"><center>
               
              </center></div></td>
            </tr>
          </table>
          </center></div></td>
        </tr>
        <tr align="center">
          <td width="14" height="1" valign="top"></td>
          <td width="884" height="1"></td>
        </tr>
        <tr align="center">
          <td width="14" height="1" valign="top"></td>
          <td width="884" height="1"><table border="0" cellPadding="0" cellSpacing="0" height="32"
          width="503">
<TBODY>
            <tr>
              <td height="8" width="503"><table border="0" cellPadding="0" cellSpacing="0" width="503">
<TBODY>
                <tr>
                  <td colSpan="3" height="8" width="503"><p align="center"><font face="Verdana" size="1">&copy; 資訊網絡有限公司</font></td>
                </tr>
                <tr>
                  <td colSpan="3" height="11" width="503"><p align="center"><font face="Verdana" size="1">香港觀塘鴻圖道37-39號鴻泰大廈1樓1室(資訊網絡集團物業)</font></td>
                </tr>
                <tr>
                  <td width="30%"><font face="Verdana" size="1">電話</font><font face="Verdana" size="1">:(852)27820197</font></td>
                  <td width="30%"><font face="Verdana" size="1">傳真</font><font face="Verdana" size="1">:(852)23967073</font></td>
                  <td width="30%"><font face="Verdana" size="1">電郵</font><font face="Verdana" size="1">: <a
                  href="mailto:info\@newsbook.net"><font color=#000000>info\@newsbook.net</font></a></font></td>
                </tr>
</TBODY>
              </table>
              </td>
            </tr>
</TBODY>
          </table>
          </td>
        </tr>
      </table>
      </center></div></td>
    </tr>
    <tr align="center">
      <td width="100%"></td>
    </tr>
  </table>
</form>
</body>
</html>
DDD
exit;
}
