-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathtour.php
78 lines (60 loc) · 2.13 KB
/
tour.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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
<?
//$useragent = $_SERVER['HTTP_USER_AGENT'];
include("_inc/db_connect.php");
$page = "tour";
// calTime >= '$nowTime'
$tourID = $_GET['tourID'];
$old = $_GET['type'];
//$groupTitle = $_GET['groupTitle'];
include "_inc/content/stop_list.php";
$pageTitle = strip_tags($tourTitle);
?>
<!DOCTYPE html>
<html>
<head>
<?
$pageCSS='
';
$pageJS = '
';
include("_inc/common-header.php");
?>
</head>
<body ontouchstart="">
<div class="loading"></div>
<div id="tour">
<? include "_inc/header.php"; ?>
<? if($tourImage) echo $tourImage ?>
<div class="tourTitle"><?=$tourTitleOut ?></div>
<?
// Include Stop number entry form. If the tour is archived do not show
if($old != "a"){
include "_inc/stopSearch.php";
}
?>
<? if ($stopTypeMenu){
$category = "All Stops";
?>
<div id="selector" >
<ul>
<li class="selected"><a href="#" onclick="_gaq.push(['_trackEvent', 'Stop Type Menu', 'All']);" id="all" data-icon="bullets" data-iconpos="notext" class="ui-icon-myicon-all"></a></li>
<li><a href="#" onclick="_gaq.push(['_trackEvent', 'Stop Type Menu', 'Audio']);" id="audio" data-icon="audio" class="ui-icon-myicon-audio" data-iconpos="notext"></a></li>
<li><a href="#" onclick="_gaq.push(['_trackEvent', 'Stop Type Menu', 'Music']);" id="music" data-icon="star" class="ui-icon-myicon-music" data-iconpos="notext"></a></li>
<li><a href="#" onclick="_gaq.push(['_trackEvent', 'Stop Type Menu', 'Film']);" id="film" data-icon="video" class="ui-icon-myicon-film" data-iconpos="notext"></a></li>
<li><a href="#" onclick="_gaq.push(['_trackEvent', 'Stop Type Menu', 'Image']);" id="image" data-icon="camera" class="ui-icon-myicon-image" data-iconpos="notext"></a></li>
</ul>
</div><!-- /navbar -->
<h2 id="category"><?=$category ?></h2>
<? } ?>
<nav >
<ul class="stop-list" >
<?=$stopList; ?>
</ul>
</nav>
</div>
<? include('_inc/footer.php'); ?>
<? if ($stopTypeMenu){ ?>
<script src='_js/stop-type-menu.js'></script>
<? } ?>
</body>
</html>