⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 man_data4.asp

📁 基于ASP开发的聊天室源码
💻 ASP
字号:
<!--#INCLUDE FILE="config.asp" -->
<%
Response.Expires=0
Response.ExpiresAbsolute = Now() - 1
Response.AddHeader "Pragma","No-Cache"
Response.AddHeader "Cache-Control","Private"
Response.CacheControl = "No-Cache"
if not IsArray(Session("info")) then Response.Redirect "err.asp?kind=20"
info=Session("info")
if InStr(Application("maninfo"),"," & info(0) & ",")<>0 then Response.Redirect "manyou.asp"
if zzbird_master<>info(0) then Response.Redirect "err1.asp?kind=13"
set fso=server.createobject("scripting.filesystemobject")
oldfile=server.mappath("temp_database.mdb")
newfile=server.mappath(Application("zzbird_database"))
fso.copyfile oldfile,newfile,true
fso.deletefile oldfile
set fso=nothing
%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>压缩数据</title>
<style>
<!--
fieldset     { font-size: 10pt }
-->
</style>
<script>
var test="ok";
function test1()
{test="";}
function writeit()
{
ok.innerHTML="第五步<br><br>压缩完成,点击<a style='color:red' href='#' onclick=javascript:document.man.a2.disabled=0;window.open('chatbest.asp','newwindow3','height=370,width=460,left=150,top=60,resizable=no,scrollbars=auto,status=no,toolbar=no,menubar=no,location=no')>此链接</a>测试(不测试将无法继续),如果页面不会出错则压缩成功,点击下一步删除备份,否则请<a style='color:red' onclick='test1()' href='man_data6.asp'>还原备份</a>。";
}
function openwin(){
if(test=="ok")
window.open('man_data6.asp','','height=210,width=310,left=150,top=60,resizable=no,scrollbars=auto,status=no,toolbar=no,menubar=no,location=no');
}
</script>
</head>
<body bgcolor="buttonface" style="border: 3px double buttonface" onunload="openwin()">
<form method="POST" name="man" action="man_data2.asp">
<table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="46%" id="AutoNumber1" height="62">
  <tr>
    <td width="100%" height="150">
      <fieldset style="padding: 2; width:281; height:142">
      <legend><img border="0" src="images/data.gif">压缩数据</legend>
      <p align="center" id="ok">第四步<br><br>删除临时文件......<br><br>请等待......</p></fieldset>
    </td>
  </tr>
  <tr>
    <td width="100%" align="right"><input type="button" value="上一步" name="a1" disabled><input type="button" value="下一步" name="a2" disabled onclick="test1();location.href='man_data5.asp'">
    <input type="button" value="完成" name="a3" disabled><input type="button" value="取消" name="a4" disabled></td>
  </tr>
</table>
</form>
<script>
setTimeout("writeit()",1000)
</script>
</body>
</html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -