-
Notifications
You must be signed in to change notification settings - Fork 0
/
footer.php
91 lines (82 loc) · 4.37 KB
/
footer.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
</div>
<!-- END CONTENT -->
</div>
<!-- END WRAPPER -->
<!-- BEGIN FOOTER -->
<div id="footer">
<?php if (get_option('boldy_footer_actions') != "no"): ?>
<div style="width:960px; margin: 0 auto; position:relative;">
<a href="#" id="showHide" <?php if(get_option('boldy_actions_hide')=="hidden"){echo 'style="background-position:0 -16px"';}?>>
<?php _e("Show/Hide footer actions", "boldy-plus"); ?>
</a>
</div>
<div id="footerActions" <?php if(get_option('boldy_actions_hide')=="hidden"){echo 'style="display:none"';}?>>
<div id="footerActionsInner">
<?php if (get_option('boldy_twitter_user') != "" && get_option('boldy_latest_tweet') != "no"): ?>
<div id="twitter">
<a href="http://twitter.com/<?php echo get_option('boldy_twitter_user'); ?>" class="action">
<?php _e("Follow us!", "boldy-plus"); ?>
</a>
<div id="latest">
<div id="tweet">
<div id="twitter_update_list"></div>
</div>
<div id="tweetBottom"></div>
</div>
</div>
<script type="text/javascript" src="http://twitter.com/javascripts/blogger.js"></script>
<script
type="text/javascript"
src="https://api.twitter.com/1.1/statuses/user_timeline.json?screen_name=<?php echo get_option('boldy_twitter_user'); ?>&callback=twitterCallback2&count=<?php echo (get_option('boldy_number_tweets')!="" ? get_option('boldy_number_tweets') : "1"); ?>">
</script>
<?php endif; ?>
<div id="quickContact">
<p id="success" class="successmsg" style="display:none;"><?php _e("Your e-mail has been sent. Thank you!", "boldy-plus"); ?></p>
<p id="bademail" class="errormsg" style="display:none;"><?php _e("Please enter your name, a message and a valid e-mail address.", "boldy-plus"); ?></p>
<p id="badserver" class="errormsg" style="display:none;"><?php _e("Your e-mail failed. Try again later.", "boldy-plus"); ?></p>
<form action="<?php bloginfo('template_url'); ?>/sendmail.php" method="post" id="quickContactForm">
<div class="leftSide">
<input type="text" value="<?php _e("Your name", "boldy-plus"); ?>" id="quickName" name="name" />
<input type="text" value="<?php _e("Your e-mail", "boldy-plus"); ?>" id="quickEmail" name="email" />
<input type="submit" name="submit" id="submitinput" value="<?php _e("Send", "boldy-plus"); ?>"/>
</div>
<div class="rightSide">
<textarea id="quickComment" name="comment"><?php _e("Your message", "boldy-plus"); ?></textarea>
</div>
<input type="hidden" id="quickReceiver" name="receiver" value="<?php echo strhex(get_option('boldy_contact_email')); ?>"/>
</form>
</div>
</div>
</div>
<?php endif; ?>
<div id="footerWidgets">
<div id="footerWidgetsInner">
<!-- BEGIN FOOTER WIDGET -->
<?php if (!function_exists('dynamic_sidebar') || !dynamic_sidebar('footer')): ?><?php endif; ?>
<!-- END FOOTER WIDGETS -->
<!-- BEGIN COPYRIGHT -->
<div id="copyright">
<?php
if (get_option('boldy_copyright') != "") {
echo stripslashes(stripslashes(get_option('boldy_copyright')));
}
else {
_e("Just go to Theme options page and edit copyright text", "boldy-plus");
}
?>
</div>
<!-- END COPYRIGHT -->
</div>
</div>
</div>
<!-- END FOOTER -->
</div>
<!-- END MAINWRAPPER -->
<?php
if (get_option('boldy_analytics') != "") {
echo stripslashes(stripslashes(get_option('boldy_analytics')));
}
wp_footer();
?>
</body>
</html>