Problème bannière



  • Salut à tous,

    J'utilise le CMS E107 et je n'arrive pas à ajouter la pub freeheberg en haut du site.

    Voici le fichier theme.php

    <?php
    /*
    + ----------------------------------------------------------------------------+
    |     e107 website system
    |
    |     ©Steve Dunstan 2001-2002
    |     http://e107.org
    |     jalist@e107.org
    |
    |     Released under the terms and conditions of the
    |     GNU General Public License (http://gnu.org).
    |
    |     $Source: /cvsroot/e107/e107_0.7/e107_themes/crahan/theme.php,v $
    |     $Revision: 1.10 $
    |     $Date: 2005/12/14 19:28:52 $
    |     $Author: sweetas $
    +----------------------------------------------------------------------------+
    */
    
    if (!defined('e107_INIT')) { exit; }
    
    // [multilanguage]
    @include_once(e_THEME."crystal/languages/".e_LANGUAGE.".php");
    @include_once(e_THEME."crystal/languages/English.php");
    
    // [theme]
    $themename = "Crystal";
    $themeversion = "1.0";
    $themeauthor = "Samir Kahvedzic [AkIrA]";
    $themeemail = "akira_tim@hotmail.com";
    $themewebsite = "http://akirapowered.com";
    $themedate = "21/09/2006";
    $themeinfo = "AkirA PowereD Crystal Theme";
    define("STANDARDS_MODE", TRUE);
    $xhtmlcompliant = TRUE;
    $csscompliant = TRUE;
    define("IMODE", "lite");
    define("THEME_DISCLAIMER", "<br /><i>".LAN_THEME_1."</i>");
    
    // [layout]
    
    $layout = "_default";
    
    if(
            eregi(e_PAGE, "news.php")
           ||eregi(e_PAGE, "menus.php")
       )
    {
    
    $HEADER = "
    <div class='wrapper1'>
    <div class='wrapper2'>
    <div class='innerwrapper'>
    <div class='headerb'>
    <div class='header'>
    <div class='banner'>
    
    </div>
    </div>
    </div>
    <div class='navb'>
    <div class='nav'>
    {SITELINKS}
    </div>
    </div>
    <div class='content'>
    <div class='leftmenu'>
    {MENU=1}
    </div>
    <div class='centercontent'>
    {MENU=3}
    ";
    
    $NEWSSTYLE = "
    
    	<div class='news'>
        <div class='hmain'><div class='hleft'><div class='hright'><h3>{NEWSTITLE}</h3></div></div></div>
    	<div class='menutable'>
    	<div class='menutable2'>
    	<div class='bodytable'>
    	<div class='story'>
    	<div class='newsleft'>
    	<div class='newsimage'>
    	{NEWSIMAGE}
    	</div>
    	<div class='newsdate'>
    	{EMAILICON}
        {PRINTICON}
        {ADMINOPTIONS}
    	<br />
    	{NEWSDATE}
    	<br />
    	<br />
    	Poste par 
          {NEWSAUTHOR}
          &nbsp;::&nbsp;
          {NEWSCOMMENTS}
    	</div>
    	</div>
    	<div class='newstext'>
        {NEWSBODY}
        {EXTENDED}
    	 <br />
    	</div>
    	<div class='clear'>
    	</div>
    	</div>
    	</div>
    	</div>
    	</div>
    	<div class='bottomt'>
    	<div class='hbleft'>
    	<div class='hbright'>
    	  </div>
    	  </div>
    	  </div>
    	  </div>
    
        ";
    
    $FOOTER = "
    {MENU=4}
    </div>
    <div class='rightmenu'>
    {MENU=2}
    </div>
    <div class='clear'>
    </div>
    </div>
    <div class='footer'>
    <div class='disclaimer'>
    {SITEDISCLAIMER}
    </div>
    </div>
    </div>
    </div>
    </div>
     ";
    
      }else{
    
    $HEADER = "
    <div class='wrapper1'>
    <div class='wrapper2'>
    <div class='innerwrapper'>
    <div class='headerb'>
    <div class='header'>
    <div class='banner'>
    {BANNER}
    </div>
    </div>
    </div>
    <div class='navb'>
    <div class='nav'>
    {SITELINKS}
    </div>
    </div>
    <div class='content'>
    <div class='leftmenu'>
    {MENU=1}
    </div>
    <div class='centercontent'>
    ";
    
    $NEWSSTYLE = "
    
    	<div class='news'>
        <div class='hmain'><div class='hleft'><div class='hright'><h3>{NEWSTITLE}</h3></div></div></div>
    	<div class='menutable'>
    	<div class='menutable2'>
    	<div class='bodytable'>
    	<div class='story'>
    	<div class='newsleft'>
    	<div class='newsimage'>
    	{NEWSIMAGE}
    	</div>
    	<div class='newsdate'>
    	{EMAILICON}
        {PRINTICON}
        {ADMINOPTIONS}
    	<br />
    	{NEWSDATE}
    	<br />
    	<br />
    	Poste par 
          {NEWSAUTHOR}
          &nbsp;::&nbsp;
          {NEWSCOMMENTS}
    	</div>
    	</div>
    	<div class='newstext'>
        {NEWSBODY}
        {EXTENDED}
    	 <br />
    	</div>
    	<div class='clear'>
    	</div>
    	</div>
    	</div>
    	</div>
    	</div>
    	<div class='bottomt'>
    	<div class='hbleft'>
    	<div class='hbright'>
    	  </div>
    	  </div>
    	  </div>
    	  </div>
    
        ";
    
    $FOOTER = "
    </div>
    <div class='rightmenu'>
    {MENU=2}
    </div>
    <div class='clear'>
    </div>
    </div>
    <div class='footer'>
    <div class='disclaimer'>
    {SITEDISCLAIMER}
    </div>
    </div>
    </div>
    </div>
    </div>
     ";
      }
    
    define("ICONSTYLE", "float: left; border:0");
    define("COMMENTLINK", LAN_THEME_3);
    define("COMMENTOFFSTRING", LAN_THEME_2);
    define("PRE_EXTENDEDSTRING", "<br /><br />[ ");
    define("EXTENDEDSTRING", LAN_THEME_4);
    define("POST_EXTENDEDSTRING", " ]<br />");
    define("TRACKBACKSTRING", LAN_THEME_5);
    define("TRACKBACKBEFORESTRING", " :: ");
    
    // [linkstyle]
    
    define(PRELINK, "<ul>");
    define(POSTLINK, "</ul>");
    define(LINKSTART, "<li>");
    define(LINKEND, "</li>");
    define(LINKDISPLAY, 1);			// 1 - along top, 2 - in left or right column
    define(LINKALIGN, "center");
    
    // [tablestyle]
    
    function tablestyle($caption, $text, $mode){
    	global $style;
    		echo "<div class='hmain'><div class='hleft'><div class='hright'><h3>{$caption}</h3></div></div></div>
    		<div class='menutable'>
    		<div class='menutable2'>
    		<div class='bodytable'>{$text}</div>
    		</div>
    		</div>
    		<div class='bottomt'>
    		<div class='hbleft'>
    		<div class='hbright'>
    		</div>
    		</div>
    		</div>
    		";
    }
    
    // [commentstyle]
    
    $COMMENTSTYLE = "<div class='forumheader'>{USERNAME} @ <span class='smalltext'>{TIMEDATE}</span></div><br />
    <table>
    <tr>
    <td style='width:20%; text-align:center'><div class='forumheader2'>{AVATAR}</div>
    <div class='forumheader2'><span class='smalltext'>{IPADDRESS}<br />{REPLY}</span></div></td>
    <td style='width:80%; text-align:left'><div class='forumheader2'>{COMMENT}</div></td>
    </tr>
    </table>
    "; 
    
    // [chatboxstyle]
    
    $CHATBOXSTYLE = "
    <div class='spacer'>
    <div class='indentchat'>
    <b>{USERNAME}</b><div style='text-align:center; padding:0px;'><span class='small' >{TIMEDATE}</span></div>
    <span class='smalltext'><br />{MESSAGE}
    </span><br><br />
    </div>
    </div>";
    
    ?>
    


  • Utilise les balises "code" pour plus de visibilité !



  • Une url pour tester? :)





  • Juste après

    <div class='centercontent'>
    ```rajoute (en remplacant ##IFRAME## par le code de l'iframe):
    

    <div class='news'>
    <div class='hmain'><div class='hleft'><div class='hright'><h3>{NEWSTITLE}</h3></div></div></div>
    <div class='menutable'>
    <div class='menutable2'>
    <div class='bodytable'>
    <div class='story'>
    <div class='newstext'>
    ##IFRAME##
    <br />
    </div>
    <div class='clear'>
    </div>
    </div>
    </div>
    </div>
    </div>
    <div class='bottomt'>
    <div class='hbleft'>
    <div class='hbright'>
    </div>
    </div>
    </div>
    </div>



  • Merci, je vais essayer :) en espérant que çà va marcher


Se connecter pour répondre
 

Il semble que votre connexion ait été perdue, veuillez patienter pendant que nous vous re-connectons.