locate(); $goeCity = $geoplugin->city; ?>
alert('Please select any one Membership...!');history.go(-1);"; } else {*/ if($num_rows==0) { $d_org=$_POST['d_org']; $m_org=$_POST['m_org']; $y_org=$_POST['y_org']; $dob_est = $y_org.'-'.$m_org.'-'.$d_org; $reg_mail=$_POST['email']; $data = array('username' => $_POST['username'], 'firm' => $_POST['firm'], 'password' => $encrypted, 'prof_id' => $_POST['prof_id'], 'org_date' => $dob_est, 'la_id' => $_POST['la_id'], 'pro_desc' => $_POST['pro_desc'], 'admin_exp' => $_POST['admin_exp'], 'lastname' => $_POST['lastname'], 'email' => $_POST['email'], 'homepage' => $_POST['homepage'], 'adress' => $_POST['adress'], 'city' => $_POST['city'], 'state_id' => $_POST['state_id'], 'postcode' => $_POST['postcode'], 'phone' => $_POST['phone'], //'news' => $_POST['news'], 'IP_Num' => $_POST['IP_Num'], 'newsletter' => $_POST['newsletter'], 'memShipType' => $_POST['memShipType'], 'approved_status' => 'Pending', 'user_type' => 'Regular', 'online_status' => 'off', 'country_id' => '5', 'reg_type_id' => $reg_type_id ); insert("user",$data); $_SESSION['lastid'] = mysql_insert_id(); $num=$_SESSION['lastid']; $reg_code_in=$reg_code.'-'.'IN'.'#'.$num; $data2 = array('Mem_num' => $reg_code_in); update("user",$data2,"where user_id='$num'"); //start_insert in verified_register $data3 = array('geolocation' => $goeCity, 'device' => $device, 'ip_add' => $_POST['IP_Num'], 'user_id' => $num, 'browser' => $browser ); insert("verify_register",$data3); //end_insert in verified_register //header("Location: https://www.e-court.co/IN-NET/Member-Panel/E_CourtUpdates/GetClientDetails.php"); REG_mail_fun($reg_mail,$reg_type); } else { echo ""; //window.location.href='https://www.e-court.co/IN-NET/REGIS/Judge.php'; } /* } */ } ?> |