📄 admin_createhtml2.asp
字号:
<!--#include file="conn.asp"-->
<!--#include file="code.asp"-->
<%
'检查管理员是否登录
AdminName = ReplaceBadChar(Trim(Request.Cookies(webkey)("AdminName")))
AdminPassword = ReplaceBadChar(Trim(Request.Cookies(webkey)("AdminPassword")))
RndPassword = ReplaceBadChar(Trim(Request.Cookies(webkey)("RndPassword")))
If AdminName = "" Or AdminPassword = "" Or RndPassword = "" Then
Response.Redirect "Admin_login.asp"
End If
%>
<html>
<head>
<meta NAME="GENERATOR" Content="Microsoft FrontPage 6.0">
<meta HTTP-EQUIV="Content-Type" content="text/html; charset=gb2312">
<LINK href="image/style.css" rel=stylesheet>
<title><%=webname%></title>
</head>
<body leftMargin=0 bgcolor="#EFEFEF" topMargin=15>
<table width="90%" border="0" align="center" cellpadding="3" cellspacing="1" bgcolor="#666666">
<tr>
<td bgcolor="#FFFFFF"> <b>生成HTML页</b> <a href="#" target="_main">生成首页</a> <a href="#" target="_main">生成私服分类页</a> <a href="#" target="_main">生成私服页</a> <a href="#" target="_main">生成外挂下载页</a></td>
</tr>
</table>
<TABLE class=tableBorder height=1 cellSpacing=1 cellPadding=5 width="90%"
align=center border=0>
<TBODY>
<TR>
<TH height=25 style="background-image: url('images/admin_bg_1.gif')"> <b><font style="font-size: 9pt">模 版 管 理</font></span></b></TH></TR></tbody></table>
<%if request.form("s1")="" then%>
<form method="POST">
<p align="center"><textarea rows="28" name="s1" cols="147"><!--#include file="index_mb.asp"--></textarea><br>
<input type="submit" value="首页生成htm" name="B1"></p>
</form>
<%
else
conter=request.form("s1")
set fs=server.CreateObject("Scripting.FileSystemObject")
FilePath=server.MapPath("index.htm")
set htm=fs.opentextfile(filepath,2,true)
htm.write conter
response.write"<script>alert('首页html生成成功!');history.back();</Script>"
end if
%>
<p align="center"> <a href="javascript:history.back()">[返回]</a></p>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -