Location: PHPKode > projects > Simple Site Protection > sspRevision2.2/examples/templates/example1.tpl
<!-- exampl1.tpl.tpl - demo template -->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<title>Untitled Document - w34u</title>
	<meta name="Description" content="template description" />
	<link href="css/styles.css" rel="stylesheet" type="text/css" />
		Site by w34u
		Brighton Media Centre
		Suit G03
		15-17 Middle Street
		East Sussex BN1 1AL
		United Kingdom
		t. +44 (0)1273 321143
		m. +44 (0)7833 512221
		e. hide@address.com
		w. www.w34u.com
	<h1>Template examples: Example1</h1>
	<h2>Simple data replacement</h2>
	<p>Escaped html text<br />
	<h4>Not escaped, designated by the object method</h4>
	<h4>Not escaped, designated by the template</h4>
	{:ne:templateNe} // this line removed on execution
	<h4>Text with newlines no nl2br</h4>
	<h4>Text with newlines with nl2br</h4>
	{:nl2br:textWithBreaksNl2Br} // this line removed on execution
	<h4>Some tag with no data supplied, is just shown</h4>
Return current item: Simple Site Protection