forked from codeforamerica/cfawp2012
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index-backup.php
executable file
·220 lines (180 loc) · 11 KB
/
index-backup.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
<?php
/**
* The main template file.
*
* This is the most generic template file in a WordPress theme
* and one of the two required files for a theme (the other being style.css).
* It is used to display a page when nothing more specific matches a query.
* E.g., it puts together the home page when no home.php file exists.
* Learn more: http://codex.wordpress.org/Template_Hierarchy
*
* @package WordPress
* @subpackage CfA New Template
* @since Cfa 2.0
*/
get_header(); ?>
<div class="wrap-b">
<!--Video Gallery -->
<div class="wrap clearfix" id="video-gallery">
<ul id="slide-nav" class="thumbs">
<div style="width: 181px; float: left;">
<li><a href="#slide-1"><img src="<?php bloginfo("template_url"); ?>/images/headers/apply-thumb.png" alt="" /><strong><span>Cities: Apply Now!</span></strong></a></li>
<li><a href="#slide-2"><img src="http://codeforamerica.org/wp-content/uploads/2011/07/bythenumbers-small.png" alt="" /><strong><span>CfA Culture</span></strong></a></li>
<li><a href="#slide-3"><img src="<?php bloginfo("template_url"); ?>/images/headers/report-thumb.png" alt="" /><strong><span>Annual Report</span></strong></a></li>
</div>
<div style="float: left;">
<div id="slide-1" class="player">
<a href="/cities/apply" class="post-image">
<img width="550" height="330" src="<?php bloginfo('template_directory'); ?>/images/headers/apply.png" class="attachment-rotator-post-image wp-post-image" alt="bridge-2" title="bridge-2" />
<span class="title"><strong>Now Recruiting: CfA 2013 Cities</strong><br />Deadline Approaching: Apply Now to Bring CfA to Your City in 2013</span> </a>
</div>
<div id="slide-2" class="player">
<iframe src="http://player.vimeo.com/video/30575113?title=0&byline=0&portrait=0" width="550" height="330" frameborder="0"></iframe>
</div>
<div id="slide-3" class="player">
<a href="/2011report" class="post-image">
<img width="550" height="330" src="<?php bloginfo('template_directory'); ?>/images/headers/report.png" class="attachment-rotator-post-image wp-post-image" alt="bridge-2" title="bridge-2" />
<span class="title"><strong>The 2012 Annual Report:</strong><br />Check out our snapshot of CfA 2011: what we did and what we learned</span>
</a>
</div>
<div id="slide-4" class="player">
<a href="/2012" class="post-image">
<img width="550" height="330" src="<?php bloginfo('template_directory'); ?>/images/headers/cfa2012.png" class="attachment-rotator-post-image wp-post-image" alt="bridge-2" title="bridge-2" />
</a>
</div>
<div id="slide-5" class="player">
<object width="550" height="330"><param name="movie" value="http://www.youtube.com/v/yR5Zsc-YEq4?version=3&hl=en_US"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/yR5Zsc-YEq4?version=3&hl=en_US" type="application/x-shockwave-flash" width="550" height="330" allowscriptaccess="always" allowfullscreen="true"></embed></object> </div>
<div id="slide-6" class="player">
<iframe src="http://player.vimeo.com/video/31281413?title=0&byline=0&portrait=0" width="550" height="330" frameborder="0" webkitAllowFullScreen mozallowfullscreen allowFullScreen></iframe>
</div>
</div>
<div style="width: 181px; float: right;">
<li><a href="#slide-4"><img src="<?php bloginfo('template_directory'); ?>/images/headers/cfa2012-thumb.png" alt="" /><strong><span>What's Ahead</span></strong></a></li>
<li>
<a href="#slide-5"><img src="<?php bloginfo("template_url"); ?>/images/headers/tim.jpg" alt="" /><strong><span>"What If"</span></strong></a>
</li>
<li><a href="#slide-6"><img src="<?php bloginfo("template_url"); ?>/images/headers/curve2.png" alt="" /><strong><span>The IT Curve</span></strong></a></li>
</div>
</ul>
</div>
</div>
<!--Newsletter Subscribtion -->
<form name="signup" action="http://action.codeforamerica.org/page/signup/cfa-email" method="post" id="signup" class="clearfix">
<strong>CONNECT WITH CfA</strong> <input type="text" value="Email" type="email" style="width: 160px;" id="email" name="email" onfocus="if(this.value==this.defaultValue)this.value='';" onblur="if(this.value=='')this.value=this.defaultValue;" /><input type="text" value="Zip Code" type="email" id="zip" name="zip" style="border-left: 2px solid #f2f2f2; width: 70px;" onfocus="if(this.value==this.defaultValue)this.value='';" onblur="if(this.value=='')this.value=this.defaultValue;" /><button type="submit" class="like-btn">Send</button> <span>You should sign up to receive <br />
our (infrequent) newsletter</span>
</form>
<div class="wrap-t">
<div class="wrap clearfix" id="become-wrap">
<!--Become a Fellow -->
<div class="box">
<h2><strong>1</strong> Fellowship</h2>
<img src="<?php bloginfo('template_directory'); ?>/images/become-fellow.jpg" alt="Become a Fellow" />
<?php wp_nav_menu( array('menu'=> 'cfa_fellows', 'menu_id' => '','container' => 'ul', ) ); ?>
</div>
<!--Become a City -->
<div class="box">
<h2><strong>2</strong> City Program</h2>
<img src="<?php bloginfo('template_directory'); ?>/images/become-city.jpg" alt="Become a City" />
<?php wp_nav_menu( array('menu'=> 'cfa_city', 'menu_id' => '','container' => 'ul', ) ); ?>
</div>
<!--Get Involved -->
<div class="box">
<h2><strong>3</strong> Volunteers</h2>
<img src="<?php bloginfo('template_directory'); ?>/images/get-involved.jpg" alt="Get Involved" />
<?php wp_nav_menu( array('menu'=> 'cfa_get_involved', 'menu_id' => '','container' => 'ul', ) ); ?>
</div>
<!--Support CfA -->
<div class="box">
<h2><strong>4</strong> Supporters</h2>
<img src="<?php bloginfo('template_directory'); ?>/images/support-cfa.jpg" alt="Support CfA" />
<?php wp_nav_menu( array('menu'=> 'cfa_support', 'menu_id' => '','container' => 'ul', ) ); ?>
</div>
</div>
</div>
<div class="wrap-b"> </div>
<div class="wrap clearfix" id="whos">
<h3>Who’s Got Our Back?</h3>
<div class="prev"><img src="<?php bloginfo('template_directory'); ?>/images/prev-arrow.gif"></div> <div id="mycarousel">
<ul>
<li><a href="http://www.knightfoundation.org" title="Knight Foundation"><img src="<?php bloginfo('template_directory'); ?>/images/logos/knight-logo.png"></a></li>
<li><a href="http://www.omidyar.com/" title="Omidyar Foundation"><img src="<?php bloginfo('template_directory'); ?>/images/logos/on-logo.png"></a></li>
<li><a href="http://www.rockefellerfoundation.org/" title="Rockefeller Foundation"><img src="<?php bloginfo('template_directory'); ?>/images/logos/rockefeller-logo.png"></a></li>
<li><a href="http://www.esri.com" title="ESRI"><img src="<?php bloginfo('template_directory'); ?>/images/logos/esri-logo.png"></a></li>
<li><a href="http://www.cisco.com" title="Cisco"><img src="<?php bloginfo('template_directory'); ?>/images/logos/cisco-logo.jpg"></a></li>
<li><a href="http://www.oreillymedia.com" title="O'Reilly Media "><img src="<?php bloginfo('template_directory'); ?>/images/logos/oreilly-logo.png"></a></li>
<li><a href="http://www.casefoundation.org" title="Case Foundation"><img src="<?php bloginfo('template_directory'); ?>/images/logos/case-logo.png"></a></li>
<li><a href="http://www.jointconcepts.com" title="Joint Concepts"><img src="<?php bloginfo('template_directory'); ?>/images/logos/jc-logo.png"></a></li>
<li><a href="http://www.sunlightfoundation.com" title="Sunlight Foundation"><img src="<?php bloginfo('template_directory'); ?>/images/logos/sunlight-logo.png"></a></li>
<li><a href="/donors" title="More"><img src="<?php bloginfo('template_directory'); ?>/images/logos/more.png"></a></li>
<li><a href="http://www.sunlightfoundation.org" title="Sunlight Foundation"><img src="<?php bloginfo('template_directory'); ?>/images/logos/sunlight-logo.png"></a></li>
</ul>
</div><div class="next"><img src="<?php bloginfo('template_directory'); ?>/images/next-arrow.gif"></div>
</div>
<div class="wrap-t">
<div class="wrap clearfix">
<!--Helping Cities Solve Common Issues -->
<div id="cities-issues">
<h2>Helping Cities Solve <br />
Common Issues</h2>
<?php if ( is_active_sidebar( 'fourth-footer-widget-area' ) ) : ?>
<?php dynamic_sidebar( 'fourth-footer-widget-area' ); ?>
<?php endif; ?>
</div>
<!--CfA Blog -->
<div id="cfa-blog">
<h2>CfA Blog <a href="http://c4a.me/feed/" class="like-btn">RSS</a></h2>
<?php query_posts('showposts=2&tag__not_in=61'); ?>
<ul> <?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>
<li> <h3><a href="<?php the_permalink() ?>"><?php the_title(); ?> <strong>»</strong></a></h3>
<p> <?php echo excerpt(12); ?>
</p>
</li>
<?php endwhile; endif; ?>
</ul>
<a href="/code-for-america-blog/" class="btn">Go to Blog</a>
</div>
<!--Tweets -->
<div id="tweets">
<h2>What’s Being Said About CfA ?</h2>
<script src="http://widgets.twimg.com/j/2/widget.js"></script>
<script>
new TWTR.Widget({
version: 2,
type: 'search',
search: 'codeforamerica',
interval: 3000,
title: '',
subject: '',
width: 280,
height: 170,
theme: {
shell: {
background: '#ebebeb',
color: '#ffffff'
},
tweets: {
background: '#ebebeb',
color: '#444444',
links: '#1985b5'
}
},
features: {
scrollbar: false,
loop: true,
live: true,
hashtags: true,
timestamp: true,
avatars: true,
toptweets: true,
behavior: 'default'
}
}).render().start();
</script>
<style>.twtr-hd { padding: 0px; }
.twtr-ft {display: none;}
.twtr-tweet {font-size: 10px;}
</style>
</div>
</div>
</div>
<?php get_footer(); ?>