",$row[1],"";echo ""; if($_GET["p"]!=NULL) { $q="select * from page where id=$id and pageid=$p"; $result1=mysql_query($q); while ($row2 = mysql_fetch_array($result1)) { $pageid=$row2[1]; $pheading=$row2[2]; $pdescription=$row2[3]; echo "

",$pheading,"

"; echo "

",$pdescription,"

"; } } if($_GET["contact"]=="true") { echo "

"; if($_POST["do"]=="save") { $q="select max(cid) from contact"; $r=mysql_query($q); while ($r1 = mysql_fetch_array($r)) { $cid=$r1[0]; } $cid=$cid+1; $name=$_POST["name"]; $email=$_POST["email"]; $mobile=$_POST["mobile"]; $comment=$_POST["comment"]; $id=$_POST["id"]; $q="INSERT INTO contact (`name`, email, mobile, comment, id, cid, `date`) VALUES ('$name', '$email','$mobile','$comment',$id,$cid, CURRENT_DATE)"; //echo $q; $r=mysql_query($q); if($r!=NULL) { echo "

Thanks for Sending your Details ....

"; $message="

Responses from Business Directory

Name : ".$name."
Email : ".$email."
Mobile : ".$mobile."
Comment : ".$comment."


Thanks
http://talkduo.com


Your organization details data is posted on our website http://talkduo.com/v.php?id=".$id." [".$row[1]."] & Someone intrested on your organization business or activity which responses is given above. The email address by the sender is not verified by us.
"; //echo $message; $headers = "From: no-reply@talkduo.com\r\n"; $headers .= "Content-type: text/html\r\n"; $mail_sub="RESPONSES FROM BUSINESS DIRECTORY BY ".$name; mail($uname,$mail_sub,$message,$headers); //mail($from,$mail_sub,$message,$headers); mail("gunjankumarverma@gmail.com",$mail_sub,$message,$headers); } } ?>
Contact to

Enter Your Name
Enter Your Email
Enter Your Mobile
Enter Your Comment


",$row1[1],"\n"; $dirtype=$row[11]; $directoryn=$row1[1]; } echo "",$row[15],"
"; echo "
",$row[1],"
"; if($row[10]!="") echo "",$row[1],""; echo $row[2]; $addr=$row[2]; $state=$row[3]; $district=$row[4]; $sql="select * from district where districtid=$district"; $result=mysql_query($sql); while ($row1 = mysql_fetch_array($result)) { echo "
",$row1[2]," \n"; $districtn=$row1[2]; $districtid=$row1[1]; } $sql1="select * from state where stateid=$state"; $result1=mysql_query($sql1); while ($row1 = mysql_fetch_array($result1)) { echo " ",$row1[1]," \n"; $staten=$row1[1]; $stateid=$row1[0]; } echo "
Pin Code : ",$row[5],""; $pin=$row[5]; echo "
Phone : ",$row[7],""; echo "
Mobile : ",$row[8],""; echo "
Fax : ",$row[9],""; echo "
E-mail : ",$row[6],""; echo "
Website : ",$row[10],"
"; ?>



"; echo "",$staten,", ", $districtn," ", $row[1]," ", $directoryn," ", $addr," ", $pin,""; } ?> ",$row3[1]," in ",$row3[2],"\n"; } ?>
Bank near
Post office near