-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.php
executable file
·217 lines (184 loc) · 8.21 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
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
<?php
/*
Template Name: Home Page
*/
?>
<?php get_header(); ?>
<div id="content">
<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
<article id="post-<?php the_ID(); ?>">
<?php the_content(); ?>
<div class="flexslider blueberry grid_12">
<ul class="slides">
<?php $images = getFieldOrder('slider_image');
if(is_array($images))
{foreach($images as $image)
{echo "<li>";
echo "<a href='";
echo get('slider_button_link',1,$image);
echo "'>";
echo get_image('slider_image',1,$image);
echo "</a>";
echo "</li>";
}
}
?>
</ul>
</div>
<div class="clear"></div>
<ul class="minifeatured">
<li class="grid_3 mini"><a href="<?php echo get('mini_featured_link',1,1); ?>"><img src="<?php echo get('mini_featured_image',1,1); ?>"/></a></li>
<li class="grid_3 mini"><a href="<?php echo get('mini_featured_link',1,2); ?>"><img src="<?php echo get('mini_featured_image',1,2); ?>"/></a></li>
<li class="grid_3 mini"><a class="iframe" href="<?php echo get('mini_featured_link',1,3); ?>"><img src="<?php echo get('mini_featured_image',1,3); ?>"/></a></li>
<li class="grid_3 mini font">
<hr style="border-top-color:#c67655; margin:0px;"/>
<!-- Begin MailChimp Signup Form -->
<form action="http://ssekodesigns.us2.list-manage.com/subscribe/post?u=918f13b2195c1a617550a626a& id=b87be29ca1" method="post" id="mc-embedded-subscribe-form" name="mc-embedded-subscribe-form" class="validate" target="_blank">
<label for="mce-EMAIL" style="text-transform:uppercase;">Sign up</label><br><span style="font-size:smaller;">for our newsletter:</span>
<input style="width:80%;" type="email" value="" name="EMAIL" class="required email " id="mce-EMAIL">
<input type="image" src="<?php bloginfo('template_directory'); ?>/images/buttons/go.png" alt="submit" value="Subscribe" name="subscribe" id="mc-embedded-subscribe" class="button">
</form>
<br>
<hr style="border-top-color:#c67655;margin:0px; padding-top: 10px;"/>
<!--End mc_embed_signup-->
<span class="social">
<ul>
<li><a href="http://www.youtube.com/user/SsekoDesigns"><img src="<?php bloginfo('template_directory'); ?>/images/buttons/youtube.png"/></a></li>
<li><a href="/news"><img src="<?php bloginfo('template_directory'); ?>/images/buttons/rss.png"/></a></li>
<li><a href="http://www.facebook.com/ssekodesigns"><img src="<?php bloginfo('template_directory'); ?>/images/buttons/facebook.png"/></a></li>
<li><a href="http://twitter.com/#!/ssekodesigns"><img src="<?php bloginfo('template_directory'); ?>/images/buttons/twitter.png"/></a></li>
</ul>
</span>
<hr style="border-top-color:#c67655;padding-top: 10px;">
</li>
</ul>
<div class="clear"></div>
</article>
<?php endwhile; endif; ?>
</div>
<footer id="footer" class="source-org vcard">
<hr class="grid_12"/>
<ul id="customer-service" class="grid_3">
customer service
<li><a href="http://shop.ssekodesigns.com/help.php?section=contactus&mode=update">contact us</a></li>
<li><a href="http://shop.ssekodesigns.com/returns.php">shipping & returns</a></li>
<li><a href="http://shop.ssekodesigns.com/pages.php?pageid=2">sizing</a></li>
<li><a href="/faqs/">faqs</a></li>
</ul>
<ul id="shop" class="grid_3">
shop
<li><a href="http://shop.ssekodesigns.com">create your ssekos</a></li>
<li><a href="http://shop.ssekodesigns.com/home.php?cat=250">buy new straps</a></li>
<li><a href="http://shop.ssekodesigns.com/home.php?cat=258">sseko weddings</a></li>
<li><a href="/find-a-retailer/">find a retailer</a></li>
</ul>
<ul id="about" class="grid_3">
about
<li><a href="/what-we-do/">our mission & impact</a></li>
<li><a href="/meet-the-women/">meet the women</a></li>
<li><a href="/the-sseko-story/">the sseko story</a></li>
<li><a href="">customer testimonials</a></li>
<li><a href="/media-coverage/">media</a></li>
</ul>
<ul id="get-involved" class="grid_3">
get involved
<li><a href="/host-a-party/">host a party</a></li>
<li><a href="/jobs-internships/">jobs & internships</a></li>
<li><a href="/contact-us-retail-inquiry">wholesale inquires</a></li>
<li><a href="/contact-us/">press inquires</a></li>
</ul>
<span class="grid_12 copyright">Copyright © 2012 <a href="http://www.ssekodesigns.com/">Sseko Designs L.L.C. All Rights Reserved.</a></span>
</footer>
<?php wp_footer(); ?>
<script src="<?php bloginfo('template_directory'); ?>/_/js/modernizr-1.7.min.js"></script>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.min.js"></script>
<script src="<?php bloginfo('template_directory'); ?>/_/js/jquery.blueberry.js"></script>
<script>$(window).load(function() {$('.blueberry').blueberry();});</script>
<script type="text/javascript" src="<?php bloginfo('template_directory'); ?>/_/js/fancybox/jquery.fancybox-1.3.4.pack.js"></script>
<script type="text/javascript">$(document).ready(function() {$("a.inlineimg").fancybox({'hideOnContentClick': true , 'autoScale' : true , 'autoDimensions' : true });});</script>
<script type="text/javascript">$(document).ready(function() {$("a.fancybox").fancybox({'hideOnContentClick': true , 'autoScale' : true , 'autoDimensions' : true });});</script>
<script type="text/javascript">$(document).ready(function() {$("#menu-item-8 ul").addClass("sub-menu1");});</script>
<script type="text/javascript">$(document).ready(function() {$("#menu-item-14 ul").addClass("sub-menu2");});</script>
<script type="text/javascript">$(document).ready(function() {$("#menu-item-19 ul").addClass("sub-menu3");});</script>
<div id="fb-root"></div>
<script>(function(d, s, id) {
var js, fjs = d.getElementsByTagName(s)[0];
if (d.getElementById(id)) return;
js = d.createElement(s); js.id = id;
js.src = "//connect.facebook.net/en_US/all.js#xfbml=1&appId=101926499924394";
fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));</script>
<script type="text/javascript">
$(document).ready(function(){
var hideDropdownTimer = null
var dropdown = $(".sub-menu1", this)
var menu = $("#menu-item-8", this)
dropdown.hide();
$([dropdown[0], menu[0]]).hover(
function() {
if (hideDropdownTimer)
clearTimeout(hideDropdownTimer);
dropdown.show();
dropdown2.hide();
dropdown3.hide();
},
function() {
if (hideDropdownTimer)
clearTimeout(hideDropdownTimer);
hideDropdownTimer = setTimeout(function() {
dropdown.hide()
}, 600)
}
)
var hideDropdownTimer2 = null
var dropdown2 = $(".sub-menu2", this)
var menu2 = $("#menu-item-14", this)
dropdown2.hide();
$([dropdown2[0], menu2[0]]).hover(
function() {
if (hideDropdownTimer2)
clearTimeout(hideDropdownTimer2);
dropdown2.show();
dropdown3.hide();
dropdown.hide();
},
function() {
if (hideDropdownTimer2)
clearTimeout(hideDropdownTimer2);
hideDropdownTimer2 = setTimeout(function() {
dropdown2.hide()
}, 600)
}
)
var hideDropdownTimer3 = null
var dropdown3 = $(".sub-menu3", this)
var menu3 = $("#menu-item-19", this)
dropdown3.hide();
$([dropdown3[0], menu3[0]]).hover(
function() {
if (hideDropdownTimer3)
clearTimeout(hideDropdownTimer3);
dropdown3.show();
dropdown2.hide();
dropdown.hide();
},
function() {
if (hideDropdownTimer3)
clearTimeout(hideDropdownTimer3);
hideDropdownTimer3 = setTimeout(function() {
dropdown3.hide()
}, 600)
}
)
$("a.box").live("mouseover focus", function() {
$("a.box").fancybox( {
'width' : 'auto',
'height' : 'auto',
'titleShow' : false
});
});
});
</script>
<link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />
</body>
</html>