first commit
This commit is contained in:
245
_rejestracja/template/index.tpl.bak
Normal file
245
_rejestracja/template/index.tpl.bak
Normal file
@@ -0,0 +1,245 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||
<link rel="icon" type="image/png" href="{$urlStatic}/image/Strona/favicon.png" />
|
||||
<!--[if lte IE 8]><script src="{$urlStatic}/script/jQuery/html5shiv.js"></script><![endif]-->
|
||||
<link href="https://fonts.googleapis.com/css?family=Source+Sans+Pro:200,200i,300,300i,400,400i,600,600i,700,700i,900,900i" rel="stylesheet">
|
||||
<link rel="stylesheet" href="{$urlStatic}/css/Strona/style.css" type="text/css" />
|
||||
<link rel="stylesheet" href="{$urlStatic}/css/flexslider.css" type="text/css" />
|
||||
<link rel="stylesheet" href="{$urlStatic}/css/Strona/swipebox.css" type="text/css" />
|
||||
<link rel="stylesheet" href="{$urlStatic}/css/Strona/skin.css" type="text/css" />
|
||||
{* <link rel="stylesheet" href="{$urlStatic}/css/bjqs.css" />*}
|
||||
|
||||
<meta name="keywords" content="{$metaKeywords|default:" $defaultKeywords"}" />
|
||||
<meta name="description" content="{$metaDescription|default:" $defaultDescription"}" />
|
||||
{if $headerRedirect.url!=''}
|
||||
<meta http-equiv="Refresh"
|
||||
content="{$headerRedirect.time}; URL={$headerRedirect.url}" />
|
||||
{/if}
|
||||
<title>{$pageTitle}</title>
|
||||
<script src="{url label="translateJs"}" type="text/javascript" charset="utf-8"></script>
|
||||
<script type="text/javascript">
|
||||
var mainUrl = '{$urlMain}';</script>
|
||||
{section name=s loop=$javaScript} {if $javaScript[s].file!=''}
|
||||
<script src="{$javaScript[s].file}" type="text/javascript"
|
||||
charset="utf-8"></script>
|
||||
{/if} {if $javaScript[s].code!=''}
|
||||
<script type="text/javascript">
|
||||
<!-- <![CDATA[
|
||||
{
|
||||
$javaScript[s].code
|
||||
}
|
||||
// ]]> -->
|
||||
</script>
|
||||
{/if} {/section}
|
||||
|
||||
{literal}
|
||||
<script type="text/javascript">
|
||||
$(function () {
|
||||
$('#gallery a')
|
||||
.swipebox();
|
||||
$('a.gallery')
|
||||
.swipebox();
|
||||
|
||||
$('.gmaps')
|
||||
.swipebox({
|
||||
afterOpen: function () {
|
||||
$('#swipebox-slider').html('<div class="slide"><iframe src="https://www.google.com/maps/d/embed?mid=1g5i3gHu_eIJ7v4leNgZqC3SmhTw" width="90%" height="90%"></iframe></div>');
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
|
||||
|
||||
</script>
|
||||
{/literal}
|
||||
{*
|
||||
$('#header').css({top: "-25px"});
|
||||
$('.top').css({height: "49px"});
|
||||
$('h1.logo').css({marginTop: "10px"});
|
||||
$('h1.logo').css({marginBottom: "-25px"});
|
||||
$('.menu').css({lineHeight: "32px"});
|
||||
$('#logo').addClass('logo-small');
|
||||
$('.find').addClass('find-small');
|
||||
$('.langIcon').addClass('langIcon-small');
|
||||
|
||||
*}
|
||||
|
||||
|
||||
{literal}
|
||||
<script>
|
||||
window.addEventListener('resize', function () {
|
||||
if (window.innerWidth > 780) {
|
||||
$(window).load(function () {
|
||||
$("#header").sticky({topSpacing: -150, responsiveWidth: false});
|
||||
$('#header').on('sticky-start', function () {
|
||||
$('#header').addClass('sticky');
|
||||
$('.menu').addClass('menu-small');
|
||||
$('#logo').addClass('logo-small');
|
||||
$('h1.logo').css({marginTop: "120px"});
|
||||
$('h1.logo').css({marginBottom: "-69px"});
|
||||
$('.find').addClass('find-small');
|
||||
$('.langIcon').addClass('langIcon-small');
|
||||
$('.searchButton').addClass('searchButtonSmall');
|
||||
console.log("Started");
|
||||
});
|
||||
$('#header').on('sticky-end', function () {
|
||||
$('#header').removeClass('sticky');
|
||||
$('#logo').removeClass('logo-small');
|
||||
$('.find').removeClass('find-small');
|
||||
$('.langIcon').removeClass('langIcon-small');
|
||||
$('#logo').addClass('logo');
|
||||
$('#header').css({top: "0px"});
|
||||
$('h1.logo').css({marginTop: "25px"});
|
||||
$('h1.logo').css({marginBottom: "0px"});
|
||||
$('.menu').removeClass('menu-small');
|
||||
$('.searchButton').removeClass('searchButtonSmall');
|
||||
console.log("end");
|
||||
});
|
||||
});
|
||||
}
|
||||
});
|
||||
</script>
|
||||
|
||||
<script type="text/javascript">
|
||||
|
||||
|
||||
function beforeSlider_001(slider) {
|
||||
$(slider.get(0)).find('.desc-wrap h3').each(function () {
|
||||
$(this).css('opacity', 0);
|
||||
});
|
||||
$(slider.get(0)).find('.desc-wrap .desc p').each(function () {
|
||||
$(this).css('opacity', 0);
|
||||
});
|
||||
$(slider.get(0)).find('.desc-wrap a').each(function () {
|
||||
$(this).css('opacity', 0);
|
||||
});
|
||||
}
|
||||
|
||||
function afterSlider_001(slider) {
|
||||
var content = $(slider.slides.get(slider.currentSlide));
|
||||
content.find('.desc-wrap h3').css('visibility', 'visible');
|
||||
content.find('.desc-wrap h3').delay(400).animate({opacity: 1}, 1000);
|
||||
content.find('.desc-wrap .desc p').css('visibility', 'visible');
|
||||
content.find('.desc-wrap .desc p').delay(700).animate({opacity: 1}, 1000);
|
||||
content.find('.desc-wrap a').css('visibility', 'visible');
|
||||
content.find('.desc-wrap a').delay(1200).animate({opacity: 1}, 1000);
|
||||
}
|
||||
|
||||
$(window).load(function () {
|
||||
$('.flexslider').flexslider({
|
||||
slideshowSpeed: {/literal}{$slideshowSpeed*1000}{literal},
|
||||
animationSpeed: 2000,
|
||||
easing: "swing",
|
||||
useCSS: "false",
|
||||
touch: false,
|
||||
slideshow: true,
|
||||
animation: "fade",
|
||||
start: function (slider) {
|
||||
|
||||
beforeSlider_001(slider);
|
||||
afterSlider_001(slider);
|
||||
},
|
||||
before: function (slider) {
|
||||
|
||||
beforeSlider_001(slider);
|
||||
},
|
||||
after: function (slider) {
|
||||
|
||||
afterSlider_001(slider);
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
</script>
|
||||
|
||||
{/literal}
|
||||
{if isset($indexSG)}
|
||||
|
||||
{literal}
|
||||
|
||||
{/literal}
|
||||
{/if}
|
||||
{if isset($analyticsCode)}
|
||||
{$analyticsCode}
|
||||
{/if}
|
||||
</head>
|
||||
<body>
|
||||
{* Header *}
|
||||
<header id="header" class="header">
|
||||
{* Top *}
|
||||
<div class="top">
|
||||
<div class="col-4 col-s-5"><h1 id="logo" class="logo"> <a title=" " href="{$urlMain}/{$lang}">Strona Główna - PROCARD - tworzenie efektywnych i bezpiecznych systemów automatyzacji transakcji</a></h1></div>
|
||||
<div class="find col-4 col-s-4"><form action="{url label=$searchLabel}" method="post"><input type="text" name="search" size="20" placeholder="{'search_input'|translate}" onkeyup="$('.searchButton').show();" /><button class="searchButton" onclick="">></button></form></div>
|
||||
<div class="langIcon col-1 col-s-1">
|
||||
{if $lang == 'pl'}
|
||||
<a href="{$urlMain}/en"><img src="{$urlStatic}/image/Strona/english.jpg" alt="" border="0" align="left" style="margin-right:8px;">english version</a>
|
||||
{else}
|
||||
<a href="{$urlMain}/pl"><img src="{$urlStatic}/image/Strona/fl_pol.gif" alt="" border="0" align="left" style="margin-right:8px;">wersja polska</a>
|
||||
{/if}
|
||||
</div>
|
||||
<div class="cb"></div>
|
||||
|
||||
</div>
|
||||
<div class="cb"></div>
|
||||
{* Nav *}
|
||||
<nav class="navigation">
|
||||
<div class="menuRwd" onclick="menuRwd();"></div>
|
||||
{$MenuTopTree}
|
||||
</nav>
|
||||
</header>
|
||||
<div class="cb"></div>
|
||||
{* Slider *}
|
||||
{$banerBox}
|
||||
<div class="cb"></div>
|
||||
{* Main Container *}
|
||||
{if isset($indexSG)}
|
||||
{$content}
|
||||
{else}
|
||||
|
||||
<section id="main" class="main contentText right dark fullscreen">
|
||||
|
||||
<div class="content box contentText">
|
||||
<div class="breadCrumbs">
|
||||
{breadCrumbs}
|
||||
</div>
|
||||
{$MenuTopChildTree}
|
||||
|
||||
{$content}
|
||||
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
</section>
|
||||
|
||||
{/if}
|
||||
<footer id="contact" class="main footer">
|
||||
<div class="content container">
|
||||
<div class="box container 75%">
|
||||
<div class="map col-3 col-s-9">
|
||||
<div>
|
||||
{'footer_map'|translate}
|
||||
</div>
|
||||
<div>{'coordinate'|translate}
|
||||
</div>
|
||||
</div>
|
||||
<div class="address col-5 col-s-9">{'footer_address'|translate}</div>
|
||||
<div class="copyright col-4 col-s-9">{'footer_copyright'|translate}</div>
|
||||
</div>
|
||||
</div>
|
||||
</footer>
|
||||
<div style="display: none">
|
||||
<div id="slide1">Slide 1 Content</div>
|
||||
</div>
|
||||
{if !isset($polityka_akceptacja)}
|
||||
<div class="tekst" id="polityka" style="border: #d7dadd 1px dotted; text-align: center; position:fixed; margin: auto; bottom: 0px; padding: 5px; background: #d7dfe5; width: 100%; min-height: 30px; padding: 5px; display: block; z-index:9999;">
|
||||
|
||||
<p>{'polityka_plikow_cookies_text'|translate}
|
||||
<a href="#" onclick="setCookie('polityka_akceptacja', '1', 365);" title="Akceptuj">[x]</a> </p></div>
|
||||
{/if}
|
||||
</body>
|
||||
</html>
|
||||
|
||||
Reference in New Issue
Block a user