Back to top

Autore Topic: Template corretto o possibili falle?  (Letto 1705 volte)

Offline kosee

  • Nuovo arrivato
  • *
  • Post: 44
    • Mostra profilo
Template corretto o possibili falle?
« il: 02 Lug 2008, 13:44:24 »
Salve voleso un consiglio tencnico su questo template:

Codice: [Seleziona]
<?php defined"_VALID_MOS" ) or die( "Direct Access to this location is not allowed." );?>
<!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>
<?php if ( $my->id ) { initEditor(); } ?>
<meta http-equiv="Content-Type" content="text/html;><?php echo _ISO?>" />
<?php mosShowHead(); ?>

<?php echo "<link rel=\"stylesheet\" href=\"$GLOBALS[mosConfig_live_site]/templates/$GLOBALS[cur_template]/css/template_css.css\" type=\"text/css\"/>" ?><?php echo "<link rel=\"shortcut icon\" href=\"$GLOBALS[mosConfig_live_site]/images/favicon.ico\" />" ?>
<SCRIPT language="javascript">AC_FL_RunContent = 0;</SCRIPT>
<SCRIPT src="AC_RunActiveContent.js" language="javascript"></SCRIPT>
</head>

<body>
  <table width="720" border="0" align="center" cellpadding="0" cellspacing="0">
    <tr>
      <td align="left" valign="top" class="head_td_logo" ><a href="http://www.miosito.com"><?php if($_REQUEST['option']=='com_frontpage'){?><img src="<?php echo "$GLOBALS[mosConfig_live_site]/templates/$GLOBALS[cur_template]/images/"?>logo.gif" alt="Logo NOTgallery" width="153" height="51" border="0"/><?php }else{?><img src="<?php echo "$GLOBALS[mosConfig_live_site]/templates/$GLOBALS[cur_template]/images/"?>logo_back.gif" alt="Logo AZIENDA" width="153" height="51" border="0"/><?php }?></a></td>
      <td align="left" valign="top" width="140"><img src="<?php echo "$GLOBALS[mosConfig_live_site]/templates/$GLOBALS[cur_template]/images/"?>headsection.gif" alt="Logo NOT gallery in sezione" width="133" height="51" /></td>
    <td align="left" valign="middle" width="180">
<?php if (mosCountModules('top')>0mosLoadModules('top','true'); ?></td>
    </tr>
</table>
<table width="720" border="0" align="center" cellpadding="0" cellspacing="0">
    <tr>
      <td width="540" align="left" valign="top"><div id="corpo_left">
        <?php //mosPathWay(); ?>
        <div id="contenuto">
          <?php mosMainBody(); ?>
          <?php if (mosCountModules('mymailing')>0) echo'<br />'mosLoadModules('mymailing','true'); ?>
        </div>
        <div "bannercorpo">
          <?php if ($_REQUEST['option']=='com_frontpage'mosLoadModules('banneruno','true'); ?>
        </div>
      </div></td>
      <td width="180" align="left" valign="top"><div id="corpo_right"><br />
<br />
<?php if (mosCountModules('artists')>0mosLoadModules('artists','true'); ?><img src="<?php echo "$GLOBALS[mosConfig_live_site]/templates/$GLOBALS[cur_template]/images/"?>section.gif" alt="in gallery" width="180" height="30" />
            <?php if (mosCountModules('gallery')>0mosLoadModules('gallery','true'); ?>
           <br />
        <img src="<?php echo "$GLOBALS[mosConfig_live_site]/templates/$GLOBALS[cur_template]/images/"?>section.jpg" alt="gallery" width="180" height="30" />
            <?php if (mosCountModules('otgallery')>0mosLoadModules('otgallery','true'); ?>
           <br />
            <img src="<?php echo "$GLOBALS[mosConfig_live_site]/templates/$GLOBALS[cur_template]/images/"?>world.gif" width="180" height="31" alt="NOT world"/>
            <?php if (mosCountModules('world')>0mosLoadModules('world','true'); ?>
<br />
   <form action="index.php" method="post">
              <img src="<?php echo "$GLOBALS[mosConfig_live_site]/templates/$GLOBALS[cur_template]/images/"?>search.gif" width="180" height="31" alt="Logo search"/>
              <div align="left">
                <input class="inputboxsearch" type="text" name="searchword" size="15" value="<?php echo _SEARCH_BOX?>" onblur="if(this.value=='') this.value='<?php echo _SEARCH_BOX?>';" onfocus="if(this.value=='<?php echo _SEARCH_BOX?>') this.value='';" />
                <input type="hidden" name="option" value="search" />
                                <input name="Cerca" type="submit" value="OK" class="buttonsearch" />
              </div>
            </form>
<?php if (mosCountModules('right')>0mosLoadModules('right','true'); ?>
        <br />
            <?php if (mosCountModules('bannerdue')>0mosLoadModules('bannerdue','true'); ?>
      </div></td>
    </tr>
  </table>
  <table width="720" border="0" align="center" cellpadding="0" cellspacing="0">
    <tr>
      <td align="right" valign="top" class="footer_td_logo"><img src="<?php echo "$GLOBALS[mosConfig_live_site]/templates/$GLOBALS[cur_template]/images/"?>factory.gif" alt="Logo AZIENDA" width="280" height="75" /></td>
    </tr>
    <tr>
      <td align="left" valign="top"><?php include_once('includes/footer.php'); ?></td>
    </tr>
</table>
    </body>
</html>

 



Web Design Bolzano Kreatif