If there is fast-template, I can I make my own short coded template with this code?:
<?php
function template($file, $old, $new) {
$fp=fopen($file, "w");
$con=fread($fp, filesize($file));
fclose($fp);
$con=str_replace("{".$old."}", $new, $con);
echo $con;
}
template("indexing.tpl", "BODY", "body");
?>
and indexing.tpl would be:
<body>
{BODY}
</body>