-
Notifications
You must be signed in to change notification settings - Fork 0
/
route-66.php
230 lines (181 loc) · 8.3 KB
/
route-66.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
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
<?php
/*
Template Name: route-66
*/
?>
<?php get_header(); ?>
<div id="page-overlay">
<div id="route-header">
<div class="route-circle-icon" style="background:#c27c92; border-radius: 50%; text-align: center; font-size: 2em; vertical-align: middle; padding-top: 8px; height: 43px;line-height: 100%; color: white; font-weight: normal;">
66
</div>
<div id="route-title">
ROUTE 66
</div>
<?php do_action('route_select'); ?>
</div><!-- #route-header -->
<div id="route-breadcrumb" class="breadcrumb">
<?php ////if(function_exists(simple_breadcrumb)) {simple_breadcrumb();} ?>
</div><!-- end #route-breadcrumb -->
<?php do_action('mendo_route_alert', '66'); ?>
<div id="route-two-col-wrap">
<div id="route-col-left">
<div id="route-desc">
<?php wp_reset_postdata();
the_field('route-desc'); ?>
</div> <!-- end #route-desc -->
<div id="route-schedule-box" class="route-box">
<div id="route-schedule-box-title" class="route-title-box">
<div id="route-schedule-box-title-text" class="route-title-box-text">
Schedule
</div> <!-- end #route-schedule-box-title-text -->
<div id="route-schedule-popup-info-text">
(Click to pop-up a schedule for each route)
</div> <!-- end#route-schedule-popup-info-text -->
<br style="clear: both;" />
</div> <!-- end #route-schedule-box-title -->
<div id="route-days-of-week">
Monday thru Saturday
</div> <!-- end #days-of-week -->
<div id="schedule-buttons">
<a href="<?php echo get_site_url(); ?>/routes/route-66/northbound/" >
<div id="schedule-northbound-66" class="route-popup-button route-button-left route-button-first route-button-odd">
<div class="popup-button-title">
Northbound
</div> <!-- end #popup-button-title -->
<div class="popup-button-desc" >
Santa Rosa -> Willits
</div> <!-- end popup-button-desc -->
</div> <!-- end #schedule-northbound-65 -->
</a>
<a href="<?php echo get_site_url(); ?>/routes/route-66/southbound/" >
<div id="schedule-southbound-66" class="route-popup-button route-button-right route-button-last route-button-even"">
<div class="popup-button-title">
Southbound
</div> <!-- end #popup-button-title -->
<div class="popup-button-desc">
Willits -> Santa Rosa
</div> <!-- end popup-button-desc -->
</div> <!-- end #schedule-southbound-65-->
</a>
<br style="clear: both;" />
</div> <!-- end #schedule-buttons -->
<div id="fare-table-link">
<a href="/fares/#66">See fare table for this route</a> >>
</div> <!-- end #fare-table-link -->
</div> <!-- end #route-schedule-box -->
<div id="route-connections-box" class="route-box">
<div id="route-connections-box-title" class="route-title-box">
<div id="route-connections-box-title-text" class="route-title-box-text">
Connections in Santa Rosa
</div> <!-- end #route-connections-box-title-text -->
<br style="clear: both;" />
</div> <!-- end #route-connections-box-title -->
<div id="route-connections-container">
<div class="route-connection">
<?php
if ( have_rows('connections') ):
while ( have_rows('connections') ):
the_row();
?>
<div class="route-connection-title">
<?php the_sub_field('connection_title'); ?>
</div> <!-- end .route-connection-title -->
<div class="route-connection-desc">
<?php the_sub_field('connection_description'); ?>
</div> <!-- end .route-connection-desc -->
<?php endwhile; endif; ?>
</div><!-- end .route-conneciton -->
</div> <!-- end #route-connections-container -->
</div> <!-- end #route-connections-box -->
<div id="route-connections-box" class="route-box">
<div id="route-connections-box-title" class="route-title-box">
<div id="route-connections-box-title-text" class="route-title-box-text">
Timetable
</div> <!-- end #route-connections-box-title-text -->
<br style="clear: both;" />
</div> <!-- end #route-connections-box-title -->
<div class="route-inner-box">
<div id="route-pdf-icon"></div><div id="route-pdf-link"><a href="http://mendocino.staging.wpengine.com/wp-content/uploads/2015/06/Route-66-timetable.pdf">Route 66 timetable PDF</a></div> <!-- end #route-pdf-link -->
<br style="clear: both;" />
</div> <!-- end #route-inner-box" -->
</div> <!-- end #route-connections-box -->
</div> <!-- #end route col left -->
<div id="route-col-right">
<div id="route-connections-box-title" class="route-title-box">
<div id="route-connections-box-title-text" class="route-title-box-text">
Detail and Overview maps
</div> <!-- end #route-connections-box-title-text -->
<br style="clear: both;" />
</div> <!-- end #route-connections-box-title -->
<div id="route-map-image-col-wrap">
<div id="route-map-col-left">
<div class="route-detail-map-image-wrap">
<div class="map-detail-title-bar">
<div class="map-detail-title-text">
Ukiah Detail
</div> <!-- end map-detail-title-text -->
<div class="map-detail-zoom-icon">
</div><!-- end .map-detail-zoom-icon -->
<br style="clear: both;" />
</div><!-- end map-detail-title-bar -->
<a href="/wp-content/images/detail_maps/ukiah-detail-11-big.jpg" data-lightbox="image-1"><img src="/wp-content/images/detail_maps/ukiah-detail-11-sml.jpg" /></a>
</div> <!-- end .route-detail-map-image-wrap -->
<div class="route-detail-map-image-wrap">
<div class="map-detail-title-bar">
<div class="map-detail-title-text">
Ukiah Detail
</div> <!-- end map-detail-title-text -->
<div class="map-detail-zoom-icon">
</div><!-- end .map-detail-zoom-icon -->
<br style="clear: both;" />
</div><!-- end map-detail-title-bar -->
<a href="/wp-content/images/detail_maps/Ukiah_Inset_Detail-big.jpg" data-lightbox="image-1"><img src="/wp-content/images/detail_maps/Ukiah_Inset_Detail_sml.jpg" /></a>
</div> <!-- end .route-detail-map-image-wrap -->
</div> <!-- end #map-col-left -->
<div id="route-map-col-right">
<div class="route-detail-map-image-wrap">
<div class="map-detail-title-bar">
<div class="map-detail-title-text">
Willits Detail
</div> <!-- end map-detail-title-text -->
<div class="map-detail-zoom-icon">
</div><!-- end .map-detail-zoom-icon -->
<br style="clear: both;" />
</div><!-- end map-detail-title-bar -->
<a href="/wp-content/images/detail_maps/Willits-Detail-big.jpg" data-lightbox="image-1"><img src="/wp-content/images/detail_maps/Willits-Detail-sml.jpg" /></a>
</div> <!-- end .route-detail-map-image-wrap -->
<div class="route-detail-map-image-wrap">
<div class="map-detail-title-bar">
<div class="map-detail-title-text">
Calpella Detail
</div> <!-- end map-detail-title-text -->
<div class="map-detail-zoom-icon">
</div><!-- end .map-detail-zoom-icon -->
<br style="clear: both;" />
</div><!-- end map-detail-title-bar -->
<a href="/wp-content/images/detail_maps/Calpella-Detail-big.jpg" data-lightbox="image-1"><img src="/wp-content/images/detail_maps/Calpella-Detail-sml.jpg" /></a>
</div> <!-- end .route-detail-map-image-wrap -->
<div class="route-detail-map-image-wrap">
<div class="map-detail-title-bar">
<div class="map-detail-title-text">
Santa Rosa Detail
</div> <!-- end map-detail-title-text -->
<div class="map-detail-zoom-icon">
</div><!-- end .map-detail-zoom-icon -->
<br style="clear: both;" />
</div><!-- end map-detail-title-bar -->
<a href="/wp-content/images/detail_maps/Santa_Rosa_Detail-big.jpg" data-lightbox="image-1"><img src="/wp-content/images/detail_maps/Santa_Rosa_Detail-sml.jpg" /></a>
</div> <!-- end .route-detail-map-image-wrap -->
</div> <!-- end #map-col-right -->
</div> <!-- end #route-map-image-col-wrap -->
<br style="clear: both;" />
</div> <!-- end #route-col-right -->
<br style="clear: both;" />
</div> <!-- end #route-two-col-wrap -->
<?php the_post(); ?>
<div id="post-<?php the_ID(); ?>" <?php post_class(); ?>
<h1 class="entry-title"><?php //the_title(); ?></h1>
</div> <!-- post -->
</div> <!-- page-overlay -->
<?php get_footer(); ?>