📄 oneplusone2.asp
字号:
<!--#include file="../inc/conn.asp"-->
<!--#include file="../inc/func.asp"-->
<%
FunCode="F205"
session("title")="1+1套餐申请"
session("headline")="首页 -> 注册系统 -> 1+1套餐申请"
%>
<!--#include file="../inc/head2.asp"-->
<%
domainname=request("domainname")
Strdomaintype=request("domaintype")
applytype = request("ID")
ret = CheckDomainPX(domainname)
if ret <> "" then
Session("mesg") = ret
Response.Redirect "../result.asp"
Response.End
end if
select case Strdomaintype
case ".com"
check = check_domain_fun(domainname,"com","",session("DOMAIN_EN"))
domaintype = "P1022"
case ".net"
check = check_domain_fun(domainname,"net","",session("DOMAIN_EN"))
domaintype = "P1022"
case ".org"
check = check_domain_fun(domainname,"org","",session("DOMAIN_EN"))
domaintype = "P1022"
case ".name"
check = check_domain_fun(domainname,"name","",session("DOMAIN_EN"))
domaintype = "P1022"
case ".cn"
check = check_domain_fun(domainname,"","cn",session("DOMAIN_CH"))
domaintype = "P1024"
case ".net.cn"
check = check_domain_fun(domainname,"net","cn",session("DOMAIN_CH"))
domaintype = "P1024"
case ".com.cn"
check = check_domain_fun(domainname,"com","cn",session("DOMAIN_CH"))
domaintype = "P1024"
case ".org.cn"
check = check_domain_fun(domainname,"org","cn",session("DOMAIN_CH"))
domaintype = "P1024"
end select
domainname=domainname & Strdomaintype
%>
<%
if check="2" then
response.write " <br><br><br>对不起,域名[<a href='whois.asp?domainname="&domainname&"'>"&domainname&"</a>]已被注册"
%>
<!--#include file="../inc/bottom2.asp"-->
<%
response.end
end if
if check<>"1" then
response.write "<br><br><br>查询出错,请一会儿再试;请一会儿再试!"
%>
<!--#include file="../inc/bottom2.asp"-->
<%
response.end
end if
domainname=request("domainname")+request("domaintype")
set rs=server.createobject("adodb.recordset")
sql="select * from [user] where username='"&session("username")&"'"
rs.open sql,conn,1,1
%>
<script language='JavaScript'>
<!--
function check_input()
{
regenin=document.domainregenin;
if (!regenin.agreement.checked)
{
alert('您尚未阅读并接受域名注册协议!');
regenin.agreement.focus();
return false;
}
if(regenin.chorganize.value=='')
{
alert('注册人组织不能为空!');
regenin.chorganize.focus();
return false;
}
if(regenin.enorganize.value=='')
{
alert('注册人组织不能为空!');
regenin.enorganize.focus();
return false;
}
if(regenin.manager.value=='')
{
alert('单位负责人不能为空!');
regenin.manager.focus();
return false;
}
if(regenin.applytime1.value=='')
{
alert('申请时间不能为空!');
regenin.applytime1.focus();
return false;
}
if(isNaN(regenin.applytime1.value))
{
alert('申请时间只能为数字');
regenin.applytime1.focus();
return false;
}
}
//-->
</script>
<br>
<img src='../images/dotdb.gif' width='10' height='10'>
<font color='#000000'>注意:<font color='#FF0000'>域名注册人</font>不易修改,请慎重填写!</font>
<form method='POST' action='oneplusone3.asp' name='domainregenin' onsubmit='return check_input()'>
<input type='checkbox' name='agreement' value='on'>我已阅读并接受英文域名注册协议<p>
<table border=1 bordercolor=#3770A9 bordercolordark=#ffffff cellpadding=3
cellspacing=0 width=100% class='size09' align='center'>
<tr>
<td width='25%' bgcolor='#efefef'>要注册的域名*:</td>
<td colspan='3'><%=domainname%><input type='hidden' name='domainname' value='<%=domainname%>'><input type='hidden' class='form' name='domaintype' value='<%=domaintype%>'></td>
</tr>
<tr>
<td width='25%' bgcolor='#efefef' >注册用途*</td>
<td width='25%' colspan="3"><input type='radio' value='1' checked name='use' size='20' onclick='document.domainregenin.copy_r.disable '>个人 <input type='radio' value='2' name='use' size='20' onclick='document.domainregenin.copy_r.disable'>公司</td>
</tr>
<tr>
<td width='25%' bgcolor='#efefef'>主域名服务器*</td>
<td width='25%'><input type='text' class='form' name='dns1' size='20' value='<%=session("dns1")%>'></td>
<td width='25%' bgcolor='#efefef'>主域名服务器IP</td>
<td width='25%'><input type='text' class='form' name='dns1ip' size='20' value='<%=session("dns1ip")%>'></td>
</tr>
<tr>
<td width='25%' bgcolor='#efefef'>辅域名服务器*</td>
<td width='25%'><input type='text' class='form' name='dns2' size='20' value='<%=session("dns2")%>'></td>
<td width='25%' bgcolor='#efefef'>辅域名服务器IP</td>
<td width='25%'><input type='text' class='form' name='dns2ip' size='20' value='<%=session("dns2ip")%>'></td>
</tr>
</table>
<p align='left'><u>域名注册人表</u></p>
<table border=1 bordercolor=#3770A9 bordercolordark=#ffffff cellpadding=3
cellspacing=0 width=100% class='size09' align='center'>
<tr>
<td width='25%' bgcolor='#efefef'>注册人或公司中文全名*</td>
<td width='25%'><input type='text' class='form' name='chregister' size='20' value='<%=rs("chname")%>'></td>
<td width='25%' bgcolor='#efefef'><font color='#FF0000'>注册人或公司英文全名*</font></td>
<td width='25%'><input type='text' class='form' name='enregister' size='20' value='<%=rs("enname")%>'></td>
</tr>
<tr>
<td width='25%' bgcolor='#efefef'>组织名称(中文)</td>
<td width='25%'><input type='text' class='form' name='chorganize' size='20' value='<%=rs("chname")%>'></td>
<td width='25%' bgcolor='#efefef'>组织名称(英文)</td>
<td width='25%'><input type='text' class='form' name='enorganize' size='20' value='<%=rs("enname")%>'></td>
</tr>
<tr>
<td width='25%' bgcolor='#efefef'>单位负责人(中文)*</td>
<td width='25%'><input type='text' class='form' name='manager' size='20' value='<%=rs("chname")%>'></td>
<td width='25%' bgcolor='#efefef'>行业*</td>
<td width='25%'>
<select class='form' size='1' name='industry'>
<option value='S1'>社团机关</option>
<option value='S2'>信息和咨询</option>
<option value='S3'>社会服务</option>
<option value='S4'>税收</option>
<option value='S5'>体育娱乐</option>
<option value='S6'>交通运输</option>
<option value='S7'>媒体广告</option>
<option value='S8'>商业</option>
<option value='S9'>科研教育</option>
<option value='S10'>房地产</option>
<option value='S11'>邮政服务</option>
<option value='S12'>信息技术</option>
<option value='S13'>制造业</option>
<option value='S14'>公用事业</option>
<option value='S15'>建筑</option>
<option value='S16'>农林渔</option>
<option value='S17'>矿业</option>
<option value='S18'>其他</option>
</select>
</td>
</tr>
<tr>
<tr>
<td width='25%' bgcolor='#efefef'>国家、地区(中文)*</td>
<td width='25%'>
<select class='form' size='1' name='chcountry' onchange='this.form.encountry.selectedIndex=this.form.chcountry.selectedIndex'>
<%print_chcountry rs("chcountry")%>
</select>
</td>
<td width='25%' bgcolor='#efefef'>国家、地区(英文)*</td>
<td width='25%'>
<select class='form' size='1' name='encountry' onchange='this.form.chcountry.selectedIndex=this.form.encountry.selectedIndex'>
<%print_encountry ""%>
</select>
</td>
</tr>
<tr>
<td width='25%' bgcolor='#efefef'>省份(中文)*</td>
<td width='25%'>
<select class='form' size='1' name='chprovince' onchange='this.form.enprovince.selectedIndex=this.form.chprovince.selectedIndex'>
<%print_chprovince rs("chprovince")%>
</select>
</td>
<td width='25%' bgcolor='#efefef'>省份(英文)*</td>
<td width='25%'>
<select class='form' size='1' name='enprovince' onchange='this.form.chprovince.selectedIndex=this.form.enprovince.selectedIndex'>
<%print_enprovince rs("enprovince")%>
</select>
</td>
</tr>
<tr>
<td width='25%' bgcolor='#efefef'>城市(中文)*</td>
<td width='25%'><input type='text' class='form' name='chcity' size='20' value='<%=rs("chcity")%>'></td>
<td width='25%' bgcolor='#efefef'>城市(英文)*</td>
<td width='25%'><input type='text' class='form' name='encity' size='20' value='<%=rs("encity")%>'></td>
</tr>
<tr>
<td width='25%' bgcolor='#efefef'>联系地址(中文)*</td>
<td width='25%'><input type='text' class='form' name='chaddress' size='20' value='<%=rs("chaddress")%>'></td>
<td width='25%' bgcolor='#efefef'>联系地址(英文)*</td>
<td width='25%'><input type='text' class='form' name='enaddress' size='20' value='<%=rs("enaddress")%>'></td>
</tr>
<tr>
<td width='25%' bgcolor='#efefef'>邮政编码*</td>
<td width='25%'><input type='text' class='form' name='postcode' size='20' value='<%=rs("postcode")%>'></td>
<td width='25%' bgcolor='#efefef'>联系电话*</td>
<td width='25%'><input type='text' class='form' name='telephoneno' size='20' value='<%=rs("telephoneno")%>'></td>
</tr>
<tr>
<td width='25%' bgcolor='#efefef'>联系E-mail*</td>
<td width='25%'><input type='text' class='form' name='email' size='20' value='<%=rs("email")%>'></td>
<td width='25%' bgcolor='#efefef'>传真*</td>
<td width='25%'><input type='text' class='form' name='faxno' size='20' value='<%=rs("faxno")%>'></td>
</tr>
</table>
<p align='left'><u>管理联系人表</u></p>
<input type=button name='copy_r' value='复制注册人信息到管理联系人表' onclick='
document.domainregenin.rchregister.value=document.domainregenin.chregister.value;
document.domainregenin.renregister.value=document.domainregenin.enregister.value;
document.domainregenin.rchorganize.value=document.domainregenin.chorganize.value;
document.domainregenin.renorganize.value=document.domainregenin.enorganize.value;
document.domainregenin.rchcountry.selectedIndex=document.domainregenin.chcountry.selectedIndex;
document.domainregenin.rencountry.selectedIndex=document.domainregenin.encountry.selectedIndex;
document.domainregenin.rchprovince.selectedIndex=document.domainregenin.chprovince.selectedIndex;
document.domainregenin.renprovince.selectedIndex=document.domainregenin.enprovince.selectedIndex;
document.domainregenin.rchcity.value=document.domainregenin.chcity.value;
document.domainregenin.rencity.value=document.domainregenin.encity.value;
document.domainregenin.rchaddress.value=document.domainregenin.chaddress.value;
document.domainregenin.renaddress.value=document.domainregenin.enaddress.value;
document.domainregenin.rpostcode.value=document.domainregenin.postcode.value;
document.domainregenin.rtelephoneno.value=document.domainregenin.telephoneno.value;
document.domainregenin.remail.value=document.domainregenin.email.value;
document.domainregenin.rfaxno.value=document.domainregenin.faxno.value;'>
<table border=1 bordercolor=#3770A9 bordercolordark=#ffffff cellpadding=3
cellspacing=0 width=100% class='size09' align='center'>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -