"Jan",2=>"Feb",3=>"Mar",4=>"April",5=>"May",6=>"June",7=>"July",8=>"Aug",9=>"Sep",10=>"Oct",11=>"Nov",12=>"Dec"); function get($fld) { if (isset($_REQUEST[$fld])) { $fld = $_REQUEST[$fld]; $fld = str_replace("/","",$fld); $fld = str_replace("'","''",$fld); return $fld; } else return ""; } function send_mail($from, $to, $bcc="", $subject, $message, $attachment="") { return send_mail_m($from, $to, $bcc, $subject, $message, $attachment=""); } function send_mail_m($from, $to, $bcc="", $subject, $message, $attachment="") { $headers .= 'MIME-Version: 1.0' . "\r\n"; $headers .= 'Content-type: text/html; charset=iso-8859-1' . "\r\n"; $headers .= "From: $from"; if ($cc!="") $headers .= "\r\nBcc: $cc\r\n\r\n"; if ($bcc!="") $headers .= "\r\nBcc: $bcc\r\n\r\n"; $status = mail($to,$subject,$message,$headers); if ($status==0) return "Some Error"; } function send_mail_php($fromemail, $toemail,$bcc="", $subject, $message, $attachment="") { require_once("class.phpmailer.php"); $mail = new PHPMailer(); //$mail->SetLanguage( 'en', 'phpmailer/language/' ); $mail->IsSMTP(); //$mail->SMTPAuth = false; //$mail->Username = "webmaster@aapkikismat.com"; //$mail->Password = "vinay1290"; $mail->Host = "182.50.135.128"; //"localhost"; $mail->AddAddress($toemail); if ($attachment!="") $mail->AddAttachment($attachment); $mail->WordWrap = 50; $mail->IsHTML(true); $mail->From = $fromemail; if ($bcc!="") $mail->AddBcc($bcc); $mail->Subject = $subject; $mail->Body = $message; //$mail->AltBody = "This is the text-only body"; $msg=""; if(!$mail->Send()) { $msg="Message was not sent

"; $msg .="Mailer Error: " . $mail->ErrorInfo; } return $msg ; } function SendSMS($mobile, $message) { $url = "http://interconnectsms.com/sendurlcomma.asp?user=20036632&pwd=vf4e0r&senderid=ApkiKSMT&mobileno=".$mobile."&msgtext=".$message; $ch = curl_init($url); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); $curl_scraped_page = curl_exec($ch); curl_close($ch); return $curl_scraped_page; } function dayofyear2date( $tDay, $tFormat = 'd-m-Y' ) { $day = intval( $tDay ); $day = ( $day == 0 ) ? $day : $day - 1; $offset = intval( intval( $tDay ) * 86400 ); $str = date( $tFormat, strtotime( 'Jan 1, ' . date( 'Y' ) ) + $offset ); return( $str ); } function date_diff1($start, $end="NOW") { $sdate = strtotime($start); $edate = strtotime($end); $timeshift =""; $time = $edate - $sdate; if($time>=0 && $time<=59) { // Seconds $timeshift = $time.' seconds '; } elseif($time>=60 && $time<=3599) { // Minutes + Seconds $pmin = ($edate - $sdate) / 60; $premin = explode('.', $pmin); $presec = $pmin-$premin[0]; $sec = $presec*60; //$timeshift = $premin[0].' min '.round($sec,0).' sec '; $timeshift = $preday[0]; } elseif($time>=3600 && $time<=86399) { // Hours + Minutes $phour = ($edate - $sdate) / 3600; $prehour = explode('.',$phour); $premin = $phour-$prehour[0]; $min = explode('.',$premin*60); $presec = '0.'.$min[1]; $sec = $presec*60; //$timeshift = $prehour[0].' hrs '.$min[0].' min '.round($sec,0).' sec '; $timeshift = $preday[0]; } elseif($time>=86400) { // Days + Hours + Minutes $pday = ($edate - $sdate) / 86400; $preday = explode('.',$pday); $phour = $pday-$preday[0]; $prehour = explode('.',$phour*24); $premin = ($phour*24)-$prehour[0]; $min = explode('.',$premin*60); $presec = '0.'.$min[1]; $sec = $presec*60; //$timeshift = $preday[0].' days '.$prehour[0].' hrs '.$min[0].' min '.round($sec,0).' sec '; $timeshift = $preday[0]; } return $timeshift; } function GetCouponDiscounts($CouponUrl,$Coupon,$Amount, $website, $item="") { $_SESSION["DiscountAmt"] = ""; $_SESSION["DiscountCode"] = ""; $URL=$CouponUrl."coupon_validate.php?coupon=$Coupon&amt=$Amount&website=$website&item=$item"; $ch = curl_init(); curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); curl_setopt($ch, CURLOPT_URL, $URL); $data = curl_exec($ch); curl_close($ch); $DiscPrice = $data; if (strpos($DiscPrice,"$") == 0 && str_replace("$","",$DiscPrice)>0) { $_SESSION["DiscountAmt"] = str_replace("$","",$DiscPrice); $_SESSION["DiscountCode"] = $Coupon; } return $DiscPrice; } ?>

Exams/Test List

Free Tests

"; ?>
# Test Name Price Questions Take Test


Time: minutes.
0 " class="btn black mt14">Attempt
No test available now.

Paid Tests

0 $que and question_ids !='' and active=1 order by tid desc"; $det_arr = mysql_query($sql); $n=0; while($r=mysql_fetch_array($det_arr)) { $n++; $test_name = str_replace("New pattern", "New pattern",$r["test_name"]); ?> "; ?>
# Test Name Price Questions/Tests Take Test


Time: minutes. "; } }?>
Rs./- &action=ADD" class="btn black mt14">Buy
No test available now.