-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex-oldmain.php
More file actions
148 lines (119 loc) · 6.96 KB
/
Copy pathindex-oldmain.php
File metadata and controls
148 lines (119 loc) · 6.96 KB
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
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<title>SFTRU - San Francisco Transit Riders</title>
<?php
echo file_get_contents("http://" . $_SERVER['HTTP_HOST'] . "/header.php?ipad=" . (bool) strpos($_SERVER['HTTP_USER_AGENT'],'iPad'));
?>
<meta name="google-site-verification" content="AKdSILM5XTCzv2u-5zCZS6moH-Gw4Ca_ZplAqmZVfC0" />
<script src="jquery.min.js" type="text/javascript"></script>
<script src="date.js" type="text/javascript"></script>
<script src="GCalEvents.js" type="text/javascript"></script>
<script src="index.js" type="text/javascript"></script>
</head>
<body style="margin: 0;">
<div id="bgphoto" style="background-image:url('img/blurPhoto1.png');"></div>
<div id="bgphoto2" style="background-image:url('img/blurPhoto2.png');"></div>
<div id="bgphotoOverlay"></div>
<div id="logowrap">
<div id="logo_s"></div>
<div id="logo"></div>
</div>
<div id="photo_overlay">
<h1>Make Muni Awesome</h1>
<div class="overlay_sub">SF Transit Riders is a rider-based grassroots advocate for world-class transit in San Francisco</div>
</div>
<!-- Nav -->
<?php
echo file_get_contents("http://" . $_SERVER['HTTP_HOST'] . "/nav.php?class=&page=");
?>
<div id="content_wrapper" style="background-color:#f4f5f0;z-index:999;">
<div class="content_item" style="background-image: url('img/sf_gray.png');" id="mapbg">
<div id="story1" class="storyBox" onMouseOut="leaveStory();" onMouseOver="hoverStory(1);" style="left: 30px; top: 40px;">
<h1>Geary Bus Rapid Transit (BRT)</h1>
<p>Advocating for true high-speed transit on Geary</p>
<a href="work/#geary">LEARN MORE »</a>
</div>
<div id="story2" class="storyBox" onMouseOut="leaveStory();" onMouseOver="hoverStory(2);" style="left: 300px; top: 240px;">
<h1>Van Ness Bus Rapid Transit (BRT)</h1>
<p>Advocating for rapid transit on Van Ness</p>
<a href="work/#vanness">LEARN MORE »</a>
</div>
<div id="story3" class="storyBox" onMouseOut="leaveStory();" onMouseOver="hoverStory(3);" style="left: 150px; top: 420px;">
<h1>All-Door Boarding</h1>
<p>Faster boarding, thanks to SF Transit Riders</p>
<a href="work/#alldoor">LEARN MORE »</a>
</div>
</div>
<!-- https://www.googleapis.com/calendar/v3/calendars/n8ir7ib1r7f6st2pi82c72ugp8%40group.calendar.google.com/events?key=AIzaSyCM1uVx8co2ScVW7LbMMh_ZswUa_aMrs7k&timeMin=2015-01-17T02:08:00-06:00&orderBy=startTime&singleEvents=true -->
<div id="content_wrapper_sub" style="background-color:#fff;">
<div class="content_item" style="padding-top:50px;padding-bottom:50px;">
<h1>Get Involved</h1>
<br><br>
<div class="col" style="margin-right: 120px;">
<h2>Join our Transit Action Committee</h2>
<p>Do you have an idea to make Muni better? Want to get involved with a campaign? Attend the monthly Transit Action Committee meeting! At these informal meetings, we plan our campaigns and forums and discuss ideas for improving Muni. Everyone is welcome, even if you're not a member.</p>
<p><a href="" id="nextTAC">Upcoming TAC Meetings »</a></p>
</div>
<div class="col" style="margin: 0;">
<h2>Attend a Forum or Event</h2>
<p>Want to learn more about SFTRU? Or perhaps you're fascinated by transit in San Francisco, whether the history or the future. Or maybe you'd enjoy having discussions with other similar transit riders about Muni? Check out one of our periodic forums and events.</p>
<p><a href="#upcomingEvents">Upcoming Forums and Events »</a></p>
</div>
<div id="manyways"><h3>There are many ways to get involved.<a name="upcomingEvents"> </a><a href="/involved/">Learn More</a> about opportunities with SFTRU.</h3></div>
</div>
</div>
<div id="content_wrapper_sub" style="background-color:#f2f2f2;">
<div class="content_item" style="padding-top:50px;padding-bottom:50px;">
<h1 style="margin-bottom:50px;">Upcoming Events</h1>
<div id="gcal-events"><h3><i>No Upcoming Events</i></h3></div>
<div id="fullcal"><h3><a href="https://www.google.com/calendar/embed?src=n8ir7ib1r7f6st2pi82c72ugp8%40group.calendar.google.com&ctz=America/Los_Angeles&mode=AGENDA">See Full Events Calendar »</a></h3>
</div>
</div>
</div>
<div id="content_wrapper_sub" style="background-color:#2c353c;background-image:url('img/honeycomb_bg.png');background-repeat: repeat-x repeat-y;">
<div class="content_item" style="padding-top:50px;padding-bottom:50px;">
<div class="centerquote">
<p>Building on our past <a href="">accomplishments and victories</a>, we have an <a href="">aggressive action plan</a> for 2015.</p>
<p>We hope to have your knowledge, time, and<br>experience to help implement it.</p>
<p><a href="/work/" class="orange">LEARN MORE »</a></p>
</div>
</div>
</div>
<div id="content_wrapper_sub" style="background-color:#f2f2f2;">
<div class="content_item" style="padding-top:50px;padding-bottom:50px;">
<h1 style="margin-bottom:50px;">News</h1>
<div id="twitterfeed">
<div class='tweet'><div class='tweetimg'></div><div class='tweetxt'></div></div>
<div class='tweet'><div class='tweetimg'></div><div class='tweetxt'></div></div>
<div class='tweet'><div class='tweetimg'></div><div class='tweetxt'></div></div>
<div class='tweet'><div class='tweetimg'></div><div class='tweetxt'></div></div>
<div class='tweet'><div class='tweetimg'></div><div class='tweetxt'></div></div>
<div class='tweet'><div class='tweetimg'></div><div class='tweetxt'></div></div>
<div class='tweet'><div class='tweetimg'></div><div class='tweetxt'></div></div>
<div class='tweet'><div class='tweetimg'></div><div class='tweetxt'></div></div>
<div class='tweet'><div class='tweetimg'></div><div class='tweetxt'></div></div>
<div class='tweet'><div class='tweetimg'></div><div class='tweetxt'></div></div>
</div>
<script src="twitter.js" type="text/javascript"></script>
</div>
</div>
<!-- Footer -->
<?php
echo file_get_contents("http://" . $_SERVER['HTTP_HOST'] . "/footer.php?dir=1");
?>
</div>
</body>
<script type="text/javascript">
window.onscroll = blurPhoto;
var currentdate = new Date();
var enddate = new Date();
// enddate.setHours(enddate.getHours()+1488); // 2 Months
enddate.setHours(enddate.getHours()+2976); // 4 Months
var dateString = currentdate.toISOString(); //("h:mm tt : dddd MMMM d");
var endDateString = enddate.toISOString(); //("h:mm tt : dddd MMMM d");
var calendar_json_url = "https://www.googleapis.com/calendar/v3/calendars/n8ir7ib1r7f6st2pi82c72ugp8%40group.calendar.google.com/events?key=AIzaSyCM1uVx8co2ScVW7LbMMh_ZswUa_aMrs7k&timeMin="+dateString+"&orderBy=startTime&singleEvents=true&maxResults=5&timeMax="+endDateString
$(document).ready(GCalEvents(calendar_json_url));
</script>
</script>
</html>