rendered paste body <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<!-- $Id: smarty-guide.tpl,v 1.1 2005/03/03 19:26:54 kae Exp $ -->
<html>
<head>
<title>Smarty template demonstration</title>
<style type="text/css">
{literal}
th {
text-align: right;
}
{/literal}
</style>
</head>
<body>
<h2>
{$form_data.header.hdrTesting}
</h2>
<form {$form_data.attributes}>
<!-- Display the fields -->
<table>
<tr>
<th>{$form_data.txtFirstName.label}</th>
<td>{$form_data.txtFirstName.html}</td>
<th>{$form_data.txtLastName.label}</th>
<td>{$form_data.txtLastName.html}</td>
</tr>
<tr>
<th>{$form_data.txtAge.label}</th>
<td>{$form_data.txtAge.html}</td>
<th>{$form_data.txtTelephone.label}</th>
<td>{$form_data.txtTelephone.html}</td>
</tr>
<!-- Display the buttons -->
<tr>
<td align="center" colspan="4">
{$form_data.btnClear.html} {$form_data.btnSubmit.html}
</td>
</tr>
<!-- Display the copyright -->
<tr>
<td style="font-size:11px; color: navy; text-align: center" colspan="4">
©2004 Tiger Computing Ltd
</td>
</tr>
</table>
</form>
</body>
</html>