decodeProperties(array ( 'file_dependency' => array ( '70470c950ce5578bbbd9077ceec58382367e8dfc' => array ( 0 => 'E:\\ishangstudywebs\\zhaopin\\app\\template\\default\\company\\index.htm', 1 => 1634883841, 2 => 'file', ), ), 'nocache_hash' => '2050667ff75935918e0-49559326', 'function' => array ( ), 'variables' => array ( 'title' => 0, 'keywords' => 0, 'description' => 0, 'style' => 0, 'config' => 0, 'key' => 0, 'lists' => 0, 'v' => 0, 'job' => 0, 'waflist' => 0, 'usertype' => 0, 'uid' => 0, 'pagenav' => 0, 'top_key' => 0, 'com' => 0, ), 'has_nocache_code' => false, 'version' => 'Smarty-3.1.21-dev', 'unifunc' => 'content_67ff75935feed5_38628130', ),false); /*/%%SmartyHeaderCode%%*/?> <?php echo $_smarty_tpl->tpl_vars['title']->value;?> getSubTemplate (((string)$_smarty_tpl->tpl_vars['tplstyle']->value)."/header.htm", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array(), 0);?>
getSubTemplate (((string)$_smarty_tpl->tpl_vars['tplstyle']->value)."/public_search/index_search.htm", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array(), 0);?>
您当前的位置:首页 > 找企业
getSubTemplate (((string)$_smarty_tpl->tpl_vars['tplstyle']->value)."/public_search/firm_search.htm", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array(), 0);?>
tpl_vars['lists'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['lists']->_loop = false; $_smarty_tpl->tpl_vars['key'] = new Smarty_Variable; global $db,$db_config,$config;$paramer=array("ispage"=>"1","isjob"=>"1","firm"=>"1","hy"=>"'auto.hy'","pr"=>"'auto.pr'","mun"=>"'auto.mun'","welfare"=>"'auto.welfare'","provinceid"=>"'auto.provinceid'","cityid"=>"'auto.cityid'","three_cityid"=>"'auto.three_cityid'","keyword"=>"'auto.keyword'","rec"=>"'auto.rec'","order"=>"'lastupdate'","limit"=>"20","item"=>"'lists'","key"=>"'key'","nocache"=>"") ;$lists=array(); $time = time(); //处理传入参数,并且构造分页参数 $ParamerArr = GetSmarty($paramer,$_GET,$_smarty_tpl); $paramer = $ParamerArr['arr']; $Purl = $ParamerArr['purl']; global $ModuleName; if(!$Purl["m"]){ $Purl["m"]=$ModuleName; } //是否属于分站下 if($config['sy_web_site']=="1"){ if($config[province]>0 && $config[province]!=""){ $paramer[provinceid] = $config[province]; } if($config['cityid']>0 && $config['cityid']!=""){ $paramer['cityid']=$config['cityid']; } if($config['three_cityid']>0 && $config['three_cityid']!=""){ $paramer['three_cityid']=$config['three_cityid']; } if($config['hyclass']>0 && $config['hyclass']!=""){ $paramer['hy']=$config['hyclass']; } } $cache_array = $db->cacheget(); $where="`name`<>''"; /*if(!is_array($this->company_rating)){ $comrat = $db->select_all($db_config['def']."company_rating"); $this->company_rating=$comrat; }else{ $comrat = $this->company_rating; }*/ //关键字 if($paramer['keyword']){ $where.=" AND `name` LIKE '%".$paramer['keyword']."%'"; } //公司行业 if($paramer['hy']){ $where .= " AND `hy` = '".$paramer['hy']."'"; } //公司体制 if($paramer['pr']){ $where .= " AND `pr` = '".$paramer['pr']."'"; } //公司规模 if($paramer['mun']){ $where .= " AND `mun` = '".$paramer['mun']."'"; } $cache_array = $db->cacheget(); $comclass_name = $cache_array["comclass_name"]; //福利待遇 if($paramer[welfare]){ $welfarename=$comclass_name[$paramer[welfare]]; $welfare=$db->select_all("company","`name`<>'' and `hy`<>'' and FIND_IN_SET('".$welfarename."',`welfare`)","`uid`"); if(is_array($welfare)){ foreach($welfare as $v){ $welfareid[]=$v['uid']; } } $where .=" AND uid in (".@implode(",",$welfareid).")"; } //公司地点 if($paramer['provinceid']){ $where .= " AND `provinceid` = '".$paramer['provinceid']."'"; } //城市二级子类 if($paramer['cityid']){ $where .= " AND (`provinceid` = '".$paramer['cityid']."' OR `cityid` = '".$paramer['cityid']."')"; } //城市三级子类 if($paramer['three_cityid']){ $where .= " AND (`provinceid` = '".$paramer['three_cityid']."' OR `three_cityid` = '".$paramer['three_cityid']."')"; } //所在地 市区 if($paramer['cityin']){ $where .= " AND (`provinceid` in(".$paramer['cityin'].") OR `cityid` in(".$paramer['cityin'].") or `three_cityid` in(".$paramer['cityin']."))"; } //联系人不为空 if($paramer['linkman']){ $where .= " AND `linkman`<>''"; } //联系人电话不为空 if($paramer['linktel']){ $where .= " AND `linktel`<>''"; } //联系人邮箱不为空 if($paramer['linkmail']){ $where .= " AND `linkmail`<>''"; } //是否有企业LOGO if($paramer['logo']){ $where .= " AND `logo`<>'' AND `log_status` = '0'"; } //是否被锁定 if($paramer['r_status']){ $where .= " AND `r_status`='".$paramer['r_status']."'"; }else{ $where .= " AND `r_status`='1'"; } //是否已经验证 if($paramer['cert']){ $where .= " AND `yyzz_status`='1'"; } //更新时间区间 if($paramer['uptime']){ $uptime = $time-$paramer['uptime']*3600; $where.=" AND `lastupdate`>'".$uptime."'"; } if($paramer['jobtime']){ $where.=" AND `jobtime`<>''"; } //推荐,猎头页面展示 if($paramer['rec']){ $Purl["rec"]='1'; $where.=" AND `rec`='1' AND `hotstart` <= '".time()."' AND `hottime`>'".time()."'"; } //查询条数 if($paramer['limit']){ $limit=" limit ".$paramer['limit']; } //自定义查询条件,默认取代上面任何参数直接使用该语句 if($paramer['where']){ $where = $paramer['where']; } //处理类别字段 $cache_array = $db->cacheget(); if($paramer['ispage']){ if($paramer['rec']==1&&$Purl["m"]=="lietou"){ $limit = PageNav($paramer,$_GET,"company",$where,$Purl,"","1",$_smarty_tpl); }else{ $limit = PageNav($paramer,$_GET,"company",$where,$Purl,"","0",$_smarty_tpl); } } //排序字段默认为更新时间 if($paramer['order']){ if($paramer['order']=="lastUpdate"){ $paramer['order']="lastupdate"; } $order = " ORDER BY `".$paramer['order']."` "; }else{ $order = " ORDER BY `jobtime` "; } //排序规则 默认为倒序 if($paramer['sort']){ $sort = $paramer['sort']; }else{ $sort = " DESC"; } $where.=$order.$sort; $Query = $db->query("SELECT * FROM $db_config[def]company where ".$where.$limit); $ListId=array(); $lists=array(); while($rs = $db->fetch_array($Query)){ $lists[] = $db->array_action($rs,$cache_array); $ListId[] = $rs['uid']; } //调用会员等级 include_once PLUS_PATH."comrating.cache.php"; if(!empty($ListId)){ //$db->update_all("company", "`expoure` = `expoure` + 1", "`uid` in (".@implode(",",$ListId).")"); $statis = $db->select_all("company_statis","`uid` in (".@implode(",",$ListId).")","`uid`,`rating`"); foreach($ListId as $key=>$value){ foreach($statis as $v){ foreach($comrat as $val){ if($value==$v['uid'] && $val['id']==$v['rating']){ $lists[$key]['color'] = $val['com_color']; $lists[$key]['ratlogo'] = checkpic($val['com_pic']); $lists[$key]['ratname'] = $val['name']; } } } } } //对应留言 if($paramer['ismsg']){ $Msgid = @implode(",",$ListId); $msglist = $db->select_alls("company_msg","resume","a.`cuid` in ($Msgid) and a.`uid`=b.`uid` order by a.`id` desc","a.cuid,a.content,b.name,b.photo,b.def_job"); if(is_array($ListId) && is_array($msglist)){ foreach($lists as $key=>$value){ foreach($msglist as $k=>$v){ if($value['uid']==$v['cuid']){ $lists[$key]['msg'][$k]['content'] = $v['content']; $lists[$key]['msg'][$k]['name'] = $v['name']; $lists[$key]['msg'][$k]['photo'] = $v['photo']; $lists[$key]['msg'][$k]['eid'] = $v['def_job']; } } } } } //是否需要查询对应职位 if($paramer['isjob']){ //查询职位 $JobId = @implode(",",$ListId); if($JobId!=""){ if($config[sy_datacycle]>0){ $uptime = strtotime('-'.$config[sy_datacycle].' day'); $JobList=$db->select_all("company_job","`uid` IN ($JobId) and r_status=1 and status=0 and state=1 and lastupdate > $uptime order by `lastupdate` desc","`id`,`uid`,`status`,`name`"); }else{ $JobList=$db->select_all("company_job","`uid` IN ($JobId) and r_status=1 and status=0 and state=1 order by `lastupdate` desc","`id`,`uid`,`status`,`name`"); } } if(is_array($ListId) && is_array($JobList)){ foreach($lists as $key=>$value){ $lists[$key]['jobnum'] = 0; foreach($JobList as $k=>$v){ if($value['uid']==$v['uid']){ $id = $v['id']; $lists[$key]['newsjob'] = $v['name']; $lists[$key]['newsjob_status'] = $v['status']; $lists[$key]['r_status'] = $v['r_status']; $v = $db->array_action($value,$cache_array); $v['job_url'] = Url("job",array("c"=>"comapply","id"=>$JobList[$k]['id']),"1"); $v['id']= $id; $v['name'] = $lists[$key]['newsjob']; $lists[$key]['joblist'][] = $v; $lists[$key]['jobnum'] = $lists[$key]['jobnum']+1; } } /* foreach($comrat as $k=>$v){ if($value['rating']==$v['id']){ $lists[$key]['color'] = $v['com_color']; $lists[$key]['ratlogo'] = checkpic($v['com_pic']); } }*/ } } } //是否需要查询对应资讯 if($paramer['isnews']){ //查询资讯 $JobId = @implode(",",$ListId); $NewsList=$db->select_all("company_news","`uid` IN ($JobId) and status=1 order by `id` desc"); if(is_array($ListId) && is_array($NewsList)){ foreach($lists as $key=>$value){ $lists[$key]['newsnum'] = 0; foreach($NewsList as $k=>$v){ if($value['uid']==$v['uid']){ $lists[$key]['newslist'][] = $v; $lists[$key]['newsnum'] = $lists[$key]['newsnum']+1; } } } } } //是否需要查询对应环境展示 if($paramer['isshow']){ //查询环境展示 $JobId = @implode(",",$ListId); $ShowList=$db->select_all("company_show","`uid` IN ($JobId) order by `id` desc"); if(is_array($ListId) && is_array($ShowList)){ foreach($lists as $key=>$value){ $lists[$key]['shownum'] = 0; foreach($ShowList as $k=>$v){ if($value['uid']==$v['uid']){ $lists[$key]['showlist'][] = $v; $lists[$key]['shownum'] = $lists[$key]['shownum']+1; } } } } } if($paramer['ltjob']){//高级职位 //查询职位 $JobId = @implode(",",$ListId); $JobList=$db->select_all("lt_job","`uid` IN ($JobId) and status=1 order by `id` desc"); if(is_array($ListId) && is_array($JobList)){ foreach($lists as $key=>$value){ $jobname=array(); $lists[$key]['ltjobnum'] = 0; foreach($JobList as $k=>$v){ if($lists[$key]['ltjobnum']>=$paramer['ltjob']){continue;} if($value['uid']==$v['uid']){ $url = Url("lietou",array("c"=>"jobcomshow","id"=>$v['id'])); $v['job_url'] = $url; $jobname[] = "".$v['job_name'].""; $lists[$key]['ltjoblist'][] = $v; $lists[$key]['ltjobnum'] = $lists[$key]['ltjobnum']+1; } } $lists[$key]['ltjob'] = @implode(",",$jobname); } } } //企业黄页 是否关注 201305_gl if($paramer['firm']){ if($_COOKIE[uid]){$atnlist = $db->select_all("atn","`uid`='$_COOKIE[uid]' and `sc_usertype`='2'");} if(is_array($lists)){ foreach($lists as $key=>$value){ if(!empty($atnlist)){ foreach($atnlist as $v){ if($value['uid'] == $v['sc_uid']){ $lists[$key]['atn'] = "取消关注"; $lists[$key]['atnstatus'] = "1"; break; }else{ $lists[$key]['atn'] = "关注"; } } }else{ $lists[$key]['atn'] = "关注"; } } } } if(is_array($lists)){ foreach($lists as $key=>$value){ if($value['shortname']){ $lists[$key]['name']=$value['shortname']; } $lists[$key]['com_url'] = Url("company",array("c"=>"show","id"=>$value['uid'])); $lists[$key]['joball_url'] = Url("company",array("c"=>"show","id"=>$value['uid'],"tp"=>"post")); if(!$value['logo'] || $value['logo_status']!=0){ $lists[$key]['logo'] = checkpic("",$config['sy_unit_icon']); }else{ $lists[$key]['logo'] = checkpic($value['logo'],$config['sy_unit_icon']); } //获得福利待遇名称 if(is_array($lists[$key]['welfare'])&&$lists[$key]['welfare']){ foreach($lists[$key]['welfare'] as $val){ if($val && $val!="undefined"){ $lists[$key]['welfarename'][]=$val; } } } } if($paramer['keyword']!=""&&!empty($lists)){ addkeywords('4',$paramer['keyword']); } }$lists = $lists; if (!is_array($lists) && !is_object($lists)) { settype($lists, 'array');} foreach ($lists as $_smarty_tpl->tpl_vars['lists']->key => $_smarty_tpl->tpl_vars['lists']->value) { $_smarty_tpl->tpl_vars['lists']->_loop = true; $_smarty_tpl->tpl_vars['key']->value = $_smarty_tpl->tpl_vars['lists']->key; ?>
value['com_url'];?> ' target="_blank" class="firm_name_a" title="tpl_vars['lists']->value['name'];?> ">tpl_vars['lists']->value['name'],0,25,'utf-8');?> tpl_vars['lists']->value['rec']=='1'&&$_smarty_tpl->tpl_vars['lists']->value['hottime']>time()) {?> tpl_vars['lists']->value['ratlogo']!="0"&&$_smarty_tpl->tpl_vars['lists']->value['ratlogo']) {?><?php echo $_smarty_tpl->tpl_vars['lists']->value['ratname'];?>
tpl_vars['lists']->value['yyzz_status']=='1') {?>企业资质已审核
tpl_vars['lists']->value['job_city_one']) {?> tpl_vars['lists']->value['job_city_one']; if ($_smarty_tpl->tpl_vars['lists']->value['job_city_two']) {?>-tpl_vars['lists']->value['job_city_two']; }?> tpl_vars['lists']->value['job_hy']) {?> tpl_vars['lists']->value['job_hy'],0,12,'utf-8');?> tpl_vars['lists']->value['job_pr']) {?> tpl_vars['lists']->value['job_pr'];?> tpl_vars['lists']->value['job_mun']) {?> tpl_vars['lists']->value['job_mun'];?>
招聘职位:
tpl_vars['lists']->value['jobnum']>0) {?> tpl_vars['job'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['job']->_loop = false; $_smarty_tpl->tpl_vars['v'] = new Smarty_Variable; $_from = $_smarty_tpl->tpl_vars['lists']->value['joblist']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');} foreach ($_from as $_smarty_tpl->tpl_vars['job']->key => $_smarty_tpl->tpl_vars['job']->value) { $_smarty_tpl->tpl_vars['job']->_loop = true; $_smarty_tpl->tpl_vars['v']->value = $_smarty_tpl->tpl_vars['job']->key; ?> tpl_vars['v']->value<10) {?> tpl_vars['job']->value['name'];?>
暂无招聘职位
tpl_vars['waflist'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['waflist']->_loop = false; $_from = $_smarty_tpl->tpl_vars['lists']->value['welfarename']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');} foreach ($_from as $_smarty_tpl->tpl_vars['waflist']->key => $_smarty_tpl->tpl_vars['waflist']->value) { $_smarty_tpl->tpl_vars['waflist']->_loop = true; ?> tpl_vars['waflist']->value;?>
tpl_vars['usertype']->value==1) {?> tpl_vars['lists']->value['atn']=="关注") {?> class="crop-add-yb" class="crop-add-yb company_att"> tpl_vars['lists']->value['atn'];?> tpl_vars['uid']->value) {?> tpl_vars['config']->value['sy_user_change']==1) {?> + 关注 + 关注 + 关注
tpl_vars['pagenav']->value;?>
tpl_vars['lists']->value) {?>
很抱歉,没有找到满足条件的企业
建议您:
1、适当减少已选择的条件
2、适当删减或更改搜索关键字
热门关键字:
tpl_vars['top_key'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['top_key']->_loop = false; global $config;$paramer=array("limit"=>"6","recom"=>"1","type"=>"4","item"=>"'top_key'","nocache"=>"") ;$list=array(); $ParamerArr = GetSmarty($paramer,$_GET,$_smarty_tpl); $paramer = $ParamerArr[arr]; //是否推荐 if($paramer[recom]){ $tuijian = 1; } //类别 if($paramer[type]){ $type = $paramer[type]; } //查询条数 if($paramer[limit]){ $limit=$paramer[limit]; }else{ $limit=5; } include PLUS_PATH."/keyword.cache.php"; if($paramer[iswap]){ $wap = "/wap"; }else{ $index =1; } if(is_array($keyword)){ if($paramer[iswap]){ $i=0; foreach($keyword as $k=>$v){ if($tuijian && $v[tuijian]!=1){ continue; } if($type && $v[type]!=$type){ continue; } $i++; if($v[type]=="1"){ $v[url] = Url("wap",array("c"=>"once","keyword"=>$v['key_name'])); $v[type_name]='店铺招聘'; }elseif($v['type']=="13"){ $v['url'] = Url("wap",array("c"=>"tiny","keyword"=>$v['key_name'])); $v['type_name']='普工简历'; }elseif($v[type]=="3"){ $v[url] = Url("wap",array("c"=>"job","keyword"=>$v['key_name'])); $v[type_name]='职位'; }elseif($v['type']=="4"){ $v['url'] = Url("wap",array("c"=>"company","keyword"=>$v['key_name'])); $v['type_name']='公司'; }elseif($v['type']=="5"){ $v['url'] = Url("wap",array("c"=>"resume","keyword"=>$v['key_name'])); $v['type_name']='人才'; } $v['key_title']=$v['key_name']; if($v['color']){ $v['key_name']="".$v['key_name'].""; } $list[] = $v; if($i==$limit){ break; } } }else{ $i=0; foreach($keyword as $k=>$v){ if($tuijian && $v['tuijian']!=1){ continue; } if($type && $v['type']!=$type){ continue; } $i++; if($v['type']=="1"){ $v['url'] = Url("once",array("keyword"=>$v['key_name'])); $v['type_name']='店铺招聘'; }elseif($v['type']=="2"){ $v['url'] = Url("part",array("keyword"=>$v['key_name'])); $v['type_name']='兼职'; }elseif($v['type']=="13"){ $v['url'] = Url("tiny",array("keyword"=>$v['key_name'])); $v['type_name']='普工简历'; }elseif($v['type']=="3"){ $v['url'] = Url("job",array("c"=>"search","keyword"=>$v['key_name'])); $v['type_name']='职位'; }elseif($v['type']=="4"){ $v['url'] = Url("company",array("keyword"=>$v['key_name'])); $v['type_name']='公司'; }elseif($v['type']=="5"){ $v['url'] = Url("resume",array("c"=>"search","keyword"=>$v['key_name'])); $v['type_name']='人才'; }elseif($v['type']=="6"){ $v['url'] = Url("lietou",array("c"=>"service","keyword"=>$v['key_name'])); $v['type_name']='猎头'; }elseif($v['type']=="7"){ $v['url'] = Url("lietou",array("c"=>"post","keyword"=>$v['key_name'])); $v['type_name']='猎头职位'; }else if($v['type']=="9"){ $v['url'] = Url("train",array("c"=>"subject","keyword"=>$v['key_name'])); $v['type_name']='培训课程'; }else if($v['type']=="10"){ $v['url'] = Url("train",array("c"=>"agency","keyword"=>$v['key_name'])); $v['type_name']='培训机构'; }else if($v['type']=="11"){ $v['url'] = Url("train",array("c"=>"teacher","keyword"=>$v['key_name'])); $v['type_name']='培训师'; }else if($v['type']=="12"){ $v['url'] = Url("ask",array("c"=>"search","keyword"=>$v['key_name'])); $v['type_name']='问答'; } $v['key_title']=$v['key_name']; if($v['color']){ $v['key_name']="".$v['key_name'].""; } $list[] = $v; if($i==$limit){ break; } } } }$list = $list; if (!is_array($list) && !is_object($list)) { settype($list, 'array');} foreach ($list as $_smarty_tpl->tpl_vars['top_key']->key => $_smarty_tpl->tpl_vars['top_key']->value) { $_smarty_tpl->tpl_vars['top_key']->_loop = true; ?> tpl_vars['top_key']->value['key_name'];?>
推荐企业
    tpl_vars['com'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['com']->_loop = false; global $db,$db_config,$config;$paramer=array("limit"=>"10","rec"=>"1","item"=>"'com'","nocache"=>"") ;$com=array(); $time = time(); //处理传入参数,并且构造分页参数 $ParamerArr = GetSmarty($paramer,$_GET,$_smarty_tpl); $paramer = $ParamerArr['arr']; $Purl = $ParamerArr['purl']; global $ModuleName; if(!$Purl["m"]){ $Purl["m"]=$ModuleName; } //是否属于分站下 if($config['sy_web_site']=="1"){ if($config[province]>0 && $config[province]!=""){ $paramer[provinceid] = $config[province]; } if($config['cityid']>0 && $config['cityid']!=""){ $paramer['cityid']=$config['cityid']; } if($config['three_cityid']>0 && $config['three_cityid']!=""){ $paramer['three_cityid']=$config['three_cityid']; } if($config['hyclass']>0 && $config['hyclass']!=""){ $paramer['hy']=$config['hyclass']; } } $cache_array = $db->cacheget(); $where="`name`<>''"; /*if(!is_array($this->company_rating)){ $comrat = $db->select_all($db_config['def']."company_rating"); $this->company_rating=$comrat; }else{ $comrat = $this->company_rating; }*/ //关键字 if($paramer['keyword']){ $where.=" AND `name` LIKE '%".$paramer['keyword']."%'"; } //公司行业 if($paramer['hy']){ $where .= " AND `hy` = '".$paramer['hy']."'"; } //公司体制 if($paramer['pr']){ $where .= " AND `pr` = '".$paramer['pr']."'"; } //公司规模 if($paramer['mun']){ $where .= " AND `mun` = '".$paramer['mun']."'"; } $cache_array = $db->cacheget(); $comclass_name = $cache_array["comclass_name"]; //福利待遇 if($paramer[welfare]){ $welfarename=$comclass_name[$paramer[welfare]]; $welfare=$db->select_all("company","`name`<>'' and `hy`<>'' and FIND_IN_SET('".$welfarename."',`welfare`)","`uid`"); if(is_array($welfare)){ foreach($welfare as $v){ $welfareid[]=$v['uid']; } } $where .=" AND uid in (".@implode(",",$welfareid).")"; } //公司地点 if($paramer['provinceid']){ $where .= " AND `provinceid` = '".$paramer['provinceid']."'"; } //城市二级子类 if($paramer['cityid']){ $where .= " AND (`provinceid` = '".$paramer['cityid']."' OR `cityid` = '".$paramer['cityid']."')"; } //城市三级子类 if($paramer['three_cityid']){ $where .= " AND (`provinceid` = '".$paramer['three_cityid']."' OR `three_cityid` = '".$paramer['three_cityid']."')"; } //所在地 市区 if($paramer['cityin']){ $where .= " AND (`provinceid` in(".$paramer['cityin'].") OR `cityid` in(".$paramer['cityin'].") or `three_cityid` in(".$paramer['cityin']."))"; } //联系人不为空 if($paramer['linkman']){ $where .= " AND `linkman`<>''"; } //联系人电话不为空 if($paramer['linktel']){ $where .= " AND `linktel`<>''"; } //联系人邮箱不为空 if($paramer['linkmail']){ $where .= " AND `linkmail`<>''"; } //是否有企业LOGO if($paramer['logo']){ $where .= " AND `logo`<>'' AND `log_status` = '0'"; } //是否被锁定 if($paramer['r_status']){ $where .= " AND `r_status`='".$paramer['r_status']."'"; }else{ $where .= " AND `r_status`='1'"; } //是否已经验证 if($paramer['cert']){ $where .= " AND `yyzz_status`='1'"; } //更新时间区间 if($paramer['uptime']){ $uptime = $time-$paramer['uptime']*3600; $where.=" AND `lastupdate`>'".$uptime."'"; } if($paramer['jobtime']){ $where.=" AND `jobtime`<>''"; } //推荐,猎头页面展示 if($paramer['rec']){ $Purl["rec"]='1'; $where.=" AND `rec`='1' AND `hotstart` <= '".time()."' AND `hottime`>'".time()."'"; } //查询条数 if($paramer['limit']){ $limit=" limit ".$paramer['limit']; } //自定义查询条件,默认取代上面任何参数直接使用该语句 if($paramer['where']){ $where = $paramer['where']; } //处理类别字段 $cache_array = $db->cacheget(); if($paramer['ispage']){ if($paramer['rec']==1&&$Purl["m"]=="lietou"){ $limit = PageNav($paramer,$_GET,"company",$where,$Purl,"","1",$_smarty_tpl); }else{ $limit = PageNav($paramer,$_GET,"company",$where,$Purl,"","0",$_smarty_tpl); } } //排序字段默认为更新时间 if($paramer['order']){ if($paramer['order']=="lastUpdate"){ $paramer['order']="lastupdate"; } $order = " ORDER BY `".$paramer['order']."` "; }else{ $order = " ORDER BY `jobtime` "; } //排序规则 默认为倒序 if($paramer['sort']){ $sort = $paramer['sort']; }else{ $sort = " DESC"; } $where.=$order.$sort; $Query = $db->query("SELECT * FROM $db_config[def]company where ".$where.$limit); $ListId=array(); $com=array(); while($rs = $db->fetch_array($Query)){ $com[] = $db->array_action($rs,$cache_array); $ListId[] = $rs['uid']; } //调用会员等级 include_once PLUS_PATH."comrating.cache.php"; if(!empty($ListId)){ //$db->update_all("company", "`expoure` = `expoure` + 1", "`uid` in (".@implode(",",$ListId).")"); $statis = $db->select_all("company_statis","`uid` in (".@implode(",",$ListId).")","`uid`,`rating`"); foreach($ListId as $key=>$value){ foreach($statis as $v){ foreach($comrat as $val){ if($value==$v['uid'] && $val['id']==$v['rating']){ $com[$key]['color'] = $val['com_color']; $com[$key]['ratlogo'] = checkpic($val['com_pic']); $com[$key]['ratname'] = $val['name']; } } } } } //对应留言 if($paramer['ismsg']){ $Msgid = @implode(",",$ListId); $msglist = $db->select_alls("company_msg","resume","a.`cuid` in ($Msgid) and a.`uid`=b.`uid` order by a.`id` desc","a.cuid,a.content,b.name,b.photo,b.def_job"); if(is_array($ListId) && is_array($msglist)){ foreach($com as $key=>$value){ foreach($msglist as $k=>$v){ if($value['uid']==$v['cuid']){ $com[$key]['msg'][$k]['content'] = $v['content']; $com[$key]['msg'][$k]['name'] = $v['name']; $com[$key]['msg'][$k]['photo'] = $v['photo']; $com[$key]['msg'][$k]['eid'] = $v['def_job']; } } } } } //是否需要查询对应职位 if($paramer['isjob']){ //查询职位 $JobId = @implode(",",$ListId); if($JobId!=""){ if($config[sy_datacycle]>0){ $uptime = strtotime('-'.$config[sy_datacycle].' day'); $JobList=$db->select_all("company_job","`uid` IN ($JobId) and r_status=1 and status=0 and state=1 and lastupdate > $uptime order by `lastupdate` desc","`id`,`uid`,`status`,`name`"); }else{ $JobList=$db->select_all("company_job","`uid` IN ($JobId) and r_status=1 and status=0 and state=1 order by `lastupdate` desc","`id`,`uid`,`status`,`name`"); } } if(is_array($ListId) && is_array($JobList)){ foreach($com as $key=>$value){ $com[$key]['jobnum'] = 0; foreach($JobList as $k=>$v){ if($value['uid']==$v['uid']){ $id = $v['id']; $com[$key]['newsjob'] = $v['name']; $com[$key]['newsjob_status'] = $v['status']; $com[$key]['r_status'] = $v['r_status']; $v = $db->array_action($value,$cache_array); $v['job_url'] = Url("job",array("c"=>"comapply","id"=>$JobList[$k]['id']),"1"); $v['id']= $id; $v['name'] = $com[$key]['newsjob']; $com[$key]['joblist'][] = $v; $com[$key]['jobnum'] = $com[$key]['jobnum']+1; } } /* foreach($comrat as $k=>$v){ if($value['rating']==$v['id']){ $com[$key]['color'] = $v['com_color']; $com[$key]['ratlogo'] = checkpic($v['com_pic']); } }*/ } } } //是否需要查询对应资讯 if($paramer['isnews']){ //查询资讯 $JobId = @implode(",",$ListId); $NewsList=$db->select_all("company_news","`uid` IN ($JobId) and status=1 order by `id` desc"); if(is_array($ListId) && is_array($NewsList)){ foreach($com as $key=>$value){ $com[$key]['newsnum'] = 0; foreach($NewsList as $k=>$v){ if($value['uid']==$v['uid']){ $com[$key]['newslist'][] = $v; $com[$key]['newsnum'] = $com[$key]['newsnum']+1; } } } } } //是否需要查询对应环境展示 if($paramer['isshow']){ //查询环境展示 $JobId = @implode(",",$ListId); $ShowList=$db->select_all("company_show","`uid` IN ($JobId) order by `id` desc"); if(is_array($ListId) && is_array($ShowList)){ foreach($com as $key=>$value){ $com[$key]['shownum'] = 0; foreach($ShowList as $k=>$v){ if($value['uid']==$v['uid']){ $com[$key]['showlist'][] = $v; $com[$key]['shownum'] = $com[$key]['shownum']+1; } } } } } if($paramer['ltjob']){//高级职位 //查询职位 $JobId = @implode(",",$ListId); $JobList=$db->select_all("lt_job","`uid` IN ($JobId) and status=1 order by `id` desc"); if(is_array($ListId) && is_array($JobList)){ foreach($com as $key=>$value){ $jobname=array(); $com[$key]['ltjobnum'] = 0; foreach($JobList as $k=>$v){ if($com[$key]['ltjobnum']>=$paramer['ltjob']){continue;} if($value['uid']==$v['uid']){ $url = Url("lietou",array("c"=>"jobcomshow","id"=>$v['id'])); $v['job_url'] = $url; $jobname[] = "".$v['job_name'].""; $com[$key]['ltjoblist'][] = $v; $com[$key]['ltjobnum'] = $com[$key]['ltjobnum']+1; } } $com[$key]['ltjob'] = @implode(",",$jobname); } } } //企业黄页 是否关注 201305_gl if($paramer['firm']){ if($_COOKIE[uid]){$atnlist = $db->select_all("atn","`uid`='$_COOKIE[uid]' and `sc_usertype`='2'");} if(is_array($com)){ foreach($com as $key=>$value){ if(!empty($atnlist)){ foreach($atnlist as $v){ if($value['uid'] == $v['sc_uid']){ $com[$key]['atn'] = "取消关注"; $com[$key]['atnstatus'] = "1"; break; }else{ $com[$key]['atn'] = "关注"; } } }else{ $com[$key]['atn'] = "关注"; } } } } if(is_array($com)){ foreach($com as $key=>$value){ if($value['shortname']){ $com[$key]['name']=$value['shortname']; } $com[$key]['com_url'] = Url("company",array("c"=>"show","id"=>$value['uid'])); $com[$key]['joball_url'] = Url("company",array("c"=>"show","id"=>$value['uid'],"tp"=>"post")); if(!$value['logo'] || $value['logo_status']!=0){ $com[$key]['logo'] = checkpic("",$config['sy_unit_icon']); }else{ $com[$key]['logo'] = checkpic($value['logo'],$config['sy_unit_icon']); } //获得福利待遇名称 if(is_array($com[$key]['welfare'])&&$com[$key]['welfare']){ foreach($com[$key]['welfare'] as $val){ if($val && $val!="undefined"){ $com[$key]['welfarename'][]=$val; } } } } if($paramer['keyword']!=""&&!empty($com)){ addkeywords('4',$paramer['keyword']); } }$com = $com; if (!is_array($com) && !is_object($com)) { settype($com, 'array');} foreach ($com as $_smarty_tpl->tpl_vars['com']->key => $_smarty_tpl->tpl_vars['com']->value) { $_smarty_tpl->tpl_vars['com']->_loop = true; ?>
  • tpl_vars['com']->value['name'],0,13,'utf-8');?>
  • tpl_vars['com']->_loop) { ?>
    暂无推荐企业
src="tpl_vars['config']->value['sy_weburl'];?> /js/jquery-1.8.0.min.js?v=tpl_vars['config']->value['cachecode'];?> " language="javascript"> > src="tpl_vars['config']->value['sy_weburl'];?> /js/layui/layui.js?v=tpl_vars['config']->value['cachecode'];?> "> > src="tpl_vars['config']->value['sy_weburl'];?> /js/layui/phpyun_layer.js?v=tpl_vars['config']->value['cachecode'];?> "> > src="tpl_vars['config']->value['sy_weburl'];?> /js/lazyload.min.js?v=tpl_vars['config']->value['cachecode'];?> " language="javascript"> > src="tpl_vars['config']->value['sy_weburl'];?> /js/search.js?v=tpl_vars['config']->value['cachecode'];?> " type="text/javascript"> > src="tpl_vars['config']->value['sy_weburl'];?> /data/plus/city.cache.js?v=tpl_vars['config']->value['cachecode'];?> " type="text/javascript"> > src="tpl_vars['config']->value['sy_weburl'];?> /js/class.public.js?v=tpl_vars['config']->value['cachecode'];?> " type="text/javascript"> > src="tpl_vars['config']->value['sy_weburl'];?> /js/public.js?v=tpl_vars['config']->value['cachecode'];?> " language="javascript"> > src="tpl_vars['config']->value['sy_weburl'];?> /js/newclass.public.js?v=tpl_vars['config']->value['cachecode'];?> " type="text/javascript"> > getSubTemplate (((string)$_smarty_tpl->tpl_vars['tplstyle']->value)."/public_search/login.htm", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array(), 0);?> getSubTemplate (((string)$_smarty_tpl->tpl_vars['tplstyle']->value)."/footer.htm", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array(), 0);?>