Vidya
Vidya
CHAPTER 1
INTRODUCTION
1. User (Students)
2. Admin (Authorities)
In this Software we can register a student by the authentication code i.e., student id and
password. With help of student id and password student can login his/her account and
view all the notices which is announced by admin.
The objective of Student Management System is to allow the administrator of
organization to edit and find out the personal details of a student and allows the student
to keep up to date his profile.
It will also facilitate keeping all the records of students, such as their id, name, mailing
address, phone number, DOB etc. So all the information about a student will be
available in a few seconds. Overall, it will make Student Information Management an
easier job for the administrator and the student of any organization.
1.2 Objective:
• It helps the educational administrator to handle and manage student’s record.
1.3 Scope :
The system works and fulfil all the functionalities as per the proposed system. It will provide
reduced response time against the queries made by different users. This project is based on
PHP language with MYSQL database which manage the details of the student because it is a
tedious job for any organization. Student Information system will store all the details of the
students including their background information. All possible features such as verification,
validation, security, user friendliness etc. have been considered.
CHAPTER 2
SYSTEM REQUIREMENTS AND SPECIFICATION
2.1 REQUIREMENTS
Hardware Requirements
• RAM : 2 GB or above
Software Requirements
• Frontend : HTML
- Economic feasibility
- Physical feasibility
Technical feasibility:
Economic feasibility:
Money spent on the system must be recorded in the form of benefit from the system.
Tangible benefits:
Intangible benefits:
Physical feasibility:
It involves study to establish the time responses of the new system being created.
For e.g., if the new system takes more than one day to prepare crucial finance statement
for the management, wherever it was required in an hour, the system fails to provide the
same.
It should be clearly established that the new system requirements in the form of time
responses would be completely met with. It may call for increase in cost. If the required
cost is sacrificed then the purpose of the new system may not be achieved even if it was
found to be technically feasible.
• PHP scripts are executed on the server PHP is free to download and use.
• PHP files can contain text, HTML, CSS, JavaScript, and PHP code
• PHP code are executed on the server, and the result is returned to the browser as
plain HTML
• PHP can create, open, read, write, delete, and close files on the server • PHP can
collect form data
• PHP can send and receive cookies
Why PHP?
• PHP runs on various platforms (Windows, Linux, Unix, Mac OS X, etc.) PHP
started out as a small open source project that evolved as more and more people
found out how useful it was.
• Rasmus Lerdorf unleashed the first version of PHP way back in 1994 PHP is
a recursive acronym for "PHP: Hypertext Preprocessor".
• PHP performs system functions, i.e. from files on a system it can create, open,
read, write, and close them
• .PHP can handle forms, i.e. gather data from files, save data to a file, through
email you can send data, return data to the user.
• You add, delete, modify elements within your database through PHP Access
cookies variables and set cookies.
HTML
It can be assisted by technologies such as Cascading Style Sheets (CSS) and scripting
languages such as JavaScript.
Web browsers receive HTML documents from a web server or from local storage and
render the documents into multimedia web pages. HTML describes the structure of a
web page semantically and originally included cues for the appearance of the document.
HTML is a markup language that web browsers use to interpret and compose text,
images, and other material into visual or audible web pages. Default characteristics for
every item of HTML markup are defined in the browser, and these characteristics can
be altered or enhanced by the web page designer's additional use of CSS.
Many of the text elements are found in the 1988 ISO technical report TR 9537
Techniques for using SGML, which in turn covers the features of early text formatting
languages such as that used by the RUNOFF command developed in the early 1960s
for the CTSS (Compatible Time-Sharing System) operating system: these formatting
commands were derived from the commands used by typesetters to manually format
documents. However, the SGML concept of generalized markup is based on elements
(nested annotated ranges with attributes) rather than merely print effects, with also the
separation of structure and markup; HTML has been progressively moved in this
direction with CSS.
A few of the basic tags that can be seen in almost all the HTML documents are
<HTML>, <! Doctype html>, <head>, <span>, <body>, <p>, <div>, <u>, <sub>,
<sup>, <strong>, <em>, <hr>, <br>, <li>, <ol>, <ul>, <a href =…>, header tags like
h1, h2, h3, .., <img src=””/>, etc.
CSS
Cascading Style Sheets, fondly referred to as CSS, is a simple design language
intended to simplify the process of making web pages presentable. CSS handles the
look and feel part of a web page. Using CSS, you can control the color of the text,
the style of fonts, the spacing between paragraphs, how columns are sized and laid
out, what background images or colors are used, layout designs, variations in display
for different devices and screen sizes as well as a variety of other effects. CSS is
easy to learn and understand but it provides powerful control over the presentation
of an HTML document. Most commonly, CSS is combined with the markup
languages HTML or XHTML.
Advantages of CSS
• CSS saves time − You can write CSS once and then reuse same sheet in multiple
HTML pages. You can define a style for each HTML element and apply it to as
many Web pages as you want.
• Pages load faster − If you are using CSS, you do not need to write HTML tag
attributes every time. Just write one CSS rule of a tag and apply it to all the
occurrences of that tag. So less code means faster download times.
• Easy maintenance − To make a global change, simply change the style, and all
elements in all the web pages will be updated automatically.
• Superior styles to HTML − CSS has a much wider array of attributes than
HTML, so you can give a far better look to your HTML page in comparison to
HTML attributes.
• Multiple Device Compatibility − Style sheets allow content to be optimized for
more than one type of device. By using the same HTML document, different
versions of a website can be presented for handheld devices such as PDAs and
cell phones or for printing.
• Global web standards − Now HTML attributes are being deprecated and it is
being recommended to use CSS. So it is a good idea to start using CSS in all the
HTML pages to make them compatible to future browsers.
JAVA SCRIPT
What is JavaScript?
• Advantages of JavaScript
• Less server interaction − you can validate user input before sending the page
off to the server. This saves server traffic, which means less load on your server.
• Immediate feedback to the visitors − they don't have to wait for a page reload
to see if they have forgotten to enter something
• Increased interactivity − you can create interfaces that react when the user
hovers over them with a mouse or activates them via the keyboard.
MY SQL
MySQL Database- MySQL is a fast, easy-to-use RDBMS being used for many
small and big businesses. MySQL is developed, marketed and supported by
MySQL AB, which is a Swedish company.
• MySQL works on many operating systems and with many languages including
PHP, PERL, C, C++, JAVA, etc.
• MySQL works very quickly and works well even with large data sets.
• MySQL is very friendly to PHP, the most appreciated language for web
development.
• MySQL supports large databases, up to 50 million rows or more in a table. The
default file size limit for a table is 4GB, but you can increase this (if your
operating system can handle it) to a theoretical limit of 8 million terabytes (TB).
• MySQL has received positive reviews, and reviewers noticed it "performs
extremely well in the average case" and that the "developer interfaces are there,
and the documentation (not to mention feedback in the real world via Web sites
and the like) is very, very good".
• .It has also been tested to be a "fast, stable and true multi-user, multi-threaded
SQL database server".
Xampp
CHAPTER 3
MODULES
• Dashboard: In this section, admin can see all detail in brief like Total Classes, Total
Students, Total Class Notices and Total Public Notices.
• Public Notices: In this section the admin can manage public notices.
• Pages: In this section admin can manage about us and contact us page of
administration
• Search: In this section admin can search students by their student id.
• Reports: In this section admin can view how much students has been register in
particular dates.
• Admin can also update his profile, change the password and recover the password.
• View Notices: In this section, user (students) can view notices which are announced
by administrator.
• Student can also view his profile, change the password and recover the password.
USER (Non-Register):
• User Registration Module: User can register with username and password.
• User Login Module: Student users registered can Login to view information and
notices.
CHAPTER 4
SYSTEM DESIGN
Design is the first step in the development phase for any techniques and principles
for the purpose of defining a device, a process or system in sufficient detail to
permit its physical realization.
Once the software requirements have been analysed and specified the software design
involves three technical activities - design, coding, implementation and testing that
are required to build and verify the software.
The design activities are of main importance in this phase, because in this activity,
decisions ultimately affecting the success of the software implementation and its ease
of maintenance are made.
These decisions have the final bearing upon reliability and maintainability of the
system. Design is the only way to accurately translate the customer’s requirements
into finished software or a system.
Design is the place where quality is fostered in development. Software design is a
process through which requirements are translated into a representation of software.
Software design is conducted in two steps. Preliminary design is concerned with the
transformation of requirements into data
UML stands for Unified Modeling Language is the successor to the wave of
Object-Oriented Analysis and Design (OOA&D) methods that appeared in the late
80's. It most directly unifies the methods of Brooch, Rumbaugh (OMT) and Jacobson.
The UML is called a modeling language, not a method. Most methods consist at least
in principle, of both a modeling language and a process. The Modeling language is
that notation that methods used to express design.
• UML Analysis modelling, which focuses on the user model and structural
model views of the system?
• In this model the data and functionality are arrived from inside the system.
In this the structural and behavioural as parts of the system are represented as
they are to be built.
In these the structural and behavioural aspects of the environment in which the
system is to be implemented are represented.
Sign In
Dashboard
USER
View Notice
Change Password
Sign In
Dashboard
Manage Class
( Add/Update/Delete )
Manage Students
( Add/Update/Delete )
Manage Notice
( Add/Update/Delete )
Pages (Update)
Search St udents
Report
Change Password
Password Recovery
The data in the system has to be stored and retrieved from database. Designing the
database is part of system design. Data elements and data structures to be stored have
been identified at analysis stage. They are structured and put together to design the
data storage and retrieval system.
A database is a collection of interrelated data stored with minimum redundancy to
serve many users quickly and efficiently. The general objective is to make database
access easy, quick, inexpensive and flexible for the user. Relationships are established
between the data items and unnecessary data items are removed. Normalization is done
to get an internal consistency of data and to have minimum redundancy and maximum
stability. This ensures minimizing data storage required, minimizing chances of data
inconsistencies and optimizing for updates. The MySQL database has been chosen for
developing the relevant databases.
tbladmin table Structure : This table store the admin login and personal
Details.
NAME TYPE
ID int(10)
AdminName varchar(120)
UserName varchar(120)
MobileNumber int(10)
Email varchar(120)
Password varchar(120)
AdminRegdate timestamp
tblclass table Structure : This table store the class and section.
NAME TYPE
ID int(5)
ClassName varchar(50)
Section varchar(20)
CreationDate timestamp
tblnotice table Structure : This table store the notices detail which is announced by
admin.
NAME TYPE
ID int(5)
Notice Title mediumtext
ClassID Int(10)
NoticeMsg mediumtext
CreationDate timestamp
tblpublicnotice table Structure : This table store the public notices detail which is
announced by admin.
NAME TYPE
ID int(5)
Notice Title Varchar(200)
NoticeMessage mediumtext
CreationDate timestamp
tblpage table Structure : This table store the details of about us and contact us pages.
NAME TYPE
ID int(10)
Page Type Varchar(200)
PageTitle mediumtext
PageDescription mediumtext
Email Varchar(200)
MobileNumber bigint(10)
UpdationDate date
tblstudent table Structure : This table store the students details of educational
organization.
NAME TYPE
ID int(10)
StudentName Varchar(200)
StudentEmail Varchar(200)
StudentClass Varchar(100)
Gender Varchar(50)
DOB date
StuID Varchar(200)
FatherName mediumtext
MotherName mediumtext
ContactNumber bigint(10)
AlternateNumber bigint(10)
Address Mediumtext
UserName Varchar(200)
Password Varchar(200)
image Varchar(200)
DateofAdmission timestamp
The class diagram shows a set of classes, interfaces, collaborations and their
relationships.
CHAPTER 5
EXECUTABLE CODE
<?php
session_start();
error_reporting(0);
include('includes/dbconnection.p
hp');
if(isset($_POST['login']))
{
$username=$_POST['username'];
$password=md5($_POST['password']);
$sql ="SELECT ID FROM tbladmin WHERE UserName=:username and
Password=:password";
$query=$dbh->prepare($sql);
$query-> bindParam(':username', $username, PDO::PARAM_STR);
$query-> bindParam(':password', $password, PDO::PARAM_STR);
$query-> execute();
$results=$query->fetchAll(PDO::FETCH_OBJ); if($query-
>rowCount() > 0)
{
foreach ($results as $result) {
$_SESSION['sturecmsaid']=$result->ID;
}
if(!empty($_POST["remember"])
) { //COOKIES for username
setcookie ("user_login",$_POST["username"],time()+ (10 * 365 * 24 * 60 * 60));
<div class="mt-3">
<button class="btn btn-success btn-block loginbtn" name="login"
type="submit">Login</button>
</div>
<div class="my-2 d-flex justify-content-between align-items-center">
<div class="form-check">
<label class="form-check-label text-muted">
<input type="checkbox" id="remember" class="form-check-input"
name="remember" <?php if(isset($_COOKIE["user_login"])) { ?> checked <?php }
?> /> Keep me signed in </label>
</div>
<a href="forgot-password.php" class="auth-link text-black">Forgot
password?</a>
</div>
<div class="mb-2">
<a href="../index.php" class="btn btn-block btn-facebook auth-form-
btn"> <i class="icon-social-home mr-2"></i>Back Home </a>
</div>
</form>
</div>
</div>
</div>
</div>
<!-- content-wrapper ends -->
</div>
<?php
session_start(); error_reporting(0);
include('includes/dbconnection.php'); if
(strlen($_SESSION['sturecmsaid']==0))
{ header('location:logout.php');
} else{
if(isset($_POST['submit']))
{
$stuname=$_POST['stuname'];
$stuemail=$_POST['stuemail'];
$stuclass=$_POST['stuclass'];
$gender=$_POST['gender'];
$dob=$_POST['dob'];
$stuid=$_POST['stuid'];
$fname=$_POST['fname'];
$mname=$_POST['mname'];
$connum=$_POST['connum'];
$altconnum=$_POST['altconnum'];
$address=$_POST['address'];
$uname=$_POST['uname'];
$password=md5($_POST['password']);
$image=$_FILES["image"]["name"];
$ret="select UserName from tblstudent where UserName=:uname || StuID=:stuid";
$query= $dbh -> prepare($ret);
$query->bindParam(':uname',$uname,PDO::PARAM_STR);
$query->bindParam(':stuid',$stuid,PDO::PARAM_STR);
$query-> execute();
Department of Computer Science, Bangalore University
STUDENT MANAGEMENT SYSTEM P a g e | 32
$query->bindParam(':mname',$mname,PDO::PARAM_STR);
$query->bindParam(':connum',$connum,PDO::PARAM_STR);
$query->bindParam(':altconnum',$altconnum,PDO::PARAM_STR);
$query->bindParam(':address',$address,PDO::PARAM_STR);
$query->bindParam(':uname',$uname,PDO::PARAM_STR);
$query->bindParam(':password',$password,PDO::PARAM_STR);
$query->bindParam(':image',$image,PDO::PARAM_STR);
$query->execute();
$LastInsertId=$dbh-
>lastInsertId(); if
($LastInsertId>0) {
echo '<script>alert("Student has been added.")</script>';
echo "<script>window.location.href ='add-
students.php'</script>";
}
els
e
{
echo '<script>alert("Something Went Wrong. Please try again")</script>';
}
}}
else
{ echo "<script>alert('Username or Student Id already exist.
Please try again');</script>";
}
}
?>
<!DOCTYPE html>
<html lang="en">
<head>
<title>Student ERP system|| Add Students</title>
<!-- plugins:css -->
<link rel="stylesheet" href="vendors/simple-line-icons/css/simple-line-
icons.css">
<link rel="stylesheet" href="vendors/flag-icon-css/css/flag-icon.min.css">
<link rel="stylesheet" href="vendors/css/vendor.bundle.base.css">
<!-- endinject -->
<!-- Plugin css for this page -->
<link rel="stylesheet" href="vendors/select2/select2.min.css">
<link rel="stylesheet" href="vendors/select2-bootstrap-
theme/select2bootstrap.min.css">
<!-- End plugin css for this page -->
<!-- inject:css -->
<!-- endinject -->
<!-- Layout styles -->
<link rel="stylesheet" href="css/style.css" />
</head>
<body>
<div class="container-scroller">
<!-- partial:partials/_navbar.html -->
<?php include_once('includes/header.php');?>
<!-- partial -->
<div class="container-fluid page-body-wrapper">
<!-- partial:partials/_sidebar.html -->
<?php include_once('includes/sidebar.php');?>
<!-- partial -->
<div class="main-panel">
<div class="content-wrapper">
<div class="page-header">
<h3 class="page-title"> Add Students </h3>
<nav aria-label="breadcrumb">
<ol class="breadcrumb">
<li class="breadcrumb-item"><a
href="dashboard.php">Dashboard</a></li>
<li class="breadcrumb-item active" aria-current="page"> Add
Students</li>
</ol>
</nav>
</div>
<div class="row">
<div class="col-12 grid-margin stretch-card">
<div class="card">
<div class="card-body">
<h4 class="card-title" style="text-align: center;">Add Students</h4>
<div class="form-group">
<label for="exampleInputName1">Student Name</label>
<input type="text" name="stuname" value="" class="form-control"
required='true'>
</div>
<div class="form-group">
</div>
<div class="form-group">
<label for="exampleInputName1">Date of Birth</label>
<input type="date" name="dob" value="" class="form-control"
required='true'>
</div>
<div class="form-group">
<label for="exampleInputName1">Student ID</label>
<input type="text" name="stuid" value="" class="form-control"
required='true'>
</div>
<div class="form-group">
<label for="exampleInputName1">Student Photo</label>
<input type="file" name="image" value="" class="form-control"
required='true'>
</div>
<h3>Parents/Guardian's details</h3>
<div class="form-group">
<label for="exampleInputName1">Father's Name</label>
<input type="text" name="fname" value="" class="form-control"
required='true'>
</div>
<div class="form-group">
<label for="exampleInputName1">Mother's Name</label>
<input type="text" name="mname" value="" class="form-control"
required='true'>
</div>
<div class="form-group">
<label for="exampleInputName1">Contact Number</label>
<input type="text" name="connum" value="" class="form-control"
required='true' maxlength="10" pattern="[0-9]+">
</div>
<div class="form-group">
<label for="exampleInputName1">Alternate Contact
Number</label> <input type="text" name="altconnum" value=""
class="form-control" required='true' maxlength="10" pattern="[0-9]+">
</div>
<div class="form-group">
<label for="exampleInputName1">Address</label>
<textarea name="address" class="form-control"
required='true'></textarea>
</div>
<h3>Login details</h3>
<div class="form-group">
<label for="exampleInputName1">User Name</label>
<input type="text" name="uname" value="" class="form-control"
required='true'>
</div>
<div class="form-group">
<label for="exampleInputName1">Password</label>
<input type="Password" name="password" value=""
class="formcontrol" required='true'>
</div>
<button type="submit" class="btn btn-primary mr-2"
name="submit">Add</button>
</form>
</div>
</div>
</div>
</div>
</div>
Department of Computer Science, Bangalore University
STUDENT MANAGEMENT SYSTEM P a g e | 39
<div class="container-scroller">
$sql="SELECT
tblstudent.StudentName,tblstudent.StudentEmail,tblstudent.StudentClass,tblstudent.
Ge
nder,tblstudent.DOB,tblstudent.StuID,tblstudent.FatherName,tblstudent.MotherNam
e,t
blstudent.ContactNumber,tblstudent.AltenateNumber,tblstudent.Address,tblstudent.
Us
erName,tblstudent.Password,tblstudent.Image,tblstudent.DateofAdmission,tblclass.
Cla ssName,tblclass.Section from tblstudent join tblclass on
tblclass.ID=tblstudent.StudentClass where tblstudent.StuID=:sid";
$query = $dbh -> prepare($sql);
$query->bindParam(':sid',$sid,PDO::PARAM_STR);
$query->execute();
$results=$query->fetchAll(PDO::FETCH_OBJ);
$cnt=1; if($query-
>rowCount() > 0)
{ foreach($results as
$row)
{ ?>
<tr align="center" class="table-warning">
<td colspan="4" style="font-size:20px;color:blue">
Students Details</td></tr>
<tr class="table-info">
<th>Student Name</th>
<td><?php echo $row->StudentName;?></td>
<th>Student Email</th>
<td><?php echo $row->StudentEmail;?></td>
</tr>
<tr class="table-warning">
<th>Student Class</th>
<td><?php echo $row->ClassName;?> <?php echo $row->Section;?></td>
<th>Gender</th>
<td><?php echo $row->Gender;?></td>
</tr>
<tr class="table-danger">
<th>Date of Birth</th>
<td><?php echo $row->DOB;?></td>
<th>Student ID</th>
<td><?php echo $row->StuID;?></td>
</tr>
<tr class="table-success">
<th>Father Name</th>
<td><?php echo $row->FatherName;?></td>
<th>Mother Name</th>
<td><?php echo $row->MotherName;?></td>
</tr>
<tr class="table-primary">
<th>Contact Number</th>
<td><?php echo $row->ContactNumber;?></td>
<th>Altenate Number</th>
<td><?php echo $row->AltenateNumber;?></td>
</tr>
<tr class="table-progress">
<th>Address</th>
<td><?php echo $row->Address;?></td>
<th>User Name</th>
<td><?php echo $row->UserName;?></td>
</tr>
<tr class="table-info">
<th>Profile Pics</th>
<td><img src="../admin/images/<?php echo $row->Image;?>"></td>
<th>Date of Admission</th>
<td><?php echo $row->DateofAdmission;?></td>
</tr>
<?php $cnt=$cnt+1;}} ?>
</table>
</div>
</div>
</div>
</div>
</div>
<!-- content-wrapper ends -->
<!-- partial:partials/_footer.html -->
<?php include_once('includes/footer.php');?>
<!-- partial -->
</div>
<!-- main-panel ends -->
</div>
<!-- page-body-wrapper ends -->
</div>
<!-- container-scroller -->
<!-- plugins:js -->
<script src="vendors/js/vendor.bundle.base.js"></script>
<!-- endinject -->
<!-- Plugin js for this page -->
<script src="vendors/select2/select2.min.js"></script>
<script src="vendors/typeahead.js/typeahead.bundle.min.js"></script>
<!-- End plugin js for this page -->
<?php
session_start(); //error_reporting(0);
include('includes/dbconnection.php'); if
(strlen($_SESSION['sturecmsstuid']==0))
{ header('location:logout.php');
} else{
?>
<!DOCTYPE html>
<html lang="en">
<head
<title>Student Management System|| View Notice</title>
<!-- plugins:css -->
<link rel="stylesheet" href="vendors/simple-line-icons/css/simple-line-
icons.css">
<link rel="stylesheet" href="vendors/flag-icon-css/css/flag-icon.min.css">
<link rel="stylesheet" href="vendors/css/vendor.bundle.base.css">
<!-- endinject -->
<!-- Plugin css for this page -->
<link rel="stylesheet" href="vendors/select2/select2.min.css">
<link rel="stylesheet" href="vendors/select2-bootstrap-
theme/select2bootstrap.min.css">
<!-- End plugin css for this page -->
<!-- inject:css -->
<!-- endinject -->
<!-- Layout styles -->
<link rel="stylesheet" href="css/style.css" />
</head>
<body>
<div class="container-scroller">
<!-- partial:partials/_navbar.html -->
<?php include_once('includes/header.php');?>
<!-- partial -->
<div class="container-fluid page-body-wrapper">
<!-- partial:partials/_sidebar.html -->
<?php include_once('includes/sidebar.php');?>
<!-- partial -->
<div class="main-panel">
<div class="content-wrapper">
<div class="page-header">
<h3 class="page-title"> View Notice </h3>
<nav aria-label="breadcrumb">
<ol class="breadcrumb">
<li class="breadcrumb-item"><a
href="dashboard.php">Dashboard</a></li>
<li class="breadcrumb-item active" aria-current="page"> View
Notice</li>
</ol>
</nav>
</div>
<div class="row">
<div class="col-12 grid-margin stretch-card">
<div class="card">
<div class="card-body">
<table border="1" class="table table-bordered mg-b-0">
<?php
$stuclass=$_SESSION['stuclass'];
$sql="SELECT
tblclass.ID,tblclass.ClassName,tblclass.Section,tblnotice.NoticeTitle,tblnotice.Creati
on Date,tblnotice.ClassId,tblnotice.NoticeMsg,tblnotice.ID as nid from tblnotice
join tblclass on tblclass.ID=tblnotice.ClassId where tblnotice.ClassId=:stuclass";
$query = $dbh -> prepare($sql);
$query->bindParam(':stuclass',$stuclass,PDO::PARAM_STR);
$query->execute();
$results=$query->fetchAll(PDO::FETCH_OBJ);
$cnt=1; if($query-
>rowCount() > 0) {
foreach($results as $row)
{ ?>
<tr align="center" class="table-warning">
<td colspan="4" style="font-size:20px;color:blue">
Notice</td></tr>
<tr class="table-info">
<th>Notice Announced Date</th>
<td><?php echo $row->CreationDate;?></td>
</tr>
<tr class="table-info">
<th>Noitice Title</th>
<td><?php echo $row->NoticeTitle;?></td>
</tr>
<tr class="table-info">
<th>Message</th>
<td><?php echo $row->NoticeMsg;?></td>
</tr>
<?php $cnt=$cnt+1;}} else { ?>
<tr>
<th colspan="2" style="color:red;">No Notice Found</th>
</tr>
<?php } ?>
</table>
</div>
</div>
</div>
</div>
</div>
<!-- content-wrapper ends -->
<!-- partial:partials/_footer.html -->
<?php include_once('includes/footer.php');?>
<!-- partial -->
</div>
<!-- main-panel ends -->
</div>
<!-- page-body-wrapper ends -->
</div>
<!-- container-scroller -->
<!-- plugins:js -->
<script src="vendors/js/vendor.bundle.base.js"></script>
<!-- endinject -->
<!-- Plugin js for this page -->
<script src="vendors/select2/select2.min.js"></script>
<script src="vendors/typeahead.js/typeahead.bundle.min.js"></script>
<!-- End plugin js for this page -->
<!-- inject:js -->
<script src="js/off-canvas.js"></script>
<script src="js/misc.js"></script>
<!-- endinject -->
<!-- Custom js for this page -->
<script src="js/typeahead.js"></script>
<script src="js/select2.js"></script>
<!-- End custom js for this page -->
</body>
</html><?php } ?>
?>
<!DOCTYPE html>
<html lang="en">
<head>
<body>
<div class="container-scroller">
<!-- partial:partials/_navbar.html -->
<?php include_once('includes/header.php');?>
<!-- partial -->
<div class="container-fluid page-body-wrapper">
<!-- partial:partials/_sidebar.html -->
<?php include_once('includes/sidebar.php');?>
<!-- partial -->
<div class="main-panel">
<div class="content-wrapper">
<div class="page-header">
<h3 class="page-title"> Between Dates Reports </h3>
<nav aria-label="breadcrumb">
<ol class="breadcrumb">
<li class="breadcrumb-item"><a
href="dashboard.php">Dashboard</a></li>
<li class="breadcrumb-item active" aria-current="page"> Between Dates
Reports</li>
</ol>
</nav>
</div>
<div class="row">
<?php
session_start(); error_reporting(0);
include('includes/dbconnection.php'); if
(strlen($_SESSION['sturecmsaid']==0))
{ header('location:logout.php');
} else{
// Code for deletion
if(isset($_GET['delid']))
{
$rid=intval($_GET['delid']);
$sql="delete from tblpublicnotice where ID=:rid";
$query=$dbh->prepare($sql);
$query->bindParam(':rid',$rid,PDO::PARAM_STR);
$query->execute(); echo "<script>alert('Data deleted');</script>"; echo
"<script>window.location.href = 'manage-public-notice.php'</script>";
}
?>
<!DOCTYPE html>
<html lang="en">
<head>
<title>Student Management System|||Manage Public Notice</title>
<!-- plugins:css -->
<link rel="stylesheet" href="vendors/simple-line-icons/css/simple-line-
icons.css">
<link rel="stylesheet" href="vendors/flag-icon-css/css/flag-icon.min.css">
<link rel="stylesheet" href="vendors/css/vendor.bundle.base.css">
<!-- endinject -->
<!-- Plugin css for this page -->
Department of Computer Science, Bangalore University
STUDENT MANAGEMENT SYSTEM P a g e | 56
</ol>
</nav>
</div>
<div class="row">
<div class="col-md-12 grid-margin stretch-card">
<div class="card">
<div class="card-body">
<div class="d-sm-flex align-items-center mb-4">
<h4 class="card-title mb-sm-0">Manage Public Notice</h4>
<a href="#" class="text-dark ml-auto mb-3 mb-sm-0"> View all
Public
Notice</a>
</div>
<div class="table-responsive border rounded p-1">
<table class="table">
<thead>
<tr>
<th class="font-weight-bold">S.No</th>
<th class="font-weight-bold">Notice Title</th>
<th class="font-weight-bold">Notice Date</th>
<th class="font-weight-bold">Action</th>
</tr>
</thead>
<tbody>
<?php if
(isset($_GET['pageno'])) {
$pageno = $_GET['pageno'];
} else {
$pageno = 1;
}
<tr>
<td><?php echo htmlentities($cnt);?></td>
<td><?php echo htmlentities($row->NoticeTitle);?></td>
<td><?php echo htmlentities($row->CreationDate);?></td>
<td>
</table>
</div>
<div align="left">
<ul class="pagination" >
<li><a href="?pageno=1"><strong>First></strong></a></li>
<li class="<?php if($pageno <= 1){ echo 'disabled'; } ?>">
<a href="<?php if($pageno <= 1){ echo '#'; } else { echo
"?pageno=".($pageno
- 1); } ?>"><strong style="padding-left: 10px">Prev></strong></a>
</li>
<li class="<?php if($pageno >= $total_pages){ echo 'disabled'; } ?>">
<a href="<?php if($pageno >= $total_pages){ echo '#'; } else { echo
"?pageno=".($pageno + 1); } ?>"><strong style="padding-left:
10px">Next></strong></a>
</li>
<li><a href="?pageno=<?php echo $total_pages; ?>"><strong
style="paddingleft: 10px">Last</strong></a></li>
</ul>
</div>
</div>
</div>
</div>
</div>
</div>
<script src="vendors/js/vendor.bundle.base.js"></script>
<!-- endinject -->
<!-- Plugin js for this page -->
<script src="./vendors/chart.js/Chart.min.js"></script>
<script src="./vendors/moment/moment.min.js"></script>
<script src="./vendors/daterangepicker/daterangepicker.js"></script>
<script src="./vendors/chartist/chartist.min.js"></script>
<!-- End plugin js for this page -->
<!-- inject:js -->
<script src="js/off-canvas.js"></script>
<script src="js/misc.js"></script>
CHAPTER 6
SCREENSHOTS
6.17 CONTACT US
6.17 SEARCH
CHAPTER 7
TESTING
INTRODUCTION
TESTING OBJECTIVES
• Testing is the process of executing a program with the intent of finding an
error.
LEVELS OF TESTING
1. UNIT TESTING
• Unit Testing is done on individual modules as they are completed and
become executable.
• Interface errors
• Performance errors
• In this testing only output is checked for correctness. The logical flow of
data is not checked.
• Execute all loops at their boundaries and within their operational bounds.
4. INTEGRATION TESTING
Integration testing ensures that the software and the subsystems work together as a
whole. It tests the interface of the entire module to make sure that the modules
behave properly when integrated.
5. SYSTEM TESTING
System testing involves in-house testing of the entire system before delivery to the
user .It aims to satisfy the user that the system meets all requirements of the client’s
specifications.
7. VALIDATION TESTING
The system has been tested and implemented successfully and thus ensured that all
the requirements as listed in the software required specification are completely
fulfilled. In case of erroneous input, corresponding error messages are displayed.
8. OUTPUT TESTING
After performing validation testing, the next step is output testing of the proposed
system since no system could be useful if it does not produce the required specified
format. Asking the users about the format required by the tests and the output generated
by the system under consideration. Here the output format is considered in two ways,
one is on the screen and the other is in printed format. The output format on the screen
is found to be correct as the format was designed in the system design phase according
to the user’s needs. For the hard copy also output comes as the specified requirements
by the users. Hence output testing does not result in any corrections in the system.
CHAPTER 8
CONCLUSION
The project titled as Student Management System was deeply studied and
analysed to design the code and implement. It was done under the guidance of the
experienced project guide. All the current requirements and possibilities have been
taken care during the project time.
Student Management System can be used by education institutes to
maintain the records of students easily. Achieving this objective is difficult using a
manual system as the information is scattered, can be redundant and collecting
relevant information may be very time consuming. All these problems are solved
using this project.
I was not familiar with the PHP language or Visual Studio development environment.
So, I had to learn PHP and JavaScript to complete this project. I found some great
video tutorials and some example, and view them and follow examples to grab
lessons. As we are unexperienced students this is the first time to experience to do
the projects which took more time and efforts to understand the concepts of the
programming languages used in this project. In this path we took more reference and
help from our guide and the college management staffs who helped us during the
course of project. Finally we thank our college for providing us this opportunity to
learn and experience the project work which really important for our career.
FUTURE ENHANCEMENT
This project deals with the various functioning in Student management process. The
main idea is to implement a proper process to system . In our existing system contains
a many operations student and admin login and registration, notices, reports etc.
While the software makes the job of faculty and administrators easy, it also helps the
students in many ways. Students can check notices of different classes without
hovering over the notice board. Also, the students also get the boost in productivity
and efficiency as they can save more time.
The main objective of the Student Management System is to manage the details of
Profiles, Logins, Notices ,Reports. It manages all the information about Profiles,
Student, Fees, Profiles. The project is totally built at administrative end and thus only
the administrator is guaranteed the access.
From the above project we can make future enhancements as mentioned below :
BIBLIOGRAPHY
For PHP
• https://www.w3schools.com/php/default.asp
• https://www.sitepoint.com/php/
• https://www.php.net/
For MySQL
• https://www.mysql.com/
• http://www.mysqltutorial.org
For XAMPP
• https://www.apachefriends.org/download.html