Ok riproviamoci:
<?php
/****************************************************
#####################################################
##-------------------------------------------------##
## ASHTON ##
##-------------------------------------------------##
## Copyright = globbersthemes.com- 2012 ##
## Date = fevrier 2013 #
## Author = globbers ##
## Websites = http://www.globbersthemes.com ##
## ##
#####################################################
****************************************************/
// no direct access
defined('_JEXEC') or die('Restricted access');
include_once(JPATH_ROOT . "/templates/" . $this->template . '/js/classe/layout.php');
/* 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-5' );
$mod_right = $this->countModules( 'position-7' );
if ( $mod_left || $mod_right ) { $width = ''; }
else { $width = '-full'; }
?>
<?php
$bodybackground = htmlspecialchars($this->params->get('bodybackground'));
?>
<link rel="stylesheet" href="<?php echo $this->baseurl ?>/templates/ashton/css/tdefaut.css" type="text/css" media="all" />
<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/superfish.js"></script>
<script type="text/javascript" src="templates/<?php echo $this->template ?>/js/hoverIntent.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/scroll.js"></script>
<script type="text/javascript" src="templates/<?php echo $this->template ?>/js/hide.js"></script>
<link rel="icon" type="image/gif" href="<?php echo $this->baseurl; ?>/templates/<?php echo $this->template; ?>/favicon.gif" />
<link href='http://fonts.googleapis.com/css?family=Oswald:100,300,400,700,900,100italic,300italic,400italic,700italic,900italic' rel='stylesheet' type='text/css'>
<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: true,
dropShadows: true
}); });
</script>
<script type="text/javascript">
var $j = jQuery.noConflict();
jQuery(document).ready(function ($){
$j("#slider").nivoSlider(
{effect: "sliceUpDown",
slices: 15,
boxCols: 8,
boxRows: 4,
animSpeed: 1000,
pauseTime: 4000,
captionOpacity: 1
}); });
</script>
<style type="text/css">
body {
background:url('<?php echo $this->baseurl . '/' . htmlspecialchars($bodybackground); ?>') repeat 0 0;
}
img.bg{
z-index:-1;
min-height:100%;
min-width:1008px;
width:100%;
height:auto;
position:fixed;
top:0;
left:0;
}
</style>
</head>
<body>
<img class="bg" src="<?php echo $this->baseurl."/templates/ashton/images/bg.jpeg"; ?>" alt="">
<div class="pagewidth">
<div id="header">
<div id="header-top">
<div id="sitename">
<a href="index.php"><img src="templates/<?php echo $this->template ?>/images/logo.jpg" width="309" height="45" alt="logotype" /></a>
</div>
</div>
<div id="header-bottom">
<div id="topmenu">
<div class="navigation">
<jdoc:include type="modules" name="position-1" />
</div>
</div>
<div id="social-icons">
<span class="facebook"><a href="#"><img src="templates/<?php echo $this->template ?>/images/facebook.jpg" width="30" height="30" alt="facebook" /></a></span>
<span class="mail"><a href="#"><img src="templates/<?php echo $this->template ?>/images/rss.jpg" width="30" height="30" alt="rss" /></a></span>
</div>
</div>
</div>
<?php $menu = JSite::getMenu(); ?>
<?php $lang = JFactory::getLanguage(); ?>
<?php if ($menu->getActive() == $menu->getDefault($lang->getTag())) { ?>
<?php if ($this->params->get( 'slidedisable' )) : ?>
<?php include "slideshow.php"; ?><?php endif; ?>
<?php } ?>
<div id="wrapper">
<div id="main<?php echo $width ?>">
<jdoc:include type="component" />
<?php echo $modules_component ;?>
</div>
<?php if ($this->countModules( 'position-7 or position-5' )) : ?>
<div id="colonne">
<?php if ($this->countModules('position-5')) { ?>
<div class="modulebox1">
<jdoc:include type="modules" name="position-5" style="beezTabs" headerLevel="2" id="3" />
</div>
<?php } ?>
<?php if ($this->countModules('position-7')) { ?>
<div id="right">
<jdoc:include type="modules" name="position-7" style="xhtml" />
</div>
<?php } ?>
</div>
<?php endif; ?>
</div>
<div id="ft">
<?php if ($this->countModules('position-3') || $this->countModules('position-4') || $this->countModules('position-6') ||$this->countModules('position-6')) { ?>
<div class="pagewidth">
<div id="wrapper-box">
<div class="box">
<jdoc:include type="modules" name="position-3" style="xhtml" />
</div>
<div class="box">
<jdoc:include type="modules" name="position-4" style="xhtml" />
</div>
<div class="box">
<jdoc:include type="modules" name="position-6" style="xhtml" />
</div>
<div class="box">
<jdoc:include type="modules" name="position-8" style="xhtml" />
</div>
</div>
</div>
<?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>
<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" /></a>
</div>
</div>
</div>
</div>
</div>
</body>
</html>
[allegato eliminato automaticamente dopo un anno]