diff --git a/README.md b/README.md
index a1276ad..c1d69bd 100644
--- a/README.md
+++ b/README.md
@@ -1,33 +1,14 @@
-# Attendance Tracker & Management System
-Technologies used: HTML5, CSS3, PHP and MySQL.
-
-## Project Description
- Attendance Tracker could be an award-winning project for college students or beginners in the field of cloud computing. The tracker works fine with Azure cloud that manages the analytics and networking of cloud-oriented applications well. As soon as we enter a student’s Enrollment Number or Name, details like availability in classes, number of lectures attended will be displayed and no proxies are possible since the tracker is supported by Azure cloud capabilities. Even the security offered is so robust and powerful that those naughty students who always fool their deans are caught in a shorter span – just after the admin enters login details into this tracker. All this will improve accuracy and transparency in any of the educational institutions as students and their parents are pre-informed about the real-time status of leave requests and absenteeism in a confidential manner and at reduced costs.
-
-## Requirements
- - PHP 5.3 or higher.
- - MySQL 5.6 or higher for spatial features in MySQL.
- - XAMPP or WAMP server for localhost.
-
-## Features
-- User Friendly, Secured
-- Clean Students Information
-- Clean Teachers Information
-- Hassle Free Attendance within seconds
-- Reports Generation
-- Easiest Login,Logout,Signup,Data Update
-
-## Database
-MySQL is used as database. Database design is made easy to understand.
-## Importing Database
-- Download the given \*attsystem.sql file.
-- Create a database attsystem
-- Import \*attsystem.sql, if everything Okay then database will be imported.
-
-
-## Tables
-- admininfo
-- teachers
-- students
-- attendance
-
+# Attendance-Management-System
+The KS AMS is the Web Application, which is used for manage the attendance of the students. It also generates different types of reports from the attendance data.
+This system manages students, faculties, subjects and attendance of the students. It also provides functionality of taking backup of student data as well as attendance data in Excel file and transferring students from current semester to next semester and from current year to next year. The system generates reports like student vise monthly report of each and every subject, subject vise report of the particular class, semester vise report of a particular student and a report which help for shortlisting the students on the base of percentage range of total attendance.
+
+
+Database of this system is in root folder. kindly gave the name of database "sams".
+
Screen shots of system
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/academic_year.php b/academic_year.php
new file mode 100644
index 0000000..e8c4f28
--- /dev/null
+++ b/academic_year.php
@@ -0,0 +1,60 @@
+
+
+
+
+ Academic Year
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/act_att_f_updt.php b/act_att_f_updt.php
new file mode 100644
index 0000000..3a1327b
--- /dev/null
+++ b/act_att_f_updt.php
@@ -0,0 +1,160 @@
+
+
+
Attendance Sheet
+
+
+
+
+
+
+
+
Faculty Name:
+
Subject:
+sub_name;
+ }
+?>
+
Date:
+
Division:
+
+
+
+
+
+
+
+
+
+ No Student Available... Please Add students First... ";
+ echo "Add Multiple Stuudent From here ";
+ }
+ ?>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/act_attendance1.php b/act_attendance1.php
new file mode 100644
index 0000000..06d3d54
--- /dev/null
+++ b/act_attendance1.php
@@ -0,0 +1,151 @@
+
+
+
+Attendance Sheet
+
+
+
+
+
+
+
+
Faculty Name:
+
Subject:
+sub_name;
+ }
+?>
+
Date:
+
Division:
+
+ ";
+ //print_r($_SESSION["q1"]);exit;
+ ?>
+
+
+
+
+
+
+ No Student Available... Please Add students First... ";
+ echo "Add Multiple Stuudent From here ";
+ }
+ ?>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/act_attendance1_f.php b/act_attendance1_f.php
new file mode 100644
index 0000000..a06c402
--- /dev/null
+++ b/act_attendance1_f.php
@@ -0,0 +1,146 @@
+
+
+Attendance Sheet
+
+
+
+
+
+
+
+
Faculty Name:
+
Subject:
+sub_name;
+ }
+?>
+
Date:
+
Division:
+
+
+
+
+
+
+
+
+
+ No Student Available... Please Add students First... ";
+ echo "Add Multiple Stuudent From here ";
+ }
+ ?>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/act_attendance_updt.php b/act_attendance_updt.php
new file mode 100644
index 0000000..f2aa6eb
--- /dev/null
+++ b/act_attendance_updt.php
@@ -0,0 +1,187 @@
+
+
+
+
+ Attendance Sheet
+
+
+
+
+
+
+
+
+
Faculty Name:
+
Subject: sub_name;
+ }
+ ?>
+
Date:
+
Division:
+
+
+
+
+
+
+
+
+
+
+
+ No Student Available... Please Add students First... ";
+ echo "Add Multiple Stuudent From here ";
+
+ }
+ ?>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/add_faculty.php b/add_faculty.php
new file mode 100644
index 0000000..620208d
--- /dev/null
+++ b/add_faculty.php
@@ -0,0 +1,138 @@
+
+
+
+
+
+
+ Faculty Registration
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/add_schedule.php b/add_schedule.php
new file mode 100644
index 0000000..b51ebb7
--- /dev/null
+++ b/add_schedule.php
@@ -0,0 +1,73 @@
+$v)
+ {
+ if($k=="time")
+ {
+ $ttdata=$v;
+ }
+ else if($k=="div")
+ {
+ $divdata=$v;
+ }
+ else
+ {
+ $subdata=$v;
+ }
+ }
+?>
+
+
+
Generate Schedule
+
+
+
+
\ No newline at end of file
diff --git a/add_student.php b/add_student.php
new file mode 100644
index 0000000..831108d
--- /dev/null
+++ b/add_student.php
@@ -0,0 +1,189 @@
+
+
+
+
+
+
+
Student Registration
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/add_subject.php b/add_subject.php
new file mode 100644
index 0000000..247b034
--- /dev/null
+++ b/add_subject.php
@@ -0,0 +1,159 @@
+
+
+
+
+
+
+
+
+
+
Add Subject
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/assign_spec_stu_list.php b/assign_spec_stu_list.php
new file mode 100644
index 0000000..cdcaa10
--- /dev/null
+++ b/assign_spec_stu_list.php
@@ -0,0 +1,39 @@
+
+
+
Attendance Sheet
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/assign_spec_sub.php b/assign_spec_sub.php
new file mode 100644
index 0000000..a6f719b
--- /dev/null
+++ b/assign_spec_sub.php
@@ -0,0 +1,92 @@
+
+
+
+
+
+
Assign Special Subjects to Student
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/assign_sub.php b/assign_sub.php
new file mode 100644
index 0000000..15e26f6
--- /dev/null
+++ b/assign_sub.php
@@ -0,0 +1,146 @@
+
+
+
+
+
+
Assign Subjects
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/at.php b/at.php
new file mode 100644
index 0000000..c496511
--- /dev/null
+++ b/at.php
@@ -0,0 +1,277 @@
+
+
+
+
+
+
+
+
+
Attendance Details
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/at_clr.php b/at_clr.php
new file mode 100644
index 0000000..3007ee7
--- /dev/null
+++ b/at_clr.php
@@ -0,0 +1,14 @@
+
diff --git a/at_f.php b/at_f.php
new file mode 100644
index 0000000..7bf16f5
--- /dev/null
+++ b/at_f.php
@@ -0,0 +1,265 @@
+
+
+
+
+
+
+Attendance Details
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/backup_at_det.php b/backup_at_det.php
new file mode 100644
index 0000000..397306d
--- /dev/null
+++ b/backup_at_det.php
@@ -0,0 +1,133 @@
+
+
+
+
+
+
+Select Details
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/backup_at_file.php b/backup_at_file.php
new file mode 100644
index 0000000..0385d06
--- /dev/null
+++ b/backup_at_file.php
@@ -0,0 +1,36 @@
+
+
+
+
Backup Data
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/backup_det.php b/backup_det.php
new file mode 100644
index 0000000..127924d
--- /dev/null
+++ b/backup_det.php
@@ -0,0 +1,142 @@
+
+
+
+
+
+
+
Select Details
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/backup_fifth_year.php b/backup_fifth_year.php
new file mode 100644
index 0000000..ef5a5e9
--- /dev/null
+++ b/backup_fifth_year.php
@@ -0,0 +1,67 @@
+
+
+
+
+
+
+
Remove Fifth Year Data
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/div_vise.php b/div_vise.php
new file mode 100644
index 0000000..6fbed6d
--- /dev/null
+++ b/div_vise.php
@@ -0,0 +1,176 @@
+
+
+
+
+
+
+Back
+
+
Select Details
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Select Stream:
+ Select Stream
+
+
+ cname; ?>
+
+
+
+
+
+ Select Year :
+
+
+
+
+
+ Select Semester:
+
+
+
+
+
+ Select Division:
+
+
+
+
+
+
+
+
+
+ Get Report
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/divide_batch.php b/divide_batch.php
new file mode 100644
index 0000000..6932f61
--- /dev/null
+++ b/divide_batch.php
@@ -0,0 +1,66 @@
+
+
+
+
Divide Batch
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Select Division :
+
+ Select Division
+ A
+ B
+ C
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/dropdown.php b/dropdown.php
new file mode 100644
index 0000000..a2999fe
--- /dev/null
+++ b/dropdown.php
@@ -0,0 +1,1238 @@
+
+ Select Year
+
+ year?>
+
+
+ Select Semester
+
+ sem_no;?>
+
+ Select Division
+
+
+
+
+
+
+ Select Subject
+ sub_name!="HR" && $c->sub_name!="Marketing" && $c->sub_name!="Finance")
+ {
+ ?>
+ sub_name;?>
+
+ ">sub_name; ?>
+
+ sub_name; ?>
+
+ Select Year :
+
+ Select Batch
+
+ batch_name;?>
+ ";
+}
+//Overall Report
+if(isset($_REQUEST["ov_rn"]))
+{
+ $cnt=0;
+ $f=0;$f1=0;
+ $dpcnt=0;$dacnt=0;$dtcnt=0;
+ $spcnt=0;
+?>
+
+
+
+ Roll No.: ".$p->s_rn; ?>
+ Name: ".$p->fnm; ?>
+ Email Id: ".$p->email; ?>
+ Contact No.: ".$p->contact; ?>
+
+ Date
+ sub_id!="HR" && $d->sub_id!="Marketing" && $d->sub_id!="Finance")
+ {
+ ?>
+ sub_id; ?>
+
+ sub_id; ?>
+
+ Total
+
+
+
+
+ date);
+ echo date("d-m-Y",$d); ?>
+
+ sub_id!="HR" && $s1->sub_id!="Marketing" && $s1->sub_id!="Finance")
+ {
+ $spcnt=0;
+ ?>
+ holiday==1)
+ {
+ echo "-HD";
+ }
+ else
+ {
+ foreach($overall_res1 as $o)
+ {
+ if($o->date==$d1->date)
+ {
+ if($o->sub_id==$s1->sub_id)
+ {
+ if($o->present==1)
+ {
+ $dpcnt++;
+ echo "P ";
+ $spcnt++;
+ }
+ else
+ {
+ $dacnt++;
+ echo "AB ";
+ $spcnt++;
+ }
+ }
+ }
+ }
+ }//else of sl1
+ if($spcnt==0) echo "-";
+ ?>
+
+
+ holiday==1)
+ {
+ echo "-HD";
+ }
+ else
+ {
+ if(isset($overall_res2)){
+ foreach($overall_res2 as $o)
+ {
+ if($o->date==$d1->date)
+ {
+ if($o->sub_id==$s2->sub_id)
+ {
+ if($o->present==1)
+ {
+
+ $dpcnt++;
+ echo "P ";
+ $spcnt++;
+ }
+ else
+ {
+ $dacnt++;
+ echo "AB ";
+ $spcnt++;
+ }
+ }
+ }
+ }
+ }
+
+ }//else of sl1
+ if($spcnt==0) echo "-";
+ ?>
+
+
+
+
+
+
+ Total
+
+
+
+
+
+
+
+
+
+ Average Attendance : (Present)
+
+
+
+
+
+
+
+
+
+
+ Date
+
+ sub_id; ?>
+
+ Total
+
+
+
+
+ date);
+ echo date("d-m-Y",$d); ?>
+
+ holiday==1)
+ {
+ echo "-HD";
+ }
+ else
+ {
+ foreach($overall_res as $o)
+ {
+ if($o->date==$d1->date)
+ {
+ if($o->sub_id==$s->sub_id)
+ {
+ if($o->present==1)
+ {
+ $dpcnt++;
+ echo "P ";//." ".$subpcnt[$spcnt];
+ $spcnt++;
+ }
+ else
+ {
+ $dacnt++;
+ echo "AB ";//." ".$subacnt[$sacnt];
+ $spcnt++;
+ }
+ }
+
+ }
+
+ }
+
+ }
+ if($spcnt==0) echo "-";
+ ?>
+
+
+
+
+
+
+ Total
+
+
+
+
+
+
+
+
+ Percentage : (Present)
+
+
+
+
+
+
+
+
+
+
+
+ Total Sunday :
+ Extra Holiday :
+ Total Present :
+ Total Absent :
+ Total Lectures :
+
+
+
+
+ Roll No.: ".$p->s_rn; ?>
+ Name: ".$p->fnm; ?>
+ Email Id: ".$p->email; ?>
+ Contact No.: ".$p->contact; ?>
+
+
+
+ Month
+ Subject
+ Total Lectures
+ Present
+ Percentage
+
+
+
+
+ sub_id!="HR" && $s->sub_id!="Marketing" && $s->sub_id!="Finance")
+ {
+ $ec++;
+ $mtotal+=$subpc[$k][$j]+$subac[$k][$j];
+ $ptotal+=$subpc[$k][$j];
+ ?>
+ sub_id;?>
+
+
+
+
+
+ sub_id;?>
+
+
+
+
+
+
+ Monthly Total
+
+
+
+
+
+
+ Final Result
+
+
+
+
+
+
+ =75)
+ {
+ echo "Good Result.. ";
+ }
+ else
+ {
+ echo "Need more ";
+ echo 75-round(($gp/$gt*100),2);
+ echo " % attendance ☹";
+ }
+ ?>
+
+
+
+
+
+
+
+
+
+
+ sub_id;?>
+
+
+
+
+
+
+ Monthly Total
+
+
+
+
+
+
+ Final Result
+
+
+
+
+
+
+ =75)
+ {
+ echo "Good Result.. ";
+ }
+ else
+ {
+ echo "Need more ";
+ echo 75-round(($gp/$gt*100),2);
+ echo " % attendance ☹";
+ }
+ ?>
+
+
+
+
+
+ fac_name;
+ $c=$f->contact;
+ }
+ foreach ($dt_res as $d)
+ {
+ $snm=$d->sub_name;
+ break;
+ }
+ foreach($dtdata1 as $d)
+ {
+ $d1= strtotime($d->date);
+ $y=date("F Y",$d1);break;
+ }
+ ?>
+
+
+ ( $y ) "; ?>
+
+
+ Fcaulty : Contact No. ".$c; ?>
+
+
+
+ Roll No
+ Name
+ Division
+ Gender
+
+ date);
+ echo date("d",$d1);
+ ?>
+
+ Total Present
+ Total
+ Percentage
+
+
+
+
+ s_rn;?>
+ fnm." ".$srn->lnm;?>
+ division);?>
+ s_gen==1) echo "F"; else echo "M";?>
+
+
+
+ s_enrl==$srn->s_enrl)
+ {
+ if($dr->date==$dt->date)
+ {
+ if($dr->present==1)
+ {
+ echo "P ";
+ $tot++;
+ }
+ else echo "AB ";
+ }
+ }
+ }?>
+
+
+
+
+
+
+
+
+ There are no lectures held in this Month..... ";
+}
+}
+//Distribute subject faculty list
+if(isset($_REQUEST["crs_fac"]))
+{?>
+ Select Faculty
+
+ fac_name;?>
+
+ Select Subject
+ sub_name!="HR" && $ss->sub_name!="Marketing" && $ss->sub_name!="Finance")
+ {
+ ?>
+ sub_name;?>
+
+ ">sub_name;?>
+
+ Select Subject
+ sub_name!="HR" && $ss->sub_name!="Marketing" && $ss->sub_name!="Finance")
+ {
+ ?>
+ sub_name;?>
+
+ ">sub_name;?>
+ $tdt)
+ echo $_REQUEST["dt"];
+}
+//Checking attendance date
+if(isset($_REQUEST["atdt"]))
+{
+ $f=0;
+ foreach($hddtl as $h)
+ {
+ if($h->holiday=='1')
+ {
+ echo "It's Holiday......";
+ $f=1;
+ break;
+ }
+ }
+ if($f==0)
+ {
+ $td=date("Y-m-d");
+ if($_REQUEST["atdt"]>$td)
+ {
+ echo "Future attendance is not possible";
+ }
+ }
+ }
+
+ //According to subject fetching facultyname
+if(isset($_REQUEST["sub"]))
+{
+ foreach ($fac as $f)
+ {
+ echo $f->fac_name;
+ $_SESSION["my_fac"]=$f->fac_name;
+ }
+}
+if(isset($_REQUEST["crs_sub1"]))
+{?>
+ Select Subject
+
+ sub_name;?>
+
+ ">sub_name;?>
+
+
+
+ S. No. :
+ Name :
+ Email :
+ Role :
+ Edit :
+ View :
+ Delete :
+
+
+ fac_name!="None")
+ {
+ $cnt++;
+ ?>
+
+
+ fac_name; ?>
+ email; ?>
+ role==2){
+ echo "Faculty";
+ }
+ else {
+ echo "Admin";
+ }; ?>
+
+
+
+
+
+ sub_name;
+ }
+}
+//Combine Subject
+if(isset($_REQUEST["csid"]))
+{
+ foreach($csfac as $cs)
+ {
+ echo $cs->fac_name;
+ }
+}
+if(isset($_REQUEST["csub"]))
+{
+ ?>Do you want to distribute the subject or Combine the subject? ";
+?>
+
+ Distribute
+ Combine
+
+
+
+ Roll No.
+ Name
+ Gender
+
+ sub_name; ?>
+
+
+
+
+
+ s_rn; ?>
+ fnm." ".$a->lnm; ?>
+ s_gen=='0') echo "M"; else echo "F";?>
+
+ " name=""
+ s_enrl==$a->s_enrl)
+ {
+ if($sn->usub_id==$s->usub_id)
+ {
+ echo "checked";
+ }
+ }
+ }
+ }
+ ?>
+ >
+ " name="">
+ " name="">
+
+
+
+
+
+
+
+
+ Submit
+
+
+
+
+ Distributed Subject :
+
+
+ Select Faculty :
+
+
+
+
+
+
+ Distributed Subject :
+
+
+
+ Select Faculty :
+
+
+
+
+
+
+
+ sub_name;
+ $f_nm=$d->fac_name;
+ $c=$d->contact;
+ break;
+ }
+ $y=date("F Y",strtotime($dt1));
+ if($totdt!=0)
+ {
+ ?>
+
+
+ ( $y ) "; ?>
+
+
+ Fcaulty : Contact No. ".$c; ?>
+
+
+ Roll No
+ Name
+ Division
+ Gender
+ Total Present
+ Total
+ Percentage
+
+
+ =$ll && $avg<=$ul)
+ {
+ ?>
+
+ s_rn;?>
+ fnm." ".$srn->lnm;?>
+ division);?>
+ s_gen==1) echo "F"; else echo "M";?>
+
+
+
+
+ There are no lectures held in this Month..... ";
+ }?>
+
+
+ Specialization Categories of MBA
+
+ Select Specialization Categories
+
+ sub_name;?>
+
+
+ fac_name;
+ $c=$f->contact;
+ $snm=$f->sub_name;
+ break;
+ }
+ foreach($dtdata1 as $d)
+ {
+ $d1= strtotime($d->date);
+ $y=date("F Y",$d1);break;
+ }
+ ?>
+
+
+ ( $y ) "; ?>
+
+
+ Faculty : Contact No. ".$c; ?>
+
+
+
+ Roll No
+ Name
+ Division
+
+ date; ?>
+
+
+
+
+ s_rn;?>
+ fnm;?>
+ division;?>
+
+
+ s_enrl==$bd->s_enrl)
+ {
+ if($dr->date==$dt->date)
+ {
+ if($dr->present==1)
+ {
+ echo "P ";
+ }
+ else echo "AB ";
+ }
+ }
+ }?>
+
+
+
+
+
+
+
+ Roll No.
+ Name
+ Gender
+
+ batch_name; ?>
+
+
+
+
+
+ s_rn; ?>
+ fnm." ".$a->lnm; ?>
+ s_gen=='0') echo "M"; else echo "F";?>
+
+ " name=""
+ s_enrl==$a->s_enrl)
+ {
+ if($sn->batch_id==$s->batch_id)
+ {
+ echo "checked";
+ }
+ }
+ }
+ }
+ ?>
+ >
+ " name="">
+ " name="">
+
+
+
+
+
+
+
+
+ Submit
+
+
\ No newline at end of file
diff --git a/extra_holiday.php b/extra_holiday.php
new file mode 100644
index 0000000..732930f
--- /dev/null
+++ b/extra_holiday.php
@@ -0,0 +1,79 @@
+
+
+
+
+
+ Add Holiday
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/fac_update.php b/fac_update.php
new file mode 100644
index 0000000..ff0d7c7
--- /dev/null
+++ b/fac_update.php
@@ -0,0 +1,70 @@
+
+
+ Back
+
+
+
Faculty Update
+
+
+
+