<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
	<head>
		<meta http-equiv="Content-type" content="text/html; charset=utf-8" />
		<title>Hello, ZOMGWTFLOL!</title>
		
		<script type="text/javascript" charset="utf-8">
			function teszt(a, b)
			{
				return ((a + b) / (a - b));
			}
		</script>
	</head>
	<body>
		<p>Hello, {if isset($name)}{=$name}{else}World{if}!</p>
		<ul>
		{for $i = 0; $i < 10; ++$i}
			<li>{=$i+1}. elem</li>
		{for}
		</ul>
		
		<ol>
		{foreach $list as $key => $value}
			<li>{=$value} (kulcs: {=$key})</li>
		{foreach}
		</ol>
		
		{assign $raklap 'LOLCATS'}
		{include footer.tpl, 'footerName', $raklap}
		
		{if isset($footerName)}
			<p>van footerName</p>
		{else}
			<p>nincs footerName</p>
		{if}
	</body>
</html>