<!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>{pagemeta.title}</title>
<meta name="keywords" content="{pagemeta.keywords}" />
<meta name="description" content="{pagemeta.description}" />
<link href="{config.templatetheme}/css/list.css" rel="stylesheet" type="text/css" />
<script language="JavaScript" src="{config.templatetheme}/js/jquery.js"></script>
<script type="text/javascript" src="{config.templatetheme}/js/core.com.js"></script>
<script type="text/javascript" src="{config.templatetheme}/js/selectData.js"></script>
<script type="text/javascript" src="{config.templatetheme}/js/jobsearch.js"></script>
<script type="text/javascript" src="{config.templatetheme}/js/Job_Summary.js"></script>
</head>
<body>
<!--head-->
<%template src=/_head.html/%>
<!--add_195-->
<div class="add_140">{photo_guanggao(64)}</div>
<div class="clear"></div>
<!-- 高级搜索 -->
<div class="search_hot">
  <div class="title_hui">
    <h3>高级搜索</h3>
  </div>
  <div class="h5px"> </div>
  <div class="tab_hot">
    <h4> <strong>推荐：</strong></h4>
    <dl>
      <%set (DataTable){searchhot_list}=gethotsearch(25)%>
      <%loop searchlist searchhot_list%>
      <dd> <a title="{searchlist[keywords]}" target="_blank" href="<%aspxurl("quicksearch",{searchlist[ename]})%>"> {searchlist[keywords]}</a></dd>
      <%/loop%>
    </dl>
  </div>
  <div class="h5px"></div>
  <div class="tab_so">
    <h4 style="margin-top:5px"><strong>筛选：</strong></h4>
    <div id="selcetid" style="display:none">
      <ul>
        <li style="width: 30%"><b>职位类别：</b> <span>
          <input id="name_positionid" runat="server" name="name_positionid" value="{name_positionid}" type="text" class="select_add1" />
          <em>{empositionstr}</em>
          <input name="positionid" type="hidden" id="positionid" value="{positionid}"/>
          </span></li>
        <li style="width: 22%"><b>工作经验：</b> <span>
          <select name="dropworkage" id="dropworkage" style="width: 122px">
            <option value="" selected="selected">不限</option>
            <%loop (YCHR.Model.WorkAge) wkage object_workage%>
            <%if val_workage=={wkage.id}%>
            <option value="{wkage.id}" selected="selected">{wkage.cname}</option>
            <%else%>
            <option value="{wkage.id}">{wkage.cname}</option>
            <%/if%>
            <%/loop%>
          </select>
          </span></li>
        <li style="width: 22%"><b>学历要求：</b> <span>
          <select name="dropedu" id="dropedu" style="width: 122px">
            <option value="" selected="selected">不限</option>
            <%loop (YCHR.Model.Edu) edu object_edu%>
            <%if val_edu=={edu.id}%>
            <option value="{edu.id}" selected="selected">{edu.cname}</option>
            <%else%>
            <option value="{edu.id}">{edu.cname}</option>
            <%/if%>
            <%/loop%>
          </select>
          </span></li>
        <li style="width: 22%"><b>月薪要求：</b> <span>
          <select name="droppay" id="droppay" style="width: 122px">
            <option value="" selected="selected">不限</option>
            <%loop (YCHR.Model.WorkSalary) slary object_salary%>
            <%if val_pay=={slary.cname}%>
            <option value="{slary.cname}" selected="selected">{slary.cname}</option>
            <%else%>
            <option value="{slary.cname}">{slary.cname}</option>
            <%/if%>
            <%/loop%>
          </select>
          </span></li>
      </ul>
      <div class="clear"></div>
      <ul>
        <li style="width: 30%"><b>行业名称：</b>
          <input id="name_tradeid" runat="server" name="name_tradeid" value="{name_tradeid}" type="text" class="select_add1" />
          <input name="tradeid" type="hidden" id="tradeid" value="{tradeid}">
        </li>
        <li style="width: 22%"><b>公司规模：</b><span>
          <select name="dropcompanysize" id="dropcompanysize" style="width: 122px">
            <option value="" selected="selected">不限</option>
            <%loop (YCHR.Model.Companysize) csize object_companysize%>
            <%if val_companysize=={csize.id}%>
            <option value="{csize.id}" selected="selected">{csize.cname}</option>
            <%else%>
            <option value="{csize.id}">{csize.cname}</option>
            <%/if%>
            <%/loop%>
          </select>
          </span></li>
        <li style="width: 22%"><b>公司性质：</b> <span>
          <select name="dropcompanynatrue" id="dropcompanynatrue" style="width: 122px">
            <option value="" selected="selected">不限</option>
            <%loop (YCHR.Model.CompanyNature) cture object_companynatrue%>
            <%if val_companynatrue=={cture.id}%>
            <option value="{cture.id}" selected="selected">{cture.cname}</option>
            <%else%>
            <option value="{cture.id}">{cture.cname}</option>
            <%/if%>
            <%/loop%>
          </select>
          </span></li>
      </ul>
      <div class="clear"></div>
      <ul>
        <li style="width: 30%"><b>工作地点：</b>
          <input id="name_placeid" runat="server" name="name_placeid" value="{name_placeid}"
                        type="text" class="select_add1" />
          <input name="placeid" type="hidden" id="placeid" value="{placeid}">
        </li>
        <li style="width: 60%"></li>
      </ul>
      <div class="clear"></div>
    </div>
    <ul>
      <li style="width:76%"><b>关键词：</b>
        <input name="keywods" id="keywods" type="text" class="input250"  style="width:402px" value="请输入职位名称或公司名" onfocus="if (value =='请输入职位名称或公司名'){value =''}" onblur="if (value ==''){value='请输入职位名称或公司名'}" title="请输入职位名称或公司名再搜索">
        <input type="submit" class="btn_gaoji" id="ImageSearch" value="搜索" />
      </li>
      <li style="22%"><a href="javascript:void(0)" id="zk" onclick="showid()" class="a_red" onfocus="blur()">点击展开更多筛选条件</a><a href="javascript:void(0)" id="gb" onclick="closeid()" style="display:none" class="a_red" onfocus="blur()">点击关闭筛选条件</a></li>
      
    </ul>
    <div class="h5px"></div>
    <h4 style="width:66px"><strong>已选条件：</strong></h4>
    <ul style="width:900px">
    <li style="width:99%">{searchcondition}</li>
    </ul>
    <script language="javascript"> 	
    var sid=document.getElementById('selcetid'); 
    var zk=document.getElementById('zk');
    var gb=document.getElementById('gb');
    function showid() 
    { 
    sid.style.display=="none"?sid.style.display="":sid.style.display="none"; 
    zk.style.display="none"; 
    gb.style.display=""; 
    } 
    function closeid() 
    { 
    sid.style.display==""?sid.style.display="none":sid.style.display=""; 
    gb.style.display="none";  
    zk.style.display=""; 
    } 
    </script>
    <script type="text/javascript">
        $("#ImageSearch").click(function () {

            var querys = [];
            var url = "/zhaopin/jobsearch.aspx";

            querys.push("tradeid=" + $("#tradeid").val());
            querys.push("positionid=" + $("#positionid").val());
            querys.push("placeid=" + $("#placeid").val());

            querys.push("pay=" + $("#droppay").val());
            querys.push("edu=" + $("#dropedu").val());
            querys.push("comsize=" + $("#dropcompanysize").val());
            querys.push("comnatrue=" + $("#dropcompanynatrue").val());
            querys.push("workage=" + $("#dropworkage").val());
            var keyword = $("#keywods").val();
            if ($('#keywods').val().replace(/^\s+|\s+$/g, "").length > 0) {
                var defaultkey = '请输入职位名称或公司名';
                if (keyword == defaultkey) {
                    keyword = "";
                }
            }
            querys.push("keywords=" + escape(keyword));
            window.location.href = url + "?" + querys.join("&");
            return false;
        });    
       function clearsearchcondition(type, obj) {    
           switch (type) {    
               case "positionid":
                   $('#positionid').val(''); break;
               case "placeid":
                   $('#placeid').val(''); break;
               case "tradeid":
                   $('#tradeid').val(''); break;             
               case "droppay":
                   $('#droppay').val(''); break;
               case "dropedu":
                   $('#dropedu').val(''); break;
               case "dropworktype":
                   $('#dropworktype').val(''); break;
               case "dropworkage":
                   $('#dropworkage').val(''); break;
               case "dropcompanynatrue":
                   $('#dropcompanynatrue').val(''); break;
               case "dropcompanysize":
                   $('#dropcompanysize').val(''); break;
           }
           $(obj).remove();
           $('#ImageSearch').click();
       }
    </script>
  </div>
  <!--end-->
  <div class="h5px"></div>
</div>
<!-- joblist -->
<div class="box">
  <div class="joblist">
    <div class="td_top">
      <div class="td_key">共找到<b>{recordcount}</b>条记录：</div>
      <div class= "fanye">{pagestr}</div>
    </div>
    <dl>
      <dd class="w1"> 选择</dd>
      <dd class="w2"> 职位名称</dd>
      <dd class="w2"> 公司名称</dd>
      <dd class="w3"> 工作地点</dd>
      <dd class="w3"> 学历</dd>
      <dd class="w4"> 薪资</dd>
      <dd class="w4"> 更新时间</dd>
    </dl>
    <div class="clear"></div>
    <ul>
      <%loop (jobsobject) job joblist%>
      <%if {job.istop}%>
      <li class="lihot">
        <p class="w1">
          <input name="chkjobid" type="checkbox" value="{job.jobid}" />
        </p>
        <div class="w22" onmouseover='ShowGangwei({job.jobid});' onmouseout='HiddenGangwei({job.jobid});'> <b><a href='<%aspxurl("jobshow",{job.jobid})%>' class='a_blue' target='_blank'> {job.jobname}</a></b>
          <div id="zp{job.jobid}" class="none">
            <h3> {job.companyname}</h3>
            <i><a href='<%aspxurl("jobshow",{job.jobid})%>' class='a_fff' target='_blank'>查看详细</a></i>
            <div class="clear"> </div>
            <p> 工作性质：{job.jobtype}</p>
            <p> 招聘人数：{job.amount}</p>
            <p> 工作经验：{job.workage}</p>
            <p> 学历要求：{job.education}</p>
            <p> 地作地点： {job.workplace}</p>
            <p> 转正工资：{job.paytemp}</p>
            <div class="clear"> </div>
            <h5> 说明：{job.description}</h5>
            <h6> </h6>
          </div>
        </div>
        <p class="w2"> <a href='<%aspxurl("companyshow",{job.companyid})%>' target='_blank'> {job.companyname}&nbsp;</a></p>
        <p class="w3"> {job.workplace}&nbsp;</p>
        <p class="w3"> {job.education}&nbsp;</p>
        <p class="w4"> {job.paytemp}&nbsp;</p>
        <p class="w4"> <i class="ico_tui"></i> </p>
      </li>
      <%else%>
      <li>
        <p class="w1">
          <input name="chkjobid" type="checkbox" value="{job.jobid}" />
        </p>
        <div class="w22" onmouseover='ShowGangwei({job.jobid});' onmouseout='HiddenGangwei({job.jobid});'> <b><a href='<%aspxurl("jobshow",{job.jobid})%>' class='a_blue' target='_blank'> {job.jobname}</a></b>
          <div id="zp{job.jobid}" class="none">
            <h3> {job.companyname}</h3>
            <i><a href='<%aspxurl("jobshow",{job.jobid})%>' class='a_fff' target='_blank'>查看详细</a></i>
            <div class="clear"> </div>
            <p> 工作性质：{job.jobtype}</p>
            <p> 招聘人数：{job.amount}</p>
            <p> 工作经验：{job.workage}</p>
            <p> 学历要求：{job.education}</p>
            <p> 地作地点： {job.workplace}</p>
            <p> 转正工资：{job.paytemp}</p>
            <div class="clear"> </div>
            <h5> 说明：{job.description}</h5>
            <h6> </h6>
          </div>
        </div>
        <p class="w2"> <a href='<%aspxurl("companyshow",{job.companyid})%>' target='_blank'> {job.companyname}&nbsp;</a></p>
        <p class="w3"> {job.workplace}&nbsp;</p>
        <p class="w3"> {job.education}&nbsp;</p>
        <p class="w4"> {job.paytemp}&nbsp;</p>
        <p class="w4"> {job.modtime}</p>
      </li>
      <%/if%>
      <%/loop%>
    </ul>
    <div class="h5px"></div>
    <div class="listbottom">
      <div class="joblist_sel">
        <input id="chkBoxAll" type="checkbox" name="chkBoxAll" onclick="checkall(this,'.joblist');">
        全选 <a onclick="javascript:collectjobs();" href="javascript:" class="btn_red110 a_fff"> 收藏选中岗位</a></div>
    </div>
    <div class="fanye"> {pagestr}</div>
  </div>
  <!--right-->
  <div class="web_right">
    <div class="tab3">
      <h3> <em><a href="/zhaopin/" class="a_more">More</a></em>热门行业</h3>
      <ul>
        <%loop (YCHR.Model.TradeInfo) trade tadelist%>
        <li><a href="<%aspxurl("tradesearch",{trade.id.ToString()})%>"  title="{trade.cname}" target="_blank" class="a_red"><b>{trade.cname}</b></a></li>
        <%/loop%>
      </ul>
    </div>
    <div class="h5px"></div>
    <div class="add_220">{photo_guanggao(61)} </div>
  </div>
</div>
<!-- foot -->
<div class="clear"></div>
<%template src=/_foot.html/%>
<script type="text/javascript">
// 弹出职位详细**************************************************
function g(o) {
    return document.getElementById(o);
}
//鼠标移上去过一会在显示
function sleep(n) {
    var start = new Date().getTime();
    while (true) if (new Date().getTime() - start > n) break;
}
// 弹出职位详细**************************************************
function ShowGangwei(n) {
    sleep(20);
    g('zp' + n).className = 'joblist_sub'
}

function HiddenGangwei(n) {
    sleep(20);
    g('zp' + n).className = 'none'
}
// 选择**************************************************
$(document).ready(function () {

  $('#name_placeid').bindArea({
	  max: 3,
	  formInputName: 'placeid'
  });
  //行业
  $('#name_tradeid').bindCalling({
      max: 3,
	  formInputName: 'tradeid'
  });
  //职位类别
  $('#name_positionid').bindJobsort({
      max: 3,
	  formInputName: 'positionid'
  });
});
</script>
</body>
</html>
