Witam, postanowiłem przerobić szablon z wersji 1.0 na 1.5, jednak okazało się to dla mnie nie tak proste. Mianowicie występuje błąd:
Parse error: syntax error, unexpected $end in /var/www/virtual/jakostakos.pl/templates/jk/index.php on line 67

Oto plik index.php
Kod PHP:
<?php defined"_JEXEC" ) or die( "Direct Access to this location is not allowed." );$iso split'='_ISO );echo '<?xml version="1.0" encoding="'$iso[1] .'"?' .'>';?>
<!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">
<head>
<jdoc:include type="head" />
<meta http-equiv="Content-Type" content="text/html; <?php echo _ISO?>" />
<?php if ( $my->id ) { initEditor(); } ?>
<?php 
echo "<link rel=\"stylesheet\" href=\"<?php echo $mainframe->getCfg( 'live_site' );?>/templates/$GLOBALS[cur_template]/css/template_css.css\" type=\"text/css\"/>" ?>
<link rel="alternate" title="<?php echo $mainframe->getCfg('sitename');?>" href="<?php echo $mainframe->getCfg'live_site' );?>/index2.php?option=com_rss&amp;no_html=1" type="application/rss+xml" />
<link rel="alternate" type="application/rss+xml" title="<?php echo $mainframe->getCfg('sitename');?>" href="<?php echo $mainframe->getCfg'live_site' );?>/index.php?option=com_rss&amp;feed=RSS2.0&amp;no_html=1" />
<?php echo "<script src=\"<?php echo $mainframe->getCfg( 'live_site' );?>/templates/$GLOBALS[cur_template]/js/swfobject.js\" type=\"text/javascript\"></script>";?>
<?php 
echo "<link rel=\"shortcut icon\" href=\"<?php echo $mainframe->getCfg( 'live_site' );?>/templates/$GLOBALS[cur_template]/images/favicon.ico\" />" ?>
</head>
<body>
<div class="container">
<div id="path_div" style="center">
Jeste¶ tutaj: <jdoc:include type="module" name="breadcrumb" style="raw" /><div id="search"><jdoc:include type="modules" name="user4" /></div>
</div>

<div class="flash" id="flash"></div>

<div id="belka_menu">
  <div id="logo"><a href="http://www.jakostakos.pl/" target="_self"><img src="<?php echo $mainframe->getCfg'live_site' );?>/templates/$GLOBALS[cur_template]/images/logo.jpg";?>" width="195" height="90" alt="jakostakos" title="jakostakos"/></a></div>
  <div id ="menu"><jdoc:include type="modules" name="top" /></div>
</div>

<div id="srodek">
  
    
    <?php if($this->countModules('left')): ?>
    <div id="lewa_kolumna"><jdoc:include type="modules" name="left" /></div>
  <div id="tresc2">
    <?php else : ?>
    <div id="tresc">
    <?php endif; ?>
    
    <?php if($this->countModules('banner')): ?>
    <div id="banner"><jdoc:include type="modules" name="banner" /></div>
        <?php endif; ?>
        
        <?php if($this->countModules('left')): ?>
        <div id="news_and_popular2">
        <div id="nowosci2"><jdoc:include type="modules" name="user1" /></div>
        <div id="popularne2">
        <?php else : ?>
        <div id="news_and_popular">
        <div id="nowosci"><jdoc:include type="modules" name="user1" /></div>
        <div id="popularne"><jdoc:include type="modules" name="user2" /></div>
        </div>        
    <jdoc:include type="component" />
        </div>
</div>

<div id="clear"></div>

</div>

<div id="menu_bottom_bg"><div id="menu_bottom" class="center"><jdoc:include type="modules" name="bottom" /></div></div>
<div id="footer1"><div id="footer" class="center"><?php include_once('includes/footer.php'); ?></div></div>
<script type="text/javascript">
// <![CDATA[
<?php echo "var so = new SWFObject(\"<?php echo $mainframe->getCfg( 'live_site' );?>/templates/$GLOBALS[cur_template]/images/flash.swf\", \"top\", \"1000\", \"230\", \"6\", \"#000000\");";?>
so.write("flash");
// ]]>
</script>
</body>
</html>
Jeżeli ktoś by wiedział jak ten błąd rozwiązać to proszę o pomoc.