Login   Register  
PHP Classes
elePHPant
Icontem

File: parent.html

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Frederico R. Galvão  >  TemplateBuilder  >  parent.html  
File: parent.html
Role: Sample output
Content type: text/plain
Description: Sample Template
Class: TemplateBuilder
Powerful and easy class to manage templates
 

Contents

Class file image Download
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">

<html>
<head>
    <title><%@title%></title>   <!-- Variable (user defined) -->
</head>

<body>

<table align="center" width="600" cellspacing="2" cellpadding="2" border="1">
<tr>
    <td colspan="2" align="center"><font face="Verdana" size="-2"><%@CL->name%></font></td>    <!-- Class Variable (user defined) -->
</tr>
<tr>
    <td><font face="Verdana" size="-2"><%@author["fred"]%></font></td>    <!-- Array (user defined) -->
    <td><font face="Verdana" size="-2"><%@CL->example[0]%></font></td>    <!-- Class Array (user defined) -->
</tr>
<tr>
    <td><font face="Verdana" size="-2"><%date('Y-M-d')%></font></td>    <!-- Function (predefined) -->
    <td><font face="Verdana" size="-2"><%print_msg(@msg)%></font></td>    <!-- Function (user defined) -->
</tr>
<tr>
    <td><font face="Verdana" size="-2"><%@CL->print_other_msg()%></font></td>    <!-- Class Function (user defined) -->
    <td><%@TP->parse_template("child.html")%></td>    <!-- Second level template -->
</tr>
</table>

</body>
</html>