Login   Register  
PHP Classes
elePHPant
Icontem

File: thisisonlyanothertest.pat

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Tomas B  >  phpEngine  >  thisisonlyanothertest.pat  >  Download  
File: thisisonlyanothertest.pat
Role: Unit test script
Content type: text/plain
Description: Another template file
Class: phpEngine
Regular expression match based template engine
Author: By
Last change:
Date: 2004-10-09 11:02
Size: 909 bytes
 

Contents

Class file image Download
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="lt" lang="lt" dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=charset=iso-8859-1" />
<meta name="robots" content="noindex,nofollow">
<title><var>version</var>: sample pattern</title>
<style type="text/css">
body {
    font-family: Arial;
}
td {
    padding: 5px;
    border-right: solid 1px black;
    border-bottom: solid 1px black;
}
table tr.header {
    background: #DADFC5;
    font-weight: bold;
}
</style>
</head>
<body>

<table>
    <tr class="header">
        <td>#</td>
        <td>Country</td>
        <td>Capital</td>
        <td>Date visited</td>
    </tr>

<loop name="loop_name">
    <tr>
        <td>{lnum}.</td>
        <td>{country}</td>
        <td>{capital}</td>
        <td>{date}</td>
    </tr>
</loop>

</table>

</body>
</html>