Ecco l'intero index del template:
<?php
/**
* This file is part of
* Joomla! 1.5 FAP
* @package JoomlaFAP
* @version $Id: index.php 36 2008-04-03 06:26:47Z elpaso $
* @author Alessandro Pasotti
* @copyright Copyright (C) 2008 Alessandro Pasotti
http://www.itopen.it* @license GNU/AGPL
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as
published by the Free Software Foundation, either version 3 of the
License, or (at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Affero General Public License for more details.
You should have received a copy of the GNU Affero General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
defined( '_JEXEC' ) or die( 'Restricted access' );
// xml prolog
echo '<?xml version="1.0" encoding="'. $this->_charset .'"?' .'>';
$cols = 1;
if ($this->countModules('right')
&& JRequest::getCmd('layout') != 'form'
&& JRequest::getCmd('task') != 'edit') {
$cols += 1;
}
if($this->countModules('left or inset or user4')) {
$cols += 1;
}
$url = clone(JURI::getInstance());
?>
<!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"
http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.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="templates/<?php echo $this->template; ?>/css/template_css.css" rel="stylesheet" type="text/css"/>
<!--[if IE]>
<link href="templates/<?php echo $this->template; ?>/css/msie6.css" rel="stylesheet" type="text/css"/>
<![endif]-->
<?php // Load mootools if component is not com_content
if(JRequest::getCmd('option') !== 'com_content'):
?>
<script type="text/javascript" src="<?php echo JURI::base();?>/media/system/js/mootools.js"></script>
<?php endif; ?>
<script type="text/javascript">
/* <![CDATA[ */
var skin_default = '<?php echo $this->params->get('default_skin'); ?>';
/* ]]> */
</script>
<script type="text/javascript" src="templates/<?php echo $this->template;?>/js/skin_alter.js"></script>
</head>
<body class="<?php echo $this->params->get('default_skin'); ?>">
<div class="hidden">
<a name="up" id="up">[/url]
<h1><?php echo $this->description; ?></h1>
<ul>
<li><a accesskey="P" href="#main-content"><?php echo JText::_('Skip to Content'); ?>[/url]</li>
<li><a accesskey="M" href="#main-menu"><?php echo JText::_('Jump to Main Navigation and Login'); ?>[/url]</li>
</ul>
<!-- accesskey goes here! -->
</div>
<div id="wrapper">
<div id="pathway">
<div class="padding"><?php echo JText::_('You are here'); ?>
<jdoc:include type="module" name="breadcrumbs" />
</div>
</div>
<div id="top">
<div class="padding">
<div id="accessibility-links">
<script type="text/javascript">
//<![CDATA[
document.write('<?php echo JText::_('FONTSIZE'); ?><label for="decrease"><span class="hidden"><?php echo JText::_('smaller'); ?></span></label>');
document.write(' <input type="button" name="decrease" id="decrease" value=" A - " accesskey="D" onclick="fs_change(-1); return false;" onkeypress="fs_change(-1); return false;" title="<?php echo JText::_('Decrease size'); ?>" /><label for="increase"><span class="hidden"><?php echo JText::_('bigger'); ?></span></label>');
document.write(' <input type="button" name="increase" id="increase" value=" A + " accesskey="A" onclick="fs_change(1); return false;" onkeypress="fs_change(1); return false;" title="<?php echo JText::_('Increase size'); ?>" /><label for="contrast"><span class="hidden">Contrast</span></label>');
document.write(' <input type="button" name="contrast" id="contrast" value="<?php echo JText::_('contrast'); ?>" accesskey="X" onclick="skin_change(\'black\');return false;" onkeypress="skin_change(\'black\');return false;" title="<?php echo JText::_('High contrast'); ?>" /><label for="reset"><span class="hidden"><?php echo JText::_('Revert styles to default'); ?></span></label>');
document.write(' <input type="button" name="reset" id="reset" value="<?php echo JText::_('reset'); ?>" accesskey="Z" onclick="skin_change(\'white\'); fs_set(fs_default); return false;" onkeypress="skin_change(\'white\'); fs_set(fs_default);return false;" title="<?php echo JText::_('Revert styles to default'); ?>" />');
//]]>
</script>
</div>
</div>
</div>
<div id="subtop"></div>
<?php // Banner from component or CSS
if ($this->countModules('banner')) { ?>
<div id="banner">
<div class="padding">
<jdoc:include type="modules" name="banner" style="xhtml" />
</div>
</div>
<?php } ?>
<?php if ($this->countModules('user3')) { ?>
<div id="menu-top">
<div class="padding">
<jdoc:include type="modules" name="user3" style="xhtml" />
</div>
</div>
<?php } ?>
<div class="clr"></div>
<?php if ($this->countModules('left or inset or user4')) { ?>
<div id="sidebar-left">
<div class="padding">
<?php if ($this->countModules('user4')) { ?>
<div id="searchbox">
<jdoc:include type="modules" name="user4" style="xhtml" />
</div>
<?php } ?>
<a name="main-menu" class="hidden">[/url]
<jdoc:include type="modules" name="left" style="xhtml" />
<?php if ($this->countModules('inset')) { ?>
<div class="inset">
<jdoc:include type="modules" name="inset" style="xhtml" />
</div>
<?php } ?>
</div>
</div>
<?php } ?>
<div id="main-<?php print $cols ;?>">
<a name="main-content" class="hidden">[/url]
<div class="padding">
<jdoc:include type="component" style="xhtml"/>
---------------------------------------
--- Questa è la tua parte di codice ---
---------------------------------------
<div id="user12">
<?php if ($this->countModules('user1') || $this->countModules('user2')) { ?>
<?php if ($this->countModules('user1') && $this->countModules('user2')) { ?>
<div class="user1">
<jdoc:include type="modules" name="user1" style="xhtml" />
</div>
<div class="user2"><?php $this->countModules('user2',-2); ?>
<jdoc:include type="modules" name="user2" style="xhtml" />
</div>
<?php } else { ?>
<div class="user1full">
<jdoc:include type="modules" name="user1" style="xhtml" />
</div>
<div class="user2full"><?php $this->countModules('user2',-2); ?>
<jdoc:include type="modules" name="user2" style="xhtml" />
</div>
<?php } ?>
</div>
----------------------------------------------
----------------------------------------------
<?php if ($this->countModules('bottom')) { ?>
<jdoc:include type="modules" name="bottom" style="xhtml" />
<div class="clr"></div>
<?php } ?>
</div>
</div>
<?php if ($this->countModules('right')) { ?>
<div id="sidebar-right">
<div class="padding">
<jdoc:include type="modules" name="right" style="xhtml" />
</div>
</div>
<?php } ?>
<div id="footer">
<div class="padding">
<?php if ($this->countModules('footer')) { ?>
<jdoc:include type="modules" name="footer" style="xhtml" />
</div>
<?php } ?>
</div>
</div>
<jdoc:include type="modules" name="debug" />
</body>
</html>