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

📄 index.php

📁 通达OA2007SE源代码 非常好的
💻 PHP
字号:
<?
  include_once 'inc/auth.php';
  echo '<s';
  echo 'cript Language="JavaScript">
function clear_dept()
{
  document.form1.TO_NAME.value="";
  document.form1.TO_ID.value="";
}
function clear_dept1()
{
  document.form1.SECRET_TO_NAME.value="";
  document.form1.SECRET_TO_ID.value="";
}
function LoadWindow()
{
  URL="/module/user_select?";
  loc_x=document.body.scrollLeft+event.clientX-event.offsetX-100;
  loc_y=document.body.scrollT';
  echo 'op+event.clientY-event.offsetY+170;
  window.showModalDialog(URL,self,"edge:raised;scroll:1;status:0;help:0;resizable:1;dialogWidth:400px;dialogHeight:330px;dialogTop:"+loc_y+"px;dialogLeft:"+loc_x+"px");
 }
function LoadWindow1()
{
  URL="/module/user_select?ID=1";
  loc_x=document.body.scrollLeft+event.clientX-event.offsetX-100;
  loc_y=document.body.scrollTop+event.clientY-event.offs';
  echo 'etY+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 chk(input)
  {
    for(var i=0;i<document.form1.c1.length;i++)
    {
      document.form1.c1[i].checked = false;
    }
    input.checked = true;
    return true;
  }
</script>
<html>
<head>
<t';
  echo 'itle>考核数据查询</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
';
  echo '<s';
  echo 'cript>
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+"px");
}
</script>';
  echo '
</head>
<body class="bodycolor" topmargin="5">
';
  $CUR_DATE = date ('Y-m-d', time ());
  $query = (((''.'SELECT count(*) from SCORE_FLOW where END_DATE<=\'').$CUR_DATE).'\' and  END_DATE <> \'0000-00-00\' order by SEND_TIME desc');
  $cursor = exequery ($connection, $query);
  if ($ROW = mysql_fetch_array ($cursor))
  {
    $HISTORY_COUNT = $ROW[0];
  }
  echo '
<table border="0" width="100%" cellspacing="0" cellpadding="3" class="small">
  <tr>
    <td class="Big"><img src="/images/menu/infofind.gif" WIDTH="25" HEIGHT="25" align="absmiddle">';
  echo '<s';
  echo 'pan class="big3"> 考核数据查询</span>
    </td>
  </tr>
</table>
<br>
<div align="center">
<table border="0" cellspacing="1" class="small" bgcolor="#000000" cellpadding="3" align="center" >
  <form action="list.php"  method="post" name="form1" >
  <tr>
    <td nowrap class="TableContent">考核任务名称: </td>
    <td nowrap class="TableData">
        <input type="text" name="FLOWTITLE" class="BigIn';
  echo 'put">
    </td>
  </tr>
  <tr>
      <td nowrap class="TableContent">考核人:</td>
      <td class="TableData">
        <input type="hidden" name="SECRET_TO_ID" value="';
  echo $RANKMAN;
  echo '">
        <textarea cols=40 name="SECRET_TO_NAME" rows="2" class="BigStatic" wrap="yes" readonly>';
  echo $RAN_NAME;
  echo '</textarea>
        &nbsp;<input type="button" value="添 加" class="SmallButton" onClick="LoadWindow1()" title="添加" name="button">
        &nbsp;<input type="button" value="清 空" class="SmallButton" onClick="clear_dept1()" title="清空" name="button">
      </td>
    </tr>
    <tr>
      <td nowrap class="TableContent">被考核人:</td>
      <td class="TableData">
        <input type="hidden" nam';
  echo 'e="TO_ID" value="';
  echo $PARTICIPANT;
  echo '">
        <textarea cols=40 name=TO_NAME rows=2 class="BigStatic" wrap="yes" readonly>';
  echo $PARTI_NAME;
  echo '</textarea>
        &nbsp;<input type="button" value="添 加" class="SmallButton" onClick="LoadWindow()" title="添加" name="button">
        &nbsp;<input type="button" value="清 空" class="SmallButton" onClick="clear_dept()" title="清空" name="button">
      </td>
    </tr>
     <tr>
      <td nowrap class="TableContent">考核指标集:</td>
      <td class="TableData">
         ';
  echo '<s';
  echo 'elect name="GROUP" class="BigSelect">
             <option value="">   </option>
';
  $query = 'SELECT * from SCORE_GROUP';
  $cursor = exequery ($connection, $query);
  while ($ROW = mysql_fetch_array ($cursor))
  {
    $GROUPID = $ROW['GROUP_ID'];
    $GROUPNAME = $ROW['GROUP_NAME'];
    echo '               <option value="';
    echo $GROUPID;
    echo '">';
    echo $GROUPNAME;
    echo '</option>
';
  }
  echo '        </select>
      </td>
    </tr>
   <tr>
    <td nowrap class="TableContent">生效日期: </td>
    <td nowrap class="TableData">
        <input type="text" name="BEGIN_FROM_DATE" class="BigInput" size="15" maxlength="10" value="';
  echo $DATE;
  echo '">&nbsp;
        <img src="/images/menu/calendar.gif" border="0" style="cursor:hand" onclick="td_calendar(\'form1.BEGIN_FROM_DATE\');">
    &nbsp;至&nbsp;
       <input type="text" name="BEGIN_TO_DATE" class="BigInput" size="15" maxlength="10" value="';
  echo $DATE;
  echo '">&nbsp;
       <img src="/images/menu/calendar.gif" border="0" style="cursor:hand" onclick="td_calendar(\'form1.BEGIN_TO_DATE\');">
    </td>
   </tr>
      <tr>
    <td nowrap class="TableContent">终止日期: </td>
    <td nowrap class="TableData">
        <input type="text" name="END_FROM_DATE" class="BigInput" size="15" maxlength="10" value="';
  echo $DATE;
  echo '">&nbsp;
        <img src="/images/menu/calendar.gif" border="0" style="cursor:hand" onclick="td_calendar(\'form1.END_FROM_DATE\');">
    &nbsp;至&nbsp;
        <input type="text" name="END_TO_DATE" class="BigInput" size="15" maxlength="10" value="';
  echo $DATE;
  echo '">&nbsp;
        <img src="/images/menu/calendar.gif" border="0" style="cursor:hand" onclick="td_calendar(\'form1.END_TO_DATE\');">
    </td>
   </tr>
   <tr>
      <td nowrap class="TableContent"> 查询范围:</td>
      <td class="TableData">
         <input type="checkbox" name="c1" id="Id_c1" value="1" onclick="return chk(this);"><label for="Id_c1">全部</label>&nbsp;&nbsp;
         <input type=';
  echo '"checkbox" name="c1" id="Id_c2" value="2" onclick="return chk(this);" checked><label for="Id_c2">已终止</label>&nbsp;&nbsp;
      </td>
    </tr>
   <tr>
    <td nowrap  class="TableControl" colspan="2" align="center">
        <input type="submit" value="查询" class="BigButton" title="模糊查询" name="button">
    </td>
   </tr>
  </form>
</table>
</div>
</body>
</html>';
?>

⌨️ 快捷键说明

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