📄 admin_config.asp
字号:
<!--#include file=conn.asp-->
<!--#include file=admin_chkpass.asp-->
<!-- POWERED BY 7wap Enterprise Mobile Infomation System ●<%=now()%>-->
<html>
<head>
<title><%=ewap_name%></title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<meta name="Generator" content="<%=ewap_name%>">
<meta name="copyright" content="sunyanqing">
<link rel='stylesheet' href='Ewap.css' type='text/css'>
</head>
<body>
<div class=main><span class=title><%=ewap_(6)%></span>
<div class=body>
<%
%>
<%
dim rs,sql
set rs=server.createobject("ADOdb.Recordset")
sql="select * from info where id=1"
rs.open sql,cn,3,3
Dim action
action=Request.QueryString("action")
if action="config" then
rs("name")=trim(request("c_name"))
rs("tel")=trim(request("c_tel"))
rs("fax")=trim(request("c_fax"))
rs("add")=trim(request("c_add"))
rs("pn")=trim(request("c_pn"))
rs("lan")=trim(request("c_lan"))
rs("wap")=trim(request("c_wap"))
rs("web")=trim(request("c_web"))
rs("top")=trim(request("c_top"))
rs.update
If not err then
response.write"<script>alert('"&ewap_(30)&"');window.document.location.href='admin_index.asp'</script>"
else
response.write"<script>alert('"&ewap_(34)&"');window.document.location.href='admin_index.asp'</script>"
End If
else
%>
<form action="admin_config.asp?action=config" Method="POST">
<%=ewap_(40)%><br/><input name="c_name" value=<%=rs("name")%> type="text" size="14" ><br/>
<%=ewap_(41)%><br/><input name="c_add" value=<%=rs("add")%> type="text" size="14"><br/>
<%=ewap_(42)%><br/><input name="c_pn" value=<%=rs("pn")%> type="text" size="14"><br/>
<%=ewap_(43)%><br/><input name="c_tel" value=<%=rs("tel")%> type="text" size="14"><br/>
<%=ewap_(44)%><br/><input name="c_fax" value=<%=rs("fax")%> type="text" size="14"><br/>
<%=ewap_(45)%><br/>
<%
select case rs("lan")
case "1"
%>
<select name="c_lan"><option value="1" selected>简体中文</option><option value="2">English</option></select>
<br/>
<%
case "2"
%>
<select name="c_lan"><option value="1">简体中文</option><option value="2" selected>English</option></select>
<br/>
<%
end select
%>
<%=ewap_(46)%><br/><input name="c_wap" value=<%=rs("wap")%> type="text" size="14"><br/>
<%=ewap_(47)%><br/><input name="c_web" value=<%=rs("web")%> type="text" size="14"><br/>
<%=ewap_(48)%><br/><input name="c_top" value=<%=rs("top")%> type="text" size="14"><br/>
<input type="submit" value="<%=ewap_(13)%>">
</form>
</div>
<br/>
<%
end if
rs.close
set rs=nothing
cn.close
set cn=nothing
%>
<!--#include file=admin_menu.asp--> </div>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -