Login   Register  
PHP Classes
elePHPant
Icontem

File: examples/templates/example3.tpl

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Raphael G.  >  x64Template Engine  >  examples/templates/example3.tpl  >  Download  
File: examples/templates/example3.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: 8 years ago
Size: 1,306 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/>
   	<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>
   				<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>
   			</td>
   		</tr>
   	{/loop:products}
   	</table>
   </body>
</html>