📄 infomanage.aspx
字号:
<%@ page language="C#" autoeventwireup="true" inherits="admin_infomanage, App_Web_eu5x348i" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head>
<title>用户管理</title>
<style type="text/css">
A:visited {
COLOR:#002d96; TEXT-DECORATION: none;font-size:12px;
}
A:active {
COLOR: #990000; TEXT-DECORATION: none;font-size:12px;
}
A:hover {
color:Blue;TEXT-DECORATION: none;font-size:12px;font-weight:bolder; position: relative; left:-2px;top:-1px
}
A:link {
COLOR:MidnightBlue; TEXT-DECORATION: none;font-size:12px;
}
.text{
BORDER-RIGHT: transparent 0px solid; BORDER-TOP: transparent 0px solid; FONT-SIZE: 12px;BORDER-LEFT: transparent 0px solid;BORDER-BOTTOM: #1772dd 1px solid;BACKGROUND-COLOR:TRANSPARENT; color:#4A6EB8;width:70px;text-align:center
}
.button {
BORDER-RIGHT: #002d96 1px solid; PADDING-RIGHT: 0px; BORDER-TOP: #002d96 1px solid; PADDING-LEFT: 2px; FILTER: progid:DXImageTransform.Microsoft.Gradient(GradientType=0,
StartColorStr=#ffffff,EndColorStr=#72B1ED); PADDING-BOTTOM: 0px; MARGIN: 0px 4px; BORDER-LEFT: #002d96 1px solid; CURSOR: hand; COLOR: #003366; PADDING-TOP: 2px; BORDER-BOTTOM: #002d96 1px solid; HEIGHT: 20px
}
.shortbox{
BORDER-RIGHT: #076AA3 1px solid; BORDER-TOP: #076AA3 1px solid; BORDER-LEFT: #076AA3 1px solid; BORDER-BOTTOM: #076AA3 1px solid
}
.tb {
BORDER-COLLAPSE: collapse;MARGIN: 2px;width:95%;font-size:11px;filter:alpha(opacity=60);background-color:#0881f7
}
.tb TD {
BORDER-RIGHT: #5e85b1 1px solid; BORDER-TOP: #5e85b1 1px solid; BORDER-LEFT: #5e85b1 1px solid; BORDER-BOTTOM: #5e85b1 1px solid;text-align:left;font-weight:bolder;color:White
}
</style>
<script language="javascript">
function getBid(s){
return document.getElementById(s);
}
function showNext(id)
{
var pro=getBid("ddl_profes");
var tb=admin_infomanage.GetTable(id).value;
if (tb != null){
if(tb != null && typeof(tb) == "object" && tb.Rows != null)
{
pro.length = 0;
pro.options.add(new Option("请选择",0));
//加了个“请选择”主要为了触发onchange事件
for(var i=0; i<tb.Rows.length; i++)
{
var id = tb.Rows[i].num; //这个地方需要注意区分大小写
var txt = tb.Rows[i].name; //跟dataset表的列名称要一致
pro.options.add(new Option(txt,id));
}
}
}
}
function showText(s)
{
var info=document.getElementById("sp_info")
var d=getBid("sel_user").value;
var i=admin_infomanage.GetCount(s,d).value;
if(i==0)
info.value="此ID可用";
else
info.value="此ID已经存在";
}
function GetValue()
{
getBid("tbox_colpro").value=getBid("ddl_college").value+getBid("ddl_profes").value;
}
function Display(aa,bb,cc)
{
if(aa.style.display=="none")
{
cc.style.display="none";
bb.style.display="none";
aa.style.display="";
}
else
{
bb.style.display="none";
cc.style.display="none";
}
}
function selecttype()
{
var s=getBid("sel_user");
if(s.selectedIndex==0)
{
div_info.style.display='none';
getBid("tbox_userclass").value=getBid("sel_user").value;
}
else
{
div_info.style.display='block';
getBid("tbox_userclass").value=getBid("sel_user").value;
}
}
</script>
</head>
<body style="OVERFLOW-Y: hidden; OVERFLOW-X: hidden" leftMargin="0" topMargin="0" rightMargin="0" >
<form id="infomanage" method="post" runat="server" encType="multipart/form-data">
<div style="z-index:10;position:absolute;left:240px;top:40px;width:200px;height:40px">
<table class=tb >
<TR>
<td width=50px align="right">学院:</td>
<td width=130px align=left ><asp:dropdownlist id="ddl_college" runat="server"></asp:dropdownlist></td>
</TR>
<TR>
<td align="right">专业:</td>
<td><asp:dropdownlist id="ddl_profes" runat="server"></asp:dropdownlist></td>
</TR>
</table>
</div>
<div style="z-index:10;position:absolute;left:240px;top:90px;width:200px;height:40px">
<table style="text-align:center;border:#5e85b1 1px solid; cursor:hand;">
<tr>
<td></td>
<td><input type=button value="获取学院ID与专业ID" class=button onclick="GetValue()"/><br /><input type=text id="tbox_colpro" class=text /></td>
</tr>
</table>
</div>
<table cellSpacing="0" cellPadding="0" width="440" border="0" >
<tr>
<td>
<table cellSpacing="0" cellPadding="0" border="0">
<tr>
<td colSpan="6"><br>
</td>
</tr>
<tr>
<td width="10"></td>
<td align="left">
<table cellSpacing="0" cellPadding="0" border="0">
<tbody>
<tr>
<td height="5"><IMG height="5" src="../images/corner_00.gif" width="100"></td>
</tr>
<tr>
<td bgColor="#808080">
<table cellSpacing="0" cellPadding="0" width="98" align="center" border="0">
<tr>
<td style="COLOR: #990000" vAlign="top" align="center" bgColor="#ffffff"><A onclick="Display(tb_singleadd,tb_groupadd,tb_manageuser);return false" href="#">新建单个用户</A>
</td>
</tr>
</table>
</td>
</tr>
</tbody>
</table>
</td>
<td width="1"> </td>
<td align="left">
<table cellSpacing="0" cellPadding="0" border="0">
<tbody>
<tr>
<td height="5"><IMG height="5" src="../images/corner_00.gif" width="100"></td>
</tr>
<tr>
<td bgColor="#808080">
<table cellSpacing="0" cellPadding="0" width="98" align="center" border="0">
<tr>
<td style="COLOR: #990000" vAlign="top" align="center" bgColor="#ffffff"><A onclick="Display(tb_groupadd,tb_singleadd,tb_manageuser);return false" href="#">批量维护用户</A>
</td>
</tr>
</table>
</td>
</tr>
</tbody>
</table>
</td>
<td width="1"> </td>
<td align="left">
<table cellSpacing="0" cellPadding="0" border="0">
<tbody>
<tr>
<td height="5"><IMG height="5" src="../images/corner_00.gif" width="100"></td>
</tr>
<tr>
<td bgColor="#808080">
<table cellSpacing="0" cellPadding="0" width="98" align="center" border="0">
<tr>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -