<%@ page contentType="text/html; charset=GBK" %> <%@ include file="../class/dbconn.jsp" %> 汕头大学研究生招生网 <%@ include file="topzs.html" %> <% deke_recruit recruit0=new deke_recruit(); recruit0.recruit_id=Integer.parseInt(request.getParameter("recruit_id")); ResultSet getrecruit=recruit0.Getrecruit(); if(!getrecruit.next()) { out.write(ErrorMsg("操作错误!")); out.close(); } String strCatID=request.getParameter("category_id"); String displayStyle="display:none"; int category_id=0; if(strCatID!=null) category_id=Integer.parseInt(strCatID); deke_category category_c=new deke_category(); category_c.category_id=category_id; ResultSet getCategory_c=category_c.GetCategory(); if(!getCategory_c.next()) { out.write(ErrorMsg("操作错误!")); out.close(); } /*deke_category category_c=new deke_category(); category_c.m_code="zsxx"; category_c.c_root=category_id; category_c.c_active="yes"; ResultSet listCategory_c=category_c.ListCategory();*/ String cc_link=""; String target=""; %>
<% deke_recruit recruit=new deke_recruit(); recruit.category_id=category_id; ResultSet listrecruit=recruit.Listrecruit(); while(listrecruit.next()) { cc_link=listrecruit.getString("r_link")+""; target="_blank"; if(cc_link.compareTo("")==0) {target="_self"; cc_link="showrecruit.jsp?recruit_id="+listrecruit.getString("recruit_id")+"&category_id="+category_id;} %> <% } %>
  <%=listrecruit.getString("r_name")%>
<%=HtmlEntities(getCategory_c.getString("c_name"))%>>><%=HtmlEntities(getrecruit.getString("r_name"))%>
 <%=getrecruit.getString("r_content")%>
 
<%@ include file="../include/buttom.html" %>