How do i use tags like smarty in php without smarty?
<p>I want do my own theme as smarty</p>

<pre><code>{header}

Page contents

{modeule1}
{modeule2}
{footer}
</code></pre>

<p>php should replace those {} tags and look at the text between tags for performance.</p>

<p><strong>Example</strong></p>

<p>You can think of a product insert form: a user will insert a product in admin panel then want to activate comments of this product. When the user adds {comment_module} and saves in a textarea, then when the product page page is open by an end user, my comment module will be activated.</p>
