#### Each Template file must have the following structure:

Within your head tags you must include:
<head>
<?php echo $content->getMeta(); ?>
Here goes your styles and java scripts...
<?php echo $content->getModuleAssets();?>
</head>
<body>
To draw menu include:
<?php $mainmenu = $content->getMenuList(); $content->getMenu($mainmenu,0);?>
For Top Modules include:
<?php if ($modtop != 0): ?>
<?php include(ZAZAVILITE . "includes/top_modules.php");?>
<?php endif; ?>
For Bottom Modules include:
<?php if ($modbot != 0): ?>
<?php include(ZAZAVILITE . "includes/bot_modules.php");?>
<?php endif; ?>

#### Keep this section together for dynamic layout switching:

For Left & Right Modules:
<?php if($totalleft >= 1 && $totalright >= 1):?>
<?php include(ZAZAVILITE . "includes/left_modules.php");?>
<?php include(ZAZAVILITE . "includes/right_modules.php");?>
<?php $content->displayPage();?>
For Left Modules:
<?php elseif($totalleft >= 1):?>
<?php include(ZAZAVILITE . "includes/left_modules.php");?>
<?php $content->displayPage();?>
For Right Modules:
<?php elseif($totalright >= 1):?>
<?php include(ZAZAVILITE . "includes/right_modules.php");?>
<?php $content->displayPage();?>
For Full Layout:
<?php else:?>
<?php $content->displayPage();?>
<?php endif;?>
</body>

#### Variables to use:

Company Name - <?php echo $core->company;?>
Website Name - <?php echo $core->site_name;?>
Website Email - <?php echo $core->site_email;?>
Website URL - <?php echo SITEURL;?>
Theme URL - <?php echo THEMEURL;?>