<head>
<script src='modules/pd_smoothgallery/mootools.js' type='text/javascript'>
<script src='modules/pd_smoothgallery/jd.gallery.js' type='text/javascript'>
<link rel='stylesheet' href='modules/pd_smoothgallery/jd.gallery.css' type='text/css' media='screen' />
</head>
<?php
defined( '_VALID_MOS' ) or die( 'Restricted access' );
// needed to seperate the ISO number from the language file constant _ISO
$iso = explode( '=', _ISO );
// xml prolog
echo '<?xml version="1.0" encoding="'. $iso[1] .'"?' .'>';
?>
<!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 require($mosConfig_absolute_path."/templates/" . $mainframe->getTemplate() . "/dropline.php") ;?>
<?php require($mosConfig_absolute_path."/templates/" . $mainframe->getTemplate() . "/template_config.php") ;?>
<?php mosShowHead(); ?>
<?php
if ( $my->id ) { initEditor(); }
// general width calculation
if ( mosCountModules('left')) {
$mcontent_width = $templatewidth - 180;
}
if ( mosCountModules('right')) {
$mcontent_width = $templatewidth - 170;
}
if ( mosCountModules('inset')) {
$mcontent_width = $templatewidth - 220;
}
if (mosCountModules('left') && mosCountModules('right')) {
$mcontent_width = $templatewidth - 330;
}
if (mosCountModules('left') && mosCountModules('inset')) {
$mcontent_width = $templatewidth - 380;
}
if (mosCountModules('right') && mosCountModules('inset')) {
$mcontent_width = $templatewidth - 370;
}
if (mosCountModules('left') && mosCountModules('right') && mosCountModules('inset')) {
$mcontent_width = $templatewidth - 530;
}
if (mosCountModules('left') + mosCountModules('right') + mosCountModules('inset') ==0) {
$mcontent_width = $templatewidth - 20;
}
// 4 bottom mod width calculation
$botmod_section_width = $templatewidth-10;
if ( mosCountModules('user11') >= 1 ) $botmod_1 = 1;
else $botmod_1 = 0;
if ( mosCountModules('user12') >= 1 ) $botmod_2 = 1;
else $botmod_2 = 0;
if ( mosCountModules('user13') >= 1 ) $botmod_3 = 1;
else $botmod_3 = 0;
if ( mosCountModules('user14') >= 1 ) $botmod_4 = 1;
else $botmod_4 = 0;
if ($botmod_1 + $botmod_2 + $botmod_3 + $botmod_4 == 4 ) {
$botmodwidth = $botmod_section_width/4-10;
$botmarginright = "10"; }
if ($botmod_1 + $botmod_2 + $botmod_3 + $botmod_4 == 3 ) {
$botmodwidth = $botmod_section_width/3-10;
$botmarginright = "10"; }
if ($botmod_1 + $botmod_2 + $botmod_3 + $botmod_4 == 2 ) {
$botmodwidth = $botmod_section_width/2-10;
$botmarginright = "10"; }
if ($botmod_1 + $botmod_2 + $botmod_3 + $botmod_4 == 1 ) {
$botmodwidth = $botmod_section_width - 10;
$botmarginright = "10"; }
$ua = $_SERVER['HTTP_USER_AGENT']; if (strpos($ua,'MSIE 6.0')) {
$iemarginfix = 10; } else {
$iemarginfix = 0; }
?>
<link rel="stylesheet" href="templates/gaming_plazza/css/template_css.css" type="text/css" />
<?php if($menutype=="suckerfish") { ?>
<link rel="stylesheet" href="templates/gaming_plazza/css/sfish.css" type="text/css" />
<?php } elseif ($menutype=="dropline") { ?>
<link rel="stylesheet" href="templates/gaming_plazza/css/dropline.css" type="text/css" />
<?php } ?>
<!--[if lte IE 6]>
<link rel="stylesheet" href="templates/gaming_plazza/css/ie6.css" type="text/css" />
<![endif]-->
</head>
<body class="bodies">
<div id="wrapper" align="center" >
<div id="pagewrapper" style="width:<?php echo $templatewidth; ?>px; " align="center">
<div id="contentwrapper" align="center" style="width:<?php echo $templatewidth; ?>px; ">
<div id="head">
<div id="head_left"></div>
<div id="head_content">
<div id="hc_top" style="width:<?php echo $templatewidth - 50; ?>px;">
<?php mosLoadModules ( 'user3',-2 ); ?>
</div>
<div id="hc_bottom">
<div id="hc_bottom_logo" style="width:<?php echo $templatewidth - 490; ?>px">
<a href="<?php echo $mosConfig_live_site;?>">
<img src="templates/gaming_plazza/images/logo.gif" alt=" " border="0" />
[/url]
</div>
<div id="tlogin_wrapper">
<div id="tlogin_inner">
<div id="tlogin_inner_left"></div>
<div id="tlogin_inner_mid">
<?php mosLoadModules ( 'cpanel',-2 ); ?>
</div>
<div id="tlogin_inner_right"></div>
</div>
</div>
<div style="clear:both;"></div>
</div>
</div>
<div id="head_right"></div>
</div> <!-- end head -->
<?php if ($menutype=="suckerfish") { ?>
<div id="xtd_wrapper">
<div id="xtd_menu" style="padding-left:10px;">
<?php mosLoadModules ( 'user8',-2 ); ?>
</div>
</div>
<?php } ?>
<?php if ($menutype=="dropline") { ?>
<div id="dropline_wrapper" style="height:<?php if ($mycssONLY_SUB_menu == true) { echo "44px";} else {echo "28px"; } ?>">
<div id="drop_top">
<?php echo $mycssPSPLITmenu_content; ?>
</div>
<div style="clear:both;"></div>
<?php if ($mycssONLY_SUB_menu == true) { ?>
<div id="drop_sec">
<?php echo $mycssONLY_SUB_menu; ?>
</div>
</div>
<?php } ?>
<div style="clear:both;"></div>
<?php } ?>
<div style="clear:both;"></div>
<div id="topsearch">
<div id="topsearch_logo">
</div>
<div id="topsearch_mod">
<?php mosLoadModules ( 'user4',-2 ); ?>
</div>
<div id="topsearch_home">
</div>
<div id="topsearch_path">
<?php mosPathWay(); ?>
</div>
</div>
<div style="clear:both;"></div>
<div id="content_section">
<div id="content_inner">
<?php if (mosCountModules( 'left' )) { ?>
<div id="left_section">
<?php mosLoadModules ( 'left',-3 ); ?>
</div>
<?php } ?>
<?php if (mosCountModules( 'inset' )) { ?>
<div id="inset_section">
<?php mosLoadModules ( 'inset',-3 ); ?>
</div>
<?php } ?>
<!-- MAINBODY started here -->
<div id="body_section" style="width:<?php echo $mcontent_width ?>px">
<?php if (mosCountModules( 'advert1' )) { ?>
<div id="advert1_box">
<?php mosLoadModules ( 'advert1',-3 ); ?>
</div>
<?php } ?>
<div style="margin-bottom:10px;">
<div id="roundwrapper">
<div class="roundtopleft">
<span class="sfix"> </span>
</div>
<div class="roundcontent">
<?php mosMainBody(); ?>
</div>
<div class="roundbottomleft">
<span class="sfix"> </span>
</div>
</div>
</div>
<?php if (mosCountModules( 'advert2' )) { ?>
<div id="advert2_box">
<?php mosLoadModules ( 'advert2',-3 ); ?>
</div>
<?php } ?>
<!-- end roundwrapper -->
</div>
<?php if (mosCountModules( 'right' )) { ?>
<div id="right_section">
<?php mosLoadModules ( 'right',-3 ); ?>
</div>
<?php } ?>
<div style="clear:both"></div>
</div>
<!-- START BOTTOM SECTION -->
<?php if(mosCountModules('user11') || mosCountModules('user12') || mosCountModules('user13') || mosCountModules('user14')) { ?>
<div id="botmodsection" style="width:<?php echo $botmod_section_width - $iemarginfix; ?>px; ">
<div id="botmodsection_inner">
<div class="botmodsection_inner_c">
<?php if (mosCountModules('user11')) { ?>
<div id="botmodsection_1" style="width:<?php echo $botmodwidth; ?>px; margin-right:<?php echo $botmarginright; ?>px;"><?php mosLoadModules ( 'user11',-3 ); ?></div>
<?php } ?>
<?php if (mosCountModules('user12')) { ?>
<div id="botmodsection_2" style="width:<?php echo $botmodwidth; ?>px; margin-right:<?php echo $botmarginright; ?>px;"><?php mosLoadModules ( 'user12',-3 ); ?></div>
<?php } ?>
<?php if (mosCountModules('user13')) { ?>
<div id="botmodsection_3" style="width:<?php echo $botmodwidth; ?>px; margin-right:<?php echo $botmarginright; ?>px;"><?php mosLoadModules ( 'user13',-3 ); ?></div>
<?php } ?>
<?php if (mosCountModules('user14')) { ?>
<div id="botmodsection_4" style="width:<?php echo $botmodwidth; ?>px;"><?php mosLoadModules ( 'user14',-3 ); ?></div>
<?php } ?>
<div style="clear:both; line-height:1px;"> </div>
</div>
</div>
</div>
<?php } ?>
</div>
<!-- footer -->
<div id="footer_wrapper">
<div id="footer_left"><?php include_once('includes/footer.php'); ?></div>
<?php if (mosCountModules('user5')) { ?>
<div id="footer_right"><?php mosLoadModules ( 'user5',-2 ); ?></div>
<?php } ?>
<div style="clear:both;"></div>
</div>
</div> <!-- pagewrapper -->
</div> <!-- end wrapper -->
</div>
</body>
</html>