alert('failed!')"; }elseif ($show_tab == 'academic') { echo ""; } elseif ($msg == 'isuccess') { echo ""; } else {} //$product_id =66; if ($sugar==1) { $admin_id = $_GET['admin_id']; $row = GetAdmin($admin_id); $first_name = $_GET['f_name']; $first_name=str_replace("", "`", $first_name); $last_name = $_GET['l_name']; $last_name =str_replace("", "`", $last_name ); $address = $_GET['address']; $address=str_replace("", "`", $address); $city = $_GET['city']; $city=str_replace("", "`", $city); $province = $_GET['province']; $postal_code = $_GET['postal_code']; $country = $_GET['country']; //echo $country; //exit; $phone = $_GET['phone']; $company = $_GET['company']; $row1 = getUser_sugar($email); $user_id = $row1['user_id']; //echo $email; //exit; if ($user_id>0) { $_SESSION['user_id'] = $user_id; $_SESSION['email'] = $email; $_SESSION['sugar'] = $sugar; $_SESSION['admin_id'] =$admin_id; $_SESSION['first_name'] =$first_name; $_SESSION['last_name'] =$last_name; $_SESSION['address'] =$address; $_SESSION['city'] =$city; $_SESSION['province'] =$province; $_SESSION['postal_code'] =$postal_code; $_SESSION['country'] =$country; $_SESSION['phone'] =$phone; $_SESSION['company'] =$company; header("location:/cast/admin/store/store.php?user_id=$user_id"); exit(); }else{ $_SESSION['email'] = $email; $_SESSION['sugar'] = $sugar; $_SESSION['admin_id'] =$admin_id; $_SESSION['first_name'] =$first_name; $_SESSION['last_name'] =$last_name; $_SESSION['address'] =$address; $_SESSION['city'] =$city; $_SESSION['province'] =$province; $_SESSION['postal_code'] =$postal_code; $_SESSION['country'] =$country; $_SESSION['phone'] =$phone; $_SESSION['company'] =$company; } } //echo $show_tab; //exit; //---call tabs if ($show_tab =="cart") {$show_tab= "tab4";} elseif ($show_tab =="academic") { $show_tab = "tab3" ; } elseif ($show_tab =="vivien") {$show_tab = "tab2" ;} elseif ($show_tab =="admin") {$show_tab = "tab5" ;} else {$show_tab= "tab1";} //-------------------- //-------------------------end--- ?> CAST

 

 

US $899 Total
US $2999 Total
US $5749 Total
US $599 Total
I am a...




Student version of:

Educational version of:


Dongle: