first commit
This commit is contained in:
50
templates/other/advert.php
Normal file
50
templates/other/advert.php
Normal file
@@ -0,0 +1,50 @@
|
||||
<div id="advert_background" onClick="closeAdvert()">
|
||||
<img src="<?=$this -> _advert['img'];?>" id="advert_img">
|
||||
</div>
|
||||
<style type="text/css">
|
||||
#advert_img {
|
||||
border: 10px solid #000000;
|
||||
cursor: pointer;
|
||||
opacity: 1;
|
||||
position: relative;
|
||||
top: 10%;
|
||||
z-index: 1003;
|
||||
}
|
||||
#advert_background {
|
||||
background: rgba( 255, 255, 255, 0.8);
|
||||
height: 100%;
|
||||
left: 0;
|
||||
position: fixed;
|
||||
text-align: center;
|
||||
top: 0;
|
||||
width: 100%;
|
||||
z-index: 1002;
|
||||
}
|
||||
</style>
|
||||
<script type="text/javascript">
|
||||
$( '#advert_img' ).load( function()
|
||||
{
|
||||
var h_i = $( '#advert_img' ).height();
|
||||
|
||||
var h = $(window).height();
|
||||
|
||||
if ( h_i < h )
|
||||
h = h_i;
|
||||
else
|
||||
h = h * 0.80;
|
||||
|
||||
|
||||
var cssObj = {
|
||||
'height' : h + 'px',
|
||||
'margin-top' : '-' + ( h/2 + 10 ) + 'px',
|
||||
'top' : '50%'
|
||||
}
|
||||
|
||||
jQuery('#advert_img').css( cssObj );
|
||||
});
|
||||
|
||||
function closeAdvert() {
|
||||
jQuery("#advert_background").css( 'display' , 'none' );
|
||||
xajax_closeAdvert();
|
||||
}
|
||||
</script>
|
||||
6
templates/other/alert.php
Normal file
6
templates/other/alert.php
Normal file
@@ -0,0 +1,6 @@
|
||||
<?
|
||||
if ( isset( $this -> _alert ) && $this -> _alert )
|
||||
{
|
||||
?><div class="alert"><?=$this -> _alert;?></div><?
|
||||
}
|
||||
?>
|
||||
16
templates/other/banners.php
Normal file
16
templates/other/banners.php
Normal file
@@ -0,0 +1,16 @@
|
||||
<div class="title">Polecamy</div>
|
||||
<div id="banner_container">
|
||||
<? if ( is_array( $this -> _banners ) ): foreach ( $this -> _banners as $baner ):?>
|
||||
<div class="banner">
|
||||
<a href="<?= $baner['link'];?>" rel="nofollow">
|
||||
<img src="resources/thumber.php?img=<?= $baner['image'];?>&w=540" />
|
||||
</a>
|
||||
</div>
|
||||
<? endforeach; endif;?>
|
||||
</div>
|
||||
<script type="text/javascript" src="/resources/jquery.cycle.all.js"></script>
|
||||
<script type="text/javascript">
|
||||
$( document ).ready( function() {
|
||||
$( '#banner_container' ).cycle();
|
||||
});
|
||||
</script>
|
||||
10
templates/other/clock.php
Normal file
10
templates/other/clock.php
Normal file
@@ -0,0 +1,10 @@
|
||||
<script type='text/javascript' src='resources/jquery.jclock.js'></script>
|
||||
<script type='text/javascript'>
|
||||
$(document).ready(function(){
|
||||
$('#clock').jclock();
|
||||
});
|
||||
</script>
|
||||
<div class="date_clock">
|
||||
<?=$this -> _data;?>
|
||||
<div id='clock'></div>
|
||||
</div>
|
||||
10
templates/other/contact-message.php
Normal file
10
templates/other/contact-message.php
Normal file
@@ -0,0 +1,10 @@
|
||||
<? global $config;?>
|
||||
<p style="font-weight: bold;">Witaj,</p>
|
||||
<p>poniżej znajdziesz wiadomość wysłaną ze strony <span style="font-weight: bold;">www.<?= $config['page'];?></span>.</p>
|
||||
<p></p>
|
||||
<p><span style="font-weight: bold;">Imię i nazwisko:</span> <?= $this -> _data['ac-name'];?></p>
|
||||
<p><span style="font-weight: bold;">Firma:</span> <?= $this -> _data['ac-firm'];?></p>
|
||||
<p><span style="font-weight: bold;">Email:</span> <?= $this -> _data['ac-email'];?></p>
|
||||
<p><span style="font-weight: bold;">Roczna ilość:</span> <?= $this -> _data['ac-quantity'];?></p>
|
||||
<p><span style="font-weight: bold;">Treść:</span></p>
|
||||
<p><?= nl2br( $this -> _data['ac-text'] );?></p>
|
||||
18
templates/other/contact-mini.php
Normal file
18
templates/other/contact-mini.php
Normal file
@@ -0,0 +1,18 @@
|
||||
<? global $lang;?>
|
||||
<div id='contact_mini'>
|
||||
<div id="title"><?= $lang -> getTrans( 'T_KONTAKT' );?></div>
|
||||
<?
|
||||
if ( isset( $this -> _firm_name ) && $this -> _firm_name )
|
||||
echo '<div class="contact_line">' . $this -> _firm_name . '</div>';
|
||||
|
||||
if ( isset( $this -> _street ) || isset( $this -> _postal_code ) || isset( $this -> _city ) )
|
||||
echo '<div class="contact_line">' . $this -> _street . '<br />' . $this -> _postal_code . ' ' . $this -> _city . '</div>';
|
||||
|
||||
if ( $this -> _phone || $this -> _email )
|
||||
{
|
||||
echo '<div class="contact_line">';
|
||||
echo $lang -> getTrans( 'T_TEL' ) . ' ' . $this -> _phone . '<br /><a href="mailto:' . $this -> _email . '">' . $this -> _email . '</a>';
|
||||
echo '</div>';
|
||||
}
|
||||
?>
|
||||
</div>
|
||||
8
templates/other/cookie-information.php
Normal file
8
templates/other/cookie-information.php
Normal file
@@ -0,0 +1,8 @@
|
||||
<div id="cookie_information" style="position: fixed; bottom: 0; padding: 10px 0; background: #484848; color: #939393; text-align: center; width: 100%; font-size: 10px; line-height: 16px;">
|
||||
<p style="bottom: 10px;">
|
||||
W ramach naszej witryny stosujemy pliki cookies w celu świadczenia Państwu usług na najwyższym poziomie, w tym w sposób dostosowany do indywidualnych potrzeb.
|
||||
Korzystanie z witryny bez zmiany ustawień dotyczących cookies oznacza akceptację faktu iż będą one zamieszczane w Państwa urządzeniu końcowym.
|
||||
Możecie Państwo dokonać w każdym czasie zmiany ustawień dotyczących cookies.
|
||||
</p>
|
||||
<a href="#" onclick="xajax_setCookieInf(); $( '#cookie_information' ).hide(); return false;" style="color: #FFF;">[akceptuję]</a>
|
||||
</div>
|
||||
3
templates/other/copyright.php
Normal file
3
templates/other/copyright.php
Normal file
@@ -0,0 +1,3 @@
|
||||
<div id="copyright">
|
||||
Realizacja: <a href="http://www.project-pro.pl/" title="Project-Pro">Project-Pro</a> - <a href="http://www.project-pro.pl/" title="projektowanie stron www">projektowanie stron www</a>
|
||||
</div>
|
||||
46
templates/other/facebook-like-box.php
Normal file
46
templates/other/facebook-like-box.php
Normal file
@@ -0,0 +1,46 @@
|
||||
<div id="facebook">
|
||||
<div id="facebook-toggle"></div>
|
||||
<iframe src="//www.facebook.com/plugins/likebox.php?href=<?= urlencode( \admin\factory\Settings::getSystemSettings( 'facebook_url' ) );?>&width=292&height=558&show_faces=true&colorscheme=light&stream=true&border_color=%23FFF&header=false&appId=194295077275888" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:292px; height:558px;" allowTransparency="true"></iframe>
|
||||
</div>
|
||||
<style type="text/css">
|
||||
#facebook {
|
||||
position: fixed;
|
||||
top: 50%;
|
||||
margin-top: -275px;
|
||||
background: #FFF;
|
||||
z-index: 10;
|
||||
border: 1px solid #3B5998;
|
||||
border-left: 0px;
|
||||
width: 292px;
|
||||
height: 550px;
|
||||
left: -293px;
|
||||
-webkit-box-shadow: 1px 0px 3px 1px rgba(0, 0, 0, 0.3);
|
||||
box-shadow: 1px 0px 3px 1px rgba(0, 0, 0, 0.3);
|
||||
}
|
||||
#facebook-toggle {
|
||||
background: url( '/images/system/facebook.jpg' ) no-repeat center;
|
||||
height: 133px;
|
||||
width: 50px;
|
||||
position: relative;
|
||||
z-index: 12;
|
||||
float: right;
|
||||
right: -50px;
|
||||
top: -1px;
|
||||
-webkit-box-shadow: 1px 0px 3px 1px rgba(0, 0, 0, 0.3);
|
||||
box-shadow: 1px 0px 3px 1px rgba(0, 0, 0, 0.3);
|
||||
cursor: pointer;
|
||||
}
|
||||
#facebook iframe {
|
||||
margin-top: -133px;
|
||||
}
|
||||
</style>
|
||||
<script type="text/javascript">
|
||||
$( function() {
|
||||
$( '#facebook-toggle' ).click( function() {
|
||||
if ( !$( '#facebook' ).hasClass( 'show' ) )
|
||||
$( '#facebook' ).addClass( 'show' ).animate({ left: 0 }, 1000 );
|
||||
else
|
||||
$( '#facebook' ).removeClass( 'show' ).animate({ left: -293 }, 500 );
|
||||
})
|
||||
})
|
||||
</script>
|
||||
11
templates/other/languages.php
Normal file
11
templates/other/languages.php
Normal file
@@ -0,0 +1,11 @@
|
||||
<div id="languages">
|
||||
<?
|
||||
if ( is_array( $this -> _langs ) ) foreach ( $this -> _langs as $lang_tmp )
|
||||
{
|
||||
echo '<div id="lang_' . $lang_tmp['id'] . '"';
|
||||
if ( $lang_tmp['id'] == $this -> _current_lang )
|
||||
echo ' class="current_lang"';
|
||||
echo ' onClick="document.location.href=\'lang,' . $lang_tmp['id'] . '\';">' . $lang_tmp['id'] . '</div>';
|
||||
}
|
||||
?>
|
||||
</div>
|
||||
2
templates/other/name-day.php
Normal file
2
templates/other/name-day.php
Normal file
@@ -0,0 +1,2 @@
|
||||
<? global $lang; ?>
|
||||
<?=ucfirst( $lang -> getTrans('T_IMIENINY_OBCHODZA') );?>: <br /><span><?=$this -> _nameday;?></span>
|
||||
6
templates/other/static-container.php
Normal file
6
templates/other/static-container.php
Normal file
@@ -0,0 +1,6 @@
|
||||
<div class="static-container" id="static-container-<?= $this -> _container['id'];?>">
|
||||
<?
|
||||
if ( $this -> _container['enabled'] )
|
||||
echo $this -> _container['content'];
|
||||
?>
|
||||
</div>
|
||||
4
templates/other/visit-counter.php
Normal file
4
templates/other/visit-counter.php
Normal file
@@ -0,0 +1,4 @@
|
||||
<? global $lang; ?>
|
||||
<div id="visit_counter">
|
||||
<a><?=$this -> _visit_counter;?></a>
|
||||
</div>
|
||||
Reference in New Issue
Block a user