first commit

This commit is contained in:
2024-11-04 19:13:57 +01:00
commit 546cc34310
7718 changed files with 982818 additions and 0 deletions

View File

@@ -0,0 +1,31 @@
<? global $lang_id, $page;?>
<div class="lang-change">
<div class="over"><?= $lang_id ?> <img src="/upload/filemanager/icons/chevron-thin-down.svg"></div>
<? if ( is_array( $this -> languages ) and count( $this -> languages > 1 ) ):?>
<ul>
<? foreach ( $this -> languages as $lg ):?>
<? if ( $lang_id != $lg['id'] && $lg['id'] != 'pl' ):?>
<li>
<a href="<? if ( $lg['id'] == 'cz' ):?>https://spolehliverecenze.cz/<? else:?><?= \front\factory\Pages::lang_url( $page['id'], $lg['id'], $lg['domain'], $this -> default_domain );?><? endif;?>" title="Język: <?= $lg['name'];?>">
<?= $lg['id'] ?>
</a>
</li>
<? endif;?>
<? endforeach;?>
<? if ( $lang_id != 'pl' && $lg['id'] = 'pl' ):?>
<li>
<a href="//zaufane.pl" title="Język: <?= $lg['name'];?>">
<?= $lg['id'] ?>
</a>
</li>
<? endif;?>
</ul>
<? endif;?>
</div>