<?php
/*triton*/
defined( '_VALID_MOS' ) or die( 'Direct Access to this location is not allowed.' );
$iso = split( '=', _ISO ); echo '<?xml version="1.0" encoding="'. $iso[1] .'"?' .'>';
require($mosConfig_absolute_path."/templates/" . $mainframe->getTemplate() . "/wr_config.php");
require($mosConfig_absolute_path."/templates/" . $mainframe->getTemplate() . "/wr_core.php");
require($mosConfig_absolute_path."/templates/" . $mainframe->getTemplate() . "/wr_suckerfish.php");
?>
<!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>
<?php if ( $my->id ) { initEditor(); } ?>
<?php mosShowHead();?>
<meta http-equiv="Content-Type" content="text/html; <?php echo _ISO; ?>" />
<link href="<?php echo $mosConfig_live_site;?>/templates/<?php echo $mainframe->getTemplate(); ?>/css/template_css.css" rel="stylesheet" type="text/css" />
<link href="<?php echo $mosConfig_live_site;?>/templates/<?php echo $mainframe->getTemplate(); ?>/css/suckerfish.css" rel="stylesheet" type="text/css" />
<link rel="shortcut icon" href="<?php echo $mosConfig_live_site;?>/images/favicon.ico" />
<!--[if lte IE 6]>
<style type="text/css">
span#transpimg{filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='<?php echo $mosConfig_live_site;?>/templates/<?php echo $mainframe->getTemplate(); ?>/images/transpimg.png',sizingMethod='scale');}
div#quicksearch{float:right;margin-right:8px;margin-top:10px;} .contentpaneopen{width:auto;} table.contentpane{width:95%;} div.headerimg_r{float:right;height:213px;width:421px;padding-right:50px;margin-right:20px;} div#centerblock{width:451px;} div#centerblockright{width:651px;} div.topusersblock{width:46%;} div.topusersblockfull{width:94%;} div.bottomusersblock{width:46%;} div.bottomusersblockfull{width:94%;} div.module{width:184px;margin-bottom:10px;margin-right:0;}
</style>
<![endif]-->
<!--[if IE 7]>
<style type="text/css">
div.module h3{margin: 0;margin-top: 0px;margin-bottom: 5px;font-family: Verdana, Arial, Helvetica, sans-serif;font-size: 12px;font-weight: bold;color: #483513;}div.module{width: 184px;margin-bottom: 10px;margin-right: 15px;} div.module div div{padding: 7px 10px 10px 12px;} div.module div div div{background: #feefac;padding: 0;width: auto !important;width: 100%;}
</style>
<![endif]-->
</head>
<body id="body_bg">
<div align="center">
<div id="wrapper"> <!-- start: div#wrapper -->
<? if (($option == "com_frontpage")) { ?> <!-- start: header -->
<div id="header" class="header_bg">
<span id="transpimg"></span>
<div class="headerimg_r"></div>
<div class="clr"></div>
</div>
<!-- start: mini headers variations -->
<? } elseif (($option == "com_content")){
?><div id="headercontent" class="headercontent_bg">
<div id="headercontent_bg"></div>
</div>
<? } elseif (($option == "com_weblinks")){
?><div id="headerweblinks" class="headerweblinks_bg">
<div id="headerweblinks_bg"></div>
</div>
<? } elseif (($option == "com_contact")){
?><div id="headercontact" class="headercontact_bg">
<div id="headercontact_bg"></div>
</div>
<? } elseif (($option == "com_search")){
?><div id="headersearch" class="headersearch_bg">
<div id="headersearch_bg"></div>
</div>
<? } elseif (($option == "com_registration")){
?><div id="headerregistration" class="headerregistration_bg">
<div id="headerregistration_bg"></div>
</div>
<? } else {
?><div id="headerempty" class="headerempty_bg">
</div><? }
?> <!-- end: mini headers variations & header -->
<div id="toolbar" class="toolbar_bg"> <!-- start: toolbar -->
<div id="ddmenu">
<div id="nav">
<?php mosShowListMenu($menu_name); ?>
</div>
</div>
</div> <!-- end: toolbar -->
<div id="contentwrap"> <!-- start: main content -->
<div id="maincontent">
<div class="content_top"></div>
<div class="content_middle">
<div id="content"> <!-- start: content area -->
<?php if (mosCountModules('left') > 0) { ?> <!-- start: left column -->
<div id="leftblock">
<div id="left">
<?php mosLoadModules ( 'left', -2 ); ?>
</div>
</div>
<?php } ?> <!-- end: left column -->
<div id="center<?php echo $centerdiv ?>"> <!-- start: center colum -->
<div id="pathway"> <!-- start: pathway -->
<?php mosPathWay(); ?>
</div>
<div class="pathwaystyle"></div> <!-- end: pathway -->
<?php if (mosCountModules('user1') > 0) { ?> <!-- start: user1 module position -->
<div id="newsflash">
<?php mosLoadModules ( 'user1', -1 ); ?>
</div>
<div class="newsflashstyle"></div>
<?php } ?> <!-- end: user1 module position -->
<?php if ( mosCountModules( 'user2' ) || mosCountModules( 'user3' ) ) { ?> <!-- start: top users module position -->
<div id="topusers">
<?php if (mosCountModules('user2') > 0) { ?> <!-- start: user2 module position -->
<div class="<?php echo $tdivwidth ?>" style="float: left;">
<div id="user2">
<?php mosLoadModules ( 'user2', -2 ); ?>
</div>
<div class="user2style"></div>
</div>
<?php } ?> <!-- end: user2 module position -->
<?php if (mosCountModules('user3') > 0) { ?> <!-- start: user3 module position -->
<div class="<?php echo $tdivwidth ?>" style="float: right;">
<div id="user3">
<?php mosLoadModules ( 'user3', -2 ); ?>
</div>
<div class="user3style"></div>
</div>
<?php } ?> <!-- end: user3 module position -->
</div>
<div class="clr"></div>
<?php } ?> <!-- end: top users module position -->
<div id="center"> <!-- start: mainbody -->
<?php mosMainBody(); ?>
</div> <!-- end: mainbody -->
<?php if ( mosCountModules( 'user4' ) || mosCountModules( 'user5' ) ) { ?> <!-- start: bottom users module position -->
<div id="bottomusers">
<?php if (mosCountModules('user4') > 0) { ?> <!-- start: user4 module position -->
<div class="<?php echo $bdivwidth ?>" style="float: left;">
<div class="user4style"></div>
<div id="user4">
<?php mosLoadModules ( 'user4', -2 ); ?>
</div>
</div>
<?php } ?> <!-- end: user4 module position -->
<?php if (mosCountModules('user5') > 0) { ?> <!-- start: user5 module position -->
<div class="<?php echo $bdivwidth ?>" style="float: right;">
<div class="user5style"></div>
<div id="user5">
<?php mosLoadModules ( 'user5', -2 ); ?>
</div>
</div>
<?php } ?> <!-- end: user5 module position -->
</div>
<div class="clr"></div>
<?php } ?> <!-- end: bottom users module position -->
</div> <!-- end: center column -->
<?php if ( mosCountModules( 'right' ) || mosCountModules( 'user6' ) ) { ?> <!-- start: right column -->
<div id="rightblock">
<div id="right">
<?php mosLoadModules ( 'right', -3 ); ?>
</div>
<div id="user6">
<?php mosLoadModules ( 'user6', -2 ); ?>
</div>
<div class="clr"></div>
</div>
<?php } ?> <!-- end: right column -->
</div> <!-- end: content area -->
<div class="clr"></div>
</div>
<div class="content_bottom"></div>
</div>
</div> <!-- end: main content -->
<div id="footer"> <!-- start: footer -->
<div id="footerlinks" class="footerlinks">
<?php include_once( $GLOBALS['mosConfig_absolute_path'] . '/templates/wr_rationovus/wr_footer.php' ); ?>
</div>
</div> <!-- end: footer -->
</div> <!-- end: div#wrapper -->
<div id="wrapperfooter"></div>
</div>
<?php mosLoadModules( 'debug', -1 );?>
</body>
</html>