Per inserire l'immagine direttamente nell'index, in che posizione del codice vado a metterla?
<?php
defined( '_VALID_MOS' ) or die( 'Restricted access' );
// load in some required files
require_once('js_template_config.php');
$school = $mosConfig_live_site . '/templates/' . $mainframe->getTemplate();
$iso = split( '=', _ISO );
$charset = ($force_utf8) ? 'charset=utf-8' : _ISO;
?>
<!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>
<meta http-equiv="Content-Type" content="text/html; <?php echo $charset; ?>" />
<meta http-equiv="Content-Style-Type" content="text/css" />
<?php
if ( $my->id ) initEditor();
mosShowHead();
?>
<link rel="stylesheet" href="<?php echo $school; ?>/css/template_css.css" media="screen" type="text/css" />
<?php if($load_lightbox){ ?>
<script type="text/javascript" src="<?php echo $school;?>/js/prototype.lite.js"></script>
<script type="text/javascript" src="<?php echo $school;?>/js/moo.fx.js"></script>
<script type="text/javascript" src="<?php echo $school;?>/js/litebox-1.0.js"></script>
<link rel="stylesheet" href="<?php echo $school; ?>/css/lightbox.css" type="text/css" />
<?php } ?>
<script language="javascript" type="text/javascript" src="<?php echo $school;?>/js/styleswitcher.js"></script>
</head>
<body onload="initLightbox();" id="pagebg">
<script type="text/javascript">js_init();</script>
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="table-wrapper">
<tr>
<td valign="top">
<div id="site-container">
<div id="container">
<div id="header">
<div id="header-functions">
<?php if($use_font_switcher){?>
<a href="index.php" title="Increase Text Size" onclick="changeFontSize(1);return false;"><img src="<?php echo $mosConfig_live_site;?>/templates/<?php echo $mainframe->getTemplate();?>/images/larger.png" alt="larger" width="37" height="26" border="0" /></a>
<a href="index.php" title="Decrease Text Size" onclick="changeFontSize(-1);return false;"><img src="<?php echo $mosConfig_live_site;?>/templates/<?php echo $mainframe->getTemplate();?>/images/smaller.png" alt="smaller" width="37" height="26" border="0" /></a>
<a href="index.php" title="Revert text styles to default" onclick="revertStyles(); return false;"><img src="<?php echo $mosConfig_live_site;?>/templates/<?php echo $mainframe->getTemplate();?>/images/reset.png" alt="reset" width="57" height="26" border="0" /></a>
<?php } ?>
<p class="date"><?php echo date('l, F dS Y'); ?></p>
<?php if(mosCountModules('inset')) { ?>
<?php mosLoadModules('inset', -2); ?>
<?php } ?>
</div>
<div class="header-logo">
<h1><a href="<?php echo $mosConfig_live_site;?>/index.php?option=com_frontpage&Itemid=1" title="<?php echo $mosConfig_sitename; ?>">Education</a></h1>
<h2>Template Demo</h2>
</div>
<?php if (mosCountModules('top')) { ?>
<div id="navcontainer">
<div id="navbar">
<script type="text/javascript">
<!--//--><![CDATA[//><!--
navHover = function() {
var lis = document.getElementById("navbar").getElementsByTagName("LI");
for (var i=0; i<lis.length; i++) {
lis[i].onmouseover=function() {
this.className+=" sfhover";
}
lis[i].onmouseout=function() {
this.className=this.className.replace(new RegExp(" sfhover\\b"), "");
}
}
}
if (window.attachEvent) window.attachEvent("onload", navHover);
//--><!]]>
</script>
<?php mosLoadModules ( 'top',-1 ); ?>
</div>
</div>
<?php } ?>
</div><!-- /header -->
<div id="content-container" class="clearfix">
<table width="100%" cellspacing="0" cellpadding="0" style="height:100%;">
<tr valign="top">
<?php if (mosCountModules('left')) { ?>
<td id="left_sidebar">
<?php mosLoadModules( 'left', -2 );?>
</td><!-- end #left_sidebar -->
<?php } ?>
<td id="main_content">
<?php mosMainBody(); ?>
</td><!-- end #main_content -->
<?php if (mosCountModules('right')) { ?>
<td id="right_sidebar">
<?php mosLoadModules( 'right', -2 );?>
</td><!-- end #right_sidebar -->
<?php } ?>
</tr>
</table>
</div>
</div><!-- /container -->
</div><!-- /site-container -->
<?php if (mosCountModules('user1') || mosCountModules('user2') || mosCountModules('user3')) { ?>
<div id="lower-content">
<div class="lower-content-container">
<table width="100%" cellspacing="0" cellpadding="0" style="height:100%;">
<tr valign="top">
<?php if (mosCountModules('user1')) { ?>
<td id="leftcol">
<?php mosLoadModules( 'user1', -2 );?>
</td>
<?php } ?>
<?php if (mosCountModules('user2')) { ?>
<td id="maincol">
<?php mosLoadModules( 'user2', -2 );?>
</td>
<?php } ?>
<?php if (mosCountModules('user3')) { ?>
<td id="rightcol">
<?php mosLoadModules( 'user3', -2 );?>
</td>
<?php } ?>
</tr>
</table>
</div>
</div>
<?php } ?>
</td>
</tr>
<tr>
<td>
</td>
</tr>
</table>
<div class="footer">
<?php mosLoadModules ( 'footer',-1); ?>
</div>
<div class="designer"><?php include($mosConfig_absolute_path."/templates/" . $mainframe->getTemplate() . "/js/template.css.php"); ?></div>
</body>
</html>