Hello...Something Wrong. Please Enter valid Email, Mobile to continue further.
"; $kflag = 2; } else { $sql2=mysql_query("select * from bt_leads where mobile = '$mobile'"); $num2=mysql_num_rows($sql2); if ($num2 == 0) { $authcode = rand(1000, 4000); $mverify = "Dear ".$name.", Your Course Enquiry Code is ".$authcode." Please enter this code in our iClass Portal."; $sendto = "91".$mobile; //Please Enter Your Details $user="SNILA"; //your username $password="team100"; //your password $mobilenumbers="$sendto"; //enter Mobile numbers comma seperated $message= "$mverify"; //enter Your Message $senderid="iClass"; //Your senderid $messagetype="N"; //Type Of Your Message $DReports="Y"; //Delivery Reports $url="http://www.smscountry.com/SMSCwebservice.asp"; $message = urlencode($message); $ch = curl_init(); if (!$ch){die("Couldn't initialize a cURL handle");} $ret = curl_setopt($ch, CURLOPT_URL,$url); curl_setopt ($ch, CURLOPT_POST, 1); curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false); curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, 2); curl_setopt ($ch, CURLOPT_POSTFIELDS, "User=$user&passwd=$password&mobilenumber=$mobilenumbers&message=$message&sid=$senderid&mtype=$messagetype&DR=$DReports"); $ret = curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); //If you are behind proxy then please uncomment below line and provide your proxy ip with port. // $ret = curl_setopt($ch, CURLOPT_PROXY, "PROXY IP ADDRESS:PORT"); $curlresponse = curl_exec($ch); // execute if(curl_errno($ch)) echo 'curl error : '. curl_error($ch); if (empty($ret)) { // some kind of an error happened die(curl_error($ch)); curl_close($ch); // close cURL handler } else { $info = curl_getinfo($ch); curl_close($ch); // close cURL handler //echo ""; //echo $curlresponse; //echo "Message Sent Succesfully" ; } //echo "Name is : $name, Mobile is: $mobile, Email is : $email, Course id: $courseid, MyInfo is $myinfo, City id = $cityid, Created on = $created_on1 ip is $reg_ip1"; $sql1=mysql_query("insert into bt_leads (name,mobile,email,cityid,areaid,uneed,purpose,comments,reg_ip,portal,mcode,mverify,created_on,created_by,lastupd_on,lastupd_by) values ('$name','$mobile','$email','$cityid','$areaid','$mcourseid','1','$myinfo','$reg_ip1','iclass-kanpur','$authcode','0','$created_on','999','$created_on','999')") or die (mysql_error()); $rowid = mysql_insert_id(); $lflag = 1; } else { $infomsg ="
Hello...We have your Records in our Databse, We will call you shortly. Reminder Email sent to our Team
"; $kflag = 2; } } } } /* verify code*/ if(isset($_POST['verifycode'])) { $mycode = $_POST['nauth']; $rowid = $_POST['rowid']; $sql3=mysql_query("select * from bt_leads where uid = '$rowid'"); $result1 = mysql_fetch_array($sql3); if ($mycode != $result1[mcode]) { $infomsg1 ="Oops...Sorry, The code is Not Correct. Please check your SMS then enter the correct code
"; $lflag = 1; } else { $sql4=mysql_query("update bt_leads set mverify = '1' where uid = '$rowid'") or die (mysql_error()); $mflag = 1; } } ?>Calculate Course Fee & Training Discount
iClass Kanpur offers course fee transperantly to our students and working professionals who would to like to avail our training courses with placement support. The course fee vary based on the course, placement requirements, certification support and training hours. We invite you to calculate the course fee based on your training requirement.

Please Enter Course Enquiry Code
We have sent a Course Enquiry Code to your Mobile as SMS. Please wait for 30 seconds for SMS to arrive then enter the code in the below box then click Verify Code.

Thank You

Thank for your time. Your request has been sent to our team for providing customized course fee.
Our team will calculate course fee and will be in touch with you shortly via call or email.
We are looking forward to meet you in our training centers.