<html>
<head>
<title><?=$title?></title>
</head>
<body>
<h1><?=$title?></h1>
<?=$content?>
<table border="1">
<? if($rows_count > 0) foreach ($rows as $row): ?>
<tr>
<td><?=$row[0]?></td>
<td><?=$row[1]?></td>
<td><?=$row[2]?></td>
</tr>
<? endforeach ?>
<tr>
<th colspan="2" align="right">LINES:</th>
<td><?=$rows_count?></td>
</tr>
</table>
<?=$footer?>
</body>
</html>
|