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

📄 index.php

📁 通达网络办公 - Office Anywhere 2008 增强版100%源码(3.4.081216) 内含 通达OA2008增強版接近完美破解补丁20081216集 及 最新通达OA2008ADV(
💻 PHP
字号:
<?php

include_once( "inc/auth.php" );
echo "\r\n<html>\r\n<head>\r\n<title></title>\r\n<meta http-equiv=\"Content-Type\" content=\"text/html; charset=gb2312\">\r\n<script Language=\"JavaScript\">\r\nfunction Check1()\r\n{\r\n   if(document.form1.START.value==\"\" || document.form1.END.value==\"\")\r\n   {\r\n   \t alert(\"起始站与终到站均不能为空!可以输入不完整名称\");\r\n     return (false);\r\n   }\r\n   else\r\n     document.form1.submit();\r\n}\r\n\r\nfunction New()\r\n{\r\n\t url=\"new.php?CITY=\"+document.form1.CITY.value;\r\n   location=url;\r\n}\r\n\r\nfunction Check2()\r\n{\r\n   if(document.form1.LINEID.value==\"\")\r\n   {\r\n   \t alert(\"线路查询中公交线路不能为空!\");\r\n     return (false);\r\n   }\r\n   else\r\n     document.form1.submit();\r\n}\r\n</script>\r\n</head>\r\n\r\n<body class=\"bodycolor\" topmargin=\"5\" onload=\"document.form1.START.focus();\">\r\n\r\n<form action=\"search.php\"  name=\"form1\">\r\n<table border=\"0\" width=\"100%\" cellspacing=\"0\" cellpadding=\"3\" class=\"small\">\r\n  <tr>\r\n    <td class=\"Big\"><img src=\"/images/menu/infofind.gif\" align=\"absmiddle\"><span class=\"big3\"> 选择城市 </span><br>\r\n    </td>\r\n  </tr>\r\n</table>\r\n\r\n<div align=\"center\">\r\n  <select name=\"CITY\" class=\"BigSelect\">\r\n  \t<option value=\"BS\" ";
if ( $BUS_CITY == "BS" )
{
	echo "selected";
}
echo ">本市 </option>\r\n    <option value=\"BJ\" ";
if ( $BUS_CITY == "BJ" )
{
	echo "selected";
}
echo ">北京 </option>\r\n    <option value=\"CD\" ";
if ( $BUS_CITY == "CD" )
{
	echo "selected";
}
echo ">成都 </option>\r\n    <option value=\"CQ\" ";
if ( $BUS_CITY == "CQ" )
{
	echo "selected";
}
echo ">重庆 </option>\r\n    <option value=\"GZ\" ";
if ( $BUS_CITY == "GZ" )
{
	echo "selected";
}
echo ">广州 </option>\r\n    <option value=\"HZ\" ";
if ( $BUS_CITY == "HZ" )
{
	echo "selected";
}
echo ">杭州 </option>\r\n    <option value=\"KM\" ";
if ( $BUS_CITY == "KM" )
{
	echo "selected";
}
echo ">昆明 </option>\r\n    <option value=\"NJ\" ";
if ( $BUS_CITY == "NJ" )
{
	echo "selected";
}
echo ">南京 </option>\r\n    <option value=\"QD\" ";
if ( $BUS_CITY == "QD" )
{
	echo "selected";
}
echo ">青岛 </option>\r\n    <option value=\"SH\" ";
if ( $BUS_CITY == "SH" )
{
	echo "selected";
}
echo ">上海 </option>\r\n    <option value=\"SZ\" ";
if ( $BUS_CITY == "SZ" )
{
	echo "selected";
}
echo ">深圳 </option>\r\n    <option value=\"TJ\" ";
if ( $BUS_CITY == "TJ" )
{
	echo "selected";
}
echo ">天津 </option>\r\n    <option value=\"WH\" ";
if ( $BUS_CITY == "WH" )
{
	echo "selected";
}
echo ">武汉 </option>\r\n    <option value=\"XA\" ";
if ( $BUS_CITY == "XA" )
{
	echo "selected";
}
echo ">西安 </option>\r\n  </select>\r\n";
if ( $LOGIN_USER_PRIV == 1 )
{
	echo "  &nbsp;&nbsp;<input type=\"button\" value=\"新建线路\" class=\"BigButton\" title=\"新建公交线路\" onclick=\"New()\">\r\n";
}
echo "</div>\r\n\r\n<br>\r\n<table width=\"95%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\" height=\"3\">\r\n <tr>\r\n   <td background=\"/images/dian1.gif\" width=\"100%\"></td>\r\n </tr>\r\n</table>\r\n\r\n<table border=\"0\" width=\"100%\" cellspacing=\"0\" cellpadding=\"3\" class=\"small\">\r\n  <tr>\r\n    <td class=\"Big\"><img src=\"/images/menu/infofind.gif\" align=\"absmiddle\"><span class=\"big3\"> 按车站查询 </span><br>\r\n    </td>\r\n  </tr>\r\n</table>\r\n\r\n<div align=\"center\">\r\n<span class=\"big3\">\r\n  起始站:<input type=\"text\" name=\"START\" size=\"10\" maxlength=\"50\" class=\"BigInput\" value=\"";
echo $START_NAME;
echo "\" title=\"起始站与终到站可以输入不完整名称\">&nbsp;&nbsp;\r\n    终到站:<input type=\"text\" name=\"END\" size=\"10\" maxlength=\"50\" class=\"BigInput\" value=\"";
echo $END_NAME;
echo "\" title=\"起始站与终到站可以输入不完整名称\">\r\n  \t<input type=\"button\" value=\"查询\" class=\"BigButton\" title=\"开始查询\" onclick=\"Check1()\">\r\n</span>\r\n</div>\r\n\r\n<br>\r\n<table width=\"95%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\" height=\"3\">\r\n <tr>\r\n   <td background=\"/images/dian1.gif\" width=\"100%\"></td>\r\n </tr>\r\n</table>\r\n\r\n<table border=\"0\" width=\"100%\" cellspacing=\"0\" cellpadding=\"3\" class=\"small\">\r\n  <tr>\r\n    <td class=\"Big\"><img src=\"/images/menu/infofind.gif\" align=\"absmiddle\"><span class=\"big3\"> 按线路查询 </span><br>\r\n    </td>\r\n  </tr>\r\n</table>\r\n\r\n<div align=\"center\">\r\n<span class=\"big3\">\r\n  公交线路:<input type=\"text\" name=\"LINEID\" size=\"10\" maxlength=\"50\" class=\"Biginput\" value=\"";
echo $LINEID;
echo "\" title=\"输入公交线路(阿拉伯数字)\">\r\n    <input type=\"button\" value=\"查询\" class=\"BigButton\" title=\"开始查询\" onclick=\"Check2()\">\r\n</span>\r\n</div>\r\n</form>\r\n\r\n<br>\r\n";
message( "", "数据仅供参考" );
echo "</body>\r\n</html>\r\n";
?>

⌨️ 快捷键说明

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