%@ page language="java" import="java.util.*" contentType="text/html;charset=gb2312"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
String dir=sn.getDir();
%>
后台操作区
<%
String message = (String)request.getAttribute("message");
if(message == null){
message = "";
}
if (!message.trim().equals("")){
out.println("");
}
request.removeAttribute("message");
%>
<%
String username=(String)session.getAttribute("user");
if(username==null){
response.sendRedirect(path+"/error.jsp");
}
else{
String method=request.getParameter("method");
String id=request.getParameter("id");
String ifhide = "";
String title="";
String content="";
if(id!=null){
System.out.println(id+"id不为空");
List afficheList = ab.getOneAffiche(Integer.parseInt(id));
title=afficheList.get(1).toString();
content=afficheList.get(2).toString();
ifhide=afficheList.get(5).toString();
}
String str1="";String str2="";
if(ifhide.trim().equals("0")){
str2="checked";
}else{
str1="checked";
}
%>
<%=dir %>/images/MainBg.gif topMargin=0 scroll=yes
marginheight="0" marginwidth="0">
<%} %>