📄 system.asp
字号:
<!--#include file="conn.asp" -->
<%
if session("name")="" or session("dd")="" then
response.write "SORRY <br>"
response.write "数据在携带中出现意外!<br>"
response.write "<a href=login.asp>回去重来</a>"
response.end
end if
if session("quanxian")<"3" then
response.write "SORRY <br>"
response.write "您的权限不够!请勿尝试非法访问!<br>"
response.end
end if
dim rs,sql
sql="select * from mclass where mclass_id="&session("dd")&""
set rs=server.createobject("adodb.recordset")
rs.Open sql,conn,1,3
if not rs.EOF then
%>
<html>
<head>
<title>修改我的个人资料</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<style type="text/css">
<!--
body,table {font-size: 9pt; font-family: 宋体}
input { font-size: 9pt; color: #000000; padding-top: 3px}
.c { font-family: 宋体; font-size: 9pt; font-style: normal; line-height: 12pt; font-weight: normal; font-variant: normal; text-decoration: none}
--></style>
</head>
<script Language="JavaScript">
<!--
function Form1_Validator(theForm)
{
if (theForm.mclass_folder.value == "")
{
alert("必须填写系统名称!");
theForm.mclass_folder.focus();
return (false);
}
return (true);
}
//-->
</script>
<body text="#000000" topmargin="0" leftmargin="0">
<br>
<div align="center">
<table border="0" width="514" id="table1" cellspacing="0" cellpadding="0">
<tr>
<td style="font-family: 宋体,'Arial Narrow','Times New Roman'; font-size: 9pt; line-height: 150%"> </td>
</tr>
<tr>
<td style="font-family: 宋体,'Arial Narrow','Times New Roman'; font-size: 9pt; line-height: 150%">
<span style="text-decoration: none"><font color="#000000">系统管理</font></span>
-
<a target="mainFrame" href="vbscript:history.back()" style="text-decoration: none">
<font color="#3366FF">返回上页</font></a></td>
</tr>
</table>
</div>
<form action="systemok.asp" method="POST"onsubmit="return Form1_Validator(this)">
<ul>
<div align="center">
<center>
<table border="0" cellspacing="1" cellpadding="0" width="554" height="1" bgcolor="#DADADA">
<tr>
<td height="25" bgcolor="#EBEBEB" colspan="2">
基本资料</td>
</tr>
<tr>
<td width="143" height="25" bgcolor="#EBEBEB">
<p align="right">系统名称 </td>
<td height="25" bgcolor="#FFFFFF">
<input type="text" name="mclass_folder" size="27" maxlength="27" value="<%=rs("mclass_folder")%>">
<font color="#FF0000">您系统的名称,必填</font></td>
</tr>
<tr>
<td width="143" height="25" bgcolor="#EBEBEB">
<p align="right">总客户项 </td>
<td height="25" bgcolor="#FFFFFF">
<input type=hidden name=mclass size=16 maxlength="12" value=<%=request("mclass")%>> <input type="text" name="allcust" size="27" maxlength="27" value="<%=rs("allcust")%>">
“所有客户”的自定义名</td>
</tr>
</table>
<br>
<br>
<font size="3" class="c" color="#000000">
<input type="SUBMIT" name="Submit" value="修改">
<input type="RESET" name="Reset" value="还原">
</font>
</center>
</div>
</ul>
<p align="center">
<font size="3" class="c" color="#000000">
<input type="HIDDEN" name="action" value="RegSubmit"> </font>
</form>
<p align="center"> </p>
</body>
</html>
<%end if%>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -