add eng blocks

This commit is contained in:
arlemp@selectel.ru
2021-12-12 19:26:50 +03:00
parent 59422e2499
commit 1500b493c9
6 changed files with 113 additions and 14 deletions

View File

@@ -7,14 +7,19 @@
<div id="left">
<?php // include VIJ_CACHE.'leftmenu.html';?>
<?php get_template_part( '/blocks/leftmenu');?>
<?php get_template_part( '/blocks/opinion', null, ['subclass' => '']);?>
<?php get_template_part( '/blocks/citats')?>
<?php //include VIJ_CACHE.'opinion.html';?>
<?php //get_template_part( '/blocks/citata', null, ['subclass' => '']);?>
<?php get_template_part( '/blocks/events');?>
<?php //include VIJ_CACHE.'events.html';?>
<?php // include VIJ_CACHE.'leftmenu.html';?>
<?php get_template_part( '/blocks/leftmenu');?>
<?if (LANG_VERSION == 'ru'):?>
<?php get_template_part( '/blocks/opinion', null, ['subclass' => '']);?>
<?php get_template_part( '/blocks/citats')?>
<?php //include VIJ_CACHE.'opinion.html';?>
<?php //get_template_part( '/blocks/citata', null, ['subclass' => '']);?>
<?php get_template_part( '/blocks/events');?>
<?php //include VIJ_CACHE.'events.html';?>
<?endif?>
<div class="right-info">
<a href="https://vetandlife.ru/vetspetsialist-sportsmenka-i-prosto-kras/">
@@ -82,12 +87,24 @@
<?php get_template_part( '/blocks/zakons');?>
<?if (LANG_VERSION == 'en'){
get_template_part( '/blocks/regulation');
}
else {
get_template_part( '/blocks/zakons');
}
?>
<?php //include VIJ_CACHE.'zakons.html';?>
<?get_template_part( '/blocks/mosts', null, ['subclass' => '']);?>
<?get_template_part( '/blocks/mosts', null, ['subclass' => 'mob-lite']);?>
<?if (LANG_VERSION == 'en'):?>
<?get_template_part( '/blocks/enmosts', null, ['subclass' => '']);?>
<?get_template_part( '/blocks/enmosts', null, ['subclass' => 'mob-lite']);?>
<?else:?>
<?get_template_part( '/blocks/mosts', null, ['subclass' => '']);?>
<?get_template_part( '/blocks/mosts', null, ['subclass' => 'mob-lite']);?>
<?endif?>
<?//php include VIJ_CACHE.'mosts.html';?>
</div>
</div><!-- end main -->