PHP Classes

File: ifelse.html

Recommend this page to a friend!
  Classes of Valics Lehel   Fast Template   ifelse.html   Download  
File: ifelse.html
Role: Example script
Content type: text/plain
Description: Example of using new features in FastTemplate
Class: Fast Template
Updated revision of CDI Fast Template engine
Author: By
Last change:
Date: 17 years ago
Size: 1,092 bytes


Class file image Download
{* $Id: ifelse.html,v 1.2 2005/06/15 19:37:15 vadim Exp $
Example of using new features in FastTemplate
start: Mon Jan 17 23:16:57 EET 2005 @928 /Internet Time/
@author Voituk Vadim

This is template comments!!!
Now you can use it!!! ;-)


<form method="post">
    Select user name (optional)<input type="text" name="name" />
    <br />
    Select user surname (optional) <input type="text" name="surname" />
    <br />
    Select number <select name="number"><option value="1">1</option>
    <option value="2">2</option>
    <option value="3">3</option>
    <option value="4">4</option>
    <option value="5">5</option>
    <br />
    <input type="submit" />

User name: {USER_NAME}<br />
Users surname: {USER_SURNAME}
<!-- ELSE -->
<i>Users surname is not defined</i>
<!-- ENDIF -->
<br />
<br />

<!-- BEGIN DYNAMIC BLOCK: dn_test -->
    <!-- IFDEF: is_li_selected -->
    <!-- ELSE -->
    <!-- ENDIF -->
<!-- END DYNAMIC BLOCK: dn_test -->