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
/ home/ bdapparelinfo/ apptech-resource.com.bd/ |
|
<?php include 'header.php';?> <div class="clear"></div> <div class="page_title"> <div class="container"><?=$Pages;?></div> </div> <div class="container" style="padding: 0px"> <div class="col-lg-5 col-md-5 col-sm-5 col-xs-12" style="padding: 0"> <span style="font-weight: bold; font-size: 18pt;margin-left: 20px;"><?=$CompanyTitle;?></span> <?php $sql_cat=mysql_query($SQLPage); while($row=mysql_fetch_array($sql_cat)){ ?> <div class="col-lg-12 col-md-12 col-sm-12 col-xs-12"> <h4><?=$row['title'];?> </h4> <?=$row['description'];?> </div> <?php } ?> </div> <div class="col-lg-7 col-md-7 col-sm-7 col-xs-12" style="padding: 0"> <!-- Contact Form Start --> <div align="center"> <?php if(isset($_POST['contact_us'])){ $ToEmail = 'md.wasim0@gmail.com,sroth2020@gmail.com '; $EmailSubject = "Mail From Our Website :".$_POST['subject']; $mailheader = "From: ".$_POST['email']."\r\n"; $mailheader .= "Reply-To: ".$_POST['email']."\r\n"; $mailheader .= "Content-type: text/html; charset=iso-8859-1\r\n"; $MESSAGE_BODY = "<div style='line-height:30px; color:#C00; border:1px solid #CCC;padding:10px;'>"; $MESSAGE_BODY .= "<strong>Name :</strong> ".$_POST['name']."<br>"; $MESSAGE_BODY .= "<strong>Address:</strong> ".$_POST['address']."<br>"; $MESSAGE_BODY .= "<strong>Phone:</strong> ".$_POST['phone']."<br>"; $MESSAGE_BODY .= "<strong>Email:</strong> ".$_POST['email']."<br>"; $MESSAGE_BODY .= "<strong>Subject:</strong> ".$_POST['subject']."<br>"; $MESSAGE_BODY .= "<strong>Message:</strong> ".nl2br($_POST['message'])."<br>"; ///////////////////////////////////////////////////////////////// mail($ToEmail, $EmailSubject, $MESSAGE_BODY, $mailheader) or die ("Failure"); echo "Your message was sent successfully"; } ?> <table style="border: 1px solid #C0C0C0" id="table4" width="600" cellspacing="0" cellpadding="0" border="0"> <tbody><tr> <td> <br> <form id="frmquery" name="frmquery" onsubmit="return validate();" action="" method="post"> <table cellpading="2" id="table5" width="600" cellspacing="3"> <tbody><tr> <td width="160" valign="top" align="right"> <font size="2" face="Verdana">Your Name :</font></td> <td width="427" valign="top"> <input name="name" class="textArea" size="25" style="float: left"><font color="#FF0000">*</font></td> </tr> <tr> <td width="160" valign="top" align="right"> <font size="2" face="Verdana">Your E-Mail :</font></td> <td width="427" valign="top"> <input name="email" class="textArea" size="20" style="float: left"><font color="#FF0000">*</font></td> </tr> <tr> <td width="160" valign="top" align="right"> <font size="2" face="Verdana">Address : </font></td> <td width="427" valign="top"> <input name="address" class="textArea" size="40" style="float: left"><font color="#FF0000">*</font></td> </tr> <tr> <td width="160" valign="top" align="right"> <font size="2" face="Verdana">Phone no :</font></td> <td width="427" valign="top"> <input name="phone" class="textArea" size="20" style="float: left"><font color="#FF0000">*</font></td> </tr> <tr> <td width="160" valign="top" align="right"> <font size="2" face="Verdana">Subject :</font></td> <td width="427" valign="top"> <input name="subject" class="textArea" size="25" style="float: left"><font color="#FF0000">*</font></td> </tr> <tr> <td width="160" valign="top" align="right"> <font size="2" face="Verdana">Comments :</font></td> <td width="427" valign="top"> <textarea class="textArea" id="remarks" name="message" cols="35" rows="6"></textarea></td> </tr><tr> <td width="160" align="center"> </td> <td width="427" align="center"> <p align="left"> <input type="submit" class="button" value=" Submit " name="contact_us" style="float: center"> <input type="reset" class="button" value=" Reset " style="float: center"></p></td> </tr> </tbody></table> </form> </td> </tr> </tbody></table></div> <!-- Contact Form End --> </div> <div class="clear" style="margin: 0 0 50px 0"></div> </div> <?php include 'footer.php';?>