-
Notifications
You must be signed in to change notification settings - Fork 0
/
footer.php
215 lines (206 loc) · 12 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
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
<footer>
<div class="footer boxshadow">
<div class="container">
<div class="footer-wrapper">
<div class="row">
<div class="col-md-2 col-sm-2 footer-col footer-logo-col">
<img src="<?php echo get_upload_url('https://raw.githubusercontent.com/stt-systems/assets/main/logos/logo-footer.png', false); ?>" class="footer-logo" height="171" alt="STT's logo" />
</div>
<div class="col-md-2 col-sm-3 footer-col">
<div class="footer-title"><?php echo get_page_full_link('contact-us', 'Contact', 'page', !is_front_page() ? '' : ''); ?></div>
<div class="textwidget tight-paragraphs">
<p><?php _e("Phone:", "default") ?><?php echo get_phone_link(''); ?></p>
<p><?php _e("Fax: +34 943 31 64 31", "default") ?></p>
<p><?php echo get_email_link(''); ?></p>
<p><?php _e("Zuatzu Business Park", "default") ?></p>
<p><?php _e("Easo Building, 2nd Floor", "default") ?></p>
<p><?php _e("20018 San Sebastián, Spain", "default") ?></p>
</div>
</div>
<div class="col-md-1 col-sm-1 footer-col ghost"></div>
<div class="col-md-4 col-sm-6 footer-col">
<div class="footer-title"><?php _e("Featured Pages", "default") ?></div>
<div id='textwidgetPaddinLeft' class="textwidget">
<div class="row">
<?php
wp_reset_query();
$top_slug = get_top_level_slug();
if ($top_slug == 'motion-analysis') { ?>
<div class="col-md-4 col-sm-4"><?php
echo '<p><strong>' . get_page_full_link('3d-optical-motion-capture', '3DMA') . '</strong></p>';
echo '<p>' . get_page_full_link('sports-3dma') . '</p>';
echo '<p>' . get_page_full_link('cycling-3dma') . '</p>';
echo '<p>' . get_page_full_link('golf-3dma') . '</p>';
echo '<p>' . get_page_full_link('clinical-3dma') . '</p>';
echo '<p>' . get_page_full_link('running-3dma') . '</p>';
echo '<p>' . get_page_full_link('human-3dma') . '</p>';
echo '<p>' . get_page_full_link('eddo', 'EDDO') . '</p>'; ?>
</div>
<div class="col-md-3 col-sm-3"><?php
echo '<p><strong>' . get_page_full_link('2d-optical-motion-capture', '2DMA') . '</strong></p>';
echo '<p>' . get_page_full_link('cycling-2dma') . '</p>'; ?>
</div>
<div class="col-md-4 col-sm-4"><?php
echo '<p><strong>' . get_page_full_link('inertial-motion-capture', 'INERTIAL') . '</strong></p>';
echo '<p>' . get_page_full_link('isen') . '</p>'; ?>
</div><?php
}
else if ($top_slug == 'industry') { ?>
<div class="col-md-6 col-sm-6"><?php
echo '<p><strong>' . get_page_full_link('industry', 'INDUSTRY') . '</strong></p>';
echo '<p>' . get_page_full_link('machine-vision', 'Machine vision') . '</p>';
echo '<p>' . get_page_full_link('product-configurators', 'Product configurators') . '</p>';
echo '<p><a href="https://www.stt-systems.com/industry/rdi/">R+D+i</a></p>'; ?>
</div><?php
}
else { ?>
<div class="col-md-6 col-sm-6"><?php
echo '<p><strong>' . get_page_full_link('motion-analysis', 'MOTION ANALYSIS') . '</strong></p>';
echo '<p>' . get_page_full_link('cycling-3dma') . '</p>';
echo '<p>' . get_page_full_link('3d-optical-motion-capture', '3DMA') . '</p>';
echo '<p>' . get_page_full_link('2d-optical-motion-capture', '2DMA') . '</p>';
echo '<p>' . get_page_full_link('inertial-motion-capture', 'Inertial') . '</p>';
echo '<p>' . get_page_full_link('contact-support', 'Support') . '</p>';
echo '<p><a href="'.translate("https://www.stt-systems.com/motion-analysis/downloads/products/software-downloads/", "default").'">Downloads</a></p>';
/* echo '<p>' . get_page_full_link('downloads', 'Downloads') . '</p>'; */ ?>
</div>
<div class="col-md-6 col-sm-6"><?php
echo '<p><strong>' . get_page_full_link('industry', 'INDUSTRY') . '</strong></p>';
echo '<p>' . get_page_full_link('machine-vision', 'Machine vision') . '</p>';
echo '<p>' . get_page_full_link('product-configurators', 'Product configurators') . '</p>';
echo '<p><a href="https://www.stt-systems.com/industry/rdi/">R+D+i</a></p>'; ?>
</div><?php
} ?>
</div>
</div>
</div>
<div class="col-md-3 col-sm-3 footer-col"><!--
<div class="sidebar-content tags blog-search">
<form method="get" id="searchform" action="<?php echo site_url(); ?>">
<input type="text" class="blog-search-input text-input" name="s" id="s" placeholder="Search…">
<button class="blog-search-button"><i class="fas fa-search"></i></button>
</form>
</div> -->
</div>
</div>
</div>
</div>
<div class="copyright">
<div class="container">
<div class="row">
<div class="col-md-2 col-sm-3 col-xs-6 footerMarginBottom">
<div class="copyright-text">
© <?php echo date('Y'); ?> STT Systems
</div>
</div>
<div class="col-md-2 col-sm-3 col-xs-6 footerMarginBottom">
<div class="copyright-text">
<?php echo get_page_full_link('privacy-policy', 'Privacy Policy', 'page', !is_front_page() ? '' : ''); ?>
</div>
</div>
<div class="col-md-2 col-sm-3 col-xs-6 footerMarginBottom">
<div class="copyright-text">
<?php echo get_page_full_link('cookies-policy', 'Cookies Policy', 'page', !is_front_page() ? '' : ''); ?>
</div>
</div>
<div class="col-md-2 col-sm-3 col-xs-6 footerMarginBottom">
<div class="copyright-text">
<?php echo get_page_full_link('credits', 'Credits', 'page', !is_front_page() ? '' : ''); ?>
</div>
</div>
<div class="col-md-4 col-sm-12 col-xs-12">
<div class="social-icons">
<ul>
<li><a href="https://www.instagram.com/stt.systems/" title="Instagram" target="_blank" class="social-media-icon instagram-icon"></a></li>
<li><a href="https://www.linkedin.com/company/stt-systems" title="LinkedIn" target="_blank" class="social-media-icon linkedin-icon"></a></li>
<li><a href="https://www.youtube.com/user/SttSystems" title="Youtube" target="_blank" class="social-media-icon youtube-icon"></a></li>
<li><a href="https://www.facebook.com/STTSystems" title="Facebook" target="_blank" class="social-media-icon facebook-icon"></a></li>
<li><a href="https://twitter.com/sttsystems" title="Twitter" target="_blank" class="social-media-icon twitter-icon"></a></li>
</ul>
</div>
</div>
</div>
</div>
</div>
</div>
</footer>
<!--
<nav id="contacto-permanente">
<div class="position-relative" id="izqTel">
<a href="tel:+34943317777" class="stretched-link">
<svg aria-hidden="true" focusable="false" data-prefix="fas" data-icon="phone-alt" class="svg-inline--fa fa-phone-alt fa-w-16" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512">
<path fill="currentColor" d="M497.39 361.8l-112-48a24 24 0 0 0-28 6.9l-49.6 60.6A370.66 370.66 0 0 1 130.6 204.11l60.6-49.6a23.94 23.94 0 0 0 6.9-28l-48-112A24.16 24.16 0 0 0 122.6.61l-104 24A24 24 0 0 0 0 48c0 256.5 207.9 464 464 464a24 24 0 0 0 23.4-18.6l24-104a24.29 24.29 0 0 0-14.01-27.6z"></path>
</svg>
<span class="d-none d-sm-block"><?php _e("Llámanos", "default") ?></span>
</a>
</div>
<div class="position-relative" id="derechaCont">
<a href="#" class="stretched-link" data-toggle="modal" data-target="#exampleModal">
<svg aria-hidden="true" focusable="false" data-prefix="fas" data-icon="comment-dots" class="svg-inline--fa fa-comment-dots fa-w-16" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512">
<path fill="currentColor" d="M256 32C114.6 32 0 125.1 0 240c0 49.6 21.4 95 57 130.7C44.5 421.1 2.7 466 2.2 466.5c-2.2 2.3-2.8 5.7-1.5 8.7S4.8 480 8 480c66.3 0 116-31.8 140.6-51.4 32.7 12.3 69 19.4 107.4 19.4 141.4 0 256-93.1 256-208S397.4 32 256 32zM128 272c-17.7 0-32-14.3-32-32s14.3-32 32-32 32 14.3 32 32-14.3 32-32 32zm128 0c-17.7 0-32-14.3-32-32s14.3-32 32-32 32 14.3 32 32-14.3 32-32 32zm128 0c-17.7 0-32-14.3-32-32s14.3-32 32-32 32 14.3 32 32-14.3 32-32 32z"></path>
</svg>
<span class="d-none d-sm-block"><?php _e("Contactar", "default") ?></span>
</a>
</div>
</nav>
-->
<!--Contacto permanente-->
<a href="tel:+34943317777" class="contacto-permanente">
<svg aria-hidden="true" focusable="false" data-prefix="fas" data-icon="phone" class="svg-inline--fa fa-phone fa-w-16" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512">
<path fill="currentColor" d="M493.4 24.6l-104-24c-11.3-2.6-22.9 3.3-27.5 13.9l-48 112c-4.2 9.8-1.4 21.3 6.9 28l60.6 49.6c-36 76.7-98.9 140.5-177.2 177.2l-49.6-60.6c-6.8-8.3-18.2-11.1-28-6.9l-112 48C3.9 366.5-2 378.1.6 389.4l24 104C27.1 504.2 36.7 512 48 512c256.1 0 464-207.5 464-464 0-11.2-7.7-20.9-18.6-23.4z"></path>
</svg>
<span class="d-none d-xl-inline"><?php _e("Llámanos", "default") ?></span>
</a>
<a href="#formulario" id="cont-per-form" class="contacto-permanente" data-toggle="modal" data-target="#exampleModal">
<svg aria-hidden="true" focusable="false" data-prefix="fas" data-icon="envelope" class="svg-inline--fa fa-envelope fa-w-16" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512">
<path fill="currentColor" d="M502.3 190.8c3.9-3.1 9.7-.2 9.7 4.7V400c0 26.5-21.5 48-48 48H48c-26.5 0-48-21.5-48-48V195.6c0-5 5.7-7.8 9.7-4.7 22.4 17.4 52.1 39.5 154.1 113.6 21.1 15.4 56.7 47.8 92.2 47.6 35.7.3 72-32.8 92.3-47.6 102-74.1 131.6-96.3 154-113.7zM256 320c23.2.4 56.6-29.2 73.4-41.4 132.7-96.3 142.8-104.7 173.4-128.7 5.8-4.5 9.2-11.5 9.2-18.9v-19c0-26.5-21.5-48-48-48H48C21.5 64 0 85.5 0 112v19c0 7.4 3.4 14.3 9.2 18.9 30.6 23.9 40.7 32.4 173.4 128.7 16.8 12.2 50.2 41.8 73.4 41.4z"></path>
</svg>
<span class="d-none d-xl-inline"><?php _e("Contactar", "default") ?></span>
</a>
<!--/Contacto permanente-->
<div class="modal fade" id="exampleModal" tabindex="-1" role="dialog" aria-labelledby="exampleModalCenterTitle" aria-hidden="true">
<div class="modal-dialog modal-dialog-centered" role="document">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true">×</span>
</button>
</div>
<div class="modal-body">
<?php echo do_shortcode('[wpforms id="5586"]'); ?>
</div>
</div>
</div>
</div>
<?php wp_footer(); ?>
<script>
window.addEventListener('load', function() {
$('.banner').each(function() {
var l = $(this);
l.css('background-image', 'url("' + l.attr('data-src') + '")');
l.find('img.spinner').remove();
});
});
</script>
<script>
window.addEventListener('load', function() {
if ($('.col-extra').length) $('.col-extra').matchHeight();
});
</script>
<script>
jQuery(document).ready(function() {
jQuery("#searchbtn").click(function() {
jQuery("#searchbar").css("display","block");
});
jQuery("#searchclose").click(function() {
jQuery("#searchbar").css("display","none");
});
});
</script>
<link rel="stylesheet" property="stylesheet" href="//fonts.googleapis.com/css?family=Source+Sans+Pro:200,300,300i,400,400i" crossorigin="anonymous" />
<link rel="stylesheet" property="stylesheet" href="<?php echo my_get_url_for_path(WL_TEMPLATE_LOCAL_DIR . '/css/theme-menu.min.css', false); ?>" />
<link rel="stylesheet" property="stylesheet" href="<?php echo my_get_url_for_path(WL_TEMPLATE_LOCAL_DIR . '/css/responsive.min.css', false); ?>" />
<link rel="stylesheet" property="stylesheet" href="//use.fontawesome.com/releases/v5.3.1/css/all.css" integrity="sha384-mzrmE5qonljUremFsqc01SB46JvROS7bZs3IO2EmfFsd15uHvIt+Y8vEf7N7fWAU" crossorigin="anonymous" />
</body>
</html><?php
ob_end_flush(); ?>