include "../rcontrol/config.php";
include "../rcommon/functions.php";
include "../rcommon/database.php";
require_once '../rcontrol/ynfxps_config.php';
$whichpage1 = $_REQUEST['get'];
if($submit)
{
if($bs)
{
$service .= $bs."\n";
}
if($in)
{
$service .= $in."\n";
}
if($ir)
{
$service .= $ir."\n";
}
if($is)
{
$service .= $is."\n";
}
if($ts)
{
$service .= $ts."\n";
}
$emailto="sales@ynfx.com,Vaishali@ynfx.com";
$cc = "rakesh@yarnsandfibers.com,dhanashree@ynfx.com";
$bcc = "sanjay@yarnsandfibers.com";
$feedback.="-------------------------------------------\n";
$feedback.="PERSONAL DETAILS\n";
$feedback.="-------------------------------------------\n\n";
$feedback.="Name : $name\n\nCompany Name : $coname\n\neMail : $email\n\nTelephone : $phone\n\n";
$feedback.="Service Selected : $service\n\n";
$feedback.="Comments : $comment\n\n";
$heading = "Call me back for $whichpage";
$name=addslashes($name);
$coname=addslashes($coname);
$date=mktime_to_mysqltime(time());
$request_info=$bs.'-'.$mis.'-'.$ts.'-'.$bp.'-'.$mip;
$sql="insert into callmeback values (null, '$name', '$coname', '$email', '$heading', '$phone', '$bs', '$mis', '$ts', '$bp', '$mip', '$pm', '', '$date')";
//$sql="insert into callmeback (name, cname, email, phone, business, mi, tech, business_plan, mi_plan, pm_plan, comments, date_entered) values ('$name', '$coname', '$email', '$phone', '$bs', '$mis', '$ts', '$bp', '$mip', '$pm', '', '$date')";
$result=mysql_db_query($DATABASE,$sql);
//if(mysql_error()) error("Unexpected Error !!");
mail($emailto,$heading,$feedback,"From:$email\ncc:$cc\nbcc:$bcc");
$sql_insert="INSERT INTO ynfx_ps.automation_process(srno,report_type,name,company,email,country,address,phone,website,comment,is_member,request_info,dtstmp) VALUES ('',5,'$name','$coname','$email','','','$phone','','$comment','','$request_info',NOW())";
$sql_query=mysql_query($sql_insert) or die(mysql_error());
// Thank you mail to subscriber
include("../thankyou_mail.php");
//$msg="Thankyou for your interest in our services. Our team will get back to you soon";
?>
}
?>
Subscribe Details to PriceWatch, Industry News, Industry Reports, Market Intelligence Plan
|
|
|
if($id == "aniv")
{
$PHP_SELF = $PHP_SELF."?id=aniv";
}
?>
|
|