1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204
|
<?php
/**
* @copyright Copyright (C) 2005 - 2008 Open Source Matters. All rights reserved.
* @license GNU/GPL, see LICENSE.php
* Joomla! is free software. This version may have been modified pursuant
* to the GNU General Public License, and as distributed it includes or
* is derivative of works licensed under the GNU General Public License or
* other free or open source software licenses.
* See COPYRIGHT.php for copyright notices and details.
*/
defined('_JEXEC') or die('Restricted access');
$url = clone(JURI::getInstance());
$path = $this->baseurl.'/templates/'.$this->template;
$showLeftColumn = ($this->countModules('left'));
$showRightColumn = ($this->countModules('right'));
$showuser8 = ($this->countModules('user8'));
$showuser9 = ($this->countModules('user9'));
$showuser10 = ($this->countModules('user10'));
$showFeatured = ($this->countModules('user2'));
$showNew = ($this->countModules('new'));
$showSpecial = ($this->countModules('specials'));
if(JRequest::getCmd('task') != 'edit') $Edit = false; else $Edit = true;
$vm = "false";
if (isset($_REQUEST['page'])) $vm = "true";
?>
<!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; ?>" dir="<?php echo $this->direction; ?>" >
<head>
<jdoc:include type="head" />
<link href='http://fonts.googleapis.com/css?family=Playfair+Display' rel='stylesheet' type='text/css'>
<link href='http://fonts.googleapis.com/css?family=Oswald&v1' rel='stylesheet' type='text/css'>
<link rel="stylesheet" href="<?php echo $path ?>/css/constant.css" type="text/css" />
<link rel="stylesheet" href="<?php echo $path ?>/css/template.css" type="text/css" />
<link rel="stylesheet" href="<?php echo $path ?>/css/virtuemart.css" type="text/css" />
<script type="text/javascript" src="<?php echo $path ?>/scripts/jquery-1.4.2.min.js"></script>
<script type="text/javascript" src="<?php echo $path ?>/scripts/jqtransform.js"></script>
<script type="text/javascript" src="<?php echo $path ?>/scripts/jquery.nivo.slider.pack.js"></script>
<script type="text/javascript" src="<?php echo $path ?>/scripts/imagepreloader.js"></script>
<script type="text/javascript">
var $j=jQuery.noConflict();
$j(document).ready(function() {
$j(function(){
$j('#select-form').jqTransform({imgPath:'<?php echo $path ?>/images/'});
});
});
$j(document).ready(function(){
//accordion begin
$j("#accordion dt").eq(0).addClass("active");
$j("#accordion dd").eq(0).show();
$j("#accordion dt").click(function(){
$j(this).next("#accordion dd").slideToggle("slow")
.siblings("#accordion dd:visible").slideUp("slow");
$j(this).toggleClass("active");
$j(this).siblings("#accordion dt").removeClass("active");
return false;
});
});
$j(document).ready(function(){
$j(function() {
var offset = $j("#cart").offset();
var topPadding = 135;
$j(window).scroll(function() {
if ($j(window).scrollTop() > offset.top) {
$j("#cart").stop().animate({marginTop: $j(window).scrollTop() - offset.top + topPadding, marginRight: -55});
}
else {$j("#cart").stop().animate({marginTop: 0, marginRight: 0});};});
});});
$j(window).load(function() {
$j('#slider').nivoSlider({
effect:'random', //Specify sets like: 'fold,fade,sliceDown'
slices:17,
animSpeed:600,
pauseTime:5000,
startSlide:0, //Set starting Slide (0 index)
directionNav:false, //Next & Prev
directionNavHide:true, //Only show on hover
controlNav:true, //1,2,3...
controlNavThumbs:false, //Use thumbnails for Control Nav
controlNavThumbsFromRel:false, //Use image rel for thumbs
controlNavThumbsSearch: '.jpg', //Replace this with...
controlNavThumbsReplace: '_thumb.jpg', //...this in thumb Image src
keyboardNav:true, //Use left & right arrows
pauseOnHover:true, //Stop animation while hovering
manualAdvance:false, //Force manual transitions
captionOpacity:0.8, //Universal caption opacity
beforeChange: function(){},
afterChange: function(){},
slideshowEnd: function(){} //Triggers after all slides have been shown
});
});
preloadImages([
'<?php echo $path ?>/images/search-button-active.png',
'<?php echo $path ?>/images/cart-button-active.gif',
'<?php echo $path ?>/images/arrowUp-active.png',
'<?php echo $path ?>/images/arrowDown-active.png'
]);
</script>
<!--[if lt IE 7]>
<div style=' clear: both; text-align:center; position: relative;'>
<a href="http://www.microsoft.com/windows/internet-explorer/default.aspx?ocid=ie6_countdown_bannercode"><img src="http://www.theie6countdown.com/images/upgrade.jpg" border="0" alt="" /></a>
</div>
<![endif]-->
<style>
#footer ul , dl#accordion dt , .featuredBorder , .related .extra-releted , .addtocart_button , dl#accordion {
behavior:url(<?php echo $path ?>/PIE.php)
}
</style>
<?php
$menu = &JSite::getMenu();
if ($menu->getActive() == $menu->getDefault()) {
$p_class = 'first';
}else{
$p_class = 'all';
}
?>
</head>
<body id="body" class="<?php echo $p_class; ?>">
<!-- header -->
<div id="header">
<div class="main">
<div id="topmenu">
<jdoc:include type="modules" name="user3" style="xhtml" />
</div>
<div id="logo">
<a href="<?php echo $this->baseurl ?>"><img alt="" src="<?php echo $path ?>/images/logo.png" /></a>
</div>
<div class="currency">
<jdoc:include type="modules" name="user5" style="xhtml" />
</div>
<div id="cart">
<jdoc:include type="modules" name="user6" style="xhtml" />
</div>
<jdoc:include type="modules" name="user7" style="xhtml" />
<div id="search">
<jdoc:include type="modules" name="user4" style="xhtml" />
</div>
</div>
</div>
<!-- END header -->
<?php if ($showuser8 && ($option!="com_search") ) : ?>
<div class="box-slider">
<jdoc:include type="modules" name="user8" style="xhtml" />
</div>
<?php endif; ?>
<div class="main">
<div id="content">
<div class="wrapper">
<?php if ($showLeftColumn && ($option!="com_search") ): ?>
<div id="left">
<div class="wrapper">
<div class="extra-indent">
<jdoc:include type="modules" name="left" style="user" />
</div>
</div>
</div>
<?php endif; ?>
<?php if ($showRightColumn) : ?>
<div id="right">
<div class="wrapper">
<div class="extra-indent">
<jdoc:include type="modules" name="right" style="user" />
</div>
</div>
</div>
<?php endif; ?>
<div class="container">
<?php if ( ($showFeatured || $showNew || $showSpecials) && ($option!="com_search") ) { ?>
<?php if ($this->getBuffer('message')) : ?>
<div class="error err-space">
<jdoc:include type="message" />
</div>
<?php endif; ?>
<jdoc:include type="modules" name="user2" style="user" />
<?php } else { ?>
<?php if ($this->getBuffer('message')) : ?>
<div class="error err-space">
<jdoc:include type="message" />
</div>
<?php endif; ?>
<div class="content-indent">
<jdoc:include type="component" />
</div>
<?php }; ?>
</div>
</div>
</div>
<div id="footer">
<div class="space">
<div class="wrapper">
<div class="footerText">
<jdoc:include type="modules" name="footer" /><!--{%FOOTER_LINK} -->
</div>
</div>
</div>
</div>
</div>
</body>
</html> |
Partager