bonjour je suis sous oscommerce je vaudrai réaliser cette page
j'ai modifier le fichier contact/french et je ne comprend pas ceux que j'ai rajouter dans contact ne s'affiche pas sur mon site
voici le code
<?php define('HEADING_TITLE', 'Echange de lien'); define('NAVBAR_TITLE', 'Echange de lien'); define('TEXT_SUCCESS', 'Votre échange de lien a été envoyée avec succès au propriétaire du magasin.'); define('EMAIL_SUBJECT', 'Requête de ' . STORE_NAME); define('ENTRY_NAME', 'Nom et Prénom :'); define('ENTRY_EMAIL', 'Adresse email :'); // Ajout pour champ supp. contact_us define('ENTRY_LIEN', 'Votre lien : '); // Fin ajout pour champ supp. contact_us define('ENTRY_ENQUIRY', 'Description de votre demande :'); // ici les rajouts !!!!!!!!!!!! define('TEXT_INFORMATION','<p><font size="2">Vous voulez devenir partenaire de notre site ? Vous avez juste à positionner un des codes proposées ci-dessous, et le placer dans votre page html ou vous desirez le voir apparaitre. <br> De remplir le formulaire de soumission ci dessous et nous mettrons votre lien <a href="http://www.ileauxtresors.com/aide.php"><b>dans notre page partenaire.</a></font></p><br> <table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td colspan="3" align="center" valign="top"><p><a href="http://www.xxx.com" target="_blank"><font color="#000000" size="2" face="Verdana, Arial, Helvetica, sans-serif"><strong>Bandeau 460x58</strong></font></a><br> <a href="http://www.xxxxx.com."><img src="http://www.xxxxxx.com/banner/ileauxtresors.gif" border="0" alt="Ile aux tresors" title=" Ile aux tresors la boutique du chineur " width="460" height="58"></a><br> <br> </p></td> </tr> <tr> <td align="center" valign="top" width="200"> </td> <td align="center" valign="top"><textarea name="textarea1" cols="50" rows="4"><a href="http://xxxxxx.com" target="_blank" title="xxxxxla boutique du chineur"> <img src="http://www.xxxxxxxx.com/banner/ileauxtresors.gif" alt="Ile aux tresors la boutique du chineur" width="460" height="58" border="0"></textarea></td> <td align="left" valign="middle" width="200"> <input name="button" type="button" class="button" onClick="textarea1.focus();textarea1.select()" value="Sélectionner"> </td> </tr> <tr> </tr> <tr> <td colspan="3" align="center" valign="top"><p><a href="http://www.ileauxtresors.com" target="_blank"><font color="#000000" size="2" face="Verdana, Arial, Helvetica, sans-serif"><strong>Vignette 120x40</strong></font></a><br> <a href="http://www.xxxxxxx.com"><img src="http://www.xxxxx.com/banner/bouton.jpg" border="0" alt="Ile aux tresors" title=" Ile aux tresors la boutique du chineur " width="120" height="40"></a><br> </p></td> </tr> <tr> <td align="center" valign="top"> </td> <td align="center" valign="top"><textarea name="textarea2" cols="50" rows="4"><a href="http://www.xxxxxxxxxx" target="_blank" title="Ile aux tresors"> <img src="http://www.xxxxxxxxx.com/banner/bouton.jpg" alt="xxxxxxla boutique du chineur" width="120" height="40" border="0"></textarea></td> <td align="left" valign="middle"> <input name="button2" type="button" class="button" onClick="textarea2.focus();textarea2.select()" value="Sélectionner"></td> </tr> <tr> </tr> </table>');?>
et voici le code de contact.php
<?php require('includes/application_top.php'); require(DIR_WS_LANGUAGES . $language . '/' . FILENAME_CONTACT); $error = false; if (isset($HTTP_GET_VARS['action']) && ($HTTP_GET_VARS['action'] == 'send')) { $name = tep_db_prepare_input($HTTP_POST_VARS['name']); $email_address = tep_db_prepare_input($HTTP_POST_VARS['email']); // Ancien code pour champ supp. contact_us $enquiry = tep_db_prepare_input($HTTP_POST_VARS['enquiry']); // Nouveau code pour champ supp. contact_us $lien = tep_db_prepare_input($HTTP_POST_VARS['lien']); $enquiry = ENTRY_LIEN . $lien . '<br>' . tep_db_prepare_input($HTTP_POST_VARS['enquiry']); // Fin nouveau code pour champ supp. contact_us if (tep_validate_email($email_address)) { tep_mail(STORE_OWNER, STORE_OWNER_EMAIL_ADDRESS, EMAIL_SUBJECT, $enquiry, $name, $email_address); tep_redirect(tep_href_link(FILENAME_CONTACT, 'action=success')); } else { $error = true; $messageStack->add('contact', ENTRY_EMAIL_ADDRESS_CHECK_ERROR); } } $breadcrumb->add(NAVBAR_TITLE, tep_href_link(FILENAME_CONTACT)); ?> <!doctype html public "-//W3C//DTD HTML 4.01 Transitional//EN"> <html <?php echo HTML_PARAMS; ?>> <head> <meta http-equiv="Content-Type" content="text/html; charset=<?php echo CHARSET; ?>"> <title><?php echo TITLE; ?></title> <base href="<?php echo (($request_type == 'SSL') ? HTTPS_SERVER : HTTP_SERVER) . DIR_WS_CATALOG; ?>"> <link rel="stylesheet" type="text/css" href="stylesheet.css"> </head> <body marginwidth="0" marginheight="0" topmargin="0" bottommargin="0" leftmargin="0" rightmargin="0"> <!-- header //--> <?php require(DIR_WS_INCLUDES . 'header.php'); ?> <!-- header_eof //--> <!-- body //--> <table border="0" width="100%" cellspacing="3" cellpadding="3"> <tr> <td width="<?php echo BOX_WIDTH; ?>" valign="top"><table border="0" width="<?php echo BOX_WIDTH; ?>" cellspacing="0" cellpadding="2"> <!-- left_navigation //--> <?php require(DIR_WS_INCLUDES . 'column_left.php'); ?> <!-- left_navigation_eof //--> </table></td> <!-- body_text //--> <td width="100%" valign="top"><?php echo tep_draw_form('contact', tep_href_link(FILENAME_CONTACT, 'action=send')); ?><table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr> <td><table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr> <td class="pageHeading"><?php echo HEADING_TITLE; ?></td> <td></td> </tr> </table></td> </tr> <tr> <td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td> </tr> <?php if ($messageStack->size('contact') > 0) { ?> <tr> <td><?php echo $messageStack->output('contact'); ?></td> </tr> <tr> <td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td> </tr> <?php } if (isset($HTTP_GET_VARS['action']) && ($HTTP_GET_VARS['action'] == 'success')) { ?> <tr> <td class="main" align="center"><?php echo tep_image(DIR_WS_IMAGES . 'table_background_man_on_board.gif', HEADING_TITLE, '0', '0', 'align="left"') . TEXT_SUCCESS; ?></td> </tr> <tr> <td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td> </tr> <tr> <td><table border="0" width="100%" cellspacing="1" cellpadding="2" class="infoBox"> <tr class="infoBoxContents"> <td><table border="0" width="100%" cellspacing="0" cellpadding="2"> <tr> <td width="10"><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td> <td align="right"><?php echo '<a href="' . tep_href_link(FILENAME_DEFAULT) . '">' . tep_image_button('button_continue.gif', IMAGE_BUTTON_CONTINUE) . '</a>'; ?></td> <td width="10"><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td> </tr> </table></td> </tr> </table></td> </tr> <?php } else { ?> <tr> <td><table border="0" width="100%" cellspacing="1" cellpadding="2" class="infoBox"> <tr class="infoBoxContents"> <td><table border="0" width="100%" cellspacing="0" cellpadding="2"> <tr> <td class="main"><?php echo ENTRY_NAME; ?></td> </tr> <tr> <td class="main"><?php echo tep_draw_input_field('name'); ?></td> </tr> <tr> <td class="main"><?php echo ENTRY_EMAIL; ?></td> </tr> <tr> <td class="main"><?php echo tep_draw_input_field('email'); ?></td> </tr> <tr> <td class="main"><?php echo ENTRY_LIEN; ?></td> </tr> <tr> <td class="main"><?php echo tep_draw_input_field('lien '); ?></td> </tr> <tr> <td class="main"><?php echo ENTRY_ENQUIRY; ?></td> </tr> <tr> <td><?php echo tep_draw_textarea_field('enquiry', 'soft', 50, 15); ?></td> </tr> </table></td> </tr> </table></td> </tr> <tr> <td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td> </tr> <tr> <td><table border="0" width="100%" cellspacing="1" cellpadding="2" class="infoBox"> <tr class="infoBoxContents"> <td><table border="0" width="100%" cellspacing="0" cellpadding="2"> <tr> <td width="10"><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td> <td align="right"><?php echo tep_image_submit('button_continue.gif', IMAGE_BUTTON_CONTINUE); ?></td> <td width="10"><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td> </tr> </table></td> </tr> </table></td> </tr> <?php } ?> </table></form></td> <!-- body_text_eof //--> <td width="<?php echo BOX_WIDTH; ?>" valign="top"><table border="0" width="<?php echo BOX_WIDTH; ?>" cellspacing="0" cellpadding="2"> <!-- right_navigation //--> <?php require(DIR_WS_INCLUDES . 'column_right.php'); ?> <!-- right_navigation_eof //--> </table></td> </tr> </table> <!-- body_eof //--> <!-- footer //--> <?php require(DIR_WS_INCLUDES . 'footer.php'); ?> <!-- footer_eof //--> <br> </body> </html> <?php require(DIR_WS_INCLUDES . 'application_bottom.php'); ?>
d'avance merci pour toute aide