Appendix Codes
Appendix Codes
Login Page
<?php if(!defined('BASEPATH')) exit('No direct script access allowed');
/**
* Class : Login (LoginController)
* Login class to control to authenticate user credentials and starts user's session.
* @author : Kishor Mali
* @version : 1.1
* @since : 15 November 2016
*/
class Login extends CI_Controller
{
/**
* This is default constructor of the class
*/
public function __construct()
{
parent::__construct();
$this->load->model('login_model');
$this->load->model('PersonalData_model');
/**
* Index Page for this controller.
*/
public function index()
{
$this->isLoggedIn();
CENTRO ESCOLAR UNIVERSITY
SCHOOL OF SCIENCE AND TECHNOLOGY
MENDIOLA, MANILA
/**
* This function used to check the user is logged in or not
*/
function isLoggedIn()
{
$isLoggedIn = $this->session->userdata('isLoggedIn');
redirect('/dashboard');
}
}
/**
* This function used to logged in user
*/
public function loginMe()
{
$this->load->library('form_validation');
CENTRO ESCOLAR UNIVERSITY
SCHOOL OF SCIENCE AND TECHNOLOGY
MENDIOLA, MANILA
if($this->form_validation->run() == FALSE)
{
$this->index();
}
else
{
$email = $this->security->xss_clean($this->input->post('email'));
$password = $this->input->post('password');
if(count($result) > 0)
{
foreach ($result as $res)
{
$lastLogin = $this->login_model->lastLoginInfo($res->userId);
$sessionArray = array('userId'=>$res->userId,
'role'=>$res->roleId,
'roleText'=>$res->role,
'name'=>$res->name,
'department'=>$res->department,
'emp_no'=>$res->emp_no,
'campus'=>$res->campus,
CENTRO ESCOLAR UNIVERSITY
SCHOOL OF SCIENCE AND TECHNOLOGY
MENDIOLA, MANILA
'lastLogin'=> $lastLogin->createdDtm,
'isLoggedIn' => TRUE
);
$this->session->set_userdata($sessionArray);
$this->login_model->lastLogin($loginInfo);
redirect('/dashboard');
}
}
else
{
$this->session->set_flashdata('error', 'Username or password mismatch');
redirect('/login');
}
}
}
/**
* This function used to load forgot password view
CENTRO ESCOLAR UNIVERSITY
SCHOOL OF SCIENCE AND TECHNOLOGY
MENDIOLA, MANILA
*/
public function forgotPassword()
{
$isLoggedIn = $this->session->userdata('isLoggedIn');
/**
* This function used to generate reset password request link
*/
function resetPasswordUser()
{
$status = '';
$this->load->library('form_validation');
$this->form_validation->set_rules('login_email','Email','trim|required|valid_email');
if($this->form_validation->run() == FALSE)
{
CENTRO ESCOLAR UNIVERSITY
SCHOOL OF SCIENCE AND TECHNOLOGY
MENDIOLA, MANILA
$this->forgotPassword();
}
else
{
$email = $this->security->xss_clean($this->input->post('login_email'));
if($this->login_model->checkEmailExist($email))
{
$encoded_email = urlencode($email);
$this->load->helper('string');
$data['email'] = $email;
$data['activation_id'] = random_string('alnum',15);
$data['createdDtm'] = date('Y-m-d H:i:s');
$data['agent'] = getBrowserAgent();
$data['client_ip'] = $this->input->ip_address();
$save = $this->login_model->resetPasswordUser($data);
if($save)
{
$data1['reset_link'] = base_url() . "resetPasswordConfirmUser/" . $data['activation_id'] . "/" .
$encoded_email;
$userInfo = $this->login_model->getCustomerInfoByEmail($email);
if(!empty($userInfo)){
$data1["name"] = $userInfo[0]->name;
$data1["email"] = $userInfo[0]->email;
CENTRO ESCOLAR UNIVERSITY
SCHOOL OF SCIENCE AND TECHNOLOGY
MENDIOLA, MANILA
$sendStatus = resetPasswordEmail($data1);
if($sendStatus){
$status = "send";
setFlashData($status, "Reset password link sent successfully, please check mails.");
} else {
$status = "notsend";
setFlashData($status, "Email has been failed, try again.");
}
}
else
{
$status = 'unable';
setFlashData($status, "It seems an error while sending your details, try again.");
}
}
else
{
$status = 'invalid';
setFlashData($status, "This email is not registered with us.");
}
redirect('/forgotPassword');
}
}
CENTRO ESCOLAR UNIVERSITY
SCHOOL OF SCIENCE AND TECHNOLOGY
MENDIOLA, MANILA
/**
* This function used to reset the password
* @param string $activation_id : This is unique id
* @param string $email : This is user email
*/
function resetPasswordConfirmUser($activation_id, $email)
{
// Get email and activation code from URL values at index 3-4
$email = urldecode($email);
$data['email'] = $email;
$data['activation_code'] = $activation_id;
if ($is_correct == 1)
{
$this->load->view('newPassword', $data);
}
else
{
redirect('/login');
}
}
/**
* This function used to create new password for user
CENTRO ESCOLAR UNIVERSITY
SCHOOL OF SCIENCE AND TECHNOLOGY
MENDIOLA, MANILA
*/
function createPasswordUser()
{
$status = '';
$message = '';
$email = $this->input->post("email");
$activation_id = $this->input->post("activation_code");
$this->load->library('form_validation');
$this->form_validation->set_rules('password','Password','required|max_length[20]');
$this->form_validation->set_rules('cpassword','Confirm
Password','trim|required|matches[password]|max_length[20]');
if($this->form_validation->run() == FALSE)
{
$this->resetPasswordConfirmUser($activation_id, urlencode($email));
}
else
{
$password = $this->input->post('password');
$cpassword = $this->input->post('cpassword');
if($is_correct == 1)
{
CENTRO ESCOLAR UNIVERSITY
SCHOOL OF SCIENCE AND TECHNOLOGY
MENDIOLA, MANILA
$this->login_model->createPasswordUser($email, $password);
$status = 'success';
$message = 'Password changed successfully';
}
else
{
$status = 'error';
$message = 'Password changed failed';
}
setFlashData($status, $message);
redirect("/login");
}
}
}
?>
PersonalInfo page
<?php if(!defined('BASEPATH')) exit('No direct script access allowed');
/**
* Class : User (UserController)
* User Class to control all user related operations.
* @author : Kishor Mali
* @version : 1.1
CENTRO ESCOLAR UNIVERSITY
SCHOOL OF SCIENCE AND TECHNOLOGY
MENDIOLA, MANILA
$this->isLoggedIn();
}
/**
* This function used to load the first screen of the user
*/
public function index()
{
//$this->global['pageTitle'] = 'PDIS : Dashboard';
//load model
$this->load->model('PersonalData_model');
// get data
$data = $this->PersonalData_model->getUserDetails($postData);
echo json_encode($data);
}
/**
* This function is used to load the user list
*/
function infoListing()
{
CENTRO ESCOLAR UNIVERSITY
SCHOOL OF SCIENCE AND TECHNOLOGY
MENDIOLA, MANILA
// if($this->isAdmin() == TRUE)
// {
// $this->loadThis();
// }
// else
// {
$searchText = $this->security->xss_clean($this->input->post('searchText'));
$data['searchText'] = $searchText;
$this->load->library('pagination');
$count = $this->Personalinfo_model->infoListingCount($searchText);
$postData = $this->input->post();
//load model
$this->load->model('Personalinfo_model');
// get data
$data = $this->Personalinfo_model->getPDDetails($postData);
echo json_encode($data);
/**
* This function is used to load the add new form
*/
function addInfo()
{
// if($this->isAdmin() == TRUE)
// {
// $this->loadThis();
// }
// else
// {
$this->load->model('Personalinfo_model');
$data['Category'] = $this->Personalinfo_model->personalDatalist();
$data['roles'] = $this->Personalinfo_model->getUserRoles();
$data['csC'] = $this->Personalinfo_model->getCS();
CENTRO ESCOLAR UNIVERSITY
SCHOOL OF SCIENCE AND TECHNOLOGY
MENDIOLA, MANILA
/**
* This function is used to check whether email already exist or not
*/
function checkPDExists()
{
$id = $this->input->post("id");
$student_no = $this->input->post("student_no");
if(empty($id)){
$result = $this->Personalinfo_model->checkPDlExists($student_no);
} else {
$result = $this->Personalinfo_model->checkPDlExists($student_no, $id);
}
if(empty($result)){ echo("true"); }
else { echo("false"); }
}
/**
* This function is used to add new user to the system
*/
function addNewInfo()
CENTRO ESCOLAR UNIVERSITY
SCHOOL OF SCIENCE AND TECHNOLOGY
MENDIOLA, MANILA
{
// if($this->isAdmin() == TRUE)
//{
// $this->loadThis();
//}
// else
//{
$this->load->library('form_validation');
$this->form_validation->set_rules('student_no','Student No','trim|required|max_length[128]');
$this->form_validation->set_rules('first_name','First Name','trim|required|max_length[128]');
$this->form_validation->set_rules('last_name','Last Name','trim|required|max_length[128]');
$this->form_validation->set_rules('type','Data Type','trim|required|max_length[255]');
if($this->form_validation->run() == FALSE)
{
$cat_id = $this->security->xss_clean($this->input->post('cat_id'));
$first_name = $this->security->xss_clean($this->input->post('first_name'));
$mi = $this->security->xss_clean($this->input->post('mi'));
$last_name = $this->security->xss_clean($this->input->post('last_name'));
$bday = $this->security->xss_clean($this->input->post('bday'));
$address = $this->security->xss_clean($this->input->post('address'));
$gender = $this->security->xss_clean($this->input->post('gender'));
$year_of_graduation = $this->security->xss_clean($this->input->post('year_of_graduation'));
$previous_school = $this->security->xss_clean($this->input->post('previous_school'));
$special_order_number = $this->security->xss_clean($this->input-
>post('special_order_number'));
//$personalInfo = array('cat_id'=>$cat_id,'student_no'=>$student_no,'type'=>$type);
$personalInfo = array('cat_id'=>$cat_id,'student_no'=>$student_no,'first_name'=>$first_name,
'mi'=>$mi,'last_name'=>$last_name,'bday'=>$bday,'address'=>$address,'gender'=>$gender,'year_of_gr
aduation'=>$year_of_graduation,'type'=>$type,'course'=>$course,'previous_school'=>$previous_school,
'special_order_number'=>$special_order_number);
$this->load->model('Personalinfo_model');
$result = $this->Personalinfo_model->addNewInfo($personalInfo);
if($result > 0)
{
$this->session->set_flashdata('success', 'New Personal Data created successfully');
}
CENTRO ESCOLAR UNIVERSITY
SCHOOL OF SCIENCE AND TECHNOLOGY
MENDIOLA, MANILA
else
{
$this->session->set_flashdata('error', 'User creation failed');
}
redirect('/PersonalInfo/addInfo');
}
//}
}
/**
* This function is used load user edit information
* @param number $userId : Optional : This is user id
*/
function editPinfo($id = NULL)
{
// if($this->isAdmin() == TRUE || $id == 1)
// {
// $this->loadThis();
// }
// else
// {
if($id == null)
{
redirect('infoListing');
}
CENTRO ESCOLAR UNIVERSITY
SCHOOL OF SCIENCE AND TECHNOLOGY
MENDIOLA, MANILA
//$data['roles'] = $this->Personalinfo_model->getUserRoles();
$data['Category'] = $this->Personalinfo_model->personalDatalist();
$data['RecordInfo'] = $this->Personalinfo_model->getStudInfoById($id);
/**
* This function is used to edit the user information
*/
function editRecordInfo()
{
// if($this->isAdmin() == TRUE)
// {
// $this->loadThis();
// }
// else
// {
$this->load->library('form_validation');
$id = $this->input->post('id');
//$this->form_validation->set_rules('student_no','Student No','trim|required|max_length[128]');
$this->form_validation->set_rules('first_name','First Name','trim|required|max_length[128]');
CENTRO ESCOLAR UNIVERSITY
SCHOOL OF SCIENCE AND TECHNOLOGY
MENDIOLA, MANILA
$this->form_validation->set_rules('last_name','Last Name','trim|required|max_length[128]');
$this->form_validation->set_rules('type','Data Type','trim|required|max_length[255]');
if($this->form_validation->run() == FALSE)
{
$this->editPinfo($id);
}
else
{
$student_no = $this->security->xss_clean($this->input->post('student_no'));
$type = $this->security->xss_clean($this->input->post('type'));
$course = $this->security->xss_clean($this->input->post('course'));
$cat_id = $this->security->xss_clean($this->input->post('cat_id'));
$first_name = $this->security->xss_clean($this->input->post('first_name'));
$mi = $this->security->xss_clean($this->input->post('mi'));
$last_name = $this->security->xss_clean($this->input->post('last_name'));
$bday = $this->security->xss_clean($this->input->post('bday'));
$address = $this->security->xss_clean($this->input->post('address'));
$gender = $this->security->xss_clean($this->input->post('gender'));
$year_of_graduation = $this->security->xss_clean($this->input->post('year_of_graduation'));
$previous_school = $this->security->xss_clean($this->input->post('previous_school'));
$special_order_number = $this->security->xss_clean($this->input-
>post('special_order_number'));
$id = $this->input->post('id');
CENTRO ESCOLAR UNIVERSITY
SCHOOL OF SCIENCE AND TECHNOLOGY
MENDIOLA, MANILA
$recordInfo = array();
if(empty($student_no))
{
$recordInfo = array('cat_id'=>$cat_id,'student_no'=>$student_no,'first_name'=>$first_name,
'mi'=>$mi,'last_name'=>$last_name,'bday'=>$bday,'address'=>$address,'gender'=>$gender,'year_of_gr
aduation'=>$year_of_graduation,'type'=>$type,'course'=>$course,'previous_school'=>$previous_school,
'special_order_number'=>$special_order_number,'id'=>$id);
}
else
{
$recordInfo = array('cat_id'=>$cat_id,'student_no'=>$student_no,'first_name'=>$first_name,
'mi'=>$mi,'last_name'=>$last_name,'bday'=>$bday,'address'=>$address,'gender'=>$gender,'year_of_gr
aduation'=>$year_of_graduation,'type'=>$type,'course'=>$course,'previous_school'=>$previous_school,
'special_order_number'=>$special_order_number,'id'=>$id);
}
if($result == true)
{
$this->session->set_flashdata('success', 'User updated successfully');
}
else
{
$this->session->set_flashdata('error', 'User updation failed');
}
redirect('infoListing');
}
CENTRO ESCOLAR UNIVERSITY
SCHOOL OF SCIENCE AND TECHNOLOGY
MENDIOLA, MANILA
//}
}
/**
* This function is used to delete the user using userId
* @return boolean $result : TRUE / FALSE
*/
function deleteData()
{
if($this->isAdmin() == TRUE)
{
echo(json_encode(array('status'=>'access')));
}
else
{
$id = $this->input->post('id');
$result = $this->Personalinfo_model->deleteData($id);
/**
* This function is used to load the change password screen
*/
function loadChangePass()
{
$this->global['pageTitle'] = 'PDIS : Change Password';
/**
* Page not found : error 404
*/
function pageNotFound()
{
$this->global['pageTitle'] = 'PDIS : 404 - Page Not Found';
/**
* This function used to show login history
* @param number $userId : This is user id
*/
CENTRO ESCOLAR UNIVERSITY
SCHOOL OF SCIENCE AND TECHNOLOGY
MENDIOLA, MANILA
//$id = $this->input->post('id');
//$data['Category'] = $this->Personalinfo_model->personalDatalist();
$data['Infos'] = $this->Personalinfo_model->getStudInfo($id);
//$data['Category'] = $this->Personalinfo_model->personalDatalist();
//$data['Infos'] = $this->Personalinfo_model->getStudInfo($id);
$data['pics'] = $this->Personalinfo_model->getStudPICREC($student_no);
if ($this->form_validation->run() == FALSE){
$this->load->view('upload_form');
}else{
$this->load->library('upload', $config);
if ( ! $this->upload->do_upload('pic_file')){
$error = array('error' => $this->upload->display_errors());
$this->load->view('upload_form', $error);
}else{
redirect('/');
}
//$this->load->view('footer');
}
}
}
?>
Report Page
<?php if(!defined('BASEPATH')) exit('No direct script access allowed');
require APPPATH.'/libraries/BaseController.php';
/**
* Class : User (UserController)
CENTRO ESCOLAR UNIVERSITY
SCHOOL OF SCIENCE AND TECHNOLOGY
MENDIOLA, MANILA
$this->isLoggedIn();
}
CENTRO ESCOLAR UNIVERSITY
SCHOOL OF SCIENCE AND TECHNOLOGY
MENDIOLA, MANILA
/**
* This function used to load the first screen of the user
*/
// public function index()
// {
// $this->global['pageTitle'] = 'Personal Data Inventory : Dashboard';
//
// $this->loadViews("dashboard", $this->global, NULL , NULL);
// }
/**
* This function is used to load the user list
*/
function PDListing()
{
if($this->isAdmin() == TRUE)
{
$this->loadThis();
}
else
{
$searchText = $this->security->xss_clean($this->input->post('searchText'));
$data['searchText'] = $searchText;
$this->load->library('pagination');
$count = $this->Report_model->userListingCount($searchText);
CENTRO ESCOLAR UNIVERSITY
SCHOOL OF SCIENCE AND TECHNOLOGY
MENDIOLA, MANILA
/**
* This function is used to load the add new form
*/
// function addNew()
// {
// if($this->isAdmin() == TRUE)
// {
// $this->loadThis();
// }
// else
// {
// $this->load->model('PersonalData_model');
// $data['roles'] = $this->PersonalData_model->getUserRoles();
//
// $this->global['pageTitle'] = 'Personal Data : Add +';
//
CENTRO ESCOLAR UNIVERSITY
SCHOOL OF SCIENCE AND TECHNOLOGY
MENDIOLA, MANILA
// if($this->isAdmin() == TRUE)
// {
// $this->loadThis();
// }
// else
// {
//$emp_no = $this->security->xss_clean($this->input->post('searchText'));
//echo var_dump($id);
//$data['searchText'] = $emp_no;
$data['Infos'] = $this->Report_model->ViewPDL($id);
//echo var_dump($data);
if($this->isAdmin() == TRUE)
{
$this->loadThis();
}
else
{
//$emp_no = $this->security->xss_clean($this->input->post('searchText'));
//echo var_dump($id);
//$data['searchText'] = $emp_no;
$data['Infos'] = $this->Report_model->ViewPDL($id);
//echo var_dump($data);
if (file_exists($pdfFilePath) == FALSE)
{
ini_set('memory_limit','100M'); // boost the memory limit if it's low <img
src="http://davidsimpson.me/wp-includes/images/smilies/icon_wink.gif" alt=";)" class="wp-smiley">
redirect("/downloads/reports/$filename.pdf");
}
}
CENTRO ESCOLAR UNIVERSITY
SCHOOL OF SCIENCE AND TECHNOLOGY
MENDIOLA, MANILA
/**
* This function is used to check whether email already exist or not
*/
// function checkEmailExists()
// {
// $userId = $this->input->post("userId");
// $email = $this->input->post("email");
//
// if(empty($userId)){
// $result = $this->PersonalData_model->checkEmailExists($email);
// } else {
// $result = $this->PersonalData_model->checkEmailExists($email, $userId);
// }
//
// if(empty($result)){ echo("true"); }
// else { echo("false"); }
// }
//
/**
* Page not found : error 404
*/
function pageNotFound()
{
$this->global['pageTitle'] = 'PDIS : 404 - Page Not Found';
CENTRO ESCOLAR UNIVERSITY
SCHOOL OF SCIENCE AND TECHNOLOGY
MENDIOLA, MANILA
/**
* This function used to show login history
* @param number $userId : This is user id
*/
function Definition(){
function About(){
$camp = $this->input->post('campus');
$data['deptsEncoded'] = $this->Report_model->get_deptsEncoded($camp);
$this->load->view("report/encoded_depts", $data);
}
function dataCount(){
if($this->isAdmin() == TRUE)
{
$this->loadThis();
}
else
CENTRO ESCOLAR UNIVERSITY
SCHOOL OF SCIENCE AND TECHNOLOGY
MENDIOLA, MANILA
{
//$emp_no = $this->security->xss_clean($this->input->post('searchText'));
//echo var_dump($id);
//$data['searchText'] = $emp_no;
$start = $this->input->post('start');
$end = $this->input->post('end');
$data['created'] = $this->Report_model->dataCount($start,$end);
//echo var_dump($data);
function departmentCount(){
CENTRO ESCOLAR UNIVERSITY
SCHOOL OF SCIENCE AND TECHNOLOGY
MENDIOLA, MANILA
if($this->isAdmin() == TRUE)
{
$this->loadThis();
}
else
{
//$emp_no = $this->security->xss_clean($this->input->post('searchText'));
//echo var_dump($id);
//$data['searchText'] = $emp_no;
$department = $this->input->post('department');
$data['created'] = $this->Report_model->departmentCount($department);
//echo var_dump($data);
}
CENTRO ESCOLAR UNIVERSITY
SCHOOL OF SCIENCE AND TECHNOLOGY
MENDIOLA, MANILA
function dashview(){
function SearchCount(){
$data['campus'] = $this->Personaldept_model->getCAMPUSLIST();
$data['depts'] = $this->Report_model->get_DEPTS();
CENTRO ESCOLAR UNIVERSITY
SCHOOL OF SCIENCE AND TECHNOLOGY
MENDIOLA, MANILA
//$data['depts2'] = $this->Report_model->get_DEPTS();
//REPORTNO2
$data['campus2'] = $this->Personaldept_model->getCAMPUSLIST();
//REPORTNO3
$data['campus3'] = $this->Personaldept_model->getCAMPUSLIST();
$data['campus4'] = $this->Report_model->get_CAMPUS();
$data['campus5'] = $this->Report_model->get_CAMPUS();
$data['campus6'] = $this->Report_model->get_CAMPUS();
echo var_dump($id);
//run the query for the cities we specified earlier
$datas['departmentDrop']= $this->Personaldept_model->getDEPTByCAMPUSLIST($cat_id);
$output = null;
echo $output;
}
$output = null;
CENTRO ESCOLAR UNIVERSITY
SCHOOL OF SCIENCE AND TECHNOLOGY
MENDIOLA, MANILA
echo $output;
}
$output = null;
echo $output;
}
$output = null;
echo $output;
}
CENTRO ESCOLAR UNIVERSITY
SCHOOL OF SCIENCE AND TECHNOLOGY
MENDIOLA, MANILA
//PDF PRINT
function SearchCountPDF(){
$data['courses'] = $this->Report_model->AddressCP();
$data['grads'] = $this->Report_model->get_Grads();
$data['ygs'] = $this->Report_model->yearsofGRAD();
//$data['depts2'] = $this->Report_model->get_DEPTS();
//REPORTNO2
}
CENTRO ESCOLAR UNIVERSITY
SCHOOL OF SCIENCE AND TECHNOLOGY
MENDIOLA, MANILA
function PersonalList(){
if($this->isAdmin() == TRUE)
{
$this->loadThis();
}
else
{
//$emp_no = $this->security->xss_clean($this->input->post('searchText'));
//echo var_dump($id);
//$data['searchText'] = $emp_no;
// $start = $this->input->post('start');
// $end = $this->input->post('end');
$data['PersonalList'] = $this->Report_model->PDList();
//echo var_dump($data);
}
CENTRO ESCOLAR UNIVERSITY
SCHOOL OF SCIENCE AND TECHNOLOGY
MENDIOLA, MANILA
function PersonalListNew(){
if($this->isAdmin() == TRUE)
{
$this->loadThis();
}
else
{
//$emp_no = $this->security->xss_clean($this->input->post('searchText'));
//echo var_dump($id);
//$data['searchText'] = $emp_no;
// $start = $this->input->post('start');
// $end = $this->input->post('end');
$campus = $this->input->post('campus');
$data['EmployeeRank'] = $this->Report_model->EmployeeRank($campus);
$data['EmploymentHE'] = $this->Report_model->EmploymentHE($campus);
$data['OAlumni'] = $this->Report_model->OAlumni($campus);
$data['OccupationDetails'] = $this->Report_model->OccupationDetails($campus);
$data['FatherName'] = $this->Report_model->FatherName($campus);
$data['MotherName'] = $this->Report_model->MotherName($campus);
$data['ParentContact'] = $this->Report_model->ParentContact($campus);
$data['ParentsWorkI'] = $this->Report_model->ParentsWorkI($campus);
$data['SiblingsWorkI'] = $this->Report_model->SiblingsWorkI($campus);
$data['GuardiansI'] = $this->Report_model->GuardiansI($campus);
//END OF Personal Information
$data['LSchoolAA'] = $this->PDIReport_model->LSchoolAA($campus);
$data['HonorsReceived'] = $this->PDIReport_model->HonorsReceived($campus);
$data['AwardsSR'] = $this->PDIReport_model->AwardsSR($campus);
$data['GradesGWA'] = $this->PDIReport_model->GradesGWA($campus);
$data['CoExtraCAC'] = $this->PDIReport_model->CoExtraCAC($campus);
$data['PositionOC'] = $this->PDIReport_model->PositionOC($campus);
$data['CandidateVSH'] = $this->PDIReport_model->CandidateVSH($campus);
$data['PlacedDASYN'] = $this->PDIReport_model->PlacedDASYN($campus);
$data['YearGraduated'] = $this->PDIReport_model->YearGraduated($campus);
$data['ImmigrationSVC'] = $this->PDIReport_model->ImmigrationSVC($campus);
$data['PassportNICDPI'] = $this->PDIReport_model->PassportNICDPI($campus);
$data['AlienCRACR'] = $this->PDIReport_model->AlienCRACR($campus);
$data['TINNumber'] = $this->PDIReport_model->TINNumber($campus);
$data['SSSNumber'] = $this->PDIReport_model->SSSNumber($campus);
$data['PhilHealthNumber'] = $this->PDIReport_model->PhilHealthNumber($campus);
$data['PagIbigNumber'] = $this->PDIReport_model->PagIbigNumber($campus);
$data['DriversLicense'] = $this->PDIReport_model->DriversLicense($campus);
$data['PRCID'] = $this->PDIReport_model->PRCID($campus);
$data['EducationalAtt'] = $this->PDIReport_model->EducationalAtt($campus);
$data['VaccinationD'] = $this->PDIReport_model->VaccinationD($campus);
$data['FrequentHI'] = $this->PDIReport_model->FrequentHI($campus);
$data['PastDI'] = $this->PDIReport_model->PastDI($campus);
$data['FamilyDisease'] = $this->PDIReport_model->FamilyDisease($campus);
$data['Allergies'] = $this->PDIReport_model->Allergies($campus);
$data['DrugPPT'] = $this->PDIReport_model->DrugPPT($campus);
$data['MedicalReport'] = $this->PDIReport_model->MedicalReport($campus);
$data['EMaternityR'] = $this->PDIReport_model->EMaternityR($campus);
$data['BankIBS'] = $this->PDIReport_model->BankIBS($campus);
CENTRO ESCOLAR UNIVERSITY
SCHOOL OF SCIENCE AND TECHNOLOGY
MENDIOLA, MANILA
$data['TaxRDF'] = $this->PDIReport_model->TaxRDF($campus);
//END OF SENSITIVE INFORMATION
//START OF PREVILLAGE
$data['DoctorsAT'] = $this->PDIReport_model->DoctorsAT($campus);
$data['LawyersAC'] = $this->PDIReport_model->LawyersAC($campus);
//$data['PersonalList0'] = $this->Report_model->PDListNEWS($campus);
$data['PersonalList2'] = $this->Report_model->PDListNEW1($campus);
//echo var_dump($data);
function PersonalListNew3(){
CENTRO ESCOLAR UNIVERSITY
SCHOOL OF SCIENCE AND TECHNOLOGY
MENDIOLA, MANILA
if($this->isAdmin() == TRUE)
{
$this->loadThis();
}
else
{
//$emp_no = $this->security->xss_clean($this->input->post('searchText'));
//echo var_dump($id);
//$data['searchText'] = $emp_no;
// $start = $this->input->post('start');
// $end = $this->input->post('end');
$campus = $this->input->post('campus');
$depts3 = $this->input->post('depts3');
$data['Infos'] = $this->Report_model->ViewPDL_DEPT($depts3,$campus);
//$data['PersonalList'] = $this->Report_model->PDListNEW($campus);
//$data['PersonalList0'] = $this->Report_model->PDListNEWS($campus);
$data['PersonalList3'] = $this->Report_model->PDListNEW3($depts3,$campus);
//echo var_dump($data);
// if($this->isAdmin() == TRUE)
// {
// $this->loadThis();
// }
// else
// {
$data['NameLFM'] = $this->Report_model->NameLFM();
$pdfFilePath = FCPATH."/downloads/reports/$filename.pdf";
// $username = $this->session->userdata('username');
if (file_exists($pdfFilePath) == FALSE)
{
ini_set('memory_limit','100M'); // boost the memory limit if it's low <img
src="http://davidsimpson.me/wp-includes/images/smilies/icon_wink.gif" alt=";)" class="wp-smiley">
redirect("/downloads/reports/$filename.pdf");
}
//$this->loadViews("report/printing/reportview_personallist2PDF", $this->global, $data, NULL);
CENTRO ESCOLAR UNIVERSITY
SCHOOL OF SCIENCE AND TECHNOLOGY
MENDIOLA, MANILA
//}
//}
// if($this->isAdmin() == TRUE)
// {
// $this->loadThis();
// }
// else
// {
$course = $this->input->post('course');
$year_of_graduation = $this->input->post('year_of_graduation');
$data['courses'] = $this->Report_model->getCourse($course,$year_of_graduation);
$pdfFilePath = FCPATH."/downloads/reports/$filename.pdf";
CENTRO ESCOLAR UNIVERSITY
SCHOOL OF SCIENCE AND TECHNOLOGY
MENDIOLA, MANILA
// $username = $this->session->userdata('username');
if (file_exists($pdfFilePath) == FALSE)
{
ini_set('memory_limit','100M'); // boost the memory limit if it's low <img
src="http://davidsimpson.me/wp-includes/images/smilies/icon_wink.gif" alt=";)" class="wp-smiley">
redirect("/downloads/reports/$filename.pdf");
CENTRO ESCOLAR UNIVERSITY
SCHOOL OF SCIENCE AND TECHNOLOGY
MENDIOLA, MANILA
}
//$this->loadViews("report/printing/reportview_personallist2PDF", $this->global, $data, NULL);
//}
//}
// if($this->isAdmin() == TRUE)
// {
// $this->loadThis();
// }
// else
// {
$type = $this->input->post('type');
$year_of_graduation = $this->input->post('year_of_graduation');
$data['types'] = $this->Report_model->getTYPE($type,$year_of_graduation);
CENTRO ESCOLAR UNIVERSITY
SCHOOL OF SCIENCE AND TECHNOLOGY
MENDIOLA, MANILA
$pdfFilePath = FCPATH."/downloads/reports/$filename.pdf";
// $username = $this->session->userdata('username');
if (file_exists($pdfFilePath) == FALSE)
{
ini_set('memory_limit','100M'); // boost the memory limit if it's low <img
src="http://davidsimpson.me/wp-includes/images/smilies/icon_wink.gif" alt=";)" class="wp-smiley">
redirect("/downloads/reports/$filename.pdf");
}
//$this->loadViews("report/printing/reportview_personallist2PDF", $this->global, $data, NULL);
//}
// }
// if($this->isAdmin() == TRUE)
// {
// $this->loadThis();
// }
// else
// {
$lastname = $this->input->post('lastname');
CENTRO ESCOLAR UNIVERSITY
SCHOOL OF SCIENCE AND TECHNOLOGY
MENDIOLA, MANILA
$data['lastnames'] = $this->Report_model->getLastname($lastname);
$pdfFilePath = FCPATH."/downloads/reports/$filename.pdf";
// $username = $this->session->userdata('username');
if (file_exists($pdfFilePath) == FALSE)
{
ini_set('memory_limit','100M'); // boost the memory limit if it's low <img
src="http://davidsimpson.me/wp-includes/images/smilies/icon_wink.gif" alt=";)" class="wp-smiley">
redirect("/downloads/reports/$filename.pdf");
?>
User Page
<?php if(!defined('BASEPATH')) exit('No direct script access allowed');
CENTRO ESCOLAR UNIVERSITY
SCHOOL OF SCIENCE AND TECHNOLOGY
MENDIOLA, MANILA
/**
* Class : User (UserController)
* User Class to control all user related operations.
* @author : Kishor Mali
* @version : 1.1
* @since : 15 November 2016
*/
class User extends BaseController
{
/**
* This is default constructor of the class
*/
public function __construct()
{
parent::__construct();
$this->load->model('user_model');
$this->load->model('PersonalData_model');
$this->load->model('Personaldept_model');
$this->load->helper('url');
$this->isLoggedIn();
}
/**
* This function used to load the first screen of the user
*/
public function index()
CENTRO ESCOLAR UNIVERSITY
SCHOOL OF SCIENCE AND TECHNOLOGY
MENDIOLA, MANILA
{
//$this->global['pageTitle'] = 'PDIS : Dashboard';
//load model
$this->load->model('PersonalData_model');
// get data
$data = $this->PersonalData_model->getUserDetails($postData);
echo json_encode($data);
CENTRO ESCOLAR UNIVERSITY
SCHOOL OF SCIENCE AND TECHNOLOGY
MENDIOLA, MANILA
}
/**
* This function is used to load the user list
*/
function userListing()
{
if($this->isAdmin() == TRUE)
{
$this->loadThis();
}
else
{
$searchText = $this->security->xss_clean($this->input->post('searchText'));
$data['searchText'] = $searchText;
$this->load->library('pagination');
$count = $this->user_model->userListingCount($searchText);
/**
* This function is used to load the add new form
*/
function addNew()
{
if($this->isAdmin() == TRUE)
{
$this->loadThis();
}
else
{
$this->load->model('user_model');
$data['roles'] = $this->user_model->getUserRoles();
//$data['location'] = $this->user_model->getCAMPUS();
//$data['deptslist'] = $this->user_model->getDEPT();
$data['campus'] = $this->Personaldept_model->getCAMPUSLIST();
$output = null;
echo $output;
}
/**
* This function is used to check whether email already exist or not
*/
function checkEmailExists()
CENTRO ESCOLAR UNIVERSITY
SCHOOL OF SCIENCE AND TECHNOLOGY
MENDIOLA, MANILA
{
$userId = $this->input->post("userId");
$email = $this->input->post("email");
if(empty($userId)){
$result = $this->user_model->checkEmailExists($email);
} else {
$result = $this->user_model->checkEmailExists($email, $userId);
}
if(empty($result)){ echo("true"); }
else { echo("false"); }
}
/**
* This function is used to add new user to the system
*/
function addNewUser()
{
if($this->isAdmin() == TRUE)
{
$this->loadThis();
}
else
{
$this->load->library('form_validation');
$this->form_validation->set_rules('fname','Full Name','trim|required|max_length[128]');
CENTRO ESCOLAR UNIVERSITY
SCHOOL OF SCIENCE AND TECHNOLOGY
MENDIOLA, MANILA
$this->form_validation->set_rules('email','Username','trim|required|max_length[128]');
$this->form_validation->set_rules('password','Password','required|max_length[128]');
$this->form_validation->set_rules('cpassword','Confirm
Password','trim|required|matches[password]|max_length[128]');
$this->form_validation->set_rules('role','Role','trim|required|numeric');
// $this->form_validation->set_rules('mobile','Mobile Number','required|min_length[10]');
//$this->form_validation-
>set_rules('department','Department','trim|required|max_length[255]');
$this->form_validation->set_rules('emp_no','Employee No#','trim|required|max_length[128]');
$this->form_validation->set_rules('campus','Campus','trim|required|max_length[128]');
if($this->form_validation->run() == FALSE)
{
$this->addNew();
}
else
{
$name = $this->input->post('fname');
$email = $this->security->xss_clean($this->input->post('email'));
$password = $this->input->post('password');
$roleId = $this->input->post('role');
$mobile = $this->security->xss_clean($this->input->post('mobile'));
$department = $this->input->post('department');
$emp_no = $this->input->post('emp_no');
$campus = $this->input->post('campus');
$this->load->model('user_model');
$result = $this->user_model->addNewUser($userInfo);
if($result > 0)
{
$this->session->set_flashdata('success', 'New User created successfully');
}
else
{
$this->session->set_flashdata('error', 'User creation failed');
}
redirect('addNew');
}
}
}
/**
* This function is used load user edit information
* @param number $userId : Optional : This is user id
*/
function editOld($userId = NULL)
{
if($this->isAdmin() == TRUE || $userId == 1)
CENTRO ESCOLAR UNIVERSITY
SCHOOL OF SCIENCE AND TECHNOLOGY
MENDIOLA, MANILA
{
$this->loadThis();
}
else
{
if($userId == null)
{
redirect('userListing');
}
$data['roles'] = $this->user_model->getUserRoles();
$data['location'] = $this->user_model->getCAMPUS();
$data['deptslist'] = $this->user_model->getDEPT();
$data['userInfo'] = $this->user_model->getUserInfo($userId);
/**
* This function is used to edit the user information
*/
function editUser()
CENTRO ESCOLAR UNIVERSITY
SCHOOL OF SCIENCE AND TECHNOLOGY
MENDIOLA, MANILA
{
if($this->isAdmin() == TRUE)
{
$this->loadThis();
}
else
{
$this->load->library('form_validation');
$userId = $this->input->post('userId');
$this->form_validation->set_rules('fname','Full Name','trim|required|max_length[128]');
$this->form_validation->set_rules('email','Username','trim|required|max_length[128]');
$this->form_validation-
>set_rules('password','Password','matches[cpassword]|max_length[128]');
$this->form_validation->set_rules('cpassword','Confirm
Password','matches[password]|max_length[128]');
$this->form_validation->set_rules('role','Role','trim|required|numeric');
//$this->form_validation->set_rules('mobile','Mobile Number','required|min_length[10]');
//$this->form_validation-
>set_rules('department','Department','trim|required|max_length[128]');
$this->form_validation->set_rules('emp_no','Employee No#','trim|required|max_length[128]');
$this->form_validation->set_rules('campus','Campus','trim|required|max_length[128]');
if($this->form_validation->run() == FALSE)
{
$this->editOld($userId);
}
else
CENTRO ESCOLAR UNIVERSITY
SCHOOL OF SCIENCE AND TECHNOLOGY
MENDIOLA, MANILA
{
$name = $this->input->post('fname');
$email = $this->security->xss_clean($this->input->post('email'));
$password = $this->input->post('password');
$roleId = $this->input->post('role');
//$mobile = $this->security->xss_clean($this->input->post('mobile'));
$department = $this->input->post('department');
$emp_no = $this->input->post('emp_no');
$campus = $this->input->post('campus');
$userInfo = array();
if(empty($password))
{
$userInfo = array('email'=>$email, 'roleId'=>$roleId, 'name'=>$name, 'department'=>
$department,'emp_no'=> $emp_no,'campus'=> $campus,
'mobile'=>$mobile, 'updatedBy'=>$this->vendorId, 'updatedDtm'=>date('Y-m-d
H:i:s'));
}
else
{
$userInfo = array('email'=>$email, 'password'=>getHashedPassword($password),
'roleId'=>$roleId,
'department'=> $department,'emp_no'=> $emp_no,'campus'=> $campus,'name'=>$name,
'mobile'=>$mobile, 'updatedBy'=>$this->vendorId,
'updatedDtm'=>date('Y-m-d H:i:s'));
}
CENTRO ESCOLAR UNIVERSITY
SCHOOL OF SCIENCE AND TECHNOLOGY
MENDIOLA, MANILA
if($result == true)
{
$this->session->set_flashdata('success', 'User updated successfully');
}
else
{
$this->session->set_flashdata('error', 'User updation failed');
}
redirect('userListing');
}
}
}
/**
* This function is used to delete the user using userId
* @return boolean $result : TRUE / FALSE
*/
function deleteUser()
{
if($this->isAdmin() == TRUE)
{
echo(json_encode(array('status'=>'access')));
}
else
CENTRO ESCOLAR UNIVERSITY
SCHOOL OF SCIENCE AND TECHNOLOGY
MENDIOLA, MANILA
{
$userId = $this->input->post('userId');
$userInfo = array('isDeleted'=>1,'updatedBy'=>$this->vendorId, 'updatedDtm'=>date('Y-m-d
H:i:s'));
/**
* This function is used to load the change password screen
*/
function loadChangePass()
{
$this->global['pageTitle'] = 'PDIS : Change Password';
/**
* This function is used to change the password of the user
*/
function changePassword()
{
CENTRO ESCOLAR UNIVERSITY
SCHOOL OF SCIENCE AND TECHNOLOGY
MENDIOLA, MANILA
$this->load->library('form_validation');
$this->form_validation->set_rules('oldPassword','Old password','required|max_length[20]');
$this->form_validation->set_rules('newPassword','New password','required|max_length[20]');
$this->form_validation->set_rules('cNewPassword','Confirm new
password','required|matches[newPassword]|max_length[20]');
if($this->form_validation->run() == FALSE)
{
$this->loadChangePass();
}
else
{
$oldPassword = $this->input->post('oldPassword');
$newPassword = $this->input->post('newPassword');
if(empty($resultPas))
{
$this->session->set_flashdata('nomatch', 'Your old password not correct');
redirect('loadChangePass');
}
else
{
$usersData = array('password'=>getHashedPassword($newPassword), 'updatedBy'=>$this-
>vendorId,
'updatedDtm'=>date('Y-m-d H:i:s'));
CENTRO ESCOLAR UNIVERSITY
SCHOOL OF SCIENCE AND TECHNOLOGY
MENDIOLA, MANILA
redirect('loadChangePass');
}
}
}
/**
* Page not found : error 404
*/
function pageNotFound()
{
$this->global['pageTitle'] = 'PDIS : 404 - Page Not Found';
/**
* This function used to show login history
* @param number $userId : This is user id
*/
function loginHistoy($userId = NULL)
{
if($this->isAdmin() == TRUE)
{
CENTRO ESCOLAR UNIVERSITY
SCHOOL OF SCIENCE AND TECHNOLOGY
MENDIOLA, MANILA
$this->loadThis();
}
else
{
$userId = ($userId == NULL ? $this->session->userdata("userId") : $userId);
$searchText = $this->input->post('searchText');
$fromDate = $this->input->post('fromDate');
$toDate = $this->input->post('toDate');
$data["userInfo"] = $this->user_model->getUserInfoById($userId);
$data['searchText'] = $searchText;
$data['fromDate'] = $fromDate;
$data['toDate'] = $toDate;
$this->load->library('pagination');
}
}
}
?>
CENTRO ESCOLAR UNIVERSITY
SCHOOL OF SCIENCE AND TECHNOLOGY
MENDIOLA, MANILA
View
<div class="content-wrapper">
<section class="content-header">
<h1>
404
</h1>
</section>
<section class="content">
<div class="row">
<img src="<?php echo base_url() ?>assets/images/404.png" alt="Page Not Found Image" />
</div>
</div>
</section>
</div>
<div class="content-wrapper">
<section class="content-header">
<h1>
Access Denied
</h1>
</section>
<section class="content">
<div class="row">
CENTRO ESCOLAR UNIVERSITY
SCHOOL OF SCIENCE AND TECHNOLOGY
MENDIOLA, MANILA
</div>
</div>
</section>
</div>
<script>
$(document).ready(function()
$('#email').change(function()
$('#emp_no').val($('#email').val());
});
});
</script>
<div class="content-wrapper">
<section class="content-header">
<h1>
</h1>
CENTRO ESCOLAR UNIVERSITY
SCHOOL OF SCIENCE AND TECHNOLOGY
MENDIOLA, MANILA
</section>
<section class="content">
<div class="row">
<div class="col-md-8">
<div class="box-header">
<div class="box-body">
<div class="row">
<div class="col-md-6">
<div class="form-group">
</div>
CENTRO ESCOLAR UNIVERSITY
SCHOOL OF SCIENCE AND TECHNOLOGY
MENDIOLA, MANILA
</div>
<div class="col-md-6">
<div class="form-group">
</div>
</div>
</div>
<div class="row">
<div class="col-md-6">
<div class="form-group">
<label for="password">Password</label>
</div>
</div>
<div class="col-md-6">
<div class="form-group">
</div>
</div>
</div>
<div class="row">
<div class="col-md-6">
CENTRO ESCOLAR UNIVERSITY
SCHOOL OF SCIENCE AND TECHNOLOGY
MENDIOLA, MANILA
<div class="form-group">
</div>
</div>
<div class="col-md-6">
<div class="form-group">
<label for="campus">Campus.</label>
<script type="text/javascript">
$(document).ready(function() {
$("#campus").change(function(){
$.ajax({
type: "POST",
dataType:"html",
success:function(data){
CENTRO ESCOLAR UNIVERSITY
SCHOOL OF SCIENCE AND TECHNOLOGY
MENDIOLA, MANILA
$("#department").html(data);
});
});
});
</script>
</div>
</div>
</div>
<div class="row">
<div class="col-md-6">
<div class="form-group">
</div>
</div>
CENTRO ESCOLAR UNIVERSITY
SCHOOL OF SCIENCE AND TECHNOLOGY
MENDIOLA, MANILA
<div class="col-md-6">
<div class="form-group">
<label for="department">Department</label>
<option value="">Select</option>
</select>
</div>
</div>
</div>
<div class="row">
<div class="col-md-6">
<div class="form-group">
<label for="role">Role</label>
<?php
if(!empty($roles))
{
CENTRO ESCOLAR UNIVERSITY
SCHOOL OF SCIENCE AND TECHNOLOGY
MENDIOLA, MANILA
?>
<?php
?>
</select>
</div>
</div>
</div>
</div>
<div class="box-footer">
</div>
</form>
</div>
CENTRO ESCOLAR UNIVERSITY
SCHOOL OF SCIENCE AND TECHNOLOGY
MENDIOLA, MANILA
</div>
</div>
<div class="col-md-4">
<?php
$this->load->helper('form');
$error = $this->session->flashdata('error');
if($error)
?>
</div>
<?php } ?>
<?php
$success = $this->session->flashdata('success');
if($success)
?>
</div>
<?php } ?>
<div class="row">
<div class="col-md-12">
CENTRO ESCOLAR UNIVERSITY
SCHOOL OF SCIENCE AND TECHNOLOGY
MENDIOLA, MANILA
</div>
</div>
</div>
</div>
</section>
</div>
<div class="content-wrapper">
<section class="content-header">
<h1>
</h1>
</section>
<section class="content">
<div class="row">
<div class="col-md-8">
<div class="box-header">
<div class="box-body">
<div class="row">
<div class="col-md-6">
<div class="form-group">
</div>
<div class="form-group">
</div>
<div class="form-group">
<label for="mi">MI</label>
</div>
<div class="form-group">
</div>
<div class="form-group">
<label for="gender">Gender</label>
<option value="Male">Male</option>
<option value="Female">Female</option>
</select>
</div>
</div>
<div class="col-md-6">
<div class="form-group">
<label>Graduated As</label>
</select>
CENTRO ESCOLAR UNIVERSITY
SCHOOL OF SCIENCE AND TECHNOLOGY
MENDIOLA, MANILA
<div >
</div>
<script type='text/javascript'>
$(document).ready(function(){
$('#sel_user').change(function(){
$.ajax({
url:'<?=base_url()?>/PersonalInfo/pdDetails',
method: 'post',
dataType: 'json',
success: function(response){
// Read values
var id = response[0].id;
CENTRO ESCOLAR UNIVERSITY
SCHOOL OF SCIENCE AND TECHNOLOGY
MENDIOLA, MANILA
$('#sCategory').text(Category);
$('#sid').text(id);
$('input[name="cat_id"]').val(id);
}else{
$('#sCategory').text('');
$('#sid').text('');
$('input[name="cat_id"]').val('');
});
});
});
</script>
<script>
jQuery(document).ready(function() {
jQuery("#sel_user").change(function() {
jQuery('select[name=course]').show();
}
CENTRO ESCOLAR UNIVERSITY
SCHOOL OF SCIENCE AND TECHNOLOGY
MENDIOLA, MANILA
jQuery('select[name=course]').hide();
jQuery('#course').val('');
jQuery('select[name=course]').hide();
jQuery('#course').val('');
jQuery('select[name=course]').hide();
jQuery('#course').val('');
jQuery('select[name=course]').hide();
jQuery('#course').val('');
jQuery('select[name=course]').hide();
jQuery('#course').val('');
}
CENTRO ESCOLAR UNIVERSITY
SCHOOL OF SCIENCE AND TECHNOLOGY
MENDIOLA, MANILA
});
});
</script>
<script type='text/javascript'>
$(window).load(function(){
$("#calendar").inputmask("9999-99-99");
});
</script>
<script type='text/javascript'>
$(window).load(function(){
$("#calendar2").inputmask("9999-99-99");
});
</script>
<div class="form-group">
</select>
</div>
<div class="form-group">
<label for="address">Address</label>
</div>
<div class="form-group">
</div>
<div class="form-group">
<label for="year_of_graduation">year_of_graduation</label>
</div>
<div class="form-group">
</div>
<div class="form-group">
</div>
</div>
</div>
<div class="col-md-6">
<div class="form-group">
</div>
</div>
</div>
</div>
</div>
<div class="box-footer">
</div>
</form>
</div>
</div>
CENTRO ESCOLAR UNIVERSITY
SCHOOL OF SCIENCE AND TECHNOLOGY
MENDIOLA, MANILA
<div class="col-md-4">
<?php
$this->load->helper('form');
$error = $this->session->flashdata('error');
if($error)
?>
</div>
<?php } ?>
<?php
$success = $this->session->flashdata('success');
if($success)
?>
</div>
<?php } ?>
<div class="row">
<div class="col-md-12">
</div>
</div>
</div>
</div>
</section>
</div>
</select>
<div class="content-wrapper">
<section class="content-header">
<h1>
Change Password
</h1>
</section>
<section class="content">
<div class="row">
<div class="col-md-4">
CENTRO ESCOLAR UNIVERSITY
SCHOOL OF SCIENCE AND TECHNOLOGY
MENDIOLA, MANILA
<div class="box-header">
<div class="box-body">
<div class="row">
<div class="col-md-12">
<div class="form-group">
</div>
</div>
</div>
<hr>
<div class="row">
<div class="col-md-12">
<div class="form-group">
</div>
</div>
</div>
CENTRO ESCOLAR UNIVERSITY
SCHOOL OF SCIENCE AND TECHNOLOGY
MENDIOLA, MANILA
<div class="row">
<div class="col-md-12">
<div class="form-group">
</div>
</div>
</div>
<div class="box-footer">
</div>
</form>
</div>
</div>
<div class="col-md-4">
<?php
$this->load->helper('form');
$error = $this->session->flashdata('error');
if($error)
?>
</div>
<?php } ?>
<?php
$success = $this->session->flashdata('success');
if($success)
?>
</div>
<?php } ?>
<?php
$noMatch = $this->session->flashdata('nomatch');
if($noMatch)
?>
</div>
<?php } ?>
<div class="row">
<div class="col-md-12">
CENTRO ESCOLAR UNIVERSITY
SCHOOL OF SCIENCE AND TECHNOLOGY
MENDIOLA, MANILA
</div>
</div>
</div>
</div>
</section>
</div>
<script src="assets/js/jquery-1.9.1.js"></script>
<script src="tab2/ui/jquery.ui.core.js"></script>
<script src="tab2/ui/jquery.ui.widget.js"></script>
<script src="tab2/ui/jquery.ui.tabs.js"></script>
<script>
$(function() {
$( "#tabs" ).tabs();
});
</script>
<style>
table,td {
text-align: left;
padding: 2px;
width: 90%;
td.t::first-letter {
font-weight: bold;
margin-left: 10px;
.pd {
width:1%;
white-space:nowrap;
}
CENTRO ESCOLAR UNIVERSITY
SCHOOL OF SCIENCE AND TECHNOLOGY
MENDIOLA, MANILA
</style>
<script>
function linkopen() {
</script>
<script>
function linkopen2() {
</script>
<div class="content-wrapper">
<section class="content-header">
HELP
</a>
</a>
</h1>
</section>
CENTRO ESCOLAR UNIVERSITY
SCHOOL OF SCIENCE AND TECHNOLOGY
MENDIOLA, MANILA
<div class="box-header">
<section class="content">
<div class="row">
<div class="col-md-4">
<?php
$this->load->helper('form');
$error = $this->session->flashdata('error');
if($error)
?>
</div>
<?php } ?>
<?php
$success = $this->session->flashdata('success');
if($success)
?>
</div>
<?php } ?>
<div class="row">
<div class="col-md-12">
</div>
</div>
</div>
</div>
<td colspan="3"></td>
</tr>
<tr>
<td >
STUDENT
</a>
CENTRO ESCOLAR UNIVERSITY
SCHOOL OF SCIENCE AND TECHNOLOGY
MENDIOLA, MANILA
REPORT
</a>
</a>
</td>
</tr>
<td colspan="3"></td>
</tr>
</table>
</div>
</section>
</div>
<?php
$userId = '';
CENTRO ESCOLAR UNIVERSITY
SCHOOL OF SCIENCE AND TECHNOLOGY
MENDIOLA, MANILA
$name = '';
$email = '';
$mobile = '';
$department = '';
$emp_no = '';
$campus = '';
$roleId = '';
if(!empty($userInfo))
$userId = $uf->userId;
$name = $uf->name;
$email = $uf->email;
$mobile = $uf->mobile;
$department = $uf->department;
$emp_no = $uf->emp_no;
$campus = $uf->campus;
$roleId = $uf->roleId;
?>
<div class="content-wrapper">
CENTRO ESCOLAR UNIVERSITY
SCHOOL OF SCIENCE AND TECHNOLOGY
MENDIOLA, MANILA
<section class="content-header">
<h1>
</h1>
</section>
<section class="content">
<div class="row">
<div class="col-md-8">
<div class="box-header">
<div class="box-body">
<div class="row">
CENTRO ESCOLAR UNIVERSITY
SCHOOL OF SCIENCE AND TECHNOLOGY
MENDIOLA, MANILA
<div class="col-md-6">
<div class="form-group">
</div>
</div>
<div class="col-md-6">
<div class="form-group">
</div>
</div>
</div>
<div class="row">
<div class="col-md-6">
<div class="form-group">
<label for="password">Password</label>
</div>
</div>
<div class="col-md-6">
<div class="form-group">
CENTRO ESCOLAR UNIVERSITY
SCHOOL OF SCIENCE AND TECHNOLOGY
MENDIOLA, MANILA
</div>
</div>
</div>
<div class="row">
<div class="col-md-6">
<div class="form-group">
</div>
</div>
<div class="col-md-6">
<div class="form-group">
<label for="department">Department</label>
<?php
if(!empty($deptslist))
?>
<?php
?>
</select>
</div>
</div>
</div>
<div class="row">
<div class="col-md-6">
<div class="form-group">
</div>
</div>
<div class="col-md-6">
<div class="form-group">
<label for="role">Role</label>
<?php
if(!empty($roles))
?>
CENTRO ESCOLAR UNIVERSITY
SCHOOL OF SCIENCE AND TECHNOLOGY
MENDIOLA, MANILA
<?php
?>
</select>
</div>
</div>
</div>
<div class="row">
<div class="col-md-6">
<div class="form-group">
<label for="campus">Campus.</label>
<?php
if(!empty($location))
?>
<?php
}
CENTRO ESCOLAR UNIVERSITY
SCHOOL OF SCIENCE AND TECHNOLOGY
MENDIOLA, MANILA
?>
</select>
</div>
</div>
</div>
</div>
<div class="box-footer">
</div>
</form>
</div>
</div>
<div class="col-md-4">
<?php
$this->load->helper('form');
$error = $this->session->flashdata('error');
if($error)
?>
</div>
CENTRO ESCOLAR UNIVERSITY
SCHOOL OF SCIENCE AND TECHNOLOGY
MENDIOLA, MANILA
<?php } ?>
<?php
$success = $this->session->flashdata('success');
if($success)
?>
</div>
<?php } ?>
<div class="row">
<div class="col-md-12">
</div>
</div>
</div>
</div>
</section>
</div>
<?php
$id = '';
CENTRO ESCOLAR UNIVERSITY
SCHOOL OF SCIENCE AND TECHNOLOGY
MENDIOLA, MANILA
$student = '';
$fist_name = '';
$mi = '';
$last_name = '';
$gender = '';
$bday = '';
$address = '';
$type = '';
$course = '';
$year_of_graduation = '';
if(!empty($recordInfo))
$id = $uf->id;
$student_no = $uf->student_no;
$fist_name = $uf->fist_name;
$mi = $uf->mi;
$last_name = $uf->last_name;
$gender = $uf->gender;
$bday = $uf->bday;
$address = $uf->address;
$type = $uf->type;
$course = $uf->course;
$year_of_graduation = $uf->year_of_graduation;
CENTRO ESCOLAR UNIVERSITY
SCHOOL OF SCIENCE AND TECHNOLOGY
MENDIOLA, MANILA
?>
<div class="content-wrapper">
<section class="content-header">
<h1>
</h1>
</section>
<section class="content">
<div class="row">
<div class="col-md-8">
<div class="box-header">
<div class="box-body">
<div class="row">
<div class="col-md-6">
<div class="form-group">
</div>
<div class="form-group">
</div>
<div class="form-group">
<label for="mi">MI</label>
</div>
CENTRO ESCOLAR UNIVERSITY
SCHOOL OF SCIENCE AND TECHNOLOGY
MENDIOLA, MANILA
<div class="form-group">
</div>
<div class="form-group">
<label for="gender">Gender</label>
<option value="Male">Male</option>
<option value="Female">Female</option>
</select>
</div>
</div>
<div class="col-md-6">
<div class="form-group">
<label>Graduated as </label>
</select>
CENTRO ESCOLAR UNIVERSITY
SCHOOL OF SCIENCE AND TECHNOLOGY
MENDIOLA, MANILA
<div >
</div>
<script type='text/javascript'>
$(document).ready(function(){
$('#sel_user').change(function(){
$.ajax({
url:'<?=base_url()?>/PersonalInfo/pdDetails',
method: 'post',
dataType: 'json',
success: function(response){
// Read values
var id = response[0].id;
CENTRO ESCOLAR UNIVERSITY
SCHOOL OF SCIENCE AND TECHNOLOGY
MENDIOLA, MANILA
$('#sCategory').text(Category);
$('#sid').text(id);
$('input[name="cat_id"]').val(id);
}else{
$('#sCategory').text('');
$('#sid').text('');
$('input[name="cat_id"]').val('');
});
});
});
</script>
<script>
jQuery(document).ready(function() {
jQuery("#sel_user").change(function() {
jQuery('input[name=course]').show();
}
CENTRO ESCOLAR UNIVERSITY
SCHOOL OF SCIENCE AND TECHNOLOGY
MENDIOLA, MANILA
jQuery('input[name=course]').hide();
jQuery('#course').val('');
jQuery('input[name=course]').hide();
jQuery('#course').val('');
jQuery('input[name=course]').hide();
jQuery('#course').val('');
jQuery('input[name=course]').hide();
jQuery('#course').val('');
jQuery('input[name=course]').hide();
jQuery('#course').val('');
}
CENTRO ESCOLAR UNIVERSITY
SCHOOL OF SCIENCE AND TECHNOLOGY
MENDIOLA, MANILA
});
});
</script>
<div class="form-group">
<label for="course">Course</label>
</div>
<div class="form-group">
<label for="address">Address</label>
</div>
<div class="form-group">
<label for="birthday">Birthday</label>
</div>
<div class="form-group">
<label for="year_of_graduation">year_of_graduation</label>
</div>
<div class="form-group">
</div>
<div class="form-group">
</div>
</div>
</div>
<div class="col-md-6">
<div class="form-group">
</div>
</div>
</div>
</div>
</div>
<div class="box-footer">
</div>
</form>
</div>
</div>
<div class="col-md-4">
<?php
$this->load->helper('form');
$error = $this->session->flashdata('error');
if($error)
?>
</div>
<?php } ?>
<?php
$success = $this->session->flashdata('success');
if($success)
?>
</div>
<?php } ?>
CENTRO ESCOLAR UNIVERSITY
SCHOOL OF SCIENCE AND TECHNOLOGY
MENDIOLA, MANILA
<div class="row">
<div class="col-md-12">
</div>
</div>
</div>
</div>
</section>
</div>
<div class="content-wrapper">
<section class="content-header">
<h1>
</h1>
</section>
<section class="content">
<div class="row">
<div class="form-group">
</div>
CENTRO ESCOLAR UNIVERSITY
SCHOOL OF SCIENCE AND TECHNOLOGY
MENDIOLA, MANILA
</div>
</div>
<div class="row">
<div class="col-xs-12">
<div class="box">
<div class="box-header">
<div class="box-tools">
<div class="input-group">
<div class="input-group-btn">
</div>
</div>
</form>
</div>
<tr>
<th>Id</th>
<th>Student No.#</th>
<th>First Name</th>
<th>Last Name</th>
CENTRO ESCOLAR UNIVERSITY
SCHOOL OF SCIENCE AND TECHNOLOGY
MENDIOLA, MANILA
<th>Graduated</th>
<th class="text-center">Actions</th>
<th>History</th>
</tr>
<?php
if(!empty($userRecords))
foreach($userRecords as $record)
?>
<tr>
<td class="text-center">
</td>
<td>
</td>
CENTRO ESCOLAR UNIVERSITY
SCHOOL OF SCIENCE AND TECHNOLOGY
MENDIOLA, MANILA
<td>
</td>
</tr>
<?php
?>
</table>
</div>
</div>
</div>
</section>
</div>
<script type="text/javascript">
jQuery(document).ready(function(){
e.preventDefault();
jQuery("#searchList").submit();
});
});
</script>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title> CELP</title>
<link href="https://maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css"
rel="stylesheet" type="text/css" />
<!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
<![endif]-->
</head>
<body class="login-page">
<div class="panel-heading">
</div>
<div class="panel-body">
<div class="row">
<div class="col-md-12">
CENTRO ESCOLAR UNIVERSITY
SCHOOL OF SCIENCE AND TECHNOLOGY
MENDIOLA, MANILA
</div>
</div>
<?php
$this->load->helper('form');
$error = $this->session->flashdata('error');
if($error)
?>
</div>
<?php }
$success = $this->session->flashdata('success');
if($success)
?>
</div>
<?php } ?>
</div>
</div>
<div class="row">
<div class="col-xs-8">
<label>
</label>
</div> -->
<div class="col-xs-4">
</div>
</div>
</div>
</div>
</div>
CENTRO ESCOLAR UNIVERSITY
SCHOOL OF SCIENCE AND TECHNOLOGY
MENDIOLA, MANILA
</form>
</body>
</html>
<div class="content-wrapper">
<section class="content-header">
<h1>
</h1>
</section>
<section class="content">
<div class="row">
</div>
</div>
</div>
</div>
</form>
</div>
<div class="row">
<div class="col-xs-12">
<div class="box">
<div class="box-header">
<div class="box-tools">
</div>
<tr>
<th>Session Data</th>
<th>IP Address</th>
<th>User Agent</th>
<th>Platform</th>
<th>Date-Time</th>
</tr>
<?php
if(!empty($userRecords))
foreach($userRecords as $record)
?>
<tr>
</tr>
<?php
?>
</table>
CENTRO ESCOLAR UNIVERSITY
SCHOOL OF SCIENCE AND TECHNOLOGY
MENDIOLA, MANILA
</div>
</div>
</div>
</section>
</div>
<script type="text/javascript">
jQuery(document).ready(function(){
e.preventDefault();
jQuery("#searchList").attr("action", link);
jQuery("#searchList").submit();
});
jQuery('.datepicker').datepicker({
autoclose: true,
format : "dd-mm-yyyy"
});
});
</script>
<!DOCTYPE html>
CENTRO ESCOLAR UNIVERSITY
SCHOOL OF SCIENCE AND TECHNOLOGY
MENDIOLA, MANILA
<html>
<head>
<meta charset="UTF-8">
<link href="https://maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css"
rel="stylesheet" type="text/css" />
<!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
<![endif]-->
</head>
<body class="login-page">
<div class="login-box">
<div class="login-logo">
<div class="login-box-body">
<div class="row">
<div class="col-md-12">
</div>
</div>
<?php
$this->load->helper('form');
$error = $this->session->flashdata('error');
if($error)
?>
</div>
<?php } ?>
</div>
<hr>
</div>
</div>
<div class="row">
<div class="col-xs-8">
<label>
</label>
</div> -->
<div class="col-xs-4">
</div>
</form>
</body>
</html>
<style>
table,td {
text-align: left;
padding: 2px;
width: 90%;
td.t::first-letter {
font-weight: bold;
margin-left: 10px;
.pd {
width:1%;
white-space:nowrap;
</style>
<div class="content-wrapper">
<section class="content-header">
<h1>
</h1>
</section>
CENTRO ESCOLAR UNIVERSITY
SCHOOL OF SCIENCE AND TECHNOLOGY
MENDIOLA, MANILA
<section class="content">
<div class="row">
<div class="form-group">
<td colspan="3"></td>
</tr>
<tr>
<td >
<font size="5px">
</font>
}else{
}else{
echo ' '.$Infos[0]->mi.' ';
}else{
echo $Infos[0]->last_name;
}else{
?>
</td>
</tr>
<td colspan="3"></td>
</tr>
</table>
</div>
<div style="color:red">
</div>
<tr>
<td>
<div class="form-group">
echo $Infos[0]->year_of_graduation;
}else{
echo "";
?>" id="pic_title">
</div>
</td>
echo $Infos[0]->student_no;
}else{
echo "";
CENTRO ESCOLAR UNIVERSITY
SCHOOL OF SCIENCE AND TECHNOLOGY
MENDIOLA, MANILA
?>">
</tr>
<tr>
<td>
<div class="form-group">
<option value="">Select</option>
<option value="DIPLOMA">DIPLOMA</option>
<option value="Others">Others</option>
</select>
</div>
<script>
jQuery(document).ready(function() {
jQuery('input[name=pic_others]').hide();
jQuery("#s").change(function() {
jQuery('input[name=pic_others]').show();
jQuery('select[name=pic_desc]').hide();
jQuery('select[name=pic_desc]').val('');
CENTRO ESCOLAR UNIVERSITY
SCHOOL OF SCIENCE AND TECHNOLOGY
MENDIOLA, MANILA
});
});
</script>
</td>
</tr>
<tr>
<td>
<div class="form-group">
</div>
</td>
</tr>
<tr>
<td>
</td>
</tr>
</form>
</table>
</div>
</section>
</div>
<style>
table,td {
text-align: left;
padding: 2px;
width: 90%;
td.t::first-letter {
font-weight: bold;
margin-left: 10px;
.pd {
width:1%;
white-space:nowrap;
</style>
<div class="content-wrapper">
<section class="content-header">
<h1>
</h1>
</section>
<section class="content">
<div class="row">
<div class="form-group">
<td colspan="3"></td>
</tr>
<tr>
<td >
<font size="5px">
<font color="red"><?php
</font>
}else{
}else{
CENTRO ESCOLAR UNIVERSITY
SCHOOL OF SCIENCE AND TECHNOLOGY
MENDIOLA, MANILA
echo ' '.$pics[0]->mi.' ';
}else{
echo $pics[0]->last_name;
}else{
?>
</td>
</tr>
<td colspan="3"></td>
</tr>
</table>
<?php if(count($pics)){?>
<thead>
<tr>
<th>Description of Record</th>
CENTRO ESCOLAR UNIVERSITY
SCHOOL OF SCIENCE AND TECHNOLOGY
MENDIOLA, MANILA
<th>Year Of Graduation</th>
<th>Print or Download</th>
</tr>
</thead>
<tbody>
<tr>
<td><?=$pc->pic_desc;?><?=$pc->pic_others;?></td>
<td><?=$pc->pic_title;?></td>
<td><a href="<?=base_url().'assets/uploads/'.$pc->pic_file;?>"
target="_blank"><img src="<?=base_url().'assets/uploads/'.$pc->pic_file;?>" width="100"><br><?=$pc-
>pic_file;?></a></td>
</tr>
</tbody>
</table>
<br />
<h4>No file's have been uploaded!. Click this button to <a href="<?=base_url().'infoListing';?>"
class="btn btn-primary">upload</a></h4>
<?php } ?>
</div>
CENTRO ESCOLAR UNIVERSITY
SCHOOL OF SCIENCE AND TECHNOLOGY
MENDIOLA, MANILA
</div>
</section>
</div>
<div class="content-wrapper">
<section class="content-header">
<h1>
</h1>
</section>
<section class="content">
<div class="row">
<div class="form-group">
</div>
</div>
</div>
<div class="row">
<div class="col-xs-12">
<div class="box">
<div class="box-header">
<div class="box-tools">
<div class="input-group">
<div class="input-group-btn">
</div>
</div>
</form>
</div>
<tr>
<th>Id</th>
<th>Name</th>
<th>Emp. No.#</th>
<th>Campus</th>
<th>Role</th>
<th>Department</th>
<th class="text-center">Actions</th>
</tr>
<?php
if(!empty($userRecords))
foreach($userRecords as $record)
{
CENTRO ESCOLAR UNIVERSITY
SCHOOL OF SCIENCE AND TECHNOLOGY
MENDIOLA, MANILA
?>
<tr>
<td class="text-center">
</td>
</tr>
<?php
?>
</table>
</div>
</div>
</div>
</section>
</div>
<script type="text/javascript">
jQuery(document).ready(function(){
e.preventDefault();
jQuery("#searchList").submit();
});
});
</script>
<?php
$a1y_a = '';
$a1y_b = '';
$a1y_c_yes = '';
$a1y_c_yes_data = '';
$a1y_c_no = '';
$a1y_d = '';
$a1y_e_yes = '';
$a1y_e_yes_data = '';
$a1y_e_no = '';
CENTRO ESCOLAR UNIVERSITY
SCHOOL OF SCIENCE AND TECHNOLOGY
MENDIOLA, MANILA
$a1y_f = '';
$a1y_g = '';
$a1y_g_manual_1 = '';
$a1y_g_manual_2 = '';
$a1y_g_manual_3 = '';
$a1y_g_manual_4 = '';
$a1y_g_elec_1 = '';
$a1y_g_elec_2 = '';
$a1y_g_elec_3 = '';
?>
<style>
table,td {
text-align: left;
padding: 2px;
width: 90%;
td.t::first-letter {
font-weight: bold;
margin-left: 10px;
p{
color: #00f;
.pd {
width:1%;
CENTRO ESCOLAR UNIVERSITY
SCHOOL OF SCIENCE AND TECHNOLOGY
MENDIOLA, MANILA
white-space:nowrap;
</style>
<div class="content-wrapper">
<section class="content-header">
<h1>
Dashboard
</h1>
</section>
<div class="box-header">
<section class="content">
<div class="row">
<div class="col-md-4">
<?php
$this->load->helper('form');
$error = $this->session->flashdata('error');
if($error)
?>
</div>
<?php } ?>
<?php
$success = $this->session->flashdata('success');
if($success)
?>
</div>
<?php } ?>
<div class="row">
<div class="col-md-12">
</div>
</div>
</div>
</div>
<tr>
CENTRO ESCOLAR UNIVERSITY
SCHOOL OF SCIENCE AND TECHNOLOGY
MENDIOLA, MANILA
Campus:
</tr>
<tr>
</tr>
</table>
<td colspan="5"></td>
</tr>
<tr>
<td colspan="5">
<div >
<br>
</div>
</tr>
<tr>
NO
</td>
</td>
</td>
</td>
</td>
</tr>
<td colspan="5"></td>
</tr>
</table>
<td>
</td>
<td>
</td>
</tr>
<tr>
<td>
</td>
</tr>
CENTRO ESCOLAR UNIVERSITY
SCHOOL OF SCIENCE AND TECHNOLOGY
MENDIOLA, MANILA
<tr>
<td>
</td>
</tr>
<tr>
<td class="t">c. Was there an opportunity for the data subject to object in providing the
data</td>
<td>
<label>
No
</label>
<label>
</label>
</td>
</tr>
CENTRO ESCOLAR UNIVERSITY
SCHOOL OF SCIENCE AND TECHNOLOGY
MENDIOLA, MANILA
<tr>
<td class="t">d. Who is the office personnel in charge of collecting this data</td>
<td>
</td>
</tr>
<tr>
<td>
<label>
No
</label>
<label>
Yes
</label>
</td>
</tr>
CENTRO ESCOLAR UNIVERSITY
SCHOOL OF SCIENCE AND TECHNOLOGY
MENDIOLA, MANILA
<tr>
<td>
</td>
</tr>
<tr>
<td>
</td>
</tr>
<tr>
<td>
<td>
</td>
</tr>
CENTRO ESCOLAR UNIVERSITY
SCHOOL OF SCIENCE AND TECHNOLOGY
MENDIOLA, MANILA
<tr>
<td class="t">
</td>
<td>
</td>
</tr>
<tr>
<td>
<td>
<p>
</p>
</td>
</tr>
CENTRO ESCOLAR UNIVERSITY
SCHOOL OF SCIENCE AND TECHNOLOGY
MENDIOLA, MANILA
<tr>
<td class="t">
</td>
<td>
<label>
No
</label>
<label>
Yes
</label>
</td>
</tr>
CENTRO ESCOLAR UNIVERSITY
SCHOOL OF SCIENCE AND TECHNOLOGY
MENDIOLA, MANILA
<td colspan="2">
A.2. NO, the department did not collect this data from the data subject
</td>
</tr>
<tr>
<td>
</td>
</tr>
<td colspan="2">
</td>
</tr>
<tr>
</tr>
<td colspan="2">
</td>
</tr>
<tr>
<td>
</td>
</tr>
<td colspan="2">
</td>
</tr>
<tr>
<td>
</td>
</tr>
<tr>
<td>
</td>
</tr>
<td colspan="2">
</td>
</tr>
<tr>
</tr>
<td colspan="2">
</td>
</tr>
<tr>
<td>
</td>
</tr>
<tr>
<td class="t">b. Is this data being shared to someone outside the organization</td>
<td>
CENTRO ESCOLAR UNIVERSITY
SCHOOL OF SCIENCE AND TECHNOLOGY
MENDIOLA, MANILA
<label>No
</label>
<label>
Yes
</label>
</td>
</tr>
<tr>
<td>
<td>
</td>
</tr>
<tr>
<td>
<label>No
</label>
<label>
Yes
</label>
</td>
</tr>
<tr>
<td>
</td>
<td>
</td>
</tr>
<tr>
<td>
</td>
</tr>
<tr>
<td>
</td>
</tr>
<tr>
<td>
</td>
</tr>
<tr>
<td>
CENTRO ESCOLAR UNIVERSITY
SCHOOL OF SCIENCE AND TECHNOLOGY
MENDIOLA, MANILA
<td>
</td>
</tr>
<tr>
<td class="t">
</td>
<td>
</td>
</tr>
<tr>
<td>
<td>
</td>
</tr>
<tr>
<td class="t">
CENTRO ESCOLAR UNIVERSITY
SCHOOL OF SCIENCE AND TECHNOLOGY
MENDIOLA, MANILA
</td>
<td>
</td>
</tr>
<td colspan="2">
</td>
</tr>
<tr>
<td>
</td>
</tr>
<tr>
<td>
<label>No
</label>
<label>
Yes
</label>
</td>
</tr>
<tr>
<td>
<td>
</td>
</tr>
CENTRO ESCOLAR UNIVERSITY
SCHOOL OF SCIENCE AND TECHNOLOGY
MENDIOLA, MANILA
<td colspan="2">
</td>
</tr>
<tr>
</tr>
<td colspan="2">
</td>
</tr>
<tr>
<td class="t">a. For how long do you intend to keep this data</td>
<td>
</td>
</tr>
<tr>
<td>
</td>
</tr>
<tr>
<td>
</td>
</tr>
<tr>
<td>
<td>
</td>
</tr>
<tr>
<td>
</td>
</tr>
<tr>
<td>
</td>
</tr>
<tr>
<td>
<label>No
</label>
<label>
Yes
</label>
CENTRO ESCOLAR UNIVERSITY
SCHOOL OF SCIENCE AND TECHNOLOGY
MENDIOLA, MANILA
</td>
</tr>
<tr>
<td>
</td>
<td>
</td>
</tr>
<tr>
<td>
</td>
</tr>
<tr>
CENTRO ESCOLAR UNIVERSITY
SCHOOL OF SCIENCE AND TECHNOLOGY
MENDIOLA, MANILA
<td>
</td>
</tr>
<tr>
<td>
</td>
</tr>
<tr>
<td>
</td>
</tr>
<td colspan="2">
D.2. NO, the department does not store nor retain this data
</td>
</tr>
<tr>
<td>
</td>
</tr>
<tr>
<td class="t">b. What is the process in requesting that this data will be stored</td>
<td>
</td>
</tr>
<td colspan="2">
</td>
</tr>
<tr>
</tr>
CENTRO ESCOLAR UNIVERSITY
SCHOOL OF SCIENCE AND TECHNOLOGY
MENDIOLA, MANILA
<td colspan="2">
</td>
</tr>
<tr>
<td>
</td>
</tr>
<tr>
<td class="t">b. Is there a way to monitor who, when and where the data is disposed and if
yes, how</td>
<td>
<label>No
</label>
<label>
Yes
</label>
CENTRO ESCOLAR UNIVERSITY
SCHOOL OF SCIENCE AND TECHNOLOGY
MENDIOLA, MANILA
</td>
</tr>
<td colspan="2">
</td>
</tr>
<tr>
<td>
</td>
</tr>
<tr>
<td class="t">b. What is the process in requesting that this data will be disposed</td>
<td>
</td>
</tr>
</table>
CENTRO ESCOLAR UNIVERSITY
SCHOOL OF SCIENCE AND TECHNOLOGY
MENDIOLA, MANILA
</form>
</div>
</div>
</section>
</div>
<?php
$a1y_a = '';
$a1y_b = '';
$a1y_c_yes = '';
$a1y_c_yes_data = '';
$a1y_c_no = '';
$a1y_d = '';
$a1y_e_yes = '';
$a1y_e_yes_data = '';
$a1y_e_no = '';
$a1y_f = '';
$a1y_g = '';
$a1y_g_manual_1 = '';
CENTRO ESCOLAR UNIVERSITY
SCHOOL OF SCIENCE AND TECHNOLOGY
MENDIOLA, MANILA
$a1y_g_manual_2 = '';
$a1y_g_manual_3 = '';
$a1y_g_manual_4 = '';
$a1y_g_elec_1 = '';
$a1y_g_elec_2 = '';
$a1y_g_elec_3 = '';
?>
<style>
table,td {
text-align: left;
padding: 2px;
width: 90%;
td.t::first-letter {
font-weight: bold;
margin-left: 10px;
p{
color: #00f;
.pd {
width:1%;
white-space:nowrap;
</style>
CENTRO ESCOLAR UNIVERSITY
SCHOOL OF SCIENCE AND TECHNOLOGY
MENDIOLA, MANILA
<div class="content-wrapper">
<section class="content-header">
<h1>
Dashboard
</h1>
</section>
<div class="box-header">
<section class="content">
<div class="row">
<div class="col-md-4">
<?php
$this->load->helper('form');
$error = $this->session->flashdata('error');
if($error)
?>
</div>
<?php } ?>
CENTRO ESCOLAR UNIVERSITY
SCHOOL OF SCIENCE AND TECHNOLOGY
MENDIOLA, MANILA
<?php
$success = $this->session->flashdata('success');
if($success)
?>
</div>
<?php } ?>
<div class="row">
<div class="col-md-12">
</div>
</div>
</div>
</div>
<tr>
Campus:
CENTRO ESCOLAR UNIVERSITY
SCHOOL OF SCIENCE AND TECHNOLOGY
MENDIOLA, MANILA
</tr>
<tr>
</tr>
</table>
<td colspan="5"></td>
</tr>
<tr>
<td colspan="5">
<div >
<br>
CENTRO ESCOLAR UNIVERSITY
SCHOOL OF SCIENCE AND TECHNOLOGY
MENDIOLA, MANILA
</div>
</tr>
<tr>
NO
</td>
</td>
</td>
</td>
</td>
</tr>
<td colspan="5"></td>
</tr>
</table>
<td>
</td>
<td>
</td>
</tr>
<tr>
<td>
</td>
</tr>
<tr>
<td>
CENTRO ESCOLAR UNIVERSITY
SCHOOL OF SCIENCE AND TECHNOLOGY
MENDIOLA, MANILA
</td>
</tr>
<tr>
<td class="t">c. Was there an opportunity for the data subject to object in providing the
data</td>
<td>
<label>
No
</label>
<label>
</label><br>
</td>
</tr>
<tr>
<td class="t">d. Who is the office personnel in charge of collecting this data</td>
<td>
</td>
</tr>
<tr>
<td>
<label>
No
</label>
<label>
Yes
CENTRO ESCOLAR UNIVERSITY
SCHOOL OF SCIENCE AND TECHNOLOGY
MENDIOLA, MANILA
</label>
</td>
</tr>
<tr>
<td>
//$px = $size * 8;
?>
</td>
</tr>
<tr>
<script>
jQuery(document).ready(function() {
jQuery("#carm2").change(function() {
jQuery('input[name=a1y_g_manual_1]').show();
jQuery('select[name=a1y_g_elec_ii]').hide();
}
CENTRO ESCOLAR UNIVERSITY
SCHOOL OF SCIENCE AND TECHNOLOGY
MENDIOLA, MANILA
jQuery('select[name=a1y_g_elec_ii]').show();
jQuery('input[name=a1y_g_manual_1]').hide();
jQuery('select[name=a1y_g_elec_ii]').show();
jQuery('input[name=a1y_g_manual_1]').show();
});
});
</script>
<td>
<option value="manually">Manually</option>
<option value="electronically">Electronically</option>
<option value="Both">Both</option>
</select>
<p></p>
</td>
</tr>
CENTRO ESCOLAR UNIVERSITY
SCHOOL OF SCIENCE AND TECHNOLOGY
MENDIOLA, MANILA
<tr>
<td>
<td>
</td>
</tr>
<tr>
<td class="t">
</td>
<td>
</td>
</tr>
<tr>
<td>
<td>
<script>
jQuery(document).ready(function() {
jQuery("#carm3").on('change',function() {
jQuery('input[name=a1y_g_elec_ii_other]').show();
}else{
jQuery('select[name=a1y_g_elec_ii_other]').hide();
});
});
</script>
<option value="CARES">CARES</option>
<option value="EARS2">EARS2</option>
<option value="student">Student</option>
<option value="Employee">Employee</option>
</select>
</td>
</tr>
<tr>
<td class="t">
</td>
<td>
<label>
No
</label>
<label>
Yes
</label>
</td>
</tr>
<td colspan="2">
A.2. NO, the department did not collect this data from the data subject
</td>
</tr>
CENTRO ESCOLAR UNIVERSITY
SCHOOL OF SCIENCE AND TECHNOLOGY
MENDIOLA, MANILA
<tr>
<td>
</td>
</tr>
<td colspan="2">
</td>
</tr>
<tr>
</tr>
<td colspan="2">
</td>
</tr>
CENTRO ESCOLAR UNIVERSITY
SCHOOL OF SCIENCE AND TECHNOLOGY
MENDIOLA, MANILA
<tr>
<td>
</td>
</tr>
<td colspan="2">
</td>
</tr>
<tr>
<td>
</td>
</tr>
<tr>
<td>
</td>
</tr>
<td colspan="2">
</td>
</tr>
<tr>
</tr>
<td colspan="2">
</td>
</tr>
<tr>
<td>
</td>
</tr>
<tr>
<td class="t">b. Is this data being shared to someone outside the organization</td>
<td>
<label>No
</label>
<label>
CENTRO ESCOLAR UNIVERSITY
SCHOOL OF SCIENCE AND TECHNOLOGY
MENDIOLA, MANILA
Yes
</label>
</td>
</tr>
<tr>
<td>
<td>
</td>
</tr>
<tr>
<td>
CENTRO ESCOLAR UNIVERSITY
SCHOOL OF SCIENCE AND TECHNOLOGY
MENDIOLA, MANILA
<label>No
</label>
<label>
Yes
</label>
</td>
</tr>
<tr>
<td>
</td>
<td>
</td>
</tr>
CENTRO ESCOLAR UNIVERSITY
SCHOOL OF SCIENCE AND TECHNOLOGY
MENDIOLA, MANILA
<tr>
<td>
$px = $size * 8;
?>
</td>
</tr>
<tr>
<td>
$px = $size * 8;
?>
</td>
</tr>
<tr>
<script>
jQuery(document).ready(function() {
jQuery("#carm4").change(function() {
jQuery('input[name=c1y_g_m1]').show();
jQuery('input[name=c1y_g_elec1]').hide();
jQuery('input[name=c1y_g_elec1]').show();
jQuery('input[name=c1y_g_m1]').hide();
jQuery('input[name=c1y_g_elec1]').show();
jQuery('input[name=c1y_g_m1]').show();
});
});
CENTRO ESCOLAR UNIVERSITY
SCHOOL OF SCIENCE AND TECHNOLOGY
MENDIOLA, MANILA
</script>
<td>
<option value="Manually">Manually</option>
<option value="Electronically">Electronically</option>
<option value="Both">Both</option>
</select>
</td>
</tr>
<tr>
<td class="t">
<td>
</td>
</tr>
<tr>
<td class="t">
CENTRO ESCOLAR UNIVERSITY
SCHOOL OF SCIENCE AND TECHNOLOGY
MENDIOLA, MANILA
approval</td>
<td>
</td>
</tr>
<tr>
<td class="t">
</td>
<td>
</td>
</tr>
<td colspan="2">
</td>
</tr>
CENTRO ESCOLAR UNIVERSITY
SCHOOL OF SCIENCE AND TECHNOLOGY
MENDIOLA, MANILA
<tr>
<td>
$px = $size * 8;
?>
</td>
</tr>
<tr>
<td>
<label>No
</label>
<label>
Yes
</label>
CENTRO ESCOLAR UNIVERSITY
SCHOOL OF SCIENCE AND TECHNOLOGY
MENDIOLA, MANILA
</td>
</tr>
<tr>
<td>
<td>
$px = $size * 8;
?>
</td>
</tr>
<td colspan="2">
V
CENTRO ESCOLAR UNIVERSITY
SCHOOL OF SCIENCE AND TECHNOLOGY
MENDIOLA, MANILA
</td>
</tr>
<tr>
</tr>
<td colspan="2">
</td>
</tr>
<tr>
<td class="t">a. For how long do you intend to keep this data</td>
<td>
</td>
</tr>
<tr>
<td>
CENTRO ESCOLAR UNIVERSITY
SCHOOL OF SCIENCE AND TECHNOLOGY
MENDIOLA, MANILA
$px = $size * 8;
?>
</td>
</tr>
<tr>
<td>
?>
</td>
</tr>
<tr>
<td>
CENTRO ESCOLAR UNIVERSITY
SCHOOL OF SCIENCE AND TECHNOLOGY
MENDIOLA, MANILA
<td>
</td>
</tr>
<tr>
<td>
?>
</td>
</tr>
<tr>
<td>
?>
</td>
</tr>
<tr>
<td>
<label>No
</label>
<label>
Yes
</label>
?>
</td>
</tr>
<tr>
<td>
</td>
<td>
</td>
</tr>
<tr>
CENTRO ESCOLAR UNIVERSITY
SCHOOL OF SCIENCE AND TECHNOLOGY
MENDIOLA, MANILA
<td>
?>
</td>
</tr>
<tr>
<td>
?>
</td>
</tr>
<tr>
<td>
?>
</td>
</tr>
<tr>
<td>
CENTRO ESCOLAR UNIVERSITY
SCHOOL OF SCIENCE AND TECHNOLOGY
MENDIOLA, MANILA
?>
</td>
</tr>
<td colspan="2">
D.2. NO, the department does not store nor retain this data
</td>
</tr>
<tr>
<td>
?>
</td>
</tr>
<tr>
<td class="t">b. What is the process in requesting that this data will be stored</td>
<td>
?>
</td>
</tr>
<td colspan="2">
</td>
</tr>
<tr>
</tr>
CENTRO ESCOLAR UNIVERSITY
SCHOOL OF SCIENCE AND TECHNOLOGY
MENDIOLA, MANILA
<td colspan="2">
</td>
</tr>
<tr>
<td>
?>
</td>
</tr>
<tr>
<td class="t">b. Is there a way to monitor who, when and where the data is disposed and if
yes, how</td>
<td>
<label>No
</label>
CENTRO ESCOLAR UNIVERSITY
SCHOOL OF SCIENCE AND TECHNOLOGY
MENDIOLA, MANILA
<label>
Yes
</label>
?>
</td>
</tr>
<td colspan="2">
</td>
</tr>
<tr>
<td>
CENTRO ESCOLAR UNIVERSITY
SCHOOL OF SCIENCE AND TECHNOLOGY
MENDIOLA, MANILA
?>
</td>
</tr>
<tr>
<td class="t">b. What is the process in requesting that this data will be disposed</td>
<td>
?>
</td>
</tr>
CENTRO ESCOLAR UNIVERSITY
SCHOOL OF SCIENCE AND TECHNOLOGY
MENDIOLA, MANILA
<tr>
<td colspan="2">
<div class="box-footer">
</div>
</td>
</tr>
</table>
</form>
</div>
</div>
</section>
</div>
Report (About)
<link href="<?php echo base_url(); ?>assets/bootstrap/css/bootstrap.min.css"
rel="stylesheet" type="text/css" />
<!-- FontAwesome 4.3.0 -->
<link href="<?php echo base_url(); ?>assets/font-awesome/css/font-
awesome.min.css" rel="stylesheet" type="text/css" />
<!-- Theme style -->
<link href="<?php echo base_url(); ?>assets/dist/css/AdminLTE.min.css"
rel="stylesheet" type="text/css" />
<!-- AdminLTE Skins. Choose a skin from the css/skins
folder instead of downloading all of them to reduce the load. -->
<link href="<?php echo base_url(); ?>assets/dist/css/skins/_all-skins.min.css"
rel="stylesheet" type="text/css" />
<style>
table,td {
border: 0px solid #000000;
text-align: left;
CENTRO ESCOLAR UNIVERSITY
SCHOOL OF SCIENCE AND TECHNOLOGY
MENDIOLA, MANILA
padding: 2px;
width: 95%;
}
td.t::first-letter {
font-weight: bold;
margin-left: 10px;
}
</style>
<table align="center">
<tr >
<td style="text-align: center;"><strong><u>ABOUT</u></strong><br><br>
</td>
</tr>
<tr >
<td style="text-align: center;"><strong>Project Manager:</strong> John Ray
P. Mendez<br>
<strong>System Analyst:</strong> Jean Andrew E. Aurellano <br>
<strong>Tester:</strong> Lawrence N. Cachilla <br>
<strong>Programmer:</strong> Shan Austin S. Lenon <br>
<strong>Programmer:</strong> Daniello Kelly N. Madrona <br>
<strong>Technical Writer:</strong> Joeland M. Quiod <br>
<strong>System Analyst:</strong> Charles Andrei T. Sakhrani <br>
CENTRO ESCOLAR UNIVERSITY
SCHOOL OF SCIENCE AND TECHNOLOGY
MENDIOLA, MANILA
</table>
Help
<link href="<?php echo base_url(); ?>assets/bootstrap/css/bootstrap.min.css" rel="stylesheet"
type="text/css" />
<!-- FontAwesome 4.3.0 -->
<link href="<?php echo base_url(); ?>assets/font-awesome/css/font-awesome.min.css"
rel="stylesheet" type="text/css" />
<!-- Theme style -->
<link href="<?php echo base_url(); ?>assets/dist/css/AdminLTE.min.css" rel="stylesheet"
type="text/css" />
<!-- AdminLTE Skins. Choose a skin from the css/skins
folder instead of downloading all of them to reduce the load. -->
<link href="<?php echo base_url(); ?>assets/dist/css/skins/_all-skins.min.css" rel="stylesheet"
type="text/css" />
<style>
table,td {
CENTRO ESCOLAR UNIVERSITY
SCHOOL OF SCIENCE AND TECHNOLOGY
MENDIOLA, MANILA
</style>
<table align="center">
<tr >
<td style="text-align: center;"><strong>Student Record Information System Help</strong><br><br>
</td>
</tr>
<tr>
<td>
<strong> How to Add a Student </strong> <br>
<strong> Step 1:</strong> Go to Dashboard <br>
<strong> Step 2:</strong> Click Student <br>
<strong> Step 3: </strong> Click New Student Record <br>
<strong> Step 4: </strong> Input the Student Information <br>
<br>
<strong> How to Add a File</strong> <br>
<strong> Step 1: </strong> Click Manage Student Record <br>
<strong> Step 2: </strong> Click Add File <br>
CENTRO ESCOLAR UNIVERSITY
SCHOOL OF SCIENCE AND TECHNOLOGY
MENDIOLA, MANILA
</td>
</tr>
</table>
CENTRO ESCOLAR UNIVERSITY
SCHOOL OF SCIENCE AND TECHNOLOGY
MENDIOLA, MANILA