0% found this document useful (0 votes)
617 views101 pages

Online Book Store

Uploaded by

city cyber
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
617 views101 pages

Online Book Store

Uploaded by

city cyber
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
You are on page 1/ 101

CHAPTER – 1

INTRODUCTION

PROJECT INFORMATION

Online Book Store


The Bookshop Automation System is to automate all operations in a bookshop.
Generally it includes the Order Processing, Stock Management and Accounts Management.

Before automating a bookshop we have to understand the concept of automation.

In automation of any operation we make a system which do work automatically as the


respective events occurs, for which it is meant.

There are the some common examples of the automation like that auto pilot system in
the aircraft, automatic home systems (electric system, water system, fire alarm system, doors
system etc). These are best examples of the automation systems.

Here we have tried to develop such automatic system which is provide the automation
on the any type of the bookshop. That means a shop which has the type system which
provides the facility to the customers of the shop to purchase the books from the shop without
any complexity. For example any customer want to purchase any book from the shop than
first of all customer just choose the stream of the book than he/she can see the more than one
type of books there and than he/she can choose the specific book from there. And then
purchase it by paying price on bookshop cash counter and receives its invoice.

1
ABSTRACT

Introduction part gives the information regarding Bookshop Automation


System. It also gives brief introduction about the project under the topic
PROBLEM DEFINITION. It gives a short introduction about Bookshop and
its operations.

The next part is the requirement analysis which is mainly concerned


with study of various requirements such as user, System, Hardware/Software &
Performance. It also includes feasibility study of system.

The next part is on system design which includes interface design,


detailed design. It also includes function flow, DFD, and ER diagram &
database design.

Last part is regarding conclusion about above mention problem.

The project report on “Online book store “consists of four modules. In


the first module contains Book categories, in which information about different
books of different fields are given. User can choose of categories of book of is
interest. second module contains purchase option, user can purchase book
online by personal information and paying amount online through own credit
card .third module contain registry in which user has to register himself with our
book store .our overall project make it easy to purchase book online and also
provide broad category of different subjects book .

2
SCOPE

The name of the project is ONLINE-SHOPPING.


The web site provides both the customer and the merchant his PIN number which is unique.
The web site provides the following facilities to the customers:
 Facilitates easy shopping online any where with free shipping (conditions apply)
 Provides information about the products in categories
 Can avail the facility of purchasing second hand products
 Can reserve or order if the particular product is not available
 Customers are provided with up to date information on the products available
 Provides email facility for future correspondence
 Provides backup facility
 Can add nearly ten products to their shopping cart at a time

The web site will not provide the following facilities to the customers:
 Cannot reserve the product for more than two days
 Cannot reserve more than two products
 Responsibility of damages
 The product cannot be changeable when once confirmed

The web site provides the following facilities to the merchants:


 Facilitates easy bidding facility
 Provides complete information about the customers
 Provides complete information about their products
 Can avail the facility of email correspondence
 Can avail the brand catalog facility
 Provides on spot payment for the product at the time of delivery
 Can know the whereabouts of both the product and the customer who opted his
product
The web site will not provide the following facilities to the merchants:
 Transport facility
 Legal arguments should be settled through the courts individually
 Settlement of miscalculations of the products as the database is filled with the consent
of the merchant

The objective of this web site is to provide easy assistance to both the customer as well as
the merchant with proper database and information.

3
OBJECTIVE

The purpose of this project is to provide easy shopping facility online and easy
selling facility to the merchants of all categories.

4
TOOLS AND PLATFORM

Front end: - ASP 2.0 technology.

Back end: - Microsoft access.

Platform: - Mac OS 9.0


Windows 2000 & above.

Operating system: - Microsoft windows 2000,


Microsoft windows XP,
Microsoft windows vista,
Microsoft windows 7.

Hardware Configuration: -
-Pentium III processor with 1.2 GHz
-128mb ram
-free space of 250mb

5
CHAPTER – 2
SYSTEM DESIGN
DATA FLOW DIAGRAM

6
DATA FLOW DIAGRAM

7
E-R DIAGRAM

8
SYSTEM DEVELOPMENT LIFE CYCLE

9
DATA DESCRIPTION

10
11
MODULES

Register:

12
Profile detail:

13
Store ASP category:

14
Book details:

15
CHAPTER – 3
TESTING

Testing is a set activities that be planned in advanced and conducted systematically. A


strategy for software must accommodate low-levels tests that are necessary to a verify that a
small source code segment has been correctly against customer requirements. A strategy must
provide guidance for the practitioner and a set of milestones for the manager.

Testing can be done by:

i. Unit Testing:

It is process to test an individual module of software

ii. Integration Testing :

It is a process to perform a testing after combine modules.

(1) System Testing:

It is a process to check whether the software is working according to user


requirements or not.

(2) Acceptance Testing:

It is a process to check the software with actual data.

Test cases

Black box Testing :

This test is carried out to see whether all the modules in the softwar are properly
interrelated or not. Here, the nodes are that relationship moves in only one
direction.

A bidirectional link implies that relationship applies in both directions.

16
A simple line represents undirected link.

WHITE BOX TESTING:

White box testing is concerned only with testing the product: it cannot guarantee
that the complete specification has been implementated.

It is implemented so that if the system fails in future we can trace as where the
fault had occurred and by directly concentrating on the error we can easily recover
or solve the problem in future.

White box testing is much more expensive than block box testing it required the
source code to be produced before the tests can be planned and the is much more
laborious in the determination of suitable input data and the determination if the
software is or is not correct.

White box testing is concerned only with testing the software product it cannot
guarantee that the complete specification has been implemented. Black box testing
is concerned only with testing the specification; it cannot guarantee that all parts
of the implementation have been tested. Thus black box testing is against the
specification and will discover faults of omission, indicating that parts of the
specification have not been fulfilled. White box testing is testing against the
implementation and will discover faults of commission, indicating that part of
the implementation is faulty. In order to faulty test a software product both black
and white box testing are required.

17
USER TRAINING

Layouts:

Register:

To access the our book store details, login is compulsory and by this means we can known
who is interested in our book store and also we can gather information of visitor.

Also after filling the registration form the visitor is known as authorized user.

18
Login:

This form provides option to log-on to our service.

Clicking on the login button with correct username and password the user can use the service.

At last after login it will show the message login successful.

19
Profile Details:

Here user can edit profile after login.

User can edit its personal information like username, password, first name, last name,
country, city, address, phone number, credit card number, credit card expire date.

20
Book Details:

This facility gives the information of selected book such as author’s name, ISBN
number,press(publisher) and the price of book.

21
Add to cart:

This is the facility provided to the visitor where user can place all there favorite books at a
single place and can access all at a time.

This is also helpful in final selection of there choice.

22
Cart Details:

In cart detail it shows the books which has been selected before for purchasing and it also
shows the quantity, book name, ISBN number, price, total price.

The user has two options such as remove item and Submit my order.

23
Order Submit:

This gives the conform nation of your order which you had done is submitted successfully.

24
Logoff:

Here visitor can leave the site. And all its previous work done in last login are been removed
because another user can’t access or misuse it.

25
LIMITATIONS

 You can only see what will fit on one page at a time.

 If you have a slow connection or if there are many shoppers at this site, shopping will
take F-O-R-E-V-E-R.

 Online sites malfunction more frequently than B&M stores unexpectedly close.

 You can't buy with cash or write a check (at most sites).

 Errors in billing are more common online.

 Warranties mean nothing if the store has gone bankrupt.

 You can't touch the item, let alone try it on.

 Returns are more difficult online than in B&M stores.

 Shipping and handling costs can be astronomical.

 On-line shopping lacks the personal touch.

 Packaging materials can take over your home (and our earth).

 Dangerous for shopaholics.

 You can read parts of a book at a bookstore but not online.

 Credit card insecurity.

26
FUTURE ENHANCEMENTS

 Fast service

 Reduces the workload

 Good management

 Provide the satisfaction to the customers

 Able to do all type of money transactions

 Remove the complexity in the operations

 Provide the long term relationship with the customers

 Provide the flexibility in the purchasing in the books

 Networking

27
CHAPTER – 4

SOURCE CODE
Index php: In index we have the principal part of the system us we see the Administrator
part and the login part.

<?php
session_start();
error_reporting(0);
include('includes/config.php');?><!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">
<title>School Result Management System</title>
<link rel="stylesheet" href="styles/bootstrap.min.css" media="screen" >
<link rel="stylesheet" href="styles/font-awesome.min.css" media="screen" >
<link rel="stylesheet" href="styles/animate-css/animate.min.css" media="screen" >
<link rel="stylesheet" href="styles/icheck/skins/flat/blue.css" >
<link rel="stylesheet" href="styles/style.css" media="screen" >
<script src="js/modernizr/modernizr.min.js"></script>
</head>
<body class="">
<div class="sup-title">
<div class="title1">
<h1 >Student Result Management System</h1>
</div>
<div class="admin1">
<a href="admin.php">ADMIN</a>
</div>

28
</div>

<div class="main-wrapper">

<div class="login-bg-color bg-black-300">


<div class="row">
<div class="col-md-4 col-md-offset-4">
<div class="panel login-box">
<div class="panel-heading">
<div class="panel-title text-center">
<h4 id="radio1">Student Results</h4>
</div>
</div>
<div class="panel-body p-20">

<form action="result.php" method="post">


<div class="form-group">
<label for="rollid" id="radio1">Enter your Roll Id</label>
<input type="text" class="form-control" id="rollid" placeholder="Enter Your Roll Id"
autocomplete="off" name="rollid">
</div>
<div class="form-group">
<label for="default" class="col-sm-2 control-label" id="radio1"
>Class</label>
<select name="class" class="form-control" id="default" required="required">
<option value="">Select Class</option>
<?php $sql = "SELECT * from tblclasses";
$query = $dbh->prepare($sql);
$query->execute();
$results=$query->fetchAll(PDO::FETCH_OBJ);
if($query->rowCount() > 0)
{

29
foreach($results as $result)
{ ?>
<option value="<?php echo htmlentities($result->id); ?>"><?php echo
htmlentities($result->ClassName); ?>&nbsp; Section-<?php echo htmlentities($result-
>Section); ?></option>
<?php }} ?>
</select>
</div>

<div class="form-group mt-20">


<div class="">

<button type="submit" class="btn btn-success btn-labeled pull-right">Search<span


class="btn-label btn-label-right"><i class="fa fa-check"></i></span></button>
<div class="clearfix"></div>
</div>
</div>

</form>

<hr>

</div>
</div>
<!-- /.panel -->

</div>
<!-- /.col-md-6 col-md-offset-3 -->
</div>
<!-- /.row -->
</div>

30
<!-- /. -->

</div>

<!-- ========== COMMON JS FILES ========== -->


<script src="js/jquery/jquery-2.2.4.min.js"></script>
<script src="js/jquery-ui/jquery-ui.min.js"></script>
<script src="js/bootstrap/bootstrap.min.js"></script>
<script src="js/pace/pace.min.js"></script>
<script src="js/lobipanel/lobipanel.min.js"></script>
<script src="js/iscroll/iscroll.js"></script>

<!-- ========== PAGE JS FILES ========== -->


<script src="js/icheck/icheck.min.js"></script>

<!-- ========== THEME JS ========== -->


<script src="js/main.js"></script>
<script>
$(function(){
$('input.flat-blue-style').iCheck({
checkboxClass: 'icheckbox_flat-blue'
});
});
</script>

<!-- ========== ADD custom.js FILE BELOW WITH YOUR CHANGES


========== -->
</body>
</html>

31
Admin Login: in admin login the administrator add his username and password

<?php
session_start();
error_reporting(0);
include('includes/config.php');
if($_SESSION['alogin']!=''){
$_SESSION['alogin']='';
}
if(isset($_POST['login']))
{
$uname=$_POST['username'];
$password=md5($_POST['password']);
$sql ="SELECT UserName,Password FROM admin WHERE UserName=:uname and
Password=:password";
$query= $dbh -> prepare($sql);
$query-> bindParam(':uname', $uname, PDO::PARAM_STR);
$query-> bindParam(':password', $password, PDO::PARAM_STR);
$query-> execute();
$results=$query->fetchAll(PDO::FETCH_OBJ);
if($query->rowCount() > 0)
{
$_SESSION['alogin']=$_POST['username'];
echo "<script type='text/javascript'> document.location = 'dashboard.php'; </script>";
} else{

echo "<script>alert('Invalid Details');</script>";


}
}
?>

<!DOCTYPE html>
<html lang="en">

32
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Admin Login</title>
<link rel="stylesheet" href="styles/bootstrap.min.css" media="screen" >
<link rel="stylesheet" href="styles/font-awesome.min.css" media="screen" >
<link rel="stylesheet" href="styles/animate-css/animate.min.css" media="screen" >
<link rel="stylesheet" href="styles/icheck/skins/flat/blue.css" >
<link rel="stylesheet" href="styles/style.css" media="screen" >
<script src="js/modernizr/modernizr.min.js"></script>
</head>
<body class="">
<div class="sup-title">
<div class="title1">
<h1 >Student Result Management System</h1>
</div>
<p class="text-muted text-center"><small>Copyright © SRMS by NOLINE
MAGAIA</small></p>

</div>
<div class="main-wrapper">

<div class="panel1">
<div class="row">

<div class="col-lg-6">
<section class="section">
<div class="row mt-40">
<div class="col-md-10 col-md-offset-1 pt-50">

<div class="row mt-30 ">


<div class="col-md-11" >

33
<div class="panel">
<div class="panel-heading">
<div class="panel-title text-center">
<h4 id="radio1">Admin Login</h4>
</div>
</div>
<div class="panel-body p-20">

<form class="form-horizontal" method="post">


<div class="form-group">
<label for="inputEmail3" class="col-sm-2 control-label" id="radio1">Email</label>
<div class="col-sm-10">
<input type="text" name="username" class="form-control" id="inputEmail3"
placeholder="UserName">
</div>
</div>
<div class="form-group">
<label for="inputPassword3" class="col-sm-2 control-label"
id="radio1">Password</label>
<div class="col-sm-10">
<input type="password" name="password" class="form-control" id="inputPassword3"
placeholder="Password">
</div>
</div>

<div class="form-group mt-20">


<div class="col-sm-offset-2 col-sm-10">

<button type="submit" name="login" class="btn btn-success btn-labeled pull-right"


id="radio1">Sign in<span class="btn-label btn-label-right"><i class="fa fa-
check"></i></span></button>
</div>
</div>

34
<div class="col-sm-6">
<a href="index.php" id="radio1">Back to Home</a>
</div>
</form>
</div>
</div>
<!-- /.panel -->

</div>
<!-- /.col-md-11 -->
</div>
<!-- /.row -->
</div>
<!-- /.col-md-12 -->
</div>
<!-- /.row -->
</section>

</div>
<!-- /.col-md-6 -->
</div>
<!-- /.row -->
</div>
<!-- /. -->

</div>
<!-- /.main-wrapper -->

<!-- ========== COMMON JS FILES ========== -->


<script src="js/jquery/jquery-2.2.4.min.js"></script>
<script src="js/jquery-ui/jquery-ui.min.js"></script>
<script src="js/bootstrap/bootstrap.min.js"></script>
<script src="js/pace/pace.min.js"></script>
<script src="js/lobipanel/lobipanel.min.js"></script>

35
<script src="js/iscroll/iscroll.js"></script>

<!-- ========== PAGE JS FILES ========== -->

<!-- ========== THEME JS ========== -->


<script src="js/main.js"></script>
<script>
$(function(){

});
</script>

<!-- ========== ADD custom.js FILE BELOW WITH YOUR CHANGES


========== -->
</body>
</html>

36
Dashboard part:in dashboard part we have the parts that the administrator can organize
and edit the student, classes, results information.

<?php
session_start();
error_reporting(0);
include('includes/config.php');
if(strlen($_SESSION['alogin'])=="")
{
header("Location: index.php");
}
else{
?>
<!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">
<title>Student Result Management System | Dashboard</title>
<link rel="stylesheet" href="css/bootstrap.min.css" media="screen" >
<link rel="stylesheet" href="css/font-awesome.min.css" media="screen" >
<link rel="stylesheet" href="css/animate-css/animate.min.css" media="screen" >
<link rel="stylesheet" href="css/lobipanel/lobipanel.min.css" media="screen" >
<link rel="stylesheet" href="css/toastr/toastr.min.css" media="screen" >
<link rel="stylesheet" href="css/icheck/skins/line/blue.css" >
<link rel="stylesheet" href="css/icheck/skins/line/red.css" >
<link rel="stylesheet" href="css/icheck/skins/line/green.css" >
<link rel="stylesheet" href="css/main.css" media="screen" >
<script src="js/modernizr/modernizr.min.js"></script>
</head>
<body class="top-navbar-fixed">
<div class="main-wrapper">

37
<?php include('includes/topbar.php');?>
<div class="content-wrapper">
<div class="content-container">

<?php include('includes/leftbar.php');?>

<div class="main-page">
<div class="container-fluid">
<div class="row page-title-div">
<div class="col-sm-6">
<h2 class="title">Dashboard</h2>

</div>
<!-- /.col-sm-6 -->
</div>
<!-- /.row -->

</div>
<!-- /.container-fluid -->

<section class="section">
<div class="container-fluid">
<div class="row">
<div class="col-lg-3 col-md-3 col-sm-6 col-xs-12">
<a class="dashboard-stat bg-primary" href="manage-students.php">
<?php
$sql1 ="SELECT StudentId from tblstudents ";
$query1 = $dbh -> prepare($sql1);
$query1->execute();
$results1=$query1->fetchAll(PDO::FETCH_OBJ);
$totalstudents=$query1->rowCount();
?>

<span class="number counter"><?php echo htmlentities($totalstudents);?></span>

38
<span class="name">Regd Users</span>
<span class="bg-icon"><i class="fa fa-users"></i></span>
</a>
<!-- /.dashboard-stat -->
</div>
<!-- /.col-lg-3 col-md-3 col-sm-6 col-xs-12 -->

<div class="col-lg-3 col-md-3 col-sm-6 col-xs-12">


<a class="dashboard-stat bg-danger" href="manage-subjects.php">
<?php
$sql ="SELECT id from tblsubjects ";
$query = $dbh -> prepare($sql);
$query->execute();
$results=$query->fetchAll(PDO::FETCH_OBJ);
$totalsubjects=$query->rowCount();
?>
<span class="number counter"><?php echo htmlentities($totalsubjects);?></span>
<span class="name">Subjects Listed</span>
<span class="bg-icon"><i class="fa fa-ticket"></i></span>
</a>
<!-- /.dashboard-stat -->
</div>
<!-- /.col-lg-3 col-md-3 col-sm-6 col-xs-12 -->

<div class="col-lg-3 col-md-3 col-sm-6 col-xs-12">


<a class="dashboard-stat bg-warning" href="manage-classes.php">
<?php
$sql2 ="SELECT id from tblclasses ";
$query2 = $dbh -> prepare($sql2);
$query2->execute();
$results2=$query2->fetchAll(PDO::FETCH_OBJ);
$totalclasses=$query2->rowCount();
?>
<span class="number counter"><?php echo htmlentities($totalclasses);?></span>

39
<span class="name">Total classes listed</span>
<span class="bg-icon"><i class="fa fa-bank"></i></span>
</a>
<!-- /.dashboard-stat -->
</div>
<!-- /.col-lg-3 col-md-3 col-sm-6 col-xs-12 -->

<div class="col-lg-3 col-md-3 col-sm-6 col-xs-12">


<a class="dashboard-stat bg-success" href="manage-results.php">
<?php
$sql3="SELECT distinct StudentId from tblresult ";
$query3 = $dbh -> prepare($sql3);
$query3->execute();
$results3=$query3->fetchAll(PDO::FETCH_OBJ);
$totalresults=$query3->rowCount();
?>

<span class="number counter"><?php echo htmlentities($totalresults);?></span>


<span class="name">Results Declared</span>
<span class="bg-icon"><i class="fa fa-file-text"></i></span>
</a>
<!-- /.dashboard-stat -->
</div>
<!-- /.col-lg-3 col-md-3 col-sm-6 col-xs-12 -->

</div>
<!-- /.row -->
</div>
<!-- /.container-fluid -->
</section>
<!-- /.section -->

</div>
<!-- /.main-page -->

40
</div>
<!-- /.content-container -->
</div>
<!-- /.content-wrapper -->

</div>
<!-- /.main-wrapper -->

<!-- ========== COMMON JS FILES ========== -->


<script src="js/jquery/jquery-2.2.4.min.js"></script>
<script src="js/jquery-ui/jquery-ui.min.js"></script>
<script src="js/bootstrap/bootstrap.min.js"></script>
<script src="js/pace/pace.min.js"></script>
<script src="js/lobipanel/lobipanel.min.js"></script>
<script src="js/iscroll/iscroll.js"></script>

<!-- ========== PAGE JS FILES ========== -->


<script src="js/prism/prism.js"></script>
<script src="js/waypoint/waypoints.min.js"></script>
<script src="js/counterUp/jquery.counterup.min.js"></script>
<script src="js/amcharts/amcharts.js"></script>
<script src="js/amcharts/serial.js"></script>
<script src="js/amcharts/plugins/export/export.min.js"></script>
<link rel="stylesheet" href="js/amcharts/plugins/export/export.css" type="text/css"
media="all" />
<script src="js/amcharts/themes/light.js"></script>
<script src="js/toastr/toastr.min.js"></script>
<script src="js/icheck/icheck.min.js"></script>

<!-- ========== THEME JS ========== -->


<script src="js/main.js"></script>
<script src="js/production-chart.js"></script>
<script src="js/traffic-chart.js"></script>
<script src="js/task-list.js"></script>

41
<script>
$(function(){

// Counter for dashboard stats


$('.counter').counterUp({
delay: 10,
time: 1000
});

// Welcome notification
toastr.options = {
"closeButton": true,
"debug": false,
"newestOnTop": false,
"progressBar": false,
"positionClass": "toast-top-right",
"preventDuplicates": false,
"onclick": null,
"showDuration": "300",
"hideDuration": "1000",
"timeOut": "5000",
"extendedTimeOut": "1000",
"showEasing": "swing",
"hideEasing": "linear",
"showMethod": "fadeIn",
"hideMethod": "fadeOut"
}
toastr["success"]( "Welcome to student Result Management System!");

});
</script>
</body>
</html>
<?php } ?>

42
Create a classes:

<?php
session_start();
error_reporting(0);
include('includes/config.php');
if(strlen($_SESSION['alogin'])=="")
{
header("Location: index.php");
}
else{
if(isset($_POST['submit']))
{
$classname=$_POST['classname'];
$classnamenumeric=$_POST['classnamenumeric'];
$section=$_POST['section'];
$sql="INSERT INTO tblclasses(ClassName,ClassNameNumeric,Section)
VALUES(:classname,:classnamenumeric,:section)";
$query = $dbh->prepare($sql);
$query->bindParam(':classname',$classname,PDO::PARAM_STR);
$query->bindParam(':classnamenumeric',$classnamenumeric,PDO::PARAM_STR);
$query->bindParam(':section',$section,PDO::PARAM_STR);
$query->execute();
$lastInsertId = $dbh->lastInsertId();
if($lastInsertId)
{
$msg="Class Created successfully";
}
else
{
$error="Something went wrong. Please try again";
}

43
}
?>
<!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">
<title>SMS Admin Create Class</title>
<link rel="stylesheet" href="css/bootstrap.css" media="screen" >
<link rel="stylesheet" href="css/font-awesome.min.css" media="screen" >
<link rel="stylesheet" href="css/animate-css/animate.min.css" media="screen" >
<link rel="stylesheet" href="css/lobipanel/lobipanel.min.css" media="screen" >
<link rel="stylesheet" href="css/prism/prism.css" media="screen" ><!-- USED FOR
DEMO HELP - YOU CAN REMOVE IT -->
<link rel="stylesheet" href="css/main.css" media="screen" >
<script src="js/modernizr/modernizr.min.js"></script>
<style>
.errorWrap {
padding: 10px;
margin: 0 0 20px 0;
background: #fff;
border-left: 4px solid #dd3d36;
-webkit-box-shadow: 0 1px 1px 0 rgba(0,0,0,.1);
box-shadow: 0 1px 1px 0 rgba(0,0,0,.1);
}
.succWrap{
padding: 10px;
margin: 0 0 20px 0;
background: #fff;
border-left: 4px solid #5cb85c;
-webkit-box-shadow: 0 1px 1px 0 rgba(0,0,0,.1);
box-shadow: 0 1px 1px 0 rgba(0,0,0,.1);
}

44
</style>
</head>
<body class="top-navbar-fixed">
<div class="main-wrapper">

<!-- ========== TOP NAVBAR ========== -->


<?php include('includes/topbar.php');?>
<!-----End Top bar>
<!-- ========== WRAPPER FOR BOTH SIDEBARS & MAIN CONTENT
========== -->
<div class="content-wrapper">
<div class="content-container">

<!-- ========== LEFT SIDEBAR ========== -->


<?php include('includes/leftbar.php');?>
<!-- /.left-sidebar -->

<div class="main-page">
<div class="container-fluid">
<div class="row page-title-div">
<div class="col-md-6">
<h2 class="title">Create Student Class</h2>
</div>

</div>
<!-- /.row -->
<div class="row breadcrumb-div">
<div class="col-md-6">
<ul class="breadcrumb">
<li><a href="dashboard.php"><i
class="fa fa-home"></i> Home</a></li>
<li><a href="#">Classes</a></li>
<li class="active">Create Class</li>
</ul>

45
</div>

</div>
<!-- /.row -->
</div>
<!-- /.container-fluid -->

<section class="section">
<div class="container-fluid">

<div class="row">
<div class="col-md-8 col-md-offset-2">
<div class="panel">
<div class="panel-heading">
<div class="panel-title">
<h5>Create Student Class</h5>
</div>
</div>
<?php if($msg){?>
<div class="alert alert-success left-icon-alert" role="alert">
<strong>Well done!</strong><?php echo htmlentities($msg); ?>
</div><?php }
else if($error){?>
<div class="alert alert-danger left-icon-alert" role="alert">
<strong>Oh snap!</strong><?php echo htmlentities($error); ?>
</div>
<?php } ?>

<div class="panel-body">

46
<form method="post">
<div class="form-group has-success">
<label for="success" class="control-label">Class Name</label>
<div class="">
<input type="text" name="classname" class="form-control"
required="required" id="success">
<span class="help-block">Eg- Third, Fouth,Sixth etc</span>
</div>
</div>
<div class="form-group has-success">
<label for="success" class="control-label">Class Name in Numeric</label>
<div class="">
<input type="number" name="classnamenumeric" required="required" class="form-
control" id="success">
<span class="help-block">Eg- 1,2,4,5 etc</span>
</div>
</div>
<div class="form-group has-success">
<label for="success" class="control-label">Section</label>
<div class="">
<input type="text" name="section" class="form-control" required="required"
id="success">
<span class="help-block">Eg- A,B,C etc</span>
</div>
</div>
<div class="form-group has-success">

<div class="">
<button type="submit" name="submit" class="btn btn-success btn-labeled">Submit<span
class="btn-label btn-label-right"><i class="fa fa-check"></i></span></button>
</div>

</form>

47
</div>
</div>
</div>
<!-- /.col-md-8 col-md-offset-2 -->
</div>
<!-- /.row -->

</div>
<!-- /.container-fluid -->
</section>
<!-- /.section -->

</div>
<!-- /.main-page -->

</div>
<!-- /.content-container -->
</div>
<!-- /.content-wrapper -->

</div>
<!-- /.main-wrapper -->

<!-- ========== COMMON JS FILES ========== -->


<script src="js/jquery/jquery-2.2.4.min.js"></script>
<script src="js/jquery-ui/jquery-ui.min.js"></script>
<script src="js/bootstrap/bootstrap.min.js"></script>
<script src="js/pace/pace.min.js"></script>
<script src="js/lobipanel/lobipanel.min.js"></script>
<script src="js/iscroll/iscroll.js"></script>

<!-- ========== PAGE JS FILES ========== -->


<script src="js/prism/prism.js"></script>

48
<!-- ========== THEME JS ========== -->
<script src="js/main.js"></script>

<!-- ========== ADD custom.js FILE BELOW WITH YOUR CHANGES


========== -->
</body>
</html>
<?php } ?>

Manage Classes:in manage classes we can edit and organize, dividing with sections or
groups.

<?php
session_start();
error_reporting(0);
include('includes/config.php');
if(strlen($_SESSION['alogin'])=="")
{
header("Location: index.php");
}
else{
?>
<!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">

49
<title>Admin Manage Classes</title>
<link rel="stylesheet" href="css/bootstrap.min.css" media="screen" >
<link rel="stylesheet" href="css/font-awesome.min.css" media="screen" >
<link rel="stylesheet" href="css/animate-css/animate.min.css" media="screen" >
<link rel="stylesheet" href="css/lobipanel/lobipanel.min.css" media="screen" >
<link rel="stylesheet" href="css/prism/prism.css" media="screen" ><!-- USED FOR
DEMO HELP - YOU CAN REMOVE IT -->
<link rel="stylesheet" type="text/css" href="js/DataTables/datatables.min.css"/>
<link rel="stylesheet" href="css/main.css" media="screen" >
<script src="js/modernizr/modernizr.min.js"></script>
<style>
.errorWrap {
padding: 10px;
margin: 0 0 20px 0;
background: #fff;
border-left: 4px solid #dd3d36;
-webkit-box-shadow: 0 1px 1px 0 rgba(0,0,0,.1);
box-shadow: 0 1px 1px 0 rgba(0,0,0,.1);
}
.succWrap{
padding: 10px;
margin: 0 0 20px 0;
background: #fff;
border-left: 4px solid #5cb85c;
-webkit-box-shadow: 0 1px 1px 0 rgba(0,0,0,.1);
box-shadow: 0 1px 1px 0 rgba(0,0,0,.1);
}
</style>
</head>
<body class="top-navbar-fixed">
<div class="main-wrapper">

<!-- ========== TOP NAVBAR ========== -->


<?php include('includes/topbar.php');?>

50
<!-- ========== WRAPPER FOR BOTH SIDEBARS & MAIN CONTENT
========== -->
<div class="content-wrapper">
<div class="content-container">
<?php include('includes/leftbar.php');?>

<div class="main-page">
<div class="container-fluid">
<div class="row page-title-div">
<div class="col-md-6">
<h2 class="title">Manage Classes</h2>

</div>

<!-- /.col-md-6 text-right -->


</div>
<!-- /.row -->
<div class="row breadcrumb-div">
<div class="col-md-6">
<ul class="breadcrumb">
<li><a href="dashboard.php"><i
class="fa fa-home"></i> Home</a></li>
<li> Classes</li>
<li class="active">Manage Classes</li>
</ul>
</div>

</div>
<!-- /.row -->
</div>
<!-- /.container-fluid -->
<section class="section">
<div class="container-fluid">

51
<div class="row">
<div class="col-md-12">

<div class="panel">
<div class="panel-heading">
<div class="panel-title">
<h5>View Classes Info</h5>
</div>
</div>
<?php if($msg){?>
<div class="alert alert-success left-icon-alert" role="alert">
<strong>Well done!</strong><?php echo htmlentities($msg); ?>
</div><?php }
else if($error){?>
<div class="alert alert-danger left-icon-alert" role="alert">
<strong>Oh snap!</strong><?php echo htmlentities($error); ?>
</div>
<?php } ?>
<div class="panel-body p-20">

<table id="example" class="display table table-striped table-bordered" cellspacing="0"


width="100%">
<thead>
<tr>
<th>#</th>
<th>Class Name</th>
<th>Class Name Numeric</th>
<th>Section</th>
<th>Creation Date</th>
<th>Action</th>
</tr>
</thead>

52
<tfoot>
<tr>
<th>#</th>
<th>Class Name</th>
<th>Class Name Numeric</th>
<th>Section</th>
<th>Creation Date</th>
<th>Action</th>
</tr>
</tfoot>
<tbody>
<?php $sql = "SELECT * from tblclasses";
$query = $dbh->prepare($sql);
$query->execute();
$results=$query->fetchAll(PDO::FETCH_OBJ);
$cnt=1;
if($query->rowCount() > 0)
{
foreach($results as $result)
{ ?>
<tr>
<td><?php echo htmlentities($cnt);?></td>
<td><?php echo htmlentities($result->ClassName);?></td>
<td><?php echo htmlentities($result->ClassNameNumeric);?></td>
<td><?php echo htmlentities($result->Section);?></td>
<td><?php echo htmlentities($result->CreationDate);?></td>
<td>
<a href="edit-class.php?classid=<?php echo htmlentities($result->id);?>"><i class="fa
fa-edit" title="Edit Record"></i></a>

</td>
</tr>
<?php $cnt=$cnt+1;}} ?>

53
</tbody>
</table>

<!-- /.col-md-12 -->


</div>
</div>
</div>
<!-- /.col-md-6 -->

</div>
<!-- /.col-md-12 -->
</div>
</div>
<!-- /.panel -->
</div>
<!-- /.col-md-6 -->

</div>
<!-- /.row -->

</div>
<!-- /.container-fluid -->
</section>
<!-- /.section -->

</div>
<!-- /.main-page -->

</div>
<!-- /.content-container -->
</div>
<!-- /.content-wrapper -->

54
</div>
<!-- /.main-wrapper -->

<!-- ========== COMMON JS FILES ========== -->


<script src="js/jquery/jquery-2.2.4.min.js"></script>
<script src="js/bootstrap/bootstrap.min.js"></script>
<script src="js/pace/pace.min.js"></script>
<script src="js/lobipanel/lobipanel.min.js"></script>
<script src="js/iscroll/iscroll.js"></script>

<!-- ========== PAGE JS FILES ========== -->


<script src="js/prism/prism.js"></script>
<script src="js/DataTables/datatables.min.js"></script>

<!-- ========== THEME JS ========== -->


<script src="js/main.js"></script>
<script>
$(function($) {
$('#example').DataTable();

$('#example2').DataTable( {
"scrollY": "300px",
"scrollCollapse": true,
"paging": false
} );

$('#example3').DataTable();
});
</script>
</body>
</html>
<?php } ?>

55
Create Subject: to create a subject we or the administrator can create a subject with the
respective program of the course.

<?php
session_start();
error_reporting(0);
include('includes/config.php');
if(strlen($_SESSION['alogin'])=="")
{
header("Location: index.php");
}
else{
if(isset($_POST['submit']))
{
$subjectname=$_POST['subjectname'];
$subjectcode=$_POST['subjectcode'];
$sql="INSERT INTO tblsubjects(SubjectName,SubjectCode)
VALUES(:subjectname,:subjectcode)";
$query = $dbh->prepare($sql);
$query->bindParam(':subjectname',$subjectname,PDO::PARAM_STR);
$query->bindParam(':subjectcode',$subjectcode,PDO::PARAM_STR);
$query->execute();
$lastInsertId = $dbh->lastInsertId();
if($lastInsertId)
{
$msg="Subject Created successfully";
}
else
{
$error="Something went wrong. Please try again";
}

56
?>
<!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">
<title>SMS Admin Subject Creation </title>
<link rel="stylesheet" href="css/bootstrap.min.css" media="screen" >
<link rel="stylesheet" href="css/font-awesome.min.css" media="screen" >
<link rel="stylesheet" href="css/animate-css/animate.min.css" media="screen" >
<link rel="stylesheet" href="css/lobipanel/lobipanel.min.css" media="screen" >
<link rel="stylesheet" href="css/prism/prism.css" media="screen" >
<link rel="stylesheet" href="css/select2/select2.min.css" >
<link rel="stylesheet" href="css/main.css" media="screen" >
<script src="js/modernizr/modernizr.min.js"></script>
</head>
<body class="top-navbar-fixed">
<div class="main-wrapper">

<!-- ========== TOP NAVBAR ========== -->


<?php include('includes/topbar.php');?>
<!-- ========== WRAPPER FOR BOTH SIDEBARS & MAIN CONTENT
========== -->
<div class="content-wrapper">
<div class="content-container">

<!-- ========== LEFT SIDEBAR ========== -->


<?php include('includes/leftbar.php');?>
<!-- /.left-sidebar -->

<div class="main-page">

<div class="container-fluid">

57
<div class="row page-title-div">
<div class="col-md-6">
<h2 class="title">Subject Creation</h2>

</div>

<!-- /.col-md-6 text-right -->


</div>
<!-- /.row -->
<div class="row breadcrumb-div">
<div class="col-md-6">
<ul class="breadcrumb">
<li><a href="dashboard.php"><i class="fa fa-home"></i> Home</a></li>
<li> Subjects</li>
<li class="active">Create Subject</li>
</ul>
</div>

</div>
<!-- /.row -->
</div>
<div class="container-fluid">

<div class="row">
<div class="col-md-12">
<div class="panel">
<div class="panel-heading">
<div class="panel-title">
<h5>Create Subject</h5>
</div>
</div>
<div class="panel-body">
<?php if($msg){?>
<div class="alert alert-success left-icon-alert" role="alert">

58
<strong>Well done!</strong><?php echo htmlentities($msg); ?>
</div><?php }
else if($error){?>
<div class="alert alert-danger left-icon-alert" role="alert">
<strong>Oh snap!</strong><?php echo htmlentities($error); ?>
</div>
<?php } ?>
<form class="form-horizontal" method="post">
<div class="form-group">
<label for="default" class="col-sm-2 control-label">Subject Name</label>
<div class="col-sm-10">
<input type="text" name="subjectname" class="form-control" id="default"
placeholder="Subject Name" required="required">
</div>
</div>
<div class="form-group">
<label for="default" class="col-sm-2 control-label">Subject Code</label>
<div class="col-sm-10">
<input type="text" name="subjectcode" class="form-control" id="default"
placeholder="Subject Code" required="required">
</div>
</div>

<div class="form-group">
<div class="col-sm-offset-2 col-sm-10">
<button type="submit" name="submit" class="btn btn-primary">Submit</button>
</div>
</div>
</form>

</div>
</div>

59
</div>
<!-- /.col-md-12 -->
</div>
</div>
</div>
<!-- /.content-container -->
</div>
<!-- /.content-wrapper -->
</div>
<!-- /.main-wrapper -->
<script src="js/jquery/jquery-2.2.4.min.js"></script>
<script src="js/bootstrap/bootstrap.min.js"></script>
<script src="js/pace/pace.min.js"></script>
<script src="js/lobipanel/lobipanel.min.js"></script>
<script src="js/iscroll/iscroll.js"></script>
<script src="js/prism/prism.js"></script>
<script src="js/select2/select2.min.js"></script>
<script src="js/main.js"></script>
<script>
$(function($) {
$(".js-states").select2();
$(".js-states-limit").select2({
maximumSelectionLength: 2
});
$(".js-states-hide").select2({
minimumResultsForSearch: Infinity
});
});
</script>
</body>
</html>
<?PHP } ?>

60
Manage Subject:in manage subject we can edit the subject or make sure that is belong to
that program.

<?php
session_start();
error_reporting(0);
include('includes/config.php');
if(strlen($_SESSION['alogin'])=="")
{
header("Location: index.php");
}
else{

?>
<!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">
<title>Admin Manage Subjects</title>
<link rel="stylesheet" href="css/bootstrap.min.css" media="screen" >
<link rel="stylesheet" href="css/font-awesome.min.css" media="screen" >
<link rel="stylesheet" href="css/animate-css/animate.min.css" media="screen" >
<link rel="stylesheet" href="css/lobipanel/lobipanel.min.css" media="screen" >
<link rel="stylesheet" href="css/prism/prism.css" media="screen" ><!-- USED FOR
DEMO HELP - YOU CAN REMOVE IT -->
<link rel="stylesheet" type="text/css" href="js/DataTables/datatables.min.css"/>
<link rel="stylesheet" href="css/main.css" media="screen" >
<script src="js/modernizr/modernizr.min.js"></script>
<style>
.errorWrap {

61
padding: 10px;
margin: 0 0 20px 0;
background: #fff;
border-left: 4px solid #dd3d36;
-webkit-box-shadow: 0 1px 1px 0 rgba(0,0,0,.1);
box-shadow: 0 1px 1px 0 rgba(0,0,0,.1);
}
.succWrap{
padding: 10px;
margin: 0 0 20px 0;
background: #fff;
border-left: 4px solid #5cb85c;
-webkit-box-shadow: 0 1px 1px 0 rgba(0,0,0,.1);
box-shadow: 0 1px 1px 0 rgba(0,0,0,.1);
}
</style>
</head>
<body class="top-navbar-fixed">
<div class="main-wrapper">

<!-- ========== TOP NAVBAR ========== -->


<?php include('includes/topbar.php');?>
<!-- ========== WRAPPER FOR BOTH SIDEBARS & MAIN CONTENT
========== -->
<div class="content-wrapper">
<div class="content-container">
<?php include('includes/leftbar.php');?>

<div class="main-page">
<div class="container-fluid">
<div class="row page-title-div">
<div class="col-md-6">
<h2 class="title">Manage Subjects</h2>

62
</div>

<!-- /.col-md-6 text-right -->


</div>
<!-- /.row -->
<div class="row breadcrumb-div">
<div class="col-md-6">
<ul class="breadcrumb">
<li><a href="dashboard.php"><i
class="fa fa-home"></i> Home</a></li>
<li> Subjects</li>
<li class="active">Manage Subjects</li>
</ul>
</div>

</div>
<!-- /.row -->
</div>
<!-- /.container-fluid -->

<section class="section">
<div class="container-fluid">

<div class="row">
<div class="col-md-12">

<div class="panel">
<div class="panel-heading">
<div class="panel-title">
<h5>View Subjects Info</h5>
</div>
</div>

63
<?php if($msg){?>
<div class="alert alert-success left-icon-alert" role="alert">
<strong>Well done!</strong><?php echo htmlentities($msg); ?>
</div><?php }
else if($error){?>
<div class="alert alert-danger left-icon-alert" role="alert">
<strong>Oh snap!</strong><?php echo htmlentities($error); ?>
</div>
<?php } ?>
<div class="panel-body p-20">

<table id="example" class="display table table-striped table-bordered" cellspacing="0"


width="100%">
<thead>
<tr>
<th>#</th>
<th>Subject Name</th>
<th>Subject Code</th>
<th>Creation Date</th>
<th>Updation Date</th>
<th>Action</th>
</tr>
</thead>
<tfoot>
<tr>
<th>#</th>
<th>Subject Name</th>
<th>Subject Code</th>
<th>Creation Date</th>
<th>Updation Date</th>
<th>Action</th>
</tr>
</tfoot>
<tbody>

64
<?php $sql = "SELECT * from tblsubjects";
$query = $dbh->prepare($sql);
$query->execute();
$results=$query->fetchAll(PDO::FETCH_OBJ);
$cnt=1;
if($query->rowCount() > 0)
{
foreach($results as $result)
{ ?>
<tr>
<td><?php echo htmlentities($cnt);?></td>
<td><?php echo htmlentities($result->SubjectName);?></td>
<td><?php echo htmlentities($result->SubjectCode);?></td>
<td><?php echo htmlentities($result->Creationdate);?></td>
<td><?php echo htmlentities($result->UpdationDate);?></td>
<td>
<a href="edit-subject.php?subjectid=<?php echo htmlentities($result->id);?>"><i
class="fa fa-edit" title="Edit Record"></i></a>

</td>
</tr>
<?php $cnt=$cnt+1;}} ?>

</tbody>
</table>
<!-- /.col-md-12 -->
</div>
</div>
</div>
<!-- /.col-md-6 -->

</div>
<!-- /.col-md-12 -->

65
</div>
</div>
<!-- /.panel -->
</div>
<!-- /.col-md-6 -->

</div>
<!-- /.row -->

</div>
<!-- /.container-fluid -->
</section>
<!-- /.section -->

</div>
<!-- /.main-page -->
</div>
<!-- /.content-container -->
</div>
<!-- /.content-wrapper -->

</div>
<!-- /.main-wrapper -->

<!-- ========== COMMON JS FILES ========== -->


<script src="js/jquery/jquery-2.2.4.min.js"></script>
<script src="js/bootstrap/bootstrap.min.js"></script>
<script src="js/pace/pace.min.js"></script>
<script src="js/lobipanel/lobipanel.min.js"></script>
<script src="js/iscroll/iscroll.js"></script>

<!-- ========== PAGE JS FILES ========== -->


<script src="js/prism/prism.js"></script>
<script src="js/DataTables/datatables.min.js"></script>

66
<!-- ========== THEME JS ========== -->
<script src="js/main.js"></script>
<script>
$(function($) {
$('#example').DataTable();

$('#example2').DataTable( {
"scrollY": "300px",
"scrollCollapse": true,
"paging": false
} );
$('#example3').DataTable();
});
</script>
</body>
</html>
<?php } ?>

Add Subject Combination: this part the administrator can add the subject combination
with the respective program of the course.

<?php
session_start();
error_reporting(0);
include('includes/config.php');
if(strlen($_SESSION['alogin'])=="")
{
header("Location: index.php");
}
else{
// for activate Subject

67
if(isset($_GET['acid']))
{
$acid=intval($_GET['acid']);
$status=1;
$sql="update tblsubjectcombination set status=:status where id=:acid ";
$query = $dbh->prepare($sql);
$query->bindParam(':acid',$acid,PDO::PARAM_STR);
$query->bindParam(':status',$status,PDO::PARAM_STR);
$query->execute();
$msg="Subject Activate successfully";
}

// for Deactivate Subject


if(isset($_GET['did']))
{
$did=intval($_GET['did']);
$status=0;
$sql="update tblsubjectcombination set status=:status where id=:did ";
$query = $dbh->prepare($sql);
$query->bindParam(':did',$did,PDO::PARAM_STR);
$query->bindParam(':status',$status,PDO::PARAM_STR);
$query->execute();
$msg="Subject Deactivate successfully";
}
?>
<!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">
<title>Admin Manage Subjects Combination</title>
<link rel="stylesheet" href="css/bootstrap.min.css" media="screen" >
<link rel="stylesheet" href="css/font-awesome.min.css" media="screen" >

68
<link rel="stylesheet" href="css/animate-css/animate.min.css" media="screen" >
<link rel="stylesheet" href="css/lobipanel/lobipanel.min.css" media="screen" >
<link rel="stylesheet" href="css/prism/prism.css" media="screen" ><!-- USED FOR
DEMO HELP - YOU CAN REMOVE IT -->
<link rel="stylesheet" type="text/css" href="js/DataTables/datatables.min.css"/>
<link rel="stylesheet" href="css/main.css" media="screen" >
<script src="js/modernizr/modernizr.min.js"></script>
<style>
.errorWrap {
padding: 10px;
margin: 0 0 20px 0;
background: #fff;
border-left: 4px solid #dd3d36;
-webkit-box-shadow: 0 1px 1px 0 rgba(0,0,0,.1);
box-shadow: 0 1px 1px 0 rgba(0,0,0,.1);
}
.succWrap{
padding: 10px;
margin: 0 0 20px 0;
background: #fff;
border-left: 4px solid #5cb85c;
-webkit-box-shadow: 0 1px 1px 0 rgba(0,0,0,.1);
box-shadow: 0 1px 1px 0 rgba(0,0,0,.1);
}
</style>
</head>
<body class="top-navbar-fixed">
<div class="main-wrapper">

<!-- ========== TOP NAVBAR ========== -->


<?php include('includes/topbar.php');?>
<!-- ========== WRAPPER FOR BOTH SIDEBARS & MAIN CONTENT
========== -->
<div class="content-wrapper">

69
<div class="content-container">
<?php include('includes/leftbar.php');?>

<div class="main-page">
<div class="container-fluid">
<div class="row page-title-div">
<div class="col-md-6">
<h2 class="title">Manage Subjects Combination</h2>

</div>

<!-- /.col-md-6 text-right -->


</div>
<!-- /.row -->
<div class="row breadcrumb-div">
<div class="col-md-6">
<ul class="breadcrumb">
<li><a href="dashboard.php"><i
class="fa fa-home"></i> Home</a></li>
<li> Subjects</li>
<li class="active">Manage Subjects
Combination</li>
</ul>
</div>

</div>
<!-- /.row -->
</div>
<!-- /.container-fluid -->

<section class="section">
<div class="container-fluid">

70
<div class="row">
<div class="col-md-12">

<div class="panel">
<div class="panel-heading">
<div class="panel-title">
<h5>View Subjects Combination Info</h5>
</div>
</div>
<?php if($msg){?>
<div class="alert alert-success left-icon-alert" role="alert">
<strong>Well done!</strong><?php echo htmlentities($msg); ?>
</div><?php }
else if($error){?>
<div class="alert alert-danger left-icon-alert" role="alert">
<strong>Oh snap!</strong><?php echo htmlentities($error); ?>
</div>
<?php } ?>
<div class="panel-body p-20">

<table id="example" class="display table table-striped table-bordered" cellspacing="0"


width="100%">
<thead>
<tr>
<th>#</th>
<th>Class and Section</th>
<th>Subject </th>
<th>Status</th>
<th>Action</th>
</tr>
</thead>
<tfoot>
<tr>

71
<th>#</th>
<th>Class and Section</th>
<th>Subject </th>
<th>Status</th>
<th>Action</th>
</tr>
</tfoot>
<tbody>
<?php $sql = "SELECT
tblclasses.ClassName,tblclasses.Section,tblsubjects.SubjectName,tblsubjectcombination.i
d as scid,tblsubjectcombination.status from tblsubjectcombination join tblclasses on
tblclasses.id=tblsubjectcombination.ClassId join tblsubjects on
tblsubjects.id=tblsubjectcombination.SubjectId";
$query = $dbh->prepare($sql);
$query->execute();
$results=$query->fetchAll(PDO::FETCH_OBJ);
$cnt=1;
if($query->rowCount() > 0)
{
foreach($results as $result)
{ ?>
<tr>
<td><?php echo htmlentities($cnt);?></td>
<td><?php echo htmlentities($result->ClassName);?>&nbsp; Section-<?php echo
htmlentities($result->Section);?></td>
<td><?php echo htmlentities($result->SubjectName);?></td>
<td><?php $stts=$result->status;
if($stts=='0')
{
echo htmlentities('Inactive');
}
else
{
echo htmlentities('Active');

72
}
?></td>

<td>
<?php if($stts=='0')
{ ?>
<a href="manage-subjectcombination.php?acid=<?php echo htmlentities($result->scid);?
>" onclick="confirm('do you really want to ativate this subject');"><i class="fa fa-check"
title="Acticvate Record"></i></a><?php } else {?>

<a href="manage-subjectcombination.php?did=<?php echo htmlentities($result->scid);?


>" onclick="confirm('do you really want to deativate this subject');"><i class="fa fa-
times" title="Deactivate Record"></i></a>
<?php }?>
</td>
</tr>
<?php $cnt=$cnt+1;}} ?>

</tbody>
</table>
<!-- /.col-md-12 -->
</div>
</div>
</div>
<!-- /.col-md-6 -->
</div>
<!-- /.col-md-12 -->
</div>
</div>
<!-- /.panel -->
</div>
<!-- /.col-md-6 -->

</div>

73
<!-- /.row -->

</div>
<!-- /.container-fluid -->
</section>
<!-- /.section -->

</div>
<!-- /.main-page --> `

</div>
<!-- /.content-container -->
</div>
<!-- /.content-wrapper -->

</div>
<script src="js/jquery/jquery-2.2.4.min.js"></script>
<script src="js/bootstrap/bootstrap.min.js"></script>
<script src="js/pace/pace.min.js"></script>
<script src="js/lobipanel/lobipanel.min.js"></script>
<script src="js/iscroll/iscroll.js"></script>
<script src="js/prism/prism.js"></script>
<script src="js/DataTables/datatables.min.js"></script>
<script src="js/main.js"></script>
<script>
$(function($) {
$('#example').DataTable();

$('#example2').DataTable( {
"scrollY": "300px",
"scrollCollapse": true,
"paging": false
} );

74
$('#example3').DataTable();
});
</script>
</body>
</html>
<?php } ?>
Manage Subject: in the part the administrator can edit and organize the sujects.

<?php
session_start();
error_reporting(0);
include('includes/config.php');
if(strlen($_SESSION['alogin'])=="")
{
header("Location: index.php");
}
else{

?>
<!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">
<title>Admin Manage Subjects</title>
<link rel="stylesheet" href="css/bootstrap.min.css" media="screen" >
<link rel="stylesheet" href="css/font-awesome.min.css" media="screen" >
<link rel="stylesheet" href="css/animate-css/animate.min.css" media="screen" >
<link rel="stylesheet" href="css/lobipanel/lobipanel.min.css" media="screen" >
<link rel="stylesheet" href="css/prism/prism.css" media="screen" ><!-- USED FOR
DEMO HELP - YOU CAN REMOVE IT -->

75
<link rel="stylesheet" type="text/css" href="js/DataTables/datatables.min.css"/>
<link rel="stylesheet" href="css/main.css" media="screen" >
<script src="js/modernizr/modernizr.min.js"></script>
<style>
.errorWrap {
padding: 10px;
margin: 0 0 20px 0;
background: #fff;
border-left: 4px solid #dd3d36;
-webkit-box-shadow: 0 1px 1px 0 rgba(0,0,0,.1);
box-shadow: 0 1px 1px 0 rgba(0,0,0,.1);
}
.succWrap{
padding: 10px;
margin: 0 0 20px 0;
background: #fff;
border-left: 4px solid #5cb85c;
-webkit-box-shadow: 0 1px 1px 0 rgba(0,0,0,.1);
box-shadow: 0 1px 1px 0 rgba(0,0,0,.1);
}
</style>
</head>
<body class="top-navbar-fixed">
<div class="main-wrapper">

<!-- ========== TOP NAVBAR ========== -->


<?php include('includes/topbar.php');?>
<!-- ========== WRAPPER FOR BOTH SIDEBARS & MAIN CONTENT
========== -->
<div class="content-wrapper">
<div class="content-container">
<?php include('includes/leftbar.php');?>

<div class="main-page">

76
<div class="container-fluid">
<div class="row page-title-div">
<div class="col-md-6">
<h2 class="title">Manage Subjects</h2>

</div>

<!-- /.col-md-6 text-right -->


</div>
<!-- /.row -->
<div class="row breadcrumb-div">
<div class="col-md-6">
<ul class="breadcrumb">
<li><a href="dashboard.php"><i
class="fa fa-home"></i> Home</a></li>
<li> Subjects</li>
<li class="active">Manage Subjects</li>
</ul>
</div>

</div>
<!-- /.row -->
</div>
<!-- /.container-fluid -->

<section class="section">
<div class="container-fluid">

<div class="row">
<div class="col-md-12">

<div class="panel">

77
<div class="panel-heading">
<div class="panel-title">
<h5>View Subjects Info</h5>
</div>
</div>
<?php if($msg){?>
<div class="alert alert-success left-icon-alert" role="alert">
<strong>Well done!</strong><?php echo htmlentities($msg); ?>
</div><?php }
else if($error){?>
<div class="alert alert-danger left-icon-alert" role="alert">
<strong>Oh snap!</strong><?php echo htmlentities($error); ?>
</div>
<?php } ?>
<div class="panel-body p-20">

<table id="example" class="display table table-striped table-bordered" cellspacing="0"


width="100%">
<thead>
<tr>
<th>#</th>
<th>Subject Name</th>
<th>Subject Code</th>
<th>Creation Date</th>
<th>Updation Date</th>
<th>Action</th>
</tr>
</thead>
<tfoot>
<tr>
<th>#</th>
<th>Subject Name</th>
<th>Subject Code</th>
<th>Creation Date</th>

78
<th>Updation Date</th>
<th>Action</th>
</tr>
</tfoot>
<tbody>
<?php $sql = "SELECT * from tblsubjects";
$query = $dbh->prepare($sql);
$query->execute();
$results=$query->fetchAll(PDO::FETCH_OBJ);
$cnt=1;
if($query->rowCount() > 0)
{
foreach($results as $result)
{ ?>
<tr>
<td><?php echo htmlentities($cnt);?></td>
<td><?php echo htmlentities($result->SubjectName);?></td>
<td><?php echo htmlentities($result->SubjectCode);?></td>
<td><?php echo htmlentities($result->Creationdate);?></td>
<td><?php echo htmlentities($result->UpdationDate);?></td>
<td>
<a href="edit-subject.php?subjectid=<?php echo htmlentities($result->id);?>"><i
class="fa fa-edit" title="Edit Record"></i></a>

</td>
</tr>
<?php $cnt=$cnt+1;}} ?>

</tbody>
</table>

<!-- /.col-md-12 -->


</div>

79
</div>
</div>
<!-- /.col-md-6 -->

</div>
<!-- /.col-md-12 -->
</div>
</div>
<!-- /.panel -->
</div>
<!-- /.col-md-6 -->

</div>
<!-- /.row -->

</div>
<!-- /.container-fluid -->
</section>
<!-- /.section -->

</div>
<!-- /.main-page -->

</div>
<!-- /.content-container -->
</div>
<!-- /.content-wrapper -->

</div>
<!-- /.main-wrapper -->

80
<!-- ========== COMMON JS FILES ========== -->
<script src="js/jquery/jquery-2.2.4.min.js"></script>
<script src="js/bootstrap/bootstrap.min.js"></script>
<script src="js/pace/pace.min.js"></script>
<script src="js/lobipanel/lobipanel.min.js"></script>
<script src="js/iscroll/iscroll.js"></script>

<!-- ========== PAGE JS FILES ========== -->


<script src="js/prism/prism.js"></script>
<script src="js/DataTables/datatables.min.js"></script>

<!-- ========== THEME JS ========== -->


<script src="js/main.js"></script>
<script>
$(function($) {
$('#example').DataTable();

$('#example2').DataTable( {
"scrollY": "300px",
"scrollCollapse": true,
"paging": false
} );

$('#example3').DataTable();
});
</script>
</body>
</html>
<?php } ?>

Student admission:in this part we have all the information about the student. Name, roll
number, gender, class.

81
<?php
session_start();
error_reporting(0);
include('includes/config.php');
if(strlen($_SESSION['alogin'])=="")
{
header("Location: index.php");
}
else{
if(isset($_POST['submit']))
{
$studentname=$_POST['fullanme'];
$roolid=$_POST['rollid'];
$studentemail=$_POST['emailid'];
$gender=$_POST['gender'];
$classid=$_POST['class'];
$dob=$_POST['dob'];
$status=1;
$sql="INSERT INTO
tblstudents(StudentName,RollId,StudentEmail,Gender,ClassId,DOB,Status)
VALUES(:studentname,:roolid,:studentemail,:gender,:classid,:dob,:status)";
$query = $dbh->prepare($sql);
$query->bindParam(':studentname',$studentname,PDO::PARAM_STR);
$query->bindParam(':roolid',$roolid,PDO::PARAM_STR);
$query->bindParam(':studentemail',$studentemail,PDO::PARAM_STR);
$query->bindParam(':gender',$gender,PDO::PARAM_STR);
$query->bindParam(':classid',$classid,PDO::PARAM_STR);
$query->bindParam(':dob',$dob,PDO::PARAM_STR);
$query->bindParam(':status',$status,PDO::PARAM_STR);
$query->execute();
$lastInsertId = $dbh->lastInsertId();
if($lastInsertId)

82
{
$msg="Student info added successfully";
}
else
{
$error="Something went wrong. Please try again";
}

}
?>
<!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">
<title>SMS Admin| Student Admission<</title>
<link rel="stylesheet" href="css/bootstrap.min.css" media="screen" >
<link rel="stylesheet" href="css/font-awesome.min.css" media="screen" >
<link rel="stylesheet" href="css/animate-css/animate.min.css" media="screen" >
<link rel="stylesheet" href="css/lobipanel/lobipanel.min.css" media="screen" >
<link rel="stylesheet" href="css/prism/prism.css" media="screen" >
<link rel="stylesheet" href="css/select2/select2.min.css" >
<link rel="stylesheet" href="css/main.css" media="screen" >
<script src="js/modernizr/modernizr.min.js"></script>
</head>
<body class="top-navbar-fixed">
<div class="main-wrapper">

<!-- ========== TOP NAVBAR ========== -->


<?php include('includes/topbar.php');?>
<!-- ========== WRAPPER FOR BOTH SIDEBARS & MAIN CONTENT
========== -->
<div class="content-wrapper">

83
<div class="content-container">

<!-- ========== LEFT SIDEBAR ========== -->


<?php include('includes/leftbar.php');?>
<!-- /.left-sidebar -->

<div class="main-page">

<div class="container-fluid">
<div class="row page-title-div">
<div class="col-md-6">
<h2 class="title">Student Admission</h2>

</div>

<!-- /.col-md-6 text-right -->


</div>
<!-- /.row -->
<div class="row breadcrumb-div">
<div class="col-md-6">
<ul class="breadcrumb">
<li><a href="dashboard.php"><i class="fa fa-home"></i> Home</a></li>

<li class="active">Student Admission</li>


</ul>
</div>

</div>
<!-- /.row -->
</div>
<div class="container-fluid">

<div class="row">
<div class="col-md-12">

84
<div class="panel">
<div class="panel-heading">
<div class="panel-title">
<h5>Fill the Student info</h5>
</div>
</div>
<div class="panel-body">
<?php if($msg){?>
<div class="alert alert-success left-icon-alert" role="alert">
<strong>Well done!</strong><?php echo htmlentities($msg); ?>
</div><?php }
else if($error){?>
<div class="alert alert-danger left-icon-alert" role="alert">
<strong>Oh snap!</strong><?php echo htmlentities($error); ?>
</div>
<?php } ?>
<form class="form-horizontal" method="post">

<div class="form-group">
<label for="default" class="col-sm-2 control-label">Full Name</label>
<div class="col-sm-10">
<input type="text" name="fullanme" class="form-control" id="fullanme"
required="required" autocomplete="off">
</div>
</div>

<div class="form-group">
<label for="default" class="col-sm-2 control-label">Rool Id</label>
<div class="col-sm-10">
<input type="text" name="rollid" class="form-control" id="rollid" maxlength="12"
required="required" autocomplete="off">
</div>
</div>

85
<div class="form-group">
<label for="default" class="col-sm-2 control-label">Email id)</label>
<div class="col-sm-10">
<input type="email" name="emailid" class="form-control" id="email"
required="required" autocomplete="off">
</div>
</div>

<div class="form-group">
<label for="default" class="col-sm-2 control-label">Gender</label>
<div class="col-sm-10">
<input type="radio" name="gender" value="Male" required="required"
checked="">Male <input type="radio" name="gender" value="Female"
required="required">Female <input type="radio" name="gender" value="Other"
required="required">Other
</div>
</div>

<div class="form-group">
<label for="default" class="col-sm-2 control-label">Class</label>
<div class="col-sm-10">
<select name="class" class="form-control" id="default" required="required">
<option value="">Select Class</option>
<?php $sql = "SELECT * from tblclasses";
$query = $dbh->prepare($sql);
$query->execute();
$results=$query->fetchAll(PDO::FETCH_OBJ);
if($query->rowCount() > 0)
{
foreach($results as $result)
{ ?>
<option value="<?php echo htmlentities($result->id); ?>"><?php echo
htmlentities($result->ClassName); ?>&nbsp; Section-<?php echo htmlentities($result-
>Section); ?></option>

86
<script src="js/modernizr/modernizr.min.js"></script>
<script>
function getStudent(val) {
$.ajax({
type: "POST",
url: "get_student.php",
data:'classid='+val,
success: function(data){
$("#studentid").html(data);

}
});
$.ajax({
type: "POST",
url: "get_student.php",
data:'classid1='+val,
success: function(data){
$("#subject").html(data);

}
});
}
</script>
<script>

function getresult(val,clid)
{

var clid=$(".clid").val();
var val=$(".stid").val();;
var abh=clid+'$'+val;
//alert(abh);
$.ajax({
type: "POST",

87
url: "get_student.php",
data:'studclass='+abh,
success: function(data){
$("#reslt").html(data);

}
});
}
</script>

</head>
<body class="top-navbar-fixed">
<div class="main-wrapper">

<!-- ========== TOP NAVBAR ========== -->


<?php include('includes/topbar.php');?>
<!-- ========== WRAPPER FOR BOTH SIDEBARS & MAIN CONTENT
========== -->
<div class="content-wrapper">
<div class="content-container">

<!-- ========== LEFT SIDEBAR ========== -->


<?php include('includes/leftbar.php');?>
<!-- /.left-sidebar -->

<div class="main-page">

<div class="container-fluid">
<div class="row page-title-div">
<div class="col-md-6">
<h2 class="title">Declare Result</h2>

</div>

88
<!-- /.col-md-6 text-right -->
</div>
<!-- /.row -->
<div class="row breadcrumb-div">
<div class="col-md-6">
<ul class="breadcrumb">
<li><a href="dashboard.php"><i class="fa fa-home"></i> Home</a></li>

<li class="active">Student Result</li>


</ul>
</div>

</div>
<!-- /.row -->
</div>
<div class="container-fluid">

<div class="row">
<div class="col-md-12">
<div class="panel">

<div class="panel-body">
<?php if($msg){?>
<div class="alert alert-success left-icon-alert" role="alert">
<strong>Well done!</strong><?php echo htmlentities($msg); ?>
</div><?php }
else if($error){?>
<div class="alert alert-danger left-icon-alert" role="alert">
<strong>Oh snap!</strong><?php echo htmlentities($error); ?>
</div>
<?php } ?>
<form class="form-horizontal" method="post">

89
<div class="form-group">
<label for="default" class="col-sm-2 control-label">Class</label>
<div class="col-sm-10">
<select name="class" class="form-control clid" id="classid"
onChange="getStudent(this.value);" required="required">
<option value="">Select Class</option>
<?php $sql = "SELECT * from tblclasses";
$query = $dbh->prepare($sql);
$query->execute();
$results=$query->fetchAll(PDO::FETCH_OBJ);
if($query->rowCount() > 0)
{
foreach($results as $result)
{ ?>
<option value="<?php echo htmlentities($result->id); ?>"><?php echo
htmlentities($result->ClassName); ?>&nbsp; Section-<?php echo htmlentities($result-
>Section); ?></option>
<?php }} ?>
</select>
</div>
</div>
<div class="form-group">
<label for="date" class="col-sm-2 control-label ">Student Name</label>
<div class="col-sm-10">
<select name="studentid" class="form-control stid" id="studentid" required="required"
onChange="getresult(this.value);">
</select>
</div>
</div>

<div class="form-group">

<div class="col-sm-10">
<div id="reslt">

90
</form>
</div>
</div>
</div>
<!-- /.col-md-8 col-md-offset-2 -->
</div>
<!-- /.row -->

</div>
<!-- /.container-fluid -->
</section>
<!-- /.section -->

</div>
<!-- /.main-page -->

</div>
<!-- /.content-container -->
</div>
<!-- /.content-wrapper -->

</div>
<!-- /.main-wrapper -->

<!-- ========== COMMON JS FILES ========== -->


<script src="js/jquery/jquery-2.2.4.min.js"></script>
<script src="js/jquery-ui/jquery-ui.min.js"></script>
<script src="js/bootstrap/bootstrap.min.js"></script>
<script src="js/pace/pace.min.js"></script>
<script src="js/lobipanel/lobipanel.min.js"></script>
<script src="js/iscroll/iscroll.js"></script>

<!-- ========== PAGE JS FILES ========== -->

91
<script src="js/prism/prism.js"></script>

<!-- ========== THEME JS ========== -->


<script src="js/main.js"></script>

<!-- ========== ADD custom.js FILE BELOW WITH YOUR CHANGES


========== -->
</body>
</html>
<?php } ?>

Result:to see the result the student must put the roll number or id number and password.

<?php
session_start();
error_reporting(0);
include('includes/config.php');
?>
<!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">
<title>Result Management System</title>
<link rel="stylesheet" href="css/bootstrap.min.css" media="screen" >
<link rel="stylesheet" href="css/font-awesome.min.css" media="screen" >

92
<link rel="stylesheet" href="css/animate-css/animate.min.css" media="screen" >
<link rel="stylesheet" href="css/lobipanel/lobipanel.min.css" media="screen" >
<link rel="stylesheet" href="css/prism/prism.css" media="screen" >
<link rel="stylesheet" href="css/main.css" media="screen" >
<script src="js/modernizr/modernizr.min.js"></script>
</head>
<body>
<div class="main-wrapper">
<div class="content-wrapper">
<div class="content-container">

<!-- /.left-sidebar -->

<div class="main-page">
<div class="container-fluid">
<div class="row page-title-div">
<div class="col-md-12">
<h2 class="title" align="center">Result Management System</h2>
</div>
</div>
<!-- /.row -->

<!-- /.row -->


</div>
<!-- /.container-fluid -->

<section class="section">
<div class="container-fluid">

<div class="row">

93
<div class="col-md-8 col-md-offset-2">
<div class="panel">
<div class="panel-heading">
<div class="panel-title">
<?php
// code Student Data
$rollid=$_POST['rollid'];
$classid=$_POST['class'];
$_SESSION['rollid']=$rollid;
$_SESSION['classid']=$classid;
$qery = "SELECT
tblstudents.StudentName,tblstudents.RollId,tblstudents.RegDate,tblstudents.StudentId,tbl
students.Status,tblclasses.ClassName,tblclasses.Section from tblstudents join tblclasses on
tblclasses.id=tblstudents.ClassId where tblstudents.RollId=:rollid and
tblstudents.ClassId=:classid ";
$stmt = $dbh->prepare($qery);
$stmt->bindParam(':rollid',$rollid,PDO::PARAM_STR);
$stmt->bindParam(':classid',$classid,PDO::PARAM_STR);
$stmt->execute();
$resultss=$stmt->fetchAll(PDO::FETCH_OBJ);
$cnt=1;
if($stmt->rowCount() > 0)
{
foreach($resultss as $row)
{ ?>
<p><b>Student Name :</b><?php echo htmlentities($row->StudentName);?></p>
<p><b>Student Roll Id :</b><?php echo htmlentities($row->RollId);?>
<p><b>Student Class:</b><?php echo htmlentities($row->ClassName);?>(<?php echo
htmlentities($row->Section);?>)
<?php }

?>
</div>
<div class="panel-body p-20">

94
<table class="table table-hover table-bordered">
<thead>
<tr>
<th>#</th>
<th>Subject</th>
<th>Marks</th>
</tr>
</thead>

<tbody>
<?php
// Code for result

$query ="select
t.StudentName,t.RollId,t.ClassId,t.marks,SubjectId,tblsubjects.SubjectName from (select
sts.StudentName,sts.RollId,sts.ClassId,tr.marks,SubjectId from tblstudents as sts join
tblresult as tr on tr.StudentId=sts.StudentId) as t join tblsubjects on
tblsubjects.id=t.SubjectId where (t.RollId=:rollid and t.ClassId=:classid)";
$query= $dbh -> prepare($query);
$query->bindParam(':rollid',$rollid,PDO::PARAM_STR);
$query->bindParam(':classid',$classid,PDO::PARAM_STR);
$query-> execute();
$results = $query -> fetchAll(PDO::FETCH_OBJ);
$cnt=1;
if($countrow=$query->rowCount()>0)
{

foreach($results as $result){

?>

<tr>
<th scope="row"><?php echo htmlentities($cnt);?></th>

95
<td><?php echo htmlentities($result->SubjectName);?></td>
<td><?php echo htmlentities($totalmarks=$result->marks);?></td>
</tr>
<?php
$totlcount+=$totalmarks;
$cnt++;}
?>
<tr>
<th scope="row" colspan="2">Total Marks</th>
<td><b><?php echo htmlentities($totlcount); ?></b> out of <b><?php echo
htmlentities($outof=($cnt-1)*100); ?></b></td>
</tr>
<tr>
<th scope="row" colspan="2">Percentage</th>
<td><b><?php echo htmlentities($totlcount*(100)/$outof); ?> %</b></td>
</tr>
<tr>
<th scope="row" colspan="2">Download Result</th>
<td><b><a href="download-result.php">Download </a></b></td>
</tr>

<?php } else { ?>


<div class="alert alert-warning left-icon-alert" role="alert">
<strong>Notice!</strong> Your result not declare yet
<?php }
?>
</div>
<?php
} else
{?>

<div class="alert alert-danger left-icon-alert" role="alert">


strong>Oh snap!</strong>
<?php

96
echo htmlentities("Invalid Roll Id");
}
?>
</div>
</tbody>
</table>
</div>
</div>
<!-- /.panel -->
</div>
<!-- /.col-md-6 -->
<div class="form-group">
<div class="col-sm-6">
<a href="index.php">Back to Home</a>
</div>
</div>
</div>
<!-- /.row -->
</div>
<!-- /.container-fluid -->
</section>
<!-- /.section -->
</div>
<!-- /.main-page -->
</div>
<!-- /.content-container -->
</div>
<!-- /.content-wrapper -->
</div>
<!-- /.main-wrapper -->
<!-- ========== COMMON JS FILES ========== -->
<script src="js/jquery/jquery-2.2.4.min.js"></script>
<script src="js/bootstrap/bootstrap.min.js"></script>
<script src="js/pace/pace.min.js"></script>

97
<script src="js/lobipanel/lobipanel.min.js"></script>
<script src="js/iscroll/iscroll.js"></script>

<!-- ========== PAGE JS FILES ========== -->


<script src="js/prism/prism.js"></script>

<!-- ========== THEME JS ========== -->


<script src="js/main.js"></script>
<script>
$(function($) {

});
</script>

<!-- ========== ADD custom.js FILE BELOW WITH YOUR CHANGES


========== -->

</body>
</html>

98
CONCLUSION

This software is easy to use and will definitely reduce the paper used in the recurring
system for the keeping information of client. Here agent can easily make the updating,
creation, deletion of the account easily. There is no headache of remembering or storing of
the paper work of the old and new client.

This Online Book Store System is an attempt to overcome the present inefficient and
time
consuming process of locating, reserving and purchasing quality reading materials available
in
the store. Currently, clients have to go through a time consuming process to perform
aforementioned tasks which cause waste of labor and firms resources. Through our
automated
book store solution, we provide an easy way of searching, reserving and purchasing of books.

99
BIBLIOGRAPHY

Books:
 ASP Programming
 Mastering ASP 3.0
 Beginners Guide to ASP Programming

Websites:
 www.scribd.com
 www.google.com
 www.scourecodeonline.com

100

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy