Someone wants me to revamp a PHP-powered website (VideoCMS). But instead of giving me *.php files when I asked him to email me the source, he gave me *.tpl files. They include a certain amount of code:
{include file='header.tpl' p="article"}
<br />
<table width="886" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="150" valign="top">
<div id="reg_box">
<h3 class="captions">{$lang.articles}</h3>
<div id="list_cats">
<ul>
{$article_categories}
</ul>
</div>
</div>
<br />
<div id="reg_box">
<h3 class="captions">{$lang.members}</h3>
{if $logged_in == '1'}
{include file='loggedin_body.tpl'}
{else}
{include file='login_body.tpl'}
{/if}
Or
{include file='header.tpl' p="index"}
{php} $_SESSION['isFair'] = "Yes"; {/php}
What's the interpreter of the code? How can I redesign this site?