Location: PHPKode > scripts > Template Interface Engine > template-interface-engine/tablec2.html
<html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>

<body bgcolor="#FFFFFF" text="#000000">
<h3 align="center">Table {$nom$}</h3>
<table width="300" border="1" cellspacing="0" cellpadding="0" bordercolor="#CCCCCC" align="center">
  <tr> 
    <td bgcolor="#CCCCCC"> 
      <div align="center"><b><font size="2" face="Verdana, Arial, Helvetica, sans-serif">Color</font></b></div>
    </td>
  </tr>
  <!--loop:[color]-->
  <!--if:[clr]=[color0 == 'red']-->
  <tr> 
    <td bgcolor="{$color0$}" align="center"><b><font size="2">This is red</font></b></td>
  </tr>
  <!--/if:[clr]-->
  <!--elseif:[clr]=[color0 == "green"]-->
  <tr> 
    <td bgcolor="{$color0$}" align="center"><b><font size="2">And this is GREEN 
      color</font></b></td>
  </tr>
  <!--/elseif:[clr]-->
  <!--elseif:[clr]=[color0 == 'blue']-->
  <tr> 
    <td bgcolor="{$color0$}" align="center"><b><font size="2">Here is Blue row</font></b></td>
  </tr>
  <!--/elseif:[clr]-->
  <!--else:[clr]-->
  <tr> 
    <td bgcolor="{$color0$}" align="center"><b><font size="2">&nbsp;</font></b></td>
  </tr>
  <!--/else:[clr]-->
  <!--/loop:[color]-->
</table>
</body>
</html>
Return current item: Template Interface Engine