Initial commit
This commit is contained in:
27
playarea/templates/main/sale.php
Normal file
27
playarea/templates/main/sale.php
Normal file
@@ -0,0 +1,27 @@
|
||||
<section class="section actions-block">
|
||||
<div class="container">
|
||||
<h2 class="little actions-block__heading">Акции и спецпредложения</h2>
|
||||
<ul class="actions-block__list actions-list row justify-content-between">
|
||||
<?php $title = $b->setting_get_value("main_sale_text_1"); ?>
|
||||
<?php $link = $b->setting_get_value("main_sale_link_1"); ?>
|
||||
<?php $image = $b->setting_get_value("main_sale_image_1"); ?>
|
||||
<a class="actions-list__item actions-list__item_first half" href="<?= $link; ?>" style="background-image: url(<?= $image; ?>);"></a>
|
||||
<?php $title = $b->setting_get_value("main_sale_text_2"); ?>
|
||||
<?php $link = $b->setting_get_value("main_sale_link_2"); ?>
|
||||
<?php $image = $b->setting_get_value("main_sale_image_2"); ?>
|
||||
<a class="actions-list__item actions-list__item_second half" href="<?= $link; ?>" style="background-image: url(<?= $image; ?>);"></a>
|
||||
<?php $title = $b->setting_get_value("main_sale_text_3"); ?>
|
||||
<?php $link = $b->setting_get_value("main_sale_link_3"); ?>
|
||||
<?php $image = $b->setting_get_value("main_sale_image_3"); ?>
|
||||
<a class="actions-list__item actions-list__item_third one-third" href="<?= $link; ?>" style="background-image: url(<?= $image; ?>);"></a>
|
||||
<?php $title = $b->setting_get_value("main_sale_text_4"); ?>
|
||||
<?php $link = $b->setting_get_value("main_sale_link_4"); ?>
|
||||
<?php $image = $b->setting_get_value("main_sale_image_4"); ?>
|
||||
<a class="actions-list__item actions-list__item_fourth one-third" href="<?= $link; ?>" style="background-image: url(<?= $image; ?>);"></a>
|
||||
<?php $title = $b->setting_get_value("main_sale_text_5"); ?>
|
||||
<?php $link = $b->setting_get_value("main_sale_link_5"); ?>
|
||||
<?php $image = $b->setting_get_value("main_sale_image_5"); ?>
|
||||
<a class="actions-list__item actions-list__item_fifth one-third" href="<?= $link; ?>" style="background-image: url(<?= $image; ?>);"></a>
|
||||
</ul>
|
||||
</div>
|
||||
</section>
|
||||
Reference in New Issue
Block a user