equal
deleted
inserted
replaced
|
1 </div> |
|
2 <!-- main END --> |
|
3 |
|
4 <?php |
|
5 $options = get_option('inove_options'); |
|
6 global $inove_nosidebar; |
|
7 if(!$options['nosidebar'] && !$inove_nosidebar) { |
|
8 get_sidebar(); |
|
9 } |
|
10 ?> |
|
11 <div class="fixed"></div> |
|
12 </div> |
|
13 <!-- content END --> |
|
14 |
|
15 <!-- footer START --> |
|
16 <div id="footer"> |
|
17 <a id="gotop" href="#" onclick="MGJS.goTop();return false;"><?php _e('Top', 'inove'); ?></a> |
|
18 <a id="powered" href="http://wordpress.org/">WordPress</a> |
|
19 <div id="copyright"> |
|
20 <?php |
|
21 global $wpdb; |
|
22 $post_datetimes = $wpdb->get_row($wpdb->prepare("SELECT YEAR(min(post_date_gmt)) AS firstyear, YEAR(max(post_date_gmt)) AS lastyear FROM $wpdb->posts WHERE post_date_gmt > 1970")); |
|
23 if ($post_datetimes) { |
|
24 $firstpost_year = $post_datetimes->firstyear; |
|
25 $lastpost_year = $post_datetimes->lastyear; |
|
26 |
|
27 $copyright = __('Copyright © ', 'inove') . $firstpost_year; |
|
28 if($firstpost_year != $lastpost_year) { |
|
29 $copyright .= '-'. $lastpost_year; |
|
30 } |
|
31 $copyright .= ' '; |
|
32 |
|
33 echo $copyright; |
|
34 bloginfo('name'); |
|
35 } |
|
36 ?> |
|
37 </div> |
|
38 <div id="themeinfo"> |
|
39 <?php printf(__('Theme by <a href="%1$s">NeoEase</a>. Valid <a href="%2$s">XHTML 1.1</a> and <a href="%3$s">CSS 3</a>.', 'inove'), 'http://www.neoease.com/', 'http://validator.w3.org/check?uri=referer', 'http://jigsaw.w3.org/css-validator/check/referer?profile=css3'); ?> |
|
40 </div> |
|
41 </div> |
|
42 <!-- footer END --> |
|
43 |
|
44 </div> |
|
45 <!-- container END --> |
|
46 </div> |
|
47 <!-- wrap END --> |
|
48 |
|
49 <?php |
|
50 wp_footer(); |
|
51 |
|
52 $options = get_option('inove_options'); |
|
53 if ($options['analytics']) { |
|
54 echo($options['analytics_content']); |
|
55 } |
|
56 ?> |
|
57 |
|
58 </body> |
|
59 </html> |
|
60 |