PATH:
root
/
alutechniktemplates
<?php $class = "page"; include_once "begin.php"; ob_start(); ?> <main class="home"> <section class="section offer "> <div class="container-wide"> <div class="offer__container realizacje"> <h1>Realizacje</h1> <div class="rel"> <?php $realizacje = $db->select("realizacje$lang",NULL, NULL, "WHERE `pokaz` = 1 ORDER BY data ASC "); foreach ($realizacje as $cKey => $cVal) { $postID = $cVal['id']; if ($cVal['tytul']) { ?> <h3 ><?php echo $cVal['tytul']; ?></h3> <?php $g = Utils::dirFiles($cVal['galeria']); ?> <div class="row-rel"> <?php foreach ($g as $cKey => $cVal) { ?> <a href="<?php echo $cVal ?>" style="background-image: url('<?php echo $cVal ?>')"> </a> <?php } ?> </div> <?php }} ?> </div> </div> </div> </section> </main> <?php include_once "footer.php"; ?> <script type="text/javascript"> $(document).ready(function(){ $(document).on('click','.show_more',function(){ var ID = $(this).attr('id'); var L ='<?php echo $langurl;?>'; var MORE ='<?php echo MORE ?>'; $.ajax({ beforeSend : function(xhr) { xhr.overrideMimeType('text/html; charset=UTF-8'); }, type:'POST', url:'templates/ajax_more.php', data:{id:ID, lang:L, more:MORE}, success:function(html){ $('#show_more_main'+ID).remove(); $('.realizacje').append(html); } }); Cookies.set('rel', ID, { expires: 1 }) }); }); </script> </body> </html>
[-] page-cry.php
[edit]
[-] gallery.php
[edit]
[-] contact.php
[edit]
[-] paginator.php
[edit]
[+]
..
[-] form.php
[edit]
[-] page-multi.php
[edit]
[-] header.php
[edit]
[-] top.php
[edit]
[-] page-sales.php
[edit]
[-] form-send.php
[edit]
[-] page-testimonials.php
[edit]
[-] category.php
[edit]
[-] home.php
[edit]
[-] footer.php
[edit]
[-] page-m.php
[edit]
[-] page.php
[edit]
[-] page-video.php
[edit]
[-] news.php
[edit]
[-] page-m2.php
[edit]
[-] page-work.php
[edit]
[-] ajax_more.php
[edit]
[-] begin.php
[edit]
[-] realizations.php
[edit]
[-] page-press.php
[edit]