Location: PHPKode > scripts > Simple Template class > simple-template-class/templates/show.tpl
<html>
<head>
	<title><?php echo $this->title; ?></title>
	<style>
	body {
		margin: 2px;
		font-size: 12px;
		font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
		color: #4A4A4A;
	}
	</style>
</head>
<body>
<br />
<?php foreach($this->links as $item) { ?>
<a href="<?php echo $item['link']; ?>"><?php echo $item['title']; ?></a>
<?php echo $item['text']; ?><hr />
<?php } ?>

<br /><br />
<b>Somevar</b> value/type is <?php echo $this->somevar.'/('.gettype($this->somevar).')'; ?>
</body>
</html>
Return current item: Simple Template class