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

📄 not_using.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">
</head>
<body class="bodycolor" topmargin="5">
<table border="0" width="100%" cellspacing="0" cellpadding="3" class="small">
  <tr>
    <td class="Big"><img src="/images/menu/vehicle.gif" HEIGHT="20">';
  echo '<s';
  echo 'pan class="big3"> 未使用车辆</span>
    </td>
  </tr>
</table>
';
  $query = 'SELECT * from VEHICLE where USEING_FLAG=\'0\'';
  $cursor = exequery ($connection, $query);
  $V_COUNT = 0;
  while ($ROW = mysql_fetch_array ($cursor))
  {
    ++$V_COUNT;
    $V_ID = $ROW['V_ID'];
    $V_MODEL = $ROW['V_MODEL'];
    $V_NUM = $ROW['V_NUM'];
    $V_DRIVER = $ROW['V_DRIVER'];
    $V_TYPE = $ROW['V_TYPE'];
    $V_TYPE_DESC = get_code_name ($V_TYPE, 'VEHICLE_TYPE');
    if (($V_COUNT == 1))
    {
      echo '<table border="0" cellspacing="1" width="95%" class="small" bgcolor="#000000" cellpadding="3">
  <tr class="TableHeader">
      <td nowrap align="center">厂牌型号</td>
      <td nowrap align="center">车牌号</td>
      <td nowrap align="center">司机</td>
      <td nowrap align="center">类型</td>
      <td nowrap align="center">操作</td>
    </tr>
';
    }
    echo '    <tr class="TableData">
      <td nowrap align="center">';
    echo $V_MODEL;
    echo '</td>
      <td nowrap align="center">';
    echo $V_NUM;
    echo '</td>
      <td nowrap align="center">';
    echo $V_DRIVER;
    echo '</td>
      <td nowrap align="center">';
    echo $V_TYPE_DESC;
    echo '</td>
      <td nowrap align="center" width="25%">
      <a href="javascript:;" onClick="window.open(\'../vehicle_detail.php?V_ID=';
    echo $V_ID;
    echo '\',\'\',\'height=360,width=500,status=1,toolbar=no,menubar=no,location=no,scrollbars=yes,left=250,left=280,top=160,resizable=yes\');">详细信息</a>&nbsp;
      <a href="javascript:;" onClick="window.open(\'../order_detail.php?V_ID=';
    echo $V_ID;
    echo '\',\'\',\'height=400,width=700,status=1,toolbar=no,menubar=no,location=no,scrollbars=yes,left=250,top=170,resizable=yes\');">预定情况</a>&nbsp;
      </td>
    </tr>
';
  }
  if ((0 < $V_COUNT))
  {
    echo '  </table>
';
  }
  else
  {
    message ('', '无未使用的车辆');
  }
  echo '
</body>
</html>
';
?>

⌨️ 快捷键说明

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