<?php
/**
 # ot_ante 			OT Ante  Template for Joomla 2.5!
 # author 			OmegaTheme.com
 # copyright 		Copyright(C) 2012 - OmegaTheme.com. All Rights Reserved.
 # @license 		http://www.gnu.org/licenses/gpl-2.0.html GNU/GPL
 # Website: 		http://omegatheme.com
 # Technical 		support: Forum - http://omegatheme.com/forum/
 **/
 /**------------------------------------------------------------------------
 * file: index.php 2.5.0 00001, March 2012 12:00:00Z OmegaTheme $
 * package:	OT Ante Template
 *------------------------------------------------------------------------*/
 
//No direct access!
defined( '_JEXEC' ) or die( 'Restricted access' );

include_once(JPATH_ROOT . "/templates/" . $this->template . '/lib/layout/tpl.function.php');
include_once(JPATH_ROOT . "/templates/" . $this->template . '/lib/layout/splitmodules.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" xml:lang="<?php echo $this->language; ?>" lang="<?php echo $this->language; ?>" >
<head>
	<jdoc:include type="head" />
	<link type="text/css" href="http://fonts.googleapis.com/css?family=Oswald" rel="stylesheet">
</head>
<body id="ot-body" class="<?php echo $this->params->get('layoutStyle'); ?> <?php echo $this->params->get('layoutType'); ?> <?php if($this->countModules('left')) echo 'hasLeft'; ?><?php if($this->countModules('right')) echo 'hasRight'; ?>">
	<div class="ot-wrap">
		<div class="ot-wrap-i">
			<div id="ot-header" class="ot-header">
				<div class="ot-header-i">
					<!--  START TOP AREA	-->
					<div id="ot-top" class="ot-top">
						<div class="ot-top-i">
							<jdoc:include type="modules" name="top" style="xhtml" />
							
							<!--  START LOGO AREA  -->
							<?php if($this->countModules('logo')) { ?>
							<div id="ot-logo" class="ot-logo">
								<jdoc:include type="modules" name="logo" style="none" />
							</div>
							<?php } else { ?>
							<div id="ot-logo" class="ot-logo">
								<a href="<?php echo JURI::base() ; ?>" class="logo"></a>
							</div>
							<?php } ?>
							<!--  END LOGO AREA  -->
						</div>
					</div>
					<!--  END TOP AREA	-->
					<!--  START SEARCH AREA  -->
					<?php if($this->countModules('search')) { ?>
					<div class="ot-search">
						<jdoc:include type="modules" name="search" style="none" />
					</div>
					<?php } ?>
					<!--  END SEARCH AREA  -->
					<!--  START CART AREA  -->
					<?php if($this->countModules('cart')) { ?>
					<div class="ot-cart">
						<jdoc:include type="modules" name="cart" style="none" />
					</div>
					<?php } ?>
					<!--  END CART AREA  -->
				</div>
			</div>
			
			<!-- START MAINBODY -->
			<div class="ot-mainbody-t"></div>
			<div class="ot-mainbody ot-mainbody-l"><div class="ot-mainbody-r">
				<!--  START MAIN MENU AREA  -->
				<?php if($this->countModules('mainmenu')) { ?>
				<div id="ot-mainmenu" class="ot-mainmenu">
					<div class="ot-mainmenu-i">
						<jdoc:include type="modules" name="mainmenu" style="none" />
					</div>
				</div>
				<?php } ?>
				<!--  END MAIN MENU AREA  -->
				<!--  START SLIDESHOW AREA	 -->		
				<?php if($this->countModules('slideshow')||$this->countModules('banner')) { ?>
				<div id="ot-banner" class="ot-banner">
					<div class="ot-slideshow-i">
						<jdoc:include type="modules" name="slideshow" style="otround" />
					</div>
					<div class="ot-banner-i">
						<jdoc:include type="modules" name="banner" style="otround" />
					</div>
				</div>
				<?php } ?>
				<!--  END SLIDESHOW AREA  -->
				<!--  START MANUFACTURE AREA	 -->		
				<?php if($this->countModules('manufacture')) { ?>
				<div id="ot-manufacture" class="ot-manufacture">
					<jdoc:include type="modules" name="manufacture" style="none" />
				</div>
				<?php } ?>
				<!--  END MANUFACTURE AREA  -->
					
				<?php if($this->params->get('layoutType') == 'content-left-right') { ?>
				<div class="ot-mainbody-i" id="hmainbody">
					<?php if($this->countModules('right')) { ?>
					<div class="ot-rightcol" id="hrightcol">
						<div class="ot-rightcol-i">
							<jdoc:include type="modules" name="right" style="otround" />
						</div>
					</div>
					<?php } ?>
					<?php if($this->countModules('left')) { ?>
					<div class="ot-leftcol" id="hleftcol">
						<div class="ot-leftcol-i">
							<jdoc:include type="modules" name="left" style="otround" />
						</div>
					</div>
					<?php } ?>
					<div class="ot-content" id="hcontent">
						<div class="ot-content-i">
							<div class="ot-fpage">
								<jdoc:include type="component" />
							</div>
						</div>
					</div>
				</div>
				<?php } else { ?>
				<div class="ot-mainbody-i" id="hmainbody">
					<?php if($this->countModules('left')) { ?>
					<div class="ot-leftcol" id="hleftcol">
						<div class="ot-leftcol-i">
							<jdoc:include type="modules" name="left" style="otround" />
						</div>
					</div>
					<?php } ?>
					<?php if($this->countModules('right')) { ?>
					<div class="ot-rightcol" id="hrightcol">
						<div class="ot-rightcol-i">
							<jdoc:include type="modules" name="right" style="otround" />
						</div>
					</div>
					<?php } ?>
					<div class="ot-content" id="hcontent">
						<div class="ot-content-i"  id="hcontent-i">
							<div class="ot-fpage">
								<jdoc:include type="component" />
							</div>
						</div>
					</div>
				</div>
				<?php } ?>
				<!-- START BOTTOMBOXES -->
				<?php
				$positionsHeadContent = array('bottombox-1','bottombox-2','bottombox-3','bottombox-4','bottombox-5');
				$headContents = splitmodules($this,$positionsHeadContent,$this->params->get('CustomWidthbottomboxes'),$this->params->get('width_bottomboxes'));
				if($headContents) : 
				?>
				<?php if($this->countModules('bottombox-1 + bottombox-2 + bottombox-3 + bottombox-4 + bottombox-5')) {?>
				<div class="ot-bottomboxes">
					<div class="ot-bottomboxes-i">
							<?php if($this->countModules('bottombox-1')) {?>
							<div class="bottombox bottombox1<?php echo $headContents['bottombox-1']['class']; ?> width<?php echo $headContents['bottombox-1']['width']; ?>">
								<jdoc:include type="modules" name="bottombox-1" style="otrounded" />
							</div>
							<?php } ?>
							<?php if( $this->countModules('bottombox-2')) {?>
							<div class="bottombox bottombox2<?php echo $headContents['bottombox-2']['class']; ?> width<?php echo $headContents['bottombox-2']['width']; ?>">
								<jdoc:include type="modules" name="bottombox-2" style="otrounded" />
							</div>
							<?php }?>
							<?php if( $this->countModules('bottombox-3')) {?>
							<div class="bottombox bottombox3<?php echo $headContents['bottombox-3']['class']; ?> width<?php echo $headContents['bottombox-3']['width']; ?>">
								<jdoc:include type="modules" name="bottombox-3" style="otrounded" />
							</div>
							<?php }?>
							<?php if( $this->countModules('bottombox-4')) {?>
							<div class="bottombox bottombox4<?php echo $headContents['bottombox-4']['class']; ?> width<?php echo $headContents['bottombox-4']['width']; ?>">
								<jdoc:include type="modules" name="bottombox-4" style="otrounded" />
							</div>
							<?php }?>
							<?php if( $this->countModules('bottombox-5')) {?>
							<div class="bottombox bottombox5<?php echo $headContents['bottombox-5']['class']; ?> width<?php echo $headContents['bottombox-5']['width']; ?>">
								<jdoc:include type="modules" name="bottombox-5" style="otrounded" />
							</div>
							<?php }?>
					</div>
				</div>
				<?php } endif;?>
				<!-- END BOTTOMBOXES -->
				<!-- START NETWORK SOCIAL -->
				<?php if($this->countModules('social')) { ?>
				<div class="ot-social">
					<div class="ot-social-i">
						<jdoc:include type="modules" name="social" style="otround" />
					</div>
				</div>
				<?php } ?>
				<!-- END NETWORK SOCIAL -->
				
				<!-- START FOOTER AREA -->
				<div class="ot-footer">
					<div class="ot-footer-i">
						<jdoc:include type="modules" name="footer" style="xhtml" />

					</div>
				</div>
				<!-- END FOOTER AREA -->
			</div></div>           
	    <!-- END MAINBODY -->
			<div class="ot-mainbody-b"></div>
		</div>
	</div>
	<div style="clear: both;"><jdoc:include type="modules" name="debug" /></div>
                                                <table width="260" border="0" cellspacing="0" cellpadding="0" align="center">
  <tr>
    <td width="40"><img src="templates/ot_ante/images/logofooter.png" alt="Guatedominios.com" border="0" class="pngfix" width="40" height="41" align="left"/></td>
    <td width="860">Dise&ntilde;o: <a href="http://www.Guatedominios.com" target="_blank"><strong> Guatedominios.com</strong></a><br />
      Copyright &copy; Joyer&iacute;a Lavira. <br />Todos los Derechos Reservados.</td>
  </tr>
  <tr>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
  </tr>
              </table>

</body>
</html>