index.php

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

PHP
106
字号
<?
  function getalldate ($CODE)
  {
    global $connection;
    $query = (((''.'SELECT * from SYS_CODE where PARENT_NO=\'').$CODE).'\'');
    $cursor = exequery ($connection, $query);
    while ($ROW = mysql_fetch_array ($cursor))
    {
      $CODE_NO = $ROW['CODE_NO'];
      $CODE_NAME = $ROW['CODE_NAME'];
      echo (((('<option value='.$CODE_NO).'>').$CODE_NAME).'</option>');
    }
  }
  include_once 'inc/auth.php';
  echo '<html>
<head>
<title>新建办公用品</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
';
  echo '<S';
  echo 'CRIPT>
function excel_export()
{
  document.form1.action="export.php";
  document.form1.submit();
}
</SCRIPT>
</head>
<body class="bodycolor" topmargin="5">
<table border="0" width="100%" cellspacing="0" cellpadding="3" class="small">
  <tr>
    <td class="Big"><img src="/images/notify_new.gif" align="absmiddle">';
  echo '<s';
  echo 'pan class="big3"> 新建办公用品 </span><br>
    </td>
  </tr>
</table>
<div align="center">
<input type="button"  value="新建办公用品" class="BigButton" onClick="location=\'new.php\';" title="添加新的办公用品">
</div>
<br>
<table width="95%" border="0" cellspacing="0" cellpadding="0" height="3">
 <tr>
   <td background="/images/dian1.gif" width="100%"></td>
 </tr>
</table>
<br>
<table border="0" w';
  echo 'idth="100%" cellspacing="0" cellpadding="3" class="small">
  <tr>
    <td class="Big"><img src="/images/notify_open.gif" align="absmiddle">';
  echo '<s';
  echo 'pan class="big3"> 办公用品信息查询</span>
    </td>
  </tr>
</table>
<br>
<div align="center">
<table border="0" cellspacing="1" width="450" 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="PRO_NA';
  echo 'ME" class="BigInput" size="33" maxlength="100">&nbsp;
    </td>
   </tr>
   <tr>
    <td nowrap class="TableContent">办公用品描述: </td>
    <td nowrap class="TableData">
        <input type="text" name="PRO_DESC" class="BigInput" size="33" maxlength="100">&nbsp;
    </td>
   </tr>
   <tr>
    <td nowrap class="TableContent">办公用品类别: </td>
    <td nowrap class="TableData">
        ';
  echo '<s';
  echo 'elect name="OFFICE_PROTYPE" class="BigSelect">
        	<option value=""></option>
';
  getalldate ('OFFICE_PROTYPE');
  echo '        </select>
    </td>
   </tr>
    <tr>
    <td nowrap class="TableContent">低于警戒库存: </td>
    <td nowrap class="TableData">
     <input type="checkbox" name="LOW_Stock" value="-1">低于警戒库存
    </td>
   </tr>
   <tr>
    <td nowrap  class="TableControl" colspan="2" align="center">
        <input type="submit" value="查询" class="BigButton" title="模糊查询" name="button">
        &nb';
  echo 'sp;<input type="button" value="导出" class="BigButton" title="导出办公用品信息" name="button" onclick="excel_export()">
    </td>
   </tr>
  </form>
</table>
</div>
</body>
</html>
';
?>

⌨️ 快捷键说明

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