%@ page language="java" import="java.util.*" contentType="text/html;charset=gb2312"%>
<%@ page language="java" import="com.fredck.FCKeditor.*" %>
<%@ taglib uri="/WEB-INF/FCKeditor.tld" prefix="FCK" %>
<%
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");
if(method==null){
method="addlvyou";
}
String title = "";
String dz="";
String yb="";
String dh="";
String jd="";
String content="";
String id="";
//String s="如无缩略图请保持为空";
if(method.equals("uplvyou")){
id=request.getParameter("id").trim();
List newsList=tb.getOneTrave(Integer.parseInt(id));
title=newsList.get(1).toString();
dz=newsList.get(3).toString();
yb=newsList.get(4).toString();
dh=newsList.get(5).toString();
jd=newsList.get(6).toString();
content=newsList.get(7).toString();
}
%>
<%} %>