You are on page 1of 56

Society Event Management

Chapter 1
Introduction
Society Event Management is a project that gives proper information about the various events &
functions that are being held or that are to be held in a society.

1.1 Background
The society event management is used for a society’s outer objectives & not just the infrastructure of
the building. It gives a proper idea for the builders of the society about the extra space that is needed to
perform the activities & events. It consists of 2 parts which are as follows:

1. The space that needs to be allocated for performing various events & activities.
2. The kind of events that can be organized & a proper information regarding the events.

The society event management is a complex & difficult task, it gives an idea to different societies on
how to improve their acquired space & make it more fun by utilizing the space to the fullest.

The society event management has all the details & it gives us an idea by actually taking a society’s
example.

1.2 Objective
The main objective of the project on Society Event Management is to manage & give information to all the
people living in the society about the various event programs that are going to be held. It also gives them a proper set of
details if they want to organize their own event in the society.
“Udgam Palace” is the society that is taken as an example for this project since the Udgam Palace uses the
society event management program for its functioning. The administration constantly updated this website with all the
events since the project is totally built at administrative end & this only the administrator is guaranteed the access. It
helps to reduce the manual work for managing of the events.

Page 1
Society Event Management

1.3 Purpose , Scope and Applicability


1.3.1 Purpose

The main purpose of the project is to provide the outsiders of the society the information
regarding the events that are to be held in the society & in any specific date when an event has not
yet been decided then the people who wish to organize their individual event can book the place in
the society which provides the society financially.

The people or any person from an organization or an event manager can follow up the
website that is handled by the administrator, contact them & book their event. It is beneficial for the
outsiders in getting the audience & the society is benefited financially.

1.3.2 Scope
The scope comes into play when the society event management gets very complex at times.
The only main objective & scope is the full utilization of the space which can be only be done
successfully by having a proper plan & design which the society event management provides. Also
beneficial in getting idea about the event management as a whole.
1.3.3 Applicability

“Society event management“ will be very quick source for organizing the events in a
particular society which is beneficial for both the parties. The first priority will be given to the
people living in the society who has this event management system. The events are booked for free.
Visitors will be able to choose the event place & the particular time that will be at available on our
website. They can also give feedbacks which helps in providing a proper user interaction.

1.4 Organization of Report


Collaborations with various organization & other societies can also be done. People in the
society come together for an event which helps in creating good relationships among the people.
This technique brings the people together by also providing advantage to the society, an
organization, the people & full utilization of the space.

Page 2
Society Event Management

Chapter 2

System Analysis

2.1 Existing System

Before considering possible modification to be present tenure system. Note should be taken
of its desirable features for the emphasis of thus far has been on its weakness rather than its
strength. The first of these is the existence of a functional system of determining boundaries in the
event disputes.

2.2 Proposed System

Proposed system is for measuring project performance using process based key performance
indicator. The structure of measurement system on the basis of finding of an earlier stage of
research & had resulted of a number of process based KPI's that is (key performance indicator) &
the key issues they encompass.

Objectives of the proposed system

 To enable online booking of the events


 To enable automated data entry methods
 Ensure efficient and reliable feedback
 Excellent customer care
 Enforce security measures

2.3 Requirement Analysis

Requirement analysis encompass those tasks that go into determining the need or conditions
to meet for a new or altered product or project ,taking requirement of various stakeholders , analysis
, documenting & validating.

It also used for function specification. It works as per projects requirement & conditions
given for the particular task. Energy should be directed towards ensuring that the final system or
Page 3
Society Event Management

product conforms user expectations to fit the requirements. Requirement analysis is a team effort
that demands a combination of hardware ,software and human factors engineering expertise as well
as skills in dealing with people.

2.4 Hardware Requirements

The most common set of requirements defined by any operating system or software
application is the physical computer resources , also known as hardware. The hardware
requirements the we used for this project are:

Processor : Intel core i5

Graphics card : 8 GB

RAM : 8 GB

Hard Disk : 500 GB

Monitor : 15 CRT

Keyboard : Normal

Mouse : Compatible mouse

2.5 Software Requirements

Front End: Java netbeans

Back End: SQL Server

Page 4
Society Event Management

2.6 Justification of Platforms

2.6.1 Justification of Hardware Platform

A hardware platform is set of compatible hardware platform on which software application


can be run. Each specific hardware platform has its own machine language & programs must be
built specifically for a platform that involves a standardized type of processor & associated
hardware pieces.

2.6.2 Justification of software platform

The project is been done using Java language since java has many advantages & it can be
applied to a wide set of cases.

 Java offers higher cross- functionality and portability as programs written in one platform
can run across desktops, mobiles, embedded systems.

 Java is free, simple, object-oriented, distributed, supports multithreading & offers


multimedia & network support.

 Java is a mature language, therefore more stable & predictable. The Java Class Library
enables cross-platform development.

 Being highly popular at enterprise, embedded and network level, Java has a large active user
community and support available.

 Unlike C and C++, Java programs are compiled independent of platform


in bytecode language which allows the same program to run on any machine that has a JVM
installed.

 Java has powerful development tools like Eclipse SDK and NetBeans which have debugging
capability and offer integrated development environment.

 Increasing language diversity, evidenced by compatibility of Java with Scala, Groovy,


JRuby, and Closure.

 Relatively seamless forward compatibility from one version to the next

Page 5
Society Event Management

Chapter 3

System Design
3.1 Module Division
The basic modules of society event management are
o The events that were once held
o Records that can be edited as per requirement
o Editing & cancellation of events that can be easily done
o Adding of the event records
o Maintenance of all the feedback that were given
o Allocating proper timing & location
o Having a login page that directs to the page that has event information.

We are going to build software of society event management system that has several
features such as:

• Event Management
• Internet online booking of events
• Online ordering via network enabled handheld computer
• User management
• Executive information system in addition to those features, we are planning to add
• User profile (user name, address)
We tried to make the problem more obvious, Because of the fact that the project is in
abstract state now, we tried to concretize the project. To achieve that, we tried to think about the
similar software examples that we use in real life. One of the reason to do that was to draw the

Page 6
Society Event Management

borders of the problem, how much we have achieved. We are able to keep a proper track of data &
other points that are given below

o Online Booking :

users will be able to give their orders via internet. In order to achieve.This we are planning to build
this part of the project in Java this platform has many facilities in this area.

o User profile :

This is another extra part in order to know the customer and his requirement better. The information
such as user’s name ,address , mobile number , Email ID, etc. will be hold in database.

o Database management :

at the moment we are going to use SQL sever as database management system. Database will the
information and data coming from online reservation system, and customer profiles. Database
management is to be the most frequently used part of the project.

o Graphical User Interface :

GUI will be used in several parts such as in customer profiles. Java platform again is to be used
for designing this part of the project.

Page 7
Society Event Management

3.2 Data Dictionary


adminlogin

eventregister

Page 8
Society Event Management

events

userlogin

Page 9
Society Event Management

3.3 Planning and Scheduling

Planning

1. It will look after the Customer care


2. It will follow the business ethics
3. It will provide a secure payment system
4. It will also look after the delivery services.

Scheduling Gannt Chart

The system should give a realistic value on how well the project is going according to the
plan & for this the Gannt chart provides breakdown of the systems, requirement gathering to
changes necessary.

Page 10
Society Event Management

Gantt Chart

Septembe December January February


June July August
r

Project Brief

Requirement
Analysis
Software
Requirement
for
Development
Database
creation
Initial
Implementatio
n
System
Coding
Initial
Implementatio
n
Final
System
Final
Implementatio
n

Figure : Gantt Chart

Pert Chart

A Pert Chart is a project Management tool used to schedule, organize & coordinate tasks
within a project PERT stands for Program Evaluation Review Technique.

Tasks Start End Duration

Analysis and Requirement 10/07/19 22/07/19 12Days


Designing Tables 02/08/19 26/08/19 24Days

Designing Forms 02/09/19 27/09/19 25Days


Initial Coding 15/12/19 08/01/20 21Days

System Coding 10/01/2019 20/01/2020 10Days


Initial Implementation 21/01/2020 28/01/2020 8Days

Final System 01/02/2020 09/02/2020 9Days

Page 11
Society Event Management

Final Implementation 10/02/2020 16/02/2020 6Days

Pert char

E-R Diagram:

A graphical model of the data heeded by a system, including things about which information
is stored the relationships among them. produced in structured analysis & information engineering.
ER Diagram represents entities or tables and their relationships with one another.

Page 12
Society Event Management

Figure :ER Diagram

Page 13
Society Event Management

System Flow Chart:

Page 14
Society Event Management

Use case Diagram:

Page 15
Society Event Management

Waterfall Model:

.
Some of the major advantages of the Waterfall Model are as follows −
 Simple and easy to understand and use
 Easy to manage due to the rigidity of the model. Each phase has specific deliverables and a
review process.
 Phases are processed and completed one at a time.
 Works well for smaller projects where requirements are very well understood.
 Clearly defined stages.
 Well understood milestones.
 Easy to arrange tasks.
 Process and results are well documented.
.

Page 16
Society Event Management

Chapter 4
Implementation and testing
4.1 Code
aboutus.jsp
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<!-- DW6 -->
<head>
<title>
Society Event Management
</title>

<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />


<link rel="stylesheet" href="Styles/mm_search1.css" type="text/css" />
<style type="text/css">
<!--
.style2 {
font-size: 24px;
color: #000000;
}
#Layer1 {
position:absolute;
width:778px;
height:300px;
z-index:1;
left: 321px;
top: 273px;
background-color: #666666;
}
.style9 {font-size: 16px}
.style10 {font-size: 10px}
.style11 {font-size: 34px; }
.style12 {color: #CC0000}
.style14 {font-size: 24px; color: #FFFF00; }
.style16 {font-size: 12px}
.style17 {font-family: Brush Script MT, Brush Script Std, cursive ;
color:Orange ;
background-color:rgb(0, 0, 0);
font-size: 18px;

}
-->
</style>
</head>
<body bgcolor="#cafaf8">

<table width="100%" height="100%" border="0" align="left" cellpadding="0"


cellspacing="0">
<tr>
<td width="223" nowrap="nowrap"><img src="images/mm_spacer.gif" alt=""
width="15" height="1" border="0" /></td>
<td height="50" colspan="2" class="logo" nowrap="nowrap"><div align="center"
class="style2">
<p align="left" class="style11">Event Management System </p>
Page 17
Society Event Management

</div></td>
<td width="4">&nbsp;</td>
<td width="12">&nbsp;</td>
</tr>

<tr bgcolor="#ffffff">
<td colspan="5"><img src="images/mm_spacer.gif" alt="" width="1" height="1"
border="0" /></td>
</tr>

<tr bgcolor="#a4c2c2">
<td width="223" nowrap="nowrap">&nbsp;</td>
<td height="27" colspan="2" id="navigation" class="navText">
<div align="center">
<a
href="Homepage.html">HOME</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<a
href="Admin.jsp">ADMIN</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<a
href="User.jsp">USER</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<a href="aboutus.jsp">ABOUT
US</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </div></td>
<td width="4">&nbsp;</td>
<td width="12">&nbsp;</td>
</tr>

<tr bgcolor="#ffffff">
<td colspan="5"><img src="images/mm_spacer.gif" alt="" width="1" height="1"
border="0" /></td>
</tr>

<tr bgcolor="#ffffff">
<td height="494" valign="top" bgcolor="#a4c2c2"><div align="center">
<img src="images/mm_search1_image.jpg" alt="Home Page Image" width="223"
height="206" border="0" align="middle" />
</div>
<table width="89%" height="274" border="0" align="center" cellpadding="0"
cellspacing="0">
<tr>
<td width="4%" height="274"></td>
<td width="95%" class="sidebarText" id="padding"><div align="justify"
id="calheader">
<div align="justify"><span class="style10">All the events to ever be
organized will be shown to all of our dear members here so we all come together as a
society and celebrate every part of it to the fullest
<br />
&nbsp;</span><br />
</div>
</div></td>
</tr>
</table></td>

<td height="100%" valign="top" bgcolor="#a4c2c2">&nbsp;</td>


<td width="100%" valign="top" bgcolor="#999966">
<table width="100%" height="400" border="0" cellpadding="0" cellspacing="0">
<tr bgcolor="#0f4f3f">
<td width="100%" height="50" align="center" bgcolor="#0f4f3f"
class="pageName">
<p align="left" class="pageName">&nbsp;<span
class="style12">&nbsp;&nbsp;&nbsp;

Page 18
Society Event Management

<span class="style14">Project Owner: Ms. Anishka


Singh</span></span> </p>
</tr>
<tr>

<tr>
<td height="200" bgcolor="#999966" class="bodyText"><blockquote>
<fieldset><legend>
<span style="color: lime; font-size: 20px;">
About Us
</span>
</legend>
<p>
<span class="style17"> A one-stop shop for all your
needs and
requirements when it comes to any kind of events! <br />
<br /> We are
dedicated to supplying our clients with creative
solutions,
strategic planning and flawless production right
from the
inception of an event to its execution. <br />
Details
regarding the events held in the society with proper
description and
with the vision of providing unmatched
quality of
service that caters to the need and suits the
budget of all.
We understand that every event has its own
unique purpose
and expectations to each of our clients and
this
understanding forms the foundation on which we build the
ideas and
solutions that are tailor-made to the client's
requirements.
<br /> <br />Whether its a flamboyant grand
scale event
with a huge guest list or an intimate affair with
your close ones
that you’re planning, we leave no stone
unturned to
make it an event to be cherished forever. We are
well aware of
the fact that its not just your money that goes
into an event
but also your dreams and ambitions and at times
even your
credibility is at stake, which is why render the
best of our
services by considering your event as our own. <br />

<br />For more


information, contact us 9876543219
</span></fieldset>
<p align="justify"><br />
</p>
</blockquote> </td>
</tr>
</table>
Page 19
Society Event Management

</table>
</body>
</html>

Admin.jsp

<?xml version="1.0" encoding="ISO-8859-1" ?>


<%@page import="java.sql.*" %>
<%@page import="java.util.*" %>
<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
pageEncoding="ISO-8859-1"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:f="http://java.sun.com/jsf/core"
xmlns:h="http://java.sun.com/jsf/html">
<head>
<title>
An Empirical Performance Evaluation - Admin Login
</title>
<script type="text/javascript">
function Validation(form){

if( document.myForm.uname.value == "" )


{
alert( "Please provide your USER NAME!" );
document.myForm.uname.focus() ;
return false;
}
if( document.myForm.pass.value == "" )
{
alert( "Please provide your PASSWORD !" );
document.myForm.pass.focus() ;
return false;
}
if( document.myForm.uname.value == null && document.myForm.pass.value == null )
{
alert( "Please provide your USER NAME PASSWORD!" );
document.myForm.uname.focus() ;
}

return true;
}
</script>

<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />


<link rel="stylesheet" href="Styles/mm_search1.css" type="text/css" />
<style type="text/css">
<!--
.style2 {
font-size: 24px;
color: #000000;
}
#Layer1 {
position:absolute;
width:778px;
height:300px;
z-index:1;
left: 321px;
top: 273px;

Page 20
Society Event Management

background-color: #666666;
}
.style9 {font-size: 16px}
.style10 {font-size: 10px}
.style11 {font-size: 34px; }
.style12 {color: #CC0000}
.style14 {font-size: 24px; color: #FFFF00; }
.style16 {font-size: 12px}
-->
</style>

</head>
<body bgcolor="#cafaf8">
<table width="100%" height="100%" border="0" align="left" cellpadding="0"
cellspacing="0">
<tr>
<td width="223" nowrap="nowrap"><img src="images/mm_spacer.gif" alt=""
width="15" height="1" border="0" /></td>
<td height="50" colspan="2" class="logo" nowrap="nowrap"><div align="center"
class="style2">
<p align="left" class="style11">Event Management System </p>
</div></td>
<td width="4">&nbsp;</td>
<td width="12">&nbsp;</td>
</tr>

<tr bgcolor="#ffffff">
<td colspan="5"><img src="images/mm_spacer.gif" alt="" width="1" height="1"
border="0" /></td>
</tr>

<tr bgcolor="#a4c2c2">
<td width="223" nowrap="nowrap">&nbsp;</td>
<td height="27" colspan="2" id="navigation" class="navText">
<div align="center">
<a
href="Homepage.html">HOME</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<a
href="Admin.jsp">ADMIN</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<a
href="User.jsp">USER</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<a href="aboutus.jsp">ABOUT
US</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</div></td>

<td width="4">&nbsp;</td>
<td width="12">&nbsp;</td>
</tr>

<tr bgcolor="#ffffff">
<td colspan="5"><img src="images/mm_spacer.gif" alt="" width="1" height="1"
border="0" /></td>
</tr>

<tr bgcolor="#ffffff">
<td height="494" valign="top" bgcolor="#a4c2c2"><div align="center">
<img src="images/mm_search1_image.jpg" alt="Home Page Image" width="223"
height="206" border="0" align="middle" />
</div>

Page 21
Society Event Management

<table width="89%" height="274" border="0" align="center" cellpadding="0"


cellspacing="0">
<tr>
<td width="4%" height="274"></td>
<td width="95%" class="sidebarText" id="padding"><div align="justify"
id="calheader">
<div align="justify"><span class="style10">All the events to ever be
organized will be shown to all of our dear members here so we all come together as a
society and celebrate every part of it to the fullest
<br />
&nbsp;</span><br />
</div>
</div></td>
</tr>
</table></td>

<td height="100%" valign="top" bgcolor="#a4c2c2">&nbsp;</td>


<td width="100%" valign="top" bgcolor="#999966">
<table width="100%" height="400" border="0" cellpadding="0" cellspacing="0">
<!-- subtitle background -->
<tr bgcolor="#0f4f3f">
<td width="100%" height="50" align="center" bgcolor="#0f4f3f"
class="pageName">
<p align="left" class="pageName">&nbsp;<span
class="style12">&nbsp;&nbsp;&nbsp;
<span class="style14">Admin Login</span></span> </p>
</tr>

<tr>
<td height="310" bgcolor="#999966" class="bodyText"><blockquote>
<fieldset><legend>
<span style="color: lime; font-size: 20px;">
Admin Login
</span>
</legend>

<form id="form1" name="myForm" method="post" action="adminlogin.jsp"


onsubmit="return Validation(this);">
<table width="668" border="1" align="center" bgcolor="#FFFFFF">
<tr><th width="196" height="56" scope="col">Enter UserName </th>
<th width="456" scope="col"><input name="uname" type="text" value=""
size="40" /></th>
</tr>
<tr> <th height="46" scope="row">Enter Password </th>
<th scope="col"><input name="pass" type="password" value=""
size="40" /></th>
</tr>
<tr> <th height="81" colspan="2" scope="row">
<label><input name="Submit" type="submit" class="logo"
value="Login" /></label>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<label><input name="Submit2" type="reset" class="logo"
value="Reset" /></label>
<%
Object msg =request.getAttribute("Message");
if(msg==null){}
else{
out.println(msg.toString());
System.out.println(msg.toString());
msg=null;

Page 22
Society Event Management

}
%>
</th>
</tr>
</table>
</form>
</fieldset>
<p align="center"><br />
</p></blockquote>
</td>
</tr>
</table>
</td>
<td width="4" bgcolor="#999966">&nbsp;</td><td width="12"
bgcolor="#999966">&nbsp;</td>
</tr>

<tr bgcolor="#ffffff">
<td colspan="5" bgcolor="#999966"><img src="file:///C|/Program%20Files
%20(x86)/Macromedia/Dreamweaver%208/Configuration/BuiltIn/StarterPages/mm_spacer.gif"
alt="" width="1" height="1" border="0" /></td>
</tr>

</table>
</body>
</html>

adminlogin.jsp

<?xml version="1.0" encoding="ISO-8859-1" ?>


<%@page import="java.sql.*" %>
<%@page import="java.util.*" %>
<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
pageEncoding="ISO-8859-1"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:f="http://java.sun.com/jsf/core"
xmlns:h="http://java.sun.com/jsf/html">
<head>
<title>
An Empirical Performance Evaluation - Admin Login
</title>
<script type="text/javascript">
function Validation(form){

if( document.myForm.uname.value == "" )


{
alert( "Please provide your USER NAME!" );
document.myForm.uname.focus() ;
return false;
}
if( document.myForm.pass.value == "" )
{
alert( "Please provide your PASSWORD !" );
document.myForm.pass.focus() ;
return false;
}
if( document.myForm.uname.value == null && document.myForm.pass.value == null )
{
alert( "Please provide your USER NAME PASSWORD!" );

Page 23
Society Event Management

document.myForm.uname.focus() ;
}

return true;
}
</script>

<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />


<link rel="stylesheet" href="Styles/mm_search1.css" type="text/css" />
<style type="text/css">
<!--
.style2 {
font-size: 24px;
color: #000000;
}
#Layer1 {
position:absolute;
width:778px;
height:300px;
z-index:1;
left: 321px;
top: 273px;
background-color: #666666;
}
.style9 {font-size: 16px}
.style10 {font-size: 10px}
.style11 {font-size: 34px; }
.style12 {color: #CC0000}
.style14 {font-size: 24px; color: #FFFF00; }
.style16 {font-size: 12px}
-->
</style>

</head>
<body bgcolor="#cafaf8">
<table width="100%" height="100%" border="0" align="left" cellpadding="0"
cellspacing="0">
<tr>
<td width="223" nowrap="nowrap"><img src="images/mm_spacer.gif" alt=""
width="15" height="1" border="0" /></td>
<td height="50" colspan="2" class="logo" nowrap="nowrap"><div align="center"
class="style2">
<p align="left" class="style11">Event Management System </p>
</div></td>
<td width="4">&nbsp;</td>
<td width="12">&nbsp;</td>
</tr>

<tr bgcolor="#ffffff">
<td colspan="5"><img src="images/mm_spacer.gif" alt="" width="1" height="1"
border="0" /></td>
</tr>

<tr bgcolor="#a4c2c2">
<td width="223" nowrap="nowrap">&nbsp;</td>
<td height="27" colspan="2" id="navigation" class="navText">
<div align="center">
<a
href="Homepage.html">HOME</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
Page 24
Society Event Management

<a
href="Admin.jsp">ADMIN</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<a
href="User.jsp">USER</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<a href="aboutus.jsp">ABOUT
US</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</div></td>

<td width="4">&nbsp;</td>
<td width="12">&nbsp;</td>
</tr>

<tr bgcolor="#ffffff">
<td colspan="5"><img src="images/mm_spacer.gif" alt="" width="1" height="1"
border="0" /></td>
</tr>

<tr bgcolor="#ffffff">
<td height="494" valign="top" bgcolor="#a4c2c2"><div align="center">
<img src="images/mm_search1_image.jpg" alt="Home Page Image" width="223"
height="206" border="0" align="middle" />
</div>
<table width="89%" height="274" border="0" align="center" cellpadding="0"
cellspacing="0">
<tr>
<td width="4%" height="274"></td>
<td width="95%" class="sidebarText" id="padding"><div align="justify"
id="calheader">
<div align="justify"><span class="style10">All the events to ever be
organized will be shown to all of our dear members here so we all come together as a
society and celebrate every part of it to the fullest
<br />
&nbsp;</span><br />
</div>
</div></td>
</tr>
</table></td>

<td height="100%" valign="top" bgcolor="#a4c2c2">&nbsp;</td>


<td width="100%" valign="top" bgcolor="#999966">
<table width="100%" height="400" border="0" cellpadding="0" cellspacing="0">
<!-- subtitle background -->
<tr bgcolor="#0f4f3f">
<td width="100%" height="50" align="center" bgcolor="#0f4f3f"
class="pageName">
<p align="left" class="pageName">&nbsp;<span
class="style12">&nbsp;&nbsp;&nbsp;
<span class="style14">Admin Login</span></span> </p>
</tr>

<tr>
<td height="310" bgcolor="#999966" class="bodyText"><blockquote>
<fieldset><legend>
<span style="color: lime; font-size: 20px;">
Admin Login
</span>
</legend>

Page 25
Society Event Management

<form id="form1" name="myForm" method="post" action="adminlogin.jsp"


onsubmit="return Validation(this);">
<table width="668" border="1" align="center" bgcolor="#FFFFFF">
<tr><th width="196" height="56" scope="col">Enter UserName </th>
<th width="456" scope="col"><input name="uname" type="text" value=""
size="40" /></th>
</tr>
<tr> <th height="46" scope="row">Enter Password </th>
<th scope="col"><input name="pass" type="password" value=""
size="40" /></th>
</tr>
<tr> <th height="81" colspan="2" scope="row">
<label><input name="Submit" type="submit" class="logo"
value="Login" /></label>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<label><input name="Submit2" type="reset" class="logo"
value="Reset" /></label>
<%
Object msg =request.getAttribute("Message");
if(msg==null){}
else{
out.println(msg.toString());
System.out.println(msg.toString());
msg=null;
}
%>
</th>
</tr>
</table>
</form>
</fieldset>
<p align="center"><br />
</p></blockquote>
</td>
</tr>
</table>
</td>
<td width="4" bgcolor="#999966">&nbsp;</td><td width="12"
bgcolor="#999966">&nbsp;</td>
</tr>

<tr bgcolor="#ffffff">
<td colspan="5" bgcolor="#999966"><img src="file:///C|/Program%20Files
%20(x86)/Macromedia/Dreamweaver%208/Configuration/BuiltIn/StarterPages/mm_spacer.gif"
alt="" width="1" height="1" border="0" /></td>
</tr>

</table>
</body>
</html>

Adminlogout.jsp

<?xml version="1.0" encoding="ISO-8859-1" ?>


<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
pageEncoding="ISO-8859-1"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:f="http://java.sun.com/jsf/core"
xmlns:h="http://java.sun.com/jsf/html">
<head>

Page 26
Society Event Management

<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />


<title>Logout</title>
</head>
<body>
<% session.setAttribute("userid",null);
session.invalidate();
response.sendRedirect("Homepage.html");

%>
</body>
</html>

bookevents.jsp

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"


"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<%@page import="java.sql.*" %>
<%@page import="java.util.*" %>
<%@page import="java.text.*" %>

<html xmlns="http://www.w3.org/1999/xhtml">
<!-- DW6 -->
<head>
<title> Book Events | Event Management System</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<link rel="stylesheet" href="Styles/mm_search1.css" type="text/css" />
<style type="text/css">
<!--
.style1 {
color: #CC6666;
font-weight: bold;
}
.style2 {
font-size: 24px;
color: #000000;
}
#Layer1 {
position:absolute;
width:778px;
height:315px;
z-index:1;
left: 321px;
top: 273px;
background-color: #666666;
}
.style9 {font-size: 16px}
.style10 {font-size: 10px}
.style11 {font-size: 24px; }
.style14 {font-size: 12px; }
-->
</style>
</head>
<body bgcolor="#cafaf8">

<table width="100%" height="100%" border="0" align="left" cellpadding="0"


cellspacing="0">
<tr>
<td width="223" nowrap="nowrap"><img src="images/mm_spacer.gif" alt=""
width="15" height="1" border="0" /></td>

Page 27
Society Event Management

<td height="50" colspan="2" class="logo" nowrap="nowrap"><div align="center"


class="style2">
<p align="left" class="style11">Event Management System </p>
</div></td>
<td width="4">&nbsp;</td>
<td width="12">&nbsp;</td>
</tr>

<tr bgcolor="#ffffff">
<td colspan="5"><img src="images/mm_spacer.gif" alt="" width="1" height="1"
border="0" /></td>
</tr>

<tr bgcolor="#a4c2c2">
<td width="223" nowrap="nowrap">&nbsp;</td>
<td height="27" colspan="2" id="navigation" class="navText">
<div align="center">
<a href="bookevents.jsp">EVENT
GALLERY</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<a href="Search.jsp">SEARCH
EVENT</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<a href="RegEventDetails.jsp">REGISTERED
EVENTS</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<a
href="UserLogout.html">LOGOUT</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</div>
</td>
<td width="4">&nbsp;</td>
<td width="12">&nbsp;</td>
</tr>

<tr bgcolor="#ffffff">
<td colspan="5"><img src="images/mm_spacer.gif" alt="" width="1" height="1" border="0"
/></td>
</tr>

<tr bgcolor="#ffffff">
<td height="494" valign="top" bgcolor="#a4c2c2"><div align="center">
<img src="images/mm_search1_image.jpg" alt="Home Page Image" width="223" height="206"
border="0" align="middle" />
</div>
<table width="80%" height="300" border="0" align="center" cellpadding="0"
cellspacing="0">
<tr>
<td width="4%" height="274"></td>
<td width="95%" class="sidebarText" id="padding"><div align="justify" id="calheader">
<div align="justify"><span class="style10">All the events to ever be organized will be
shown to all of our dear members here so we all come together as a society and
celebrate every part of it to the fullest
<br />
&nbsp;</span><br />
</div>
</div></td>
</tr>
</table></td>

<td height="494" valign="top" bgcolor="#a4c2c2">&nbsp;</td>


<td width="1000" valign="top" bgcolor="#999966"><table width="1002" height="386"
border="0" cellpadding="0" cellspacing="0">

Page 28
Society Event Management

<!-- Sub title-->

<tr bgcolor="#0f4f3f">
<td width="1002" height="74" align="center" bgcolor="#0f4f3f" class="pageName">
<p align="left" class="style1">&nbsp;&nbsp;&nbsp;&nbsp; Events Gallery</p>
</td></tr>

<tr>
<td height="310" bgcolor="#999966" class="bodyText"><blockquote>
<fieldset>
<legend><span class="style9">Event Details</span></legend>
<table class="style6" width="850" border="1" align="center" cellpadding="1"
cellspacing="1">
<tr class="style6" style="color: yellow;">
<th width="30" scope="col"><div align="center">Event ID</div></th>
<th width="80" scope="col"><div align="center">Event Name</div></th>
<th width="50" scope="col"><div align="center">Event Location</div></th>
<th width="53" scope="col"><div align="center">Event Date</div></th>
<th width="53" scope="col"><div align="center">Event Info</div></th>
<th width="53" scope="col"><div align="center">Book Ticket</div></th>
</tr>

<tr class="style6" style="color: yellow;">


<%
try{
String dbURL = "jdbc:mysql://localhost:3306/project";
String dbUser = "root";
String dbPass = "root";
Connection conn = null; // connection to the database
DriverManager.registerDriver(new com.mysql.jdbc.Driver());
conn = DriverManager.getConnection(dbURL, dbUser, dbPass);

// constructs SQL statement


String sql = "select eid,ename,elocation,edate,einfo from events";

Statement st=conn.createStatement();
ResultSet rs=st.executeQuery(sql);
while(rs.next())
{
String evnname,evnlocation,evninfo;
java.util.Date date;
SimpleDateFormat dt=new
SimpleDateFormat("dd/MM/yyyy");
int evnid=rs.getInt("eid");
evnname=rs.getString("ename");
evnlocation=rs.getString("elocation");
date=rs.getDate("edate");
evninfo=rs.getString("einfo");
%>
<td align="center"><%=evnid %></td>
<td align="center"><%=evnname %></td>
<td align="center"><%=evnlocation %></td>
<td align="center"><%=date %></td>
<td align="center"><%=evninfo %></td>
<td align="center"><a href="bookuserevent.jsp?id=<%=evnid%>">
<input type="hidden" name="id" value=" <%= evnid %> " />
<img src="images/edit1.png"></img></a>
</td>
</tr>
<% }
Page 29
Society Event Management

}
catch(Exception e){
e.printStackTrace();
}
%>
</table>
</fieldset>
</blockquote></td>
</tr>
</table> </td>
</tr>

<% String eventmessage = (String) request.getSession().getAttribute("eventmessage");


if(eventmessage != null && eventmessage != "" && eventmessage != "null"){ %>
<script type="text/javascript">
window.addEventListener("load", function(){
alert("${eventmessage}");
});

</script>
<% request.getSession().setAttribute("eventmessage", null);}%>

<tr bgcolor="#ffffff">
<td colspan="5" bgcolor="#999966"><img src="file:///C|/Program%20Files
%20(x86)/Macromedia/Dreamweaver%208/Configuration/BuiltIn/StarterPages/mm_spacer.gif"
alt="" width="1" height="1" border="0" /></td>
</tr>

<tr>
<td width="223" height="19">&nbsp;</td>
<td width="4">&nbsp;</td>
</tr>
</table>
</body>
</html>

Search.jsp

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"


"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<%@page import="java.sql.*" %>
<%@page import="java.util.*" %>
<%@page import="java.text.*" %>
<html xmlns="http://www.w3.org/1999/xhtml">
<!-- DW6 -->
<head>
<title> Book Events | Event Management System</title>
<script type="text/javascript">
function Validation(form){
if( document.myForm.filekey.value == "" )
{ alert( "Please Enter the Event Name !" );
document.myForm.filekey.focus() ;
return false;
}
return true;
}</script>

<script type="text/javascript" src="JS/jquery-1.4.2.min.js"></script>


<script src="JS/jquery.autocomplete.js"></script>

Page 30
Society Event Management

<script>
jQuery(function(){
$("#key").autocomplete("list.jsp");
});
</script>

<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />


<link rel="stylesheet" href="Styles/mm_search1.css" type="text/css" />
<style type="text/css">
<!--
.style1 {
color: #CC6666;
font-weight: bold;
}
.style2 {
font-size: 24px;
color: #000000;
}
#Layer1 {
position:absolute;
width:778px;
height:315px;
z-index:1;
left: 321px;
top: 273px;
background-color: #666666;
}
.style9 {font-size: 16px}
.style10 {font-size: 10px}
.style11 {font-size: 24px; }
.style14 {font-size: 12px; }
-->
</style>
</head>
<body bgcolor="#cafaf8">

<table width="100%" height="100%" border="0" align="left" cellpadding="0"


cellspacing="0">
<tr>
<td width="223" nowrap="nowrap"><img src="images/mm_spacer.gif" alt=""
width="15" height="1" border="0" /></td>
<td height="50" colspan="2" class="logo" nowrap="nowrap"><div align="center"
class="style2">
<p align="left" class="style11">Event Management System </p>
</div></td>
<td width="4">&nbsp;</td>
<td width="12">&nbsp;</td>
</tr>

<tr bgcolor="#ffffff">
<td colspan="5"><img src="images/mm_spacer.gif" alt="" width="1" height="1"
border="0" /></td>
</tr>

<tr bgcolor="#a4c2c2">
<td width="223" nowrap="nowrap">&nbsp;</td>
<td height="27" colspan="2" id="navigation" class="navText">
<div align="center">
<a href="bookevents.jsp">EVENT
GALLERY</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
Page 31
Society Event Management

<a href="Search.jsp">SEARCH
EVENT</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<a href="RegEventDetails.jsp">REGISTERED
EVENTS</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<a
href="UserLogout.html">LOGOUT</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</div>
</td>
<td width="4">&nbsp;</td>
<td width="12">&nbsp;</td>
</tr>

<tr bgcolor="#ffffff">
<td colspan="5"><img src="images/mm_spacer.gif" alt="" width="1" height="1" border="0"
/></td>
</tr>

<tr bgcolor="#ffffff">
<td height="494" valign="top" bgcolor="#a4c2c2"><div align="center">
<img src="images/mm_search1_image.jpg" alt="Home Page Image" width="223" height="206"
border="0" align="middle" />
</div>
<table width="80%" height="300" border="0" align="center" cellpadding="0"
cellspacing="0">
<tr>
<td width="4%" height="274"></td>
<td width="95%" class="sidebarText" id="padding"><div align="justify" id="calheader">
<div align="justify"><span class="style10">All the events to ever be organized will be
shown to all of our dear members here so we all come together as a society and
celebrate every part of it to the fullest
<br />
&nbsp;</span><br />
</div>
</div></td>
</tr>
</table></td>

<td height="494" valign="top" bgcolor="#a4c2c2">&nbsp;</td>


<td width="1000" valign="top" bgcolor="#999966">
<table width="1002" height="386" border="0" cellpadding="0" cellspacing="0">
<tr bgcolor="#0f4f3f">
<td width="1002" height="74" align="center" bgcolor="#0f4f3f" class="pageName">
<p align="left" class="style1">&nbsp;&nbsp;&nbsp;&nbsp;
Event Search : </p>
</tr>
<tr>
<td height="310" bgcolor="#999966" class="bodyText"><blockquote>
<fieldset><legend><span class="style9">Event Search</span></legend>
<form action="ProcessSearch.jsp" method="post" name="myForm"
class="style14" id="form1" onsubmit="return Validation(this);">
<table width="668" height="214" border="1" align="center"
bordercolor="#000000" bgcolor="#99CCFF">
<tr>
<th width="228" height="40" class="style9" scope="row"><div align="center"
class="style14">Event Name </div></th>
<th width="428" class="style9" scope="col"><input name="evnname"
type="text" id="key" value="" size="40" /><sup class="pageName">*</sup></th>
</tr>
<tr>
<th width="228" height="40" class="style9" scope="row"><div
align="center" class="style14">Event Location</div></th>
Page 32
Society Event Management

<th width="428" class="style9" scope="col"><input name="evnlocation"


type="text" value="" size="40" /></th>
</tr>
<tr>
<th height="40" colspan="2" class="style9" scope="row">
<label><input name="Submit" type="submit" class="logo" value="Submit"
/></label>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<label><input name="Submit2" type="reset" class="logo" value="Reset"
/></label>
</th>
</tr>
<p>&nbsp;</p>
</table>
</form>
<p>&nbsp;</p>
</fieldset>

<p align="center"><br />


</p>
</blockquote>
</td>
</tr>
</table> </td>
<td width="4" bgcolor="#999966">&nbsp;</td>
<td width="12" bgcolor="#999966">&nbsp;</td>
</tr>

<tr bgcolor="#ffffff">
<td colspan="5" bgcolor="#999966"><img src="file:///C|/Program%20Files
%20(x86)/Macromedia/Dreamweaver%208/Configuration/BuiltIn/StarterPages/mm_spacer.gif"
alt="" width="1" height="1" border="0" /></td>
</tr>

<tr>
<td width="223" height="19">&nbsp;</td>
<td width="4">&nbsp;</td>
</tr>
</table>
</body>
</html>

UserLogout.jsp

<?xml version="1.0" encoding="ISO-8859-1" ?>


<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
pageEncoding="ISO-8859-1"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:f="http://java.sun.com/jsf/core"
xmlns:h="http://java.sun.com/jsf/html">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
<title>User Logout</title>
</head>
<body>
<% session.setAttribute("userid",null);
session.invalidate();
response.sendRedirect("Homepage.html");

%>
Page 33
Society Event Management

</body>
</html>
Userlogin.jsp

<?xml version="1.0" encoding="ISO-8859-1" ?>

<%@page import="java.sql.*" %>


<%@page import="java.util.*" %>

<%@ page language="java" contentType="text/html; charset=ISO-8859-1"


pageEncoding="ISO-8859-1"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:f="http://java.sun.com/jsf/core"
xmlns:h="http://java.sun.com/jsf/html">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
<title></title>
</head>
<body>
<%
String userid,pass,userName;
userid=request.getParameter("uname");
pass=request.getParameter("pass");
Class.forName("com.mysql.jdbc.Driver");
Connection
con=DriverManager.getConnection("jdbc:mysql://localhost:3306/project","root","root");
Statement st=con.createStatement();
ResultSet rs=st.executeQuery("select * from userlogin where uname='"+userid+"'AND
pass='"+pass+"'");
if(rs.next())
{
session.setAttribute("userid", userid);
response.sendRedirect("bookevents.jsp");
}
else
{
request.setAttribute("Message", "Login Failed. Try Again..");
request.getSession().removeAttribute("userid");
//response.sendRedirect("Admin.jsp");
getServletContext().getRequestDispatcher("/User.jsp").forward(request, response);
}
%>
</body>
</html>

UserKeyword.jsp

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"


"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<%@page import="java.sql.*" %>
<%@page import="java.util.*" %>
<%@page import="java.text.*" %>
<html xmlns="http://www.w3.org/1999/xhtml">
<!-- DW6 -->
<head>
<title> Event Details | Event Management System</title>

<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />


Page 34
Society Event Management

<link rel="stylesheet" href="Styles/mm_search1.css" type="text/css" />


<style type="text/css">
<!--
.style1 {
color: #CC6666;
font-weight: bold;
}
.style2 {
font-size: 24px;
color: #000000;
}
#Layer1 {
position:absolute;
width:778px;
height:315px;
z-index:1;
left: 321px;
top: 273px;
background-color: #666666;
}
.style9 {font-size: 16px}
.style10 {font-size: 10px}
.style11 {font-size: 24px; }
.style14 {font-size: 12px; }
-->
</style>
</head>
<body bgcolor="#cafaf8">

<table width="100%" height="100%" border="0" align="left" cellpadding="0"


cellspacing="0">
<tr>
<td width="223" nowrap="nowrap"><img src="images/mm_spacer.gif" alt=""
width="15" height="1" border="0" /></td>
<td height="50" colspan="2" class="logo" nowrap="nowrap"><div align="center"
class="style2">
<p align="left" class="style11">Event Management System </p>
</div></td>
<td width="4">&nbsp;</td>
<td width="12">&nbsp;</td>
</tr>

<tr bgcolor="#ffffff">
<td colspan="5"><img src="images/mm_spacer.gif" alt="" width="1" height="1"
border="0" /></td>
</tr>

<tr bgcolor="#a4c2c2">
<td width="223" nowrap="nowrap">&nbsp;</td>
<td height="27" colspan="2" id="navigation" class="navText">
<div align="center">
<a href="CodeAdmin.jsp">USER
DETAILS</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<a href="Upload.jsp">UPLOAD</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<a
href="UserKeyword.jsp">KEYWORD</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp
;
<a href="AdminDetails.jsp">ACCOUNT
DETAILS</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;

Page 35
Society Event Management

<a
href="AdminLogout.html">LOGOUT</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp
;

</div>
</td>
<td width="4">&nbsp;</td>
<td width="12">&nbsp;</td>
</tr>

<tr bgcolor="#ffffff">
<td colspan="5"><img src="images/mm_spacer.gif" alt="" width="1" height="1" border="0"
/></td>
</tr>

<tr bgcolor="#ffffff">
<td height="494" valign="top" bgcolor="#a4c2c2"><div align="center">
<img src="images/mm_search1_image.jpg" alt="Home Page Image" width="223" height="206"
border="0" align="middle" />
</div>
<table width="89%" height="274" border="0" align="center" cellpadding="0"
cellspacing="0">
<tr>
<td width="4%" height="274"></td>
<td width="95%" class="sidebarText" id="padding"><div align="justify" id="calheader">
<div align="justify"><span class="style10">All the events to ever be organized will be
shown to all of our dear members here so we all come together as a society and
celebrate every part of it to the fullest
<br />
&nbsp;</span><br />
</div>
</div></td>
</tr>
</table></td>

<td height="494" valign="top" bgcolor="#a4c2c2">&nbsp;</td>


<td width="1000" valign="top" bgcolor="#999966"><table width="1002" height="386"
border="0" cellpadding="0" cellspacing="0">

<tr bgcolor="#0f4f3f">
<td width="1002" height="74" align="center" bgcolor="#0f4f3f" class="pageName"><p
align="left" class="style1">&nbsp;&nbsp;&nbsp;&nbsp; Keyword Details
</p></tr>

<tr>
<td height="310" bgcolor="#999966" class="bodyText"><blockquote>
<fieldset>
<legend><span class="style9">Keyword Details</span></legend>
<table width="850" height="54" border="1" align="center" cellpadding="1"
cellspacing="1">
<tr>
<th width="51" scope="col"><div align="center">Sr No</div></th>
<th width="26" scope="col"><div align="center">File ID</div></th>
<th width="53" scope="col"><div align="center">File Key</div></th>
<th width="83" scope="col"><div align="center">File Name</div></th>
<th width="53" scope="col"><div align="center">File Extensions</div></th>
<th width="53" scope="col"><div align="center">File Size (in Kb)</div></th>
<th width="53" scope="col"><div align="center">Date</div></th>

</tr>
Page 36
Society Event Management

<%
try{
String dbURL = "jdbc:mysql://localhost:3306/project";
String dbUser = "root";
String dbPass = "root";
Connection conn = null; // connection to the database
DriverManager.registerDriver(new com.mysql.jdbc.Driver());
conn = DriverManager.getConnection(dbURL, dbUser, dbPass);

// constructs SQL statement


String sql = "select id,filename,filekey,date,rank,fileext,filesize
from filedatabase";
Statement st=conn.createStatement();
ResultSet rs=st.executeQuery(sql);
while(rs.next())
{
%>
<tr class="style14">
<%
String filename,filekey,rank,fileext,size;
java.util.Date date;
SimpleDateFormat dt=new
SimpleDateFormat("dd/MM/yyyy");
int id=rs.getInt("id");
filename=rs.getString("filename");
filekey=rs.getString("filekey");
date=rs.getDate("date");
rank=rs.getString("rank");
fileext=rs.getString("fileext");
size=rs.getString("filesize");
%>
<td align="center"><%=id %></td>
<td align="center"><%=id %></td>
<td align="center"><%=filekey %></td>
<td align="center"><%=filename %></td>
<td align="center"><%=fileext %></td>
<td align="center"><%=size %></td>
<td align="center"><%=dt.format(date)%></td>
</tr>
<%
}
}
catch(Exception e){
e.printStackTrace();
}

%>

</table>
<p>&nbsp;</p>
</fieldset>
<p align="justify"><br />
</p>
</blockquote></td>
</tr>
</table> </td>
<td width="4" bgcolor="#999966">&nbsp;</td>
<td width="12" bgcolor="#999966">&nbsp;</td>
</tr>

Page 37
Society Event Management

<tr bgcolor="#ffffff">
<td colspan="5" bgcolor="#999966"><img src="file:///C|/Program%20Files
%20(x86)/Macromedia/Dreamweaver%208/Configuration/BuiltIn/StarterPages/mm_spacer.gif"
alt="" width="1" height="1" border="0" /></td>
</tr>

<tr>
<td width="223" height="19">&nbsp;</td>
<td width="4">&nbsp;</td>
</tr>
</table>
</body>
</html>

Upload.jsp

<?xml version="1.0" encoding="ISO-8859-1" ?>


<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
pageEncoding="ISO-8859-1"%>
<%@ page import="java.util.*" %>
<%@ page import="java.sql.*" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"


"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:f="http://java.sun.com/jsf/core"
xmlns:h="http://java.sun.com/jsf/html">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
<title> Event Upload | Event Management System</title>

<script type="text/javascript">
function Validation(form){
if(document.myForm.filename.value== ""){
alert( "Please Enter the FileName.!" );
document.myForm.filename.focus() ;
return false;
}
if( document.myForm.filekey.value == "" )
{
alert( "Please Enter the Keyword.!" );
document.myForm.filekey.focus() ;
return false;
}
if( document.myForm.file.value == "" )
{
alert( "Please Select the File.!" );
document.myForm.filekey.focus() ;
return false;
}

return true;
}
</script>
<script type="text/javascript" src="JS/jquery-1.4.2.min.js"></script>
<script src="JS/jquery.autocomplete.js"></script>
<script>
jQuery(function(){
Page 38
Society Event Management

$("#key").autocomplete("list.jsp");
});
</script>
<link rel="stylesheet" href="Styles/mm_search1.css" type="text/css" />
<style type="text/css">
<!--
.style1 {
color: #CC6666;
font-weight: bold;
}
.style2 {
font-size: 24px;
color: #000000;
}
#Layer1 {
position:absolute;
width:778px;
height:315px;
z-index:1;
left: 321px;
top: 273px;
background-color: #666666;
}
.style9 {font-size: 16px}
.style10 {font-size: 10px}
.style11 {font-size: 24px; }
.style14 {font-size: 12px; }
-->
</style>
</head>
<body bgcolor="#cafaf8">

<table width="100%" height="100%" border="0" align="left" cellpadding="0"


cellspacing="0">
<tr>
<td width="223" nowrap="nowrap"><img src="images/mm_spacer.gif" alt=""
width="15" height="1" border="0" /></td>
<td height="50" colspan="2" class="logo" nowrap="nowrap"><div align="center"
class="style2">
<p align="left" class="style11">Event Management System </p>
</div></td>
<td width="4">&nbsp;</td>
<td width="12">&nbsp;</td>
</tr>

<tr bgcolor="#ffffff">
<td colspan="5"><img src="images/mm_spacer.gif" alt="" width="1" height="1"
border="0" /></td>
</tr>

<tr bgcolor="#a4c2c2">
<td width="223" nowrap="nowrap">&nbsp;</td>
<td height="27" colspan="2" id="navigation" class="navText">
<div align="center">
<a href="CodeAdmin.jsp">USER
DETAILS</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<a href="Upload.jsp">UPLOAD</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<a
href="UserKeyword.jsp">KEYWORD</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp
;

Page 39
Society Event Management

<a href="AdminDetails.jsp">ACCOUNT
DETAILS</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<a
href="AdminLogout.html">LOGOUT</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp
;

</div>
</td>
<td width="4">&nbsp;</td>
<td width="12">&nbsp;</td>
</tr>

<tr bgcolor="#ffffff">
<td colspan="5"><img src="images/mm_spacer.gif" alt="" width="1" height="1"
border="0" /></td>
</tr>

<tr bgcolor="#ffffff">
<td height="494" valign="top" bgcolor="#a4c2c2"><div align="center">
<img src="images/mm_search1_image.jpg" alt="Home Page Image" width="223"
height="206" border="0" align="middle" />
</div>
<table width="89%" height="274" border="0" align="center" cellpadding="0"
cellspacing="0">
<tr>
<td width="4%" height="274"></td>
<td width="95%" class="sidebarText" id="padding"><div align="justify"
id="calheader">
<div align="justify"><span class="style10">All the events to ever be
organized will be shown to all of our dear members here so we all come together as a
society and celebrate every part of it to the fullest
<br />
&nbsp;</span><br />
</div>
</div></td>
</tr>
</table></td>

<td height="494" valign="top" bgcolor="#a4c2c2">&nbsp;</td>


<td width="1000" valign="top" bgcolor="#999966">
<table width="1002" height="386" border="0" cellpadding="0" cellspacing="0">

<tr bgcolor="#0f4f3f">
<td width="1002" height="74" align="center" bgcolor="#0f4f3f"
class="pageName">
<p align="left" class="style1">&nbsp;&nbsp;&nbsp;&nbsp;
Upload Files
</p>
</tr>

<tr>
<td height="310" bgcolor="#999966" class="bodyText"><blockquote>
<fieldset>
<legend><span class="style9">File Upload</span></legend>

<form action="eventUpload" method="post" name="myForm" class="style14"


id="form1" enctype="multipart/form-data" onsubmit="return Validation(this);">

Page 40
Society Event Management

<table width="668" height="214" border="1" align="center"


bordercolor="#000000" bgcolor="#99CCFF">
<tr>
<th width="228" height="40" class="style9" scope="row">
<div align="center" class="style14">Event Name </div></th>
<th width="428" class="style9" scope="col">
<input name="evnname" type="text" value="" size="40" /><sup
class="pageName">*</sup></th>
</tr>

<tr>
<th height="40" class="style9" scope="row">
<span class="style14">Event Location </span></th>
<th class="style9" scope="col">
<input name="evnlocation" type="text" id="key" value="" size="40" /><sup
class="pageName">*</sup></th>
</tr>

<tr>
<th height="40" class="style9" scope="row">
<span class="style14">Event Timings </span></th>
<th class="style9" scope="col">
<input type="date" name="evntimings"/>
</tr>

<tr>
<th height="40" class="style9" scope="row">
<span class="style14">Event Info </span></th>
<th class="style9" scope="col">
<textarea name="evninfo" id="evninfo" rows="3" cols="40"
size="40" /></textarea><sup class="pageName">*</sup>
</th>
</tr>

<tr>
<th height="40" class="style9" scope="row">
<span class="style14">File Upload </span></th>
<th class="style9" scope="col">
<label><span class="style14">Choose File</span>
<input type="file" name="file" id="file"/>
</label>
<sup class="pageName">*</sup>
</th>
</tr>
<tr>
<th height="40" colspan="2" class="style9" scope="row">
<label><input name="Submit" type="submit" class="logo" value="Upload"
/></label>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<label><input name="Submit2" type="reset" class="logo" value="Reset"
/></label>

<% Object msg =request.getAttribute("Message");


if(msg==null){}
else{
out.println( msg.toString());
String eventmessage = (String) msg;
if(eventmessage != null && eventmessage != "" &&
eventmessage != "null"){ %>
<script type="text/javascript">

Page 41
Society Event Management

window.addEventListener("load",
function(){
alert("${Message}");
});
</script>
<%}
}
%>
</th>
</tr>
</table>
</form>
</fieldset>

<p align="justify"><br />


</p>
</blockquote> </td>
</tr>
</table> </td>
<td width="4" bgcolor="#999966">&nbsp;</td>
<td width="12" bgcolor="#999966">&nbsp;</td>
</tr>

<tr bgcolor="#ffffff">
<td colspan="5" bgcolor="#999966"><img src="file:///C|/Program%20Files
%20(x86)/Macromedia/Dreamweaver%208/Configuration/BuiltIn/StarterPages/mm_spacer.gif"
alt="" width="1" height="1" border="0" /></td>
</tr>

<tr>
<td width="223" height="19">&nbsp;</td>
<td width="4">&nbsp;</td>
</tr>
</table>
</body>
</html>

SearchAdmin.jsp

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"


"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<%@page import="java.sql.*" %>
<%@page import="java.util.*" %>
<%@page import="java.text.*" %>
<html xmlns="http://www.w3.org/1999/xhtml">
<!-- DW6 -->
<head>
<title> Search Events | Event Management System</title>

<script type="text/javascript">
function Validation(form){
if( document.myForm.filekey.value == "" )
{ alert( "Please Enter the Event Name !" );
document.myForm.filekey.focus() ;
return false;
}
return true;
}</script>

Page 42
Society Event Management

<script type="text/javascript" src="JS/jquery-1.4.2.min.js"></script>


<script src="JS/jquery.autocomplete.js"></script>
<script>
jQuery(function(){
$("#key").autocomplete("list.jsp");
});
</script>

<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />


<link rel="stylesheet" href="Styles/mm_search1.css" type="text/css" />
<style type="text/css">
<!--
.style1 {
color: #CC6666;
font-weight: bold;
}
.style2 {
font-size: 24px;
color: #000000;
}
#Layer1 {
position:absolute;
width:778px;
height:315px;
z-index:1;
left: 321px;
top: 273px;
background-color: #666666;
}
.style9 {font-size: 16px}
.style10 {font-size: 10px}
.style11 {font-size: 24px; }
.style14 {font-size: 12px; }
-->
</style>
</head>
<body bgcolor="#cafaf8">

<table width="100%" height="100%" border="0" align="left" cellpadding="0"


cellspacing="0">
<tr>
<td width="223" nowrap="nowrap"><img src="images/mm_spacer.gif" alt=""
width="15" height="1" border="0" /></td>
<td height="50" colspan="2" class="logo" nowrap="nowrap"><div align="center"
class="style2">
<p align="left" class="style11">Event Management System </p>
</div></td>
<td width="4">&nbsp;</td>
<td width="12">&nbsp;</td>
</tr>

<tr bgcolor="#ffffff">
<td colspan="5"><img src="images/mm_spacer.gif" alt="" width="1" height="1"
border="0" /></td>
</tr>

<tr bgcolor="#a4c2c2">
<td width="223" nowrap="nowrap">&nbsp;</td>
<td height="27" colspan="2" id="navigation" class="navText">
<div align="center">
Page 43
Society Event Management

<a href="bookevents.jsp">EVENT
GALLERY</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<a href="Search.jsp">SEARCH
EVENT</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<a href="RegEventDetails.jsp">REGISTERED
EVENTS</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<a
href="UserLogout.html">LOGOUT</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</div>
</td>
<td width="4">&nbsp;</td>
<td width="12">&nbsp;</td>
</tr>

<tr bgcolor="#ffffff">
<td colspan="5"><img src="images/mm_spacer.gif" alt="" width="1" height="1" border="0"
/></td>
</tr>

<tr bgcolor="#ffffff">
<td height="494" valign="top" bgcolor="#a4c2c2"><div align="center">
<img src="images/mm_search1_image.jpg" alt="Home Page Image" width="223" height="206"
border="0" align="middle" />
</div>
<table width="80%" height="300" border="0" align="center" cellpadding="0"
cellspacing="0">
<tr>
<td width="4%" height="274"></td>
<td width="95%" class="sidebarText" id="padding"><div align="justify" id="calheader">
<div align="justify"><span class="style10">All the events to ever be organized will be
shown to all of our dear members here so we all come together as a society and
celebrate every part of it to the fullest
<br />
&nbsp;</span><br />
</div>
</div></td>
</tr>
</table></td>

<td height="494" valign="top" bgcolor="#a4c2c2">&nbsp;</td>


<td width="1000" valign="top" bgcolor="#999966">
<table width="1002" height="386" border="0" cellpadding="0" cellspacing="0">
<tr bgcolor="#0f4f3f">
<td width="1002" height="74" align="center" bgcolor="#0f4f3f" class="pageName">
<p align="left" class="style1">&nbsp;&nbsp;&nbsp;&nbsp;
Event Search : </p>
</tr>
<tr>
<td height="310" bgcolor="#999966" class="bodyText"><blockquote>
<fieldset><legend><span class="style9">Event Search</span></legend>
<form action="ProcessSearch.jsp" method="post" name="myForm"
class="style14" id="form1" onsubmit="return Validation(this);">
<table width="668" height="214" border="1" align="center"
bordercolor="#000000" bgcolor="#99CCFF">
<tr>
<th width="228" height="40" class="style9" scope="row"><div align="center"
class="style14">Event Name </div></th>
<th width="428" class="style9" scope="col"><input name="evnname"
type="text" id="key" value="" size="40" /><sup class="pageName">*</sup></th>
</tr>
<tr>
Page 44
Society Event Management

<th width="228" height="40" class="style9" scope="row"><div


align="center" class="style14">Event Location</div></th>
<th width="428" class="style9" scope="col"><input name="evnlocation"
type="text" value="" size="40" /></th>
</tr>
<tr>
<th height="40" colspan="2" class="style9" scope="row">
<label><input name="Submit" type="submit" class="logo" value="Submit"
/></label>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<label><input name="Submit2" type="reset" class="logo" value="Reset"
/></label>
</th>
</tr>
<p>&nbsp;</p>
</table>
</form>
<p>&nbsp;</p>
</fieldset>

<p align="center"><br />


</p>
</blockquote>
</td>
</tr>
</table> </td>
<td width="4" bgcolor="#999966">&nbsp;</td>
<td width="12" bgcolor="#999966">&nbsp;</td>
</tr>

<tr bgcolor="#ffffff">
<td colspan="5" bgcolor="#999966"><img src="file:///C|/Program%20Files
%20(x86)/Macromedia/Dreamweaver%208/Configuration/BuiltIn/StarterPages/mm_spacer.gif"
alt="" width="1" height="1" border="0" /></td>
</tr>

<tr>
<td width="223" height="19">&nbsp;</td>
<td width="4">&nbsp;</td>
</tr>
</table>
</body>
</html>

Page 45
Society Event Management

4.2 Test Case Design


Testing is a process of executing a program with the intent of finding in error debugging is
the process of loading the exact cause of an error in removing that cause. Software testing is a
critical element of software quality assurance and represents the ultimate review of specification,
design and code generation. These techniques provide systematic guidance for designing tests that :
Exercise the internal logic of Software components, and exercise the input and output domains of
the program to uncover the errors in program function, behavior and performance.

General Test Cases


 Verify that user is able to navigate through all the products.
 Verify that all the text -product, category name, price and product description are clearly
visible.
 Verify that all the images-products are clearly visible search - Verify that on searching all
the product satisfying the search criteria are visible on the search.
 result Page search Verity the more relevant product for the search term are displayed on the
top for a particular search term
 search Verify that count of products is correctly displayed on the search result page for a
particular search term.

Product Buy Flow- Test cases


 Verify that user can buy products added after signing in to the application (or as per the
functionality of the website)
 Verify that the limit to the number of products a user can by is working correctly by
displaying error message and preventing user from buying.
 Verify that the delivery can be declined of for the places where shipping is not available.
 Verify that Cash on Delivery option of payment is working fine.
 Verify that the different prepaid methods of payments are working fine.
 Verify that product return functionality works fine.

Users(Buyer) Registration- Test cases


 Verify that all the specified fields are present on the registration page.
 Verify that the required mandatory fields are marked with * against the Field
Page 46
Society Event Management

 verify that for better user interface dropdowns, radio buttons and checkboxes etc. fields are
displayed whenever possible instead of just textboxes.
 Verify the page has both submit and cancel/reset buttons at the end.
 Verity that clicking submit button after entering all the required fields, submits the data to
the server verify that clicking cancel/reset button after entering all the required fields,
cancels the submit request and resets all the fields.
 Verify that whenever possible validation should take place at client side.
 Verify that not filling the mandatory fields and clicking submit button will lead to validation
error.
 Verify that not filling the optional fields and clicking submit button will still send data to
server without any validation error.
 Check the upper limit of the text boxes.
 Check validation on date and Email fields (only valid dates and valid email lD's should be
allowed.
 Check validation on numeric fields by entering alphabets and special characters.

Page 47
Society Event Management

Chapter 5
Results and Discussions
Home Page

Admin login

Page 48
Society Event Management

User Details

Admin Upload Files

Page 49
Society Event Management

Admin Details

Admin Sign Out

Page 50
Society Event Management

User Login

Events Gallery

Page 51
Society Event Management

Event Search

Registered Events
Page 52
Society Event Management

User Sign Out

About Us
Page 53
Society Event Management

Chapter 6
Conclusion and Future Work
The project society event management hence plays a very important role for letting all the members
of the all the societies to know about the events that is going to be held in any of the societies. It
helps build up the audience. The main management of the society ie the admin adds and arranges all
the events. The extra cost after the completion of any of the events can go to the development of the
society for the future work and progress. This helps to keep the finance of the society in track and
work in a more fulfilling way for the development since it comes from the enjoyment and
celebration. If we think about it then the project society event management is very useful and
advantageous not for just planning everything out in a much more organized manner but also for the
finance which plays a very important role and also the development. It therefore has multiple big
benefits and is of great importance in the world where multiple infrastructures take place on a
regular basis.

Page 54
Society Event Management

Chapter 7
References and Bibliography
Name of the websites
1. www.w3schools.com
2. http://www.seventyemg.com/
3. http://platinumworld.net/

Books used:
1. Tech Max Advanced Java
2. Effective java

Page 55
Society Event Management

Page 56

You might also like