Location: PHPKode > projects > OrangeDeals > orangedeals_v1.2/http/contact.php
<?php include "config.php"; include "functions.php";

$user_email='';
$user_full_name='';
if (isset($_SESSION["user"][0])) {
$user=user($_SESSION["user"][0]);
$user_email=$user[4];
$user_full_name=$user[2];
}

$code=rand(1000, 9999);
?>


<?php include "header.php"; ?>
<title><?php echo $title; ?> - <?php echo $lang['writeMsg'] ?></title>
 <?php echo "<link rel='stylesheet' type='text/css' href='core_templates/".$template."/default.css'>"; ?>

        <form name="form1" method="post" action="contact_.php">
          <p>* <?php echo $lang['your_name'] ?>:
										  <input class='textbox' name="your_name" type="text" id="your_name" value="<?php echo $user_full_name; ?>">
          </p>
		     <p>* <?php echo $lang['your_email'] ?>:
										  <input class='textbox' name="your_email" type="text" id="your_email" value="<?php echo $user_email; ?>">
          </p>
          <p>* <?php echo $lang['subject'] ?>: 
            <input class='textbox' name="subject" type="text" size="45" value="">
          </p>
          <p>
            * <?php echo $lang['Message'] ?>:<br><textarea class='textbox' name="contents" cols="60" rows="10"></textarea>
          </p>
		  <p>
		  * <?php echo $lang['typeCode'] ?>'<?php echo $code;?>': <input class='textbox' type="text" name="code" />
		  <input  type="hidden" name="code_" value="<?php echo $code;?>"/>
		  </p>
          <p>
		  <?php echo "<font class='q_text_sm'>".$lang['fields_with_ast_must_completed']."</font><br><br>"; ?>
            <input class='button' type="submit" name="button" value="<?php echo $lang['send'] ?>">
          </p>
        </form>
		
		
		
        </td>
      <td class="rear_column"><?php include "rear_content.php"; ?></td>
 
	
<?php include "footer.php";  ?>
Return current item: OrangeDeals