<%@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, 8); int workcity = pu.getInt("selectcity"); int province = pu.getInt("province",-1); //0为全国 /city.jsp?province=0 int type=1; String linktype=""; if(province==0){ linktype="country"; type=223; }else if(workcity==20000){ linktype="gz"; type=200; } else if(workcity==32){ linktype="sz"; type=201; } else if(workcity==52){ linktype="dg"; type=202; } else if(workcity==53){ linktype="fs"; type=208; } else if(workcity==78){ linktype="zs"; type=209; } else if(workcity==77){ linktype="hz"; type=206; } else if(workcity==51){ linktype="zh"; type=210; } else if(workcity==8300){ linktype="jm"; type=203; } else if(workcity==50){ linktype="st"; type=205; } else if(workcity==6300){ linktype="sw"; type=225; } else if(workcity==336){ linktype="qy"; type=212; } else if(workcity==335){ linktype="hy"; type=226; } else if(workcity==20001){ linktype="othercity"; type=227; }else{ linktype="country"; } if(workcity==8500){ //北京 province=-1; type=IntUtil.s2i(Select.getText("citytotype",String.valueOf(workcity))); } else if(workcity==8600){ //上海 province=-1; type=IntUtil.s2i(Select.getText("citytotype",String.valueOf(workcity))); } %> <% String cityname = ""; if(province==0){ cityname="全国"; }else if(province>0){ cityname=Select.getText("city", "" + province); }else{ cityname=Select.getText("city", "" + workcity); } if(cityname.length()>2){ cityname = cityname.substring(0,2); } if("珠三".equals(cityname)){cityname="珠三角";} pagetitle =cityname + "人才网_"+Config.get("seo_title")+"广东招聘会_"+cityname+"招聘会_大学生招聘会_毕业生招聘会," ; String addk=""; if(cityname.indexOf("广州")==-1){addk=",广州人才网";} %> <% //type 1代表主页,2代表校园,>=100<199代表行业,200及以上代表城市 //if(province==-1){ //传参数啊 // type=IntUtil.s2i(Select.getText("citytotype",String.valueOf(workcity))); //}else{ // type=IntUtil.s2i(Select.getText("citytotype",String.valueOf(province))); //} if(type==-1){ //转换失败为-1 type=1; } ArrayList company_list=new ArrayList(); ArrayList allcompanyidlist=new ArrayList(); DOC[] companylistdocs = new Company_lastjob_db().getCountyAndEndtimeList(type,0, 160);//按照城市,推荐的热点职位 for(int i=0;companylistdocs!=null&&i <%=pagetitle%> <%----%> <%----%> <%--< %@include file="/../inc/top_public.jsp"%>--%> <%@include file="/inc/head_o_city.jsp"%>

个人会员登录

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

+更多最新资讯

<%--校招模块--%>
<%@include file="/gg/xz_job.html"%>
<% int boradid=pu.getInt("bid"); %> <%@include file="/inc/logoList.jsp"%> <%--
校园招聘
--%>

+更多热点招聘

<% int count = company_list.size();//有待改进,因为这样去除了一部分推荐的职位 int j = 0; try{ for(int i=0;i28){ // companyname= Util.sub_String(companyname,26)+".."; //} companyname=companyname.length()>16?companyname.substring(0,16)+"..":companyname; int indexnum=jobname.indexOf(" "); if(indexnum!=-1){ jobname=jobname.substring(0,indexnum); tjobname=jobname; } //cut jobname String tempjobname=getPatternStr(jobname,">(.+?)",1); //if( tempjobname.getBytes().length>26){ // jobname=jobname.replaceAll(tempjobname,Util.sub_String(tempjobname,24)+".."); // } jobname=tempjobname.length()>14?tempjobname.substring(0,14)+"..":tempjobname; j++; %>
>.html" target="_blank"><%=companyname%>

诚聘:<%=tjobname%><%=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))?" ":""%>

<% } }catch(Exception e){ } //if(count<48){ Hits hits=MySearcherT.searchJob(new String[]{String.valueOf(workcity)},null,null,-1, 0, 0,0, null, 3, 3, 60); //hits=MySearcherT.searchJob(null,null,"a"+industry,) //int listlength=company_list.size();//得到前一个热点招聘长度,用来计算下面读索引 //int listlength=tmp;//得到前一个热点招聘长度,用来计算下面读索引 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;i<60&&i=0){ flag = true; j--; break; } } if(flag){ continue; } if(companyname.length()<=0){ j--; continue; } // if( companyname.getBytes().length>28){ // companyname= Util.sub_String(companyname,26)+".."; // } companyname=companyname.length()>14?companyname.substring(0,14)+"..":companyname; //cut jobname //if( jobname.getBytes().length>26){ // jobname=Util.sub_String(jobname,24)+".."; // } jobname=jobname.length()>14?jobname.substring(0,14)+"..":jobname; %> <% } //} %>
<%--引用horsehr信息模块--%> <%--
--%> <%@include file="/horsehr/gdrc_citybox.html"%> <%--引用horsehr信息模块 end--%> <%@include file="/gg/so_by_abc_city.jsp"%>
<%@include file="/inc/jiathis_right.jsp"%> <%! public String getPatternStr(String str, String macthstr, int count) { java.util.regex.Pattern pa = java.util.regex.Pattern.compile(macthstr); java.util.regex.Matcher matcher = pa.matcher(str); String strs=""; if(matcher.find()) { if(count<=matcher.groupCount()){ strs=matcher.group(count); } } return strs; } %>