sever.asp
上传用户:qyswxdl
上传日期:2013-06-01
资源大小:1373k
文件大小:5k
源码类别:

家庭/个人应用

开发平台:

ASP/ASPX

  1. <!--#include file="../checkpost.asp"-->
  2. <!--#include file="articleconn.asp"-->
  3. <!--#include file="zcm.asp"-->
  4. <!--#include file="security.asp"-->
  5. <%if session("flag")>3 then
  6.     response.write "<br><p align=center>您的操作权限不够!</p>"
  7.     response.end
  8. end if
  9. %>
  10. <%
  11. zj=Request.ServerVariables("SERVER_NAME")
  12. zj=left(replace(zj,"www.",""),6)
  13. zj=replace(zj,"0","a")
  14. zj=replace(zj,"1","b")
  15. zj=replace(zj,"2","c")
  16. zj=replace(zj,"3","d")
  17. zj=replace(zj,"4","e")
  18. zj=replace(zj,"5","f")
  19. zj=replace(zj,"6","g")
  20. zj=replace(zj,"7","h")
  21. zj=replace(zj,"8","i")
  22. zj=replace(zj,"9","j")
  23. zj=replace(zj,"a","40")
  24. zj=replace(zj,"b","41")
  25. zj=replace(zj,"c","52")
  26. zj=replace(zj,"d","53")
  27. zj=replace(zj,"e","64")
  28. zj=replace(zj,"f","65")
  29. zj=replace(zj,"g","76")
  30. zj=replace(zj,"h","77")
  31. zj=replace(zj,"i","88")
  32. zj=replace(zj,"j","89")
  33. zj=replace(zj,"k","20")
  34. zj=replace(zj,"l","21")
  35. zj=replace(zj,"m","22")
  36. zj=replace(zj,"n","23")
  37. zj=replace(zj,"o","24")
  38. zj=replace(zj,"p","25")
  39. zj=replace(zj,"q","26")
  40. zj=replace(zj,"r","27")
  41. zj=replace(zj,"s","28")
  42. zj=replace(zj,"t","29")
  43. zj=replace(zj,"u","30")
  44. zj=replace(zj,"v","31")
  45. zj=replace(zj,"w","32")
  46. zj=replace(zj,"x","33")
  47. zj=replace(zj,"y","34")
  48. zj=replace(zj,"z","35")
  49. zj=replace(zj,"-","36")
  50. zj=replace(zj,".","37")
  51. yzcv=zj*(len(zj)+len(zcn&"skyucvod"))
  52. Do While yzcv>99999999999
  53. yzcv=yzcv-99999999999
  54. loop
  55. if yzcv<>zcv then
  56. response.write "<script language=java-script>{window.alert('错误:程序尚未注册,此功能不能使用!');window.location='zcmayireg.asp?type=reg';}</script>"
  57. end if
  58. %>
  59. <html>
  60. <head>
  61. <meta http-equiv="Content-Language" content="zh-cn">
  62. <meta name="GENERATOR" content="Microsoft FrontPage 5.0">
  63. <meta name="ProgId" content="FrontPage.Editor.Document">
  64. <meta http-equiv="Content-Type" content="text/html; charset=gb2312">
  65. <link rel="stylesheet" href="inc/Admin_STYLE.CSS" type="text/css">
  66. <title>服务器路径管理</title>
  67. <style type="text/css">
  68. <!--
  69. .样式2 {font-size: 9pt}
  70. .样式4 {font-size: 9pt; font-weight: bold; }
  71. -->
  72. </style>
  73. </head>
  74. <body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" >
  75. <div align="center">
  76.   <center>
  77.     <!--#include file="top1.asp"-->
  78.     <table width="100%" border="0" cellspacing="0" cellpadding="2">
  79.       <tr>
  80.         <td>&nbsp;</td>
  81.       </tr>
  82.     </table>
  83.     <table border="0" cellpadding="2" cellspacing="1" class="border" style="border-collapse: collapse" bordercolor="#111111" width="100%" id="AutoNumber1" bgcolor="#FFFFFF" height="94">
  84.       <tr> 
  85.         <td height="22" colspan="5" class=title> <div align="center"><font color="#FFFFFF"><b><span class="样式2"><font color="#FF0000">电影服务器列表</font></span><font color="#FF0000"></span></font></b></font></div></td>
  86.       </tr>
  87.       <tr bgcolor="#429AEF"> 
  88.         <td height="10" > <div align="center" class="样式4 样式2"><font color="#FFFFFF">服务器</font></div></td>
  89.         <td height="10" > <div align="center" class="样式4"><font color="#FFFFFF">在线</font></div></td>
  90.         <td height="10" > <div align="center" class="样式4"><font color="#FFFFFF">FTP下载</font></div></td>
  91.         
  92.         <td height="10" > <div align="center" class="样式4"><font color="#FFFFFF">操作</font></div></td>
  93.       </tr>
  94.       <tr> 
  95.         <%set rs=server.createobject("adodb.recordset")
  96.     rs.open "select * from movie",conn,1,1
  97.     if zcn="" or zcv="" then response.end
  98.         dim i
  99.     i=1
  100.     do while not rs.eof
  101.     %>
  102.         <form method="POST" onsubmit action="changeadmin.asp?id=<%=rs("id")%>">
  103.           <td width="14%" class="tdbg"><div align="center">第<%=i%>服务器</div></td>
  104.           <td width="24%" class="tdbg"><input type="text" name="ipsipb" size="30" value="<%=rs("ipsip")%>"> 
  105.             <span lang="en-us"> </span> <span lang="en-us"> </span> </td>
  106.           <td width="20%" class="tdbg"><input type="text" name="moviev" size="30" value="<%=rs("movie")%>"></td>
  107.           
  108.           <td width="18%" class="tdbg"><input type="submit" value="修改" name="changemovie"> 
  109.             <span lang="en-us"> </span><font size="2"> 
  110.             <input type="submit" value="删除" name="deletserver">
  111.             </font></td>
  112.         </form>
  113.       </tr>
  114.      <% 
  115.       i=i+1
  116.       rs.movenext
  117.       loop
  118.       rs.close
  119.       set rs=nothing
  120.       conn.close
  121.       set conn=nothing
  122.       %>
  123.       <tr> 
  124.         <form method="POST" onsubmit action="changeadmin.asp">
  125.           <td class="tdbg"><div align="center">新增服务器</div></td>
  126.           <td class="tdbg"><input type="text" name="ipsipt" size="30"> </td>
  127.           <td class="tdbg"><input type="text" name="moviet" size="30"></td>
  128.           
  129.           <td class="tdbg"><input type="submit" value="新增" name="addmovieip"></td>
  130.         </form>
  131.     </table>
  132.   </center>
  133. </div>
  134. <br>
  135. <table width="100%" border="0" cellspacing="0" cellpadding="0">
  136.   <tr>
  137.     <td><div align="center"><span class="样式2">例如在线 
  138.         </span>
  139.         <font size="2">
  140.         <input type="text" name="服务器" size="22" value="rstp://www.skyuc.com/">
  141.         </font> FTP下载 
  142.         <input type="text" name="目录" size="22" value="ftp://www.skyuc.com/">
  143.         </div></td>
  144.   </tr>
  145. </table>
  146. <div align="center"><br>
  147.   <font color="#FF0000">注: 空白的服务器在增加电影时可直接使用其他服务器上影片的绝对地址!</font></div>
  148. </body>
  149. </html>