Login   Register  
PHP Classes
elePHPant
Icontem

File: demo/templates/default/wrapper.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Nick Tompson  >  Flexible Template Engine  >  demo/templates/default/wrapper.php  >  Download  
File: demo/templates/default/wrapper.php
Role: Example script
Content type: text/plain
Description: Template wrapper file to which all output is based.
Class: Flexible Template Engine
Template processing engine
Author: By
Last change:
Date: 2008-06-30 16:39
Size: 341 bytes
 

Contents

Class file image Download
<?php
// Make sure we are running safe!
if ( !defined"TEMPL_ENGINE_IN" ) )
{
    die();
}

//
// This is the main wrapper to which all output is based.
// Edit it here.
//

$WRAPPER = <<<EOF
<html>
<head>
    <title>{%PAGE_TITLE%}</title>
</head>

<body>

{%HEADER%}

{%CONTENT%}

{%FOOTER%}

</body>
</html>
EOF;
?>