📄 if_2.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")<"2" then
response.write "SORRY <br>"
response.write "您的权限不够!请勿尝试非法访问!<br>"
response.end
end if
if session("chayue")="1" then
response.write "SORRY <br>"
response.write "因为设置原因,您无法使用该功能,请与管理员联系!<br>"
response.end
end if
%>
<html>
<head>
<title>初次登录 - 客户分类设置</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<style type="text/css">
<!--
table { font-size: 10.5pt}
-->
</style>
</head>
<script Language="JavaScript">
<!--
function Form1_Validator(theForm)
{
if (theForm.sclass_folder.value == "")
{
alert(" 分类名称必须填写!");
theForm.sclass_folder.focus();
return (false);
}
if (theForm.paixu.value.length == "")
{
alert("排序不得为空!");
theForm.paixu.focus();
return (false);
}
{
var txt = theForm.paixu.value;
if(checknumber(txt))
{
alert("排序只允许输入数字!");
return false;
}
return true;
}
function checknumber(String)
{
var Letters = "1234567890";
var i;
var c;
for( i = 0; i < String.length; i ++ )
{
c = String.charAt( i );
if (Letters.indexOf( c ) ==-1)
{
return true;
}
}
return false;
}
return (true);
}
//-->
</script>
<body bgcolor="#FFFFFF">
<p align="center"> </p>
<p align="center"> </p>
<div align="center">
<table border="0" width="285" id="table2" cellspacing="0" cellpadding="0" style="font-size: 9pt; font-family: 宋体">
<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%">
<a href="system_userlist.asp?mclass=<%=session("dd")%>">
<span style="text-decoration: none"><font color="#000000">初次登录</font></span></a>
- 客户分类设置</td>
</tr>
<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%">
<font color="#CC0000">请至少先为您的系统设置一个客户分类!</font></td>
</tr>
</table>
</div>
<font size=2 color=ff0000>
<form method="POST" action="if_2_2.asp" onsubmit="return Form1_Validator(this)" >
<input type="hidden" name="vest" value="<%=session("dd")%>">
<div align="center">
<table border="0" width="283" id="table1" cellpadding="0" cellspacing="1" bgcolor="#DADADA" height="28">
<tr>
<td bgcolor="#EBEBEB" height="25" align="center">
<p align="center"><font style="font-size: 9pt">排序</td>
<td bgcolor="#EBEBEB" height="25" width="153" align="center">
<font size=2><span style="font-size: 9pt">分类名称</span></td>
<td bgcolor="#EBEBEB" height="25" width="93"><font size=2>
<p align="center"><span style="font-size: 9pt">操作</span></font></td>
</tr>
<tr>
<td bgcolor="#FFFFFF" height="25">
<font size=2 color=ff0000>
<span style="font-size: 9pt">
<input type="text" name="paixu" style="padding: 1px" size="4" value="1"></span></td>
<td bgcolor="#FFFFFF" height="25" width="153">
<font size=2 color=ff0000>
<span style="font-size: 9pt">
<input type="text" name="sclass_folder" style="padding: 1px" size="20"></span></td>
<td bgcolor="#FFFFFF" height="25" width="93">
<p align="center"><font size=2 color=ff0000>
<span style="font-size: 9pt">
<input type="submit" name="Submit2" value="确定">
<input type="reset" value="清除"></span></td>
</tr>
</table>
</div>
<p align="center">
</p>
</form>
</font><font color=ff0000 style="font-size: 9pt">
</font><font size=2 color=ff0000>
</table>
</div><br>
</td></tr>
</div>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -