| Current Path : /home/bijouxly/old/templates/parfumlab/ |
| Current File : /home/bijouxly/old/templates/parfumlab/index.php |
<?php
/**
* @subpackage tpl_parfumlab
* @copyright Copyright (C) 2012 Linelab.org. All rights reserved.
* @license GNU General Public License version 3
*/
defined('_JEXEC') or die;
define( 'YOURBASEPATH', dirname(__FILE__) );
$left_width = $this->params->get("leftWidth", "220");
$right_width = $this->params->get("rightWidth", "220");
$temp_width = $this->params->get("templateWidth", "960");
$sitetitle = $this->params->get("sitetitle", "Parfumlab - HTML5 Joomla Template");
$col_mode = "s-c-s";
if ($left_width==0 and $right_width>0) $col_mode = "x-c-s";
if ($left_width>0 and $right_width==0) $col_mode = "s-c-x";
if ($left_width==0 and $right_width==0) $col_mode = "x-c-x";
$temp_width = 'margin: 0 auto; width: ' . $temp_width . 'px;';
$slide = $this->params->get('display_slideshow', 0);
$slidecontent = $this->params->get('slideshow', '');
?>
<?php echo '<!DOCTYPE html>'; ?>
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php echo $this->language; ?>" lang="<?php echo $this->language; ?>" dir="<?php echo $this->direction; ?>" >
<head>
<?php
require(YOURBASEPATH . DS . "tools.php");
?>
<jdoc:include type="head" />
<link rel="stylesheet" href="<?php echo $this->baseurl ?>/templates/system/css/system.css" type="text/css">
<link rel="stylesheet" href="<?php echo $this->baseurl ?>/templates/parfumlab/css/styles.css" type="text/css" media="screen,projection">
<script src="<?php echo $this->baseurl ?>/templates/parfumlab/js/browserdetect.js" type="text/javascript"></script>
<script src="<?php echo $this->baseurl ?>/templates/parfumlab/js/Modernizr.js" type="text/javascript"></script>
<script src="<?php echo $this->baseurl ?>/templates/parfumlab/js/ie_suckerfish.js" type="text/javascript"></script>
<!--[if IE 7]>
<link rel="stylesheet" href="<?php echo $this->baseurl ?>/templates/parfumlab/css/styles.ie7.css" type="text/css" media="screen,projection" />
<![endif]-->
</head>
<body>
<div class="topground"></div>
<div id="main">
<div id="wrapper">
<header id="header">
<div class="logo">
<a href="index.php" id="logo" title="<?php echo $sitetitle ?>"><img src="<?php echo $this->baseurl ?>/templates/parfumlab/images/logo.png" alt="" /></a>
</div>
<div class="headersearch"> <jdoc:include type="modules" name="position-0" style="none"/> </div>
<div class="headercart"><jdoc:include type="modules" name="cart" style="none"/></div><div class="clr"></div>
</header>
<div id="nav">
<jdoc:include type="modules" name="position-1" style="none"/><div class="socicon">
<a class="facebook" href="#" title="facebook">
<span>Facebook</span>
</a>
<a class="google" href="#" title="google">
<span>Google</span>
</a>
<a class="twitter" href="#" title="twitter">
<span>Twitter</span>
</a>
</div></div>
<div id="message">
<jdoc:include type="message" style="none"/>
</div>
<?php if ($this->countModules('position-12')) : ?>
<div id="boxy">
<?php if ($slide == 1) { ?>
<div class="verticalbox"><div class="verticalbox2">
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.6.4/jquery.min.js"></script>
<script src="templates/<?php echo $this->template ?>/js/jquery.easing.1.2.js"></script>
<script src="templates/<?php echo $this->template ?>/js/jquery.anythingslider.fx.min.js"></script>
<script src="templates/<?php echo $this->template ?>/js/jquery.anythingslider.min.js"></script>
<script src="templates/<?php echo $this->template ?>/js/slide.js"></script>
<jdoc:include type="modules" name="user4" style="none"/></div></div>
<?php } else { ?>
<div class="verticalbox"><div class="verticalbox2">
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.6.4/jquery.min.js"></script>
<script src="templates/<?php echo $this->template ?>/js/jquery.easing.1.2.js"></script>
<script src="templates/<?php echo $this->template ?>/js/jquery.anythingslider.fx.min.js"></script>
<script src="templates/<?php echo $this->template ?>/js/jquery.anythingslider.min.js"></script>
<script src="templates/<?php echo $this->template ?>/js/slide.js"></script>
<jdoc:include type="modules" name="user4" style="none"/></div></div>
<?php } ?>
</div>
<?php endif; ?>
<article id="main-content" class="<?php echo $col_mode; ?>">
<div id="colmask">
<div id="colmid">
<div id="colright">
<div id="col1wrap">
<div id="col1pad">
<div id="col1">
<div class="component">
<jdoc:include type="component" style="none"/>
<?php if ($this->countModules('position-9 or position-10 or position-11')) : ?>
<section id="main2" class="spacer2<?php echo $main2_width; ?>">
<jdoc:include type="modules" name="position-9" style="xhtml"/>
<jdoc:include type="modules" name="position-10" style="xhtml"/>
<jdoc:include type="modules" name="position-11" style="xhtml"/>
</section><div class="main2_bottom"></div>
<?php endif; ?>
</div>
</div>
</div>
</div>
<?php if ($left_width != 0) : ?>
<aside id="col2">
<jdoc:include type="modules" name="position-7" style="rest"/>
</aside>
<?php endif; ?>
<?php if ($right_width != 0) : ?>
<aside id="col3">
<jdoc:include type="modules" name="position-6" style="rest"/>
</aside>
<?php endif; ?>
</div>
</div>
</div>
</article>
</div>
<?php if ($this->countModules('position-3 or position-4 or position-5')) : ?>
<div id="main3" class="spacer<?php echo $main3_width; ?>">
<div class="centerbox" style="width:<?php echo $temp_width; ?>">
<jdoc:include type="modules" name="position-3" style="xhtml"/>
<jdoc:include type="modules" name="position-4" style="xhtml"/>
<jdoc:include type="modules" name="position-5" style="xhtml"/><div class="clr"></div>
<?php if ($this->countModules('position-2')) : ?>
<div class="breadcrumbs-pad">
<jdoc:include type="modules" name="position-2"/>
</div>
<?php endif; ?> </div>
</div>
<?php endif; ?>
<footer id="footer">
<jdoc:include type="modules" name="footerload" style="none"/>
</footer> <div class="clr"></div>
</div>
<?php if ($this->countModules('position-12')) : ?>
<div id="slide">
<?php if ($slide == 1) { ?> <div id="video">
<script> window.addEvent('domready', function(){
var video = document.getElementById('videobg');
if (typeof video.loop == 'boolean') {
video.loop = true;
} else {
video.addEventListener('ended', function () {
this.currentTime = 0;
this.play();
}, false);
}
}); </script><video id="videobg" preload="metadata" autoplay="autoplay" loop="" tabindex="0" style="height: auto; width: 100%; visibility: visible;"><source src="<?php echo $this->baseurl ?>/templates/parfumlab/media/video.mp4" type="video/mp4" /><source src="<?php echo $this->baseurl ?>/templates/parfumlab/media/video.webm" type="video/webm" /><img src="<?php echo $this->baseurl ?>/<?php echo $slidecontent; ?>" alt="" /></video> </div>
<?php } else { ?>
<img src="<?php echo $this->baseurl ?>/<?php echo $slidecontent; ?>" alt="" />
<?php } ?>
</div>
<?php endif; ?>
<jdoc:include type="modules" name="debug" style="none"/>
</body>
</html>