footer.php
9.7 KB
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
<?php $get_lang = isset($wp_query->query_vars['prisna_translate_seo_request'])?urldecode($wp_query->query_vars['prisna_translate_seo_request']):''; ?>
<!-- web_footer start -->
<!-- company_subscribe -->
<section class="company_subscribe">
<div class="index_bd">
<div class="layout">
<div class="sys_row flex_row">
<div class="subscribe_cont wow fadeInA" data-wow-delay=".1s" data-wow-duration=".8s">
<h3 class="subscribe_subtit">CONTACT US</h3>
<h2 class="subscribe_title">Please get in touch to order !</h2>
</div>
<div class="learn_more wow fadeInA" data-wow-delay=".2s" data-wow-duration=".8s">
<a class="sys_btn sys_btn_wave button" href="javascript:">ORDER NOW<i class="btn_wave_circle"></i></a>
</div>
</div>
</div>
</div>
</section>
<footer class="web_footer" style="background-image: url(http://cms.goodao.cn/style/global/img/demo/footer_bg.jpg)">
<section class="foot_contact_list">
<div class="layout">
<address class="flex_row">
<!--
icons:
============================
contact_ico_local
contact_ico_phone
contact_ico_email
contact_ico_fax
contact_ico_skype
contact_ico_time -->
<?php if( get_get_field('lianxi_phone_01') ){ ?>
<div class="contact_item wow flipInY" data-wow-delay=".1s" data-wow-duration=".8s">
<i class="contact_ico contact_ico_phone"></i>
<div class="contact_txt"><a href="tel:<?php get_the_field('lianxi_phone_01'); ?>" class="tel_link"><?php get_the_field('lianxi_phone_01'); ?></a></div>
</div>
<?php } ?>
<?php if( get_get_field('lianxi_mail_01') ){ ?>
<div class="contact_item wow flipInY" data-wow-delay=".2s" data-wow-duration=".8s">
<i class="contact_ico contact_ico_email"></i>
<div class="contact_txt"><a href="javascript:" class="add_email12"><?php get_the_field('lianxi_mail_01'); ?></a></div>
</div>
<?php } ?>
<?php if( get_get_field('lianxi_adress') ){ ?>
<div class="contact_item wow flipInY" data-wow-delay=".3s" data-wow-duration=".8s">
<i class="contact_ico contact_ico_local"></i>
<div class="contact_txt"><?php get_the_field('lianxi_adress'); ?></div>
</div>
<?php } ?>
</address>
</div>
</section>
<section class="foot_service">
<div class="layout">
<div class="foot_items sys_row flex_row">
<nav class="foot_item wow fadeInLeftA" data-wow-delay=".4s" data-wow-duration=".8s">
<div class="foot_item_bd">
<figure class="foot_logo"><img src="http://cms.goodao.cn/style/global/img/demo/foot_logo.png" alt=""></figure>
<div class="copyright">© All rights reserved</div>
<ul class="foot_sns">
<?php $images = get_get_field('sns_gallery'); if( $images ): foreach( $images as $image ): ?>
<li><a target="_blank" href="<?php echo $image['alt']; ?>"><img src="<?php echo $image['url']; ?>" alt="<?php echo $image['title']; ?>"></a></li>
<?php endforeach; endif; ?>
</ul>
</div>
</nav>
<nav class="foot_item wow fadeInLeftA" data-wow-delay=".3s" data-wow-duration=".8s">
<div class="foot_item_hd">
<h2 class="title">PRODUCT</h2>
</div>
<div class="foot_item_bd">
<ul class="foot_txt_list">
<?php echo str_replace("</ul></div>", "", ereg_replace("<div[^>]*><ul[^>]*>", "", wp_nav_menu(array('menu' => 442, 'echo' => false)) ));?>
</ul>
<div class="item_more"><a href="">View More+</a></div>
</div>
</nav>
<nav class="foot_item wow fadeInLeftA" data-wow-delay=".2s" data-wow-duration=".8s">
<div class="foot_item_hd">
<h2 class="title">ABOUT US</h2>
</div>
<div class="foot_item_bd">
<ul class="foot_txt_list">
<?php echo str_replace("</ul></div>", "", ereg_replace("<div[^>]*><ul[^>]*>", "", wp_nav_menu(array('menu' => 442, 'echo' => false)) ));?>
</ul>
</div>
</nav>
<nav class="foot_item foot_item_news wow fadeInLeftA" data-wow-delay=".1s" data-wow-duration=".8s">
<div class="foot_item_hd">
<h2 class="title">EVENTS</h2>
</div>
<div class="foot_item_bd">
<div class="news_cell">
<div class="news_time">2018.03.21 12:00</div>
<h4 class="news_tit"><a href="">Beijing wooden gate expositon</a></h4>
<div class="news_dots">......</div>
<div class="item_more"><a href="<?php echo home_url("/"); ?>news">View More+</a></div>
</div>
</div>
</nav>
</div>
</div>
</section>
</footer>
<aside class="scrollsidebar" id="scrollsidebar">
<div class="side_content">
<div class="side_list">
<header class="hd"><img src="//cdn.goodao.net/title_pic.png" alt="Online Inuiry"/></header>
<div class="cont">
<li><a class="email" href="javascript:" onclick="showMsgPop();">Send Email</a></li>
<?php query_posts(array( 'post_type' => 'skype','showposts' => 5,'orderby' => 'post_date','order'=> 'DESC') ); ?>
<?php while (have_posts()) : the_post();?>
<li><a target="_blank" class="skype" href="skype:<?php the_field('skype_id'); ?>?chat"><?php echo mb_strimwidth(strip_tags(apply_filters('the_title',$post->post_title)), 0, 200,"..."); ?></a></li>
<?php endwhile; wp_reset_query(); ?>
<?php query_posts(array( 'post_type' => 'ww','showposts' => 5,'orderby' => 'post_date','order'=> 'DESC') ); ?>
<?php while (have_posts()) : the_post();?>
<li class="ww">
<?php the_field('ww_code'); ?>
</li>
<?php endwhile; wp_reset_query(); ?>
</div>
<?php $image = get_get_field('ad_android');if( !empty($image) ): ?>
<div class="t-code"> <a href="<?php echo $image['alt']; ?>"><img width="120px" src="<?php echo $image['url']; ?>" alt="<?php echo $image['description']; ?>"></a><br/>
<center>
Android
</center>
</div>
<?php endif; ?>
<?php $image = get_get_field('ad_ios');if( !empty($image) ): ?>
<div class="t-code"> <a href="<?php echo $image['alt']; ?>"><img width="120px" src="<?php echo $image['url']; ?>" alt="<?php echo $image['description']; ?>"></a><br/>
<center>
IOS
</center>
</div>
<?php endif; ?>
<div class="side_title"><a class="close_btn"><span>x</span></a></div>
</div>
</div>
<div class="show_btn"></div>
</aside>
<div class="inquiry-pop-bd">
<div class="inquiry-pop"> <i class="ico-close-pop" onClick="hideMsgPop();"></i>
<script type="text/javascript" src="//www.globalso.site/form.js"></script>
</div>
</div>
</div>
<script type="text/javascript" src="<?php echo home_url("/"); ?>style/global/js/jquery.min.js"></script>
<script type="text/javascript" src="<?php echo home_url("/"); ?>style/global/js/common.js"></script>
<script type="text/javascript" src="<?php echo home_url("/"); ?>style/public/public.js"></script>
<!--[if lt IE 9]>
<script src="<?php echo home_url("/"); ?>style/global/js/html5.js"></script>
<![endif]-->
<?php wp_footer();?>
<script> function getCookie(name) {
var arg = name + "=";
var alen = arg.length;
var clen = document.cookie.length;
var i = 0;
while (i < clen) {
var j = i + alen;
if (document.cookie.substring(i, j) == arg) return getCookieVal(j);
i = document.cookie.indexOf(" ", i) + 1;
if (i == 0) break;
}
return null;
}
function setCookie(name, value) {
var expDate = new Date();
var argv = setCookie.arguments;
var argc = setCookie.arguments.length;
var expires = (argc > 2) ? argv[2] : null;
var path = (argc > 3) ? argv[3] : null;
var domain = (argc > 4) ? argv[4] : null;
var secure = (argc > 5) ? argv[5] : false;
if (expires != null) {
expDate.setTime(expDate.getTime() + expires);
}
document.cookie = name + "=" + escape(value) + ((expires == null) ? "": ("; expires=" + expDate.toUTCString())) + ((path == null) ? "": ("; path=" + path)) + ((domain == null) ? "": ("; domain=" + domain)) + ((secure == true) ? "; secure": "");
}
function getCookieVal(offset) {
var endstr = document.cookie.indexOf(";", offset);
if (endstr == -1) endstr = document.cookie.length;
return unescape(document.cookie.substring(offset, endstr));
}
var firstshow = 0;
var cfstatshowcookie = getCookie('easyiit_stats');
if (cfstatshowcookie != 1) {
a = new Date();
h = a.getHours();
m = a.getMinutes();
s = a.getSeconds();
sparetime = 1000 * 60 * 60 * 24 * 1 - (h * 3600 + m * 60 + s) * 1000 - 1;
setCookie('easyiit_stats', 1, sparetime, '/');
firstshow = 1;
}
if (!navigator.cookieEnabled) {
firstshow = 0;
}
var referrer = escape(document.referrer);
var currweb = escape(location.href);
var screenwidth = screen.width;
var screenheight = screen.height;
var screencolordepth = screen.colorDepth;
$(function($){
var src="<?php echo home_url("/"); ?>wp-admin/admin-ajax.php?action=stats_init&assort=0&referrer="+referrer+"&currweb="+currweb+"&firstshow="+firstshow+"&screenwidth="+screenwidth+"&screenheight="+screenheight+"&screencolordepth="+screencolordepth+"&ranstr="+Math.random()
$('body').append('<iframe style="display:none" src='+src+'></iframe>')
});
</script> </body></html>