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

📄 index.php

📁 通达OA2007SE源代码 非常好的
💻 PHP
字号:
<?
  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 CheckForm1()
{
   if(document.form1.START.value=="" || document.form1.END.value=="")
   { alert("模糊查询中起始站与终到站均不能为空!可以输入不完整名称");
     return (false);
   }
   return (true);
}
function CheckForm2()
{
   if(document.form2.TRAIN.value=="")
   { alert("精确查询中车次不能为空!");
     return (false);
   }
   return (true)';
  echo ';
}
</script>
</head>
<body class="bodycolor" topmargin="5" onload="document.form1.START.focus();">
<table border="0" width="100%" cellspacing="0" cellpadding="3" class="small">
  <tr>
    <td class="Big"><img src="/images/menu/infofind.gif" WIDTH="22" HEIGHT="20" align="absmiddle">';
  echo '<s';
  echo 'pan class="big3"> 列车时刻模糊查询</span><br>
    </td>
  </tr>
</table>
<div align="center">
';
  echo '<s';
  echo 'pan class="big3">
 <form action="search.php"  name="form1" onsubmit="return CheckForm1();">
    	起始站:<input type="text" name="START" size="10" maxlength="50" class="BigInput" value="';
  echo $START_NAME;
  echo '" title="起始站与终到站可以输入不完整名称">&nbsp;&nbsp;
        终到站:<input type="text" name="END" size="10" maxlength="50" class="BigInput" value="';
  echo $END_NAME;
  echo '" title="起始站与终到站可以输入不完整名称">
      	<input type="submit" value="查询" class="BigButton" name="button" title="开始查询">
 </form>
 </span>
</div>
<br>
<table width="95%" border="0" cellspacing="0" cellpadding="0" height="3">
 <tr>
   <td background="/images/dian1.gif" width="100%"></td>
 </tr>
</table>
<table border="0" width="100%" cellspacing="0" cellpadding="3" class="small">
';
  echo '  <tr>
    <td class="Big"><img src="/images/menu/infofind.gif" WIDTH="22" HEIGHT="20" align="absmiddle">';
  echo '<s';
  echo 'pan class="big3"> 列车时刻精确查询</span><br>
    </td>
  </tr>
</table>
<div align="center">
';
  echo '<s';
  echo 'pan class="big3">
 <form action="search.php" name="form2" onsubmit="return CheckForm2();">
	车次:<input type="text" name="TRAIN" size="10" maxlength="50" class="Biginput" value="';
  echo $TRAIN;
  echo '">
        <input type="submit" value="查询" class="BigButton" name="button">
 </form>
 </span>
</div>
<br>
';
  message ('', '数据仅供参考');
  echo '</body>
</html>
';
?>

⌨️ 快捷键说明

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