Login   Register  
PHP Classes
elePHPant
Icontem

File: examples/templates/list_and_rows.html

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of tokkara  >  Simphple  >  examples/templates/list_and_rows.html  >  Download  
File: examples/templates/list_and_rows.html
Role: Auxiliary data
Content type: text/plain
Description: Documentation
Class: Simphple
Process templates compiling into PHP code
Author: By
Last change:
Date: 2012-11-06 05:22
Size: 683 bytes
 

Contents

Class file image Download
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
<title>Examples of list and rows</title>
</head>
<body>
<div>
    <h1>Lists</h1>
    <ul>
        <!-- FOREACH country = $list_countries -->
            <li>
                <b>Name: </b>$country.name
                <ul>
                    <!-- FOREACH city = $country.cities -->
                        <li><b>Name: </b>$city.name</li>
                    <!-- ENDFOREACH -->
                </ul>
            </li>
        <!-- ENDFOREACH -->
    </ul>
</div>
</body>
</html>