File: /var/www/vhosts/greenclinic.kz/newsite/wp-content/themes/green-clinic/footer.php
<footer class="main__footer">
<div class="container">
<div class="row footer">
<div class="footer-col footer-brand wow animate__animated animate__fadeInLeft">
<div class="brand__logo">
<?php
if( has_custom_logo() ){
echo get_custom_logo();
}
?>
</div>
<div class="footer-social row">
<?php if( have_rows('social', 'option') ): ?>
<?php while( have_rows('social', 'option') ) : the_row(); ?>
<a href="<?php echo esc_html(the_sub_field('social_link')); ?>" target="_blank" class="social-icon social-icon-inst">
<img src="<?php echo esc_html(the_sub_field('social_icon')); ?>" alt="<?php echo esc_html(the_sub_field('social_name')); ?>">
</a>
<?php endwhile; ?>
<?php endif; ?>
</div>
</div>
<div class="footer-col footer-navigation wow animate__animated animate__fadeInLeft">
<ul class="footer-navigation-wrapp">
<li class="footer-navigation-label">
<?php
// Get the current language
$current_language = wpm_get_language();
// Output the appropriate translation based on the current language
if ($current_language == 'ru') {
echo 'Навигация';
} elseif ($current_language == 'kz') {
echo 'Навигация';
} else {
echo 'Navigation'; // Default to Russian or the original language
}
?>
</li>
</ul>
<?php
$menu_ID = 4;
$nav_menu = wp_get_nav_menu_object( $menu_ID );
wp_nav_menu( array(
'theme_location' => 'footer_menu_1',
'container' => false,
'items_wrap' => '<ul class="footer-navigation-wrapp"><li class="footer-navigation-label"></li>%3$s</ul>'
)
);
?>
</div>
<div class="footer-col footer-navigation wow animate__animated animate__fadeInRight">
<ul class="footer-navigation-wrapp">
<li class="footer-navigation-label">
<?php
// Get the current language
$current_language = wpm_get_language();
// Output the appropriate translation based on the current language
if ($current_language == 'ru') {
echo 'Пациентам';
} elseif ($current_language == 'kz') {
echo 'Науқастарға';
} else {
echo 'For patients'; // Default to Russian or the original language
}
?>
</li>
</ul>
<?php
$menu_ID = 45;
$nav_menu = wp_get_nav_menu_object( $menu_ID );
wp_nav_menu( array(
'theme_location' => 'footer_menu_2',
'container' => false,
'items_wrap' => '<ul class="footer-navigation-wrapp"><li class="footer-navigation-label"></li>%3$s</ul>'
)
);
?>
</div>
<div class="footer-col footer-navigation wow animate__animated animate__fadeInRight">
<ul class="footer-navigation-wrapp">
<li class="footer-navigation-label">
<?php
// Get the current language
$current_language = wpm_get_language();
// Output the appropriate translation based on the current language
if ($current_language == 'ru') {
echo 'О нас';
} elseif ($current_language == 'kz') {
echo 'Біз туралы';
} else {
echo 'About us'; // Default to Russian or the original language
}
?>
</li>
</ul>
<?php
$menu_ID = 6;
$nav_menu = wp_get_nav_menu_object( $menu_ID );
wp_nav_menu( array(
'theme_location' => 'footer_menu_3',
'container' => false,
'items_wrap' => '<ul class="footer-navigation-wrapp"><li class="footer-navigation-label"></li>%3$s</ul>'
)
);
?>
</div>
<div class="footer-col footer-contacts wow animate__animated animate__fadeInRight">
<?php
wp_nav_menu( array(
'theme_location' => 'footer_menu_4',
'container' => false,
'items_wrap' => '<ul class="footer-navigation-wrapp">%3$s</ul>'
)
);
?>
<?php if( have_rows('contacts', 'option') ): ?>
<?php while( have_rows('contacts', 'option') ) : the_row(); ?>
<div class="footer-contacts">
<div class="contacts-adress">
<?php
// Get the current language
$current_language = wpm_get_language();
// Output the appropriate translation based on the current language
if ($current_language == 'ru') {
echo 'г. Астана, ул. Хусейн бен Талал 25/1';
} elseif ($current_language == 'kz') {
echo 'Астана қ., Хусейн бен Талал көшесі, 25/1';
} else {
echo 'Astana city, Hussein ben Talal 25/1'; // Default to Russian or the original language
}
?>
<!-- <?php echo esc_html(the_sub_field('address')); ?> -->
</div>
<div class="contacts-phones">
<!-- <?php if( have_rows('phones', 'option') ): ?>
<?php while( have_rows('phones', 'option') ) : the_row(); $desk_phone = get_sub_field('phone_help_text'); ?>
<?php if ( $desk_phone !== '(Сотрудничества и предложения)'):?>
<div><a href="tel:<?php the_sub_field('phone_number'); ?>"><?php the_sub_field('phone_number'); ?></a> <?php the_sub_field('phone_help_text'); ?></div>
<?php endif;?>
<?php endwhile; ?>
<?php endif; ?> -->
<div><a href="tel:+7 (7172) 79 77 22">+7 (7172) 79 77 22</a> </div>
<div><a href="tel:+7 (7000) 211 211">+7 (7000) 211 211</a>
<?php
// Get the current language
$current_language = wpm_get_language();
// Output the appropriate translation based on the current language
if ($current_language == 'ru') {
echo '(по прикреплению ПМСП)';
} elseif ($current_language == 'kz') {
echo '(АМСК-ға тіркелу бойынша)';
} else {
echo '(attachment to Primary Health care)'; // Default to Russian or the original language
}
?>
</div>
</div>
<div class="contacts-email"><a href="mailto:<?php echo esc_html(the_sub_field('email')); ?>"><?php echo esc_html(the_sub_field('email')); ?></a></div>
<div class="contacts-work-time"><span>
<!-- <?php
// Get the current language
$current_language = wpm_get_language();
// Output the appropriate translation based on the current language
if ($current_language == 'ru') {
echo 'Пн-Пт';
} elseif ($current_language == 'kz') {
echo 'ДС-ЖМ';
} else {
echo 'Mon-Fri'; // Default to Russian or the original language
}
?>: 08:00 - 20:00 -->
<?php echo esc_html(the_sub_field('weekdays')); ?>
</span><span>
<!-- <?php
// Get the current language
$current_language = wpm_get_language();
// Output the appropriate translation based on the current language
if ($current_language == 'ru') {
echo 'Сб';
} elseif ($current_language == 'kz') {
echo 'СН';
} else {
echo 'Sat'; // Default to Russian or the original language
}
?>: 09.00-14.00 -->
<?php echo esc_html(the_sub_field('weekend')); ?>
</span></div>
<div class="contacts-in-map"><a href="/contacts">
<?php
// Get the current language
$current_language = wpm_get_language();
// Output the appropriate translation based on the current language
if ($current_language == 'ru') {
echo 'На карте';
} elseif ($current_language == 'kz') {
echo 'Картада';
} else {
echo 'On the map'; // Default to Russian or the original language
}
?>
</a></div>
</div>
<?php endwhile; ?>
<?php endif; ?>
</div>
</div>
<div class="row footer-copyright ">
<div class="copyright wow animate__animated animate__fadeInLeft">
<?php
// Get the current language
$current_language = wpm_get_language();
// Output the appropriate translation based on the current language
if ($current_language == 'ru') {
echo 'ТОО «Green clinic» БИН 110340019261 </br>';
echo '© 2023 «GreenClinic». Все права защищены Использование материалов допускается с указанием активной ссылки на сайт greenclinic.kz';
} elseif ($current_language == 'kz') {
echo '© 2023 «GreenClinic». Барлық құқықтар қорғалған. Greenclinic.kz сайтына белсенді сілтеме арқылы материалдарды пайдалануға рұқсат етіледі
';
} else {
echo '© 2023 GreenClinic. All rights reserved. The use of the materials is allowed only with reference to the active hyperlink to the website greenclinic.kz
'; // Default to Russian or the original language
}
?>
</div>
<div class="privacy-policy wow animate__animated animate__fadeInRight"><a href="/documents-licenses">
<?php
// Get the current language
$current_language = wpm_get_language();
// Output the appropriate translation based on the current language
if ($current_language == 'ru') {
echo 'Политика конфиденциальности';
} elseif ($current_language == 'kz') {
echo 'Құпиялылық саясаты';
} else {
echo 'Privacy Policy'; // Default to Russian or the original language
}
?>
</a></div>
</div>
</div>
</footer>
<div class="callback-widjet">
<div class="links-widjet">
<div class="links-widjet-item"><a href="#">Заказ звонка</a></div>
<div class="links-widjet-item">
<a href="#">
<?php
// Get the current language
$current_language = wpm_get_language();
// Output the appropriate translation based on the current language
if ($current_language == 'ru') {
echo 'ОСМС';
} elseif ($current_language == 'kz') {
echo 'МӘМС';
} else {
echo 'OSMS'; // Default to Russian or the original language
}
?>
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M18 12L18.3536 11.6464L18.7071 12L18.3536 12.3536L18 12ZM6 12.5C5.72386 12.5 5.5 12.2761 5.5 12C5.5 11.7239 5.72386 11.5 6 11.5V12.5ZM14.3536 7.64645L18.3536 11.6464L17.6464 12.3536L13.6464 8.35355L14.3536 7.64645ZM18.3536 12.3536L14.3536 16.3536L13.6464 15.6464L17.6464 11.6464L18.3536 12.3536ZM18 12.5H6V11.5H18V12.5Z" fill="#2D2828"/>
</svg>
</div>
<div class="links-widjet-item">
<a href="#">
<?php
// Get the current language
$current_language = wpm_get_language();
// Output the appropriate translation based on the current language
if ($current_language == 'ru') {
echo 'Платная поликлиника';
} elseif ($current_language == 'kz') {
echo 'Ақылы емхана';
} else {
echo 'Paid polyclinic'; // Default to Russian or the original language
}
?>
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M18 12L18.3536 11.6464L18.7071 12L18.3536 12.3536L18 12ZM6 12.5C5.72386 12.5 5.5 12.2761 5.5 12C5.5 11.7239 5.72386 11.5 6 11.5V12.5ZM14.3536 7.64645L18.3536 11.6464L17.6464 12.3536L13.6464 8.35355L14.3536 7.64645ZM18.3536 12.3536L14.3536 16.3536L13.6464 15.6464L17.6464 11.6464L18.3536 12.3536ZM18 12.5H6V11.5H18V12.5Z" fill="#2D2828"/>
</svg>
</a>
</div>
</div>
<div class="btn-widjet"></div>
</div>
</div>
<div id="back-to-top">
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="40.000000" height="40.000000" viewBox="0 0 40 40" fill="none">
<path d="M18 11.49L11.41 18.08L8.58 15.25L20 3.83L31.41 15.25L28.58 18.08L22 11.49L22 31.66C22 32.78 21.12 33.66 20 33.66C18.87 33.66 18 32.78 18 31.66L18 11.49Z" fill="#FFFFFF" fill-opacity="1.000000" fill-rule="evenodd"/>
</svg>
</div>
<?php wp_footer(); ?>
<!-- Google Tag Manager -->
<script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.defer=true;j.src=
'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
})(window,document,'script','dataLayer','GTM-N6S2WPPR');</script>
<!-- End Google Tag Manager -->
<!-- Google Tag Manager (noscript) -->
<noscript><iframe src="https://www.googletagmanager.com/ns.html?id=GTM-N6S2WPPR"
height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
<!-- End Google Tag Manager (noscript) -->
<?php /*/ ?>
<!-- Meta Pixel Code -->
<script>
!function(f,b,e,v,n,t,s)
{if(f.fbq)return;n=f.fbq=function(){n.callMethod?
n.callMethod.apply(n,arguments):n.queue.push(arguments)};
if(!f._fbq)f._fbq=n;n.push=n;n.loaded=!0;n.version='2.0';
n.queue=[];t=b.createElement(e);t.defer=!0;
t.src=v;s=b.getElementsByTagName(e)[0];
s.parentNode.insertBefore(t,s)}(window, document,'script',
'https://connect.facebook.net/en_US/fbevents.js');
fbq('init', '883842190570327');
fbq('track', 'PageView');
</script>
<noscript><img height="1" width="1" style="display:none"
src="https://www.facebook.com/tr?id=883842190570327&ev=PageView&noscript=1"
/></noscript>
<!-- End Meta Pixel Code -->
<!-- Yandex.Metrika counter -->
<script type="text/javascript" >
(function(m,e,t,r,i,k,a){m[i]=m[i]||function(){(m[i].a=m[i].a||[]).push(arguments)};
m[i].l=1*new Date();
for (var j = 0; j < document.scripts.length; j++) {if (document.scripts[j].src === r) { return; }}
k=e.createElement(t),a=e.getElementsByTagName(t)[0],k.defer=1,k.src=r,a.parentNode.insertBefore(k,a)})
(window, document, "script", "https://mc.yandex.ru/metrika/tag.js", "ym");
ym(76952473, "init", {
clickmap:true,
trackLinks:true,
accurateTrackBounce:true,
webvisor:true
});
</script>
<noscript><div><img src="https://mc.yandex.ru/watch/76952473" style="position:absolute; left:-9999px;" alt="" /></div></noscript>
<!-- /Yandex.Metrika counter -->
<!-- Google tag (gtag.js) -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-NMRWS8KV9M"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'G-NMRWS8KV9M');
</script>
<script type="text/javascript">
(function(d, w, s) {
var widgetHash = 'eebhjlwqjdbshpv04dg9', gcw = d.createElement(s); gcw.type = 'text/javascript'; gcw.defer = true;
gcw.src = '//widgets.binotel.com/getcall/widgets/'+ widgetHash +'.js';
var sn = d.getElementsByTagName(s)[0]; sn.parentNode.insertBefore(gcw, sn);
})(document, window, 'script');
</script>
<?php /**/ ?>
</body>
</html>