Code:
<?php defined( '_VALID_MOS' ) or die( 'Direct Access to this location is not allowed.' ); $style = ""; ?>
<!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" xml:lang="en-US" lang="<?php echo _LANGUAGE; ?>">
<head>
<meta http-equiv="Content-Type" content="text/html; <?php echo _ISO; ?>" />
<meta http-equiv="Content-Style-Type" content="text/css" />
<?php
if ( $my->id ) {
initEditor();
}
mosShowHead();?>
<?php require_once($mosConfig_absolute_path."/templates/" . $mainframe->getTemplate() . "/menus.php");?>
<?php require_once($mosConfig_absolute_path."/templates/" . $mainframe->getTemplate() . "/js_template_config.php");?>
<?php
$user_positions = array('user4','user5','user6');
$user456width = getSplit($user_positions, 1);
$bottom_user_positions = array('user7','user8','user9');
$user789width = getSplit($bottom_user_positions, 1);
$style = getColumns();
?>
<link rel="stylesheet" href="<?php echo $mosConfig_live_site;?>/templates/<?php echo $mainframe->getTemplate();?>/css/nav.css" media="screen" type="text/css" />
<link rel="stylesheet" href="<?php echo $mosConfig_live_site;?>/templates/<?php echo $mainframe->getTemplate();?>/css/template_css.css" media="screen" type="text/css" />
<link rel="stylesheet" href="<?php echo $mosConfig_live_site;?>/templates/<?php echo $mainframe->getTemplate();?>/js/slimbox/slimbox.css" media="screen" type="text/css" />
<!--[if IE]>
<link rel="stylesheet" href="<?php echo $mosConfig_live_site;?>/templates/<?php echo $mainframe->getTemplate();?>/css/ie.css" media="screen" type="text/css" />
<![endif]-->
<script type="text/javascript" src="<?php echo $mosConfig_live_site;?>/templates/<?php echo $mainframe->getTemplate();?>/js/mootools.js"></script>
<script type="text/javascript" src="<?php echo $mosConfig_live_site;?>/templates/<?php echo $mainframe->getTemplate();?>/js/slimbox.js"></script>
<?php if ($cPanel) : ?>
<script type="text/javascript">
window.onload = function(){
//select the button
var button1 = $('button');
var content1 = $('cPanel');
var content2 = $('inside');
//The height transition we attach to 'cPanel'
var b1Toggle = new Fx.Style('cPanel', 'height',{duration: <?php echo $cPanelSpeed; ?>});
//add an onclick event listener to button1
button1.addEvent('click', function(){
//toggle height transition (hide-show)
if(content1.getStyle('height').toInt() > 0){
//hide
b1Toggle.start(0);
}else{
//show
b1Toggle.start(c1Height);
}
button1.toggleClass('button1_');
return false;
});
//set css display:block for the contentElements
content1.setStyle('display','block');
//get the scrollSize of the contentElements
var c1Height = content1.getSize().scrollSize.y;
};
</script>
<?php endif; ?>
</head>
<body>
<div id="main-wrapper">
<div id="header_<?php echo $headerstyle; ?>">
<div class="inside">
<div id="headermod"><?php mosLoadModules ( 'newsflash',-2 ); ?></div>
<h1><a href="<?php echo $mosConfig_live_site;?>" title="<?php echo $headline; ?>"><?php echo $headline; ?></a></h1>
<h2><?php echo $slogan;?></h2>
</div>
</div>
<div class="menubar">
<div id="navmenu">
<?php mosSuckerFish ( 'mainmenu' ); ?>
<?php if (mosCountModules ('user1') || mosCountModules ('user2') || mosCountModules('user3') ) { ?>
<ul id="cPanel_button">
<li class="panel"><a id="button" class="button"><?php echo $cPanelText; ?></a></li>
</ul>
<?php } ?>
</div>
</div>
<?php if (mosCountModules ('user1') || mosCountModules ('user2') || mosCountModules('user3') ) { ?>
<div id="cPanel" style="display:none;">
<div class="top"></div>
<!-- BEGIN PULLDOWN CONTENT -->
<div style="height:<?php echo $cPanelheight;?>px;">
<div class="inside">
<table border="0" cellpadding="0" cellspacing="0" id="panel" align="center">
<tr>
<?php if(mosCountModules('user1')) : ?>
<td class="clm-a"><?php mosLoadModules ( 'user1',-2 ); ?></td>
<?php endif; ?>
<?php if(mosCountModules('user2')) : ?>
<td class="clm-b"><?php mosLoadModules ( 'user2',-2 ); ?></td>
<?php endif; ?>
<?php if(mosCountModules('user3')) : ?>
<td class="clm-c"><?php mosLoadModules ( 'user3',-2 ); ?></td>
<?php endif; ?>
</tr>
</table>
</div>
</div>
<!-- END PULLDOWN CONTENT -->
<div class="bottom"></div>
</div>
<?php } ?>
<div class="main-top"></div>
<div id="mainbody">
<?php if (mosCountModules ('user4') || mosCountModules ('user5') || mosCountModules('user6') ) { ?>
<div id="showcase" style="margin-bottom: 18px;">
<div class="module<?php echo $user456suffix; ?>">
<div>
<div>
<div>
<table border="0" cellpadding="0" cellspacing="0" align="center" width="100%">
<tr>
<?php if(mosCountModules('user4')) : ?>
<td style="width: <?php echo $user456width; ?>;padding:5px; vertical-align:top;">
<?php mosLoadModules ('user4', -2);?>
</td>
<?php endif; ?>
<?php if(mosCountModules('user5')) : ?>
<td style="width: <?php echo $user456width; ?>;padding:5px; vertical-align:top;">
<?php mosLoadModules ('user5', -2);?>
</td>
<?php endif; ?>
<?php if(mosCountModules('user6')) : ?>
<td style="width: <?php echo $user456width; ?>;padding:5px; vertical-align:top;">
<?php mosLoadModules ('user6', -2);?>
</td>
<?php endif; ?>
</tr>
</table>
</div>
</div>
</div>
</div>
</div>
<?php } ?>
<?php if (mosCountModules('left')) { ?>
<div id="leftcol">
<div class="left-inside">
<?php mosLoadModules ( 'left',-3 ); ?>
</div>
</div>
<?php } ?>
<?php if (mosCountModules('right')) { ?>
<div id="rightcol">
<div class="right-inside">
<?php mosLoadModules ( 'right',-3 ); ?>
</div>
</div>
<?php } ?>
<?php if(mosCountModules('banner')) { ?>
<div id="banner"><?php mosLoadModules ('banner', -1);?></div>
<?php } ?>
<div class="main<?php echo $style; ?>">
<?php if (mosCountModules ('inset')) { ?>
<div id="inset">
<?php mosLoadModules ('inset', -3);?>
</div>
<?php } ?>
<?php mosMainBody(); ?>
<?php if (mosCountModules ('user7') || mosCountModules ('user8') || mosCountModules('user9') ) { ?>
<div style="clear:both;"></div>
<?php } ?>
</div>
<?php if (mosCountModules ('user7') || mosCountModules ('user8') || mosCountModules('user9') ) { ?>
<div id="bottom">
<div class="module<?php echo $user789suffix; ?>">
<div>
<div>
<div>
<table border="0" cellpadding="0" cellspacing="0" align="center" width="100%">
<tr>
<?php if(mosCountModules('user7')) : ?>
<td style="width: <?php echo $user789width; ?>;padding:5px; vertical-align:top;">
<?php mosLoadModules ('user7', -2);?>
</td>
<?php endif; ?>
<?php if(mosCountModules('user8')) : ?>
<td style="width: <?php echo $user789width; ?>;padding:5px; vertical-align:top;">
<?php mosLoadModules ('user8', -2);?>
</td>
<?php endif; ?>
<?php if(mosCountModules('user9')) : ?>
<td style="width: <?php echo $user789width; ?>;padding:5px; vertical-align:top;">
<?php mosLoadModules ('user9', -2);?>
</td>
<?php endif; ?>
</tr>
</table>
</div>
</div>
</div>
</div>
</div>
<?php } ?>
<div style="clear:both;"></div>
</div>
<div id="footer"><?php mosLoadModules ('footer', -1);?></div>
</div>
<div class="copyright"></div>
<?php require ($mosConfig_absolute_path."/templates/" . $mainframe->getTemplate() . "/js/template_css.php");?>
<br />
</body>
</html>