<?php
/* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4: 			*/
// +----------------------------------------------------------------------+
// | PHP version 4/5                                                      |
// +----------------------------------------------------------------------+
// | Copyright (c) 2004-2010 ARMIA INC                                    |
// +----------------------------------------------------------------------+
// | This source file is a part of iScripts VistaCart                     |
// +----------------------------------------------------------------------+
// | Authors: Jipson<jipson.thomas@armiasystems.com>             		  |
// +----------------------------------------------------------------------+
?>
<!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="Content-Type" content="text/html; charset=iso-8859-1" />
<title><?php echo $title_for_layout?></title>
<?php
if(isset($style)){
	echo $html->css($style); 
}else{
	echo $html->css("style"); 
}
?> 
<link rel="icon" href="<?php echo $this->webroot . 'favicon.ico'; ?>" type="image/x-icon" />
<link rel="shortcut icon" href="<?php echo $this->webroot . 'favicon.ico'; ?>" type="image/x-icon" />
<?php echo $scripts_for_layout ?> 
<?php if (isset($meta_description) && !empty($meta_description)) { ?>
    <meta name="description" content="<?php echo $meta_description; ?>" />
<?php } ?>
<?php if (isset($meta_keywords) && !empty($meta_keywords)) { ?>
    <meta name="keywords" content="<?php echo $meta_keywords; ?>" />
<?php } ?>
</head>
<body>
<center>

	<div align="left" id="layout">
	
	<div class="center_main_content">
	
	  <div align="left" id="header">
		<!--header area start -->
				
				<div align="left" id="logo"><span class="logo"><?php echo $html->image('/img/SiteLogo_disp.gif', array('width' => 48, 'height' => 46, 'border' => 0));?><?php echo $cnfg["site_name"]; ?></span></div>
				<div align="right">
				  
				  <div align="right">
                    <!--login area start -->
                    <div align="left"><br />
                      <br />
					
                    </div>
                    <!--login area end -->
</div></div>
				
		<!--header area end -->
		<div class="clear"></div>
	  </div>
	  
	  <div id="mainbody">
		  
		
		<div align="left" id="banner_container1">
		<!--banner area start -->
				
				<div align="left" id="banner1"></div>
				
  		        <div align="left">
  		          <!--banner area end -->
                </div>
		</div>
		<div align="left" class="main_body">
		<!--mainbody area start -->
		
				
				
				<?php echo $content_for_layout ?> 
						</div>
		<div align="left" class="float_clear">
		<?php echo $html->image('/img/clear.gif', array('width' => 1, 'height' => 1));?>
		</div>
		
		
		
	  </div>
	  <div align="left" class="copyright_area">
		<!--copyright area start -->
		
				<div align="left" id="copyright_lft">
				
				</div>
				<div align="right" id="copyright_rgt">Powered by&nbsp;<a href="http://www.iScripts.com/vistacart" target="_blank">iScripts Vistacart</a>. A premium product from <a href="http://www.iScripts.com" target="_blank">iScripts.com</a> </div>
		
		        <!--copyright area start -->
		<div class="clear"></div>
		</div>
	  
	</div>
	</div>
	
</center>
</body>
</html>
