<!--<?php
# MetInfo Enterprise Content Management System 
# Copyright (C) MetInfo Co.,Ltd (http://www.metinfo.cn). All rights reserved.ed.
require_once template('head');
echo <<<EOT
-->
<title>{$lang_cvTitle}</title>
</head>
<body>
<table cellpadding="2" cellspacing="1" border="0" width="95%" class="table_list1">
          <tr> 
            <td colspan="7" align="center" class="list1_title">{$lang_cvTitle}</td>
          </tr>  
			<tr align="right">
			<form method="POST" name="filterform"  action="cv.php?search=detail_search&lang=$lang&jobid=$jobid&customerid=$customerid" target="_self">
			<td colspan="7">				
				<span><b>{$lang_read}:</b></span>
				<select name="readok" id="readok" onChange="autosubmit()">
					<option value="" $readok0>{$lang_selectnow}</option>
					<option value="1" $readok1>{$lang_yes}</option>
					<option value="0" $readok2>{$lang_no}</option>
				</select>
				
			</td>
			</form>
		</tr>
              <tr>
                <td width="5%" class="list1_top" align="center">{$lang_selected}</td>
				<td width="5%" class="list1_top" align="center">ID</td>
                <td width="25%" class="list1_top" align="center">{$lang_cvPosition}</td>
                <td width="20%" class="list1_top" align="center" >{$lang_cvName}</td>
                <td width="20%" class="list1_top" align="center" >{$lang_cvAddtime}</td>
				<td width="5%"  class="list1_top" align="center" >{$lang_read}</td>
				<td width="20%" class="list1_top" align="center" >{$lang_operate}</td>
              </tr>
			  <form name="del" method="Post" action="cv_delete.php?lang=$lang" onSubmit="return ConfirmDelall();">
<!--
EOT;
foreach ($cv_list as $key=>$val){
echo <<<EOT
-->          
              <tr>
              <td align="center"class="list1_content_titile"><input name='id' type='checkbox' onClick="unselectall()" id="id" value='$val[id]' class="xz"></td>
                <td  align="center" class="list1_content">$val[id]</td>
			    <td align="center" class="list1_content">$val[position]</td>
                <td class="list1_content" align="center">$val[customerid]</td>
                <td   class="list1_content" align="center">$val[addtime]</td>
				<td   class="list1_content" align="center">$val[readok]</td>
				<td align="center"  class="list1_content" style="color:#0066FF;"></a> <a href="cv_editor.php?lang=$lang&id=$val[id]" >{$lang_detail}</a> | <a href="cv_delete.php?lang=$lang&id=$val[id]" onClick="return ConfirmDel();" >{$lang_delete}</a></td>
              </tr>
<!--
EOT;
}
echo <<<EOT
-->

   	   <tr> 
            <td class="input_bottom" align="center"><input name="chkAll" class="xz" type="checkbox" id="chkAll" onclick=CheckAll(this.form) value="checkbox"></td>
             <td class="input_bottom" align="center">{$lang_selectall}</td>
              <td class="input_bottom" align="left" colspan="7"><input name="submit" type='submit' value='{$lang_deleteselected}'><input name="action" type="hidden" id="action" value="del"><input name="allid" type="hidden" id="allid" value=""></form></td>
          </tr>
		  <tr>
            <td align="left" colspan="7"  class="input_search">
			<form method="POST" name="search"  action="cv.php?search=detail_search&lang=$lang" target="_self">
			       <span><b>{$lang_search}</b></span> 
			    <input name="position" type="text" size="30">
  <input type="submit" name="Submit2" value="{$lang_search}" class="tj">  
	        {$lang_cvTip3}</form></td>
          </tr>
   	   <tr>
   	     <td height="0" align="center" colspan="7" class="list1_input">$page_list</td>
        </tr>
		<tr>
		  <td class="list1_footer" colspan="7" align="center">$foot</td>
	  </tr>
</table>
<script type='text/javascript'>
	function autosubmit()
	{
		document.filterform.submit();
	}
</script>
</body>
</html>
<!--
EOT;
# This program is an open source system, commercial use, please consciously to purchase commercial license.
# Copyright (C) MetInfo Co., Ltd. (http://www.metinfo.cn). All rights reserved.
?>-->