Bonjour alors voila après installation du site et modification du template sur la page d'accueil http://comdescoms.e3b.org/ j'ai une erreur
Parse error: syntax error, unexpected $end in /home/c/comdescoms/html/templates/siteground87/index.php on line 85
voila l'integralité du fichier ! je ne trouve pas l'erreur
Code :
- <?php
- defined( '_VALID_MOS' ) or die( 'Direct Access to this location is not allowed.' );
- // needed to seperate the ISO number from the language file constant _ISO
- $iso = split( '=', _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
- if ( $my->id ) {
- initEditor();
- }
- ?>
- <?php mosShowHead(); ?>
- <meta http-equiv="Content-Type" content="text/html; <?php echo _ISO; ?>" />
- <?php echo "<link rel=\"stylesheet\" href=\"$GLOBALS[mosConfig_live_site]/templates/$GLOBALS[cur_template]/css/template_css.css\" type=\"text/css\"/>" ; ?>
- <link rel="alternate" type="application/rss+xml" title="<?php echo $mosConfig_sitename?>" href="<?php echo $mosConfig_live_site;?>/index.php?option=com_rss&feed=RSS2.0&no_html=1" />
- <!--[if lte IE 7]>
- <link href="<?php echo $mosConfig_live_site;?>/templates/<?php echo $mainframe->getTemplate(); ?>/css/template_ie.css" rel="stylesheet" type="text/css" />
- <![endif]-->
- </head>
- <body>
- <div id="page_bg">
- <div id="center">
- <!--topmenu start-->
- <div class="topmenu">
- <?php include'menu.php'; ?>
- </div>
- <!--topmenu end-->
- <!--header start-->
- <div id="header">
- <div id="sitename">
- <table cellspacing="0" cellpadding="0" style="width: 1000px; height: 140px; text-align: center; margin: 0 auto;">
- <tr><td style="text-align: center; vertical-align: middle;">
- <p><?php echo $GLOBALS['mosConfig_sitename']?></p>
- </td></tr>
- </table>
- </div>
- </div>
- <!--header end-->
- <!--center start-->
- <div class="center">
- <div id="wrapper">
- <div id="content">
- <!--if left or right collum start-->
- <?php if ( mosCountModules( 'left' ) ) { ?>
- <div id="leftmenu">
- <?php mosLoadModules('left' , '-3'); ?>
- <? $sg = 'banner'; include "templates.php"; ?>
- </div>
- <? } ?>
- <?php if ( mosCountModules( 'right' ) ) { ?>
- <div id="main">
- <? } else { ?>
- <div id="main_full">
- <? } ?>
- <?php mosMainBody(); ?>
- </div>
- <?php if ( mosCountModules( 'right' ) ) { ?>
- <div id="rightmenu">
- <?php mosLoadModules ( 'right' , '-3'); ?>
- </div>
- <? } ?>
- <div class="clr"></div>
- <!--if left or right collum end-->
- </div>
- </div>
- </div>
- <!--center end-->
- <!--footer start-->
- <div id="footer">
- <p class="copyright"><? $sg = ''; include "templates.php"; ?></p>
- </div>
- <!--footer end-->
- </div>
- </div>
- </body>
- </html>
|
Merci de votre aide
Message édité par Elmoricq le 07-07-2008 à 18:18:28