Hey thanks. Here's the first part of the code (but I didn't change any of that originally):
// Template Configuration //
//////////////////////////////////////////////////////////////////////////////////////
// In this area you can fine tune exactly how you want your site to look. Please note that all items are case sensitive; please enter them exactly how you are instructed. Be careful not to delete any quotations, semicolons or other punctuation during this process. If you run into any problems or have any questions at all please post on our forum, we are here to help!
// What color style you would like to use. Refer to our demo page at
http://demo.shape5.com for a full display of styles. Enter color1-10.
$s5_color = "color2";
//Would you like to enable the sliding Tools feature found at the top of the page? Enter yes or no.
$s5_sliding_tools = "no";
//Would you like to enable the popup user position box found at the top of the page? Enter yes or no.
$s5_box = "no";
//Would you like to enable the horizontal suckerfish menu system? Enter show or hide.
$s5_menu_style = "show";
//Would you like to enable the top tab that jumps the user to the top of the page? Enter show or hide.
$s5_top_tab = "show";
// Would you like your viewers to see the page width buttons across the top of the header? Type yes for visible and no for hidden.
$s5_width_selector = "yes";
// What would you like the default width of your site to be? Type 800, 1024 or fluid. As a fourth option you can type user choose to enable the page width adjusters found at the top of the page.
$s5_default_width = "1024";
//////////////////////////////////////////////////////////////////////////////////////
// End template configurations //
//////////////////////////////////////////////////////////////////////////////////////
// user 6,7,8,9 collapse calculations
if (mosCountModules("user6") && mosCountModules("user7") && mosCountModules("user8") && mosCountModules("user9")) { $bottom4="25"; }
else if (!mosCountModules("user6") && mosCountModules("user7") && mosCountModules("user8") && mosCountModules("user9")) { $bottom4="33"; }
else if (mosCountModules("user6") && !mosCountModules("user7") && mosCountModules("user8") && mosCountModules("user9")) { $bottom4="33"; }
else if (mosCountModules("user6") && mosCountModules("user7") && !mosCountModules("user8") && mosCountModules("user9")) { $bottom4="33"; }
else if (mosCountModules("user6") && mosCountModules("user7") && mosCountModules("user8") && !mosCountModules("user9")) { $bottom4="33"; }
else if (!mosCountModules("user6") && !mosCountModules("user7") && mosCountModules("user8") && mosCountModules("user9")) { $bottom4="50"; }
else if (mosCountModules("user6") && !mosCountModules("user7") && !mosCountModules("user8") && mosCountModules("user9")) { $bottom4="50"; }
else if (mosCountModules("user6") && mosCountModules("user7") && !mosCountModules("user8") && !mosCountModules("user9")) { $bottom4="50"; }
else if (!mosCountModules("user6") && mosCountModules("user7") && mosCountModules("user8") && !mosCountModules("user9")) { $bottom4="50"; }
else if (!mosCountModules("user6") && mosCountModules("user7") && !mosCountModules("user8") && mosCountModules("user9")) { $bottom4="50"; }
else if (mosCountModules("user6") && !mosCountModules("user7") && mosCountModules("user8") && !mosCountModules("user9")) { $bottom4="50"; }
else if (mosCountModules("user6") && !mosCountModules("user7") && !mosCountModules("user8") && !mosCountModules("user9")) { $bottom4="100"; }
else if (!mosCountModules("user6") && mosCountModules("user7") && !mosCountModules("user8") && !mosCountModules("user9")) { $bottom4="100"; }
else if (!mosCountModules("user6") && !mosCountModules("user7") && mosCountModules("user8") && !mosCountModules("user9")) { $bottom4="100"; }
else if (!mosCountModules("user6") && !mosCountModules("user7") && !mosCountModules("user8") && mosCountModules("user9")) { $bottom4="100"; }
require($mosConfig_absolute_path."/templates/" . $mainframe->getTemplate() . "/s5_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 mosShowHead(); ?>
<meta http-equiv="Content-Type" content="text/html; <?php echo _ISO; ?>" />
<meta http-equiv="Content-Style-Type" content="text/css" />
<link href="<?php echo $mosConfig_live_site;?>/templates/yourstore/css/template_css.css" rel="stylesheet" type="text/css" media="screen" />
<?php if ($s5_default_width == "800") { ?>
<link href="<?php echo $mosConfig_live_site;?>/templates/yourstore/css/style2.css" rel="stylesheet" type="text/css" media="screen" />
<?php } ?>
<?php if ($s5_default_width == "1024") { ?>
<link href="<?php echo $mosConfig_live_site;?>/templates/yourstore/css/style1.css" rel="stylesheet" type="text/css" media="screen" />
<?php } ?>
<?php if ($s5_default_width == "fluid") { ?>
<link href="<?php echo $mosConfig_live_site;?>/templates/yourstore/css/style.css" rel="stylesheet" type="text/css" media="screen"/>
<?php } ?>
<link href="<?php echo $mosConfig_live_site;?>/templates/yourstore/css/<?php echo $s5_color; ?>.css" rel="stylesheet" type="text/css" media="screen" />
<?php if ($s5_default_width == "user choose") { ?>
<link href="<?php echo $mosConfig_live_site;?>/templates/yourstore/css/style1.css" rel="stylesheet" type="text/css" media="screen" title="1024"/>
<?php } ?>
<link href="<?php echo $mosConfig_live_site;?>/templates/yourstore/css/s5_accordion_vm_style.css" rel="stylesheet" type="text/css" media="screen"/>
<?php if ( $my->id ) { initEditor(); } ?>
<script type="text/javascript" src="<?php echo $mosConfig_live_site;?>/templates/yourstore/js/s5_effects.js"></script>
<script type="text/javascript" src="<?php echo $mosConfig_live_site;?>/templates/yourstore/js/s5_tools.js"></script>
<!--[if IE]>
<script type="text/javascript" src="<?php echo $mosConfig_live_site;?>/templates/yourstore/js/s5_suckerfish.js"></script>
<![endif]-->
<!--[if IE 7]>
<link href="<?php echo $mosConfig_live_site;?>/templates/yourstore/css/s5_accordion_vm_style_ie7.css" rel="stylesheet" type="text/css" media="screen"/>
<script type="text/javascript" src="<?php echo $mosConfig_live_site;?>/templates/yourstore/js/s5_suckerfish.js"></script>
<![endif]-->
<link href="<?php echo $mosConfig_live_site;?>/templates/yourstore/css/s5_box.css" rel="stylesheet" type="text/css" media="screen" />
<?php
$br = strtolower($_SERVER['HTTP_USER_AGENT']); // what browser.
if(ereg("msie 6", $br)) {
$is_ie6 = "yes";
}
else {
$is_ie6 = "no";
}
?>
<?php
$br = strtolower($_SERVER['HTTP_USER_AGENT']); // what browser.
if(ereg("msie 7", $br)) {
$is_ie7 = "yes";
}
else {
$is_ie7 = "no";
}
?>
</head>
<body>
<a name="top">[/url]
<?php if ($s5_sliding_tools == "yes") { ?>
<div id="transition_div" style="z-index:1; position:absolute; height: 0px; background:#E3E3E3; width: 100%; overflow: hidden">
<div id="control">
<?php if(mosCountModules('cpanel')) { ?>
<div id="s5_cpanel">
<?php mosLoadModules ( 'cpanel', -1 ); ?>
</div>
<?php } ?>
<ul class="width">
<li class="thin"><a href="#" onclick="chooseStyle(2);" style="text-decoration:none;">Thin width[/url]</li>
<li class="fixed"><a href="#" onclick="chooseStyle(0);" style="text-decoration:none;">Fixed width[/url]</li>
<li class="wide"><a href="#" onclick="chooseStyle(1);" style="text-decoration:none;">Wide width[/url]</li>
</ul>
</div>
</div>
<?php } ?>
<div id="mainwrapper">
<div class="mainHolder">
<div id="s5_topbuttonswrap" style="z-index:1; position:relative;">
<div id="s5_topbuttons" style="z-index:1; position:relative;">
<?php if ($s5_box == "yes") { ?>
<?php if(mosCountModules('toolbar')) { ?>
<?php if ($is_ie7 == "yes") { ?>
<a href="javascript:shiftOpacity3ie('popup_divie');shiftOpacity2ie('popup_outerie');show_popupie()" style="text-decoration:none;">
<?php } ?>
<?php if ($is_ie7 == "no") { ?><a href="javascript:<?php if ($is_ie6 == "yes") { ?>ie_popup_fix();<?php } ?>shiftOpacity3('popup_div');shiftOpacity2('popup_outer');show_popup()" style="text-decoration:none;">
<?php } ?>
<img src="<?php echo $mosConfig_live_site;?>/templates/yourstore/images/myaccount.gif" border="0" alt="Tools"/>
[/url]
<?php } ?>
<?php } ?>
<?php if ($s5_sliding_tools == "yes") { ?>
<a href="javascript:shiftOpacity('transition_div');transition_effect()" style="text-decoration:none;">
<img src="<?php echo $mosConfig_live_site;?>/templates/yourstore/images/tools.gif" border="0" alt="Tools"/>
[/url]
<?php } ?>
</div>
</div>
<div id="leftColumn">
<div class="logo">
<a href="#">YourStore[/url]
</div>
<?php if(mosCountModules('left')) { ?>
<div id="leftbox">
<div id="leftcol">
<?php mosLoadModules ( 'left', -3 ); ?>
</div>
</div>
<?php } ?>
</div>
<div id="s5_mainwrap">
<div id="topBlock">
<!-- replaced this code to remove user 1 and enlarge user 2 to take up space of user 1
<?php if(mosCountModules('user1') || mosCountModules('user2') || mosCountModules('user3')) { ?>
<div class="inner">
<?php if(mosCountModules('user3')) { ?>
<div class="block s5_user3">
<?php mosloadmodules('user3',-2);?>
</div>
<div class="separator"><span> </span></div>
<?php } ?>
<?php if(mosCountModules('user2')) { ?>
<div class="block s5_user2">
<?php mosloadmodules('user2',-2);?>
</div>
<div class="separator"><span> </span></div>
<?php } ?>
<?php if(mosCountModules('user1')) { ?>
<div class="block s5_user1">
<?php mosloadmodules('user1',-2);?>
</div>
<?php } ?>
</div>
<?php } ?> -->
<!-- added code below -->
<div class="inner">
<?php if(mosCountModules('user3')) { ?>
<div class="block s5_user3">
<?php mosloadmodules('user3',-2);?>
</div>
<div class="separator"><span> </span></div>
<?php } ?>
<?php if(mosCountModules('user2')) { ?>
<div style="float:right;padding:0pt 0pt 5px;width:62%;">
<?php mosloadmodules('user2',-2);?>
</div>
<?php } ?>
</div>
<!-- getting parse code error here <?php } ?> -->
<!-- end of added code -->
<?php if ( mosCountModules( 'user1' ) <= 0 && mosCountModules( 'user2' ) <= 0 && mosCountModules( 'user3' ) <= 0) { ?>
<div style="height:71px;"></div>
<?php } ?>
</div>
<?php if ($s5_menu_style == "show") { ?>
<div class="s5_top">
<div class="left"> </div>
<div class="middle">
<div id='navv'>
<?php mosShowHFMenu2($params); ?>
</div>
</div>
<div class="right"> </div>
</div>
<?php } ?>
<?php if(mosCountModules('banner')) { ?>
<div class="banner">
<div class="inner">
<?php mosLoadModules ( 'banner', -3 ); ?>
</div>
</div>
<?php } ?>
<?php if ( mosCountModules( 'banner' ) <= 0 ) { ?>
<div style="height:19px;clear:both;"></div>
<?php } ?>
<!-- took out <div class="s5_top2">
<div class="left"> </div>
<div class="middle">
<?php mosPathWay(); ?>
</div>
<div class="right"> </div>
</div> -->
</div>
<?php if(mosCountModules('left') ){ ?>
<div id="s5_mainright_80">
<?php } else {?>
<div id="s5_mainright_99">
<?php } ?>
<div class="contentHolder">
<?php if(mosCountModules('right')) { ?>
<div id="rightColumn">
<div id="rightbox">
<div id="rightcol">
<?php mosLoadModules ( 'right', -3 ); ?>
</div>
</div>
</div>
<?php } ?>
<?php if(mosCountModules('right')) { ?>
<div id="content">
<?php }
else { ?>
<div id="content_right">
<?php } ?>
<?php if(mosCountModules('inset')) { ?>
<div class="s5_inset">
<?php mosloadmodules('inset',-3);?>
</div>
<?php } ?>
<?php if(mosCountModules('user4') && mosCountModules('user5')) { ?>
<div id="s5_user4_50">
<?php mosloadmodules('user4',-3);?>
</div>
<div id="s5_user5_50">
<?php mosloadmodules('user5',-3);?>
</div>
<?php } ?>
<?php if ( mosCountModules( 'user4' ) > 0 && mosCountModules( 'user5' ) <= 0) { ?>
<div id="s5_user4_100">
<?php mosloadmodules('user4',-3);?>
</div>
<?php } ?>
<?php if ( mosCountModules( 'user5' ) > 0 && mosCountModules( 'user4' ) <= 0) { ?>
<div id="s5_user5_100">
<?php mosloadmodules('user5',-3);?>
</div>
Thanks,
Sandy