PHP Classes

File: templates/content.tpl.php

Recommend this page to a friend!
  Classes of Victor V. Nabatov   PHP Template Compiler   templates/content.tpl.php   Download  
File: templates/content.tpl.php
Role: Auxiliary script
Content type: text/plain
Description: Auxiliary script
Class: PHP Template Compiler
Template engine that compiles logic into PHP code
Author: By
Last change: Fixed bug in "else"
Date: 6 years ago
Size: 429 bytes


Class file image Download
# PHP Template Compiler v2.0
# Copyright (c) 2016 Victor Nabatov
# Content template

    <!-- IF $title == 'Included content' -->
        <div class="title center"><h[$size]>__$title__</h[$size]></div>
    <!-- ELSE -->
        <div class="title center"><h[$size]>__This text is included__</h[$size]></div>
    <!-- END -->
    <div class="content">