Hi
I have designed my own templating system which works very well and only uses php as its supposed to be used.
All presentation is seperated from logic as far as possible.
I,ll include a sample for you to look at....
layout.php
<?PHP
echo <<<EOF
<table class="layout-table" cellpadding="0" cellspacing="0">
<tr>
<td class="layout-header" colspan="3">$CONTENT_HEADER</td>
</tr>
<tr>
<td class="layout-l-column">$CONTENT_LEFT</td>
<td class="layout-c-column">$CONTENT_CENTER</td>
<td class="layout-r-column">$CONTENT_RIGHT</td>
</tr>
</table>
EOF;
?>
webpage....
<?PHP
$CONTENT_TITLE = "Home";
$CONTENT_HEADER = "Header";
$CONTENT_LEFT = "Content Left";
ob_start();
include 'admin/groups/index.php';
$CONTENT_CENTER = ob_get_contents();
ob_end_clean();
$CONTENT_RIGHT = "Content Right";
include 'include/header.php';
include 'include/layout.php';
include 'include/footer.php';
?>
As you can see, it only uses normal PHP variables, heredoc syntax, and some output buffering, give it a try.
Hope it helps.