/home/techb158/workloadmatch.com/workloadmatch.com/BackUp/Manager/Inc
NameSizeModeActions
AddClient.php39300644editdlrm
AddCourse.php19960644editdlrm
AddCourseTime.php17090644editdlrm
AddGroup - Copy.php45310644editdlrm
AddGroup.php49210644editdlrm
AddHoliday.php16360644editdlrm
AddReference.php82580644editdlrm
AddTeacherLevel.php21310644editdlrm
AddUser.php118410644editdlrm
Add_Retake_Remediation.php12480644editdlrm
Assignment-1.php736050644editdlrm
Assignment-2.php736050644editdlrm
Assignment - BackUp- orgenal.php714870644editdlrm
Assignment - BackUp.php613140644editdlrm
Assignment - Copy (Last File Updated 2025-05-15).php711640644editdlrm
Assignment - Copy.php604020644editdlrm
Assignment.php742350644editdlrm
Assignment_BackUp.php770460644editdlrm
Assign_Category_To_User.php27330644editdlrm
Assign_Teacher_Manual.php205080644editdlrm
Assign_Teacher_Manual_Force_conflict.php206380644editdlrm
Available_Teacher_Report.php23410644editdlrm
error_log8690644editdlrm
Process_Assignment - Copy.php41500644editdlrm
Process_Assignment.php55590644editdlrm
Schedule_Report_by_Group.php29970644editdlrm
UpdateClient.php25130644editdlrm
updateuser.php24290644editdlrm
Update_Course.php20190644editdlrm
Update_Course_Time.php17550644editdlrm
Update_Group - Copy.php34040644editdlrm
Update_Group.php89050644editdlrm
Update_Holiday.php21780644editdlrm
Update_Profile.php48160644editdlrm
Update_Reference.php89080644editdlrm
Update_Reference_Follow_Up.php34810644editdlrm
Update_User.php52040644editdlrm
Edit: /home/techb158/workloadmatch.com/workloadmatch.com/BackUp/Manager/Inc/Assign_Category_To_User.php (2733B)
query($query); $row = $result->fetch_assoc(); $Category_ID = $row['Category_ID']; $Admin_ID = $row['Admin_ID']; $Master_ID = $row['Master_ID']; $Manager_ID = $row['Manager_ID']; $Broker_ID = $row['Broker_ID']; $User_Type_ID = $row['User_Type_ID']; $datepickerx = date("Y-m-d", strtotime($datepicker)); $query = "SELECT * FROM User_Access_Categories Where Admin_ID ='".$Admin_ID."' AND Master_ID ='".$Master_ID."' AND Manager_ID ='".$Manager_ID."' AND Broker_ID ='".$Broker_ID."' AND User_Access_Category_ID ='".$Category_ID."'"; $result = $mysqli->query($query); $Managers = $result->fetch_assoc(); $ID = $Managers['Broker_ID']; if ($ID >= 1) { header('Location: managecategory.php?error=Assign Category is already exist.'); exit(); }else { $datetime =date("Y/m/d") . ' ' . date('H:i:s') ; if ($insert_stmt = $mysqli->prepare("INSERT INTO User_Access_Categories (Category_ID, Admin_ID, Master_ID, Manager_ID, Broker_ID, User_Type_ID, Titel, First_Name, Last_Name, User_Name, Email, Home_Phone, Cell_Phone, Address, Reg_Date, Login_Date, Logout_Date) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)")) { //header('Location: addclient.php?error=file name already exists'.$user_n.''); $insert_stmt->bind_param('sssssssssssssssss',$Category_ID, $Admin_ID, $Master_ID, $Manager_ID, $Broker_ID, $User_Type_ID, $Titel, $First_Name, $Last_Name, $Client_Name, $Email, $Home_Phone, $Cell_Phone, $Address, $datetime, $datetime, $datetime); // Execute the prepared query. if (! $insert_stmt->execute()) { //header('Location: addclient.php?error='.$mysqli->error); header('Location: managecategory.php?error=Registration failure to Assign Category!'); //header('Location: addassist.php?error='.$Managers_ID.''); exit(); }else { header('Location: managecategory.php?error=New Assign Category successfully registered!'); exit(); } }else{ //header('Location: addclient.php?error='.$mysqli->error); } } }else{ header('Location: addclient.php?error=Registration failure please insert all informaion!'); exit(); } }