[ Index ] |
|
Code source de e107 0.7.8 |
1 <?php 2 // $Id: contact_template.php,v 1.7 2006/11/09 19:57:47 e107coders Exp $ 3 4 if (!defined('e107_INIT')) { exit; } 5 if (!defined("USER_WIDTH")){ define("USER_WIDTH","width:97%"); } 6 7 if(!$CONTACT_INFO){ 8 $CONTACT_INFO = " 9 <table style='".USER_WIDTH."' cellpadding='1' cellspacing='7'> 10 <tr> 11 <td>{SITECONTACTINFO} 12 <br /> 13 </td> 14 </tr> 15 </table>"; 16 } 17 18 $sc_style['CONTACT_EMAIL_COPY']['pre'] = "<tr><td>"; 19 $sc_style['CONTACT_EMAIL_COPY']['post'] = LANCONTACT_07."</td></tr>"; 20 21 $sc_style['CONTACT_PERSON']['pre'] = "<tr><td>".LANCONTACT_14."<br /> "; 22 $sc_style['CONTACT_PERSON']['post'] = "</td></tr>"; 23 24 $sc_style['CONTACT_IMAGECODE']['pre'] = "<tr><td>".LANCONTACT_14."</td><td>"; 25 $sc_style['CONTACT_IMAGECODE']['post'] = "</td>"; 26 27 $sc_style['CONTACT_IMAGECODE']['pre'] = "<tr><td>".LANCONTACT_16."<br />"; 28 $sc_style['CONTACT_IMAGECODE']['post'] = ""; 29 30 $sc_style['CONTACT_IMAGECODE_INPUT']['pre'] = ""; 31 $sc_style['CONTACT_IMAGECODE_INPUT']['post'] = "</td></tr>"; 32 33 34 if(!$CONTACT_FORM){ 35 $CONTACT_FORM = " 36 <form action='".e_SELF."' method='post' id='contactForm' > 37 <table style='".USER_WIDTH."' cellpadding='1' cellspacing='7'> 38 {CONTACT_PERSON} 39 <tr><td>".LANCONTACT_03."<br /> 40 <input type='text' name='author_name' size='30' class='tbox' value=\"".$_POST['author_name']."\" /> 41 </td></tr> 42 <tr><td>".LANCONTACT_04."<br /> 43 <input type='text' name='email_send' size='30' class='tbox' value='".($_POST['email_send'] ? $_POST['email_send'] : USEREMAIL)."' /> 44 </td></tr> 45 <tr><td> 46 ".LANCONTACT_05."<br /> 47 <input type='text' name='subject' size='30' class='tbox' value=\"".$_POST['subject']."\" /> 48 </td></tr> 49 {CONTACT_EMAIL_COPY} 50 <tr><td> 51 ".LANCONTACT_06."<br /> 52 <textarea cols='50' rows='10' name='body' class='tbox'>".stripslashes($_POST['body'])."</textarea> 53 </td></tr> 54 {CONTACT_IMAGECODE} 55 {CONTACT_IMAGECODE_INPUT} 56 <tr><td> 57 <input type='submit' name='send-contactus' value=\"".LANCONTACT_08."\" class='button' /> 58 </td></tr> 59 </table> 60 </form>"; 61 } 62 63 64 ?>
titre
Description
Corps
titre
Description
Corps
titre
Description
Corps
titre
Corps
Généré le : Sun Apr 1 01:23:32 2007 | par Balluche grâce à PHPXref 0.7 |