You are on page 1of 60

VERSATILE EVENT MANAGEMENT

A project report on

“VERSATILE EVENT MANAGEMENT”

Submitted in partial fulfillment for award of degree of

Master of Computer Applications

Semester V

SHAH VAIBHAV A. (155303693061)

MEHTA KARAN U. (155303693025)

KARIYANI SUNIL S. (155303693057)

SHAH SUCHITA C. (155303693052)

Internal Guide

DR. DEVASENATHIPATHI N.

SARDAR VALLABHBHAI PATEL INSTITUTE OF TECHNOLOGY, VASAD

Affiliated to Gujarat Technological University

November 2016

VEM Page 1
VERSATILE EVENT MANAGEMENT

PREFACE

We are the student of M.C.A from Sardar Vallabhbhai Patel Institute of Technology
afflicted by GTU.As part of our study we have done this Project and are glad to handover to
them. The project is VERSATILE EVENT MANAGMENT which basically provides
a Management of Events system.

In a Computer application studies, the partial training is very important. We can improve
theoretical knowledge by reading and attempting class but it is imperfect without getting practical
knowledge. Being an IT student we should see every side of technical unit. It plays a vital role in
developing software and situation opportunities and problem

So, hereby we are presenting a project keeping different concept which we saw fell &
experience while training in organization. We have tried our level best to do justification with our
project.

VEM Page 2
VERSATILE EVENT MANAGEMENT

ACKNOWLEDGEMENT

Our Self Vaibhav Shah, Karan Mehta, Sunil Kariyani & Suchita Shah. We would like to express our
gratitude to all those who gave us the possibility to complete our project. We would like to thanks Sardar
Vallabhbhai Patel Institute of Technology for giving us the permission to do project in their organization.

Success is never achieved single handed. It is a team work and work like to thanks each and every one
helping us directly and indirectly and helped us in making this project a success.

Dr. Devasenathipathi N. - Our Professor and Project guide had been very prudent to us threw out the
project. We express our regard to him from the bottom of our heart.

We are also thankful to our Head of The Department Prof. Jonita Roman for her continuous guidance.

Also like to thanks our all the professor who are always ready to give best guide. And also like to
thanks all the friend and colleagues, team member for the supporting hand and encouragement by them
whenever required.

Thanks,

SHAH VAIBHAV A.

MEHTA KARAN U.

KARIYANI SUNIL S.

SHAH SUCHITA C.

VEM Page 3
VERSATILE EVENT MANAGEMENT

1. PROJECT PROFILE

Project Title VERSATILE EVENT MANAGEMENT

Internal Guide DR. DEVASENATHIPATHI N.

Team Size 4(FOUR)

Team Member SHAH VAIBHAV A. (155303693061)


MEHTA KARAN U. (155303693025)
KARIYANI SUNIL S. (155303693057)
SHAH SUCHITA C.(155303693052)

Front End PHP,HTML 5,CSS 3, JQUERY , BOOTSTRAP

Back End MYSQL

Operating System MICROSOFT WINDOWS 8,10

Project Duration 4 MONTHS(APPROX.)

VEM Page 4
VERSATILE EVENT MANAGEMENT

2. DEFINITION

 Versatile Event Management is a unique website that provides both the private and the corporate
events at one place. It maintains the information of the Clients, Staff, suppliers, in detail. It
provides the best facility and works for fulfilling the needs of the Clients.

 Clients Can Book Events Online & Pay Online.

 The process of planning and coordinating the event is usually referred to as event planning and
which can include budgeting, scheduling, site selection, acquiring necessary permits,
coordinating transportation and parking, arranging for speakers or entertainers, arranging decor,
event security, catering , coordinating with third party vendors, and emergency plans.

VEM Page 5
VERSATILE EVENT MANAGEMENT

3. SCOPE

This system can be implemented to any User in the locality or to manage a various types of
event. The system recommends a facility to book the event 24*7 and it provides a various venues and
client satisfaction which can make clients happy.

If system are providing an online portal where their customers can enjoy easy booking from
anywhere, the system won’t be losing any more clients to the trending online event book such as
eventmanagement.com. Since the application is available in the Smartphone it is easily accessible
and always available.

Today event management company is one of the fastest leading business of the world. But
you successful career on this depends upon your contact or social circle for getting more business
and also upon your creative idea that make you popular and helps in public recognition.

You can also work for any business to organize their corporate events. Talk to your relatives
and ask them for functional event.

Today events are not limited to wedding or occasion; nowadays various people
hire VERSATILE EVENT MANAGEMENT for various events like incentive travel, opening
ceremony, etc.

3.1 MODULES:
The system after careful analysis has been identified to be presented with the following
modules and roles. The modules involved are:

I. Administrator
The administrator is the super Usedr of this application. Only admin have access into this admin
page. Admin may be the owner of the system. The administrator has all the information about all
the clients and about all events.

This module is divided into different sub-modules.

 Client Management
 Staff Management
 Event Management
 Supplier Management
 Venue Management

VEM Page 6
VERSATILE EVENT MANAGEMENT

 Client Management

 Add new Client

The versatile event management contains different kind of events. The events
can be classified into different categories by name. Admin can add new client into the
existing system with all its details including an image and identity proof.

 View Client List

The admin will have a list view of the entire client registered in the system.
Admin can view all the details of each client in the list except password.

 Search Client

Admin will have a list view of the entire existing client. He can also search for
a particular event by name.

 Staff Management

 Add staff

Admin can add new staff member into the existing system with all its details
including an image and identity proof.

 View Client List

The admin will have a list view of the entire staff member registered in the
system. Admin can view all the details of each client with photo & identity proof.

VEM Page 7
VERSATILE EVENT MANAGEMENT

 Event Management

 Add Event

Admin can add new event into the existing system with all its details including types
of event like corporate & private event.

 View All Event

Administrator can view all the client lists which are generated by the admin. He can
also view the list of client between two particular dates and he can also print a payment slip.

 Supplier Management

 Add supplier

Admin can add new supplier into the existing system with all its details including his
visiting card.

 View Supplier

Administrator can view the entire supplier list which are generated by the admin.

 Venue Management

 Add New Venue

Admin can add new Venue into the existing system with all its details including
one or more then venue photos.

 View Venue

Administrator can view the entire venue lists which are generated by the admin.

VEM Page 8
VERSATILE EVENT MANAGEMENT

II. ADMIN - USEDRS

 Registration

A New admin member will come into system, the main admin have authority to give
permission to new admin member like supplier, venue etc...

 Login
An admin must login with his Usedr name and password to the system after registration. If
he/she can forget their password we gave facility to send their new password into existing
email.

VEM Page 9
VERSATILE EVENT MANAGEMENT

4. OBJECTIVE

 The objective of the system is to give the children an opportunity for study, by giving tests
and various other mechanisms, which will help them to understand more, and learn more.

 By using this system, student can get better understanding of different subjects and they have
an exposure to outside world.

VEM Page 10
VERSATILE EVENT MANAGEMENT

5. REQUIREMENT ANALYSIS

Project management involves the planning, monitoring, and control of the people,
process, and events that occur as software evolves from a preliminary concept to full
operational deployment.

Project managers plan, monitor, and control the work of a team of software engineers.
Senior managers coordinate the interface between the business and software professionals.

Building computer software is a complex undertaking, particularly if it involves many


people working over a relatively long time. That’s why software projects need to be
managed.

A project plan is produced as management activities commence. The plan defines the
process and tasks to be conducted, the people who will do the work, and the mechanisms for
assessing risks, controlling change, and evaluating quality.

VEM Page 11
VERSATILE EVENT MANAGEMENT

V-Model
A variation in the representation of the waterfall model is called v-model.

Represented below, the V-model depicts the relationship of quality assurance actions to
the actions associated with communication, modelling, and early construction activities.

As the software team moves down the left side of the V, basic problem requirements are
refined into progressively more detailed and technical representations of the problem and its
solution.

Once code has been generated, the team moves up the right side of the V, essentially
performing a series of tests (quality assurance actions) that validate each of the models created as
the team moved down the left side. In reality, there is no fundamental difference between the
classic life cycle and the V-model. The V-model provides a way of visualizing how verification
and validation actions are applied to earlier engineering work.

VEM Page 12
VERSATILE EVENT MANAGEMENT

6. TOOLS AND TECHNOLOGIES

Sublime Text3:

Sublime Text-3 is an amazing piece of software. To start, it is a clean, functional, and fast code
editor. Not only does it have incredible built in features (multi
(multi-edit
edit and vim mode), but it has support for
plug-ins,
ins, snippets, and many other things.

I know there have already been many articles like this online, but I am teaching a class on
Sublime Text and thought it would be good to have all the information online. In this article, we’ll be
diving into the best parts of Sublime Text. You’ve probably already heard of some of these, but maybe not
some others.

The command palette let’s you access pretty much anything in the settings menus, call
your package commands, change file syntax, handle Sublime projects, and so much more.

For instance,, you are able to call Git commands add, bra
branch,
nch, commit, push, and pull all
from the command palette.

Sublime Text provides a really fast way to open up new files. Just press ctrl + p and start
typing the name of the file you want. Once it shows up, just press enter and start typing directly
into that file!

Snippets are yet another great feature of Sublime Text. You can Used the pre-installed
pre
ones, build your own, or install a package that has more. All you have to do is type in a word and
it will expand into your snippet. For example, typing lorem will
ill generate lorem ipsum text.

VEM Page 13
VERSATILE EVENT MANAGEMENT

PHP:

PHP is a server-side
side scripting language designed for web development but also Usedd as a
general-purpose
purpose programming language. Originally created by Rasmus Lerdorf in 1994, the PHP
reference implementation is now produced by The PHP Group.PHP originally stood for Personal
Home Page, but it now stands for the recursive backronym PHP: Hypertext Preprocessor.

PHP code may be embedded into HTML code, or it can be Usedd d in combination with
various web template systems, web content management system and web frameworks. PHP code
is usually processed by a PHP interpreter implemented as a module in the web server or as a
Common Gateway Interface (CGI) executable. The web server combines the results of tthe
interpreted and executed PHP code, which may be any type of data, including images, with the
generated web page. PHP code may also be executed with a command
command-line
line interface (CLI) and
can be Useddd to implement standalone graphical applications.

PHP has been


een widely ported and can be deployed on most web servers on almost every
operating system and platform, free of charge.

Mysql :

 Mysql is Useddd for web application beca


becaUsed it is designed to scalable and to perform
well in multi-Usedrr environment.

 It is reliable, platform compatible and easy to Used.. It provides Excellent Database


platform for
o Large-scale
scale online transaction processing.
o Data warehousing, and ee-commerce Application.

VEM Page 14
VERSATILE EVENT MANAGEMENT

Bootstrap 3:

 Bootstrap is the most popular HTML, CSS, and JavaScript framework for developing
responsive, mobile-first
first web sites.
 Benefits of Bootstrap:
 Easy to Used
 Responsive Feature
 Browser Compatibility

Wamp Server :

WampServer is a Windows web development environment. It allows you to create web applications
with Apache, PHP and the MySQL database. It also comes with PHPMyAdmin to easily manage your
databases. WampServer installs automatically (installer), and its usage is very intuitive

VEM Page 15
VERSATILE EVENT MANAGEMENT

7. SYSTEM DESIGN
1.1 Navigation Chart

Versatile Event Management

Usedr

Why us What we do Venue Gallery Manager Contact us

Corporate Private Event


event

Wedding
Meeting

Seminar Anniversary
Venue

Conference  Ahmadabad Baby shower


 Surat
 Vadodara
Bus-dinner
 Rajkot
Birthday
 Naiad
 Anand
Incent-travel

VIP-Events

Opn-ceremony

Theme party Book now Successful


Payment
Payment

VEM Page 16
VERSATILE EVENT MANAGEMENT

DASHBOARD

ADD CLIENT

CLIENT

VIEW CLIENT

ADD STAFF
STAFF
VIEW STAFF

A
ADD VENUE
VENUE
D

M VIEW VENUE

I
ADD EVENTS
N
EVENTS

VIEW EVENTS

ADD SUPPLIER

SUPPLIER

VIEW SUPPLIER

PAYMENT

ADD USEDR

VEM Page 17
VERSATILE EVENT MANAGEMENT

7.2 LISTING AND DESCRIPTION OF TABLE


1. Client Book Master:

Column Type Null Default Description

book_id int(11) No Used to store booking ID of client.

venue_name varchar(150) No Used to store venue name for client.

Cname varchar(100) No Used to store a client name

add1 varchar(250) No Used to store an address of a client.

add2 varchar(250) No Used to store an address of a client.

City varchar(250) No Used to store a city of client.

Contact Double No Used to store contact of client.

Email varchar(100) No Used to store email of a client.

Eventdt Date No Used to store event date field.

event_start varchar(10) No Used to store event start time field.

event_dur varchar(5) No Used to store event duration field.

event_type varchar(150) No Used to store event type field.

event_bud Double No Used to store event budget field.

Eventadv. Double No Used to store advance payment field.

Payment varchar(10) No Used to store payment field.

Status varchar(15) No Used to store status field.

This table is used to add client details.

VEM Page 18
VERSATILE EVENT MANAGEMENT

2 Client Master:

Column Type Null Default Description

c_id int(11) No Used to store client id field.

c_name varchar(250) No Used to store client name


field.

Address varchar(250) No Used to store client address


field.

Contactno. varchar(250) No Used to store client contact


field.

Emailed varchar(250) No Used to store client email


field.

Photo Longtext No Used to store client phone


field.

id_proof Longtext No Used to store client id


proof field.

These table stores products added client details

VEM Page 19
VERSATILE EVENT MANAGEMENT

3 Enq_Master:

Column Type Null Default Description

E_id int(11) No Used to store enquiry id field.

Name varchar(250) No Used to store enquiry name field.

Address Longtext No Used to store address field.

Contact varchar(250) No Used to store contact field.

Email varchar(250) No Used to store email field.

Message Longtext No Used to store message field.

Edate varchar(250) No Used to store event date field.

Etype varchar(250) No Used to store event type field.

Budget varchar(250) No Used to store budget field.

Confirmed varchar(250) No Used to store conformed client field.

VEM Page 20
VERSATILE EVENT MANAGEMENT

4 Event Master:

Column Type Null Default Description

e_id int(11) No Used to store event ID field.

client_na varchar(100) No Used to store client name field.


me

event_type varchar(150) No Used to store event type field.

event_ven varchar(250) No Used to store event venue field.


ue

event_des Longtext No Used to store event description field.


c

event_bud Double No Used to store event budget field.

event_date Date No Used to store event date field.

event_tim varchar(20) No Used to store event time field.


e

event_adv Double No Used to store event advance payment field.

event_due Double No Used to store event due payment field.

This table is used for Event Master.

VEM Page 21
VERSATILE EVENT MANAGEMENT

5 Login Master:

Column Type Null Default Description

User_id int(11) No Used to store user id field.

Username varchar(250) No Used to store user name field.

password varchar(250) No Used to store user password field.

Client varchar(5) No Used to store client field.

Staff varchar(5) No Used to store staff field.

Venue varchar(5) No Used to store venue field.

Event varchar(5) No Used to store event field.

Supplier varchar(5) No Used to store supplier field.

payment varchar(5) No Used to store payment field.

User varchar(5) No Used to store user field.

This table stores detail related to Login by user.

VEM Page 22
VERSATILE EVENT MANAGEMENT

6 Payment Master:

Column Type Null Default Description

e_id int(11) No Used to store event id field.

client_name varchar(100) No Used to store event name field.

event_type varchar(150) No Used to store event type field.

event_venue varchar(250) No Used to store event venue field.

event_desc Longtext No Used to store event decs field.

event_bud Double No Used to store event budget field.

event_date Date No Used to store event date field.

event_time varchar(20) No Used to store event time field.

event_adv Double No Used to store event adv. Payment field.

event_due Double No Used to store event due. Payment field.

Amt Double No Used to store event total amount field.

This table stores detail related to payment details.

VEM Page 23
VERSATILE EVENT MANAGEMENT

7 Photo Master:

Column Type Null Default Description

Pid int(11) No Used to store event id

event_name varchar(250) No Used to store event name

Path Longtext No Used to store photo path

This table stores detail to client photos.

VEM Page 24
VERSATILE EVENT MANAGEMENT

8. Staff Master:

Column Type Null Default Description

s_id int(11) No Used to store staff id field.

s_name varchar(100) No Used to store staff name field.

Address Longtext No Used to store staff address field.

contactno Double No Used to store staff contact no field.

Emailed varchar(250) No Used to store staff email field.

j_date Date No Used to store staff join date field.

Salary int(11) No Used to store staff salary field.

Photo Longtext No Used to store staff photo field.

id_proof Longtext No Used to store staff id proof field.

This table stores detail related to Staff Master.

VEM Page 25
VERSATILE EVENT MANAGEMENT

9. Supplier Master:

Column Type Null Default Description

s_id int(11) No Used to store supplier id field.

supplier_name varchar(250) No Used to store supplier name field.

Address Longtext No Used to store supplier address field.

Contact_no varchar(250) No Used to store supplier contact no field.

Emailed varchar(250) No Used to store supplier email field.

Supplier_for varchar(250) No Used to store supplier for field.

Photo Longtext No Used to store supplier photo field.

This table store related to Supplier Master.

VEM Page 26
VERSATILE EVENT MANAGEMENT

10. Venue Master:

Column Type Null Default Description

v_id int(11) No Used to store venue id field.

venue_name varchar(250) No Used to store venue name field.

venue_city varchar(250) No Used to store venue city field.

venue_type varchar(30) No Used to store venue type field.

venue_info Longtext No Used to store venue info field.

Photo Longtext No Used to store venue photo field.

photo1 Longtext No Used to store venue photo field.

photo2 Longtext No Used to store venue photo field

photo3 Longtext No Used to store venue photo field

photo4 Longtext No Used to store venue photo field

photo5 Longtext No Used to store venue photo field

photo6 Longtext No Used to store venue photo field

photo7 Longtext No Used to store venue photo field

This table store related to Venue Master.

VEM Page 27
VERSATILE EVENT MANAGEMENT

11. Incentive Master:

Column Type Null Default Description

book_id int(11) No Used to store book id field.

Name varchar(150) No Used to store incentive name field.

Date Date No Used to store incentive date field.

Govt_type varchar(150) No Used to store incentive type field.

Places varchar(150) No Used to store incentive place field.

Price Double No Used to store incentive price field.

member int(10) No Used to store incentive member field.

total price Double No Used to store incentive total price field.

Cinfo varchar(150) No Used to store incentive info field.

eventdesc varchar(150) No Used to store incentive description field.

payment varchar(50) No Used to store incentive payment field.

Status varchar(10) No Used to store incentive status field.

VEM Page 28
VERSATILE EVENT MANAGEMENT

7.3 SCREEN SHOTS

1) Main Page :

2) Why Us? :

VEM Page 29
VERSATILE EVENT MANAGEMENT

3) What we do :

4) Corporate Events :

VEM Page 30
VERSATILE EVENT MANAGEMENT

5) Private Event :

6) Corporate event location:

VEM Page 31
VERSATILE EVENT MANAGEMENT

7) Corporate event location:

8) Venue :

VEM Page 32
VERSATILE EVENT MANAGEMENT

9) Wedding plot details:

10) Venue booking form:

VEM Page 33
VERSATILE EVENT MANAGEMENT

11) Manager form:

VEM Page 34
VERSATILE EVENT MANAGEMENT

13) contact us:

14)admin login:

VEM Page 35
VERSATILE EVENT MANAGEMENT

15)admin page:

16)addclient :

VEM Page 36
VERSATILE EVENT MANAGEMENT

17)Viewclient :

18) add staff :

VEM Page 37
VERSATILE EVENT MANAGEMENT

19)View staff :

20)add venue:

VEM Page 38
VERSATILE EVENT MANAGEMENT

21)view venue:

22)add client:

VEM Page 39
VERSATILE EVENT MANAGEMENT

23)view event:

24)conform booking:

VEM Page 40
VERSATILE EVENT MANAGEMENT

25)delete booking:

26)add supplier:

VEM Page 41
VERSATILE EVENT MANAGEMENT

27)view supplier:

28)payment form:

VEM Page 42
VERSATILE EVENT MANAGEMENT

29)add new Usedr:

VEM Page 43
VERSATILE EVENT MANAGEMENT

30)change Password:

VEM Page 44
VERSATILE EVENT MANAGEMENT

7.4 FUNCTIONALITIES IN PROJECT

 Provides event management facilities to both: Corporate and Private.


 Provides searching options for different events in different cities.
 Corporate events includes: Seminar, Meeting, Conference and Incentive –Travel etc.
 Private events includes: wedding, anniversary, baby shower etc.

1. Admin Panel:

This module acts as a super Usedr for the proposed application. It allocates the rights,
performs Usedr management, view the customer’s order summary, package information, and
order related information.

 Admin can login to the System.


 Admin can modify the Password.
 Admin can Add, Modify, Delete the Event information.
 Admin Can Generate Report of Confirm Booking , Cancel Booking
 Admin Can Generate the Client Report
 Admin can approve/disapprove Event order.
 View order details.
 View customer details.
 View or Print Summary (Report).
 Main Admin has authority to give accessibility to another Admin (i.e., supplier, client,
payment etc...)

2. E-mail:

In this functionality if customer wants to inquiry, Feedback or give order he or she


have to enter email address so we can communicate with them. Whatever communication we
do ,by e-mail or by telephonic conversion. We will send confirmation email to customers.

Clients can Book their events, and they gave payment and we can send them e-mail
that their booking were confirmed. And another mail was going to our system.

3. Database Connectivity:

Database connectivity is important access and retrieves data by using form.

4. Payment:

Clients can pay online event Advance or full money by using our payment facility.

VEM Page 45
VERSATILE EVENT MANAGEMENT

7.5 . SAMPLE CODE SNIPPETS


1. Add Client :

<? PHP
INCLUDE ("INCLUDE/SECURITY.PHP");
INCLUDE ("INCLUDE/CONNECTION.PHP");
IF (ISSET ($_GET ['CID']))
{
$ID = $_GET ['CID'];
$QUERY = "SELECT * FROM CLIENT_MASTER WHERE C_ID=$ID";
$RESULT = MYSQLI_QUERY ($CONN, $QUERY);
$RES = MYSQLI_FETCH_ARRAY ($RESULT);

IF(ISSET($_POST['BTNSAVE']))

{
$NAME = $_POST ['NAME'];
$ADD = $_POST ['ADDRESS'];
$CNO =$_POST ['CNO'];
$EMAIL = $_POST ['EMAILID'];

IF (ISSET ($_FILES ['PHOTO']))


{
$FILE1 = $_FILES ['PHOTO'];

//FILE PROPERTIES

$FILE1_NAME=$FILE1 ['NAME'];
$FILE1_TMP=$FILE1 ['TMP_NAME'];
$FILE1_ERROR=$FILE1 ['ERROR'];

//FILE EXTENSION

VEM Page 46
VERSATILE EVENT MANAGEMENT

$FILE_EXT=EXPLODE ('.',$FILE1_NAME);
$FILE_EXT = STRTOLOWER ($FILE1_NAME);

IF ($FILE1_ERROR==0)
{
$FILE1_NEW = UNIQID ('', TRUE).'.'.$FILE_EXT;
$FILE1_DESTINATION='IMG_UPLOAD/'. $FILE1_NEW;
MOVE_UPLOADED_FILE ($FILE1_TMP,$FILE1_DESTINATION);

IF(ISSET($FILE1_DESTINATION))

{
$PHOTO=$FILE1_DESTINATION;
}
ELSE

{
$PHOTO="";
}
}
IF(ISSET($_FILES['ID_PROOF']))

{
$FILE1 = $_FILES ['ID_PROOF'];

//FILE PROPERTIES

$FILE1_NAME=$FILE1 ['NAME'];
$FILE1_TMP=$FILE1 ['TMP_NAME'];
$FILE1_ERROR=$FILE1 ['ERROR'];

//FILE EXTENSION

$FILE_EXT=EXPLODE ('.', $FILE1_NAME);


$FILE_EXT = STRTOLOWER ($FILE1_NAME);

VEM Page 47
VERSATILE EVENT MANAGEMENT

IF ($FILE1_ERROR==0)
{
$FILE1_NEW = UNIQID ('', TRUE).'.'.$FILE_EXT;
$FILE1_DESTINATION='IMG_UPLOAD/'. $FILE1_NEW;
MOVE_UPLOADED_FILE ($FILE1_TMP, $FILE1_DESTINATION);

IF (ISSET ($FILE1_DESTINATION))
{
$ID_PROOF=$FILE1_DESTINATION;
}
ELSE

{
$ID_PROOF="";
}
}
$QUERY = "SELECT * FROM CLIENT_MASTER WHERE EMAILID='{$EMAIL}'";
$RESULT = MYSQLI_QUERY ($CONN, $QUERY);
IF($RES = MYSQLI_FETCH_ARRAY($RESULT))

{
ECHO "<SCRIPT>ALERT(\"EMAIL ALREADY REGISTERED\") ;</SCRIPT>";

}
ELSE

{
$INSQUERY="INSERT INTO CLIENT_MASTER
VALUES(NULL,'{$NAME}','{$ADD}','{$CNO}','{$EMAIL}','{$PHOTO}','{$ID_PROOF}')";

IF (MYSQLI_QUERY ($CONN, $INSQUERY))


{
HEADER ("LOCATION: LISTCLIENT.PHP");
}
}
}

IF (ISSET ($_POST ['BTNUPDATE']))


VEM Page 48
VERSATILE EVENT MANAGEMENT

{
$NAME = $_POST ['NAME'];
$ADD = $_POST ['ADDRESS'];
$CNO =$_POST ['CNO'];
$EMAIL = $_POST ['EMAILID'];

IF(ISSET($_FILES['PHOTO']))

{
$FILE1 = $_FILES['PHOTO'];

//FILE PROPERTIES

$FILE1_NAME=$FILE1['NAME'];
$FILE1_TMP=$FILE1['TMP_NAME'];
$FILE1_ERROR=$FILE1['ERROR'];

//FILE EXTENSION

$FILE_EXT=EXPLODE('.',$FILE1_NAME);
$FILE_EXT = STRTOLOWER($FILE1_NAME);

IF($FILE1_ERROR==0)

{
$FILE1_NEW = UNIQID('',TRUE).'.'.$FILE_EXT;
$FILE1_DESTINATION='IMG_UPLOAD/'.$FILE1_NEW;
MOVE_UPLOADED_FILE($FILE1_TMP,$FILE1_DESTINATION);

IF(ISSET($FILE1_DESTINATION))

{
$PHOTO=$FILE1_DESTINATION;
}
ELSE

{
VEM Page 49
VERSATILE EVENT MANAGEMENT

$PHOTO=$RES[5];
}
}
IF(ISSET($_FILES['ID_PROOF']))

{
$FILE1 = $_FILES['ID_PROOF'];

//FILE PROPERTIES

$FILE1_NAME=$FILE1['NAME'];
$FILE1_TMP=$FILE1['TMP_NAME'];
$FILE1_ERROR=$FILE1['ERROR'];

//FILE EXTENSION

$FILE_EXT=EXPLODE('.',$FILE1_NAME);
$FILE_EXT = STRTOLOWER($FILE1_NAME);

IF($FILE1_ERROR==0)

{
$FILE1_NEW = UNIQID('',TRUE).'.'.$FILE_EXT;
$FILE1_DESTINATION='IMG_UPLOAD/'.$FILE1_NEW;
MOVE_UPLOADED_FILE($FILE1_TMP,$FILE1_DESTINATION);

IF(ISSET($FILE1_DESTINATION))

{
$ID_PROOF=$FILE1_DESTINATION;
}
ELSE

{
$ID_PROOF=$RES[6];
}
}
VEM Page 50
VERSATILE EVENT MANAGEMENT

$UPQUERY="UPDATE CLIENT_MASTER SET


C_NAME='{$NAME}',ADDRESS='{$ADD}',CONTACTNO='{$CNO}',EMAILID='{$EMAIL}',P

HOTO='{$PHOTO}',ID_PROOF='{$ID_PROOF}' WHERE C_ID=$ID";

IF(MYSQLI_QUERY($CONN,$UPQUERY))

{
HEADER("LOCATION:LISTCLIENT.PHP");

}
ELSE

{
ECHO "<SCRIPT>ALERT(\"$UPQUERY\");</SCRIPT>";

}
}

IF(ISSET($_POST['BTNDELETE']))

{
$DELQUERY=" DELETE FROM CLIENT_MASTER WHERE C_ID=$ID";
IF(MYSQLI_QUERY($CONN,$DELQUERY))

{
HEADER("LOCATION:LISTCLIENT.PHP");

}
}
?>

VEM Page 51
VERSATILE EVENT MANAGEMENT

2.List Client :

<?php

include("include/security.php");

include("include/connection.php");

if(isset($_POST['btnSubmit']))

$cname = $_POST['cname'];

$query = "Select * from client_master where c_name LIKE '%{$cname}%'";

$result = mysqli_query($conn,$query);

else

$query = "select * from client_master";

$result = mysqli_query($conn,$query);

if(isset($_POST['btnPrint']))

$cname = $_POST['cname'];

if($cname =="")

header("Location:printclient.php");

else

header("Location:printclient.php?cname={$cname}");

VEM Page 52
VERSATILE EVENT MANAGEMENT

3.Print Client :

<?php

include("include/security.php");

include("include/connection.php");

if(isset($_GET['cname']))

$cname = $_GET['cname'];

$query = "Select * from client_master where c_name LIKE '%{$cname}%'";

$result = mysqli_query($conn,$query);

else

$query = "select * from client_master";

$result = mysqli_query($conn,$query);

?>

<!DOCTYPE html>

<html>

<head>

<title></title>

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

<script src="js/jquery-3.1.0.min.js"></script>

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

VEM Page 53
VERSATILE EVENT MANAGEMENT

</head>

<body>

<?php //include("include/navbar.php");?>

<section class="dashboard">

<div class="container">

<div class="row">

<div class="col-md-12 text-center">

<img src="img/last.png">

</div>

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

<h3 class="page-header">CLIENT REPORT</h3>

</div>

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

<div class="panel panel-success">

<div class="panel-body">

<div class="table-responsive">

<table class="table table-condensed">

<tr>

<th>CLIENT ID</th>

<th>PHOTO</th>

<th>ID-PROOF</th>

<th>NAME</th>

<th>ADDRESS</th>

<th>CONTACT NO.</th>

<th>EMAIL- ID</th>

VEM Page 54
VERSATILE EVENT MANAGEMENT

</tr>

<?php while($res=mysqli_fetch_array($result)){?>

<tr>

<td width="10%"><?php echo $res[0];?></td>

<td><img src="<?php echo $res[5];?>" width="100" height="100"></td>

<td><img src="<?php echo $res[6];?>" width="100" height="100"></td>

<td><?php echo $res[1];?></td>

<td><?php echo $res[2];?></td>

<td><?php echo $res[3];?></td>

<td><?php echo $res[4];?></td>

</tr>

<?php }?>

</table>

</div>

</div>

</div>

</div>

</div>

</div>

</section>

<script>

window.print();

</script>

</body>

</html>

VEM Page 55
VERSATILE EVENT MANAGEMENT

4. Change Password :

<?PHP
INCLUDE("INCLUDE/SECURITY.PHP");

INCLUDE("INCLUDE/CONNECTION.PHP");

IF(ISSET($_POST['BTNSAVE']))

{
$OPASS = $_POST['OPASS'];
$NPASS = $_POST['NPASS'];
$ENPASS = SHA1($OPASS);
$NEWPASS = SHA1($NPASS);
$QUERY = "SELECT * FROM LOGIN_MASTER WHERE USEDRNAME='{$USEDR}' AND
PASSWORD='{$ENPASS}'";

//ECHO $QUERY;
$RESULT = MYSQLI_QUERY($CONN,$QUERY);
IF($RES = MYSQLI_FETCH_ARRAY($RESULT))

{
$INSQUERY = "UPDATE LOGIN_MASTER SET PASSWORD='{$NEWPASS}' WHERE
USEDRNAME='{$USEDR}'";
IF(MYSQLI_QUERY($CONN,$INSQUERY))

{
ECHO "<SCRIPT>ALERT(\"PASSWORD CHANGED SUCCESFULLY\");</SCRIPT>";

}
ELSE

{
ECHO "<SCRIPT>ALERT(\"ERROR $INSQUERY\");</SCRIPT>";

}
}
ELSE

{
ECHO "<SCRIPT>ALERT(\"INVALID PASSWORD\");</SCRIPT>";

}
}
?>

VEM Page 56
VERSATILE EVENT MANAGEMENT

5. E – Mail :

<?php

if(isset($_POST['btnEnquiry']))

$fname = $_POST['fname'];

$cno = $_POST['cno'];

$email = $_POST['email'];

$dt = $_POST['dt'];

$type = $_POST['type'];

//mail to respondent

include "classes/class.phpmailer.php"; // include the class name

$mail = new PHPMailer(); // create a new object

$mail->IsSMTP(); // enable SMTP

$mail->SMTPDebug = 1; // debugging: 1 = errors and messages, 2 = messages


only

$mail->SMTPAuth = true; // authentication enabled

$mail->SMTPSecure = 'ssl'; // secure transfer enabled REQUIRED for GMail

$mail->Host = "smtp.gmail.com";

$mail->Port = 465; // or 587

$mail->IsHTML(true);

$mail->Usedrname = "versatileventmanagment@gmail.com";

$mail->Password = "12vaibs12";

$mail->SetFrom("versatileventmanagment@gmail.com");

$mail->Subject = "Enquiry";

//$mailsha= sha1($email);

//$mailstr= urlencode($mailsha);
VEM Page 57
VERSATILE EVENT MANAGEMENT

$mail->Body = "You Have new Enquiry the Details are : <br> Name :
{$fname} <br> Contact No : {$cno} <br> Email = {$email} <br> Date For
Event : {$dt} <br> Event Type : {$type}";

$mail->AddAddress("shahv7878@gmail.com");

if(!$mail->Send()){

echo "Mailer Error: " . $mail->ErrorInfo;

else

echo"<script>alert(\"We will contact you soon, Thank You\");</script>";

?>

VEM Page 58
VERSATILE EVENT MANAGEMENT

8. FUTURE ENHANCEMENT

There is a wide scope for future implementation of ‘Versatile Event Management’


towards an interesting experience of modern technologies. VEM is an for all kinds of Events
serve the Different – Different Cities and States at any time, any moment and anywhere in
any parts of the Gujarat. Not being sticky to make Events within Gujarat only, it can be
global-a “Global Management” through a comprehensive infrastructure. Now a day, Event
Management is not a point of discussions, as modern Technologies have made Events
pleasure comprising speed with comfort. So people are not willing to be bound within only a
small geographical area. So there is place to make them experience the taste Of ‘Global
Management’

VEM Page 59
VERSATILE EVENT MANAGEMENT

9. BIBLIOGRAPHY
During our project we had taken reference from many books and from internet.

 Books:
1. Software Engineering by Rozer Pressman
2. PHP – The Complete Reference

 Websites:
1. www.tutorialspoint.com
2. http://www.phptpoint.com/upload-video-in-php/
3. http://www.w3schools.com/php/demo_form_validation_required.php
4. http://www.tutorialspoint.com/bootstrap/
5. http://www.youtube.com/results?sp=SCjqAwA%253D&q=magic+box+flo
wers

VEM Page 60