<!--
<?php
echo <<<EOT
-->

<!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>{$kuWebsiteTitle}</title>
<link href="{$adminHttpCssPath}admin.css" rel="stylesheet" type="text/css">
<script type="text/javascript" language="javascript" src="{$adminHttpJsPath}common.js"></script>
</head>

<body>
  <table width="100%" border="0" background="#EEEEEE">
    <tr>
      <td colspan="3" height="10">&nbsp;</td>
    </tr>
    <tr>
      <td width="1%"></td>
      <td width="98%"> 
        <table width="100%" bgcolor="#F4FAFB" style="border:1px solid #99d3fb">
          <tr height="30" style="padding:3px 10px;">
            <td width="40%" align="left" height="40"><span style="font-size:16px; font-weight:bold">&nbsp;&nbsp;{$labelResumeManageBrownse}</span></td>
            <td width="40%" align="right">&nbsp;</td>
          </tr>
        </table>
        <form action="index.php?lang={$kuWebsiteEditVersionLanguage}&path=job&menu=resume_action&action=search" method="post">
          <table width="100%" bgcolor="#F4FAFB" style="border:1px solid #99d3fb">
            <tr height="30" style="padding:3px 10px;">
              <td width="100%" align="left" height="20">
                <span style="font-size:12px; font-weight:bold">
                <input type="text" name="flag" value="search" style="display:none"/>
                 <select name="readystate">
                  <option value="-1" {$readyStateFlag[notselectstate]}>{$labelResumeManageSelectReadyState}</option>
                  <option value="0" {$readyStateFlag[0]}>{$labelResumeManageNotReadyState}</option>
                  <option value="1" {$readyStateFlag[1]}>{$labelResumeManageReadyState}</option>
                </select>
                <select name="jobpost">
                  <option value="0">{$labelResumeManageSelectJobPostState}</option>  
<!--
EOT;
foreach($kuJobList as $key=>$value)
{
echo <<<EOT
-->
                  <option value="{$value['id']}" {$jobPostFlag[$value['id']]}>{$value['jobpost']}</option>      
<!--
EOT;
}
echo <<<EOT
-->
                </select>&nbsp;&nbsp;&nbsp;&nbsp;  
                <input type="submit" value="{$labelResumeManageSearch}" />          
                </span>
              </td>
            </tr>
          </table>
        </form>  
        <form name='myform' action="index.php?lang={$kuWebsiteEditVersionLanguage}&path=job&menu=resume_action&action=delete" method="post">
          <input type="text" name="menuid" value="{$menuid}" style="display:none" />
          <table width="100%" bgcolor="#F4FAFB" class="tableList" cellpadding="1" cellspacing="1">
            <tr >
              <td width="5%" align="center">{$labelModelCommonManageSelected}</td>
              <td width="5%" align="center">{$labelModelCommonManageID}</td>
              <td width="30%" align="center">{$labelResumeManageJobPost}</td>
              <td width="10%" align="center" >{$labelResumeManageName}</td>
              <td width="10%" align="center" >{$labelResumeManageSubmitTime}</td>
              <td width="10%" align="center" >{$labelResumeManageReadyed}</td>
              <td width="10%"align="center" >{$labelModelCommonManageOperate}</td>
            </tr>
<!--
EOT;
foreach($resumeList as $key=>$value)
{
?>
-->
            <tr>
              <td align="center"><input type="checkbox" name="id[]" value="<?php echo removeXSS($value['id']); ?>" /></td>
              <td align="center"><?php echo removeXSS($value['id']); ?></td>
              <td align="center"><?php echo removeXSS($value['resumepost']); ?></td>
              <td align="center"><?php echo removeXSS($value['resumename']); ?></td>
              <td align="center"><?php echo removeXSS($value['addtime']); ?></td>
              <td align="center"><?php echo removeXSS($value['readok']); ?></td>
              <td align="center">
                <a href="index.php?lang={$kuWebsiteEditVersionLanguage}&path=job&menu=resume_show&id=<?php echo removeXSS($value['id']); ?>"><?php echo removeXSS($labelResumeManageLookDetail); ?></a>
                <a href="index.php?lang={$kuWebsiteEditVersionLanguage}&path=job&menu=resume_action&action=delete&id=<?php echo removeXSS($value['id']); ?>" onclick="return confirm('<?php echo removeXSS($promptConfirmDelete); ?>')"><?php echo removeXSS($labelCommonDelete); ?></a>
              </td>
            </tr>
<!--
<?php
}
echo <<<EOT
-->
            <tr> 
              <td height="20" align="left" colspan="10">
                <input name="selectAllCheckBox"  type="checkbox" onclick="checkCheckBoxAll(this.form)">
                {$labelJobManageDeleteAllDesc}
                <input name="submit" type='submit' value='{$labelModelCommonManageDeleteAll}' onclick="return confirm('{$promptConfirmDelete}')"> 
              </td>
            </tr>
            <tr>
              <td colspan="10" align="center">
EOT;
$test = new Pages($totalNumber, $page, $maxNum, $adminPagingActionsDisplayNumber, $adminPagingType, $adminPagingIsAlwaysShowFirstOrLast);
if('search' == $flag)
{
  echo $test->disp('page', "index.php?lang={$kuWebsiteEditVersionLanguage}&path=job&menu=resume_action&flag=search&readystate=".$readystate."&jobpost=".$jobpost);
}
else
{
  echo $test->disp('page', "index.php?lang={$kuWebsiteEditVersionLanguage}&path=job&menu=resume_action");
}
echo <<<EOT
              </td>
            </tr>
          </table>
        </form>
EOT;
include_once($adminTemplatePath.'/footer.html');
echo <<<EOT
  
  </td>
      <td width="1%"></td>
    </tr>
  <tr><td colspan="3" height="10">&nbsp;</td></tr>
  </table>
</body>
</html>

<!--
EOT;
?>
-->