I've been battling away in the dark on the this one for ages. If anyone can help me out i would be most greatful. The error I get is Parse error: syntax error, unexpected T_STRING... line22
<?php
/****************************************************
#####################################################
##-------------------------------------------------##
## PLATINE45- Version 1.6.0 ##
##-------------------------------------------------##
## Copyright = globbersthemes.com- 2011 ##
## Date = Avril 2011 ##
## Author = globbers ##
## Websites = http://www.globbersthemes.com ##
## ##
#####################################################
****************************************************/
// no direct access
defined('_JEXEC') or die('Restricted access');
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<?xml version="1.0" encoding="iso-8859-1"?>
<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" />
<?php JHTML::_('behavior.framework', true);
$app = JFactory::getApplication();
$templateparams = $app->getTemplate(true)->params;
?>
<?php //setting slide fading
$speed= $this->params->get("speed", "900");
$autoplay= $this->params->get("autoplay", "5000");
?>
<?php //main width
$mod_right = $this->countModules( 'right' );
if ( $mod_right ) {
$longueur = '';
} else {
$longueur = '-full';}
?>
<link rel="stylesheet" href="<?php echo $this->baseurl ?>/templates/platine45-1.6/css/tdefaut.css" type="text/css" media="all" />
<link rel="stylesheet" href="<?php echo $this->baseurl ?>/templates/platine45-1.6/css/box.css" type="text/css" media="all" />
<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/cufon-yui.js"></script>
<script type="text/javascript" src="templates/<?php echo $this->template ?>/js/cufon-replace.js"></script>
<script type="text/javascript" src="templates/<?php echo $this->template ?>/js/KabelCTT_Ultra_400.font.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/faded.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/scroll.js"></script>
<script type="text/javascript" src="templates/<?php echo $this->template ?>/js/lytebox.js"></script>
<link rel="stylesheet" href="<?php echo $this->baseurl ?>/templates/platine45-1.6/css/lytebox.css" type="text/css" />
<!--[if IE 8]>
<link href="templates/<?php echo $this->template ?>/css/ie8.css" rel="stylesheet" type="text/css" />
<![endif]-->
<!--[if gte IE 9]>
<style type="text/css">
#nav li.active {
behavior: none;
}
</style>
<![endif]-->
<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>
</head>
<body>
<div class="pagewidth">
<div id="sitename">
<a href="index.php"><img src="templates/<?php echo $this->template ?>/images/logo.png" width="350" height="110" alt="logotype" /></a>
</div>
<div id="topmenu">
<div id="navigation">
<ul class="nav">
<jdoc:include type="modules" name="position-3" />
</ul>
</div>
</div>
<div id="slide">
<jdoc:include type="modules" name="newposition" />
<div id="faded">
</div>
<div id="newsflash">
<jdoc:include type="modules" name="position-1" style="xhtml" />
</div>
</div>
<script type="text/javascript">
var $j = jQuery.noConflict();
$j(function(){
$j("#faded").faded({
speed:<?php echo $speed ?>,// 900,
crossfade: true,
autopagination: false,
autoplay: <?php echo $autoplay ?>,//default 5000,
autorestart: true
});
});
</script>
<div id="tool">
<div id="loginbt">
<div class="text-login"> <a href="#helpdiv" class="modal" style="cursor:pointer" title="Login" rel="{size: {x: 206, y: 333}, ajaxOptions: {method: "get"}}">
<a href="/index.php/pics"><img src="templates/<?php echo $this->template ?>/images/login.jpg" width="43" height="73" alt="pics" /></a>
</div>
</div>
<div style="display:none;">
<div id="helpdiv" >
<jdoc:include type="modules" name="login" style="xhtml" />
</div>
</div>
</div>
<div id="search-wrapper">
<?php if($this->countModules('position-0')) : ?>
<div id="search">
<jdoc:include type="modules" name="position-0" />
</div>
</div>
<?php endif; ?>
<div id="main<?php echo $longueur; ?>">
<jdoc:include type="component" />
</div>
<?php if($this->countModules('right')) : ?>
<div id="right">
<jdoc:include type="modules" name="right" style="xhtml" />
</div>
<?php endif; ?>
<div id="slideshow">
<jdoc:include type="modules" name="newfooter" />
<div id="faded">
<div id="footer">
<div id="footer_tm">
<div class="ftb">
The Great Out-tours Limited, Scocus Barn, Five Ashes, Mayfield, East Sussex, TN20 6JJ <br> T: 01825 729158 F: 01435 813979 <br>Registered in England and Wales. No. 7539072. Registered address: Woodside, Little London Road, Horam, Heathfield, East Sussex TN21 0BL, UK <br>
Copyright © 2011 The Great Out-tours Limited. design by <a target=" _blank" href= "http://www.perceptivephotography.com" > perceptive</a>
</div>
</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>
</body>
</html>
Hope you can help...please