PHP Classes

File: template.demo.php

Recommend this page to a friend!
  Classes of Matthew Knowlton   ExTemplate   template.demo.php   Download  
File: template.demo.php
Role: Example script
Content type: text/plain
Description: Example template file
Class: ExTemplate
Extensible template engine with callable functions
Author: By
Last change: Modified Role for File.
Wanted it to be clear that this is part of the example.
Date: 9 years ago
Size: 555 bytes
 

Contents

Class file image Download
<html>
<head>
    {includeStyles (StylesFile)}
    {includeScript (ScriptsFile)}
    <style>
        body{
            background-color: #dddddd;
            color: #00006d;
        }
    </style>
</head>
<body>

    {render (HeaderFile)}
    <hr/>

    <h3>{PageTitle}</h3>

    <ul>
        {foreach (BenefitsOfTemplates) as (key)}
            <li>
                <b>{key} :</b> {BenefitsOfTemplates.key}<br/>
            </li>
        {/foreach}
    </ul>

    <br/>
    <hr/>
    {render (FooterFile)}

</body>
</html>