PHP Classes

File: examples/inheritance/layout.html

Recommend this page to a friend!
  Classes of Cesar D. Rodas   Haanga   examples/inheritance/layout.html   Download  
File: examples/inheritance/layout.html
Role: Auxiliary data
Content type: text/plain
Description: Example template
Class: Haanga
Template engine to process Django style templates
Author: By
Last change: Update of examples/inheritance/layout.html
Date: 4 years ago
Size: 1,137 bytes
 

Contents

Class file image Download
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML Frameset//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd"> <html> <head> <title>{% block title %}Default title{% endblock %}</title> <style type="text/css"> {% block style %} body { background-color: #333; color: #eee; font-family: 'Arial', sans-serif; font-size: 0.9em; } a { color: #d00; } {% endblock %} </style> </head> <body> {% block body %} <div id="header"> <h1>My Webpage</h1> <h2>My Subtitle</h2> </div> <div id="navigation"> <ul> {% block navigation %} <li><a href="index.html">My Home</a></li> <li><a href="downloads.html">Download</a></li> <li><a href="about.html">About us</a></li> {% endblock %} </ul> </div> <div id="content"> {% block content %}{% endblock %} </div> <div id="footer"> {% include 'shared/about.html' %} &copy; Copyright 2007 by Yourself </div> {% endblock %} </body> </html>