Example #1
0
<?php

echo '<!DOCTYPE html>';
echo '<html lang="pl">';
echo '<head>';
echo '<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">';
echo Template::inLineCss('complete');
echo WriteBox("head");
echo '</head>';
echo '<body>';
echo Template::useFile("sendinfo", null);
echo WriteBox("content");
echo '<footer>';
echo WriteBox("mailForm");
echo Template::useFile("footer", null);
echo '</footer>';
echo '</body>';
echo '<link href="//fonts.googleapis.com/css?family=Cambay:400,700&subset=latin-ext,latin" rel="stylesheet" type="text/css">';
echo '<script type="text/javascript" src="' . Template::src('js/jquery-2.1.4.min.js') . '"></script>';
echo '<script type="text/javascript" src="' . Template::src('js/parallax.min.js') . '"></script>';
echo '<script type="text/javascript" src="' . Template::src('js/jquery.zoom.min.js') . '"></script>';
echo '<script type="text/javascript" src="' . Template::src('js/add.js') . '"></script>';
echo '<script>';
echo WriteBox("script");
echo "(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)})(window,document,'script','//www.google-analytics.com/analytics.js','ga');ga('create', 'UA-70566104-1', 'auto');ga('send', 'pageview');";
echo '</script>';
echo '</html>';
Example #2
0
<?php

header('Content-Type: text/html; charset=utf-8');
header("HTTP/1.0 404 Not Found");
include_once './engine/template/Template.php';
?>
<!DOCTYPE>
<html lang="pl">
  <head>
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
  	<title>404 Nie znaleziono strony</title>
    <?php 
echo Template::inLineCss('404');
?>
  </head>
  <body>
    <div class="big-margin">
      <div class="container clearfix">
        <div class="col-9 small-tablet fullwidth-rwd">
          <h1 class="title">404 Not found</h1>
        </div>
        <div class="col-3 pull-right tr small-tablet-hidden">
          <a class="social-one" href="#">
            <i class="icon icon-facebook"></i>
          </a>
        </div>
      </div>
      <div class="container error404 clearfix">
        <div class="col-8 first-break fullwidth-rwd">
          <div class="image-box pr pull-left small-tablet fullwidth-rwd">
            <img src="<?php