Login   Register  
PHP Classes
elePHPant
Icontem

File: dinamic.tpl

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Evgeny  >  tplTemplatez  >  dinamic.tpl  >  Download  
File: dinamic.tpl
Role: Example script
Content type: text/plain
Description: example
Class: tplTemplatez
Template class used to separate PHP and HTML
Author: By
Last change:
Date: 2003-04-05 04:39
Size: 558 bytes
 

Contents

Class file image Download
<html>
<head>
    <title>{title}</title>
</head>

<body>
You can have as many dinamic rows in template as you want.<br>

<form action="{PHP_SELF}" method="post" name="form" id="form">
    
    <tmpl:row_checkbox>
    <input type="checkbox" name="checkbox" value="{value}">{caption}<br>
    </tmpl:row_checkbox>
    
    <br><br>
    <select name="select">
        <tmpl:row_select>
        <option value="{value}">{caption}</option>                    
        </tmpl:row_select>                        
    </select>
    <br><br>
    
    <input type="submit" name="submit" value="Submit">

</form>

</body>
</html>