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,46 @@
<? global $lang_id;?>
<? if ( $lang_id == 'cz' ):?>
<div class="contact-page">
<div class="row">
<div class="col-12">
<div class="contact-title-box">
<p><?= \S::lang( 'umow-spotkanie' );?></p>
</div>
<div class="contact-calendar cz">
<div class="meetings-iframe-container" style="width: 100%" data-src="https://meetings-eu1.hubspot.com/tomek?embed=true" style="width: 500px;"></div>
<script type="text/javascript" src="https://static.hsappstatic.net/MeetingsEmbed/ex/MeetingsEmbedCode.js"></script>
</div>
</div>
</div>
</div>
<? endif;?>
<? if ( $lang_id == 'pl' ):?>
<div class="contact-page">
<div class="row">
<div class="col-lg-6 form-box">
<div class="contact-text-box">
<p><?= \S::lang( 'kontakt-tekst' );?></p>
</div>
<script charset="utf-8" type="text/javascript" src="//js.hsforms.net/forms/shell.js"></script>
<script>
hbspt.forms.create({
region: "na1",
portalId: "7094950",
formId: "32dcf3ed-82e0-4e67-9d7b-877f797515d3"
});
</script>
</div>
<div class="col-lg-6">
<div class="contact-title-box">
<p><?= \S::lang( 'umow-spotkanie' );?></p>
</div>
<div class="contact-calendar">
<div class="meetings-iframe-container" style="width: 100%" data-src="https://meetings.hubspot.com/s-horoszko1/rozmowa-z-zaufanepl?embed=true"></div>
<script type="text/javascript" src="https://static.hsappstatic.net/MeetingsEmbed/ex/MeetingsEmbedCode.js"></script>
</div>
</div>
</div>
</div>
<? endif;?>

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>

View File

@@ -0,0 +1,38 @@
<?
global $lang;
$this -> page['language']['seo_link'] ? $link = $this -> page['language']['seo_link'] : $link = 's-' . $this -> page['id'] . '-' . \S::seo( $this -> page['language']['title'] );
$range = 2;
$start = max(1, $this->bs - $range);
$end = min($this->ls, $this->bs + $range);
?>
<? if ($this->ls > 1): ?>
<ul class="pager">
<?php if ($this->bs > 1): ?>
<li>
<a href="/<?= $link;?>-s-<?= $this->bs - 1;?>"><img alt="Poprzednia strona" src="/upload/filemanager/icons/previous.svg" /></a>
</li>
<?php else: ?>
<li>
<a href="#" class="inactive"><img alt="Poprzednia strona" src="/upload/filemanager/icons/previous.svg" /></a>
</li>
<?php endif; ?>
<?php for ($i = $start; $i <= $end; $i++): ?>
<li>
<a href="/<?= $link;?>-s-<?= $i;?>" <?php if ($i == $this->bs) echo 'class="active"'; ?>>
<?= $i; ?>
</a>
</li>
<?php endfor; ?>
<?php if ($this->bs < $this->ls): ?>
<li>
<a href="/<?= $link;?>-s-<?= $this->bs + 1;?>"><img alt="Następna strona" src="/upload/filemanager/icons/next.svg" /></a>
</li>
<?php else: ?>
<li>
<a href="#" class="inactive"><img alt="Następna strona" src="/upload/filemanager/icons/next.svg" /></a>
</li>
<?php endif; ?>
</ul>
<?php endif; ?>