<%@page contentType="text/html; charset=GBK"%> <%@include file="/inc/init.jsp"%> <%@ page import="org.apache.lucene.search.Hits"%> <% Fabu_article_db fabu = new Fabu_article_db(); DOC[] articledoc = fabu.getListall(1, 0, 6); String linktype="industry"; %> <% /* "-1", "不限" "0", "经营、管理类" "1", "财务类" "2", "销售、业务类" "3", "市场类" "4", "设计类" "5", "客户服务类" "6", "行政、人事类" "7", "文职类" "8", "工业、工厂类" "9", "计算机专业人员" "10", "电子、通讯、电气、电器类" "11", "机械、机电、仪表类" "12", "土建类" "13", "服务业、后勤类" "14", "其它专业人员" "15", "金融、经济、贸易、保险类" "16", "能源动力" "17", "房地产、公司资产管理" "18", "广告类" "19", "报纸新闻、媒体类" "20", "文体教育类" "21", "卫生医疗、美容保健" "22", "法律、信息咨询" "23", "化工、制药" "24", "宾馆饭店、餐饮旅游" */ String industry = pu.getString("industry","9");//行业ID String industryName = getIndustryName(industry); int type = 1; //type 1代表主页,2代表校园,100代表行业,200代表城市 String[] industrys = null; //小类 String industryname=pu.getString("industryname"); if(StringUtil.isFine(industryname)){ pagetitle = industryname + "行业招聘-"+industryname+"人才网招聘信息|在广东找工作,上广东人才网"; }else{ industryname=Select.getText("jobtype", industry); pagetitle=industryname+ "行业招聘-"+industryname+"人才网招聘信息|在广东找工作,上广东人才网"; } try { if (Integer.parseInt(industry) <= 30) { IndexUtilT index = new IndexUtilT(); ArrayList smallclass = index.getKeys(IndexUtilT .getBigPosition(), industry); industrys = (String[]) smallclass.toArray(new String[smallclass.size()]); } else { //大于30的是小类的值 industrys = pu.getStrings("industry"); } } catch (Exception e) { industrys = new String[] { "b9" }; //计算机 } ArrayList> joblist = new ArrayList>(); GetList getlist = new GetList(); int getcount = 12; //根据职位小类多少取记录 if (industrys != null && industrys.length < 5) { getcount = 40; } for (int i = 0; industrys != null && i < industrys.length; i++) { if(industrys[i].indexOf("b")!=-1){ //假如是大类 continue; } joblist.add(getlist.getNoRepeat(new String[] { industrys[i] },getcount)); //某个职位的12条 } ArrayList hotlist = getlist.getNoRepeat(industrys, 3); //热点招聘 Hits hits = null; //简历 hits = MySearcherT.searchResume(industrys, null, null, 0, 0, -1, 0, 0, 0, 3, 3, null, 30);//职位 //计算机意向的30天所有 ArrayList resumelist = null; if (hits != null && hits.length() > 9) { resumelist = SearchServer.getDOCS(hits, 0, 9); } else if (hits != null && hits.length() <= 9) { resumelist = SearchServer.getDOCS(hits, 0, hits.length()); } if (resumelist == null) { //假如没结果 resumelist = new ArrayList(); } //DOC[] joblist=new Job_db().getListByColumn("type",industry,0,3); %> <% //String industry = pu.getString("industry");//行业ID //int type = 1; //type 1代表主页,2代表校园,100代表行业,200代表城市 if(StringUtil.isFine(industry)){ type=IntUtil.s2i(Select.getText("industrytotype",String.valueOf(industry))); } if(type==-1){ //转换失败为-1 type=1; } ArrayList company_list=new ArrayList(); ArrayList allcompanyidlist=new ArrayList(); DOC[] companylistdocs = new Company_lastjob_db().getCountyAndEndtimeList(type,0, 60);//按照城市,推荐的热点职位 for(int i=0;companylistdocs!=null&&i <%=pagetitle%> <%----%> <%----%> <%--< %@include file="/../inc/top_public.jsp"%> --%> <%@include file="/inc/headmenu_orange_new.jsp"%>

个人会员登录

用户名:
密  码:
QQ登录" target="_blank">新浪微博登录
如果您还不是会员,马上免费注册

最新人才

<% UserCode_db ucdb = new UserCode_db(); for (int i = 0; resumelist != null && i < resumelist.size(); i++) { DOC rdoc=(DOC)resumelist.get(i); String uid=rdoc.get("userid"); DOC ucdoc=ucdb.getOne(uid); if(ucdoc==null){ ucdoc=new DOC(); } %> <% } %>
" title="<%=ucdoc.get("codeid")%>的个人简历" target="_blank" style="color:#FF6600"><%=ucdoc.get("codeid")%> <%=((DOC) resumelist.get (i)).geti("gender") == 0 ? "男" : "女"%> <%=Select.getText ("education_level", ((DOC) resumelist.get(i)).get("education_level")).length() > 2 ? Select.getText("education_level", ((DOC) resumelist.get(i)).get("education_level")).substring(0, 2) : Select.getText("education_level", ((DOC) resumelist.get(i)).get("education_level"))%> <%=((DOC) resumelist.get (i)).geti("workyears") != 0 ? ((DOC) resumelist.get(i)).geti("workyears") + "年工作经验" : "应届毕业生"%>
<% int boradid=16; %> <%@include file="/inc/logoList.jsp"%> <% String industrygg=Config.get("webappsdir")+"/gg/industry/"+industry+".jsp"; if(FileUtil.exists(industrygg)){ industrygg="/gg/industry/"+industry+".jsp"; }else{ industrygg="/gg/contergg.jsp"; } %>

+更多 热点招聘

<% int beforelength=0; try{ for(int i=0;i<50&&i28){ companyname= Util.sub_String(companyname,26)+".."; } int indexnum=jobname.indexOf(" "); if(indexnum!=-1){ jobname=jobname.substring(0,indexnum); } //cut jobname String tempjobname=getPatternStr(jobname,">(.+?)",1); if( tempjobname.getBytes().length>26){ try{ jobname=jobname.replaceAll(tempjobname,Util.sub_String(tempjobname,24)+".."); }catch(Exception e){} } %>
> .html" target="_blank"><%=companyname%>

诚聘: <%=jobname%> <%=company_listdoc.get("ptime").length()>=10&&java.sql.Date.valueOf(company_listdoc.get("ptime").substring(0,10)).after(new java.util.Date(System.currentTimeMillis()-1000*3600*24*3))?" ":""%>

<% beforelength++; } }catch(Exception e){ //System.out.println("----e.toString()----gg-------"+e.toString()); //System.out.println("----e.getMessage()----gg-------"+e.getMessage()); } if(company_list.size()<50){ hits=MySearcherT.searchJob(null,industrys,null,-1, 0, 0,0, null, 3, 3, 60); //hits=MySearcherT.searchJob(null,null,"a"+industry,) int listlength=company_list.size();//得到前一个热点招聘长度,用来计算下面读索引 if(hits!=null&&hits.length()>2000){ company_list=SearchServer.getDOCS(hits,0,2000); }else if(hits!=null){ company_list=SearchServer.getDOCS(hits,0,hits.length()); } for(int i=0,j=0;i<50&&i28){ companyname= Util.sub_String(companyname,26)+".."; } //cut jobname if( jobname.getBytes().length>26){ jobname=Util.sub_String(jobname,24)+".."; } %> <% } } %>
<%! public String getPatternStr(String str, String macthstr, int count) { String strs=""; try { java.util.regex.Pattern pa = java.util.regex.Pattern.compile(macthstr); java.util.regex.Matcher matcher = pa.matcher(str); if(matcher.find()) { if(count<=matcher.groupCount()){ strs=matcher.group(count); } } } catch (RuntimeException e) { // TODO Auto-generated catch block e.printStackTrace(); } return strs; } public String getIndustryName(String industry){ int flag = Integer.parseInt(industry); String str = ""; switch(flag){ case 0: str= "经营"; break; case 1: str= "财务"; break; case 2: str= "销售"; break; case 3: str= "市场"; break; case 4: str= "设计"; break; case 5: str= "客户"; break; case 6: str= "行政"; break; case 7: str= "文职"; break; case 8: str= "工业"; break; case 9: str= "IT"; break; case 10: str= "电子"; break; case 11: str= "机械"; break; case 12: str= "土建"; break; case 13: str= "服务"; break; case 14: str= "其它"; break; case 15: str= "金融"; break; case 16: str= "能源"; break; case 17: str= "地产"; break; case 18: str= "广告"; break; case 19: str= "报纸"; break; case 20: str= "文体"; break; case 21: str= "医疗"; break; case 22: str= "法律"; break; case 23: str= "化工"; break; case 24: str= "宾馆"; break; case 25: str= "保险"; break; case 26: str= "采购"; break; case 27: str= "质量"; break; case 28: str= "汽车"; break; case 29: str= "服装"; break; case 30: str= "物流"; break; case 3312: str = "模具"; break; case 3303: str = "模具"; break; case 3325: str = "模具"; break; default: break; } return str; } %>