PHP Classes

File: examples/templates/example4.tpl

Recommend this page to a friend!
  Classes of Full name   x64Template Engine   examples/templates/example4.tpl   Download  
File: examples/templates/example4.tpl
Role: Auxiliary data
Content type: text/plain
Description: Template for the example
Class: x64Template Engine
Template engine extensible with plug-in classes
Author: By
Last change: Moved to an other folder
Date: 18 years ago
Size: 1,622 bytes
 

Contents

Class file image Download
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title> {tag:title} </title> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <meta name="keywords" content="{tag:keywords}" /> <meta name="description" content="{tag:description}" /> <meta name="author" content="{tag:author}" /> <meta name="robots" content="{tag:robots}" /> </head> <body> <div> {tag:message} </div> <br/><br/> {if:products} <table> <tr> <td><b>Products Category</b></td> <td><b>Description</b></td> <td><b>Products</b></td> </tr> {loop:products} <!----> <tr> <td>{tag:products[].name}</td> <td>{tag:products[].description}</td> <td> {if:products[].products} <table> <tr> <td>Product</td> <td>Price</td> </tr> {loop:products[].products} <tr> <td>{tag:products[].products[].name}</td> <td>$ {tag:products[].products[].price}</td> </tr> {/loop:products[].products} </table> {else:products[].products} Sorry, there are no products in this category {/if:products[].products} </td> </tr> {/loop:products} </table> {else:products} Sorry, there are no products at the moment {/if:products} </body> </html>