Login   Register  
PHP Classes
elePHPant
Icontem

File: examples/projects.template

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of philippe thomassigny  >  DomCore  >  examples/projects.template  >  Download  
File: examples/projects.template
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: DomCore
Base library for PHP Web applications
Author: By
Last change: patch 1.01.06
Date: 2 years ago
Size: 1,571 bytes
 

Contents

Class file image Download
%-- This is the example of a template --%

<br />
<b>{title}</b><br />
<table style="width: 300px; border: 1px solid #333;">
@@data:template3:{status}@@
</table>
<br /><br />


[[template3.key.6]]
  <tr style="background-color: #fc0;"><td style="border-bottom: 1px dotted #666;">{id}</td><td style="border-bottom: 1px dotted #666;">{name}</td><td style="border-bottom: 1px dotted #666;">{statusname}</td><td>??{flag}:flag??</td></tr>

[[flag]]
<img src="../skins/images/{flag}" />
[[]]

[[flag.none]]
N/A
[[]]

[[]]

[[template3.sel.3]]
  <tr style="background-color: #cfc;"><td style="border-bottom: 1px dotted #666;">{id}</td><td style="border-bottom: 1px dotted #666;">{name}</td><td style="border-bottom: 1px dotted #666; font-weight: bold; color: green;">{statusname}</td><td>??{flag}:flag??</td></tr>

[[flag]]
<img src="../skins/images/{flag}" />
[[]]

[[flag.none]]
N/A
[[]]

[[]]

[[template3.loop]]
  <tr style="background-color: #bbf;"><td style="border-bottom: 1px dotted #666;">{id}</td><td style="border-bottom: 1px dotted #666;">{name}</td><td style="border-bottom: 1px dotted #666;">{statusname}</td><td>??{flag}:flag??</td></tr>

[[flag]]
<img src="../skins/images/{flag}" />
[[]]

[[flag.none]]
N/A
[[]]

[[]]

[[template3.loopalt]]
  <tr style="background-color: #ccf;"><td style="border-bottom: 1px dotted #666;">{id}</td><td style="border-bottom: 1px dotted #666;">{name}</td><td style="border-bottom: 1px dotted #666;">{statusname}</td><td>??{flag}:flag??</td></tr>

[[flag]]
<img src="../skins/images/{flag}" />
[[]]

[[flag.none]]
N/A
[[]]

[[]]