Initial import
This commit is contained in:
@@ -0,0 +1,78 @@
|
||||
<?php
|
||||
|
||||
use app\models\Navigation;
|
||||
use app\models\Ts;
|
||||
|
||||
/**
|
||||
* @var Navigation[] $footer_navigation
|
||||
* @var Navigation[] $footer_2_navigation
|
||||
* @var Navigation[] $footer_3_navigation
|
||||
* @var $this \yii\web\View;
|
||||
*/
|
||||
|
||||
|
||||
?>
|
||||
<footer>
|
||||
<div class="content flex">
|
||||
<div class="fc cw1">
|
||||
<img src="/_public/images/dev/vso-2.png">
|
||||
</div>
|
||||
<div class="fc cw3">
|
||||
<div class="fct title top10"><?= Ts::get(22) ?></div>
|
||||
<div class="top10">
|
||||
<?php foreach ($footer_navigation as $button): ?>
|
||||
<div class="fc-link"><a <?= $button->url ? 'target="_blank"' : '' ?>
|
||||
href="<?= $button->parsed->relation ?>"><?= $button->parsed->name ?></a></div>
|
||||
<?php endforeach; ?>
|
||||
</div>
|
||||
</div>
|
||||
<div class="fc cw3">
|
||||
<div class="flex sn fct">
|
||||
<?= $this->render('sn') ?>
|
||||
</div>
|
||||
<div class="top20 ">
|
||||
<?php foreach ($footer_2_navigation as $button): ?>
|
||||
<div class="fc-link"><a <?= $button->url ? 'target="_blank"' : '' ?>
|
||||
href="<?= $button->parsed->relation ?>"><?= $button->parsed->name ?></a></div>
|
||||
<?php endforeach; ?>
|
||||
</div>
|
||||
</div>
|
||||
<div class="fc cw3">
|
||||
<div class="fct"></div>
|
||||
<div class="top20">
|
||||
<?php foreach ($footer_3_navigation as $button): ?>
|
||||
<div class="fc-link"><a <?= $button->url ? 'target="_blank"' : '' ?>
|
||||
href="<?= $button->parsed->relation ?>"><?= $button->parsed->name ?></a></div>
|
||||
<?php endforeach; ?>
|
||||
</div>
|
||||
</div>
|
||||
<div class="fc cw3">
|
||||
<div class="fct top20"></div>
|
||||
<div class="fc-title"><?= Ts::get(23) ?></div>
|
||||
<?= $this->render('mobile-app-buttons'); ?>
|
||||
<div class="top20 flex">
|
||||
<img style="width: 120px; margin: 0 auto; display: block;" src="/_public/images/dev/vso-1.png">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</footer>
|
||||
<?php $ap = \app\models\AboutProject::findOne(1); $lg = Yii::$app->language ?>
|
||||
<div class="content top25 footer-logos">
|
||||
<?php if (Yii::$app->language == 'bg'):
|
||||
$images = $ap->getSrcOfMultipleImages('about_project_logos', '3:1');
|
||||
?>
|
||||
<?php foreach ($images as $image): ?>
|
||||
<img src="<?= $image ?>">
|
||||
<?php endforeach; ?>
|
||||
<?php else: ?>
|
||||
<?php $images = $ap->getSrcOfMultipleImages('about_project_logos_en', '3:1'); ?>
|
||||
<?php foreach ($images as $image): ?>
|
||||
<img src="<?= $image ?>">
|
||||
<?php endforeach; ?>
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
<div class="content ct top25">
|
||||
<div style="width: 100%; max-width: 900px; margin: 0 auto; font-size: 14px; padding-bottom: 25px">
|
||||
<?= $ap->{'text_'.$lg} ?>
|
||||
</div>
|
||||
</div>
|
||||
Reference in New Issue
Block a user