Login   Register  
PHP Classes
elePHPant
Icontem

File: theme/default/template.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of anoop singh  >  CDN CMS  >  theme/default/template.php  >  Download  
File: theme/default/template.php
Role: Auxiliary data
Content type: text/plain
Description: Template file
Class: CDN CMS
Manage content stored in a MySQL database
Author: By
Last change:
Date: 2009-12-15 23:40
Size: 2,227 bytes
 

Contents

Class file image Download
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
	<head>
		<meta http-equiv="config-Type" config="text/html; charset=utf-8" />
		<meta name="Description" config="<?= getMetaDescription();?>"/>
		<meta name="Keywords" config="<?= getMetaKeywords();?>"/>
		<meta http-equiv="config-Type" config="text/html; charset=utf-8" />
		<title>	<?= getMetaTitle();	?> </title>
		<!-- Get All Style Sheet -->
		<?= getCss();?>
		<!-- Get All Style Sheet -->

		<!-- Get All Javascript files -->
		<?= getJs();?>
		<!-- Get All Javascript files -->
	</head>
<body>
	<table width="100%" border="0" cellpadding="0" cellspacing="0" class="headerTable">
	<tr>
		<td align="center">
			<img src="<?= getHeaderImage();?>" border="0">
		</td>
	</tr>

	<? if(getMainMenuStatus())
	{
	?>
	<tr>
		<td align="center">				
	<?		
		echo getMainMenuJs();
		//echo getMainCss();						
		echo getMainMenu();
	?>	</td>
	</tr>		
	<?}?>
			
	
	<tr>
		<td>
			<?= editMetaTageHeaderImage();?>
		</td>
		</tr>
	</table>	
	<table width="100%" border="0" class="mainTableContainer">
	<tr>
			
			<?if (is_array($config)&& !empty($config['Lcontent']) )
			{
			?>
				<td 
					<? if(is_array($config)&& count($config['TmpRatio'])>0)
					{
							echo "width='".$config['TmpRatio'][0]."%'";
					}
					?>				
				valign="top">
								
								<? echo $config["Lcontent"];?>
				</td>
			<?
			}
			if (is_array($config) && !empty($config["Mcontent"]))
			{
			?>
				<td 
					<? if(is_array($config)&& count($config['TmpRatio'])>1)
					{
							echo "width='".$config['TmpRatio'][1]."%'";
					}
					?>				
				valign="top">
				
								<? echo $config["Mcontent"];?>
				</td>
			<?
			}
			?>	
			<?if (is_array($config) && !empty($config["Rcontent"]))
			{
			?>
				<td 
					<?php if(is_array($config)&& count($config['TmpRatio'])>2)
					{
							echo "width='".$config['TmpRatio'][2]."%'";
					}
					?>				
				valign="top">
				
								<? echo $config["Rcontent"];?>
				</td>
			<?php
			}
			?>	
	</tr>			
</table>	
</body>
</html>