Monkey Albino

Linux altar53.supremepanel53.com 4.18.0-553.8.1.lve.el8.x86_64 #1 SMP Thu Jul 4 16:24:39 UTC 2024 x86_64
/ home1/ bdapparelinfo/ www/

//home1/bdapparelinfo/www/send_inquery.php

<?php
/**   
 */
    //connect to the database 
    include_once ('config.php'); 
	$sq=$_REQUEST["id"]; 
	$query = "SELECT * FROM add_list WHERE id ='$sq'";
	$result = mysql_query($query) or die(mysql_error());
	$num_rows = mysql_fetch_array($result);
	$Company_Name = $num_rows["company_name"];
	$Email = $num_rows["email"];
	///////////////////////////////////////
session_name("fancyform");
session_start();


$_SESSION['n1'] = rand(1,20);
$_SESSION['n2'] = rand(1,20);
$_SESSION['expect'] = $_SESSION['n1']+$_SESSION['n2'];


$str='';
if($_SESSION['errStr'])
{
	$str='<div class="error">'.$_SESSION['errStr'].'</div>';
	unset($_SESSION['errStr']);
}

$success='';
if($_SESSION['sent'])
{
	$success='<h1>Thank you!</h1>';
	
	$css='<style type="text/css">#contact-form{display:none;}</style>';
	
	unset($_SESSION['sent']);
}
?>
<!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> 
<title>Garments Machinery, Textile Machinery, Sewing Machine, Garments Industry, Textiles Mills, Garments Accessories, Yellow Pages of Bangladesh</title>
<meta name="keywords"
content="Bdtrade" />
<meta name="description" content="Bdtrade" />
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />

		<link rel="stylesheet" type="text/css" href="css/style.css" />
		<!--================pasignation===================-->
	<link href="pasignation/pagination.css" rel="stylesheet" type="text/css" />
	<link href="pasignation/B_blue.css" rel="stylesheet" type="text/css" />
			<!--================end link pasignation===================-->
	<script language="JavaScript" src="script/gen_validatorv4.js" type="text/javascript" xml:space="preserve"></script>
	<!---============================================--->
	
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js"></script>
<script type="text/javascript" src="jqtransformplugin/jquery.jqtransform.js"></script>
<script type="text/javascript" src="formValidator/jquery.validationEngine.js"></script>

<script type="text/javascript" src="script.js"></script>
			<!--================end Form Validation===================-->
</head>
<body>


<?php //include 'top.php';?>

<?php include 'header.php';?>



<div id="main">
  <?php //include 'left_menu.php';?>
	  <!--<div id="content">-->
		<div class="conL" style="width:99.5%; border:1px solid #D0DBED">   
		<h5> Send Inquery To <b><?php echo $Company_Name;?></b></b>
		<b style="float:right">Note: 1) Please write in English    2)* indicates required fields</b>  </h5> 
		
	 <link type="text/css" href="bjmea-admin/css/jquery.cleditor.css" rel="stylesheet" />
	<script type='text/javascript' src='bjmea-admin/js/jquery-1.4.2.min.js'></script>	<!-- jquery library -->
	<script type='text/javascript' src='bjmea-admin/js/jquery-ui-1.8.5.custom.min.js'></script> <!-- jquery UI -->
	<script type='text/javascript' src='bjmea-admin/js/cufon-yui.js'></script> <!-- Cufon font replacement -->
	<script type='text/javascript' src='bjmea-admin/js/ColaborateLight_400.font.js'></script> <!-- the Colaborate Light font -->
	<script type='text/javascript' src='bjmea-admin/js/easyTooltip.js'></script> <!-- element tooltips -->
	<script type='text/javascript' src='bjmea-admin/js/jquery.tablesorter.min.js'></script> <!-- tablesorter -->
	
	<!--[if IE 8]>
		<script type='text/javascript' src='bjmea-admin/js/excanvas.js'></script>
		<link rel="stylesheet" href="bjmea-admin/css/IEfix.css" type="text/css" media="screen" />
	<![endif]--> 
 
	<!--[if IE 7]>
		<script type='text/javascript' src='bjmea-admin/js/excanvas.js'></script>
		<link rel="stylesheet" href="bjmea-admin/css/IEfix.css" type="text/css" media="screen" />
	<![endif]--> 
	
	<script type='text/javascript' src='bjmea-admin/js/visualize.jQuery.js'></script> <!-- visualize plugin for graphs / statistics -->
	<script type='text/javascript' src='bjmea-admin/js/iphone-style-checkboxes.js'></script> <!-- iphone like checkboxes -->
	<script type='text/javascript' src='bjmea-admin/js/jquery.cleditor.min.js'></script> <!-- wysiwyg editor -->
	<script type='text/javascript' src='bjmea-admin/js/custom.js'></script> <!-- the "make them work" script -->
 <style type="text/css" xml:space="preserve">
.error_strings{ font-size:14px; color:#CC0000; font-weight:bold; line-height:25px;}
</style>

	
    <form action="mail_action.php" method="post" enctype="multipart/form-data"  name="myform" id="myform">
      <table align="center" cellpadding="2" cellspacing="1">
	 
        <tr>
          <td align="right" class="section_text">Your Name</td>
          <td align="center"><strong>:</strong></td>
          <td><label>
            <input type="text" name="yourname" class="admin_form_field_text" id="cat_name" >
              <input type="hidden" name="customar" value="<?php echo $Email;?>"/> 
               
            </select>
          </label></td>
        </tr> 
        <tr>
          <td align="right" class="section_text">Contact Email</td>
          <td align="center"><strong>:</strong></td>
          <td><input name="email" type="text" class="admin_form_field_text" id="email" /></td>
        </tr>
        <tr>
          <td align="right" class="section_text">Subject </td>
          <td align="center"><strong>:</strong></td>
          <td><input name="subject" value="Inquire about <?php echo $Company_Name;?>" type="text" class="admin_form_field_text" id="subject" /></td>
        </tr>
        <tr>
          <td width="137" align="right" class="section_text">Do you like this Add ?</td>
          <td width="37" align="center"><strong>:</strong></td>
          <td width="381"><input type="radio" name="likeit" value="Yes" checked="checked" /> Yes
							<input type="radio" name="likeit" value="No" /> No
							<input type="radio" name="likeit" value="Not sure" /> Not sure</td>
		</tr>
        <tr>
          <td width="137" align="right" class="section_text">How did you find us ? </td>
          <td width="37" align="center"><strong>:</strong></td>
          <td width="381"><select name="how" class="admin_form_field_text">
             			<option value="000" selected="selected"> -- Please select -- </option>
						<option>Bdtrade.com</option>
						<option>Google</option>
						<option>Yahoo</option>
						<option>Word of mouth</option>
						<option>Other</option>
						</select></td>
        </tr>
        <tr>
          <td align="right" class="section_text">Description</td>
          <td align="center"><strong>:</strong></td>
          <td style="color: #C3C3C3; font-size:11px; word-spacing:15px;">( Type: address, Tel, Fax, Mob, Email, Web &amp; Product Details )</td>
        </tr>
        <tr>
          <td colspan="3"><label>
            <textarea name="comments" class="editor" id="comments"></textarea>
          </label></td>
        </tr>
        <tr>
          <td colspan="3"><div id="myform_errorloc" class="error_strings"> </div></td>
        </tr>
        <tr>
          <td align="right" class="section_text">&nbsp;</td>
          <td align="center">&nbsp;</td>
          <td><input id="submit" type="submit" name="create"  value="submit"/></td>
        </tr>
        <tr>
          <td colspan="6" align="right" class="section_text">&nbsp;</td>
        </tr>
      </table>
    </form><script language="JavaScript" type="text/javascript" xml:space="preserve">//<![CDATA[
//You should create the validator only after the definition of the HTML form
  var frmvalidator  = new Validator("myform");
 frmvalidator.EnableOnPageErrorDisplaySingleBox();
 frmvalidator.EnableMsgsTogether();
 
  //frmvalidator.addValidation("how","dontselect=000");
  
  frmvalidator.addValidation("yourname","req"," * Please enter your Name");
  frmvalidator.addValidation("yourname","maxlen=80",	"Max length for Name is 80");
  //frmvalidator.addValidation("yourname","alpha_s","Name can contain alphabetic chars only");
  
  frmvalidator.addValidation("subject","req"," * Please enter your Subject Name");
  frmvalidator.addValidation("subject","maxlen=200",	"Max length for Subject Name is 200");
  //frmvalidator.addValidation("subject","alpha_s","Name can contain alphabetic chars only");
  
  
  frmvalidator.addValidation("email","maxlen=50");
  frmvalidator.addValidation("email","req");
  frmvalidator.addValidation("email","email");
  
 
  frmvalidator.addValidation("comments","maxlen=5000");
//]]></script>
		
					 
  </div> <!--end conL--><!--end conL-->
		
	  <?php //include 'right.php';?>
   <!--</div>end content-->
</div> <!--end main-->

     <?php include 'footer.php';?>