PHP Classes

File: template/base.php

Recommend this page to a friend!
  Classes of Aleksandar Zivanovic   STPL   template/base.php   Download  
File: template/base.php
Role: Example script
Content type: text/plain
Description: Example script
Class: STPL
Render templates using PHP code scripts
Author: By
Last change:
Date: 5 years ago
Size: 769 bytes
 

Contents

Class file image Download
<!DOCTYPE <!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <title>STPL Example</title>
    <meta name="viewport" content="width=device-width, initial-scale=1">
</head>
<body>
    <div class="container">
        <header class="header">
            <?php STPL::RenderSection('header'); ?>
</header>
        <main class="main">
            <div class="sidebar">
                <?php STPL::RenderSection('sidebar'); ?>
</div>
            <div class="content">
                <?php STPL::RenderSection('content'); ?>
</div>
        </main>
        <footer class="footer">
            <?php STPL::RenderSection('footer'); ?>
</footer>
    </div>
</body>
</html>