Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                

DBMS

Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 19

ABSTRACT

In these days almost every college is conducting technical fests where we can gain some
knowledge by participating. College, which is conducting fest, will invite so many colleges for
the competition. This project is the organizer for event management in a college fest. This
provides college fest management to schedule events online and assign student co-ordinators for
an event. Event Co-ordinators can upload information related to the event in the form of audio,
video files. The students and participants can view these files online.

Event organizers create schedules for events using well-developed web interface and assign
student coordinators at the time of schedule creation. The students register to interested events
with the site . Only event organizers and coordinators can upload event content to the site.
CONTENTS

Sl. No. Chapter Name Page No.


1 INTRODUCTION
1.1 Introduction 03
1.2 Problem statement 03
1.3 Objectives 04
2 REQUIREMENT SPECIFICATION
2.1 Hardware Requirements 05
2.2 Software Requirements 05
3 SYSTEM DESIGN
3.1 ER Diagram 06
3.2 Conversion of ER to Schema Diagram 07
4 IMPLEMENTATION
4.1 Overview 08
4.2 Source code 09-14
5 SNAPSHOTS 15-17
CONCLUSION 18
REFERENCES 19
CHAPTER 1

INTRODUCTION

College fest is an annual cultural event at a college or university organized by the student
community, involving participants from other colleges as well, But we designed our web application
for intra college fest management.

1.1 Introduction
Fest is organized in almost all the colleges but all the work is done manually. The events are
decided upon and then students are asked whether they will volunteer or not then all the details are
maintained in files. Many colleges have websites for fest that they organize in their colleges but this
website is used for displaying the various events details that are going to be conducted in those
colleges for informing the other college students.
This provides college fest management to schedule events online and assign student
coordinators for an event. Event Coordinators can upload information related to the event in the
form of audio, video files. The students and participants can view these files online.

1.2 Problem Statement

Fest is organized in almost all the colleges but all the work is done manually. The events are
decided upon and then students are asked whether they will volunteer or not then all the details are
maintained in files. Many colleges have websites for fest that they organize in their colleges but this
website is used for displaying the various events details that are going to be conducted in those
colleges for informing the other college students and
 Students need contact event coordinators physically for registration.
 Coordinators has to make use of paper and pen for registration and score updation for
each events.
 Students has to wait for the final results.
1.3 Objectives

To design database for event management system and To develop user interface to communicate
with back-end database,
To design user friendly interface for the users
 Admin
 Event Coordinators

This aims at providing the students and organizers a common platform to share files related to
the events. This system allows students who wants to register with the interested events and view
the various events results that are conducted. The coordinators can also register and post the
event details. The coordinators can upload the winners of the respective events.
CHAPTER 2

REQUIREMENT SPECIFICATION

2.1 Hardware requirements


The hardware required for the development of the project is:

Processor Name : Intel core i3 and more


Processor Speed : 1.9 GHz.
System Type : 32-Bit Operating System and more.
HDD : 50Mb
RAM : 2-GB RAM and more.

2.2 Software requirements


The software required for the development of the project is:

Software : XAMPP
Operating System : windows XP and above
Front End :HTML,CSS,Javascript
Back End : MYSQL
Serverside Scripting : PHP
CHAPTER 3

SYSTEM DESIGN

3.1 E-R DIAGRAM

Fig 3.1: ER diagram for Mallika-college fest management system


3.2 SCHEMA DIAGRAM
CHAPTER 4

IMPLEMENTATION

Database connection steps

 Import Database packages

 Load and register Database Driver

 Open a connection to the database

 Create a statement object to perform a query

 Execute a statement object and return a query ResultSet

 Process the ResultSet

 Close the ResultSet and statement objects

 Close the connection


4.2 LOGIN SOURCE CODE

<?php
session_start();
?>

<!DOCTYPE html>
<head>
<title>Mallika 20.0</title>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">

<link rel="stylesheet" href="fest/css/bootstrap.css">

<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>
<style>
<style>
body {margin: 0;}

ul.topnav {
list-style-type: none;
margin: 0;
padding: 0;
overflow: hidden;
background-color: #333;
}

ul.topnav li {float: left;}

ul.topnav li a {
display: block;
color: white;
text-align: center;
padding: 14px 16px;
text-decoration: none;
}

ul.topnav li a:hover:not(.active) {background-color: #111;}

ul.topnav li a.active {background-color: #4CAF50;}

ul.topnav li.right {float: right;}

@media screen and (max-width: 600px) {


ul.topnav li.right,
ul.topnav li {float: none;}
}
input[type=password], select {
width: 50%;
padding: 12px 20px;
margin: 8px 0;
display: inline-block;
border: 1px solid #ccc;
border-radius: 4px;
box-sizing: border-box;
}
input[type=text], select {
width: 50%;
padding: 12px 20px;
margin: 8px 0;
display: inline-block;
border: 1px solid #ccc;
border-radius: 4px;
box-sizing: border-box;
}

input[type=submit] {
width: 30%;
background-color: #4CAF50;
color: white;
padding: 14px 20px;
margin: 8px 10;
border: none;
border-radius: 4px ;
cursor: pointer;
}

input[type=submit]:hover {
background-color: #45a049;
}

div {
border-radius: 100px 100px;
background-color: #f2f2f2;
padding: 0px 300px;
}
</style>

<link href="https://fonts.googleapis.com/css?family=Quicksand:300,400,500,700"
rel="stylesheet">

<!-- Animate.css -->


<link rel="stylesheet" href="css/animate.css">
<!-- Icomoon Icon Fonts-->
<link rel="stylesheet" href="css/icomoon.css">
<!-- Bootstrap -->
<link rel="stylesheet" href="css/bootstrap.css">
<!-- Flexslider -->
<link rel="stylesheet" href="css/flexslider.css">
<!-- Flaticons -->
<link rel="stylesheet" href="fonts/flaticon/font/flaticon.css">

</head>
<body>
<center><img src="img/111.jpg" ></center><br>
<h1 align="center">MALLIKA 20.0</h1>

<ul class='topnav'>
<li><a href="mainpage.html">HOME</a></li>
<li><a href="ss.php">REGISTRATION</a></li>
<li><a href="login.php">COORDINATOR LOGIN</a></li>
<li><a href="results_data.php">RESULTS</a></li>
<li><a href="contact.php">CONTACT US</a></li>
<li style="float:right"><a href="about.html">ABOUT</a></li></ul>

</ul>
</head><br>
<body>
<div align="center"><br>
<h1 align="center">COORDINATOR LOGIN</h1>

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


<input type="text" name="uname" placeholder="USER NAME"><br /><br />
<input type="password" name="pwd" placeholder="PASSWORD"><br /><br />

<input type="submit" name="login" value="LOGIN"><br><br></form>

</div><br><br><br><br>
</body>
</html>

<?php

if(isset($_POST['login']))
{
$user_name=$_POST['uname'];
$user_pass=$_POST['pwd'];

include("db_conection.php");
$check_user="select * from coordinator WHERE user_name='$user_name' AND
user_pass='$user_pass'";

$run=mysqli_query($link,$check_user);

if(mysqli_num_rows($run))
{
$_SESSION['user']=$user_name;//here session is used and value of $user_name store in
$_SESSION.
$query="select * from coordinator where user_name='".$_SESSION['user']."'";
$run=mysqli_query($link,$query);
$row=mysqli_fetch_array($run);
$category=$row[2];
if($category=="admin")
{
header("Location: admin_menu.php");
}
else
{
header("Location: user_stable.php");
}

}
else
{
echo '<script>';
echo 'alert("Invalid User Name/ Password")';
echo '</script>';
}
}

?>
CHAPTER 5
SNAPSHOTS

Fig 5.1: Home Page

Fig 5.2: Registration Page


Fig 5.3: Co-ordinator Login Page

Fig 5.4: Admin Menu Page


Fig 5.5: C-ordinator Menu Page

Fig 5.6: Results Page


CONCLUSION

On Implementing the college fest management System, the registration procedure has been
simplified. The students can access Registration form online either from a computer or a smart
phone, and fill the necessary information and can register to the interested event. This web
application provides us with ease of access, user friendliness. On the other hand, it helps in
maintaining transparency, data consistency, data accessibility and easy maintenance.
REFERENCES

BOOKS:

HTML & CSS: The Complete Reference

Thomas A. Powell, 5th edition, McGraw-Hill Digital, 2010.

PHP: The Complete Reference

Steven Holzner, McGraw-Hill Education, 2008.

Database Management Systems,

Ramakrishnam and Gehrke, 3rd Edition, 2014, McGraw-Hill.

WEBSITES:

www.w3schools.com

www.wikipedia.com

www.google.com

You might also like