+ Antworten
Ergebnis 1 bis 3 von 3

Thema: template index.php

  1. #1
    War schon öfter hier
    Registriert seit
    03.07.2010
    Beiträge
    136
    Bedankte sich
    15
    Erhielt 0 Danksagungen
    in 0 Beiträgen

    Standard template index.php

    hallo, kann sich jemand meine index.php mal anschaun? was stimmt da nicht? kommt auf einmal fehler line117 wenn ich meine hp öffnen will. :(

    PHP-Code:
    <?php
    defined
    '_VALID_MOS' ) or die( 'Restricted access' );
    // needed to seperate the ISO number from the language file constant _ISO
    $iso explode'='_ISO );
    // xml prolog
    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>
    <?php mosShowHead(); ?>
    <?php
    if ( $my->id ) {
      
    initEditor();
    }

    ?>
    <meta **********="Content-Type" content="text/html; <?php echo _ISO?>" />
    <link href="<?php echo $mosConfig_live_site;?>/templates/ddj005/css/template_css.css" rel="stylesheet" type="text/css"/>
    </head>
    <body>

    <table border="0" cellpadding="0" cellspacing="0" width="808" align="center">
    <tr>
    <td class="outline">
    <table width="802" border="0" align="center" cellpadding="0" cellspacing="0">
      <tr>
        <td>
      <div id="buttons_outer">
        <div id="buttons_inner">
          <div id="buttons">
          <?php mosLoadModules 'user3', -1); ?>
          </div>
        </div>
      </div>
      <div id="search_outer">
        <div id="search_inner">
        <?php mosLoadModules 'user4', -); ?>
        </div>
      </div>
      </td>
      </tr>
      <tr>
      <td>
        <div id="header_outer">
          <div id="header">
            <div id="pathway_text">
            <?php mosPathWay(); ?>
            </div>
          </div>
          <div id="top_outer">
            <div id="top_inner">
            <?php
            
    if ( mosCountModules'top' ) ) {
              
    mosLoadModules 'top', -);
            } else {
              
    ?>
              <span class="error">Top Module Empty</span>
              <?php?>}
             </div>
          </div>
        </div>
      </td>
      </tr>
      <tr>
        <td id="main_area">
        <table width="802" cellpadding="0" cellspacing="0">
                  <tr>
            <td id="left_side">
            <div id="left_outer">
              <div id="left_inner">
              <?php mosLoadModules 'left', -); ?>
              </div>
            </div>
          </td>
          <td id="main_body">
          <?php
          
    if ( mosCountModules ('banner') ) {
          
    ?>
            <div id="banner_inner">
    <img src="<?php echo $mosConfig_live_site;?>/templates/ddj005/images/advertisement.png" alt="advertisement.png, 0 kB" title="advertisement"
              border="0" height="8" width="468"/><br />
              <?php mosLoadModules'banner', -); ?>
            </div>
          <?php
            
    {
          if ( 
    mosCountModules'user1' ) && mosCountModules'user2' )) {
            include(
    'user1_user2.php');
          }
          
    ?>
          <div id="body_outer">
            <?php mosMainBody(); ?>
            <div class="clr"></div>
          </div>
          </td>
          <?php if ( mosCountModules'right' ) and ( empty( $_REQUEST['task'] ) || $_REQUEST['task'] != 'edit' ) ) { ?>
          <td id="right_side">
          <div id="right_outer">
            <div id="right_inner">
            <?php mosLoadModules 'right', -); ?>
            </div>
          </div>
          </td>
          <?php  ?>
        </tr>
        </table>
        </td>
      </tr>
    </table>
    <?php include_once( $GLOBALS['mosConfig_absolute_path'] . '/includes/footer.php' ); ?>
    <?php mosLoadModules
    'debug', -);?>
          </td>
        </tr>
      </table>

    </body>
    </html>

  2. #2
    Gute Seele des Boards Avatar von keraM
    Registriert seit
    12.03.2006
    Ort
    Dresden
    Beiträge
    10.581
    Bedankte sich
    152
    Erhielt 2.557 Danksagungen
    in 2.359 Beiträgen

    Standard

    Das ist ein Template für Jomla 1.0, Du bist im Forum für Joomla 1.5.
    Willst Du wirklich für die nicht mehr unterstützte Version 1.0 noch was Neues anfangen? Das lohnt sich doch nicht mehr.
    Gruß keraM
    Joomla-FAQ: --> Klick!
    Support per PN: --> Klick!

  3. #3
    War schon öfter hier
    Registriert seit
    03.07.2010
    Beiträge
    136
    Bedankte sich
    15
    Erhielt 0 Danksagungen
    in 0 Beiträgen

    Standard

    ok, habs wieder hinbekommen. hat mit überschreiben der alten geklappt
    Geändert von hermsdorfer (22.07.2010 um 18:47 Uhr)

+ Antworten

Lesezeichen

Berechtigungen

  • Neue Themen erstellen: Nein
  • Themen beantworten: Nein
  • Anhänge hochladen: Nein
  • Beiträge bearbeiten: Nein