ciao,
questa è la situazione:


file: templates.php
codice:

<?if( $sg == 'banner' ):?>
<div> </div>
<?else:?>
<?echo $mainframe->getCfg('sitename') ;?>Design by
<?endif;?>



file: index.php
codice:

<div id="footer_hold">
<jdoc:include type="modules" name="debug" />
<?$sg = ''; include "templates.php"; ?>
valid xhtml
valid css
</div>



ma il codice della index.php si ferma alla riga <jdoc:include type="modules" name="debug" />
quindi credo che il problema sia nel IF ELSE del file template.php che viene incluso nel file index.php

grazie a tutti



TJ