ob_start();
include('frclsi_admn_cp/operation.php');
$operation =new operation();
$ordr='order by `id` desc';
$ads=$operation->getdata_1('freeclassi_car_ads','*','id',$_GET['id'],'','','','');
$contact=$operation->getdata_1('indivedual_member','*','id',$ads['user_id'],'','','','');
$contact1=$operation->getdata_1('freeclassi_company','*','id',$ads['company_id'],'','','','');
$mbr_email=$contact['email'];
$cmpny_email=$contact1['email'];
if(isset($_POST['hh']) && ($_POST['hh']==1))
{
extract($_POST);
$to='pknitheesh143@gmail.com';
$subject='Enquiry Details To Your Freeclassy Ads';
$message='
|
|
Enquiry Details |
|
Email |
: |
'.$email.' |
|
Phone |
: |
'.$phone.' |
|
Message |
: |
'.$msg.' |
|
|
|
|
|
|
|
|
';
$headers = 'MIME-Version: 1.0' . "\r\n";
$headers .= 'Content-type: text/html; charset=iso-8859-1' . "\r\n";
$headers .= 'From:'.$email.'<'.$email.'>'. "\r\n";
$headers .= "Reply-To: ".$email."\r\n";
$mail=@mail($to, $subject, $message, $headers);
if($mail)
{
$msg="Your Interest Sent Sucessfully";
}
else
{
$msg="Network Error";
}
}
?>
Freeclassy
include_once('header.php') ?>
$country=$_SESSION['country'];
$cntry_id=$operation->getdata_1('freeclassi_country','*','',''," country='$country' ",'',$start,$limit);
$country_id=$cntry_id['id'];
$linkct=$operation->getdata_1('freeclassi_category','*','id',$ads['cat_id'],'','',$start,$limit);
$linkct2=$operation->getdata_1('freeclassi_subcategory','*','id',$ads['sub_cat_id'],'','',$start,$limit);
?>
include_once('footer.php'); ?>
include_once('js_php.php'); ?>