College of Business Science & Technology: Project On
College of Business Science & Technology: Project On
Project on
Enrolment System
Subject: Software Engineering practical
Subject Code: CSE- 322
Submitted by:
1. Ruhul Amin, ID:210005
2. MD. Sajibul Alam , ID:210019
3. Muzaharul Islam, ID: 210050
Submitted to:
Arifa Sultana Nila
Coordinator ,
Department of Computer Science & Engineering,(CBST)
Requirements
User requirements description: Administration can make any query regarding a student using
search option and also adding new record, save record, update record, delete record and record
navigation.
System requirements:
1) Microsoft Windows 7 [Update] or later.
2) Internet Information Services.
3) XAMPP software
4) MYSQL Database
Client requirements:
1) Firefox Quantum Edition.
2) Google Chrome 68.0.3440.106
[official build].
Technology:
We have used several technology to build the project:
1. HTML
2. CSS
3. Javascript
4. PHP
5. MYSQL Database
Model
We have chosen to follow an incremental delivery model for the project as we have chosen to
make a web application that the user can use as soon as a single portion of it is ready to be
delivered and is likable to the user. Fulfilling user requirement is essential to us. This model
enables rapid delivery of the application.
Diagram
Use-case diagram
Dataflow diagram
<html>
<head>
</head>
<body>
<div>
<br>
<div class="form">
<br><br>
<button>login</button>
</form>
</div>
</div>
</body>
</html>
$user=$_POST['username'];
$pass=$_POST['password'];
if($user=='admin')
if($pass=='admin')
header("Location: first.php");
else
}?>
Implementation of First page:
$conn=mysqli_connect('localhost','root','','sms');
$result=mysqli_query($conn,$sql);
?>
<!DOCTYPE html>
<html>
<head>
<title>new page</title>
<body class="wc">
<br>
<br>
<div class="left">
<br>
</div>
<div class="right">
<div class="search">
</form>
</div>
<hr>
<div>
<table >
<thead>
<th class="sp">Name</th>
<th class="sp">ID</th>
<th class="sp">Dept</th>
<th class="sp">Birth</th>
<th class="sp">Action</th>
</thead>
<tbody>
<?php while($row=mysqli_fetch_assoc($result)){?>
<tr>
<td class="special">
<a class="button btn-danger" onclick=" return confirm('are you sure')" href="delete.php?id=<?php echo
$row['id'];?>">delete</a>
</td>
</tr>
<?php }?>
</tbody>
</table>
</div>
</div>
</body>
</html>
Implementation of add student page:
<html>
<head>
<title>new page</title>
</head>
<body class="inbody">
<br>
</div>
<div class="right">
<div class="form-group">
</div>
<div class="form-group">
</div>
<div class="form-group">
</div>
<div class="form-group">
</div>
<div class="form-group">
</div>
<div class="form-group">
<div class="form-group">
</div>
<div class="form-group">
</div>
</form>
</div>
</body>
</html>
$name=$_POST['name'];
$id=$_POST['id'];
$dept=$_POST['dept'];
$birth=$_POST['birth'];
$father=$_POST['father'];
$mother=$_POST['mother'];
$mobile=$_POST['mobile'];
$address=$_POST['address'];
$conn=mysqli_connect('localhost','root','','sms');
if(mysqli_query($conn,$sql))
{
header("Location: first.php");
else
$id=$_GET['id'];
$conn=mysqli_connect('localhost','root','','sms');
$result=mysqli_query($conn,$sql);
$std=mysqli_fetch_assoc($result);
?>
<!DOCTYPE html>
<html>
<head>
<title>new page</title>
</head>
<body>
<div class="left">
<br>
</div>
<div class="right">
<hr>
<div class="td">
<table class="tab">
<tr>
<th>Name: </th>
</tr>
<tr>
<th>ID: </th>
</tr>
<tr>
<th>Department: </th>
<tr>
</tr>
<tr>
</tr>
<tr>
</tr>
<tr>
<th>Contact: </th>
</tr>
<tr>
<th>Address: </th>
</td>
</tr>
</table>
</div>
</div>
</body>
</html>
Implementation of Update page:
$id=$_GET['id'];
$conn=mysqli_connect('localhost','root','','sms');
$result=mysqli_query($conn,$sql);
$std=mysqli_fetch_assoc($result);
?>
<!DOCTYPE html>
<html>
<head>
<title>new page</title>
</head>
<body style="background-color:#9fad6a;">
<div class="left">
<br>
</div>
<div class="right">
<div class="form-group">
</div>
<div class="form-group">
</div>
<div class="form-group">
</div>
<div class="form-group">
<label class="it" for="Birth">Birth Year :</label>
</div>
<div class="form-group">
</div>
<div class="form-group">
</div>
<div class="form-group">
</div>
<div class="form-group">
</div>
</form>
</div>
</body>
</html>
Php Script for Edit page:
<?php
$id=$_POST['id'];
$name=$_POST['name'];
$dept=$_POST['dept'];
$birth=$_POST['birth'];
$father=$_POST['father'];
$mother=$_POST['mother'];
$address=$_POST['address'];
$contact=$_POST['mobile'];
$conn=mysqli_connect('localhost','root','','sms');
if(mysqli_query($conn,$sql))
header("Location: show.php?id=".$id);
else
?>
$id=$_GET['id'];
$conn=mysqli_connect('localhost','root','','sms');
header("Location: first.php");
else
?>
$id=$_POST['search'];
$conn=mysqli_connect('localhost','root','','sms');
$result=mysqli_query($conn,$sql);
$std=mysqli_fetch_assoc($result);
if($result)
if(mysqli_num_rows($result)<1)
header("Location: not_found.php");
else
header("Location: found.php?id=".$id);
else
{
?>
$id=$_GET['id'];
$conn=mysqli_connect('localhost','root','','sms');
$result=mysqli_query($conn,$sql);
$std=mysqli_fetch_assoc($result);
?>
<!DOCTYPE html>
<html>
<head>
<title>new page</title>
</head>
<body class="back">
</h1>
<div class="left">
<br>
</div>
<div class="right">
<br>
<hr>
<div>
<table >
<thead>
<th class="sp">Name</th>
<th class="sp">ID</th>
<th class="sp">Dept</th>
<th class="sp">Birth</th>
<th class="sp">Action</th>
</thead>
<tbody>
<tr>
<td class="special">
<a class="button btn-danger" onclick=" return confirm('are you sure')" href="delete.php?id=<?php echo
$std['id'];?>">delete</a>
</td>
</tr>
</tbody>
</table>
</div>
</div>
</body>
</html>
<html>
<head>
</head>
<body class="d">
<h1 class="center" style="font-size: 60px;">Ops The data is not found in our server</h1>
</body>
</html>
.center{
text-align: center;
.login-page {
width: 360px;
padding: 8% 0 0;
margin: auto;
.form {
position: relative;
z-index: 1;
background: #FFFFFF;
max-width: 360px;
padding-top: 5px;
padding-left: 26px;
padding-right: 26px;
padding-bottom: 45px;
text-align: center;
.form input {
outline: 0;
background: #f2f2f2;
width: 78%;
border: 0;
margin: 0 0 15px;
padding: 15px;
box-sizing: border-box;
font-size: 14px;
.form button {
text-transform: uppercase;
outline: 0;
background: #4CAF50;
width: 78%;
border: 0;
padding: 15px;
color: #FFFFFF;
font-size: 14px;
cursor: pointer;
background: #43A047;
.ad{
font-style: italic;
font-size: 33px;
body {
background: #7dbc5b
style.css page:
.wc{
background: #555;
color: #eee;
text-align: center;
.inbody
background: #555;
color: #eee;
}
.left{
float: left;
.center{
text-align: center;
.right{
float: right;
width: 75%;
.button{
display: inline-block;
font-weight: 700;
text-align: center;
font-size: 1rem;
line-height: 1.5;
border-radius: 0.25rem;
text-decoration: none;
.btn-info {
color: #fff;
background-color: #17a2b8;
border-color: #17a2b8;
.search{
float: right;
.sp{
width: 100px;
text-align: center;
font-size: 20px;
color: #ff8aa5;
.table {
.special{
width: 391px;
.form-group {
margin-bottom: .5rem;
.it{
font-style: italic;
font-size: 19px;
.ic{
color: #ff4343;
font-size: 19px;
.form-control {
display: block;
width: 75%;
line-height: 1.5;
color: #495057;
background-color: #fff;
background-clip: padding-box;
border-radius: 0.25rem;
.tab{
height: 452px;
background: #b79f9f;
width: 100%;
.td{
background-color: orange;
.found{
text-align: center;
color: red;
margin-left: 14px;
.admin{
text-align: center;
margin: auto;
.btn-primary {
color: #fff;
background-color: #007bff;
border-color: #007bff;
margin-left: 33px;
.btn-warning {
color: #212529;
background-color: #ffc107;
border-color: #ffc107;
.btn-danger{
color: #fff;
background-color: #dc3545;
border-color: #dc3545;
#namanyay-search-btn {
background:#0099ff;
color:white;
padding:10px 20px;
border:0 none;
font-weight:bold;
#namanyay-search-box {
background: #eee;
padding:10px;
border-radius:10px 0 0 10px;
-moz-border-radius:10px 0 0 10px;
-webkit-border-radius:10px 0 0 10px;
-o-border-radius:10px 0 0 10px;
border:0 none;
width:160px;
.img{
margin-left: 628px;
height: 113px;
width: 113px;
.c{
background: #000;
.h{
color: white;
.back{
background-color: #4c3448;
.nimage{
height: 272px;
width: 272px;
margin-left: 327px;
margin-top: 44px;
.d{
background-color: #e6adad;