equal
deleted
inserted
replaced
|
1 <div class="anchor"> |
|
2 <span><a href="#" onclick="MGJS.goTop();return false;"><?php _e('TOP', 'elegantbox'); ?></a></span> |
|
3 </div> |
|
4 <div class="fixed"></div> |
|
5 </div> |
|
6 <div class="fixed"></div> |
|
7 </div> |
|
8 </div> |
|
9 |
|
10 <!-- footer START --> |
|
11 <div id="footer"> |
|
12 <div class="inner"> |
|
13 <div class="content"> |
|
14 <p id="about"> |
|
15 <?php |
|
16 global $wpdb; |
|
17 $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")); |
|
18 if ($post_datetimes) { |
|
19 $firstpost_year = $post_datetimes->firstyear; |
|
20 $lastpost_year = $post_datetimes->lastyear; |
|
21 |
|
22 $copyright = __('Copyright © ', 'elegantbox') . $firstpost_year; |
|
23 if($firstpost_year != $lastpost_year) { |
|
24 $copyright .= '-'. $lastpost_year; |
|
25 } |
|
26 $copyright .= ' '; |
|
27 |
|
28 echo $copyright; |
|
29 bloginfo('name'); |
|
30 } |
|
31 printf(__(' | Powered by <a href="%1$s">WordPress</a>', 'elegantbox'), 'http://wordpress.org/'); |
|
32 printf(__(' | Theme by <a href="%1$s">NeoEase</a>', 'elegantbox'), 'http://www.neoease.com/'); |
|
33 ?> |
|
34 </p> |
|
35 |
|
36 <ul id="admin"> |
|
37 <?php wp_register(); ?> |
|
38 <li><?php wp_loginout(); ?></li> |
|
39 </ul> |
|
40 |
|
41 <div class="fixed"></div> |
|
42 </div> |
|
43 </div> |
|
44 </div> |
|
45 <!-- footer END --> |
|
46 |
|
47 <?php |
|
48 wp_footer(); |
|
49 |
|
50 $options = get_option('elegantbox_options'); |
|
51 if ($options['analytics']) { |
|
52 echo($options['analytics_content']); |
|
53 } |
|
54 ?> |
|
55 |
|
56 </body> |
|
57 </html> |