<!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta charset="utf-8">
<title>{#$txt_title#} - Powered by HuCart.COM</title>
<link href="./css/bootstrap.min.css" rel="stylesheet">
<link href="./css/info.css" rel="stylesheet">
<script language="javascript" src="{#$base_weburl#}/js/pinyin.js"></script>
<script language="javascript" src="{#$base_weburl#}/js/admin_common.js"></script>
<script src="{#$base_weburl#}/js/jquery.min.js"></script>
<!--[if lt IE 9]>
  <script src="//cdn.bootcss.com/html5shiv/3.7.2/html5shiv.min.js"></script>
  <script src="//cdn.bootcss.com/respond.js/1.4.2/respond.min.js"></script>
<![endif]-->
<script language="javascript">
	var webroot_url = '{#$base_weburl#}';
	var eml_pcd_all = '';
	var p_val = '';
	var c_val = '';
	var d_val = '';
	
	function submitFun()
	{
			var ideml_position 		= document.getElementById('eml_position');
			var ideml_name 			= document.getElementById('eml_name');
			var ideml_native 			= document.getElementById('eml_native');
			var ideml_phone 			= document.getElementById('eml_phone');

			//var idsuggestionInfo 	= document.getElementById('suggestionInfo');
	
			if(ideml_position.value=='')
			{
				alert('{#$lang.eml_position_err#}');
				ideml_position.focus();
				return false;
			}else if(ideml_name.value=='')
			{
				alert('{#$lang.eml_name_err#}');
				ideml_name.focus();
				return false;
			}else if(ideml_native.value=='')
			{
				alert('{#$lang.eml_native_err#}');
				ideml_native.focus();
				return false;
			}else if(ideml_phone.value=='')
			{
				alert('{#$lang.eml_phone_err#}');
				ideml_phone.focus();
				return false;
			}
			
			document.formSub.target="_self"
			document.formSub.submit();
	}
	



</script>
</head>
<body>
    <div class="info-tit"><span class="glyphicon glyphicon-paperclip"> </span> <a href="index.php?load={#$master_act#}&act=info_list" >{#$lang.title#}</a> > {#$txt_title#} ({#$lang.need_edit#}&nbsp;&nbsp; {#$lang.need_add#} {#$lang.need_del#})</div>
    <!-- custom con start -->
    <div class="info-add">
      <form class="form-horizontal" name="add-form" id="add-form" method="post" action="{#$act_url#}">
        <div class="form-group form-group-sm">
          <label class="col-sm-2 control-label" for="i-tit"><font color="red">*</font> {#$lang.field_list.eml_position#}</label>
          <div class="col-sm-4">
            <input class="form-control" name="eml_position" id="eml_position" value="{#$info.eml_position#}" type="text"  >
          </div>
        </div>

        <div class="form-group form-group-sm">
          <label class="col-sm-2 control-label" for="i-tit"><font color="red">*</font> {#$lang.field_list.eml_name#}</label>
          <div class="col-sm-3">
            <input class="form-control" name="eml_name" id="eml_name" value="{#$info.eml_name#}" type="text"  >
          </div>
        </div>      

        <div class="form-group form-group-sm">
          <label class="col-sm-2 control-label" for="i-tit"><font color="red">*</font> {#$lang.field_list.eml_sex#}</label>
          <div class="col-sm-4">
{#foreach key=pk item=pi from=$lang.eml_sex_arr#}&nbsp;&nbsp;
{#$pi#}<input type="radio"   name="eml_sex" id="eml_sex[{#$pk#}]"  value="{#$pk#}" {#if $pk eq $info.eml_sex#} checked="checked" {#/if#}>
{#/foreach#}
          </div>
        </div>

        <div class="form-group form-group-sm">
          <label class="col-sm-2 control-label" for="i-tit"><font color="red">*</font> {#$lang.field_list.eml_native#}</label>
          <div class="col-sm-3">
  <input class="form-control" name="eml_native" id="eml_native" value="{#$info.eml_native#}" type="text"  >
          </div> 
        </div> 
        
  		<div class="form-group form-group-sm">
          <label class="col-sm-2 control-label" for="i-tit"><font color="red">*</font> {#$lang.field_list.eml_educational#}</label>
          <div class="col-sm-4">
 <select  class="form-control" name="eml_educational" id="eml_educational" style="width:250px;">
<option value="">{#$lang.txt_select#}</option>
{#foreach item=edu_item key=edu_key  from=$lang.eml_educational_arr#}#}
<option value="{#$edu_key#}" {#if $info.eml_educational eq $edu_key#} selected="selected" {#/if#} >{#$edu_item#}</option>
{#/foreach#}
</select>

          </div>
        </div>

        <div class="form-group form-group-sm">
          <label class="col-sm-2 control-label" for="i-tit"><font color="red">*</font> {#$lang.field_list.eml_school#}</label>
          <div class="col-sm-4">
        <input class="form-control" name="eml_school" id="eml_school" value="{#$info.eml_school#}"  style="width:250px;" >
          </div> 
        </div>

       <div class="form-group form-group-sm">
          <label class="col-sm-2 control-label" for="i-tit"><font color="red">*</font> {#$lang.field_list.eml_birthday#}</label>
          <div class="col-sm-4">
 		<input class="form-control" name="eml_birthday" id="eml_birthday"  value="{#$info.eml_birthday|date_format:"%Y-%m-%d"#}"  style="width:250px;" >
 
          </div>
        </div> 
        
        <div class="form-group form-group-sm">
          <label class="col-sm-2 control-label" for="i-tit"><font color="red">*</font> {#$lang.field_list.eml_year#}</label>
          <div class="col-sm-4">
<select class="form-control" name="eml_year" id="eml_year"  style="width:250px;" >
<option value="">{#$lang.txt_select#}</option>
{#foreach item=year_item key=year_key  from=$lang.eml_year_arr#}
<option value="{#$year_key#}" {#if $info.eml_year eq $year_key#} selected="selected" {#/if#} >{#$year_item#}</option>
{#/foreach#}
</select>
          </div> 
        </div>
        <div class="form-group form-group-sm">
          <label class="col-sm-2 control-label" for="i-tit"><font color="red">*</font> {#$lang.field_list.eml_start_work#}</label>
          <div class="col-sm-4">
<select  class="form-control" name="eml_start_work" id="eml_start_work"  style="width:250px;" >
<option value="">{#$lang.txt_select#}</option>
{#foreach item=stw_item key=stw_key  from=$lang.eml_start_work_arr#}
<option value="{#$stw_key#}"  {#if $info.eml_start_work eq $stw_key#} selected="selected" {#/if#} >{#$stw_item#}</option>
{#/foreach#}
</select>  
          
 
          </div>
        </div> 

        <div class="form-group form-group-sm">
          <label class="col-sm-2 control-label" for="i-tit"><font color="red">*</font> {#$lang.field_list.eml_phone#}</label>
          <div class="col-sm-3">
            <input class="form-control" name="eml_phone" id="eml_phone" value="{#$info.eml_phone#}" type="text"  >
          </div>
        </div> 

        <div class="form-group form-group-sm">
          <label class="col-sm-2 control-label" for="i-tit"><font color="red">*</font> {#$lang.field_list.eml_email#}</label>
          <div class="col-sm-3">
            <input class="form-control" name="eml_email" id="eml_email" value="{#$info.eml_email#}" type="text"  >
          </div>
        </div> 

        <div class="form-group form-group-sm">
          <label class="col-sm-2 control-label" for="i-tit"><font color="red">*</font> {#$lang.field_list.eml_marriage#}</label>
          <div class="col-sm-4">
        <select  class="form-control" name="eml_marriage" id="eml_marriage"  style="width:250px;" >
        <option value="">{#$lang.txt_select#}</option>
        {#foreach item=mar_item key=mar_key  from=$lang.eml_marriage_arr#}
        <option value="{#$mar_key#}"  {#if $info.eml_marriage eq $mar_key#} selected="selected" {#/if#} >{#$mar_item#}</option>
        {#/foreach#}
        </select> 
          </div>
        </div> 
        
        <div class="form-group form-group-sm">
          <label class="col-sm-2 control-label" for="i-tit"><font color="red">*</font> {#$lang.field_list.eml_subject#}</label>
          <div class="col-sm-4">
            <input class="form-control" name="eml_subject" id="eml_subject" value="{#$info.eml_subject#}" type="text"  >
          </div>
        </div> 
 


        <div class="form-group form-group-sm">
          <label class="col-sm-2 control-label" for="i-tit"><font color="red">*</font> {#$lang.field_list.eml_resume#}</label>
          <div class="col-sm-3">
           {#$resume_ckeditorLoad#}
          </div>
        </div> 


        <div class="form-group form-group-sm">
          <label class="col-sm-2 control-label" for="i-tit"> {#$lang.field_list.eml_enclosure_file#}</label>
          <div class="col-sm-3">
            <input class="form-control" name="eml_enclosure_file" id="eml_enclosure_file" value="{#$info.eml_enclosure_file#}" type="text"  >
          </div>
        </div>    



        <div class="form-group form-group-sm">
          <label class="col-sm-2 control-label" for="i-tit"> {#$lang.field_list.eml_enclosure_say#}</label>
          <div class="col-sm-3">
            <input class="form-control" name="eml_enclosure_say" id="eml_enclosure_say" value="{#$info.eml_enclosure_say#}" type="text"  >
          </div>
        </div>    


        <div class="form-group form-group-sm">
          <label class="col-sm-2 control-label" for="i-tit"><font color="red">*</font> {#$lang.field_list.eml_status#}</label>
          <div class="col-sm-4">
          	{#if $info.eml_status eq 0#}
           		{#$lang.eml_status_arr[0]#}
            {#else#}
            	{#$lang.eml_status_arr[$info.eml_status]#}
            {#/if#}
          </div>
        </div>


        
        <div class="form-group">
          <div class="col-sm-offset-2 col-sm-10">
            <button type="submit" class="btn btn-primary  btn-sm" onclick="return submitFun(this)" >{#$edit_submit#}</button>&nbsp;&nbsp;&nbsp;&nbsp;
            <button type="reset" class="btn btn-default btn-sm">{#$lang.reset#}</button>
          </div>
        </div>
        <input type="hidden" name="act_type" value="{#$act_type#}">
        <input type="hidden" name="eml_id" id="eml_id"  value="{#$info.eml_id#}">
      </form>
    </div>
    <!-- custom con end -->
    
    <footer class="footer">
      <div class="container">
        <p class="text-muted">Powered by <a href="http://Www.HuCart.COM" target="_blank">HuCart.COM</a></p>
      </div>
    </footer>

<script src="{#$base_weburl#}/js/base.js"></script>
</body>
</html>