Professional Documents
Culture Documents
Sad Final Docu.
Sad Final Docu.
Chapter I
Introduction:
The Online Grading System will help both the faculty staffs
and the students to have easy access on the records and past
records, the easier way. The said system will also lessen the staffs
on consuming too much time recording and effort locating records of
the students. It will also be connected to the schools’ website (if
there is), for the students, so they can check their grades online.
The staff in charge will do updating of grades.
Conceptual Framework
variables, the different phases involved for the development of the software and
model where the methods are Requirements Planning, User Design, Rapid
After undergoing such processes, the output of the study is the Online
Grading System.
The figure 1.1 shows the Research Paradigm of the study in the next
page.
1. the existing
procedures in
Golden West Colleges
Planning
Online Grading System.
User Design
3. features to be Construction
developed in the Transition
optimized
management of the
information in GWC
Online Grading
System. .
Page 4
Figure 1.1 Research Daradigm
Golden West Colleges
College of Information Technology Education
students and helps them improve the quality of their work. Along
with spending a good amount of time mentoring students off class
hours another challenge is timely evaluation of student
assignments. Faculty members are already overloaded with the task
of teaching, designing projects, grading, and research. Once we
incorporate testing and quality into the curricula, each assignment
will have to be graded along many more dimensions, such as quality
of the tests, coverage of the tests, etc. This can be very time
consuming. We need a mechanism which will automatically grade
student assignments to the best possible extent, so that students
are given a timely feedback, and faculty can focus more on providing
feedback on the style, design, and documentation of the project.
Such a system will also bring consistency to the grading process
and will eliminate discrepancies due to instructors bias and
lethargy.
WEB-CAT
number of tests that were run, and the number that passed is also
provided.
Praktomat
Observations
The Process
o Every project should have a deadline, just like the real world
o The project should be defined as a set of use cases and a
functional test suite. Both should be made available to the
students.
The Software
Once they received their class cards, they only see their final
grade.
Once the grades are put in the said system, it cannot be edited
anymore.
To the School. This study will give benefits to the school because an
automated grading system is feasible, economically viable and as
accurate as manually grading system.
To the Instructors. This will serve as their guide for an easy access
on the students’ grades because grading is an exercise in professional
judgment on the part of teachers.
Definition of Terms
The following are terms that the researcher used for better
understanding about the concepts in the study. The terms are
defined operationally, as how they are used in the study.
Chapter II
Research Design
Methods of Research
However, the purpose was not to check our own grading but
to see how consistent the computer system handled the assessment.
We were delighted to have our suspicions confirmed; the computer
system had the same mean and standard deviation of marks as the
three of us. We were satisfied that it worked.
Costing Considerations
Chapter III
RESULTS AND DISCUSSION
Table 1
Frequency and Percentage Distribution of Respondents
Students 81 81%
Teachers 2 2%
Others 17 17%
Interpretation of Data
TOTAL
YES NO SOMETIMES NEVER
PERCENTAGE
3. Is it difficult to search
59 11% 30% 0% 100%
previous grades?
TOTAL
SOMETI NEV
YES NO PERCEN
MES ER
TAGE
1. Does the
computerized
91
grading system 4% 5% 0% 100%
%
speed up the process
of grades?
2. Does the
computerized
79
grading system 3% 18% 0% 100%
%
produce an accurate
output?
3. Can automatic
93
tasking of grades be 3% 4% 0% 100%
%
done after exam?
8. Does proper
86
allocation of grades 2% 12% 0% 100%
%
be done?
Chapter IV
Summary
Conclusion
Recommendation
Chapter 5
The proposed System that we developed for Golden West Colleges will be
efficient in terms of time consuming, space and lessen the costs from their
previous data base. Our Proposed system has a security feature of which the
admin and the teachers are the users by using the log-in form by typing the
System Overview
working methods by replacing the activities done manually with the computer
based system. By automating every activity of the easier and grades are
The proposed system is simple, Interactive and has a very user friendly
interface such that eve those with little or no knowledge about working with
computers can easily operate. A welcome screen starts the program and the
Process Specification
subject module, where the teacher enters the rating of the student for each
grade component, and the grade computation module, where the grade of the
student is calculated based on the inputted ratings for each component, the
main menu is displayed containing three (3) options, namely, to enter student
where pertinent student data, such as student name, address, parents name,
Using the data from the student information database, the teacher
chooses a subject and enters the rating of the student in each grade
grades stored in the subject’s database are then retrieved and used in
OUTPUT
Username
Password
Online Student
student
Grades
Information Grading
Student System
Grade
Component
Rating
Student
Student Component Teacher
Registrar
Information Scores
Subject Grade
Data Specification
Entity Relationship Diagram
The Subject Grade Screen is intended for the subject teacher and this is
where the teacher will enter the grades of the student. Pressing the Math Grade
Button, for example, will display the Math Screen for entering grades.
Chapter 6
SYSTEM CODING (Prototype)
grading/index.php:
<?php
include('config.php');
if(isset($_POST['submit'])){
$user = $_POST['user'];
$pass = $_POST['pass'];
$query = "select * from userdata where username='$user' and
password='$pass'";
$r = mysql_query($query);
if(mysql_num_rows($r) == 1){
$row = mysql_fetch_assoc($r);
$_SESSION['level'] = $row['level'];
$_SESSION['id'] = $row['username'];
$_SESSION['name'] = $row['fname'].' '.$row['lname'];
header('location:'.$row['level'].'');
}else{
header('location:index.php?login=0');
}
}
if(isset($_SESSION['level'])){
header('location:'.$_SESSION['level'].'');
}
?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="">
<meta name="author" content="">
<link rel="icon" href="favicon.ico">
</head>
<body>
<!-- Main jumbotron for a primary marketing message or call to action -->
<div class="jumbotron">
<div class="container">
<h1>Welcome to Online Grading System</h1>
<div class="container">
<!-- Example row of columns -->
<div class="row">
<div class="col-md-4">
<h2 class="center"><i class="fa fa-users fa-5x"></i></h2>
<p><strong>Student Module</strong></p>
<p>Student will login using their ID no and password to view their
grades.</p>
<p><a class="btn btn-default" href="#" role="button">View details
»</a></p>
</div>
<div class="col-md-4">
<h2 class="center"><i class="fa fa-table fa-5x"></i></h2>
<p><strong>Admin Module</strong></p>
<p>Administrator Module has all the priviledge of the system. The admin
can manage the students and faculty information.</p>
<p><a class="btn btn-default" href="#" role="button">View details
»</a></p>
</div>
<div class="col-md-4">
<h2 class="center"><i class="fa fa-tasks fa-5x"></i></h2>
<p><strong>Faculty Module</strong></p>
<p>Faculty Module will be able to view their assigned class and view the
students on that class.</p>
<p><a class="btn btn-default" href="#" role="button">View details
»</a></p>
</div>
</div>
<hr>
<footer>
<p>© Company 2014</p>
</footer>
</div> <!-- /container -->
<!-- Placed at the end of the document so the pages load faster -->
<script src="js/jquery.js"></script>
<script src="js/bootstrap.min.js"></script>
</body>
</html>
grading/logout:
<?php
include('config.php');
$act = $_SESSION['id'].' logged out.';
$date = date('m-d-Y h:i:s A');
mysql_query("insert into log values(null,'$date','$act')");
session_destroy();
header('location:index.php');
?>
grading/admin/class/data/class_model.php:
<?php
function __construct(){
if(!isset($_SESSION['id'])){
header('location:../../');
}
}
//create logs
function logs($act){
$date = date('m-d-Y h:i:s A');
echo $q = "insert into log values(null,'$date','$act')";
mysql_query($q);
return true;
}
$r = mysql_query($q);
return $r;
}
//get class by ID
function getclassbyid($id){
$q = "select * from class where id=$id";
$r = mysql_query($q);
return $r;
}
//add class
function addclass(){
include('../../config.php');
$course = $_POST['course'];
$year = $_POST['year'];
$section = $_POST['section'];
$sem = $_POST['sem'];
$subject = $_POST['subject'];
$sy = $_POST['sy'];
//update class
function updateclass(){
include('../../config.php');
$id = $_GET['id'];
$course = $_POST['course'];
$year = $_POST['year'];
$section = $_POST['section'];
$sem = $_POST['sem'];
$subject = $_POST['subject'];
$sy = $_POST['sy'];
header('location:../classstudent.php?r=duplicate&classid='.$classid.'');
}
header('location:../classstudent.php?r=success&classid='.$classid.'');
}
//update teacher
function updateteacher(){
$classid = $_GET['classid'];
$teachid = $_GET['teachid'];
include('../../config.php');
$q = "update class set teacher=$teachid where id=$classid";
mysql_query($q);
header('location:../classteacher.php?classid='.$classid.'&teacherid='.$teachid.'')
;
}
}
?>
grading/admin/class/data/data_model.php:
<?php
$data = new Data();
if(isset($_GET['q'])){
$data->$_GET['q']();
}
class Data {
function __construct(){
if(!isset($_SESSION['id'])){
header('location:../../');
}
}
//create logs
function logs($act){
$date = date('m-d-Y h:i:s A');
return $r;
}
//get subject by ID
function getsubjectbyid($id){
$q = "select * from subject where id=$id";
$r = mysql_query($q);
return $r;
}
//add subject
function addsubject(){
include('../../config.php');
$code = $_POST['code'];
$title = $_POST['title'];
$unit = $_POST['unit'];
$q = "insert into subject values('','$code','$title','$unit')";
mysql_query($q);
//update subject
function updatesubject(){
include('../../config.php');
$id = $_GET['id'];
$code = $_POST['code'];
$title = $_POST['title'];
$unit = $_POST['unit'];
$q = "update subject set code='$code', title='$title',unit=$unit where
id=$id";
mysql_query($q);
//GLOBAL DELETION
function delete(){
include('../../config.php');
$table = $_GET['table'];
$id = $_GET['id'];
$q = "delete from $table where id=$id";
$r = null;
mysql_query($q);
if($table=='subject'){
$record = $tmp_row['code'];
header('location:../subject.php?r=deleted');
}else if($table=='class'){
$record = $tmp_row['subject'];
header('location:../class.php?r=deleted');
}else if($table=='student'){
$record = $tmp_row['fname'];
header('location:../studentlist.php?r=deleted');
}else if($table=='teacher'){
$record = $tmp_row['fname'];
header('location:../teacherlist.php?r=deleted');
}else if($table=='userdata'){
$record = $tmp_row['username'];
header('location:../users.php?r=deleted');
}
}
?>
grading/admin/class/data/settings_model.php:
<?php
$settings = new Datasettings();
if(isset($_GET['q'])){
$settings->$_GET['q']();
}
class Datasettings {
function __construct(){
if(!isset($_SESSION['id'])){
header('location:../../');
}
}
//create logs
function logs($act){
$date = date('m-d-Y h:i:s A');
echo $q = "insert into log values(null,'$date','$act')";
mysql_query($q);
return true;
}
function changepassword(){
include('../../config.php');
$username = $_GET['username'];
$new = sha1($_POST['new']);
$confirm = sha1($_POST['confirm']);
if($new == $confirm){
$r2 = mysql_query("update userdata set password='$new' where
username='$username'");
header('location:../settings.php?msg=success&username='.$username.'');
}else{
header('location:../settings.php?msg=error&username='.$username.'');
}
function addaccount(){
include('../../config.php');
$level = $_GET['level'];
$id = $_GET['id'];
$q = "select * from $level where id=$id";
$r = mysql_query($q);
$row = mysql_fetch_array($r);
if($level == 'student'){
$username = $row['studid'];
$fname = $row['fname'];
$lname = $row['lname'];
$password = $username;
}else{
$username = $row['teachid'];
$fname = $row['fname'];
$lname = $row['lname'];
$password = $username;
}
$verify = $this->verifyusername($username);
if($verify){
$q2 = "insert into userdata
values(null,'$username','$password','$fname','$lname','$level')";
mysql_query($q2);
header('location:../'.$level.'list.php?r=added an account');
}else{
header('location:../'.$level.'list.php?r=has already an account');
}
function verifyusername($user){
$q = "select * from userdata where username='$user'";
$r = mysql_query($q);
if(mysql_num_rows($r) < 1){
return true;
}else{
return false;
}
}
function getuser($search){
$user = $_SESSION['id'];
$q = "select * from userdata where username !='$user' and username
like '%$search%' order by lname asc";
$r = mysql_query($q);
return $r;
}
}
?>
grading/admin/class/data/student_model.php:
<?php
function __construct(){
if(!isset($_SESSION['id'])){
header('location:../../');
}
}
//create logs
function logs($act){
$date = date('m-d-Y h:i:s A');
echo $q = "insert into log values(null,'$date','$act')";
mysql_query($q);
return true;
}
return $r;
}
//get class by ID
function getstudentbyid($id){
$q = "select * from student where id=$id";
$r = mysql_query($q);
return $r;
}
//add student
function addstudent(){
include('../../config.php');
$studid = $_POST['studid'];
$fname = $_POST['fname'];
$lname = $_POST['lname'];
header('location:../studentlist.php?r=added');
}
//update student
function updatestudent(){
include('../../config.php');
$id = $_GET['id'];
$studid = $_POST['studid'];
$fname = $_POST['fname'];
$lname = $_POST['lname'];
$q = "update student set studid='$studid', fname='$fname',
lname='$lname' where id=$id";
mysql_query($q);
header('location:../studentlist.php?r=updated');
}
//remove from class
function removesubject(){
include('../../config.php');
$studid = $_GET['studid'];
$classid = $_GET['classid'];
mysql_query("delete from studentsubject where studid=$studid and
classid=$classid");
header('location:../studentsubject.php?id='.$studid.'');
}
}
?>
grading/admin/class/data/teacher_model.php
<?php
function __construct(){
if(!isset($_SESSION['id'])){
header('location:../../');
}
}
//create logs
function logs($act){
$date = date('m-d-Y h:i:s A');
echo $q = "insert into log values(null,'$date','$act')";
mysql_query($q);
return true;
}
return $r;
}
//get teacher by ID
function getteacherbyid($id){
$q = "select * from teacher where id=$id";
$r = mysql_query($q);
return $r;
}
//add teacher
function addteacher(){
include('../../config.php');
$teachid = $_POST['teachid'];
$fname = $_POST['fname'];
$lname = $_POST['lname'];
header('location:../teacherlist.php?r=added');
}
//update teacher
function updateteacher(){
include('../../config.php');
$id = $_GET['id'];
$teachid = $_POST['teachid'];
$fname = $_POST['fname'];
$lname = $_POST['lname'];
$q = "update teacher set teachid='$teachid', fname='$fname',
lname='$lname' where id=$id";
mysql_query($q);
header('location:../teacherlist.php?r=updated');
}
include('../../config.php');
$classid = $_GET['classid'];
$teachid = $_GET['teachid'];
mysql_query("update class set teacher=null where id=$classid");
header('location:../teacherload.php?id='.$teachid.'');
}
?>
grading/admin/include/class.php:
<?php
include('include/header.php');
include('include/sidebar.php');
include('data/class_model.php');
<div class="container-fluid">
<li>
<i class="fa fa-dashboard"></i> <a
href="index.php">Dashboard</a>
</li>
<li class="active">
Class
</li>
</ol>
</div>
</div>
<!-- /.row -->
<div class="row">
<div class="col-lg-12">
<div class="form-inline form-padding">
<form action="class.php" method="post">
<input type="text" class="form-control" name="search"
placeholder="Search Class Info...">
<button type="submit" name="submitsearch" class="btn btn-
success"><i class="fa fa-search"></i> Search</button>
<button type="button" class="btn btn-primary" data-
toggle="modal" data-target="#addclass">Add Class</button>
</form>
</div>
</div>
</div>
<!--/.row -->
<hr />
<div class="row">
<div class="col-lg-12">
<?php if(isset($_GET['r'])): ?>
<?php
$r = $_GET['r'];
if($r=='added'){
$classs='success';
}else if($r=='updated'){
$classs='info';
}else if($r=='deleted'){
$classs='danger';
}else{
$classs='hide';
}
?>
<div class="alert alert-<?php echo $classs?> <?php echo $classs;
?>">
<strong>Class info successfully <?php echo $r; ?>!</strong>
</div>
<?php endif; ?>
</div>
</div>
<div class="row">
<div class="col-lg-12">
<div class="table-responsive">
<table class="table table-striped">
<thead>
<tr>
<th>#</th>
<th>Subject</th>
<th>Class Name</th>
<th class="text-center">Semester</th>
<th class="text-center">S.Y.</th>
<th class="text-center">Teacher</th>
<th class="text-center">Students</th>
<th class="text-center">Action</th>
</tr>
</thead>
<tbody>
<?php $c = 1; ?>
<?php while($row = mysql_fetch_array($class)): ?>
<tr>
<td><?php echo $c;?></td>
<td><?php echo $row['subject'];?></td>
<td><?php echo $row['course'].' '.$row['year'].' -
'.$row['section'];?></td>
<td class="text-center"><?php echo $row['sem'];?></td>
<td class="text-center"><?php echo $row['SY'];?></td>
<td class="text-center"><a
href="classteacher.php?classid=<?php echo $row['id'];?>&teacherid=<?php
echo $row['teacher'];?>" title="update teacher">View</a></td>
<td class="text-center"><a
href="classstudent.php?classid=<?php echo $row['id'];?>" title="update
students" title="add student">View</a></td>
<td class="text-center">
<a href="edit.php?type=class&id=<?php echo
$row['id']?>" title="update class"><i class="fa fa-edit fa-2x text-
primary"></i></a>
<a
href="data/data_model.php?q=delete&table=class&id=<?php echo $row['id']?>"
title="delete class"><i class="fa fa-times-circle fa-2x text-danger
confirmation"></i></a></td>
</tr>
<?php $c++; ?>
<?php endwhile; ?>
<?php if(mysql_num_rows($class) < 1): ?>
<tr>
<td colspan="7" class="bg-danger text-danger text-
center">*** EMPTY ***</td>
</tr>
<?php endif; ?>
</tbody>
</table>
</div>
</div>
</div>
</div>
<!-- /.container-fluid -->
</div>
<!-- /#page-wrapper -->
<?php include('include/modal.php'); ?>
<?php include('include/footer.php'); ?>
grading/admin/include/classstudent.php:
<?php
include('include/header.php');
include('include/sidebar.php');
include('data/student_model.php');
include('data/class_model.php');
$search = isset($_POST['search']) ? $_POST['search']: null;
$student = $student->getstudent($search);
$studentsubject = $class->getstudentsubject();
$classid = $_GET['classid'];
?>
<div id="page-wrapper">
<div class="container-fluid">
</tbody>
</table>
<?php } ?>
</div>
</div>
</div>
</div>
<!-- /.container-fluid -->
</div>
<!-- /#page-wrapper -->
<?php include('include/footer.php');
grading/admin/include/classteacher.php:
<?php
include('include/header.php');
include('include/sidebar.php');
include('data/teacher_model.php');
$search = isset($_POST['search']) ? $_POST['search']: null;
$teacher = $teacher->getteacher($search);
$classid = $_GET['classid'];
$teacherid = $_GET['teacherid'];
$rt = mysql_query("select * from teacher where id=$teacherid");
$rs = mysql_fetch_array($rt);
$teacherbyid = $rs['fname'].' '.$rs['lname'];
?>
<div id="page-wrapper">
<div class="container-fluid">
<thead>
<tr>
<th>Teacher ID</th>
<th>Firstname</th>
<th>Lastname</th>
<th class="text-center">Action</th>
</tr>
</thead>
<tbody>
<?php while($row = mysql_fetch_array($teacher)): ?>
<tr>
<td><?php echo $row['teachid']; ?></td>
<td><?php echo $row['fname']; ?></td>
<td><?php echo $row['lname']; ?></td>
<td class="text-center"><a
href="data/class_model.php?q=updateteacher&teachid=<?php echo $row['id'];
?>&classid=<?php echo $classid;?>" class="btn btn-warning">Make as
Teacher</a></td>
</tr>
<?php endwhile;?>
<?php if(mysql_num_rows($teacher) < 1): ?>
<tr>
<td colspan="4" class="text-center text-
danger"><strong>*** NO RESULT ***</strong></td>
</tr>
<?php endif;?>
</tbody>
</table>
</div>
<!-- /.container-fluid -->
</div>
<!-- /#page-wrapper -->
<?php include('include/footer.php');
grading/admin/include/edit.php:
<?php
include('include/header.php');
include('include/sidebar.php');
include('data/data_model.php');
include('data/class_model.php');
include('data/student_model.php');
include('data/teacher_model.php');
$id = $_GET['id'];
$subject = $data->getsubjectbyid($id);
$class = $class->getclassbyid($id);
$student = $student->getstudentbyid($id);
$teacher = $teacher->getteacherbyid($id);
?>
<div id="page-wrapper">
<div class="container-fluid">
</div>
</div>
<!-- /#page-wrapper -->
<?php include('include/footer.php');
class Edit {
<div class="form-group">
<label>Code</label>
<input type="text" class="form-control" value="<?php echo
$row['code']; ?>" name="code" placeholder="subject code" />
</div>
<div class="form-group">
<label>Title</label>
<input type="text" class="form-control" value="<?php echo
$row['title']; ?>" name="title" placeholder="subject title" />
</div>
<div class="form-group">
<label>No. Of Units</label>
<input type="number" min="1" max="5" class="form-control"
value="<?php echo $row['unit']; ?>" name="unit" placeholder="no. of units" />
</div>
</div>
<div class="modal-footer">
<?php }
<div class="form-group">
<input type="text" class="form-control" name="lname"
value="<?php echo $row['lname']; ?>" />
</div>
</div>
<div class="modal-footer">
<a href="studentlist.php"><button type="button" class="btn btn-
default"><i class="fa fa-arrow-left"></i> Back</button></a>
<button type="submit" class="btn btn-primary"><i class="fa fa-
check"></i> Update</button>
</form>
</form>
<?php endwhile; ?>
</div>
<?php
}
<?php
}
}
?>
grading/admin/include/index.php:
<?php
include('include/header.php');
include('include/sidebar.php');
$r1 = mysql_query('select count(*) from student');
$count1 = mysql_fetch_array($r1);
</h1>
<ol class="breadcrumb">
<li class="active">
<i class="fa fa-dashboard"></i> Dashboard
</li>
</ol>
</div>
</div>
<!-- /.row -->
<div class="row">
<div class="col-md-6">
<div class="panel panel-primary">
<div class="panel-heading">
<div class="row">
<div class="col-xs-3">
<i class="fa fa-bar-chart-o fa-5x"></i>
</div>
<div class="col-xs-9 text-right">
<div class="huge"><?php echo $count2[0]; ?></div>
<div>Subjects!</div>
</div>
</div>
</div>
<a href="subject.php">
<div class="panel-footer">
<span class="pull-left">View Details</span>
<span class="pull-right"><i class="fa fa-arrow-circle-right fa-
2x"></i></span>
<div class="clearfix"></div>
</div>
</a>
</div>
</div>
<div class="col-md-6">
<div class="panel panel-green">
<div class="panel-heading">
<div class="row">
<div class="col-xs-3">
<i class="fa fa-users fa-5x"></i>
</div>
<div class="col-xs-9 text-right">
<div class="huge"><?php echo $count1[0]; ?></div>
<div>Students!</div>
</div>
</div>
</div>
<a href="studentlist.php">
<div class="panel-footer">
<span class="pull-left">View Details</span>
<span class="pull-right"><i class="fa fa-arrow-circle-right fa-
2x"></i></span>
<div class="clearfix"></div>
</div>
</a>
</div>
</div>
<div class="col-md-6">
<div class="panel panel-yellow">
<div class="panel-heading">
<div class="row">
<div class="col-xs-3">
<i class="fa fa-user fa-5x"></i>
</div>
<div class="col-xs-9 text-right">
<div class="huge"><?php echo $count3[0]; ?></div>
<div>Teachers!</div>
</div>
</div>
</div>
<a href="teacherlist.php">
<div class="panel-footer">
<span class="pull-left">View Details</span>
<span class="pull-right"><i class="fa fa-arrow-circle-right fa-
2x"></i></span>
<div class="clearfix"></div>
</div>
</a>
</div>
</div>
<div class="col-md-6">
<div class="panel panel-red">
<div class="panel-heading">
<div class="row">
<div class="col-xs-3">
<i class="fa fa-gear fa-5x"></i>
</div>
<div class="col-xs-9 text-right">
<div class="huge"><?php echo $count4[0]; ?></div>
<div>Users!</div>
</div>
</div>
</div>
<a href="users.php">
<div class="panel-footer">
<span class="pull-left">View Details</span>
<span class="pull-right"><i class="fa fa-arrow-circle-right fa-
2x"></i></span>
<div class="clearfix"></div>
</div>
</a>
</div>
</div>
</div>
<!-- /.row -->
</div>
<!-- /.container-fluid -->
</div>
<!-- /#page-wrapper -->
<?php include('include/footer.php');
grading/admin/include/logs.php:
<?php
include('include/header.php');
include('include/sidebar.php');
?>
<div id="page-wrapper">
<div class="container-fluid">
<li class="active">
Logs
</li>
</ol>
</div>
</div>
<!-- /.row -->
<div class="row">
<div class="col-lg-12">
<div class="panel panel-green">
<div class="panel-heading">
<h3 class="panel-title"><i class="fa fa-clock-o fa-fw"></i> Latest
Log Activity</h3>
</div>
<div class="panel-body">
<div class="list-group">
<?php $r = mysql_query("select * from log order by date desc
limit 0,100");?>
</div>
<!-- /.container-fluid -->
</div>
<!-- /#page-wrapper -->
<?php include('include/footer.php');
grading/admin/include/sample.php:
<?php
include('include/header.php');
include('include/sidebar.php');
?>
<div id="page-wrapper">
<div class="container-fluid">
</div>
<!-- /.container-fluid -->
</div>
<!-- /#page-wrapper -->
<?php include('include/footer.php');
grading/admin/include/settings.php:
<?php
include('include/header.php');
include('include/sidebar.php');
$username = isset($_GET['username']) ? $_GET['username'] :
$_SESSION['id'];
?>
<div id="page-wrapper">
<div class="container-fluid">
?>
<?php endif;?>
<form
action="data/settings_model.php?q=changepassword&username=<?php echo
$username;?>" method="post">
<div class="form-group">
<label>New Password</label>
<input type="password" name="new" class="form-control">
</div>
<div class="form-group">
<label>Confirm Password</label>
<input type="password" name="confirm" class="form-control">
</div>
<button type="submit" class="btn btn-success btn-lg"
name="submit">Update Password</button>
</form>
</div>
</div>
</div>
<!-- /.container-fluid -->
</div>
<!-- /#page-wrapper -->
<?php include('include/footer.php');
grading/admin/include/studentlist.php:
<?php
include('include/header.php');
include('include/sidebar.php');
include('data/student_model.php');
<div class="container-fluid">
</div>
<!--/.row -->
<hr />
<div class="row">
<div class="col-lg-12">
<?php if(isset($_GET['r'])): ?>
<?php
$r = $_GET['r'];
if($r=='added'){
$class='success';
}else if($r=='updated'){
$class='info';
}else if($r=='deleted'){
$class='danger';
}else if($r=='added an account'){
$class='success';
}else if($r=='has already an account'){
$class='info';
}else{
$class='hide';
}
?>
<div class="alert alert-<?php echo $class?> <?php echo $classs;
?>">
<strong>1 student successfully <?php echo $r; ?>!</strong>
</div>
<?php endif; ?>
</div>
</div>
<div class="row">
<div class="col-lg-12">
<div class="table-responsive">
<table class="table table-striped">
<thead>
<tr>
<th>#</th>
<th>Student ID</th>
<th>Firstname</th>
<th>Lastname</th>
<th class="text-center">Action</th>
</tr>
</thead>
<tbody>
<?php $c = 1; ?>
</div>
<!-- /.container-fluid -->
</div>
<!-- /#page-wrapper -->
<?php include('include/modal.php'); ?>
<?php include('include/footer.php'); ?>
grading/admin/include/studentsubject.php
<?php
include('include/header.php');
include('include/sidebar.php');
include('data/student_model.php');
include('data/data_model.php');
$id = $_GET['id'];
$student = $student->getstudentbyid($id);
?>
<div id="page-wrapper">
<div class="container-fluid">
<tr>
<th>Subject</th>
<th>Teacher</th>
<th class="text-center">Section</th>
<th class="text-center">Semester</th>
<th class="text-center">Remove</th>
</tr>
</thead>
<tbody>
<?php
$r1 = mysql_query("select * from studentsubject where studid=$id");
while($row = mysql_fetch_array($r1)):
$r2 = mysql_query('select * from class where id='.$row['classid'].'');
while($rows = mysql_fetch_array($r2)):
$r3 = mysql_query('select * from teacher where id='.$rows['teacher'].'');
$teacher = null;
if($r3){
$teacher = mysql_fetch_array($r3);
$teacher = $teacher['fname'].' '.$teacher['lname'];
}?>
<tr>
<td><?php echo $rows['subject']; ?></td>
<td><?php echo $teacher ?></td>
<td class="text-center"><?php echo $rows['section']; ?></td>
<td class="text-center"><?php echo $rows['sem']; ?></td>
<td class="text-center"><a
href="data/student_model.php?q=removesubject&studid=<?php echo
$id;?>&classid=<?php echo $rows['id']; ?>"><i class="fa fa-times-circle text-
danger fa-2x confirmation"></i></a></td>
</tr>
<?php endwhile;
endwhile;
?>
</tbody>
</table>
</div>
</div>
</div>
</div>
<!-- /.container-fluid -->
</div>
<!-- /#page-wrapper -->
<?php include('include/footer.php');
grading/admin/include/subjects.php:
<?php
include('include/header.php');
include('include/sidebar.php');
include('data/data_model.php');
<div class="container-fluid">
<div class="table-responsive">
<table class="table table-striped">
<thead>
<tr>
<th>#</th>
<th>Subject Code</th>
<th>Subject Title</th>
<th class="text-center">Units</th>
<th class="text-center">Remove</th>
</tr>
</thead>
<tbody>
<?php $c = 1; ?>
<?php while($row = mysql_fetch_array($subject)): ?>
<tr>
<td><?php echo $c;?></td>
<td><a href="edit.php?type=subject&id=<?php echo
$row['id']?>"><?php echo $row['code'];?></a></td>
<td><?php echo $row['title'];?></td>
<td class="text-center"><?php echo $row['unit'];?></td>
<td class="text-center"><a
href="data/data_model.php?q=delete&table=subject&id=<?php echo
$row['id']?>"><i class="fa fa-times-circle fa-lg text-danger
confirmation"></i></a></td>
</tr>
<?php $c++; ?>
<?php endwhile; ?>
<?php if(mysql_num_rows($subject) < 1): ?>
<tr>
<td colspan="4" class="bg-danger text-danger text-
center">*** EMPTY ***</td>
</tr>
<?php endif; ?>
</tbody>
</table>
</div>
</div>
</div>
</div>
<!-- /.container-fluid -->
</div>
<!-- /#page-wrapper -->
<?php include('include/modal.php'); ?>
<?php include('include/footer.php'); ?>
grading/admin/include/teacherslist.php:
<?php
include('include/header.php');
include('include/sidebar.php');
include('data/data_model.php');
<div class="container-fluid">
<!--/.row -->
<hr />
<div class="row">
<div class="col-lg-12">
<?php if(isset($_GET['r'])): ?>
<?php
$r = $_GET['r'];
if($r=='added'){
$class='success';
}else if($r=='updated'){
$class='info';
}else if($r=='deleted'){
$class='danger';
}else{
$class='hide';
}
?>
<div class="alert alert-<?php echo $class?> <?php echo $class;
?>">
<strong>Subject successfully <?php echo $r; ?>!</strong>
</div>
<?php endif; ?>
</div>
</div>
<div class="row">
<div class="col-lg-12">
<div class="table-responsive">
<table class="table table-striped">
<thead>
<tr>
<th>#</th>
<th>Subject Code</th>
<th>Subject Title</th>
<th class="text-center">Units</th>
<th class="text-center">Remove</th>
</tr>
</thead>
<tbody>
<?php $c = 1; ?>
<?php while($row = mysql_fetch_array($subject)): ?>
<tr>
<td><?php echo $c;?></td>
<td><a href="edit.php?type=subject&id=<?php echo
$row['id']?>"><?php echo $row['code'];?></a></td>
</div>
<!-- /.container-fluid -->
</div>
<!-- /#page-wrapper -->
<?php include('include/modal.php'); ?>
<?php include('include/footer.php'); ?>
grading/admin/include/teacherload.php:
<?php
include('include/header.php');
include('include/sidebar.php');
include('data/teacher_model.php');
include('data/data_model.php');
$id = $_GET['id'];
$teacher = $teacher->getteacherbyid($id);
?>
<div id="page-wrapper">
<div class="container-fluid">
<tr>
<th class="text-center">Subject</th>
<th class="text-center">Students</th>
<th class="text-center">Section</th>
<th class="text-center">Semester</th>
<th class="text-center">Remove</th>
</tr>
</thead>
<tbody>
<?php
$r1 = mysql_query("select * from class where teacher=$id");
while($row = mysql_fetch_array($r1)):?>
<tr>
<td class="text-center"><?php echo $row['subject']?></td>
<td class="text-center"><a href="classstudent.php?classid=<?php
echo $row['id']?>" target="_blank">View</a></td>
<td class="text-center"><?php echo $row['section']?></td>
<td class="text-center"><?php echo $row['sem']?></td>
<td class="text-center"><a
href="data/teacher_model.php?q=removesubject&teachid=<?php echo
$id;?>&classid=<?php echo $row['id']; ?>"><i class="fa fa-times-circle text-
danger fa-2x confirmation"></i></a></td>
</tr>
<?php endwhile;
?>
</tbody>
</table>
</div>
</div>
</div>
</div>
<!-- /.container-fluid -->
</div>
<!-- /#page-wrapper -->
<?php include('include/footer.php');
grading/admin/include/users.php:
<?php
include('include/header.php');
include('include/sidebar.php');
include('data/settings_model.php');
<div class="container-fluid">
</div>
</div>
</div>
<hr />
<div class="row">
<div class="col-lg-12">
<div class="table-responsive">
<table class="table table-striped table-bordered">
<thead><tr>
<th>Username</th>
<th>Name</th>
<th>Level</th>
<th>Password</th>
<th>Remove</th>
</tr></thead>
<tbody>
<?php while($row = mysql_fetch_array($user)): ?>
<tr>
<td><?php echo $row['username'];?></td>
<td><?php echo $row['lname'].', '.$row['fname'];?></td>
<td><?php echo $row['level'];?></td>
<td><a href="settings.php?username=<?php echo
$row['username'];?>">Update</a></td>
<td><a
href="data/data_model.php?q=delete&table=userdata&id=<?php echo
$row['id']?>" title="Remove" class="text-danger
confirmation">Remove</a></td>
</tr>
<?php endwhile; ?>
</tbody>
</table>
</div>
</div>
</div>
</div>
<!-- /.container-fluid -->
</div>
<!-- /#page-wrapper -->
<?php include('include/footer.php');
grading/css/plugins.css:
grading/css/bootstrap-theme.min.css:
grading/css/bootstrap.min.css:
grading/css/font-awsome.min.css:
grading/css/sb-admin.css:
grading/css/style.css:
grading/database/grading.sql:
-- phpMyAdmin SQL Dump
-- version 3.4.5
-- http://www.phpmyadmin.net
--
-- Host: localhost
-- Generation Time: Nov 27, 2014 at 07:58 AM
-- Server version: 5.5.16
-- PHP Version: 5.3.8
SET SQL_MODE="NO_AUTO_VALUE_ON_ZERO";
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 utf8 */;
--
-- Database: `grading`
--
-- --------------------------------------------------------
--
-- Table structure for table `class`
--
--
-- Dumping data for table `class`
--
INSERT INTO `class` (`id`, `course`, `year`, `section`, `sem`, `teacher`, `subject`)
VALUES
(4, 'BSIT', 'III', 'A', '2nd', '3', 'IT104'),
(7, 'BSIT', 'III', 'A', '2nd', '5', 'IT103'),
(8, 'BSIT', 'I', 'D', '1st', '3', 'IT100'),
(9, 'BSIT', 'I', 'C', '1st', '3', 'IT103'),
(10, 'BSIT', 'IV', 'A', '2nd', '5', 'IT113'),
(14, 'BSIT', 'I', 'D', '2nd', '4', 'IT100');
-- --------------------------------------------------------
--
-- Table structure for table `log`
--
--
-- Dumping data for table `log`
--
-- --------------------------------------------------------
--
-- Table structure for table `student`
--
--
-- Dumping data for table `student`
--
-- --------------------------------------------------------
--
-- Table structure for table `studentsubject`
--
--
-- Dumping data for table `studentsubject`
--
-- --------------------------------------------------------
--
-- Table structure for table `subject`
--
--
-- Dumping data for table `subject`
--
-- --------------------------------------------------------
--
-- Table structure for table `teacher`
--
--
-- Dumping data for table `teacher`
--
-- --------------------------------------------------------
--
-- Table structure for table `userdata`
--
--
-- Dumping data for table `userdata`
--
Programming Language
PHP for the creation of tables and database and in conjunction with
system MS Paint for the developing of the Data Flow Diagram and
that interfaces between modules work and with the expected volume of
data and that the system does what the user requires.
Testing Stages
system. The first testing stage was during the creation of the program
forms and modules. We tested each form and module with random data
to know if it is working.
make sure that data are synchronized, the interfaces between the
modules work, and that there are no broken links. This process was
The last stage was testing the entire system using sample data.
Here, we asked the help of other students to try our system to check if all
unexpected data entries are covered. We also tested the system using
other computers and laptops to test the accuracy of the path were data
are stored.
Testing Schedules
February 10 – Individual testing of all user forms and modules,
database.
data display.
February 23– System test. We tested the whole system after errors
were corrected.
were encountered.
Chapter 8
SYSTEM IMPLEMENTATION PLAN
Resource Requirements
This chapter presents, analyzes, and interprets the data gathered in this
The Existing Process of Online Grading System. They use manual system
in their inventory which they tend to manually check their stocks and
equipment.
Manpower. Manpower is a major need for the success of every business .More
different tasks.
hardware that are used in the system these includes processor, memory, Hard
Table 3.1 Shows the Hardware Requirement for Server-Side and Client-
Side to run in the system were processor Intel® Celeron l® CPU N3350 (or
compatible Processor) and above for faster running of the system, a memory
hard disk drives for the reason that there is a responsibility to reduce the
768, optical drive monitor was included as the hardware components of the
The Minimum Software Requirement. The clients must meet the system
requirements in order to run and use the RAD in a live environment. The
such that no special skills or training are needed to operate it. Basically,
the system will need a System Administrator and a user. The System
opening and closing programs and file management, The user is any
person who knows how to use a computer. For this study, the users are
Implementation Plan
Site Preparation
Prior to the installation of the Online Grading System,
requirements of the system. The computer units that will be used are
Personnel Training
Golden West Colleges and will be scheduled after the end of the of
current school year, when the teachers are no longer busy with their
school work.
processes and their connection to the entire system. Each menu option
will be tackled so that the users would know which option to choose for
entire system with sample data so that the users will be confident in
using the system. The sample data that will be used are the previous
stressed and the users would have a clear understanding of the entire
system.
System Conversion
is required.
are checked and the necessary alterations are done to ensure the path
where databases will be created and stored is correct. This is done for
Data Conversion
System will be implemented during the enrollment period for school year
Implementation Schedule
numbers will be provided to Golden West Colleges that they can use in
Appendix
BIBLIOGRAPHY
Books
Cabros, William C., A Feasibility Study of A Online Management,
Academic and Research Information System for the Mountain State
Agricultural College, 1979
Valacich Joseph et al, Essentials of Systems Analysis & Design, 5th Edition,
Websites
http://www.wikibook.org/
http://dspace.slu.edu.ph/
http://www.planet-source-code.com/
Resource Persons
Hernan Ranchez Leo Virgil Estaquio
Administrator CITE Dean
Golden West Colleges Golden West Colleges
Alaminos City, Pangasinan Alaminos City, Pangasinan