$_SESSION["mobile"]; if($_SESSION["mobile"]=="") { header("location:index.php"); } $ses_ma_id=$_SESSION["mobile"]; $browsessionid=session_id(); ?> $sessionid_free=$_SESSION["mobile"]; ?> $objitem = mysql_query("SELECT * from shop_user where phone='$sessionid_free'"); $Fetitem = mysql_fetch_array($objitem); $cust_id=$Fetitem['user_id']; $country=$Fetitem['country']; $new_sataus=$Fetitem['new_status']; ?> $browsessionid=session_id(); $objqrynewsubee = "SELECT amount AS amtTotal FROM tbl_appointment where session_id='$browsessionid' and status='0' order by id desc"; $objResultnewsubee = mysql_query($objqrynewsubee); $Fetchnewww = mysql_fetch_array($objResultnewsubee); $subtotal=$Fetchnewww['amtTotal']; $objqryne_app = "SELECT * FROM tbl_appointment where session_id='$browsessionid' and status='0'"; $obj_app = mysql_query($objqryne_app); $Fet_app = mysql_fetch_array($obj_app); $tx= "Txn" . rand(10000,99999999); $me_kay="iz3S9EJU"; $amount=$subtotal; $fname=$Fetitem['name']; $appid=$Fet_app['mem_id']; $pinfo=$Fetitem['name']; $email=$Fetitem['email']; $udf5="BOLT_KIT_PHP7"; $salt="BwgrLSotC7"; $hash=hash('sha512', $me_kay.'|'.$me_kay.'|'.$amount.'|'.$pinfo.'|'.$fname.'|'.$email.'|||||'.$udf5.'||||||'.$salt); ?> $new_time_ma_1=$_REQUEST['id']; $new_time_ma_2=$Fet_app['appointment_date']; $new_time_ma_2_mal=$Fet_app['appointment_date']; $new_time_ma_2=date($new_time_ma_2_mal); $appointment_time=date('h:i a', $new_time_ma_1); $appointment_date=$new_time_ma_2; $new_ap_date=date('l', strtotime($appointment_date)); $new_date_m=date('M', strtotime($appointment_date)); $new_date_m_da=date('d', strtotime($appointment_date)); $pagal_1=$Fet_app['hour_date']; $pagal_2=$Fet_app['min_date']; $pagal_3=$Fet_app['am_date']; $pagal_1 = sprintf("%02d", $pagal_1); $pagal_2 = sprintf("%02d", $pagal_2); //$pagal_3 = sprintf("%02d", $pagal_3); ?> $_SESSION["userid"]; session_start(); /*if($_SESSION["userid"]=="") { header("location:index.php"); }*/ $sessionid_free=$_SESSION["userid"]; ?>