jolilola Posted February 26, 2007 Share Posted February 26, 2007 hello, I would wish that my banners not be in the footer but in the body of my text. I thus took the end of code in the footer.php and I put it in include/language/french/ index.php but I have a parse error : if ($banner = tep_banner_exists('dynamic', '468x140')) { I leave the code in entirety to see or comes the error: <?php /* $Id: index.php,v 1.1 2003/06/11 17:38:00 hpdl Exp $ osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright (c) 2003 osCommerce Released under the GNU General Public License */ define('TEXT_MAIN', '<!--<b><font color="red">CETTE BOUTIQUE EST EN COURS DE PREPARATION, LES PAIEMENTS ET COMMANDES NE SERONT PAS EFFECTIFS</font></b><br/>-->' .' <!-- ImageReady Slices () --> <img src="D:/Jolilola/visuel, plaquette et com/doc en ligne sur le site/index_page2.gif" width="432" height="300" border="0" alt="" usemap="#Sans_titre_4_Map"> <map name="Sans_titre_4_Map"> <area shape="rect" alt="S\'inscrire sur Jolilola.com" coords="238,220,376,265" href="http://www.jolilola.com/login.php"> <area shape="rect" alt="S\'inscrire sur Jolilola.com" coords="238,220,377,266" href="http://www.jolilola.com/login.php"> </map> <!-- End ImageReady Slices --> <?php if ($banner = tep_banner_exists('dynamic', '468x140')) { ?> <br> <table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr> <td align="center"><?php echo tep_display_banner('static', $banner); ?></td> </tr> </table> <?php } ?> '); define('TABLE_HEADING_NEW_PRODUCTS', 'Nouveaux produits pour %s'); define('TABLE_HEADING_UPCOMING_PRODUCTS', 'Prochains produits'); define('TABLE_HEADING_DATE_EXPECTED', 'Date prévu'); if ( ($category_depth == 'products') || (isset($HTTP_GET_VARS['manufacturers_id'])) ) { define('HEADING_TITLE', 'Articles disponibles'); define('TABLE_HEADING_IMAGE', ''); define('TABLE_HEADING_MODEL', 'Modèle'); define('TABLE_HEADING_PRODUCTS', 'Nom du produit '); define('TABLE_HEADING_MANUFACTURER', 'Fabricant'); define('TABLE_HEADING_QUANTITY', 'Quantité'); define('TABLE_HEADING_PRICE', 'Prix'); define('TABLE_HEADING_WEIGHT', 'Poids'); define('TABLE_HEADING_BUY_NOW', 'Acheter maintenant'); define('TEXT_NO_PRODUCTS', 'Il n\'y a aucun produit listé dans cette catégorie.'); define('TEXT_NO_PRODUCTS2', 'Il n\'y a aucun produit disponible de ce fabricant.'); define('TEXT_NUMBER_OF_PRODUCTS', 'Nombre de produits :'); define('TEXT_SHOW', '<b>Afficher :</b>'); define('TEXT_BUY', 'Acheter 1 \''); define('TEXT_NOW', '\' maintenant'); define('TEXT_ALL_CATEGORIES', 'Toutes catégories'); define('TEXT_ALL_MANUFACTURERS', 'Tous fabricants'); } elseif ($category_depth == 'top') { define('HEADING_TITLE', 'Bienvenue'); } elseif ($category_depth == 'nested') { define('HEADING_TITLE', 'Catégories'); } ?> thank you for your assistance Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.