referanslar.php (templatenin içine kaydet)
<!-- Use this to add a new pages to your site. Place this file in your templates/[theme] directory. Rename it as you wish.-->
<?=$header?>
<?=$top?>
<style type="text/css">
<TABLE WIDTH="<?=$tablewidth?>" bgcolor="<?=$tablebackground?>" BORDER=0 CELLPADDING=0 CELLSPACING=0>
  <TR> 
    <?=$left?>
    <TD width="100%" align="<?=$contentalign?>" valign="top"> 
      <?php if ($templatedir == "business"){ echo "<table align=\"left\" width=\"$contentwidth\" cellspacing=\"0\" cellpadding=\"0\" border=\"0\"><tr><td width=100% height=40 align=left valign=top> </td></tr>"; 
	  } else { echo "<table width=\"$contentwidth\" cellspacing=\"0\" cellpadding=\"0\" border=\"0\"><tr><td width=100% height=40>&nbsp;</td></tr>"; } ?>
<!--begin page content--add rows - start with <tr> and end with </tr> and you will be fine....-->
<tr>
buraya istedigini yaz
</tr>
<!--end page content-->
</table>    
</td>
    <?=$right?>
  </tr>
</table>
<?=$bottom?>
bu da ana dizinde bulunan referanslar.php
<?php
$DIR=(dirname(__FILE__));
include($DIR."/includes/dbconfig.php");
include($workdir."/includes/sessions.php");
include_once($workdir."/config.php");
//charge up template vars
include($workdir."/includes/gparser.php");
//specific vars
//$template->set_var("", $); 
//$template->set_var("", $); 
//$template->set_var("", $); 
//end specific vars
//end charge up template vars
if($maintmode=="True"){
	print $template->parse("maintmode.php");
	exit;
}
print $template->parse("referanslar.php"); 
?>
bu varyasyonla sayfalarını istedigin kadar artırabilirsin