-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathindex.php
32 lines (31 loc) · 6.42 KB
/
index.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
<?php
session_start();
$roadline = $_GET['roadline'];
$roadline= strtr("$roadline","%","\\");
$rzw = '{"zw":'.'"'.$roadline.'"'."}";
$rzw = json_decode($rzw);
$roadline = $rzw -> zw ;
//!$_SESSION['name0']== 'user' and
if (!empty($_SESSION['busp'][1]))
{
$x = count($_SESSION['busp']) +1;
$_SESSION['busp'][$x] = $roadline;
}
else $_SESSION['busp'][1] = $roadline;
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="pragma" content="no-cache" />
<meta http-equiv="content-type" content="no-cache, must-revalidate" />
<meta http-equiv="expires" content="Wed, 26 Feb 1997 08:21:57 GMT" />
<meta name="viewport" content="width=device-width, minimum-scale=0.2, maximum-scale=2.0, user-scalable=yes" />
<meta http-equiv="Cache-control" content="no-cache">
<meta http-equiv="Cache" content="no-cache">
<title>模拟图</title>
<style type="text/css">
body{margin:0;padding:0;font-size:10px}.point1{background:url(Images/point1.png) no-repeat;width:15px;height:15px;z-index:1000;float:left;position:absolute;left:-4px}.point2{background:url(Images/point2.png) no-repeat;width:15px;height:15px;right:-18px;z-index:1000;position:absolute}.st{background:url(Images/st.png) no-repeat;width:12px;height:13px;margin-left:-4px;z-index:1}.line{background:url(Images/line.png) no-repeat;width:4px;z-index:1}.upInSt{background:url(Images/down.gif);width:15px;height:15px;z-index:1000;float:left;position:absolute;left:-4px}.downInSt{background:url(Images/up.gif);width:15px;height:15px;right:-18px;z-index:1000;position:absolute;top:-1px}.dnone{display:none}.dblock{display:inherit}.leftst{margin-left:20px;width:70px;z-index:1000;position:relative}.rightst{margin-left:-70px;width:65px;text-align:right;z-index:1000;position:relative}#loading{position:fixed;_position:absolute;top:50%;left:50%;width:124px;height:124px;overflow:hidden;background:url(Images/loaderc.gif) no-repeat;z-index:7;margin:-62px 0 0 0}.redcolor{color:blue;font-family:"HydraText";font-size:11.5px;animation:changeshadow 1s ease-in infinite;-webkit-animation:changeshadow 2.5s linear infinite;-moz-animation:changeshadow 2.5s linear infinite;-ms-animation:changeshadow 2.5s linear infinite;-o-animation:changeshadow 2.5s linear infinite}@keyframes changeshadow{0%{text-shadow:0 0 4px #1963ff}50%{text-shadow:0 0 40px #1963ff}100%{text-shadow:0 0 4px #1963ff}}@-webkit-keyframes changeshadow{0%{text-shadow:0 0 4px #1963ff}50%{text-shadow:0 0 40px #1963ff}100%{text-shadow:0 0 4px #1963ff}}@-moz-keyframes changeshadow{0%{text-shadow:0 0 4px #1963ff}50%{text-shadow:0 0 40px #1963ff}100%{text-shadow:0 0 4px #1963ff}}@-ms-keyframes changeshadow{0%{text-shadow:0 0 4px #1963ff}50%{text-shadow:0 0 40px #1963ff}100%{text-shadow:0 0 4px #1963ff}}@-o-keyframes changeshadow{0%{text-shadow:0 0 4px #1963ff}50%{text-shadow:0 0 40px #1963ff}100%{text-shadow:0 0 4px #1963ff}}.leftdi{position:absolute;top:12px;left:22px}.rightdi{position:absolute;top:12px;right:5px}@font-face{font-family:HydraText;src:url('css/HydraText.otf')}.facheping{font-family:"HydraText";font-size:11.5px;color:blue}
</style>
<script type="text/javascript" src="Scripts/jquery-1.4.1.min.js"></script>
<script type="text/javascript" src="Scripts/SetMuX.js"></script>
</head><body ><div id="loading"></div><div id="RefreshM" style="display:none">模拟图加载不成功请点击<a href="javascript:window.top.location.reload()">刷新</a></div><div id="divNull" style="display:none">该线路模拟图暂未开通<a href="javascript:history.go(-1);">返回</a></div><div id="showModule" style=" width: 360px; margin:0px auto "><div style=" margin:10px; width:100%; text-align:center; font-weight:bold;"></div><div id="lastup" style="width: 300px; height: 20px; margin: auto; text-align: center; margin-top: 10px; z-index:1000; position:relative"><p style="color:red">模拟图魔改项目组出品</p></div><br /><div style=" width:110px; ">线路:<span id="RoadLine" style=" color: Blue; font-weight: 900; font-size:16px"></span><br />计划配车:<span id="busCount"></span><br />当前营运车辆:<span id="lineCount"></span></div><div style=" width:98px; float:right; position:relative; left:5px; top: -40px;"> 计划发车间隔:<span id="plan1"></span><br />预计发车间隔:<span id="dplan1"></span><br />本班车:<span id="vnup1" class="facheping"></span><br /> 时间:  <span id="timeup1" class="facheping"></span></div><div style="width: 145px; margin: auto;"><div style="text-align: center; margin-top: -30px; height: 30px;" id="upst"></div><div style="background: url(Images/b1.png) no-repeat 2px; height: 65px; position: relative"><div style="width: 28px; height: 28px; background: url(Images/zs.png) no-repeat 2px; position: absolute; left:60px; top: -6px"></div></div><div id="stationall" style="width: 100%; height: 890px; z-index: 1; position:relative; top: 0px; left: 0px;"><div id="up" style="width: 4px; height: 100%; background-color: #00a52d; float: left; margin-left: 2px; z-index: 1; position:absolute"></div><div id="park" style="z-index: 1000; position: absolute; width:130px; top: -1px; left: 0px;"></div><div id="down" style="width: 4px; height: 100%; right: 2px;top:-1px; background-color: #00a52d;position:absolute"></div><div id="downpark" style="z-index: 1000; position:relative; display:none " ></div></div><div style="background: url(Images/b2.png) no-repeat 2px; height: 65px; width: 100%; position: relative"><div style="width: 28px; height: 28px; background: url(Images/zs.png) no-repeat 2px; position: absolute; top: 40px; left:57px"></div></div><div style="text-align: center; margin-top: 13px;" id="downst"></div></div><div style=" width:98px; float:right; margin-top:-54px;position:relative; left:5px; "> 计划发车间隔:<span id="plan2"></span><br />预计发车间隔:<span id="dplan2"></span><br />本班车:<span id="vndown1" class="facheping"></span><br /> 时间:  <span id="timedown1" class="facheping"></span></div></div><div id="lastdown" style="width: 300px; height: 20px; margin: auto; text-align: center; margin-top: 10px;z-index:1000; position:relative"></div><div style=" width:100%; height:60px"></div></div></body></html>