?? header.jsp
字號:
<%@page contentType="text/html;charset=GBK"%>
<%@include file="../admin/getsession.jsp"%>
<%@page import="net.ijsp.news.news.*"%>
<%@page errorPage="error.jsp"%>
<html>
<title>管理頁面</title>
<link rel="stylesheet" href="../inc/admin.css" type="text/css">
<meta NAME=GENERATOR Content="Microsoft FrontPage 3.0" CHARSET=GBK>
<BODY leftmargin="0" topmargin="0" marginheight="0" marginwidth="0">
<table width="95%" border="0" cellspacing="1" cellpadding="3" align=center class="tableBorder">
<tr>
<th width="100%" class="tableHeaderText" colspan=2 height=25>管理頁面
</th>
</tr>
<tr>
<td class="forumrow" colspan=2>
<p><B>注意</B>:<BR><b>目前只支持兩級分類</b>,你在使用過程中發現什么問題,請與我聯系:ccjsmile@sina.com,QQ:5743353<br>
技術支持:鋒網(www.ijsp.net)
</td>
</tr>
<tr>
<td class="forumrow">
<B>操作選項</B></td>
<td class="forumrow"><a href="main.jsp">管理首頁</a> | <a href="add.jsp">新建欄目</a> | 排序 |
<a href="addediter.jsp">增加編輯人員</a> | <a href="resetpass.jsp">更改密碼</a>
</td>
</tr>
</table>
<%
// 驗證管理員身份
Factory factory = Factory.getInstance();
UserFactory userFactroy = factory.getUserFactory();
try{
sessionUser = userFactroy.chkUser(sessionUser);
}catch(UserNotFoundException ue) {
throw new Exception("<li>您正在嘗試進行非法的操作。");
}catch(UserPasswordException u) {
throw new Exception("<li>您輸入的用戶名或密碼錯誤。");
}
if(sessionUser.getFlag()!=1)
throw new Exception("<li>您不是管理員,無權進行操作。");
%>
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -