What is .tpl files? php, web design

Posted by Dan on Stack Overflow See other posts from Stack Overflow or by Dan
Published on 2009-11-27T11:48:50Z Indexed on 2010/04/13 5:52 UTC
Read the original article Hit count: 431

Filed under:
|
|
|
|

Hi guys!

A man wants me to redesign a site run in PHP (VideoCMS). But when I asked him to send me the source he has given me *.tpl files instead of *.php. There is some code inside them:

{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}

Question: what's the interpreter of the code? How to redesign this site?

© Stack Overflow or respective owner

Related posts about TPL

Related posts about webdesign