<?php /* Smarty version Smarty-3.1.21-dev, created on 2025-04-16 17:17:07
|
compiled from "E:\ishangstudywebs\zhaopin\app\template\default\company\index.htm" */ ?>
|
<?php /*%%SmartyHeaderCode:2050667ff75935918e0-49559326%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
$_valid = $_smarty_tpl->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 if ($_valid && !is_callable('content_67ff75935feed5_38628130')) {function content_67ff75935feed5_38628130($_smarty_tpl) {?><?php if (!is_callable('smarty_function_url')) include 'E:\\ishangstudywebs\\zhaopin\\app\\include\\libs\\plugins\\function.url.php';
|
if (!is_callable('smarty_function_listurl')) include 'E:\\ishangstudywebs\\zhaopin\\app\\include\\libs\\plugins\\function.listurl.php';
|
?><!DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
<head>
|
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
|
<title><?php echo $_smarty_tpl->tpl_vars['title']->value;?>
|
</title>
|
<meta name="keywords" content="<?php echo $_smarty_tpl->tpl_vars['keywords']->value;?>
|
" />
|
<meta name="description" content="<?php echo $_smarty_tpl->tpl_vars['description']->value;?>
|
" />
|
<link rel="stylesheet" href="<?php echo $_smarty_tpl->tpl_vars['style']->value;?>
|
/style/yun_seach.css?v=<?php echo $_smarty_tpl->tpl_vars['config']->value['cachecode'];?>
|
" type="text/css" />
|
<link href="<?php echo $_smarty_tpl->tpl_vars['style']->value;?>
|
/style/style.css?v=<?php echo $_smarty_tpl->tpl_vars['config']->value['cachecode'];?>
|
" rel="stylesheet" type="text/css" />
|
<link rel="stylesheet" href="<?php echo $_smarty_tpl->tpl_vars['style']->value;?>
|
/style/css.css?v=<?php echo $_smarty_tpl->tpl_vars['config']->value['cachecode'];?>
|
" type="text/css" />
|
<link rel="stylesheet" href="<?php echo $_smarty_tpl->tpl_vars['style']->value;?>
|
/style/class.public.css?v=<?php echo $_smarty_tpl->tpl_vars['config']->value['cachecode'];?>
|
" type="text/css" />
|
</head>
|
<body class="body_bg">
|
<?php echo $_smarty_tpl->getSubTemplate (((string)$_smarty_tpl->tpl_vars['tplstyle']->value)."/header.htm", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array(), 0);?>
|
|
<div class="yun_jobbody">
|
<?php echo $_smarty_tpl->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);?>
|
|
<!--content start-->
|
<div class="clear"></div>
|
|
<div class="yun_content">
|
<div class="current_Location png" style=" display:none"> 您当前的位置:<a href="<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_weburl'];?>
|
">首页</a> > <a href="<?php echo smarty_function_url(array('m'=>'company'),$_smarty_tpl);?>
|
">找企业</a> </div>
|
<div class="clear"></div>
|
<?php echo $_smarty_tpl->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);?>
|
|
<div class="firmsearch_h1_box_title">
|
<ul class="firmsearch_h1_box_list">
|
<li <?php if (!$_GET['rec']) {?>class="firmsearch_h1_box_cur"<?php }?>>
|
<a href="<?php echo smarty_function_url(array('m'=>'company'),$_smarty_tpl);?>
|
">企业列表</a>
|
<i class="firmsearch_h1_box_list_icon"></i>
|
</li>
|
<li <?php if ($_GET['rec']=='1') {?>class="firmsearch_h1_box_cur"<?php }?>>
|
<a href="<?php echo smarty_function_listurl(array('m'=>'company','type'=>'rec','v'=>1),$_smarty_tpl);?>
|
">名企招聘</a>
|
<i class="firmsearch_h1_box_list_icon firmsearch_h1_box_list_icon_jj png"></i>
|
</li>
|
</ul>
|
|
<div class="firmsearch_h1_box_line yun_bg_color"></div>
|
</div>
|
<div class="firm_right">
|
<div class="firm_right_box">
|
<div class="firm_list_content">
|
<div class="firm_list_content_box">
|
<?php $_smarty_tpl->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[] = "<a href='".$url."'>".$v['job_name']."</a>";
|
$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;
|
?>
|
<div class="firm_list <?php if ($_smarty_tpl->tpl_vars['key']->value%2==0) {?>firm_list_02<?php }?>" id="company<?php echo $_smarty_tpl->tpl_vars['lists']->value['uid'];?>
|
" aid="<?php echo $_smarty_tpl->tpl_vars['lists']->value['uid'];?>
|
">
|
<div class="firm_det">
|
<div class="firm_list_leftsidebar">
|
<div class="firm_list_logo">
|
<a href='<?php echo $_smarty_tpl->tpl_vars['lists']->value['com_url'];?>
|
'>
|
<img src="<?php echo $_smarty_tpl->tpl_vars['lists']->value['logo'];?>
|
" width="100" height="100" alt="<?php echo $_smarty_tpl->tpl_vars['lists']->value['name'];?>
|
" onerror="showImgDelay(this,'<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_weburl'];?>
|
/<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_unit_icon'];?>
|
',2);" />
|
</a>
|
</div>
|
</div>
|
<div class="firm_list_rightsidebar">
|
<div class="firm_name">
|
<span>
|
<a href='<?php echo $_smarty_tpl->tpl_vars['lists']->value['com_url'];?>
|
' target="_blank" class="firm_name_a" title="<?php echo $_smarty_tpl->tpl_vars['lists']->value['name'];?>
|
"><?php echo mb_substr($_smarty_tpl->tpl_vars['lists']->value['name'],0,25,'utf-8');?>
|
</a>
|
<?php if ($_smarty_tpl->tpl_vars['lists']->value['rec']=='1'&&$_smarty_tpl->tpl_vars['lists']->value['hottime']>time()) {?><img src="<?php echo $_smarty_tpl->tpl_vars['style']->value;?>
|
/images/firm_icon.png"/><?php }?>
|
<?php if ($_smarty_tpl->tpl_vars['lists']->value['ratlogo']!="0"&&$_smarty_tpl->tpl_vars['lists']->value['ratlogo']) {?><img src="<?php echo $_smarty_tpl->tpl_vars['lists']->value['ratlogo'];?>
|
" alt="<?php echo $_smarty_tpl->tpl_vars['lists']->value['ratname'];?>
|
" alt="<?php echo $_smarty_tpl->tpl_vars['lists']->value['ratname'];?>
|
" width="16" height="16" /><?php }?>
|
|
<?php if ($_smarty_tpl->tpl_vars['lists']->value['yyzz_status']=='1') {?><img src="<?php echo $_smarty_tpl->tpl_vars['style']->value;?>
|
/images/disc_icon10.png" alt="企业资质已审核" class="png"width="16" height="16" /> <?php }?>
|
</span>
|
</div>
|
<div class="firm_qy_list">
|
<?php if ($_smarty_tpl->tpl_vars['lists']->value['job_city_one']) {?>
|
<span class="firm_qy_list_s">
|
<i class="firm_show_cominfo_icon firm_show_cominfo_icon_city"></i>
|
<?php echo $_smarty_tpl->tpl_vars['lists']->value['job_city_one'];
|
if ($_smarty_tpl->tpl_vars['lists']->value['job_city_two']) {?>-<?php echo $_smarty_tpl->tpl_vars['lists']->value['job_city_two'];
|
}?>
|
</span>
|
<?php }?>
|
<?php if ($_smarty_tpl->tpl_vars['lists']->value['job_hy']) {?>
|
<span class="firm_qy_list_s">
|
<i class="firm_show_cominfo_icon firm_show_cominfo_icon_hy"></i>
|
<?php echo mb_substr($_smarty_tpl->tpl_vars['lists']->value['job_hy'],0,12,'utf-8');?>
|
|
</span>
|
<?php }?>
|
<?php if ($_smarty_tpl->tpl_vars['lists']->value['job_pr']) {?>
|
<span class="firm_qy_list_s">
|
<i class="firm_show_cominfo_icon firm_show_cominfo_icon_xz"></i>
|
<?php echo $_smarty_tpl->tpl_vars['lists']->value['job_pr'];?>
|
|
</span>
|
<?php }?>
|
<?php if ($_smarty_tpl->tpl_vars['lists']->value['job_mun']) {?>
|
<span class="firm_qy_list_s">
|
<i class="firm_show_cominfo_icon firm_show_cominfo_icon_rs"></i>
|
<?php echo $_smarty_tpl->tpl_vars['lists']->value['job_mun'];?>
|
|
</span>
|
<?php }?>
|
</div>
|
|
<div class="firm_qy_job_list">
|
<div class="firm_qy_job_list_name">招聘职位:</div>
|
<div class="firm_qy_job_list_r">
|
<?php if ($_smarty_tpl->tpl_vars['lists']->value['jobnum']>0) {?>
|
<?php $_smarty_tpl->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;
|
?>
|
<?php if ($_smarty_tpl->tpl_vars['v']->value<10) {?>
|
<a href="<?php echo smarty_function_url(array('m'=>'job','c'=>'comapply','id'=>$_smarty_tpl->tpl_vars['job']->value['id']),$_smarty_tpl);?>
|
" target="_blank" class="firm_qy_job_tag"><?php echo $_smarty_tpl->tpl_vars['job']->value['name'];?>
|
</a>
|
<?php }?>
|
<?php } ?>
|
<!--<a href='<?php echo $_smarty_tpl->tpl_vars['lists']->value['com_url'];?>
|
' target="_blank" class="firm_list_cur_right_p_r yun_text_color">更多职位>></a>-->
|
<?php } else { ?>
|
<div class="firm_qy_job_no">暂无招聘职位</div>
|
<?php }?>
|
</div>
|
</div>
|
<div class="job_welfare_tag" >
|
<?php $_smarty_tpl->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;
|
?>
|
<span class="job_welfare_tag_s"><i class="job_welfare_tag_s_icon"></i><?php echo $_smarty_tpl->tpl_vars['waflist']->value;?>
|
</span>
|
<?php } ?>
|
</div>
|
</div>
|
<div class="firm_gz_right">
|
<?php if ($_smarty_tpl->tpl_vars['usertype']->value==1) {?>
|
<a href="javascript:void(0);" id="atn_<?php echo $_smarty_tpl->tpl_vars['lists']->value['uid'];?>
|
" onclick="atn('<?php echo $_smarty_tpl->tpl_vars['lists']->value['uid'];?>
|
','<?php echo smarty_function_url(array('m'=>'ajax','c'=>'atncompany'),$_smarty_tpl);?>
|
');" <?php if ($_smarty_tpl->tpl_vars['lists']->value['atn']=="关注") {?> class="crop-add-yb"<?php } else { ?> class="crop-add-yb company_att"<?php }?>>
|
<?php echo $_smarty_tpl->tpl_vars['lists']->value['atn'];?>
|
</a>
|
<?php } else { ?>
|
<?php if ($_smarty_tpl->tpl_vars['uid']->value) {?>
|
<?php if ($_smarty_tpl->tpl_vars['config']->value['sy_user_change']==1) {?>
|
<a href="javascript:void(0);" onclick="layer.msg('请先申请个人用户才能关注', 2, 8)" class="crop-add-yb">+ 关注</a>
|
<?php } else { ?>
|
<a href="javascript:void(0);" onclick="layer.msg('只有个人用户才能关注', 2, 8)" class="crop-add-yb">+ 关注</a>
|
<?php }?>
|
|
<?php } else { ?>
|
<a href="javascript:void(0);" onclick="showlogin('1');" class="crop-add-yb">+ 关注</a>
|
<?php }?>
|
<?php }?>
|
<span class="crop-add-yb_span">
|
<label><i id="antnum<?php echo $_smarty_tpl->tpl_vars['lists']->value['uid'];?>
|
" class="crop-add-yb_i"><?php echo $_smarty_tpl->tpl_vars['lists']->value['ant_num'];?>
|
</i>人已关注 </label>
|
</span>
|
</div>
|
</div>
|
</div>
|
<?php } ?>
|
<div class="clear"></div>
|
<div class="pages"> <?php echo $_smarty_tpl->tpl_vars['pagenav']->value;?>
|
</div>
|
<?php if (!$_smarty_tpl->tpl_vars['lists']->value) {?>
|
<!-- 未搜索到-->
|
<div class="seachno" style="background:#FFF; width:588px; margin-top:15px;border:none;">
|
<div class="seachno_left"><img src="<?php echo $_smarty_tpl->tpl_vars['style']->value;?>
|
/images/search-no.gif" /></div>
|
<div class="listno-content">
|
<strong>很抱歉,没有找到满足条件的企业</strong><br />
|
<span>
|
建议您:<br />
|
1、适当减少已选择的条件<br />
|
2、适当删减或更改搜索关键字<br />
|
</span>
|
<span>
|
热门关键字:<br />
|
<?php $_smarty_tpl->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']="<font color='".$v['color']."'>".$v['key_name']."</font>";
|
}
|
$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']="<font color='".$v['color']."'>".$v['key_name']."</font>";
|
}
|
|
$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;
|
?> <a href="<?php echo smarty_function_listurl(array('m'=>'company','type'=>'keyword','v'=>$_smarty_tpl->tpl_vars['top_key']->value['key_title']),$_smarty_tpl);?>
|
"><?php echo $_smarty_tpl->tpl_vars['top_key']->value['key_name'];?>
|
</a> <?php } ?>
|
</span>
|
</div>
|
</div>
|
<?php }?>
|
</div> </div>
|
</div>
|
|
</div>
|
|
<div class="firm_rightm">
|
<div class="firm_rightm_box">
|
<div class="firm_rightm_box_tit"><i class="firm_rightm_box_tit_icon yun_bg_color"></i><span class="firm_rightm_box_tit_s">推荐企业</span></div>
|
|
<ul class="firm_rightm_tjlist">
|
<?php $_smarty_tpl->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[] = "<a href='".$url."'>".$v['job_name']."</a>";
|
$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;
|
?>
|
<li>
|
<a href="<?php echo $_smarty_tpl->tpl_vars['com']->value['com_url'];?>
|
" target="_blank" title="<?php echo $_smarty_tpl->tpl_vars['com']->value['name'];?>
|
">
|
<img src="<?php echo $_smarty_tpl->tpl_vars['com']->value['logo'];?>
|
" onerror="showImgDelay(this,'<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_weburl'];?>
|
/<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_unit_icon'];?>
|
',2);" width="100" height="100" />
|
<div class="firm_rightm_tjlistname"><?php echo mb_substr($_smarty_tpl->tpl_vars['com']->value['name'],0,13,'utf-8');?>
|
</div>
|
</a>
|
</li>
|
<?php }
|
if (!$_smarty_tpl->tpl_vars['com']->_loop) {
|
?>
|
<div class="pc_notip">暂无推荐企业</div>
|
<?php } ?>
|
</ul>
|
</div>
|
|
|
</div>
|
</div>
|
<div class="clear"></div>
|
<!--content end-->
|
</div>
|
</div>
|
<?php echo '<script'; ?>
|
src="<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_weburl'];?>
|
/js/jquery-1.8.0.min.js?v=<?php echo $_smarty_tpl->tpl_vars['config']->value['cachecode'];?>
|
" language="javascript"><?php echo '</script'; ?>
|
>
|
<link href="<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_weburl'];?>
|
/js/layui/css/layui.css?v=<?php echo $_smarty_tpl->tpl_vars['config']->value['cachecode'];?>
|
" rel="stylesheet" type="text/css" /><?php echo '<script'; ?>
|
src="<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_weburl'];?>
|
/js/layui/layui.js?v=<?php echo $_smarty_tpl->tpl_vars['config']->value['cachecode'];?>
|
"><?php echo '</script'; ?>
|
><?php echo '<script'; ?>
|
src="<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_weburl'];?>
|
/js/layui/phpyun_layer.js?v=<?php echo $_smarty_tpl->tpl_vars['config']->value['cachecode'];?>
|
"><?php echo '</script'; ?>
|
>
|
<?php echo '<script'; ?>
|
src="<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_weburl'];?>
|
/js/lazyload.min.js?v=<?php echo $_smarty_tpl->tpl_vars['config']->value['cachecode'];?>
|
" language="javascript"><?php echo '</script'; ?>
|
>
|
<?php echo '<script'; ?>
|
src="<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_weburl'];?>
|
/js/search.js?v=<?php echo $_smarty_tpl->tpl_vars['config']->value['cachecode'];?>
|
" type="text/javascript"><?php echo '</script'; ?>
|
>
|
<?php echo '<script'; ?>
|
src="<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_weburl'];?>
|
/data/plus/city.cache.js?v=<?php echo $_smarty_tpl->tpl_vars['config']->value['cachecode'];?>
|
" type="text/javascript"><?php echo '</script'; ?>
|
>
|
<?php echo '<script'; ?>
|
src="<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_weburl'];?>
|
/js/class.public.js?v=<?php echo $_smarty_tpl->tpl_vars['config']->value['cachecode'];?>
|
" type="text/javascript"><?php echo '</script'; ?>
|
>
|
<?php echo '<script'; ?>
|
src="<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_weburl'];?>
|
/js/public.js?v=<?php echo $_smarty_tpl->tpl_vars['config']->value['cachecode'];?>
|
" language="javascript"><?php echo '</script'; ?>
|
>
|
<link rel="stylesheet" href="<?php echo $_smarty_tpl->tpl_vars['style']->value;?>
|
/style/newclass.public.css?v=<?php echo $_smarty_tpl->tpl_vars['config']->value['cachecode'];?>
|
" type="text/css" />
|
<?php echo '<script'; ?>
|
src="<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_weburl'];?>
|
/js/newclass.public.js?v=<?php echo $_smarty_tpl->tpl_vars['config']->value['cachecode'];?>
|
" type="text/javascript"><?php echo '</script'; ?>
|
>
|
|
<!--[if IE 6]>
|
<?php echo '<script'; ?>
|
src="<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_weburl'];?>
|
/js/png.js?v=<?php echo $_smarty_tpl->tpl_vars['config']->value['cachecode'];?>
|
"><?php echo '</script'; ?>
|
>
|
<?php echo '<script'; ?>
|
>
|
DD_belatedPNG.fix('.png');
|
<?php echo '</script'; ?>
|
>
|
<![endif]-->
|
<?php echo $_smarty_tpl->getSubTemplate (((string)$_smarty_tpl->tpl_vars['tplstyle']->value)."/public_search/login.htm", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array(), 0);?>
|
|
<?php echo $_smarty_tpl->getSubTemplate (((string)$_smarty_tpl->tpl_vars['tplstyle']->value)."/footer.htm", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array(), 0);?>
|
<?php }} ?>
|