Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add files via upload #1

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
47 changes: 14 additions & 33 deletions README.md
Original file line number Diff line number Diff line change
@@ -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. <br>
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".
<h1> Screen shots of system </h1>
<img src="screenshots/1.png">
<img src="screenshots/2.png">
<img src="screenshots/3.png">
<img src="screenshots/4.png">
<img src="screenshots/5.png">
<img src="screenshots/6.png">
<img src="screenshots/7.png">
60 changes: 60 additions & 0 deletions academic_year.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
<?php
include './Database/Controler.php';
include 'role.php';
?>
<script language="javascript" src="./assets/js/validation.js"></script>
<script language="javascript">
function validate_form(f1)
{
if(isEmpty(f1.a_yr.value,"Academic year"))
{
alert(errMsg);
f1.a_yr.focus();
return (false);
}
}
</script>
<?php
if($_SESSION["role"]==1)
{
?>
<h2>Academic Year</h2>


</div>
</div>
<!-- /. ROW -->
<div class="row">
<div class="col-md-12">
<div class="panel panel-default">

<div class="panel-body">
<div class="row">
<div class="col-md-12">
<form method="post" role="form" enctype="multipart/form-data" onSubmit="return validate_form(this)">

<div class="form-group">
<label>Academic Year:</label>
<input class="form-control" id="a_yr" name="a_yr" placeholder="Enter year eg.(2018-19)"/>
</div>

<center>
<button type="submit" id="submit" name="Academic_yr" value="Submit" class="btn btn-primary">Submit</button>
</center>
</form>

</center>
<?php
}
else
{
?>
<div class="row">
<div class="col-md-12"></div>
<img src="img/ad.jpg">
<?php
}

include 'footer.php';
?>

160 changes: 160 additions & 0 deletions act_att_f_updt.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,160 @@
<?php
include './Database/Controler.php';
include 'role.php';
?>
<script>
function like(rn)
{
var i=rn;
$.ajax({

type: "GET",
url:"at_clr.php",
data:"lid="+document.getElementById(i).style.color,
success:function(result)
{
if(document.getElementById(i).style.color=="green")
{
$("#").html(result);
$("#ch"+i).val(result);
var c="red";
document.getElementById(i).style.color=c;
}
else
{
$("#").html(result);
result='1';
$("#ch"+i).val(result);
var c="green";
document.getElementById(i).style.color=c;
}
}
});
}
</script>
<h2>Attendance Sheet</h2>
</div>
</div>
<!-- /. ROW -->
<div class="row">
<div class="col-md-12">
<div class="panel panel-default">
<br>
&emsp;<b>Faculty Name:</b> <?php echo $_SESSION["my_fac"]; ?>
&emsp;&emsp;&emsp;<b> Subject:</b>
<?php
foreach($_SESSION["sn"] as $sn)
{
echo $sn->sub_name;
}
?>
&emsp;&emsp;&emsp; <b> Date:</b><?php echo $_SESSION["att"]["dt"]; ?>
&emsp;&emsp;&emsp; <b> Division:</b><?php echo $_SESSION["att"]["div"]; ?>
<br>
<?php
if($_SESSION["new_att"])
{
?>
<div style="float:right;">
<form method="post">
<button type="submit" id="all_pr" name="all_pr" class="btn btn-success">All Present</button>
<button type="submit" id="all_ab" name="all_ab" class="btn btn-danger">All Absent</button>&emsp;
</form>
</div><br><br>

<!-- Advanced Tables -->
<center>
<form method="post" role="form" enctype="multipart/form-data">
<?php
$_SESSION["atotal"]=sizeof($_SESSION["q1"]);
$cnt=0;

foreach ($_SESSION["new_att"] as $k => $v)
{
$cnt++;
?>
<a href="#">
<i class="fa fa-user fa-2x" id="<?php echo $v->s_enrl;?>" name="<?php echo $v->s_enrl;?>"
<?php
if(isset($_REQUEST["all_pr"]))
{
echo 'style="color:green;"';
}
elseif(isset($_REQUEST["all_ab"]))
{
echo 'style="color:red;"';
}
else
{
if($v->present=='1')
{
echo 'style="color:green;"';
}
else
{
echo 'style="color:red;"';
}
}
?>
onClick="return like(<?php echo $v->s_enrl;?>);">
<?php echo "<br><h6>".$v->s_rn."</h6>"; ?>
</i>
</a>
<input type="hidden" value="<?php echo $v->s_enrl; ?>" id="<?php echo "r".$cnt; ?>" name="<?php echo "r".$cnt; ?>">
<input type="hidden" name="<?php echo "ch".$v->s_enrl; ?>" id="<?php echo "ch".$v->s_enrl; ?>"
<?php
if(isset($_REQUEST["all_pr"]))
{
echo 'value="1"';
}
elseif(isset($_REQUEST["all_ab"]))
{
echo 'value="0"';
}
else
{
if($v->present=='1')
{
echo 'value="1"';
}
else
{
echo 'value="0"';
}
}
?>
>
&emsp;
<?php
}
?>
<center><br>
<button type="submit" id="att_submit_f_updt" name="att_submit_f_updt" value="submit" class="btn btn-primary"style="height: 100%; width: 30%;">Submit</button>
</center> <br>
</form>
<?php
}
else
{
echo "<br><center><b><h3>No Student Available...<br>Please Add students First...</h3></b></center><br>";
echo "<a href='bulk_stu_det.php'><center><b>Add Multiple Stuudent From here</b></center></a><br>";
}
?>
</center>
</div>
</div>
</div>
<!-- end Context Classes -->
</div>
</div>
<!-- /. ROW -->
</div>
</div>
<!-- /. PAGE INNER -->
</div>
<!-- /. PAGE WRAPPER -->
<!-- /. WRAPPER -->
<!-- SCRIPTS -AT THE BOTOM TO REDUCE THE LOAD TIME-->
<?php
include 'footer.php';
?>
Loading