⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 query.php

📁 通达OA2007SE源代码 非常好的
💻 PHP
字号:
<?
  include_once 'inc/auth.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 Language="JavaScript">
function td_calendar(fieldname)
{
  myleft=document.body.scrollLeft+event.clientX-event.offsetX-80;
  mytop=document.body.scrollTop+event.clientY-event.offsetY+140;
  window.showModalDialog("/inc/calendar.php?FIELDNAME="+fieldname,self,"edge:raised;scroll:0;status:0;help:0;resizable:1;dialogWidth:280px;dialogHeight:215px;dialogTop:"+mytop+"px;dialogLeft:"+myleft';
  echo '+"px");
}
function checkForm()
{
   if(document.all("OPERATION1").checked)
      document.form1.action="search.php";
   else if(document.all("OPERATION2").checked)
      document.form1.action="search_del.php";
   return true;
}
function LoadWindow()
{
  URL="/module/user_select";
  loc_x=document.body.scrollLeft+event.clientX-event.offsetX-100;
  loc_y=document.body.scrollTop+eve';
  echo 'nt.clientY-event.offsetY+170;
  window.showModalDialog(URL,self,"edge:raised;scroll:0;status:0;help:0;resizable:1;dialogWidth:400px;dialogHeight:350px;dialogTop:"+loc_y+"px;dialogLeft:"+loc_x+"px");
}
function clear_user()
{
  document.form1.TO_NAME.value="";
  document.form1.TO_ID.value="";
}
</script>
</head>
<body class="bodycolor" topmargin="5">
<table border="0" width="90%" cells';
  echo 'pacing="0" cellpadding="3" class="small">
  <tr>
    <td class="Big"><img align="absMiddle" src="/images/menu/infofind.gif"  width="24" height="24">';
  echo '<s';
  echo 'pan class="big3"> 公告通知查询</span>
    </td>
  </tr>
</table>
<table border="0" width="500" cellpadding="2" cellspacing="1" align="center" bgcolor="#000000" class="small">
  <form enctype="multipart/form-data" method="post" name="form1" onsubmit="return checkForm();">
';
  if (($LOGIN_USER_PRIV == '1'))
  {
    echo '    <tr>
      <td nowrap class="TableData">发布人:</td>
      <td class="TableData">
        <input type="hidden" name="TO_ID" value="">
        <textarea cols=35 name="TO_NAME" rows="3" class="BigStatic" wrap="yes" readonly></textarea>
        &nbsp;<input type="button" value="添 加" class="SmallButton" onClick="LoadWindow()" title="添加收件人" name="button">
        &nbsp;<input type="button" val';
    echo 'ue="清 空" class="SmallButton" onClick="clear_user()" title="清空收件人" name="button">
      </td>
    </tr>
';
  }
  echo '    <tr>
      <td nowrap class="TableData" width="100"> 格式:</td>
      <td class="TableData">
      ';
  echo '<s';
  echo 'elect name="FORMAT" class="BigSelect">
        <option value="" selected>全部</option>
        <option value="0">普通格式</option>
        <option value="1">MHT格式</option>
      </select>
      </td>
    </tr>
    <tr>
      <td nowrap class="TableData"> 类型:</td>
      <td class="TableData">
        ';
  echo '<s';
  echo 'elect name="TYPE_ID" class="BigSelect">
          <option value="" selected>全部</option>
          ';
  echo code_list ('NOTIFY', '');
  echo '        </select>&nbsp;
      </td>
    </tr>
    <tr>
      <td nowrap class="TableData" width="100"> 发布状态:</td>
      <td class="TableData">
      ';
  echo '<s';
  echo 'elect name="PUBLISH" class="BigSelect">
        <option value="" selected>全部</option>
        <option value="0">未发布</option>
        <option value="1">已发布</option>
      </select>
      </td>
    </tr>
    <tr>
      <td nowrap class="TableData" width="100"> 标题:</td>
      <td class="TableData">
        <input type="text" name="SUBJECT" size="33" maxlength="100" class="BigInput" value="">
';
  echo '      </td>
    </tr>
    <tr>
      <td nowrap class="TableData" width="100"> 发布日期:</td>
      <td class="TableData">
        <input type="text" name="SEND_TIME_MIN" size="12" maxlength="10" class="BigInput" value="">
        <img align="absMiddle" src="/images/menu/calendar.gif" border="0" style="cursor:hand" onclick="td_calendar(\'form1.SEND_TIME_MIN\');"> 至&nbsp;
        <input type="text" n';
  echo 'ame="SEND_TIME_MAX" size="12" maxlength="10" class="BigInput" value="">
        <img align="absMiddle" src="/images/menu/calendar.gif" border="0" style="cursor:hand" onclick="td_calendar(\'form1.SEND_TIME_MAX\');">
      </td>
    </tr>
    <tr>
      <td nowrap class="TableData" width="100"> 内容:</td>
      <td class="TableData">
        <input type="text" name="CONTENT" size="33" maxlength="200" ';
  echo 'class="BigInput" value="">
      </td>
    </tr>
    <tr>
      <td nowrap class="TableData" width="100"> 生效状态:</td>
      <td class="TableData">
      ';
  echo '<s';
  echo 'elect name="STAT" class="BigSelect">
        <option value="" selected>全部</option>
        <option value="1">待生效</option>
        <option value="2">已生效</option>
        <option value="3">已终止</option>
      </select>
      </td>
    </tr>
    <tr>
      <td nowrap class="TableData" width="100"> 操作:</td>
      <td class="TableData">
        <input type="radio" name="OPERATION" id="OPERATION';
  echo '1" value="1" checked><label for="OPERATION1">查询</label>
        <input type="radio" name="OPERATION" id="OPERATION2" value="2"><label for="OPERATION2">删除</label>
      </td>
    </tr>
    <tr align="center" class="TableControl">
      <td colspan="2" nowrap>
        <input type="submit" value="确定" class="BigButton">&nbsp;&nbsp;
        <input type="reset" value="重填" class="BigButton">&nbsp;&nb';
  echo 'sp;
      </td>
    </tr>
  </table>
</form>
</body>
</html>';
?>

⌨️ 快捷键说明

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