index.php

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

PHP
116
字号
<?
  include_once 'inc/auth.php';
  echo '
<html>
<head>
<title>纪要查询</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
';
  echo '<S';
  echo 'CRIPT language=javascript>
function LoadWindow()
{
  URL="/module/user_select_single";
  loc_x=document.body.scrollLeft+event.clientX-event.offsetX-100;
  loc_y=document.body.scrollTop+event.clientY-event.offsetY+200;
  window.showModalDialog(URL,self,"edge:raised;scroll:0;status:0;help:0;resizable:1;dialogWidth:350px;dialogHeight:350px;dialogTop:"+loc_y+"px;dialogLeft:"+loc_x+"px");
}
f';
  echo 'unction 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+"px");
}
</SCRIPT>
</head>
<b';
  echo 'ody class="bodycolor" topmargin="5">
<table border="0" width="100%" cellspacing="0" cellpadding="3" class="small" align="center">
<tr>
  <td class="Big"><img src="/images/menu/infofind.gif" align="absmiddle" width="22" height="18">';
  echo '<s';
  echo 'pan class="big3"> 会议纪要查询</span></td>
</tr>
</table><br>
<table border="0" width="425" cellpadding="3" cellspacing="1" align="center" bgcolor="#000000" class="small">
<form enctype="multipart/form-data" action="search.php"  method="post" name="form1">
 <tr class="TableLine1">
   <td nowrap>会议名称:</td>
   <td nowrap><INPUT type=text name="M_NAME" size=34 class=BigInput></td>
 </tr>
 <tr class="T';
  echo 'ableLine2">
   <td nowrap>申请人:</td>
   <td nowrap>
     <input type="text" name="TO_NAME" size="10" class="BigStatic" readonly>&nbsp;
     <input type="button" value="选 择" class="SmallButton" onClick="LoadWindow()" title="选择申请人" name="button">
     <input type="hidden" name="TO_ID" value="">
   </td>
 </tr>
';
  $BEGIN_DATE = date ('Y-m-01', time ());
  $CUR_DATE = date ('Y-m-d', time ());
  echo '
 <tr class="TableLine1">
   <td nowrap>开始时间:</td>
   <td nowrap>
   从 <INPUT type=text name="M_START_B" size=10 class=SmallInput value="';
  echo $BEGIN_DATE;
  echo '"><img src="/images/menu/calendar.gif" align="absmiddle" border="0" style="cursor:hand" onclick="td_calendar(\'form1.M_START_B\');">
   至 <INPUT type=text name="M_END_B" size=10 class=SmallInput value="';
  echo $CUR_DATE;
  echo '"><img src="/images/menu/calendar.gif" align="absmiddle" border="0" style="cursor:hand" onclick="td_calendar(\'form1.M_END_B\');"></td>
 </tr>
 <tr class="TableLine1">
   <td nowrap>纪要关键词1:</td>
   <td nowrap><INPUT type=text name="KEY_WORD1" size=34 class=BigInput></td>
 </tr>
 <tr class="TableLine2">
   <td nowrap>纪要关键词2:</td>
   <td nowrap><INPUT type=text name="KEY_WORD2" size=34 class=BigI';
  echo 'nput></td>
 </tr>
 <tr class="TableLine1">
   <td nowrap>纪要关键词3:</td>
   <td nowrap><INPUT type=text name="KEY_WORD3" size=34 class=BigInput></td>
 </tr>
 <tr class="TableLine2">
   <td nowrap>会议室:</td>
   <td nowrap>
   ';
  echo '<s';
  echo 'elect name="M_ROOM" class="SmallSelect">
   	<option value="" selected>全部</option>
';
  $query = 'SELECT * from MEETING_ROOM';
  $cursor = exequery ($connection, $query);
  while ($ROW = mysql_fetch_array ($cursor))
  {
    $MR_ID = $ROW['MR_ID'];
    $MR_NAME = $ROW['MR_NAME'];
    echo '   <option value="';
    echo $MR_ID;
    echo '" ';
    if (($M_ROOM == $MR_ID))
    {
      echo 'selected';
    }
    echo '>';
    echo $MR_NAME;
    echo '</option>
';
  }
  echo '   </select></td>
 </tr>
 <tr class="TableControl">
  <td colspan="9" align="center">
   <input type="submit" value="查询" class="BigButton">&nbsp;&nbsp;
  </td>
 </tr>
</form>
</table>
</body>
</html>';
?>

⌨️ 快捷键说明

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