%@ page contentType="text/html; charset=gb2312" %>
<%@ page import="java.sql.*"%>
<%@ page import="java.io.*"%>
<%@ page import="org.apache.oro.text.perl.Perl5Util"%>
<%!
boolean isImage(StringBuffer imgurl){
String me = imgurl.toString().trim().toLowerCase();
me = me.substring(me.length()-4,me.length());
if(me.equals(".jpg") || me.equals(".gif") || me.equals(".png")) return true;
else return false;
}
%>
<%
int cote_id = 2;
//设置新闻二级栏目id
if (!userCoteLimit.isLimit(cote_id,user.getUser_type(),user.getUser_vip())){
//"isLimit" is a user login function
response.sendRedirect("error.jsp");
return;
}
%>
医药专题
|
Copyright ©2000-2005 chinamedicom.com
. All Rights Reserved
|
<%
}catch(Exception e){
out.println(e.getMessage());
}finally{
if(rs != null){
try{rs.close();}catch(SQLException e){;}
rs=null;
}
if(stmt != null){
try{stmt.close();}catch(SQLException e){;}
stmt=null;
}
if(con != null){
try{con.close();}catch(SQLException e){;}
con=null;
}
}
%>