?? button_t.asp
字號(hào):
<!-- #include file="cookies.asp" -->
<!-- #include file="conn/conn.asp" -->
<%
id=request.cookies("username")
%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title></title>
<style type="text/css">
<!--
body {
background-color: #0099FF;
}
-->
</style></head>
<body>
<table width="760" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td>
<a href="exam_add.asp?id=<%=id%>">試卷管理</a>
<a href="que_add.asp?id=<%=id%>">創(chuàng)建題目</a>
<a href="que_manage.asp?id=<%=id%>">題庫(kù)管理</a>
<a href="cjtj.asp?id=<%=id%>">成績(jī)管理</a>
<% '取當(dāng)前登錄用戶級(jí)別
set rs=server.createobject("adodb.recordset")
sql="select * from student where id='"&trim(id)&"'"
rs.open sql,conn,1,1
if not rs.eof then
lev=trim(rs("lev"))
if lev=3 then '管理員 %>
<a href="stud_manage.asp?id=<%=id%>">用戶管理</a>
<a href="m_pro_add.asp?id=<%=id%>">專業(yè)管理</a>
<a href="m_cur_add.asp?id=<%=id%>">課程管理</a>
<% else lev=2%>
</td>
<td>
<input type="button" name="change" value="編輯個(gè)人信息" onclick="window.open('stud_edit.asp?id=<%=trim(rs("id"))%>','intr','menubar=no,toolbar=no,location=no,directories=no,status=yes,scrollbars=1,resizable=0,width=530,height=200,top=80,left=100');return false;">
</td>
<%
end if
end if
rs.close
set rs=nothing
%>
</td>
</tr>
</table>
<hr>
</body>
</html>
?? 快捷鍵說(shuō)明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -