<?php
if (!defined('IN_CONTEXT')) die('access violation error!');
?>
<!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>
<title><?php echo $page_title; ?> -- <?php echo $_SITE->site_name; ?></title>
<meta http-equiv="Content-Type" content="text/html; charset=<?php _e('charset'); ?>" />
<meta name="keywords" content="<?php echo $_SITE->keywords; ?>" />
<meta name="description" content="<?php echo $_SITE->description; ?>" />
<link rel="stylesheet" type="text/css" href="<?php echo P_TPL_WEB; ?>/css/main.css" />
<?php include_once(P_INC.'/global_js.php'); ?>
<script>
$(document).ready(function(){
	$(".newprod_pic")
		.mouseover(function(){$(this).css({border:"#70573F 2px solid"})})
		.mouseout(function(){$(this).css({border:"#E5E5E5 2px solid"})})
});
</script>
</head>

<body>
<?php Html::adminBar(); ?>
<div id="header">
	<div id="header_main">
		<div id="logo"><?php if (Content::countModules('logo') > 0 || Toolkit::editMode()) {
                        Content::loadModules('logo');
                    } else { ?><a href="/"><img src="<?php echo P_TPL_WEB; ?>/images/logo.jpg" width="275" height="87" border="0" /></a><?php }?></div>
		<div id="cart">
		
		</div>
		<div id="nav">
		<?php if (Content::countModules('nav') > 0 || Toolkit::editMode()) Content::loadModules('nav'); ?>
		</div>
		<div id="nav_bot"></div>
	</div>
</div>
<div id="main_div">
	<div id="banner"><?php if (Content::countModules('banner') > 0 || Toolkit::editMode()) {
                        Content::loadModules('banner');
                    } else { ?><img src="<?php echo P_TPL_WEB; ?>/images/banner.jpg" width="943" height="231" /><?php }?></div>
	<div id="main_con">
		<div id="right2">
		<?php include_once($_content_); ?>
		</div>	
		<div id="right">
		<?php if (Content::countModules('right') > 0 || Toolkit::editMode()) Content::loadModules('right'); ?>
		</div>		
</div>
<div style="clear:both"></div>
<div id="footer_main">
<div id="footer"><?php if (Content::countModules('footer') > 0 || Toolkit::editMode()) Content::loadModules('footer'); ?><?php echo SITE_HAOSH; ?></div>
</div>
<?php Html::ddScript(); ?>
</body>
</html>
