search.php

来自「通达OA2007SE源代码 非常好的」· PHP 代码 · 共 49 行

PHP
49
字号
<?
  include_once 'inc/auth.php';
  include_once 'inc/check_type.php';
  include_once 'inc/utility_all.php';
  echo '<html>
<head>
<title>人事档案查询</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
';
  echo '<s';
  echo 'cript>
function hrms_detail(USER_ID)
{
 URL="hrms.php?USER_ID="+USER_ID;
 myleft=(screen.availWidth-500)/2;
 window.open(URL,"read_notify","height=500,width=600,status=0,toolbar=no,menubar=no,location=no,scrollbars=yes,top=150,left="+myleft+",resizable=yes");
}
</script>
</head>
<body class="bodycolor" topmargin="5">
';
  $TYPENAME_ARRAY = explode (',', $SUMFIELD);
  $CUR_DATE = date ('Y-m-d', time ());
  $query = '';
  ($query .= ' where a.USER_ID=b.USER_ID');
  if (($BIRTHDAY_MIN != ''))
  {
    $TIME_OK = is_date ($BIRTHDAY_MIN);
    if (!$TIME_OK)
    {
      message ('错误', ('"生日"的"开始日期"格式不对,应形如 '.$CUR_DATE));
      button_back ();
      exit ();
    }
    if (($query == ''))
    {
      ($query .= (((''.' where HR_BIRTHDAY>=\'').$BIRTHDAY_MIN).'\''));
    }
    else
    {
      ($query .= (((''.' and HR_BIRTHDAY>=\'').$BIRTHDAY_MIN).'\''));
    }
  }
  if (($BIRTHDAY_MAX != ''))
  {
    $TIME_OK = is_date ($BIRTHDAY_MAX);
    if (!$TIME_OK)
    {
      message ('错误', ('"生日"的"结束日期"格式不对,应形如 '.$CUR_DATE

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?