<%@LANGUAGE="VBSCRIPT" CODEPAGE="936"%> 主机管理 <% conn.open constr p_id=requesta("p_id") act=requesta("act") if len(p_id)<=0 then url_return "参数错误",-1 sql="select * from vhhostlist where s_sysid="& p_id &" and S_ownerid=" & session("u_sysid") rs.open sql,conn,1,3 if rs.eof and rs.bof then rs.close:conn.close:url_return "没有找到此产品",-1 s_comment=rs("s_comment") session("Control_vhost_name")=s_comment s_ftppassword=rs("s_ftppassword") s_serverIP=rs("s_serverIP") if s_serverIP="" then s_serverIP = s_comment & "." & rs("s_serverName") s_buydate=rs("s_buydate") s_expiredate=rs("s_expiredate") s_ProductId=rs("s_ProductId") if act="changepwd" then newpwd=requesta("p_pwd") commandstr="vhost" & vbcrlf & _ "mod" & vbcrlf & _ "entityname:ftppassword" & vbcrlf & _ "sitename:" & s_comment & vbcrlf & _ "ftppassword:" & newpwd & vbcrlf & _ "." & vbcrlf if isBad(s_comment,newpwd,binfo) then url_return "FTP密码很重要,您输入的密码过于简单,请重新设置。",-1 if checkPassStrw(newpwd) then url_return "密码中含有不可识别的字符,请重新设置。",-1 renewdata=pcommand(commandstr,session("user_name")) if left(renewdata,3)="200" then alert_redirect "修改密码成功",request("script_name") & "?p_id=" & p_id else alert_redirect "修改密码失败:"& renewdata ,request("script_name") & "?p_id=" & p_id end if rs.close conn.close response.end elseif act="syn" then returnstr=doUserSyn("vhost",s_comment) if left(returnstr,3)="200" then alert_redirect "同步数据成功",request("script_name") & "?p_id=" & p_id else alert_redirect "同步数据失败" & returnstr,request("script_name") & "?p_id=" & p_id end if end if ''''''''''''''''''''''''''''''''''''''赠品相关'''''''''''''''''''''''''''''''''''' set prs=server.CreateObject("adodb.recordset") domainFree=false hostFree=false mssqlFree=false mysqlFree=false preSql="select top 1 a.*,b.pre1,b.pre2,b.pre3,b.pre4 from protofree a inner join vhhostlist b on (b.s_buytest=false and a.proid=b.s_productId and b.s_ownerid=" & session("u_sysid") & " and b.s_sysid=" & p_id & " and a.type='host') where not exists(select sysid from protofree where b.s_productid in (freeproid1,freeproid2,freeproid3,freeproid4) and type='host')" prs.open preSql,conn,3 if not prs.eof then if len(trim(prs("pre1")&""))=0 and len(prs("freeproid1")&"")>0 and dateDiff("d",s_buydate,date)<=15 and isgetFreeProduct("host",s_comment,prs("freeproid1")) then domainFree=true if len(trim(prs("pre2")&""))=0 and len(prs("freeproid2")&"")>0 and isgetFreeProduct("host",s_comment,prs("freeproid2")) then hostFree=true if len(trim(prs("pre3")&""))=0 and len(prs("freeproid3")&"")>0 and isgetFreeProduct("host",s_comment,prs("freeproid3")) then mysqlFree=true if len(trim(prs("pre4")&""))=0 and len(prs("freeproid4")&"")>0 and isgetFreeProduct("host",s_comment,prs("freeproid4")) then mssqlFree=true end if prs.close set prs=nothing '''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''' rs.close conn.close %>
站点管理

" method=post>
ftp名: <%=s_comment%>  /" target="_blank">[上传] 密码:
服务器地址: <%=s_serverIP%> 主机型号: <%=s_ProductId%>
购买时间: <%=s_buydate%> 到期时间: <%=s_expiredate%>
?act=syn';">
提示:如果进入高级管理提示密码错误,请先修改密码。
获 取 赠 品
<% if not domainFree then%> <%else%> <%end if%> <%if not hostFree then%> <%else%> <%end if%> <%if not mssqlFree then%> <%else%> <%end if%>
*注:
  • 域名赠品的使用期限为一年
  • 赠送的Mysql数据库和免费企业邮局,请点“进入高级管理”然后点相应按钮获取。
  • 赠品使用期限和购买产品相同(非域名赠品有效)
  • 在产品续费相对应的赠品自动续费系统将不收取任何费用
  • 产品升级后将不能再获得赠品
  • 如果该产品是赠品,将不能再获得针对此产品的赠品.
  • 在购买主机产品超过15天还没有获取域名赠品的将取消该域名赠品的获取其它赠品除外
  • 获得赠品时将不收取任何费用