Hello,
I have a error in my php code, but I don't manage to find it...
Can you please help.
The error is in the title
Parse error: syntax error, unexpected $end in C:-------index.php on line 386
<?php //mosLoadModules ( 'left'); ?>
<?php //mosMainBody(); ?>
<?php
include('functions.php');
include ("menu.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(); ?>
<meta http-equiv="Content-Type" content="text/html; <?php echo _ISO; ?>" />
<link href="<?php echo $mosConfig_live_site;?>/templates/webbonsai/css/template_css.css" rel="stylesheet" type="text/css" />
<link href="<?php echo $mosConfig_live_site;?>/templates/webbonsai/css/myCss_css.css" rel="stylesheet" type="text/css" />
<script src="<?php echo $mosConfig_live_site;?>/templates/webbonsai/functions.js" type="text/javascript"></script>
<script src="<?php echo $mosConfig_live_site;?>/templates/webbonsai/accordian.js "type="text/javascript"></script>
<body bgcolor="#FFFFFF" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0"<?php if(isset($_GET["p"])&&($_GET["p"]=="Products")){?> onload="new Accordian('basic-accordian',5,'header_highlight');" <?php } ?>>
<table cellspacing="0" cellpadding="0" border="0" align="center">
<!-- bandeau -->
<tr><td class="top-left"></td><td class="bandeMenu"><?php echo menu($mosConfig_live_site); ?></td><td class="top-right"></td></tr>
<!-- bandeau BANDEAU-->
<tr><td class="left"></td><td class="bandeau"></td><td class="right"></td></tr>
<?php if(!isset($_GET["p"])){ ?>
<!-- bandeau BIENVENUE -->
<tr>
<td class="left"></td>
<td class="bandeau2" valign="top">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="welcomeLeft" valign="top">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="b2WelcText">
<table cellpadding="0" cellspacing="0" border="0">
<tr><td height="15"><a class="aWelcome policeAccueil" href="<?php echo $mosConfig_live_site;?>">. Rosactive France</a></td></tr>
<!-- <tr><td height="15"><a class="aWelcome policeAccueil" href="<?php echo $mosConfig_live_site;?>">. S'incrire à la newsletter</a></td></tr>
<tr><td height="15"><a class="aWelcome policeAccueil" href="<?php echo $mosConfig_live_site;?>">. Les flux RSS</a></td></tr>
<tr><td height="15"><a class="aWelcome policeAccueil" href="<?php echo $mosConfig_live_site;?>">. Le glossaire</a></td></tr> -->
<tr><td height="15"><a class="aWelcome policeAccueil" href="<?php echo $mosConfig_live_site;?>/index.php?p=Contact">. Contactez-nous</a></td></tr>
</table>
</td>
</tr>
</table>
</td>
<td class="separationWelcome"></td>
<td class="welcomeRight" valign="top">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="b2CosmText">
<a class="policeAccueil" style="color:white !important;" href="<?php echo $mosConfig_live_site;?>/index.php?p=Cosmeceutique"><?php echo descCatProduitsCosmeceutique(); ?> </a>
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
<td class="right"></td>
</tr>
You may find the rest on my next post