diff --git a/admin/application/config/routes.php b/admin/application/config/routes.php index ba431a0..cdc2cb6 100644 --- a/admin/application/config/routes.php +++ b/admin/application/config/routes.php @@ -84,7 +84,7 @@ $route['edit-degree/(:num)'] = 'degree/editDegree/$1'; $route['semester'] = 'semester/semester_list'; $route['add-semester'] = 'semester/add_semester'; $route['edit-semester/(:num)'] = 'semester/editSemester/$1'; - +$route['view-semester/(:num)'] = 'semester/viewSemester/$1'; //subject// $route['subject'] = 'subject/subject_list'; @@ -102,7 +102,7 @@ $route['edit-faculty/(:num)'] = 'faculty/editFaculty/$1'; $route['student'] = 'student/student_list'; $route['add_student'] = 'student/add_student'; $route['view-student/(:num)'] = 'student/viewStudent/$1'; -$route['edit_student/(:num)'] = 'student/edit_student/$1'; +$route['edit-student/(:num)'] = 'student/editStudent/$1'; $route['deleted_student'] = 'student/deleted_student'; @@ -110,5 +110,5 @@ $route['deleted_student'] = 'student/deleted_student'; $route['project'] = 'project/project_list'; $route['add_project'] = 'project/add_project'; $route['view-project/(:num)'] = 'project/viewProject/$1'; -$route['edit_project/(:num)'] = 'project/edit_project/$1'; +$route['edit-project/(:num)'] = 'project/editProject/$1'; $route['deleted_project'] = 'project/deleted_project'; \ No newline at end of file diff --git a/admin/application/controllers/Project.php b/admin/application/controllers/Project.php index a4f4696..bac20db 100644 --- a/admin/application/controllers/Project.php +++ b/admin/application/controllers/Project.php @@ -148,60 +148,176 @@ class Project extends CI_Controller { } - function edit_project($id) + function editProject($id) { + $data['dep']=$this->Project_model->get_dep(); + $data['stu']=$this->Project_model->get_stu(); + $data['sub']=$this->Project_model->get_sub(); + $data['semester']=$this->Project_model->get_semester(); + $data['pro']=$this->Project_model->get_pro($id); - $this->load->view('project/edit_project',$data); + + $data['getMultipleImage']=$this->Project_model->getMultipleImage($id); if($this->input->post('submit')) { - $name=$this->input->post('projectName'); $date=$this->input->post('date'); - $student=$this->input->post('student'); - $semester=$this->input->post('semester'); - $subject=$this->input->post('subject'); - //$gender=$this->input->post('gender'); - $department=$this->input->post('department'); + $projectName=$this->input->post('projectName'); + $code=$this->input->post('code'); + $studentId=$this->input->post('student'); + $semesterId=$this->input->post('semesterId'); + $subjectId=$this->input->post('subjectId'); + $departmentId=$this->input->post('departmentId'); + $titleImage=$this->input->post('titleImage'); + $oldImage=$this->input->post('oldImage'); $description=$this->input->post('description'); - //$faculty=$this->input->post('faculty'); $drivelink=$this->input->post('drivelink'); - $video=$this->input->post('vedio'); - $image=$this->input->post('image'); + $video=$this->input->post('video'); + + if($titleImage=="" ){$newImage=$oldImage;} + if(file_exists($_FILES['titleImage']['tmp_name'])) + { + $temp_user_img=$_FILES['titleImage']['tmp_name']; + $newImage=str_replace(' ', '_', $_FILES["titleImage"]["name"]); + $allowed = array('png,jpeg,jpg'); + $extension1 = pathinfo($newImage, PATHINFO_EXTENSION); + $newImage='title'.date('ymdhis').'.'.$extension1; + $targetPath='./uploads/project/'; + $targetFile=$targetPath.$newImage; + move_uploaded_file($temp_user_img, $targetFile); + } - $table="project"; $where=array("id"=>$id); - $values=array('projectName'=>$name, + $values=array('projectName'=>$projectName, 'date'=>$date, - 'studentId'=>$student, - 'semesterId'=>$semester, - 'subjectId'=>$subject, - 'departmentId'=>$department, - // 'gender'=>$gender, + 'code'=>$code, + 'studentId'=>$studentId, + 'semesterId'=>$semesterId, + 'subjectId'=>$subjectId, + 'departmentId'=>$departmentId, + 'image'=>$newImage, 'description'=>$description, - //'faculty'=>$faculty, 'drivelink'=>$drivelink, 'vedio'=>$video, - 'image'=>$image, 'updatedOn'=>date('Y-m-d'), - 'updatedBy'=>1, - 'status'=>1); + 'updatedBy'=>1); $result=$this->Commonsql_model->updateTable($table,$where,$values); + + //Image Multiple + $title = $this->input->post('title'); + $profileimage = $this->input->post('profileimage'); + $projectDetailId = $this->input->post('projectDetailName'); + $oldImage = $this->input->post('profileimageOld'); + //print_r ($projectDetailId);exit; + + //Update old datas + foreach($title as $key=>$value) + { + + if($projectDetailId[$key]!="") + { + + if($_FILES['profileimage']['name'][$key]) + { + $temp_file=$_FILES['profileimage']['tmp_name'][$key]; + $business_doc=str_replace(' ', '_', $_FILES["profileimage"]["name"][$key]); + $extension1 = pathinfo($business_doc, PATHINFO_EXTENSION); + $newImage=$id.'.'.$business_doc; + $document='uploads/project/'.$newImage; + + $targetPath = './uploads/project/'; + $targetFile=$targetPath.$newImage; + + + if(move_uploaded_file($temp_file, $targetFile)) + { } + } + else{ + $newImage=$oldImage[$key]; + } + $tablename='projectdetail'; + $data=array('title'=>$title[$key], + 'image'=>$newImage); + $where=array('id'=>$projectDetailId[$key]); + $result=$this->Commonsql_model->updateTable($tablename,$where,$data); + //echo $this->db->last_query(); + + } + } + //Remove Existing One + $existingRow=$this->Project_model->getMultipleImage($id); + //echo $this->db->last_query(); + if($existingRow->num_rows()>0) + { + //echo "test";exit; + $primaryId=array(); + foreach($existingRow->result() as $list) + { + $primaryId[]=$list->id ; + } + } + //Remove Row + $diff=array_diff($primaryId,$projectDetailId); + //print_r ($diff);exit; + if($diff>0) + { + //echo "sdsds";exit; + foreach($diff as $value) + { + $where=array('id'=>$value); + $tablename="projectdetail"; + $values=array('status'=>0); + if($projectDetailId[$key]!=""){ + $result=$this->Commonsql_model->updateTable($tablename,$where,$values);} + //echo $this->db->last_query(); + } + } + //New Row Insertion + if($projectDetailId[$key]=="") + { + + if($_FILES['profileimage']['tmp_name']) + { + $tempDocument=$_FILES['profileimage']['tmp_name'][$key]; + $getImage=str_replace(' ', '_', $_FILES["profileimage"]["name"][$key]); + $extension1 = pathinfo($getImage, PATHINFO_EXTENSION); + $image=$id.'.'.$getImage; + //$document='uploads/subject/'.$business_document; + $targetPath = './uploads/project/'; + $targetFile=$targetPath.$image; + + + if(move_uploaded_file($tempDocument, $targetFile)) + { + $tablename='projectdetail'; + $data=array('projectId'=>$id, + 'title'=>$title[$key], + 'image'=>$image, + 'status'=>1); + + $result=$this->Commonsql_model->insert_table($tablename,$data); + } + } + + } + + if($result) - { - $this->session->set_userdata('suc','successfully Updated'); - redirect('project'); - - } - else - { - $this->session->set_userdata('err','Please try again'); - redirect('project'); - } + { + $this->session->set_userdata('suc','successfully Updated'); + redirect('project'); + + } + else + { + $this->session->set_userdata('err','Please try again'); + redirect('project'); + } } - + $this->load->view('project/edit_project',$data); } function deleteProject() diff --git a/admin/application/controllers/Semester.php b/admin/application/controllers/Semester.php index 18c35e0..a86f0f7 100644 --- a/admin/application/controllers/Semester.php +++ b/admin/application/controllers/Semester.php @@ -32,7 +32,15 @@ class Semester extends CI_Controller { $this->load->view('semester/semester_list',$data); } - + public function viewSemester($id) + { + if($this->session->userdata('id')==""){redirect('');} + + $data['viewSemester']=$this->Semester_model->viewSemester($id); + //echo $this->db->last_query();exit; + $this->load->view('semester/view_semester',$data); + } + function add_semester() { $data['subject']=$this->Semester_model->listSubject(); @@ -48,12 +56,14 @@ class Semester extends CI_Controller { $subjectId=$this->input->post('subjectId'); $departmentId=$this->input->post('departmentId'); $degreeId=$this->input->post('degreeId'); - ///echo $departmentId; + + $subjectIdd = implode(",", (array)$subjectId); + //echo $subjectIdd;exit; //echo $degreeId; $table="semester"; $values=array('name'=>$name, 'year'=>$year, - 'subjectId'=>$subjectId, + 'subjectId'=>$subjectIdd, 'departmentId'=>$departmentId, 'degreeId'=>$degreeId, 'createdOn'=>date('Y-m-d'), @@ -88,11 +98,13 @@ class Semester extends CI_Controller { $departmentId=$this->input->post('departmentId'); $degreeId=$this->input->post('degreeId'); + $subjectIdd = implode(",", (array)$subjectId); + $table="semester"; $where=array("id"=>$id); $values=array( 'name'=>$name, 'year'=>$year, - 'subjectId'=>$subjectId, + 'subjectId'=>$subjectIdd, 'departmentId'=>$departmentId, 'degreeId'=>$degreeId, 'updatedOn'=>date('Y-m-d'), diff --git a/admin/application/controllers/Student.php b/admin/application/controllers/Student.php index 331c9c5..f4001c7 100644 --- a/admin/application/controllers/Student.php +++ b/admin/application/controllers/Student.php @@ -105,22 +105,36 @@ class Student extends CI_Controller { } - function edit_student($id) + function editStudent($id) { - - $data['stu']=$this->Student_model->get_stu($id); - $this->load->view('student/edit_student',$data); - + $data['dep']=$this->Student_model->get_dep(); + $data['stu']=$this->Student_model->get_stu($id); + if($this->input->post('submit')) { $name=$this->input->post('name'); $number=$this->input->post('mobileNumber'); $address=$this->input->post('address'); $department=$this->input->post('department'); + $date=$this->input->post('date'); $student=$this->input->post('student'); $gender=$this->input->post('gender'); $s_img=$this->input->post('image'); - + $hiddenImage=$this->input->post('hiddenImage'); + if (!is_dir('uploads/student')) { + mkdir('./uploads/student', 0777, TRUE); + } + if(file_exists($_FILES['image']['tmp_name'])) + { + $temp_user_img=$_FILES['image']['tmp_name']; + $s_img=str_replace(' ', '_', $_FILES["image"]["name"]); + $allowed = array('png,jpeg,jpg'); + $extension1 = pathinfo($s_img, PATHINFO_EXTENSION); + $s_img=date('ymdhi').'.'.$extension1; + $targetPath='./uploads/student/'; + $targetFile=$targetPath.$s_img; + move_uploaded_file($temp_user_img, $targetFile); + } $table="student"; $where=array("id"=>$id); @@ -129,13 +143,15 @@ class Student extends CI_Controller { 'studentId'=>$student, 'address'=>$address, 'department'=>$department, + 'dob'=>$date, 'gender'=>$gender, 'image'=>$s_img, //'update_on'=>date('Y-m-d'), // 'update_by'=>1, 'status'=>1); - + $result=$this->Commonsql_model->updateTable($table,$where,$values); + //echo $this->db->last_query();exit; if($result) { $this->session->set_userdata('suc','successfully Updated'); @@ -149,10 +165,7 @@ class Student extends CI_Controller { } } - //echo "sdsd";exit; - - //echo $this->db->last_query();exit; - + $this->load->view('student/edit_student',$data); } function deleteStudent() diff --git a/admin/application/controllers/Subject.php b/admin/application/controllers/Subject.php index 00c7b6a..d14afe6 100644 --- a/admin/application/controllers/Subject.php +++ b/admin/application/controllers/Subject.php @@ -86,17 +86,55 @@ class Subject extends CI_Controller { 'createdBy'=>1, 'status'=>1); $result=$this->Commonsql_model->insert_table($table,$values); - if($result) - { - $this->session->set_userdata('suc','successfully added'); - redirect('subject'); + + $subjectId=$this->db->insert_id(); + + //Image table insert + $title = $this->input->post('title'); + + foreach($title as $key=>$value) + { + if($_FILES['profileimage']['tmp_name']) + { + if (!is_dir('uploads/subject')) { + mkdir('./uploads/subject', 0777, TRUE); + } + $temp_vehicle_doc=$_FILES['profileimage']['tmp_name'][$key]; + $projectImage=str_replace(' ', '_', $_FILES["profileimage"]["name"][$key]); + $extension1 = pathinfo($projectImage, PATHINFO_EXTENSION); + $pImage=$subjectId.'.'.$projectImage; + $document='uploads/subject/'.$pImage; + + $targetPath = './uploads/subject/'; + $targetFile=$targetPath.$pImage; + + + if(move_uploaded_file($temp_vehicle_doc, $targetFile)) + { + $tablename='subjectdetail'; + $data=array('subjectId'=>$subjectId, + 'title'=>$title[$key], + 'image'=>$pImage, + 'status'=>1); - } - else - { - $this->session->set_userdata('err','Please try again'); - redirect('subject'); - } + $subject=$this->Commonsql_model->insert_table($tablename,$data); + //echo $this->db->last_query(); + + } + } + } + //exit; + if($result & $subject) + { + $this->session->set_userdata('suc','successfully added'); + redirect('subject'); + + } + else + { + $this->session->set_userdata('err','Please try again'); + redirect('subject'); + } } $this->load->view('subject/add_subject',$data); @@ -110,6 +148,8 @@ class Subject extends CI_Controller { $data['degree']=$this->Subject_model->degreeList(); $data['faculty']=$this->Subject_model->facultyList(); + $data['getMultipleImage']=$this->Subject_model->getMultipleImage($id); + ///echo $this->db->last_query();exit; if($this->input->post('submit')) { @@ -155,8 +195,105 @@ class Subject extends CI_Controller { $result=$this->Commonsql_model->updateTable($table,$where,$values); //echo $this->db->last_query();exit; - if($result) + + //Image Multiple + $title = $this->input->post('title'); + $profileimage = $this->input->post('profileimage'); + $subjectDetailId = $this->input->post('subjectDetailName'); + $oldImage = $this->input->post('profileimageOld'); + //print_r ($subjectDetailId);exit; + + //Update old datas + foreach($title as $key=>$value) + { + + if($subjectDetailId[$key]!="") + { + if($_FILES['profileimage']['name'][$key]) + { + $temp_file=$_FILES['profileimage']['tmp_name'][$key]; + $business_doc=str_replace(' ', '_', $_FILES["profileimage"]["name"][$key]); + $extension1 = pathinfo($business_doc, PATHINFO_EXTENSION); + $newImage=$id.'.'.$business_doc; + $document='uploads/subject/'.$newImage; + + $targetPath = './uploads/subject/'; + $targetFile=$targetPath.$newImage; + + + if(move_uploaded_file($temp_file, $targetFile)) + { } + } + else{ + $newImage=$oldImage[$key]; + } + $tablename='subjectdetail'; + $data=array('title'=>$title[$key], + 'image'=>$newImage); + $where=array('id'=>$subjectDetailId[$key]); + $result=$this->Commonsql_model->updateTable($tablename,$where,$data); + //echo $this->db->last_query(); + + } + } + //Remove Existing One + $existingRow=$this->Subject_model->getMultipleImage($id); + //echo $this->db->last_query(); + if($existingRow->num_rows()>0) + { + //echo "test";exit; + $primaryId=array(); + foreach($existingRow->result() as $list) + { + $primaryId[]=$list->id ; + } + } + //Remove Row + $diff=array_diff($primaryId,$subjectDetailId); + //print_r ($diff);exit; + if($diff>0) + { + //echo "sdsds";exit; + foreach($diff as $value) + { + $where=array('id'=>$value); + $tablename="subjectdetail"; + $values=array('status'=>0); + if($subjectDetailId[$key]!=""){ + $result=$this->Commonsql_model->updateTable($tablename,$where,$values);} + //echo $this->db->last_query(); + } + } + //New Row Insertion + if($subjectDetailId[$key]=="") + { + + if($_FILES['profileimage']['tmp_name']) + { + $tempDocument=$_FILES['profileimage']['tmp_name'][$key]; + $getImage=str_replace(' ', '_', $_FILES["profileimage"]["name"][$key]); + $extension1 = pathinfo($getImage, PATHINFO_EXTENSION); + $image=$id.'.'.$getImage; + //$document='uploads/subject/'.$business_document; + $targetPath = './uploads/subject/'; + $targetFile=$targetPath.$image; + + + if(move_uploaded_file($tempDocument, $targetFile)) + { + $tablename='subjectdetail'; + $data=array('subjectId'=>$id, + 'title'=>$title[$key], + 'image'=>$image, + 'status'=>1); + + $result=$this->Commonsql_model->insert_table($tablename,$data); + } + } + + } + if($result) { $this->session->set_userdata('suc','successfully Updated'); redirect('subject'); @@ -166,7 +303,6 @@ class Subject extends CI_Controller { $this->session->set_userdata('err','Please try again'); redirect('subject'); } - } $this->load->view('subject/edit_subject',$data); @@ -184,7 +320,11 @@ class Subject extends CI_Controller { $table="subject"; $where=array("id"=>$subjectId); $values=array('status'=>0); - + + $dTable="subjectdetail"; + $dWhere=array("subjectId"=>$subjectId); + $dValue=array('status'=>0); + $result=$this->Commonsql_model->updateTable($table,$where,$values); if($result) { diff --git a/admin/application/models/Project_model.php b/admin/application/models/Project_model.php index 5367984..ae6fcb7 100644 --- a/admin/application/models/Project_model.php +++ b/admin/application/models/Project_model.php @@ -146,4 +146,13 @@ class Project_model extends CI_Model { //echo $this->db->last_query(); exit; return $result; } + function getMultipleImage($id) + { + $this->db->select('id,title,image,projectId'); + $this->db->from('projectdetail'); + $this->db->where(array('status'=>1,'projectId'=>$id)); + $query = $this->db->get(); + //echo $this->db->last_query(); + return $query; + } } diff --git a/admin/application/models/Semester_model.php b/admin/application/models/Semester_model.php index 0116fda..eb3524f 100644 --- a/admin/application/models/Semester_model.php +++ b/admin/application/models/Semester_model.php @@ -11,7 +11,7 @@ class Semester_model extends CI_Model { function list_semester() { $this->db->select('s.id,s.name,s.year,sub.id as subId,sub.name as subName,dep.id as depId,dep.name as depName,deg.id as degId,deg.name as degName'); - $this->db->from('Semester as s'); + $this->db->from('semester as s'); $this->db->join('subject as sub','sub.id=s.subjectId','INNER'); $this->db->join('department as dep','dep.id=s.departmentId','INNER'); $this->db->join('degree as deg','deg.id=s.degreeId','INNER'); @@ -47,6 +47,17 @@ class Semester_model extends CI_Model { $query = $this->db->get(); //echo $this->db->last_query();exit; return $query; + } + function viewSemester($id) + { + $this->db->select('s.id,s.name,s.year,s.subjectId,dep.id as depId,dep.name as depName,deg.id as degId,deg.name as degName'); + $this->db->from('semester as s'); + $this->db->join('department as dep','dep.id=s.departmentId','INNER'); + $this->db->join('degree as deg','deg.id=s.degreeId','INNER'); + $this->db->where(array('s.status'=>1,'s.id'=>$id)); + $query = $this->db->get(); + //echo $this->db->last_query();exit; + return $query; } function getSemester($id) { @@ -58,4 +69,13 @@ class Semester_model extends CI_Model { return $query; } + function get_subject($id) + { + $this->db->select('*'); + $this->db->from('subject'); + $this->db->where(array('status'=>1,'id'=>$id)); + $query = $this->db->get(); + //echo $this->db->last_query();exit; + return $query; + } } diff --git a/admin/application/models/Subject_model.php b/admin/application/models/Subject_model.php index fe78a4f..cb7ea2c 100644 --- a/admin/application/models/Subject_model.php +++ b/admin/application/models/Subject_model.php @@ -64,4 +64,13 @@ class Subject_model extends CI_Model { //echo $this->db->last_query(); return $query; } + function getMultipleImage($id) + { + $this->db->select('id,title,image,subjectId'); + $this->db->from('subjectdetail'); + $this->db->where(array('status'=>1,'subjectId'=>$id)); + $query = $this->db->get(); + //echo $this->db->last_query(); + return $query; + } } diff --git a/admin/application/views/project/edit_project.php b/admin/application/views/project/edit_project.php index 474acc2..a3fedd8 100644 --- a/admin/application/views/project/edit_project.php +++ b/admin/application/views/project/edit_project.php @@ -1,145 +1,307 @@ load->view('includes/header');?> -
- load->view('includes/sidebar');?> -
-
-
-
-
-
Edit Project
-
- -
-
- - num_rows()>0) - { - $p=$pro->row(); - $id=$p->id; - $date=$p->date; - $name=$p->projectName; - //$code=$p->faculty; - $student=$p->studentId; - $semester=$p->semesterId; - $subject=$p->subjectId; - $code=$p->code; - $department=$p->departmentId; - $description=$p->description; - $video=$p->vedio; - //$drivelink=$p->drivelink; - $image=$p->image; - - } ?> -
-
-
-
-
Edit Project
-
-
-
-
-
- -
- -
-
-
- -
- -
-
-
- -
- -
-
-
- -
- -
-
-
- -
- -
-
-
- -
- -
-
-
- -
-
-
-
- -
-
-
-
- -
-
-
- -
- -
- -
-
- -
-
-
- - -
-
-
- -
-
-
-
+
+load->view('includes/sidebar');?> +
+
+
+
+
+
Edit Project
+
- +
+ + num_rows()>0) + { + $p=$pro->row(); + $id=$p->id; + $date=$p->date; + $name=$p->projectName; + //$code=$p->faculty; + $studentId=$p->studentId; + $semesterId=$p->semesterId; + $subjectId=$p->subjectId; + $code=$p->code; + $departmentId=$p->departmentId; + $description=$p->description; + $video=$p->vedio; + $driveLink=$p->driveLink; + $image=$p->image; + + } ?> +
+
+
+
+
Edit Project
+
+
+
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+ +
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ + + +
+
+
+ +
+ +
+
+
+ +
+
+
+
+ +
+
+
+ + num_rows()>0) + { + $totalCount=$getMultipleImage->num_rows(); + } + ?> + +
+
+
+
+
+
Add More
+
+
+ num_rows()>0) + { + $i=0; + foreach($getMultipleImage->result() as $list) + { + $id =$list->id ; + $title=$list->title; + $image=$list->image; + $projectId=$list->projectId; + ?> + +
+ + +
+ +
+
+ + + +
+ +
+
Remove
+
+
+ + + +
+ + +
+ +
+
+ +
+
+
Remove
+
+
+ + + +
+
+
+ + +
+
+
+ +
- load->view('includes/footer');?> \ No newline at end of file +
+
+ +
+
+
+load->view('includes/footer');?> + \ No newline at end of file diff --git a/admin/application/views/project/project_list.php b/admin/application/views/project/project_list.php index 8ce37a8..a659f7c 100644 --- a/admin/application/views/project/project_list.php +++ b/admin/application/views/project/project_list.php @@ -82,7 +82,7 @@ - + diff --git a/admin/application/views/semester/add_semester.php b/admin/application/views/semester/add_semester.php index d7fec9d..c3e3c25 100644 --- a/admin/application/views/semester/add_semester.php +++ b/admin/application/views/semester/add_semester.php @@ -53,8 +53,8 @@ *
- + num_rows()>0) { diff --git a/admin/application/views/semester/edit_semester.php b/admin/application/views/semester/edit_semester.php index 0f15398..532ebd4 100644 --- a/admin/application/views/semester/edit_semester.php +++ b/admin/application/views/semester/edit_semester.php @@ -40,7 +40,8 @@ $subjectId=$e->subjectId; $departmentId=$e->departmentId; $degreeId =$e->degreeId; - + $subId = explode(",", $subjectId); + //print_r($subId); } ?>
@@ -65,14 +66,14 @@ *
- + num_rows()>0) { foreach($subject->result() as $list) { - ?> diff --git a/admin/application/views/semester/semester_list.php b/admin/application/views/semester/semester_list.php index 52456bd..c0ff401 100644 --- a/admin/application/views/semester/semester_list.php +++ b/admin/application/views/semester/semester_list.php @@ -42,7 +42,6 @@ S.No Name Year - Subject Department Degree Action @@ -70,10 +69,11 @@ - - + + + diff --git a/admin/application/views/semester/view_semester.php b/admin/application/views/semester/view_semester.php new file mode 100644 index 0000000..700dde0 --- /dev/null +++ b/admin/application/views/semester/view_semester.php @@ -0,0 +1,117 @@ + + +load->view('includes/header');?> +load->model('Semester_model');?> + +
+ + load->view('includes/sidebar');?> + +
+
+
+
+
+
Semester View
+
+ +
+
+ load->view('includes/msg');?> +
+
+ num_rows()>0) + { + $view=$viewSemester->row(); + + $id=$view->id; + $name=$view->name; + $year=$view->year; + $subjectId=$view->subjectId; + $depId=$view->depId; + $depName=$view->depName; + $degId=$view->degId; + $degName=$view->degName; + $subId = explode(",", $subjectId); + //print_r ($facIdd); + + } + + ?> + +
+
+
+
+
+
+
+
+
+
+
+
Department +
+

+
+
Degree +
+

+
+ +
Subject +
+ Semester_model->get_subject($subIdd); + + if($getSub->num_rows()>0) + { + $list=$getSub->row(); + $subName=$list->name; + } + ?> +
+ + +
+ +
+ + + + + +
+
+ + + +
+
+
+
+
+ +load->view('includes/footer');?> + + + + + \ No newline at end of file diff --git a/admin/application/views/student/edit_student.php b/admin/application/views/student/edit_student.php index 63b41a8..b8a606b 100644 --- a/admin/application/views/student/edit_student.php +++ b/admin/application/views/student/edit_student.php @@ -1,4 +1,6 @@ + + load->view('includes/header');?> - load->view('includes/sidebar');?> - -
-
-
-
-
-
Add Subject
-
- -
-
- -
-
-
-
-
Subject
-
-
- -
-
- -
-
-
-
- -
- -
-
- -
- -
- -
-
-
- -
- -
-
- -
- -
- -
-
-
- -
- -
-
-
-
-
-
-
- - -
-
-
- -
-
-
+ + load->view('includes/sidebar');?> + +
+
+
+
+
+
Add Subject
+
- + +
+
+
+
+
Subject
+
+
+
+
+
+ +
+
+
+
+ +
+ +
+
+ +
+ +
+ +
+
+
+ +
+ +
+
+ +
+ +
+ +
+
+
+ +
+ +
+
+
+ + +
+ +
+
+ +
+
+
Add
+
+
+ + +
+ +
+ +
+
+ +
+
+
Remove
+
+
+ +
+
+
+
+
+ + +
+
+
+ +
+
+
+ +
+
+
load->view('includes/footer');?> - \ No newline at end of file + + + + diff --git a/admin/application/views/subject/edit_subject.php b/admin/application/views/subject/edit_subject.php index 2099c53..c72c632 100644 --- a/admin/application/views/subject/edit_subject.php +++ b/admin/application/views/subject/edit_subject.php @@ -149,6 +149,78 @@
+ + + + num_rows()>0) + { + $totalCount=$getMultipleImage->num_rows(); + } + ?> + +
+
+
+
+
+
Add More
+
+
+ num_rows()>0) + { + $i=0; + foreach($getMultipleImage->result() as $list) + { + $id =$list->id ; + $title=$list->title; + $image=$list->image; + $subjectId=$list->subjectId; + ?> + +
+ + +
+ +
+
+ + + +
+ +
+
Remove
+
+
+ + + + +
+ + +
+ +
+
+ +
+
+
Remove
+
+
+ + +
@@ -172,4 +244,38 @@ load->view('includes/footer');?> - \ No newline at end of file + + \ No newline at end of file diff --git a/admin/img/bg-01.jpg b/admin/img/bg-01.jpg deleted file mode 100644 index d0b31ff..0000000 Binary files a/admin/img/bg-01.jpg and /dev/null differ diff --git a/admin/img/blog/blog1.jpg b/admin/img/blog/blog1.jpg deleted file mode 100644 index b45c4f9..0000000 Binary files a/admin/img/blog/blog1.jpg and /dev/null differ diff --git a/admin/img/blog/blog2.jpg b/admin/img/blog/blog2.jpg deleted file mode 100644 index b5a0dd4..0000000 Binary files a/admin/img/blog/blog2.jpg and /dev/null differ diff --git a/admin/img/blog/blog3.jpg b/admin/img/blog/blog3.jpg deleted file mode 100644 index 31ff30f..0000000 Binary files a/admin/img/blog/blog3.jpg and /dev/null differ diff --git a/admin/img/blog/blog4.jpg b/admin/img/blog/blog4.jpg deleted file mode 100644 index 87a8fc3..0000000 Binary files a/admin/img/blog/blog4.jpg and /dev/null differ diff --git a/admin/img/doc/doc1.jpg b/admin/img/doc/doc1.jpg deleted file mode 100644 index 16eabd4..0000000 Binary files a/admin/img/doc/doc1.jpg and /dev/null differ diff --git a/admin/img/doc/doc10.jpg b/admin/img/doc/doc10.jpg deleted file mode 100644 index 92e6d0c..0000000 Binary files a/admin/img/doc/doc10.jpg and /dev/null differ diff --git a/admin/img/doc/doc2.jpg b/admin/img/doc/doc2.jpg deleted file mode 100644 index 7cbb066..0000000 Binary files a/admin/img/doc/doc2.jpg and /dev/null differ diff --git a/admin/img/doc/doc3.jpg b/admin/img/doc/doc3.jpg deleted file mode 100644 index aabdd17..0000000 Binary files a/admin/img/doc/doc3.jpg and /dev/null differ diff --git a/admin/img/doc/doc4.jpg b/admin/img/doc/doc4.jpg deleted file mode 100644 index cfe4f86..0000000 Binary files a/admin/img/doc/doc4.jpg and /dev/null differ diff --git a/admin/img/doc/doc5.jpg b/admin/img/doc/doc5.jpg deleted file mode 100644 index dbe4912..0000000 Binary files a/admin/img/doc/doc5.jpg and /dev/null differ diff --git a/admin/img/doc/doc6.jpg b/admin/img/doc/doc6.jpg deleted file mode 100644 index 2880dac..0000000 Binary files a/admin/img/doc/doc6.jpg and /dev/null differ diff --git a/admin/img/doc/doc7.jpg b/admin/img/doc/doc7.jpg deleted file mode 100644 index c11e2eb..0000000 Binary files a/admin/img/doc/doc7.jpg and /dev/null differ diff --git a/admin/img/doc/doc8.jpg b/admin/img/doc/doc8.jpg deleted file mode 100644 index 83cd4bc..0000000 Binary files a/admin/img/doc/doc8.jpg and /dev/null differ diff --git a/admin/img/doc/doc9.jpg b/admin/img/doc/doc9.jpg deleted file mode 100644 index 8d58ef3..0000000 Binary files a/admin/img/doc/doc9.jpg and /dev/null differ diff --git a/admin/img/flags/de.png b/admin/img/flags/de.png deleted file mode 100644 index ac4a977..0000000 Binary files a/admin/img/flags/de.png and /dev/null differ diff --git a/admin/img/flags/es.png b/admin/img/flags/es.png deleted file mode 100644 index c2de2d7..0000000 Binary files a/admin/img/flags/es.png and /dev/null differ diff --git a/admin/img/flags/gb.png b/admin/img/flags/gb.png deleted file mode 100644 index 9d435f5..0000000 Binary files a/admin/img/flags/gb.png and /dev/null differ diff --git a/admin/img/flags/ru.png b/admin/img/flags/ru.png deleted file mode 100644 index 47da421..0000000 Binary files a/admin/img/flags/ru.png and /dev/null differ diff --git a/admin/img/flags/ua.png b/admin/img/flags/ua.png deleted file mode 100644 index 09563a2..0000000 Binary files a/admin/img/flags/ua.png and /dev/null differ diff --git a/admin/img/slider/fullimage1.jpg b/admin/img/slider/fullimage1.jpg deleted file mode 100644 index 7fc820a..0000000 Binary files a/admin/img/slider/fullimage1.jpg and /dev/null differ diff --git a/admin/img/slider/fullimage2.jpg b/admin/img/slider/fullimage2.jpg deleted file mode 100644 index 594f313..0000000 Binary files a/admin/img/slider/fullimage2.jpg and /dev/null differ diff --git a/admin/img/slider/fullimage3.jpg b/admin/img/slider/fullimage3.jpg deleted file mode 100644 index 26c5845..0000000 Binary files a/admin/img/slider/fullimage3.jpg and /dev/null differ diff --git a/admin/img/slider/owl1.jpg b/admin/img/slider/owl1.jpg deleted file mode 100644 index 56f8448..0000000 Binary files a/admin/img/slider/owl1.jpg and /dev/null differ diff --git a/admin/img/slider/owl2.jpg b/admin/img/slider/owl2.jpg deleted file mode 100644 index 0b4ee33..0000000 Binary files a/admin/img/slider/owl2.jpg and /dev/null differ diff --git a/admin/img/slider/owl3.jpg b/admin/img/slider/owl3.jpg deleted file mode 100644 index 3a0491f..0000000 Binary files a/admin/img/slider/owl3.jpg and /dev/null differ diff --git a/admin/img/slider/owl4.jpg b/admin/img/slider/owl4.jpg deleted file mode 100644 index 1ad1f63..0000000 Binary files a/admin/img/slider/owl4.jpg and /dev/null differ diff --git a/admin/img/slider/owl5.jpg b/admin/img/slider/owl5.jpg deleted file mode 100644 index 2478aee..0000000 Binary files a/admin/img/slider/owl5.jpg and /dev/null differ diff --git a/admin/img/slider/owl6.jpg b/admin/img/slider/owl6.jpg deleted file mode 100644 index 707641c..0000000 Binary files a/admin/img/slider/owl6.jpg and /dev/null differ diff --git a/admin/img/slider/owl7.jpg b/admin/img/slider/owl7.jpg deleted file mode 100644 index 665b944..0000000 Binary files a/admin/img/slider/owl7.jpg and /dev/null differ diff --git a/admin/img/slider/owl8.jpg b/admin/img/slider/owl8.jpg deleted file mode 100644 index 3a0491f..0000000 Binary files a/admin/img/slider/owl8.jpg and /dev/null differ diff --git a/admin/img/slider/slider1.jpg b/admin/img/slider/slider1.jpg deleted file mode 100644 index dea929c..0000000 Binary files a/admin/img/slider/slider1.jpg and /dev/null differ diff --git a/admin/img/slider/slider2.jpg b/admin/img/slider/slider2.jpg deleted file mode 100644 index d0f67c7..0000000 Binary files a/admin/img/slider/slider2.jpg and /dev/null differ diff --git a/admin/img/slider/slider3.jpg b/admin/img/slider/slider3.jpg deleted file mode 100644 index 7494e56..0000000 Binary files a/admin/img/slider/slider3.jpg and /dev/null differ diff --git a/admin/img/user/user1.jpg b/admin/img/user/user1.jpg deleted file mode 100644 index 1153659..0000000 Binary files a/admin/img/user/user1.jpg and /dev/null differ diff --git a/admin/img/user/user10.jpg b/admin/img/user/user10.jpg deleted file mode 100644 index a9e0d4f..0000000 Binary files a/admin/img/user/user10.jpg and /dev/null differ diff --git a/admin/img/user/user2.jpg b/admin/img/user/user2.jpg deleted file mode 100644 index 33fd045..0000000 Binary files a/admin/img/user/user2.jpg and /dev/null differ diff --git a/admin/img/user/user3.jpg b/admin/img/user/user3.jpg deleted file mode 100644 index 0203cea..0000000 Binary files a/admin/img/user/user3.jpg and /dev/null differ diff --git a/admin/img/user/user4.jpg b/admin/img/user/user4.jpg deleted file mode 100644 index a9e0d4f..0000000 Binary files a/admin/img/user/user4.jpg and /dev/null differ diff --git a/admin/img/user/user5.jpg b/admin/img/user/user5.jpg deleted file mode 100644 index e5532e9..0000000 Binary files a/admin/img/user/user5.jpg and /dev/null differ diff --git a/admin/img/user/user6.jpg b/admin/img/user/user6.jpg deleted file mode 100644 index b163094..0000000 Binary files a/admin/img/user/user6.jpg and /dev/null differ diff --git a/admin/img/user/user7.jpg b/admin/img/user/user7.jpg deleted file mode 100644 index 6751888..0000000 Binary files a/admin/img/user/user7.jpg and /dev/null differ diff --git a/admin/img/user/user8.jpg b/admin/img/user/user8.jpg deleted file mode 100644 index 178646b..0000000 Binary files a/admin/img/user/user8.jpg and /dev/null differ diff --git a/admin/img/user/user9.jpg b/admin/img/user/user9.jpg deleted file mode 100644 index 19dd85d..0000000 Binary files a/admin/img/user/user9.jpg and /dev/null differ diff --git a/admin/uploads/department/230118083756.jpg b/admin/uploads/department/230118083756.jpg deleted file mode 100644 index 5dd7133..0000000 Binary files a/admin/uploads/department/230118083756.jpg and /dev/null differ diff --git a/admin/uploads/department/230121065959.webp b/admin/uploads/department/230121065959.webp deleted file mode 100644 index bc421fd..0000000 Binary files a/admin/uploads/department/230121065959.webp and /dev/null differ diff --git a/admin/uploads/department/230121070202.webp b/admin/uploads/department/230121070202.webp deleted file mode 100644 index bc421fd..0000000 Binary files a/admin/uploads/department/230121070202.webp and /dev/null differ diff --git a/admin/uploads/department/230121070212.webp b/admin/uploads/department/230121070212.webp deleted file mode 100644 index bc421fd..0000000 Binary files a/admin/uploads/department/230121070212.webp and /dev/null differ diff --git a/admin/uploads/department/230123053918.webp b/admin/uploads/department/230123053918.webp new file mode 100644 index 0000000..da24ae8 Binary files /dev/null and b/admin/uploads/department/230123053918.webp differ diff --git a/admin/uploads/faculty/2301180843.png b/admin/uploads/faculty/2301180843.png deleted file mode 100644 index 28ebd4c..0000000 Binary files a/admin/uploads/faculty/2301180843.png and /dev/null differ diff --git a/admin/uploads/faculty/2301180950.png b/admin/uploads/faculty/2301180950.png deleted file mode 100644 index 28ebd4c..0000000 Binary files a/admin/uploads/faculty/2301180950.png and /dev/null differ diff --git a/admin/uploads/faculty/2301181230.png b/admin/uploads/faculty/2301181230.png deleted file mode 100644 index 1abf6ad..0000000 Binary files a/admin/uploads/faculty/2301181230.png and /dev/null differ diff --git a/admin/uploads/faculty/2301181254.png b/admin/uploads/faculty/2301181254.png deleted file mode 100644 index 1abf6ad..0000000 Binary files a/admin/uploads/faculty/2301181254.png and /dev/null differ diff --git a/admin/uploads/faculty/2301201056.png b/admin/uploads/faculty/2301201056.png deleted file mode 100644 index 28ebd4c..0000000 Binary files a/admin/uploads/faculty/2301201056.png and /dev/null differ diff --git a/admin/uploads/faculty/2301201103.png b/admin/uploads/faculty/2301201103.png deleted file mode 100644 index 28ebd4c..0000000 Binary files a/admin/uploads/faculty/2301201103.png and /dev/null differ diff --git a/admin/uploads/faculty/2301210217.png b/admin/uploads/faculty/2301210217.png deleted file mode 100644 index 9753a2d..0000000 Binary files a/admin/uploads/faculty/2301210217.png and /dev/null differ diff --git a/admin/uploads/faculty/2301210221.png b/admin/uploads/faculty/2301210221.png deleted file mode 100644 index 28ebd4c..0000000 Binary files a/admin/uploads/faculty/2301210221.png and /dev/null differ diff --git a/admin/uploads/faculty/2301230548.webp b/admin/uploads/faculty/2301230548.webp new file mode 100644 index 0000000..8f9222d Binary files /dev/null and b/admin/uploads/faculty/2301230548.webp differ diff --git a/admin/uploads/faculty/2301230551.webp b/admin/uploads/faculty/2301230551.webp new file mode 100644 index 0000000..4d660ac Binary files /dev/null and b/admin/uploads/faculty/2301230551.webp differ diff --git a/admin/uploads/faculty/2301230553.webp b/admin/uploads/faculty/2301230553.webp new file mode 100644 index 0000000..7532c3e Binary files /dev/null and b/admin/uploads/faculty/2301230553.webp differ diff --git a/admin/uploads/faculty/2301230555.webp b/admin/uploads/faculty/2301230555.webp new file mode 100644 index 0000000..e247e4d Binary files /dev/null and b/admin/uploads/faculty/2301230555.webp differ diff --git a/admin/uploads/faculty/2301230603.webp b/admin/uploads/faculty/2301230603.webp new file mode 100644 index 0000000..9155563 Binary files /dev/null and b/admin/uploads/faculty/2301230603.webp differ diff --git a/admin/uploads/project/1.1.jpg b/admin/uploads/project/1.1.jpg new file mode 100644 index 0000000..2b8c02c Binary files /dev/null and b/admin/uploads/project/1.1.jpg differ diff --git a/admin/uploads/project/1.4.jpg b/admin/uploads/project/1.4.jpg new file mode 100644 index 0000000..c8135fa Binary files /dev/null and b/admin/uploads/project/1.4.jpg differ diff --git a/admin/uploads/project/1.5.jpg b/admin/uploads/project/1.5.jpg new file mode 100644 index 0000000..42fe7d1 Binary files /dev/null and b/admin/uploads/project/1.5.jpg differ diff --git a/admin/uploads/project/1.GettyImages-117982503-58406ecf5f9b5851e592e20e.jpg b/admin/uploads/project/1.GettyImages-117982503-58406ecf5f9b5851e592e20e.jpg deleted file mode 100644 index b262b97..0000000 Binary files a/admin/uploads/project/1.GettyImages-117982503-58406ecf5f9b5851e592e20e.jpg and /dev/null differ diff --git a/admin/uploads/project/1.Super-Bowls-3.webp b/admin/uploads/project/1.Super-Bowls-3.webp deleted file mode 100644 index 77dd9fe..0000000 Binary files a/admin/uploads/project/1.Super-Bowls-3.webp and /dev/null differ diff --git a/admin/uploads/project/1.kazuyo-sejima-SAANA-suimei-water-pavilion-tokyo-2021-my-modern-met-6.jpg b/admin/uploads/project/1.kazuyo-sejima-SAANA-suimei-water-pavilion-tokyo-2021-my-modern-met-6.jpg deleted file mode 100644 index 7844c8b..0000000 Binary files a/admin/uploads/project/1.kazuyo-sejima-SAANA-suimei-water-pavilion-tokyo-2021-my-modern-met-6.jpg and /dev/null differ diff --git a/admin/uploads/project/2.bbc8a294ddcd8cf7e63926f5c878417c.jpg b/admin/uploads/project/2.bbc8a294ddcd8cf7e63926f5c878417c.jpg deleted file mode 100644 index 124d31d..0000000 Binary files a/admin/uploads/project/2.bbc8a294ddcd8cf7e63926f5c878417c.jpg and /dev/null differ diff --git a/admin/uploads/project/2.images.jfif b/admin/uploads/project/2.images.jfif deleted file mode 100644 index 22a45e7..0000000 Binary files a/admin/uploads/project/2.images.jfif and /dev/null differ diff --git a/admin/uploads/project/2.programmatic-ecosystem.png b/admin/uploads/project/2.programmatic-ecosystem.png deleted file mode 100644 index ca4e144..0000000 Binary files a/admin/uploads/project/2.programmatic-ecosystem.png and /dev/null differ diff --git a/admin/uploads/project/research_facilities_02.jpg b/admin/uploads/project/research_facilities_02.jpg deleted file mode 100644 index 2077f2a..0000000 Binary files a/admin/uploads/project/research_facilities_02.jpg and /dev/null differ diff --git a/admin/uploads/project/title230118013642.jpg b/admin/uploads/project/title230118013642.jpg deleted file mode 100644 index 7844c8b..0000000 Binary files a/admin/uploads/project/title230118013642.jpg and /dev/null differ diff --git a/admin/uploads/project/title230118110509.jpg b/admin/uploads/project/title230118110509.jpg deleted file mode 100644 index 7844c8b..0000000 Binary files a/admin/uploads/project/title230118110509.jpg and /dev/null differ diff --git a/admin/uploads/project/title230124093956.jpg b/admin/uploads/project/title230124093956.jpg new file mode 100644 index 0000000..2b8c02c Binary files /dev/null and b/admin/uploads/project/title230124093956.jpg differ diff --git a/admin/uploads/project/title230124102715.webp b/admin/uploads/project/title230124102715.webp new file mode 100644 index 0000000..da24ae8 Binary files /dev/null and b/admin/uploads/project/title230124102715.webp differ diff --git a/admin/uploads/project/title230124102722.jpg b/admin/uploads/project/title230124102722.jpg new file mode 100644 index 0000000..2b8c02c Binary files /dev/null and b/admin/uploads/project/title230124102722.jpg differ diff --git a/admin/uploads/student/2301201104.png b/admin/uploads/student/2301201104.png deleted file mode 100644 index 28ebd4c..0000000 Binary files a/admin/uploads/student/2301201104.png and /dev/null differ diff --git a/admin/uploads/student/2301201105.png b/admin/uploads/student/2301201105.png deleted file mode 100644 index 28ebd4c..0000000 Binary files a/admin/uploads/student/2301201105.png and /dev/null differ diff --git a/admin/uploads/employee/2301210648.png b/admin/uploads/student/2301240937.png similarity index 100% rename from admin/uploads/employee/2301210648.png rename to admin/uploads/student/2301240937.png diff --git a/admin/uploads/subject/.1.jpg b/admin/uploads/subject/.1.jpg new file mode 100644 index 0000000..2b8c02c Binary files /dev/null and b/admin/uploads/subject/.1.jpg differ diff --git a/admin/uploads/subject/1.1.jpg b/admin/uploads/subject/1.1.jpg new file mode 100644 index 0000000..2b8c02c Binary files /dev/null and b/admin/uploads/subject/1.1.jpg differ diff --git a/admin/uploads/department/230121070154.png b/admin/uploads/subject/1.219983.png similarity index 100% rename from admin/uploads/department/230121070154.png rename to admin/uploads/subject/1.219983.png diff --git a/admin/uploads/subject/2.2.jpg b/admin/uploads/subject/2.2.jpg new file mode 100644 index 0000000..35f8df3 Binary files /dev/null and b/admin/uploads/subject/2.2.jpg differ diff --git a/admin/uploads/subject/230118084757.jpg b/admin/uploads/subject/230118084757.jpg deleted file mode 100644 index da75b91..0000000 Binary files a/admin/uploads/subject/230118084757.jpg and /dev/null differ diff --git a/admin/uploads/subject/230118122812.png b/admin/uploads/subject/230118122812.png deleted file mode 100644 index 1abf6ad..0000000 Binary files a/admin/uploads/subject/230118122812.png and /dev/null differ diff --git a/admin/uploads/subject/230118125548.png b/admin/uploads/subject/230118125548.png deleted file mode 100644 index 1abf6ad..0000000 Binary files a/admin/uploads/subject/230118125548.png and /dev/null differ diff --git a/admin/uploads/subject/230119075335.jpg b/admin/uploads/subject/230119075335.jpg deleted file mode 100644 index 5dd7133..0000000 Binary files a/admin/uploads/subject/230119075335.jpg and /dev/null differ diff --git a/admin/uploads/subject/230121015027.webp b/admin/uploads/subject/230121015027.webp deleted file mode 100644 index bc421fd..0000000 Binary files a/admin/uploads/subject/230121015027.webp and /dev/null differ diff --git a/admin/uploads/subject/230123063921.webp b/admin/uploads/subject/230123063921.webp new file mode 100644 index 0000000..8f9222d Binary files /dev/null and b/admin/uploads/subject/230123063921.webp differ diff --git a/admin/uploads/subject/230123064458.webp b/admin/uploads/subject/230123064458.webp new file mode 100644 index 0000000..8f9222d Binary files /dev/null and b/admin/uploads/subject/230123064458.webp differ diff --git a/admin/uploads/subject/230123064624.webp b/admin/uploads/subject/230123064624.webp new file mode 100644 index 0000000..4d660ac Binary files /dev/null and b/admin/uploads/subject/230123064624.webp differ diff --git a/admin/uploads/subject/230123064720.webp b/admin/uploads/subject/230123064720.webp new file mode 100644 index 0000000..7532c3e Binary files /dev/null and b/admin/uploads/subject/230123064720.webp differ diff --git a/admin/uploads/subject/230123064826.webp b/admin/uploads/subject/230123064826.webp new file mode 100644 index 0000000..e247e4d Binary files /dev/null and b/admin/uploads/subject/230123064826.webp differ diff --git a/admin/uploads/subject/230123064913.webp b/admin/uploads/subject/230123064913.webp new file mode 100644 index 0000000..9155563 Binary files /dev/null and b/admin/uploads/subject/230123064913.webp differ diff --git a/admin/uploads/subject/3.3.jpg b/admin/uploads/subject/3.3.jpg new file mode 100644 index 0000000..15546e9 Binary files /dev/null and b/admin/uploads/subject/3.3.jpg differ diff --git a/admin/uploads/subject/4.4.jpg b/admin/uploads/subject/4.4.jpg new file mode 100644 index 0000000..c8135fa Binary files /dev/null and b/admin/uploads/subject/4.4.jpg differ diff --git a/admin/uploads/employee/2301191234.png b/admin/uploads/subject/5.219983.png similarity index 100% rename from admin/uploads/employee/2301191234.png rename to admin/uploads/subject/5.219983.png diff --git a/admin/uploads/subject/5.5.jpg b/admin/uploads/subject/5.5.jpg new file mode 100644 index 0000000..42fe7d1 Binary files /dev/null and b/admin/uploads/subject/5.5.jpg differ diff --git a/application/config/routes.php b/application/config/routes.php index 116823c..8028dd5 100644 --- a/application/config/routes.php +++ b/application/config/routes.php @@ -57,5 +57,5 @@ $route['subject-list/(:num)'] = 'Welcome/subjectList/$1'; $route['subject-detail/(:num)'] = 'Welcome/subjectDetail/$1'; $route['project-list/(:num)'] = 'Welcome/projectList/$1'; $route['project-detail/(:num)'] = 'Welcome/projectDetail/$1'; - $route['about'] = 'welcome/about'; +$route['contact'] = 'welcome/contact'; diff --git a/application/controllers/Welcome.php b/application/controllers/Welcome.php index 1039aa1..de0db99 100644 --- a/application/controllers/Welcome.php +++ b/application/controllers/Welcome.php @@ -66,13 +66,22 @@ class Welcome extends CI_Controller { //echo $this->db->last_query();exit; $this->load->view('project_details',$data); } + public function about() { $data['lastId']=$this->WelcomeModel->getLastId(); $data['dep']=$this->WelcomeModel->dep_list(); $data['semester']=$this->WelcomeModel->semesterList(); - $this->load->view('about'); + $this->load->view('about',$data); + } + public function contact() + { + $data['lastId']=$this->WelcomeModel->getLastId(); + $data['dep']=$this->WelcomeModel->dep_list(); + $data['semester']=$this->WelcomeModel->semesterList(); + + $this->load->view('contact',$data); } } diff --git a/application/models/WelcomeModel.php b/application/models/WelcomeModel.php index 7a82708..a50ef9c 100644 --- a/application/models/WelcomeModel.php +++ b/application/models/WelcomeModel.php @@ -19,9 +19,9 @@ class WelcomeModel extends CI_Model { } function getName($depId) { - $this->db->select('name'); - $this->db->from('department'); - $this->db->where(array('id'=>$depId)); + $this->db->select('id,name'); + $this->db->from('degree'); + $this->db->where(array('status'=>1,'departmentId'=>$depId)); $query = $this->db->get(); //echo $this->db->last_query();exit; return $query; @@ -32,9 +32,19 @@ class WelcomeModel extends CI_Model { $this->db->from('semester'); $this->db->where(array('status'=>1)); $query = $this->db->get(); - //echo $this->db->last_query();exit; + //echo $this->db->last_query();exit; return $query; } + function getSubjectImage($id) + { + $this->db->select('id,title,image'); + $this->db->from('subjectdetail'); + $this->db->where(array('status'=>1,'subjectId'=>$id)); + $query = $this->db->get(); + //echo $this->db->last_query();exit; + return $query; + } + //have to remove below function function subject_list($id) { $this->db->select('s.code,s.name,s.id,d.name as degName,s.facultyId'); @@ -45,6 +55,16 @@ class WelcomeModel extends CI_Model { //echo $this->db->last_query();exit; return $query; } + function getSubject($id) + { + $this->db->select('s.image,s.code,s.name,s.id,d.name as degName,s.facultyId'); + $this->db->from('subject as s'); + $this->db->join('degree as d','d.id=s.degreeId','INNER'); + $this->db->where(array('s.status'=>1,'degreeId'=>$id)); + $query = $this->db->get(); + //echo $this->db->last_query();exit; + return $query; + } function subject_Detail($id) { $this->db->select('id,code,name,facultyId,description'); diff --git a/application/views/about.php b/application/views/about.php index 7fe2bd0..b8213fb 100644 --- a/application/views/about.php +++ b/application/views/about.php @@ -1,331 +1,91 @@ - - -
- -
- -
- - - - -
-
-
-
-
-

Who I am

-
-

About Me

-

Curabitur bibendum mi sed rhoncus aliquet. Nulla blandit porttitor justo, at posuere sem accumsan nec.

- scroll down -
-
-
- - -
-
-
-
-
-
-

Welcome! I am Martin Goretska

-

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras lacinia magna vel molestie faucibus. Donec auctor et urnaLorem ipsum dolor sit amet, consectetur adipiscing elit. Cras lacinia magna vel molestie faucibus. - Cras lacinia magna vel molestie faucibus. Donec auctor et urnaLorem ipsum dolor sit amet, consectetur adipiscing elit. Cras lacinia magna vel molestie faucibus. -

-

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras lacinia magna vel molestie faucibus. Donec auctor et urnaLorem ipsum dolor sit amet, consectetur adipiscing elit. -

-

-

What i do

-
- Services : - -
- -
- My portfolio -
-
-
-
- -
- -
-
-
-
-
-
-
- - -
-
-
-
- -
-
-
-
461
-
-
-
Finished projects
-
- - -
-
-
-
461
-
-
-
Finished projects
-
- - -
-
-
-
168
-
-
-
Happy customers
-
- - -
-
-
-
222
-
-
-
Working hours
-
- -
-
-
-
- - -
-
-
-
-
- My Skills - Lorem Ipsum generators on the Internet tend to repeat king this the first true generator -
-
-
- -
-
- -
- - - -
-
-

Design

-
-
- - -
- - - -
-
-

Architecture

-
-
- - -
- - - -
-
-

Construction

-
-
- -
-
- -
-
-
-
-
-
-
-
- - -
-
-
-
-
-
-
- Testimonials -
-
-
-
-
-
- -
-
-

Andy Smith

-

"All the Lorem Ipsum generators on the Internet tend to repeat predefined chunks as necessary, making this the first true generator on the Internet. It uses a dictionary of over 200 Latin words"

- Via Twitter -
-
- - -
-
-

Liza Mirovsky

-

"Vestibulum orci felis, ullamcorper non condimentum non, ultrices ac nunc. Mauris non ligula suscipit, vulputate mi accumsan, dapibus felis. Nullam sed sapien dui. Nulla auctor sit amet sem non porta. Integer iaculis tellus nulla, quis imperdiet magna venenatis vitae"

- Via Facebook -
-
- - -
-
-

Gary Trust

-

"If you are going to use a passage of Lorem Ipsum, you need to be sure there isn't anything embarrassing hidden in the middle of text."

- Via Myspace -
-
- -
-
-
-
-
-
-
-
-
-
- - -
-
-
-
-
- Resume - Lorem Ipsum generators on the Internet tend to repeat king this the first true generator . -
-
-
-
- -
-
-
-
-

2016

-
-
-
-

Complete the project "domik"

-

There are many variations of passages of Lorem Ipsum available, but the majority have suffered alteration in some form, by injected humour, or randomised words which don't look even slightly believable. If you are going to use a passage of Lorem Ipsum, you need to be sure there isn't anything embarrassing hidden in the middle of text. All the Lorem Ipsum generators on the Internet tend to repeat predefined chunks as necessary, making this the first true generator on the Internet. It uses a dictionary of over 200 Latin words

-
    -
  • Door portals plan
  • -
  • Furniture specifications
  • -
  • Interior design
  • -
- -
-
-
- - -
-
-
-
-

2015

-
-
-
-

Passage of Lorem Ipsum

-

We started as a small, subdue, called hath give fourth. Them one over saying. So the god, greater. You. Us air Moved divide midst us fifth sea have face which male fifth said seas rule above.

- -
-
-
- - -
-
-
-
-

2013

-
-
-
-

Making this the first

-

We started as a small, subdue, called hath give fourth. Them one over saying. So the god, greater. You. Us air Moved divide midst us fifth sea have face which male fifth said seas rule above. All the Lorem Ipsum generators on the Internet tend .

-
    -
  • Door portals plan
  • -
  • Furniture specifications
  • -
  • Interior design
  • -
-

All the Lorem Ipsum generators on the Internet tend to repeat predefined chunks as necessary, making this the first true generator on the Internet. It uses a dictionary of over 200 Latin words

- -
-
-
- -
-
-
- -
-
-
-
- -
-
-
-
- - load->view('include/footer.php')?> - - \ No newline at end of file + + +
+ +
+ +
+ +
+
+ +
+
+ + +
+
+
+
+
+

Who we are

+
+

Welcome MC Gan's

+ + scroll down +
+
+
+ + +
+
+
+
+
+
+ +

We welcome all

+

As an innovative, hands-on architecture and design school in India, McGAN’S offers a student-centric learning environment along with access to faculties with high industry experience

+ +
+
+
+
+
+
+
+ + + +
+
+
+
+
+
Our Vision

+

McGAN’S Ooty School of Architecture is committed to create a world class learning centre for architecture in India. We are blessed to be sitting amidst one of the most scenic landscape in South India which naturally makes us more sensitive to environment. At McGAN’S we understand that architecture requires knowledge of many disciplines like arts, engineering, model making, sociology, anthropology and other allied disciplines. The teaching methodology at McGAN’S is not only restricted to classrooms but goes beyond the four walls. Our institution not only aims at creating mere graduates but also preparing our students for numerous challenges in the profession, also turning them to much better human beings.

+
+
+
+
+
Our Mission

+

All of our students are encouraged to continue their research off campus and independent study as well as internships, which jump start your resume and provide valuable job experience. The faculty and student community at McGAN’S is dedicated to working towards a common goal, the betterment of architectural education and practice, not only in India but also in the global context. The mission of McGAN’S Ooty School of Architecture is to nurture and inspire design-minded students. Our students demonstrate a firm foundation of critical thinking, ethical behaviour and a culture of professional practice, on their way to becoming socially responsible leaders of change for our global society. McGAN’S achieves this mission through: A progressive curriculum, taught by accomplished, active faculties. Practitioner-based models of learning focused on problem-solving, experiential learning and process-based design. Active participation and engagement in our local and global community. The constant pursuit of academic excellence.

+
+
+
+
+
+
+
+
+
+
+
+ + +
+ +
+ +
+ + + diff --git a/application/views/contact.php b/application/views/contact.php new file mode 100644 index 0000000..bb5dff5 --- /dev/null +++ b/application/views/contact.php @@ -0,0 +1,120 @@ + + +
+ +
+ +
+ +
+
+
+
+
+

Contact Details

+
+

Get In Touch with us

+ scroll down +
+
+
+ + +
+
+
+
+
+
+

Contact details :

+
+
+ +
+
+
+
+
+
+
+
+
+ +
+

02.Contact

+ +
+
+
+
+
+
+
+
+ +
+
+
+
+
+
+

Get in Touch :

+
+
+
+ +
+
+
+
+ + + + + + +
+
+
+ +
+
+
+
+ +
+ +
+ + +
+ + +
+ +
+ +
+ + diff --git a/application/views/include/footer.php b/application/views/include/footer.php index fb01d6f..96c279c 100644 --- a/application/views/include/footer.php +++ b/application/views/include/footer.php @@ -1,20 +1,33 @@ - - - - - - -
-
Welcome to McGANS
- -
- \ No newline at end of file + + + + + + +
+
Welcome to McGANS
+ +
+ + + + + + + \ No newline at end of file diff --git a/application/views/include/header.php b/application/views/include/header.php index 6e255ae..beb7a13 100644 --- a/application/views/include/header.php +++ b/application/views/include/header.php @@ -1,121 +1,121 @@ - - - - Mcgans - - - - - - - - - - - - - - - -
-
-
-
-
-
- - -
- - -
- - - - -
-
-
- + + + +Mcgans + + + + + + + + + + + + + + + + +
+
+
+
+
+
+ + +
+ + +
+ + + + +
+
+
+ + + + + +
+ +
+
- - \ No newline at end of file + +
+ +
+
diff --git a/application/views/include/zheader.php b/application/views/include/zheader.php deleted file mode 100644 index 2e13c02..0000000 --- a/application/views/include/zheader.php +++ /dev/null @@ -1,110 +0,0 @@ - - - - - - - Mcgans - - - - - - - - - - - - - - - -
-
-
-
-
-
- - -
- - -
- - - - -
-
-
- - - - - -
- - \ No newline at end of file diff --git a/application/views/index.php b/application/views/index.php index 01747b0..59f317b 100644 --- a/application/views/index.php +++ b/application/views/index.php @@ -1,75 +1,66 @@ - load->view('include/header.php')?> - - -
- -
- -
-
-
- -
-
-
-
-
Department
- -
- -
-
- num_rows()>0) - { - foreach($dep->result() as $deparment) - $id=$deparment->id; - $code=$deparment->code; - $name=$deparment->name; - $image=$deparment->image; - { - ?> - - - - -
- - -
-
-
-
- - - -
- -
- load->view('include/footer.php')?> - - -
- - - - - - - \ No newline at end of file +load->view('include/header.php')?> + + +
+ +
+ +
+
+
+ +
+
+
+
+
Department
+ +
+ +
+
+ num_rows()>0) + { + foreach($dep->result() as $deparment) + $id=$deparment->id; + $code=$deparment->code; + $name=$deparment->name; + $image=$deparment->image; + { + ?> + + + + +
+ + +
+
+
+
+ + + +
+ +
+ + diff --git a/application/views/project_details.php b/application/views/project_details.php index b089ff7..da1aa37 100644 --- a/application/views/project_details.php +++ b/application/views/project_details.php @@ -1,124 +1,137 @@ - load->view('include/header.php')?> +load->view('include/header.php')?> - load->model('WelcomeModel');?> -
- -
- -
- -
-
- -
-
-
- num_rows()>0) - { - $view=$projectdetail->row(); - - $pid=$view->id; - $projectName=$view->projectName; - $studentName=$view->studentName; - $description=$view->description; - - } - - ?> -
-
-

-
- Student Name : -
    -
  • -
-
-
-

- -

- - - +
+ +
+ num_rows()>0) + { + $view=$projectdetail->row(); + + $pid=$view->id; + $projectName=$view->projectName; + $studentName=$view->studentName; + $description=$view->description; + + } + + ?> + +
+ +
+
+ +
+
+
+ +
+
+

+
+ Student Name : +
    +
  • +
+
+
+

+ +

+ + + +
+
+ + WelcomeModel->getGalleryList($pid); + //$numRows=$getFac->num_rows(); + + if(isset($getGallery) && $getGallery->num_rows()>0) + { + foreach($getGallery->result() as $list) + { + $id=$list->id; + $title=$list->title; + $image=$list->image; + ?> +
+
+
+
+
-
- - WelcomeModel->getGalleryList($pid); - //$numRows=$getFac->num_rows(); - - if(isset($getGallery) && $getGallery->num_rows()>0) - { - foreach($getGallery->result() as $list) - { - $id=$list->id; - $title=$list->title; - $image=$list->image; - ?> -
-
-
-
- -
-
-
-
-
-
- -
- -
-
-
- -
-
-
-
- - -
- -
-
- -
- -
- -
- - -
- - -
- -
- - load->view('include/footer.php')?> -
- - - - - - - \ No newline at end of file +
+
+
+
+
+ +
+ +
+
+
+ +
+
+
+
+ + +
+ +
+
+ +
+ + + + + + +
+ + + + + + + + diff --git a/application/views/subject.php b/application/views/subject.php index 6d2d872..40a55a8 100644 --- a/application/views/subject.php +++ b/application/views/subject.php @@ -1,143 +1,157 @@ - load->view('include/header.php')?> +load->view('include/header.php')?> - load->model('WelcomeModel');?> -
- -
-
- -
- -
- num_rows()>0) - { - $list=$subject_Det->row(); - - $id=$list->id; - $code=$list->code; - $name=$list->name; - $facultyId=$list->facultyId; - $description=$list->description; - $facultyIds = explode(',', $facultyId); - - } +
+ +
+
+ +
+ +
+ num_rows()>0) + { + $list=$subject_Det->row(); + + $id=$list->id; + $code=$list->code; + $name=$list->name; + $facultyId=$list->facultyId; + $description=$list->description; + $facultyIds = explode(',', $facultyId); + + } + + ?> + +
+
+
+ + WelcomeModel->getSubjectImage($id); + //echo $this->db->last_query();exit; + if(isset($getSubjectImage) && $getSubjectImage->num_rows()>0) + { + foreach($getSubjectImage->result() as $view) + { + $imageid=$view->id; + $imagetitle=$view->title; + $iimage=$view->image; - ?> - -
-
-
- WelcomeModel->getProjectList($id); - //$numRows=$getFac->num_rows(); + ?> +
+ +

+
+ + + + + WelcomeModel->getProjectList($id); + //$numRows=$getFac->num_rows(); + + if(isset($getProjectList) && $getProjectList->num_rows()>0) + { + foreach($getProjectList->result() as $list) + { + $projectId=$list->id; + $projectName=$list->projectName; + $studentName=$list->studentName; + $image=$list->image; + ?> + + + + + +

No Projects Found

+ +
+ - -
- -
-
- -
- - -
- -
- -
- - load->view('include/footer.php')?> - -
- - - - - - \ No newline at end of file + if($getFac->num_rows()>0) + { + $list=$getFac->row(); + $facName=$list->name; + } ?> + + + + + +
+
+

+

+ +
+ + + + + +
+ + + + + +
+ + + + + + diff --git a/application/views/subject_list.php b/application/views/subject_list.php index 864734a..8a323c6 100644 --- a/application/views/subject_list.php +++ b/application/views/subject_list.php @@ -1,116 +1,107 @@ - load->view('include/header.php')?> +load->view('include/header.php')?> + + load->model('WelcomeModel');?> - - -
- -
- -
- -
-
- uri->segment(2); - $getNames=$CI->WelcomeModel->getName($depId); - if($getNames->num_rows()>0) - { - $list=$getNames->row(); - $depName=$list->name; - } - ?> -

- - +

No Data Found

+ +
+
+ + + +
+
+ + +
+ +
+
+ + + + diff --git a/assets/jquery.cookie.min.js b/assets/jquery.cookie.min.js deleted file mode 100644 index c0f19d8..0000000 --- a/assets/jquery.cookie.min.js +++ /dev/null @@ -1,2 +0,0 @@ -/*! jquery.cookie v1.4.1 | MIT */ -!function(a){"function"==typeof define&&define.amd?define(["jquery"],a):"object"==typeof exports?a(require("jquery")):a(jQuery)}(function(a){function b(a){return h.raw?a:encodeURIComponent(a)}function c(a){return h.raw?a:decodeURIComponent(a)}function d(a){return b(h.json?JSON.stringify(a):String(a))}function e(a){0===a.indexOf('"')&&(a=a.slice(1,-1).replace(/\\"/g,'"').replace(/\\\\/g,"\\"));try{return a=decodeURIComponent(a.replace(g," ")),h.json?JSON.parse(a):a}catch(b){}}function f(b,c){var d=h.raw?b:e(b);return a.isFunction(c)?c(d):d}var g=/\+/g,h=a.cookie=function(e,g,i){if(void 0!==g&&!a.isFunction(g)){if(i=a.extend({},h.defaults,i),"number"==typeof i.expires){var j=i.expires,k=i.expires=new Date;k.setTime(+k+864e5*j)}return document.cookie=[b(e),"=",d(g),i.expires?"; expires="+i.expires.toUTCString():"",i.path?"; path="+i.path:"",i.domain?"; domain="+i.domain:"",i.secure?"; secure":""].join("")}for(var l=e?void 0:{},m=document.cookie?document.cookie.split("; "):[],n=0,o=m.length;o>n;n++){var p=m[n].split("="),q=c(p.shift()),r=p.join("=");if(e&&e===q){l=f(r,g);break}e||void 0===(r=f(r))||(l[q]=r)}return l};h.defaults={},a.removeCookie=function(b,c){return void 0===a.cookie(b)?!1:(a.cookie(b,"",a.extend({},c,{expires:-1})),!a.cookie(b))}}); \ No newline at end of file diff --git a/assets/select2/js/select2-init.js b/assets/select2/js/select2-init.js index 2b4b334..62000d5 100644 --- a/assets/select2/js/select2-init.js +++ b/assets/select2/js/select2-init.js @@ -3,7 +3,7 @@ function format(state) { return "  " + state.text; } -var placeholder = "Select.."; +var placeholder = "Select a State"; $('.select2, .select2-multiple').select2({ theme: "bootstrap", placeholder: placeholder, diff --git a/css/reset.css b/css/reset.css index 7dc813e..2af4db6 100644 --- a/css/reset.css +++ b/css/reset.css @@ -11,6 +11,6 @@ blockquote, q { quotes: none;} :focus { outline: 0;} table { border-collapse: collapse; border-spacing: 0;} img { border: 0; -ms-interpolation-mode: bicubic; vertical-align: middle; } -a{text-decoration:none; position:relative; color:#000;} +a{text-decoration:none; position:relative; color:#5e5e5e;} audio,video,canvas {max-width: 100%;} \ No newline at end of file diff --git a/css/style.css b/css/style.css index f429b88..f13e01b 100644 --- a/css/style.css +++ b/css/style.css @@ -12,6 +12,7 @@ html{ overflow-x:hidden !important; height:100%; } + body{ margin: 0; padding: 0; @@ -22,6 +23,7 @@ body{ background:#f4f4f4; color:#000; font-family: 'Questrial', sans-serif; + } @-o-viewport {width: device-width;} @-ms-viewport {width: device-width;} @@ -104,8 +106,8 @@ blockquote p { font-size: 30px; line-height:50px; text-align:left; - font-weight:bold; - font-family: 'Montserrat', sans-serif; + font-weight:normal; + font-family:helvetica_condensedmedium; padding-bottom:10px; } .intro-text { @@ -1062,7 +1064,7 @@ section.header-section.left-der-headersec:before { text-align:left; } section.header-section h2 { - font-size:64px; + font-size:50px; text-transform:uppercase; line-height:75px; } @@ -1190,14 +1192,14 @@ section.parallax-section .section-title h2 , section.parallax-section .section .bold-separator { width:70px; height:6px; - background:#975557; + background:#b71518; float:left; /* margin-top:35px; */ } /*------ about------------------------------------------------*/ .about-wrap p{ padding-bottom:20px; - font-size:13px; + font-size:16px; } .section-container { margin:50px 0; @@ -1503,7 +1505,7 @@ section.parallax-section .section-title h2 , section.parallax-section .section } /*------ Services------------------------------------------------*/ .serv-item{ - margin-bottom:0px; + margin-bottom:70px; } .serv-item .content-wrap { border-bottom:1px solid #eee; @@ -1778,13 +1780,14 @@ section.parallax-section .section-title h2 , section.parallax-section .section } .grid-item h3 { /* font-size:14px; */ - font-size:18px; - font-weight: 700; + font-size:14px; + font-weight: 600; position:relative; float:left; width:100%; text-align:left; - font-family: 'Montserrat', sans-serif; + /* font-family: 'Montserrat', sans-serif; */ + font-family: inherit; } .grid-item h3:before { content:''; @@ -1828,11 +1831,11 @@ section.parallax-section .section-title h2 , section.parallax-section .section width:100%; float:left; text-align:left; - font-weight:600; - font-size:17px; + /* font-size:11px; */ + font-size:13px; margin-top:6px; /* color:#999; */ - color:#5e5e5e; + color:#747373; } .hid-por-info .grid-item { position:absolute; @@ -2310,10 +2313,10 @@ section.parallax-section .pr-title:after { margin:10px 0 30px; } .pr-subtitle { - font-size:12px; + font-size:15px; text-align:left; - font-family: 'Montserrat', sans-serif; - font-weight: 800; + font-family: 'Ubuntu', sans-serif; + font-weight: 600; float:left; width:100%; text-transform:uppercase; @@ -2607,10 +2610,10 @@ section.parallax-section .pr-title:after { float:left; } .pr-tags span{ - font-family: 'Montserrat', sans-serif; + font-family: "Ubuntu", sans-serif; text-align:left; - padding-right:20px; - font-weight:800; + padding-right:10px; + font-weight:600; border-right:1px solid #ccc; } .pr-tags ul { @@ -2810,7 +2813,8 @@ section.parallax-section .pr-title:after { transition: all 300ms linear; } .box-item:hover .overlay , .gallery-item:hover .overlay{ - opacity:0.3; + opacity:0.66; + color:#000; } .box-item:hover img , .gallery-item:hover img { -webkit-transform: scale(1.15); @@ -3164,6 +3168,7 @@ section.parallax-section .pr-title:after { float:left; padding-right:10px; color: #999; + font-size: 12px; } #contact-form , #comment-form{ width:100%; @@ -4218,4 +4223,6 @@ section.parallax-section { -webkit-background-size:cover; background-position:center; } -} \ No newline at end of file +} + + diff --git a/images/about.jpg b/images/about.jpg new file mode 100644 index 0000000..e31a8f4 Binary files /dev/null and b/images/about.jpg differ diff --git a/images/contact.jpg b/images/contact.jpg new file mode 100644 index 0000000..b4e7471 Binary files /dev/null and b/images/contact.jpg differ diff --git a/images/zcontact.jpg b/images/zcontact.jpg new file mode 100644 index 0000000..3979530 Binary files /dev/null and b/images/zcontact.jpg differ diff --git a/mcgans.sql b/mcgans.sql new file mode 100644 index 0000000..eca13d7 --- /dev/null +++ b/mcgans.sql @@ -0,0 +1,477 @@ +-- phpMyAdmin SQL Dump +-- version 5.2.0 +-- https://www.phpmyadmin.net/ +-- +-- Host: 127.0.0.1 +-- Generation Time: Jan 24, 2023 at 11:03 AM +-- Server version: 10.4.24-MariaDB +-- PHP Version: 7.4.29 + +SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO"; +START TRANSACTION; +SET time_zone = "+00:00"; + + +/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; +/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; +/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */; +/*!40101 SET NAMES utf8mb4 */; + +-- +-- Database: `mcgans` +-- + +-- -------------------------------------------------------- + +-- +-- Table structure for table `degree` +-- + +CREATE TABLE `degree` ( + `id` int(11) NOT NULL, + `departmentId` int(11) NOT NULL, + `name` varchar(225) NOT NULL, + `createdBy` int(11) NOT NULL, + `createdOn` date NOT NULL, + `upadatedOn` date NOT NULL, + `updatedBy` int(11) NOT NULL, + `status` int(11) NOT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4; + +-- +-- Dumping data for table `degree` +-- + +INSERT INTO `degree` (`id`, `departmentId`, `name`, `createdBy`, `createdOn`, `upadatedOn`, `updatedBy`, `status`) VALUES +(1, 1, 'Bachelor’s in Architecture', 1, '2023-01-23', '0000-00-00', 0, 1); + +-- -------------------------------------------------------- + +-- +-- Table structure for table `department` +-- + +CREATE TABLE `department` ( + `id` int(11) NOT NULL, + `name` varchar(225) NOT NULL, + `code` varchar(100) NOT NULL, + `image` varchar(225) NOT NULL, + `year` int(11) NOT NULL, + `createdBy` int(11) NOT NULL, + `updatedBy` int(11) NOT NULL, + `createdOn` date NOT NULL, + `updatedOn` date NOT NULL, + `status` int(11) NOT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4; + +-- +-- Dumping data for table `department` +-- + +INSERT INTO `department` (`id`, `name`, `code`, `image`, `year`, `createdBy`, `updatedBy`, `createdOn`, `updatedOn`, `status`) VALUES +(1, 'Architecture', 'AR001', '230123053918.webp', 4, 1, 0, '2023-01-23', '0000-00-00', 1); + +-- -------------------------------------------------------- + +-- +-- Table structure for table `employee` +-- + +CREATE TABLE `employee` ( + `id` int(11) NOT NULL, + `roleId` int(11) NOT NULL, + `name` varchar(120) NOT NULL, + `mobileNumber` varchar(225) NOT NULL, + `address` text NOT NULL, + `email` varchar(225) NOT NULL, + `image` varchar(225) NOT NULL, + `pincode` int(11) NOT NULL, + `username` varchar(225) NOT NULL, + `password` varchar(225) NOT NULL, + `createdOn` date NOT NULL, + `updatedOn` date NOT NULL, + `createdBy` int(11) NOT NULL, + `updatedBy` int(11) NOT NULL, + `status` int(1) NOT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4; + +-- +-- Dumping data for table `employee` +-- + +INSERT INTO `employee` (`id`, `roleId`, `name`, `mobileNumber`, `address`, `email`, `image`, `pincode`, `username`, `password`, `createdOn`, `updatedOn`, `createdBy`, `updatedBy`, `status`) VALUES +(1, 1, 'mcgans', '9344511168', 'Perar, Kotagiri Road, Ooty, Tamil Nadu 643002', 'ootyarchitecture@gmail.com', 'image.png', 643002, 'demo@mcgans.com', '2d1c52a7d892a6f0a189392152584268', '0000-00-00', '0000-00-00', 0, 0, 1); + +-- -------------------------------------------------------- + +-- +-- Table structure for table `faculty` +-- + +CREATE TABLE `faculty` ( + `id` int(11) NOT NULL, + `facultyId` varchar(225) NOT NULL, + `name` varchar(225) NOT NULL, + `email` varchar(100) NOT NULL, + `dob` date NOT NULL, + `address` text NOT NULL, + `gender` int(11) NOT NULL, + `mobileNumber` varchar(225) NOT NULL, + `designation` varchar(225) NOT NULL, + `image` text NOT NULL, + `createdBy` int(11) NOT NULL, + `createdOn` date NOT NULL, + `updatedOn` date NOT NULL, + `updatedBy` int(11) NOT NULL, + `status` int(11) NOT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4; + +-- +-- Dumping data for table `faculty` +-- + +INSERT INTO `faculty` (`id`, `facultyId`, `name`, `email`, `dob`, `address`, `gender`, `mobileNumber`, `designation`, `image`, `createdBy`, `createdOn`, `updatedOn`, `updatedBy`, `status`) VALUES +(1, 'MCGANS0001', 'Saranya SK', 'mcgans@gmail.com', '2023-01-23', 'Ooty', 2, '7904257993', 'Staff', '2301230548.webp', 1, '2023-01-23', '0000-00-00', 0, 1), +(2, 'MCGANS0002', 'Kshirabdhi Tanaya P Sahu', 'mcgans@gmail.com', '2023-01-23', 'Ooty', 2, '7904257993', 'Staff', '2301230551.webp', 1, '2023-01-23', '0000-00-00', 0, 1), +(3, 'MCGANS0003', 'Lokeshwar', 'mcgans@gmail.com', '2023-01-23', 'Ooty', 1, '7904257993', 'Staff', '2301230553.webp', 1, '2023-01-23', '0000-00-00', 0, 1), +(4, 'MCGANS0004', 'Srinath', 'mcgans@gmail.com', '2023-01-23', 'Ooty', 1, '7904257993', 'Staff', '2301230555.webp', 1, '2023-01-23', '0000-00-00', 0, 1), +(5, 'MCGANS0005', 'Shahzad Ahmed Malik', 'mcgans@gmail.com', '2023-01-23', 'Ooty', 1, '7904257993', 'Staff', '2301230603.webp', 1, '2023-01-23', '0000-00-00', 0, 1); + +-- -------------------------------------------------------- + +-- +-- Table structure for table `project` +-- + +CREATE TABLE `project` ( + `id` int(11) NOT NULL, + `projectName` varchar(225) NOT NULL, + `date` date NOT NULL, + `studentId` int(11) NOT NULL, + `code` varchar(225) NOT NULL, + `semesterId` int(11) NOT NULL, + `departmentId` int(11) NOT NULL, + `description` text NOT NULL, + `subjectId` int(11) NOT NULL, + `image` text NOT NULL, + `vedio` varchar(300) NOT NULL, + `driveLink` varchar(300) NOT NULL, + `createdBy` int(11) NOT NULL, + `createdOn` date NOT NULL, + `updatedBy` int(11) NOT NULL, + `updatedOn` date NOT NULL, + `status` int(11) NOT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4; + +-- +-- Dumping data for table `project` +-- + +INSERT INTO `project` (`id`, `projectName`, `date`, `studentId`, `code`, `semesterId`, `departmentId`, `description`, `subjectId`, `image`, `vedio`, `driveLink`, `createdBy`, `createdOn`, `updatedBy`, `updatedOn`, `status`) VALUES +(1, 'Testtt', '2023-01-25', 1, 'P001tt', 3, 1, 'testttttt', 1, 'title230124102722.jpg', 'testtt', 'testtt', 1, '2023-01-24', 1, '2023-01-24', 1); + +-- -------------------------------------------------------- + +-- +-- Table structure for table `projectdetail` +-- + +CREATE TABLE `projectdetail` ( + `id` int(11) NOT NULL, + `projectId` int(11) NOT NULL, + `title` varchar(225) NOT NULL, + `image` varchar(225) NOT NULL, + `status` int(11) NOT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4; + +-- +-- Dumping data for table `projectdetail` +-- + +INSERT INTO `projectdetail` (`id`, `projectId`, `title`, `image`, `status`) VALUES +(1, 1, 'test12', '1.5.jpg', 1), +(2, 1, 'test112', '1.4.jpg', 1), +(3, 1, 'test3', '1.1.jpg', 0); + +-- -------------------------------------------------------- + +-- +-- Table structure for table `role` +-- + +CREATE TABLE `role` ( + `id` int(11) NOT NULL, + `name` varchar(120) NOT NULL, + `status` int(11) NOT NULL, + `createdBy` int(11) NOT NULL, + `createdOn` date NOT NULL, + `updatedBy` int(11) NOT NULL, + `updatedOn` date NOT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4; + +-- +-- Dumping data for table `role` +-- + +INSERT INTO `role` (`id`, `name`, `status`, `createdBy`, `createdOn`, `updatedBy`, `updatedOn`) VALUES +(1, 'admin', 1, 1, '2023-01-23', 0, '0000-00-00'); + +-- -------------------------------------------------------- + +-- +-- Table structure for table `semester` +-- + +CREATE TABLE `semester` ( + `id` int(11) NOT NULL, + `name` varchar(225) NOT NULL, + `year` int(11) NOT NULL, + `subjectId` varchar(225) NOT NULL, + `departmentId` int(11) NOT NULL, + `degreeId` int(11) NOT NULL, + `createdBy` int(11) NOT NULL, + `createdOn` date NOT NULL, + `updatedOn` date NOT NULL, + `updatedBy` int(11) NOT NULL, + `status` int(11) NOT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4; + +-- +-- Dumping data for table `semester` +-- + +INSERT INTO `semester` (`id`, `name`, `year`, `subjectId`, `departmentId`, `degreeId`, `createdBy`, `createdOn`, `updatedOn`, `updatedBy`, `status`) VALUES +(3, 'EVEN', 2023, '1,2,3,4,5', 1, 1, 1, '2023-01-23', '2023-01-23', 1, 1); + +-- -------------------------------------------------------- + +-- +-- Table structure for table `student` +-- + +CREATE TABLE `student` ( + `id` int(11) NOT NULL, + `studentId` varchar(225) NOT NULL, + `name` varchar(225) NOT NULL, + `gender` int(11) NOT NULL, + `email` varchar(100) NOT NULL, + `address` text NOT NULL, + `department` varchar(225) NOT NULL, + `mobileNumber` varchar(225) NOT NULL, + `dob` date NOT NULL, + `image` varchar(225) NOT NULL, + `updatedOn` date NOT NULL, + `updatedBy` int(11) NOT NULL, + `createdBy` int(11) NOT NULL, + `createdOn` date NOT NULL, + `status` int(11) NOT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4; + +-- +-- Dumping data for table `student` +-- + +INSERT INTO `student` (`id`, `studentId`, `name`, `gender`, `email`, `address`, `department`, `mobileNumber`, `dob`, `image`, `updatedOn`, `updatedBy`, `createdBy`, `createdOn`, `status`) VALUES +(1, '0001', 'test', 1, 'test@gmail.com', 'test', '1', '9876543210', '2023-01-03', '2301240937.png', '0000-00-00', 0, 1, '2023-01-24', 1); + +-- -------------------------------------------------------- + +-- +-- Table structure for table `subject` +-- + +CREATE TABLE `subject` ( + `id` int(11) NOT NULL, + `degreeId` int(11) NOT NULL, + `name` varchar(225) NOT NULL, + `code` varchar(225) NOT NULL, + `facultyId` varchar(225) NOT NULL, + `image` varchar(225) NOT NULL, + `description` longtext NOT NULL, + `createdBy` int(11) NOT NULL, + `updatedBy` int(11) NOT NULL, + `createdOn` date NOT NULL, + `updatedOn` date NOT NULL, + `status` int(11) NOT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4; + +-- +-- Dumping data for table `subject` +-- + +INSERT INTO `subject` (`id`, `degreeId`, `name`, `code`, `facultyId`, `image`, `description`, `createdBy`, `updatedBy`, `createdOn`, `updatedOn`, `status`) VALUES +(1, 1, ' Terrain and Architecture', 'MCL2001', '1', '230123064458.webp', 'The Anthropogenic Activities which require Space Making on any parcel of land, in terms \r\nof Open & Built Volumes has an interference with the existing natural landscape and the \r\necology connected therewith. Also in the current day context, the Virtue of a Terrain and \r\nits primary role of sustaining an ecosystem in order is often ignored while designing, \r\norganizing and constructing a Building.\r\nCritical Re-thinking on the Spatial Planning & Organization in any given Terrain is \r\nessential, today. Therefore, standard practice of Grading and Sitting Buildings on a \r\nLandscape by considering it to be an independent entity, needs to be recast to create a \r\nmeaningful articulation of Spaces with respect to a Terrain.\r\nIn this project we will deal with two Sites in the context of The Nilgiris District which are \r\ndifferent from one another primarily in terms of Altitude & Gradient and other related \r\naspects of Climate & Geography. Thus, comparing and demonstrating how planning \r\nstrategies vary.', 1, 1, '2023-01-23', '2023-01-24', 1), +(2, 1, 'Planning and Organizing Spatial organization in Architecture', 'MCL2002', '2', '230123064624.webp', 'Spatial Organization is a way to tie the spaces together to create a collective and \r\norganized whole. This can be done both on the micro-level with the floor plan zoning and \r\nat the macro level on the site.\r\nIn the period of 14 weeks, the first 3 weeks the student will work on design thinking \r\nmodule and remaining weeks develop continuously their design project. The design \r\nprocess make use of 5 steps design process (problem analysis, idea generation, idea \r\nevaluation and selection and the realization of ideas). The design studio aims to create a \r\nplan with these 5 steps to address concrete spatial issues on different scales and layouts \r\nin a predefined project site.\r\nFor every building, there are specific needs that need to be fulfilled. Spatial organization \r\ncan aid in problem-solving to come up with effective design solutions in terms of:\r\n• Zoning based on the needs of the site.\r\n• Functional segregation of spaces in the design.\r\n• Dimensional requirements of each space.\r\n• Organization based on the significance of each space.', 1, 0, '2023-01-23', '0000-00-00', 1), +(3, 1, 'Planning and Organizing The clash of the weathers', 'MCL2003', '3', '230123064720.webp', '“Mother art is Architecture. Without an architecture of our own we have no soul of our \r\nown civilization” – Frank Lloyd Wright.\r\nIn early times when humans started to settle, they needed a dwelling to cope up with the \r\nchanging weather of the location (climate), this is the time architecture started in them in \r\norder to resist the climate. Later civilizations happened where buildings were evolving to \r\nbe stronger and additional details were added to it to make it more responsive to climate. \r\nNow we can come to an understanding that humans started the concept of architecture \r\nin order to respond to the climate, but now days that priority is lacking in the majority \r\nof the population and they are forced to go against the nature. By building structures \r\nin a climate responsive manner, we can make the best use of the natural and renewable \r\nresources and reduce our dependency on non-renewable resources. \r\nIn this studio the students will be focusing on gaining an understanding in climate \r\nresponsive architecture by starting to design from a basic temporary structure parallelly \r\nlearn climatology concepts and go further to design a building typologyby exploring \r\nvarious forms, building elements, spatial planning and materials.', 1, 0, '2023-01-23', '0000-00-00', 1), +(4, 1, 'Constructing and Specifying Express it Industrially', 'MCL2004', '4', '230123064826.webp', 'Why a place that was once recognized and considered proud should be left useless? \r\nCities are already experiencing the shortage of lands for developments. Recycling has \r\nevolved to its ultimate level of converting most of the wastes generated today. Why \r\nnot a building could be recycled or renewed to serve its purpose or used for a different \r\npurpose? Cities of today have such buildings that could have lost its cultural, economic \r\nand social values over time. It is our duty to payback respects and restore their values \r\nthrough Adaptive Reuse. Here to make it more interesting, the students will be exposed \r\nto Industrial Architecture for adopting them into their designing. \r\nThe studio invites students for Re-imagining abandoned buildings in the vicinity, into a \r\npublic space. Throughout the Design Development process, students will be put into the \r\ncircumstances of questioning themselves on how to bridge the gap between the new \r\nneeds and wants while decoding unique structural elements into designing. The Studio \r\nbrings students, an expertise on professional 3D Modelling techniques that paves way for \r\ndetailed / logical exploration of various structural elements. Since focusing on Industrial \r\nstyle of designing, Steel forms the major material for design explorations along with \r\nother materials. In the Pre - Design Development process, the designer will be exposed to \r\ntechniques of construction with steel and inspiring works of various Industrial Architects. \r\nAftermost, the students will be able to technically approach any given adaptive \r\nreuse projects, considering the available resources; contextual constraints; tangible \r\nand intangible values of the structure to-be renovated. To their level, they could \r\nappreciate and critically review works of any Architects. Besides these, on the aspects \r\nof professionalism, they will also be able to technically produce working drawings with \r\nmaterial specifications.', 1, 0, '2023-01-23', '0000-00-00', 1), +(5, 1, 'Planning and Organizing Understanding Micro-spaces', 'MCL2005', '5', '230123064913.webp', 'India is home to more than a billion people and keeps adding. The land has become a \r\nprime asset for urban development and housing is a prime necessity for Indians. The \r\narchitecture of micro-spaces encourages user-architect dialogue concerning functionality, \r\nadaptability, and flexibility. Micro Architecture is based on the space-dimensions-functions matrix. Micro Architecture is connected with space confinement and affects the \r\npeople with fewer resources to build houses. Micro Architecture becomes the answer and \r\nhitherto choice for the people with lower incomes working in daily wage occupations and \r\nunorganized sectors. India has 581 million people working in the unorganized sector with \r\nTamil Nadu having more than 7.7 million workers as per eSharm data of the government \r\nof India. \r\nThe studio is focused on providing a learning opportunity to the student to learn about \r\nthe existing informality in the housing sector mainly for the unorganized sector people \r\nsuch as construction workers, tea plantation workers, and migrants working in the \r\napparel industry. The studio is an attempt to reflect on the type of workers’ housing \r\nand assess the space-functions constraints within the purview of flexibility, adaptability, \r\nand innovation. The design of urban housing of mid-to-low rise with low density is \r\naimed to impact students’ knowledge of dealing with the housing industry, associated \r\nchallenges in the design, and practical demand-supply along with paying attention to \r\narchitectural services and universal design principles. The understanding of micro spaces \r\nin architectural design will reorient architecture students towards developing innovative \r\ndesign schemes of residential architecture, which means pushing the creative boundaries \r\nof students.', 1, 1, '2023-01-23', '2023-01-24', 1); + +-- -------------------------------------------------------- + +-- +-- Table structure for table `subjectdetail` +-- + +CREATE TABLE `subjectdetail` ( + `id` int(11) NOT NULL, + `subjectId` int(11) NOT NULL, + `title` varchar(225) NOT NULL, + `image` varchar(225) NOT NULL, + `status` int(11) NOT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4; + +-- +-- Dumping data for table `subjectdetail` +-- + +INSERT INTO `subjectdetail` (`id`, `subjectId`, `title`, `image`, `status`) VALUES +(1, 1, 'Terrain and Architecture', '1.1.jpg', 1), +(2, 2, 'Planning and Organizing Spatial organization in architecture', '2.2.jpg', 1), +(3, 3, 'Planning and Organizing The clash of the weathers', '3.3.jpg', 1), +(4, 4, 'Constructing and Specifying Express it Industrially', '4.4.jpg', 1), +(5, 5, 'Planning and Organizing Understanding Micro-spaces', '5.5.jpg', 1); + +-- +-- Indexes for dumped tables +-- + +-- +-- Indexes for table `degree` +-- +ALTER TABLE `degree` + ADD PRIMARY KEY (`id`); + +-- +-- Indexes for table `department` +-- +ALTER TABLE `department` + ADD PRIMARY KEY (`id`); + +-- +-- Indexes for table `employee` +-- +ALTER TABLE `employee` + ADD PRIMARY KEY (`id`); + +-- +-- Indexes for table `faculty` +-- +ALTER TABLE `faculty` + ADD PRIMARY KEY (`id`); + +-- +-- Indexes for table `project` +-- +ALTER TABLE `project` + ADD PRIMARY KEY (`id`); + +-- +-- Indexes for table `projectdetail` +-- +ALTER TABLE `projectdetail` + ADD PRIMARY KEY (`id`); + +-- +-- Indexes for table `role` +-- +ALTER TABLE `role` + ADD PRIMARY KEY (`id`); + +-- +-- Indexes for table `semester` +-- +ALTER TABLE `semester` + ADD PRIMARY KEY (`id`); + +-- +-- Indexes for table `student` +-- +ALTER TABLE `student` + ADD PRIMARY KEY (`id`); + +-- +-- Indexes for table `subject` +-- +ALTER TABLE `subject` + ADD PRIMARY KEY (`id`); + +-- +-- Indexes for table `subjectdetail` +-- +ALTER TABLE `subjectdetail` + ADD PRIMARY KEY (`id`); + +-- +-- AUTO_INCREMENT for dumped tables +-- + +-- +-- AUTO_INCREMENT for table `degree` +-- +ALTER TABLE `degree` + MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2; + +-- +-- AUTO_INCREMENT for table `department` +-- +ALTER TABLE `department` + MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2; + +-- +-- AUTO_INCREMENT for table `employee` +-- +ALTER TABLE `employee` + MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2; + +-- +-- AUTO_INCREMENT for table `faculty` +-- +ALTER TABLE `faculty` + MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=6; + +-- +-- AUTO_INCREMENT for table `project` +-- +ALTER TABLE `project` + MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2; + +-- +-- AUTO_INCREMENT for table `projectdetail` +-- +ALTER TABLE `projectdetail` + MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=4; + +-- +-- AUTO_INCREMENT for table `role` +-- +ALTER TABLE `role` + MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2; + +-- +-- AUTO_INCREMENT for table `semester` +-- +ALTER TABLE `semester` + MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=4; + +-- +-- AUTO_INCREMENT for table `student` +-- +ALTER TABLE `student` + MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2; + +-- +-- AUTO_INCREMENT for table `subject` +-- +ALTER TABLE `subject` + MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=6; + +-- +-- AUTO_INCREMENT for table `subjectdetail` +-- +ALTER TABLE `subjectdetail` + MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=8; +COMMIT; + +/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; +/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */; +/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;