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

G. S. College of Commerce, Wardha 2022-23: Rashtrasant Tukadoji Maharaj Nagpur University, Nagpur

Download as pdf or txt
Download as pdf or txt
You are on page 1of 83

A

PROJECT REPORT
ON
“WEDDING MANAGEMENT WEBSITE”

Submitted to
Rashtrasant Tukadoji Maharaj Nagpur
University, Nagpur

In the Partial Fulfillment of


B. Com. Computer Application Final Year

Submitted By
Mrs. Vaishnavi Katare
Mrs. Poonam Mankar

Under the Guidance of


Prof.

G. S. College of Commerce, Wardha


2022-23
G. S. College of Commerce, Wardha

Certificate
This is certify that Mrs. Vaishnavi Katare and Mrs. Poonam
Manklar has completed their project on the topic “Wedding
Management” prescribed by the Rashtrasant Tukadoji Maharaj
Nagpur University Nagpur for B.Com. Computer Application Final
Year course in G. S. College of Commerce, Wardha.

Name of Guide
Project Guide

Dr. Revati Bangre Dr. Arundhati Ninawe


Co-ordinator Principal

External Examiner Internal Examiner


Declaration

We Mrs. Vaishanvi Katare and Mrs. Poonam Mankar here by


honestly declare that the work entitle “Wedding Management”
submitted by us at G. S. College of Commerce, Wardha in partial
fulfillment of requirement for the award of B. Com. Computer
Application Degree by Rashtrasant Tukadoji Maharaj Nagpur
University, Nagpur has not been submitted elsewhere for the award of
any degree, during the academic session 2022-23.

Mrs. Vaishanvi Katare

Mrs. Poonam Mankar

Date:

Place:

ACKNOWLEDGEMENT
We take this opportunity to express our gratitude and whole hearted
thanks to project guide Prof. Name of Guide, Co-ordinator Dr. Revati
Bangre for her guidance throughout this work. We are very much
thankful to her for constant encouragement, support and kindness. We are
also grateful to our teachers Prof. Shailesh Janbandhu, Prof. Harsha
Gangavane, Prof. Amol Raut and Prof. Shripad Dixit for their
encouragement, help and support from time to time.
We also wish to express our sincere thanks to Principal, Dr. Anil
Ramteke Sir for providing us wide range of opportunities, facilities and
inspiration to gather professional knowledge and material without which
this project could not have been completed.

Mrs. Vaishanvi Katare

Mrs. Poonam Mankar

Date:

Place:

Sequence of Pages in Report


➢ Front Page.
➢ College Certificate Page.
➢ Declaration Page.
➢ Acknowledgment Page.
➢ Project Profile.
➢ Index or Content Page.
➢ Appendices
i. List Figures, Tables& Charts.
ii. Approved copy of Synopsis.
Index Page
Contents.
i. Introduction.
ii. Objectives.
iii. Preliminary System Analysis.
• Preliminary Investigation.
• Preliminary Investigation.
• Present System in Use.
• Flaws in Present System.
• Need of New System.
• Feasibility Study.
• Project Category
iv. Software Engineering Paradigm Applied
• Modules
• System / Modular Chart.
v. Software & Hardware Requirement Specification.
vi. Detailed System Analysis.
• Data Flow Diagram.
• Numbers of Modules and Process Logic.
• Data Structures and Tables.
• Entity-Relationship Diagram.
vii. System Design.
• Form Design.
• Source Code.
• Input screen & Output Screen.
viii. Testing &Validation Checks.
ix. System Security Measures.
x. Implementation, Evaluation and Maintenance.
xi. Future Scope of the project.
xii. Suggestion & Conclusion
xiii. Bibliography& References.
INDEX
SR.NO PARTICULAR PAGE Remark
NO
1. BRIEF VIEWS OF THE PROJECT

❖ INTRODUCTION 1

❖ OBJECTIVES 3

2. PRELIMINARY SYSTEM ANALYSIS

❖ IDENTIFICATION OF NEED 5

❖ PRELIMINARY INVESTIGATION 6

❖ FEASIBILITY STUDY 7

❖ TECHNICAL FEASIBILITY 8

3. SOFTWARE AND HARDWARE


USES. 12

4. DETAIL SYSTEM ANALYSIS

❖ DATA FLOW DIAGRAM 20

❖ DATA STRUCTURE & TABLE 22

5. SYSTEM DESIGN AND SOURCE CODE 24

6. FUTURE SCOPE OF THE PROJECT 65

7. CONCLUSION 66

8. BIBLIOGRAPHY 67

9. Synopsis 68
BRIEF VIEWS OF
THE PROJECT
INTRODUCTION

The purpose of Online Wedding Planner is to automate the existing manual system by the help of
computerized equipments and full-fledged computer software, fulfilling their requirements, so that
their valuable data/information can be stored for a longer period with easy accessing and
manipulation of the same. The required software and hardware are easily available and easy to
work with.

Online Wedding Planner, as described above, can lead to error free, secure, reliable and fast
management system. It can assist the user to concentrate on their other activities rather to
concentrate on the record keeping. Thus it will help organization in better utilization of resources.
The organization can maintain computerized records without redundant entries. That means that
one need not be distracted by information that is not relevant, while being able to reach the
information.

The aim is to automate its existing manual system by the help of computerized equipments and
full-fledged computer software, fulfilling their requirements, so that their valuable
data/information can be stored for a longer period with easy accessing and manipulation of the
same. Basically the project describes how to manage for good performance and better services for
the clients.

The "Online Wedding Planner" has been developed to override the problems prevailing in the
practicing manual system. This software is supported to eliminate and in some cases reduce the
hardships faced by this existing system. Moreover this system is designed for the particular need
of the company to carry out operations in a smooth and effective manner.
The application is reduced as much as possible to avoid errors while entering the data. It also
provides error message while entering invalid data. No formal knowledge is needed for the user to
use this system. Thus by this all it proves it is user-friendly. Online Wedding Planner, as described
above, can lead to error free, secure, reliable and fast management system. It can assist the user to
concentrate on their other activities rather to concentrate on the record keeping. Thus it will help
organization in better utilization of resources.
Every organization, whether big or small, has challenges to overcome and managing the
information of Latest Posts, Wedding, Package, Quotation, Blog. Every Online Wedding Planner
has different Wedding needs, therefore we design exclusive employee management systems that
are adapted to your managerial requirements.

Every organization, whether big or small, has challenges to overcome and managing the
information of Latest Posts, Wedding, Package, Quotation, Blog. Every Online Wedding Planner
has different Wedding needs, therefore we design exclusive employee management systems that
are adapted to your managerial requirements. This is designed to assist in strategic planning, and
will help you ensure that your organization is equipped with the right level of information and
details for your future goals. Also, for those busy executive who are always on the go, our systems
come with remote access features, which will allow you to manage your workforce anytime, at all
times. These systems will ultimately allow you to better manage resources.

Wedding planners are given the responsibility of guiding couples with ideas for their wedding.
One of the issues that the wedding planner needs to consider and develop is the order of events on
the wedding day. This project describes in detail the model of the events used on a wedding day.
Scheduling theory and project management techniques suitable for providing an order of events
on a wedding day are then discussed in the context of this project. One of these techniques is then
implemented and evaluated using real life data.
OBJECTIVES

The main objective of the Project on Online Wedding Planner is to manage the details of Wedding,
Latest Posts, Event, Package, Blog. It manages all the information about Wedding, Quotation,
Blog, Wedding. The project is totally built at administrative end and thus only the administrator is
guaranteed the access. The purpose of the project is to build an application program to reduce the
manual work for managing the Wedding, Latest Posts, Quotation, Event. It tracks all the details
about the Event, Package, Blog.

• Provides the searching facilities based on various factors. Such as Wedding, Event,
Package, Blog

• Online Wedding Planner also manage the Quotation details online for Package details,
Blog details, Wedding.

• It tracks all the information of Latest Posts, Quotation, Package etc

• Manage the information of Latest Posts

• Shows the information and description of the Wedding, Event

• To increase efficiency of managing the Wedding, Latest Posts

• It deals with monitoring the information and transactions of Package.

• Manage the information of Wedding

• Editing, adding and updating of Records is improved which results in proper


• resource management of Wedding data.
PRELIMINARY
SYSTEM ANALYSIS
IDENTIFICATION OF NEED

The old manual system was suffering from a series of drawbacks. Since whole of the system
was to be maintained with hands the process of keeping, maintaining and retrieving the
information was very tedious and lengthy. The records were never used to be in a systematic
order. there used to be lots of difficulties in associating any particular transaction with a
particular context. If any information was to be found it was required to go through the
different registers, documents there would never exist anything like report generation. There
would always be unnecessary consumption of time while entering records and retrieving
records. One more problem was that it was very difficult to find errors while entering the
records. Once the records were entered it was very difficult to update these records.

The reason behind it is that there is lot of information to be maintained and have to be kept in
mind while running the business .For this reason we have provided features Present system is
partially automated (computerized), actually existing system is quite laborious as one has to
enter same information at three different places
The success of a system depends largely on how it’s accurately a problem is define,
thoroughly investigated and properly carried out through the choice of solution. User need
identification and analysis are concerned with what the user needs rather then what he or she
wants.

The problem will be identified, defined, and evaluation the problem. The definition specifies
the user requirements, or what the user expect from the new system. This phase sets the project
boundaries. It defines what parts of the system can be changed by the project and what part of
the new system are to remain without any change.

This definition also includes rough idea of the resource’s requirements of Project as well the
estimated start and completion date of each phase as well as the number of persons expected
to be involved in each phase.
PRELIMINARY INVESTIGATION

It means to organized relationship among with the components with central objectives and these
components are called sub-unit of the system.

Every system has common things.

• Combination of different system.

• Independent and inter-related.

• Work for common objectives.

Investigate the particular system considering the following points.

✓ Drive cost benefit analysis.

✓ Maintain the economic and technical aspect of organization.

✓ Attain the desired objectives.

✓ The system undertaken should be feasible.

Input in the system produced the output to achieve goals and objectives controlled by
feedback the knowledge to the user about different fields.
FEASIBILITY STUDY

After doing the project Online Wedding Planner, study and analyzing all the existing or required
functionalities of the system, the next task is to do the feasibility study for the project. All
projects are feasible - given unlimited resources and infinite time.

Feasibility study includes consideration of all the possible ways to provide a solution to the given
problem. The proposed solution should satisfy all the user requirements and should be flexible
enough so that future changes can be easily done based on the future upcoming requirements.

A. Economical Feasibility
• This is a very important aspect to be considered while developing a project. We decided
the technology based on minimum possible cost factor.
• All hardware and software cost has to be borne by the organization.
• Overall we have estimated that the benefits the organization is going to receive from the
proposed system will surely overcome the initial costs and the later on running cost for
system.

B. Technical Feasibility
This included the study of function, performance and constraints that may affect the ability to
achieve an acceptable system. For this feasibility study, we studied complete functionality to
be provided in the system, as described in the System Requirement Specification (SRS), and
checked if everything was possible using different type of frontend and backend plplatforms.

C. Operational Feasibility
No doubt the proposed system is fully GUI based that is very user friendly and all inputs to be
taken all self-explanatory even to a layman. Besides, a proper training has been conducted to
let know the essence of the system to the users so that they feel comfortable with new system.
As far our study is concerned the clients are comfortable and happy as the system has cut down
their loads and doing.
TECHNICAL FEASIBILITY

In this we can check for the project can be done with current equipment, existing software
technology, and available personal and to what existent it can support the proposed application,
For example, if the current computer system is operating at 80% capacity, then running another
application could overload the system and hence requires additional hardware. This involves
financial consideration as well as to accommodate technical enhancement. If the finance is serious
constraint that then the project should be judged as not feasible.

The feasibility study should answer the following questions:

• Whether the project can be carried out with the existing equipment?

• Whether the existing software is good enough?

• Can the work have done will the existing personnel?

• If a new technology is required, how best it can be implemented?


SOFTWARE AND
HARDWARE
USES
PHP/HTML

PHP is a general-purpose programming language originally designed for web development. It was
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 initialism PHP: Hypertext Preprocessor.

PHP code may be executed with a command line interface (CLI), embedded into HTML code, or
used in combination with various web template systems, web content management systems, and
web frameworks. PHP code is usually processed by a PHP interpreter implemented as a module
in a web server or as a Common Gateway Interface (CGI) executable. The web server outputs the
results of the interpreted and executed PHP code, which may be any type of data, such as generated
HTML code or binary image data. PHP can be used for many programming tasks outside of the
web context, such as standalone graphical applications and robotic drone control.

The standard PHP interpreter, powered by the Zend Engine, is free software released under the
PHP License. PHP has been widely ported and can be deployed on most web servers on almost
every operating system and platform, free of charge.

The PHP language evolved without a written formal specification or standard until 2014, with the
original implementation acting as the de facto standard which other implementations aimed to
follow. Since 2014, work has gone on to create a formal PHP specification
Features of PHP

It is most popular and frequently used world wide scripting language, the main reason of
popularity is; It is open source and very simple. Following are the features.

• Simple:
It is very simple and easy to use, compare to other scripting language.
It is very simple and easy this is widely used all over the world.

• Interpreted:
It is an interpreted language, i.e. there is no need for compilation.

• Faster:
It is faster than other scripting language e.g. asp and jsp.

• Open Source:
Open source means you no need to pay for use php, you can free download and use.

• Platform Independent:
PHP code will be run on every platform, Linux, Unix, Mac OS X, Windows.
Advantages of PHP

• Ease of use:
Any individuals who are new to programming can easily learn to use them within a short
duration of time. The syntax for programming in the hypertext preprocessor is quite similar to
the C programming language. So the individual who is familiar with C can easily create PHP
website scripts.

• Speed:
A very vital side of web development is the speed. Considering the very important fact, some
individuals still struggle with the challenge of web data speed. A quick loading website always
appreciated by many individuals. Furthermore, individuals typically like quick loading web
sites compared to slower loading ones. Folks use PHP because of the important fact that it’s
quick.

• Open source and Powerful library support:


Another advantage to using the PHP hyper text Preprocessor is it’s developed and maintained
by a cluster of PHP developers, this help in making a support community, extensive extension
library.
• Stable:
PHP has been in existence for about twenty-two years. Over this era, many developers have
worked on the application to enhance the usage of the application. lots of bugs are discovered
over the years and therefore the bugs are fixed quickly by the team of developers.
Information about MYSQL

MySQL is an open-source relational database management system (RDBMS). Its name is a


combination of "My", the name of co-founder Michael Widenius's daughter, and "SQL", the
abbreviation for Structured Query Language.
MySQL is free and open-source software under the terms of the GNU General Public License,
and is also available under a variety of proprietary licenses. MySQL was owned and sponsored
by the Swedish company MySQL AB, which was bought by Sun Microsystems (now Oracle
Corporation).[8] In 2010, when Oracle acquired Sun, Widenius forked the open-source
MySQL project to create MariaDB.

MySQL is a component of the LAMP web application software stack (and others), which is an
acronym for Linux, Apache, MySQL, Perl/PHP/Python. MySQL is used by many database-
driven web applications, including Drupal, Joomla, phpBB, and WordPress. MySQL is also
used by many popular websites, including Facebook, twitter, YouTube.
The MySQL server software itself and the client libraries use dual-licensing distribution. They
are offered under GPL version 2 or a proprietary license.

Support can be obtained from the official manual. Free support additionally is available in
different IRC channels and forums. Oracle offers paid support via its MySQL Enterprise
products. They differ in the scope of services and in price. Additionally, a number of third
party organizations exist to provide support and services, including MariaDB and Percona.
Uses of MYSQL

In addition to using its own database storage file, Microsoft Access also may be used as the
'front-end' of a program while other products act as the 'back-end' tables, such as Microsoft
SQL Server and non-Microsoft products such as Oracle and Sybase. Multiple backend sources
can be used by a Microsoft Access Jet Database (ACCDB and MDB formats). Similarly, some
applications such as Visual Basic, ASP.NET, or Visual Studio .NET will use the Microsoft
Access database format for its tables and queries.

• MySQL is a relational database management system based on SQL – Structured Query


Language. The application is used for a wide range of purposes, including data warehousing,
e-commerce, and logging applications.

• The most common use for mySQL however, is for the purpose of a web database. It can be
used to store anything from a single record of information to an entire inventory of available
products for an online store.

• In association with a scripting language such as PHP or Perl (both offered on our hosting
accounts) it is possible to create websites which will interact in real-time with a mySQL
database to rapidly display categorised and searchable information to a website user.
Repetitive tasks can be automated through macros with point-and-click options.
XAMPP

XAMPP is a free and open-source cross-platform web server solution stack package developed by
Apache Friends,consisting mainly of the Apache HTTP Server, MariaDB database, and
interpreters for scripts written in the PHP and Perl programming languages.Since most actual web
server deployments use the same components as XAMPP, it makes transitioning from a local test
server to a live server possible.

XAMPP's ease of deployment means a WAMP or LAMP stack can be installed quickly and simply
on an operating system by a developer, with the advantage that common add-in applications such
as WordPress and Joomla! can also be installed with similar ease using Bitnami.

Officially, XAMPP's designers intended it for use only as a development tool, to allow website
designers and programmers to test their work on their own computers without any access to the
Internet. To make this as easy as possible, many important security features are disabled by default.
XAMPP has the ability to serve web pages on the World Wide Web.A special tool is provided to
password-protect the most important parts of the package.
Hardware

Computer hardware includes the physical, tangible parts or components of a computer, such as
the case, central processing unit (CPU), monitor, keyboard, computer data storage, graphics card,
sound card, speakers and motherboard. By contrast, software is instructions that can be stored and
run by hardware.

Hardware is so-termed because it is "hard" or rigid with respect to changes or modifications;


whereas software is "soft" because it is easy to update or change. Intermediate between software
and hardware is "firmware", which is software that is strongly coupled to the particular hardware
of a computer system and thus the most difficult to change but also among the most stable with
respect to consistency of interface.

The progression from levels of "hardness" to "softness" in computer systems parallels a


progression of layers of abstraction in computing.

Hardware is typically directed by the software to execute any command or instruction. A


combination of hardware and software forms a usable computing system, although other systems
exist with only hardware components.
Hardware Requirement:

• Hard-Disk: 500GB or More

• RAM: Minimum 2GB or More

• Monitor: VGA, LCD

• Printer:(Inkjet, Laser)

• Processor: Dual Core or above

Software Requirement:

• PHP/HTML (Front End)

• MY SQL (Back End)

• XAMPP SERVER: To execute program.


DETAIL SYSTEM
ANALYSIS
DATA FLOW DIAGRAM
❖ DATA STRUCTURE & TABLE
SYSTEM DESIGN
AND SOURCE CODE
Home Page

Code:
<?php include 'admin/include/init.php'; ?>
<?php
$count = 0;
$error = '';
$user_firstname = $user_lastname = $user_password = $user_email =
$wedding_date = '';

$account_details = new Account_Details();


$accounts = new Accounts();
$booking = new Booking();
$category = Category::find_all();
$blogEvent = EventWedding::getEventBlogs();

if (isset($_POST['register'])) {

$user_firstname = clean($_POST['user_firstname']);
$user_lastname = clean($_POST['user_lastname']);
$user_email = clean($_POST['user_email']);
$user_phone = clean($_POST['user_phone']);
$wedding_date = clean($_POST['wedding_date']);

$checkdate = $booking->check_wedding_date($wedding_date);

if ($checkdate) {
redirect_to("index.php");
$session->message("
<div class=\"alert alert-warning alert-dismissible fade show\"
role=\"alert\">
<strong><i class='mdi mdi-alert'></i></strong> The wedding you
enter is already booked. Please Try another set of date!
<button type=\"button\" class=\"close\" data-dismiss=\"alert\"
aria-label=\"Close\">
<span aria-hidden=\"true\">&times;</span>
</button>
</div>");
die();
}

if (empty($user_firstname) ||
empty($user_phone) ||
empty($user_email) ||
empty($user_lastname) ||
empty($wedding_date)) {
redirect_to("index.php");
$session->message("
<div class=\"alert alert-warning alert-dismissible fade show\"
role=\"alert\">
<strong><i class='mdi mdi-alert'></i></strong> Please Fill up all
the fields.
<button type=\"button\" class=\"close\" data-dismiss=\"alert\"
aria-label=\"Close\">
<span aria-hidden=\"true\">&times;</span>
</button>
</div>");
die();
}

if (!filter_var($user_email, FILTER_VALIDATE_EMAIL)){
redirect_to("index.php");
$session->message("
<div class=\"alert alert-warning alert-dismissible fade show\"
role=\"alert\">
<strong><i class='mdi mdi-alert'></i></strong> Incorrect email
format.
<button type=\"button\" class=\"close\" data-dismiss=\"alert\"
aria-label=\"Close\">
<span aria-hidden=\"true\">&times;</span>
</button>
</div>");
die();

$check_email = $accounts->email_exists($user_email);

if ($check_email) {
redirect_to("index.php");
$session->message("
<div class=\"alert alert-warning alert-dismissible fade show\"
role=\"alert\">
<strong><i class='mdi mdi-alert'></i></strong> Email is already
Exists.
<button type=\"button\" class=\"close\" data-dismiss=\"alert\"
aria-label=\"Close\">
<span aria-hidden=\"true\">&times;</span>
</button>
</div>");
die();
} else {
if ($error == '') {
$count = $count + 1;
$account_details->firstname = $user_firstname;
$account_details->lastname = $user_lastname;
$account_details->status = 'pending';
$account_details->datetime_created = date("y-m-d h:m:i");
$account_details->phone= $user_phone;
if ($account_details->save()) {
$account_details->user_id =
mysqli_insert_id($db->connection);

if($account_details->update()) {
$accounts->user_id = $account_details->user_id;
$accounts->user_email= $user_email;

if($accounts->save()) {
$booking->user_id = $accounts->user_id;
$booking->user_email = $user_email;
$booking->wedding_date = $wedding_date;
$booking->save();
redirect_to("thank_you.php");
}
}
}
}
}
}
?>
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-
to-fit=no">
<title>Wedding Planner</title>
<link href="https://fonts.googleapis.com/css?family=Open+Sans|Roboto"
rel="stylesheet">
<link rel="stylesheet" type="text/css"
href="https://cdn.materialdesignicons.com/2.1.19/css/materialdesignicon
s.min.css">
<link rel="stylesheet" href="css/bootstrap.min.css">
<link rel="stylesheet" href="css/bootstrap-datepicker.css">
<link rel="stylesheet" href="css/style.css">
<style>
.alert {
font-size: 12px;
}
.error {
background-color: #F2DEDE;
}
.alert.alert-danger.text-center {
font-size: 16px;
}
.mdi.mdi-alert-circle.mr-3 {
font-size: 16px;
}

.bgact{
/* background: rgba(255, 255,255, 0.4); */
background: rgb(14 14 14 / 49%);
padding: 15px;
}

</style>
</head>
<body>
<?php include 'include/nav.php'; ?>

<div class="container-fluid">
<div class="row justify-content-md-center">
<div class="hero">
<div class="row justify-content-md-center">
<div class="col col-lg-3">
</div>
<div class="col col-lg-5" style="margin-top: 10%;">

<?php
if ($session->message()) {
echo $session->message();
}
?>
<form class="bgact" action="<?php echo
$_SERVER['PHP_SELF']; ?>" method="post">
<h2 class="text-center hero-lead">Wedding Planning Starts
Here</h2>
<p class="lead text-center" style="color:white;">START BY
FILLING UP THE FORM</p>
<div class="form-row">
<div class="form-group col-md-6">
<input type="text" class="form-control"
name="user_firstname" placeholder="First Name" id="user_firstname">
</div>
<div class="form-group col-md-6">
<input type="text" id="user_lastname"
class="form-control" name="user_lastname" placeholder="Last Name">
</div>
</div>
<div class="form-group">
<input type="text" class="form-control"
name="user_email" id="user_email" placeholder="youremailaddress@mail.com">
</div>
<div class="form-group">
<input type="text" aria-describedby="phoneHelpBlock"
class="form-control" name="user_phone" id="user_phone" placeholder="Contact
Number">
</div>
<div class="form-row">
<div class="input-group col-md-5">
<input type="text" class="form-control"
name="wedding_date" data-provide="datepicker" id="wedding_date"
placeholder="Wedding Date">
<div class="input-group-append">
<span class="input-group-text"
style="background: white;"><i
style="font-size:
20px;color:#19b5bc;" class="mdi mdi-calendar-check"
id="review" aria-
hidden="true"></i></span>
</div>
</div>
</div>
<div class="text-center mt-3">
<p style="font-size: 11px;color:white;">By clicking
"Sign Up" you agree to WPMS's <a
href="" title="" style="color:
#b81717;font-weight: bold;">Terms of Use</a></p>
<button type="submit" name="register" class="btn btn-
danger btn-sm text-uppercase fb"
style="margin-top: -5px;">Sign Up
</button>
</div>
</form>
</div>
<div class="col col-lg-3">
</div>
</div>
</div><!-- end of hero -->
</div> <!-- end of row justify-content-md-center -->
</div><!-- end of container-fluid -->

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


<div class="row">
<div class="col-lg-12">
<!-- <h3 class="h5 text-uppercase text-center text-muted mt-
4">Wedding</h3> -->
<hr>
<h2 class="h2 text-uppercase text-center mb-4">Our Wedding
Packages</h2>

<?php foreach ($category as $category_row) : ?>


<div class="pricing">
<ul class="list-group list-unstyled">
<li class="list-group-item text-center text-
uppercase"><?= $category_row->wedding_type; ?></li>
<li><img src="admin/<?=
$category_row->preview_image_picture(); ?>" class="img-fluid" alt=""></li>
<li class="list-group-item text-center"><b>THIS PACKAGE
INCLUDES:</b></li>
<?php $feature =
Features::find_by_feature_all($category_row->id); ?>
<?php foreach ($feature as $feature_item) : ?>
<li class="list-group-item"><?=
$feature_item->title; ?></li>
<?php endforeach; ?>
<li class="list-group-item font-weight-bold">Price: $ <?=
number_format($category_row->price); ?>
</li>
<li class="list-group-item font-weight-bold">
<a href="package_detail.php?id=<?=
$category_row->id; ?>" class="btn btn-custom">View Details</a>
</li>
</ul>
</div>
<?php endforeach; ?>
</div><!-- end of col-lg-12 -->
</div><!-- end of row -->
</div><!-- end of container-fluid -->

<div class="container">
<div class="row">
<div class="col-lg-12">
<h2 class="h2 text-uppercase text-center mb-3">THE LATEST
INSPIRATION</h2>
<h6 class="h6 text-uppercase text-center text-muted mb-3">Discover
the best ideas, tips and articles to
inspire
your wedding.</h6>

<div class="card-columns">

<?php foreach($blogEvent as $blog_item) : ?>


<div class="card">
<img class="card-img-top" src="admin/<?=
$blog_item->preview_image_picture(); ?>" alt="Card image cap">
<div class="card-body">
<a href="wedding_details.php?id=<?=
$blog_item->id; ?>" class="btn-stamp">
<h6 class="card-title mt-0 mb-0 text-center font-
weight-bold font-custom text-uppercase"><?= $blog_item->title; ?></h6>
<p class="card-text mt-0 mb-0 text-center
color_gray"><?= $blog_item->wedding_type; ?> Wedding</p>
<p class="card-text mt-0 mb-0 text-center
color_light text-capitalize"><i class="mdi mdi-map-marker"></i>
<?= $blog_item->location; ?></p>
</a>
</div>
</div>
<?php endforeach; ?>

<a href="real-weddings.php" class="btn btn-lg btn-block btn-


explore">EXPLORE MORE INSPIRATION</a>
</div>
</div><!-- end of col-lg-12 -->
</div><!-- end of row -->
</div><!-- end of container -->

<div class="container-fluid" style="width: 100%;background: white;margin-top:


50px;padding-bottom: 20px;">
<div class="row">
<div class="col-lg-6">
<div class="row img-control">
<div class="col-md-1"></div>
<div class="col-md-2">
<img src="DESIGN/checklist-
ea253352239433deb24f2ed8ae110aac1840ff8fa5df43967027e880b5f5385b.svg"
alt="">
<div class="font-custom">CheckList</div>
</div>
<div class="col-md-2">
<img src="DESIGN/seating-chart-
084bbdaabe84a638edf344224d7a92b1bc792db53c5fcf7ab16fcd5a6109ff79.svg"
alt="">
<div class="font-custom">Seating Chart</div>
</div>
<div class="col-md-2">
<img src="DESIGN/guest-list-
eaaf9277c60be7449e41e2f72f358ae3c94c1b31726b894e064498a9536cac9a.svg"
alt="">
<div class="font-custom">Guess List</div>
</div>
<div class="col-md-2">
<img src="DESIGN/budget-
6eca6d3898f15dd5682ce3664d8d9ff9bdd271db03857ba8a99e90b9181db46c.svg"
alt="">
<div class="font-custom">Budget</div>
</div>
<div class="col-md-2">
<img src="DESIGN/vendor-manager-
102fbe8fdbab3e176a6d29bd05c6f26dcd35cfa0f55ff50b1bfd9e70c8fdcdda.svg"
alt="">
<div class="font-custom">Vendor Manager</div>
</div>

</div>
<h1 class="h1 text-center mt-4">Take the Stress Out of
Planning</h1>
<p class="lead text-muted text-center ml-5" style="font-size:
14px;">Check things off your personalized to-do list all the way to your big
day!</p>
</div>
<div class="col-lg-6">
<div class="feature">
<ul class="list-group rounded-0">
<li class="list-group-item rounded-0 d-flex justify-content-
between align-items-center ">Announcement your engagement
<span class="badge badge-pill" style="font-size:
12px;font-weight: bold;color:#888;">OverDue <i class="mdi mdi-checkbox-blank-
outline ml-3" ></i></span>
</li>
<li class="list-group-item rounded-0 d-flex justify-content-
between align-items-center">Plan your engagement party
<span class="badge badge-pill" style="font-size:
12px;color:#888">Today <i class="mdi mdi-checkbox-blank-outline ml-3"></i></span>
</li>
<li class="list-group-item rounded-0 d-flex justify-content-
between align-items-center">Schedule an engagement photo shoot
<span class="badge badge-pill" style="font-size:
12px;color:#888">Tomorrow <i class="mdi mdi-checkbox-blank-outline ml-
3"></i></span>
</li>
<li class="list-group-item rounded-0 d-flex justify-content-
between align-items-center">Set up your registry
<span class="badge badge-pill" style="font-size:
12px;color:#888">May 15 <i class="mdi mdi-checkbox-blank-outline ml-
3"></i></span>
</li>
<li class="list-group-item rounded-0 d-flex justify-content-
between align-items-center">Start your guest list
<span class="badge badge-pill" style="font-size:
12px;color:#888">Today <i class="mdi mdi-checkbox-blank-outline ml-3"></i></span>
</li>
<li class="list-group-item rounded-0 d-flex justify-content-
between align-items-center">Decide on your wedding
<span class="badge badge-pill" style="font-size:
12px;color:#888">June 10 <i class="mdi mdi-checkbox-blank-outline ml-
3"></i></span>
</li>
<li class="list-group-item rounded-0 d-flex justify-content-
between align-items-center">Select your wedding date
<span class="badge badge-pill" style="font-size:
12px;color:#888">June 20 <i class="mdi mdi-checkbox-blank-outline ml-
3"></i></span>
</li>
</ul>
</div>
</div>
</div>
</div>

<footer class="pt-3">
<div class="row">
<div class="col-12 col-md">
<div class="text-center">
<small class="d-block mb-3 text-muted">&copy; <?php echo
date('Y')?> - Developed By John Paul Lim Gabule</small>
</div>
</div>
</div>
</footer>

<!-- Optional JavaScript -->


<!-- jQuery first, then Popper.js, then Bootstrap JS -->
<script src="js/jquery-3.2.1.slim.min.js"></script>
<script src="js/jquery.min.js"></script>
<script src="js/popper.min.js"></script>
<script src="js/bootstrap.min.js"></script>
<script src="js/bootstrap-datepicker.min.js"></script>
<script src="js/savy.js"></script>
<script>

$(document).ready(function () {
$('#wedding_date').datepicker();
<?php
if($count == 0) {
?>
$('#user_firstname').savy('load');
$('#user_lastname').savy('load');
$('#user_email').savy('load');
$('#user_phone').savy('load');
$('#wedding_date').savy('load');
<?php } else { ?>
$('#user_firstname').savy('destroy');
$('#user_email').savy('destroy');
$('#user_lastname').savy('destroy');
$('#user_phone').savy('destroy');
$('#wedding_date').savy('destroy');
<?php } ?>
});
</script>
</body>
</html>
Sign Up Page

Code:
<?php include 'admin/include/init.php'; ?>
<?php
$count = 0;
$error = '';
$user_firstname = $user_lastname = $user_password = $user_email = $wedding_date =
'';

$account_details = new Account_Details();


$accounts = new Accounts();
$booking = new Booking();
$category = Category::find_all();
$blogEvent = EventWedding::getEventBlogs();

if (isset($_POST['register'])) {

$user_firstname = clean($_POST['user_firstname']);
$user_lastname = clean($_POST['user_lastname']);
$user_email = clean($_POST['user_email']);
$user_phone = clean($_POST['user_phone']);
$wedding_date = clean($_POST['wedding_date']);

$checkdate = $booking->check_wedding_date($wedding_date);

if ($checkdate) {
redirect_to("sign_up.php");
$session->message("
<div class=\"alert alert-warning alert-dismissible fade show\"
role=\"alert\">
<strong><i class='mdi mdi-alert'></i></strong> The wedding you
enter is already booked. Please Try another set of date!
<button type=\"button\" class=\"close\" data-dismiss=\"alert\"
aria-label=\"Close\">
<span aria-hidden=\"true\">&times;</span>
</button>
</div>");
die();
}

if (empty($user_firstname) ||
empty($user_phone) ||
empty($user_email) ||
empty($user_lastname) ||
empty($wedding_date)) {
redirect_to("sign_up.php");
$session->message("
<div class=\"alert alert-warning alert-dismissible fade show\"
role=\"alert\">
<strong><i class='mdi mdi-alert'></i></strong> Please Fill up all
the fields.
<button type=\"button\" class=\"close\" data-dismiss=\"alert\"
aria-label=\"Close\">
<span aria-hidden=\"true\">&times;</span>
</button>
</div>");
die();
}

if (!filter_var($user_email, FILTER_VALIDATE_EMAIL)){
redirect_to("sign_up.php");
$session->message("
<div class=\"alert alert-warning alert-dismissible fade show\"
role=\"alert\">
<strong><i class='mdi mdi-alert'></i></strong> Incorrect email
format.
<button type=\"button\" class=\"close\" data-dismiss=\"alert\"
aria-label=\"Close\">
<span aria-hidden=\"true\">&times;</span>
</button>
</div>");
die();

$check_email = $accounts->email_exists($user_email);

if ($check_email) {
redirect_to("sign_up.php");
$session->message("
<div class=\"alert alert-warning alert-dismissible fade show\"
role=\"alert\">
<strong><i class='mdi mdi-alert'></i></strong> Email is already
Exists.
<button type=\"button\" class=\"close\" data-dismiss=\"alert\"
aria-label=\"Close\">
<span aria-hidden=\"true\">&times;</span>
</button>
</div>");
die();
} else {
if ($error == '') {
$count = $count + 1;
$account_details->firstname = $user_firstname;
$account_details->lastname = $user_lastname;
$account_details->status = 'pending';
$account_details->datetime_created = date("y-m-d h:m:i");
$account_details->phone= $user_phone;
if ($account_details->save()) {
$account_details->user_id = mysqli_insert_id($db->connection);

if($account_details->update()) {
$accounts->user_id = $account_details->user_id;
$accounts->user_email= $user_email;

if($accounts->save()) {
$booking->user_id = $accounts->user_id;
$booking->user_email = $user_email;
$booking->wedding_date = $wedding_date;
$booking->save();
redirect_to("thank_you.php");
}
}
}
}
}
}
?>
<!doctype html>
<html lang="en">
<head>
<!-- Required meta tags -->
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-
to-fit=no">
<title>Free Register - Wedding Planner</title>
<link href="https://fonts.googleapis.com/css?family=Open+Sans|Roboto"
rel="stylesheet">
<link rel="stylesheet" type="text/css"
href="https://cdn.materialdesignicons.com/2.1.19/css/materialdesignicon
s.min.css">
<link rel="stylesheet" href="css/bootstrap.min.css">
<link rel="stylesheet" href="css/datepicker.css">
<link rel="stylesheet" href="css/style.css">
<style>
body {
font-family: 'Open Sans', 'Roboto', sans-serif;
line-height: 1.5em;
margin-bottom: 0%;
width: 100%;
margin-top: 4%;
overflow-x: hidden;
background: #f1f1f1;
}

.navbar-light .navbar-brand {
color: #1a1a1a;
font-weight: bold;
line-height: 22px;
}

.navbar {
font-weight: 700;
padding: 12px;
font-style: normal;
font-size: 14px;
text-transform: uppercase;
color: black;
border-bottom: 1px solid #ddd;
}

li.nav-item > a.nav-link {


color: black !important;
font-weight: bold !important;
}

#review {
font-size: 16px;
font-weight: bold;
margin-right: 5px;
}

.form-inline > a.mr-2, .btn.btn-sm.my-2.my-sm-0 {


color: black;
font-size: 14px;
font-weight: 700;
margin-left: 10px;
}

.form-inline > a.mr-2:hover, .btn.btn-sm.my-2.my-sm-0:hover {


color: #17b4bc;
text-decoration: none;
}
a.btn.btn-sm.my-2.my-sm-0.mr-2.loginbtn {
background: #dc3545;
font-size: 14px;
color: white;
padding: 5px;
border: 2px solid transparent;
width: 85px;
}

a.btn.btn-sm.my-2.my-sm-0.mr-2.loginbtn:hover {
background: white;
border: 2px solid #dc3545;
color: #dc3545;
}

.navbar-expand-lg .navbar-nav .nav-link {


padding-right: .9rem;
}

.navbar-brand {
margin-left: 20px;
width: 200px;
}

.hero {
height: 550px;
width: 100%;
border-color: rgba(0, 0, 0, 0.02);
background: url(images/carousel2.jpg);
background-size: contain;
background-size: 100% 100%;

.form-control {
font-size: 14px;
}

.hero-lead {
font-size: 36px;
color: white;
font-style: normal;
}

.form-control {
outline: none;
border-radius: 0;
}

.btn.btn-info.text-uppercase {
font-size: 14px;
}

.btn.btn-info.text-uppercase.font-weight-bold {
width: 150px;
padding: 6px;
border-radius: 0;
}

.btn.btn-danger.text-uppercase {
font-size: 14px;
}

.btn.btn-danger.text-uppercase.fb {
width: 150px;
padding: 6px;
border-radius: 0;
}

.datepicker {
width: 250px;
font-size: 12px;
}

.pricing {
width: 18%;
min-height: 200px;
float: left;
background: gray;
margin-left: 2%;
}

.container-fluid.custom-container {
width: 90%;
}

a.btn.btn-custom {
background: none;
border-radius: 0;
font-size: 12px;
width: 100%;
border: 2px solid #17a2b8;
color: #17a2b8;
font-weight: 700;
text-transform: uppercase;
}

a.btn.btn-custom:hover {
background: #17a2b8;
color: white;
}

.list-group-item.text-center.text-uppercase {
background: white;
color: black;
font-weight: 700;
font-size: 18px;
padding: 10px;
}

.list-group-item {
font-size: 12px;
padding: 5px 10px;
}

.card-columns {
column-count: 4;
}
.modal-content {
-webkit-border-radius:0;
-moz-border-radius:0;
border-radius:0;
font-size: 14px;
}
.btn.btn-primary.mr-2.custom-btn {
background: #22adb5;
border: 1px solid #22adb5;
}
.btn.btn-primary.mr-2.custom-btn:hover {
background: #2d98b5;
}
.modal-header {
border-bottom: 0;
margin-top: 0;
margin-bottom: 0;
padding-top: 10px;
padding-bottom: 0;
}
.modal-body {
padding-bottom: 0;
}
.bgact{
/* background: rgba(255, 255,255, 0.4); */
background: rgb(14 14 14 / 49%);
padding: 15px;
}
</style>
</head>
<body>

<?php include 'include/nav.php';?>

<div class="container-fluid">
<div class="row justify-content-md-center">
<div class="hero">
<div class="row justify-content-md-center">
<div class="col col-lg-3">
</div>
<div class="col col-lg-5" style="margin-top: 7%;">
<!-- <h2 class="text-center hero-lead">Wedding Planning
Starts Here</h2>
<p class="lead text-center" style="color:white;">START BY
CREATING YOUR FREE ACCOUNT</p> -->
<form class="bgact" action="<?php echo
$_SERVER['PHP_SELF']; ?>" method="post">
<h2 class="text-center hero-lead">Wedding Planning Starts
Here</h2>
<p class="lead text-center" style="color:white;">START BY
FILLING UP THE FORM</p>
<div class="form-row">
<div class="form-group col-md-6">
<input type="text" class="form-control"
name="user_firstname" placeholder="First Name" id="user_firstname">
</div>
<div class="form-group col-md-6">
<input type="text" id="user_lastname"
class="form-control" name="user_lastname" placeholder="Last Name">
</div>
</div>
<div class="form-group">
<input type="text" class="form-control"
name="user_email" id="user_email" placeholder="youremailaddress@mail.com">
</div>
<div class="form-group">
<input type="text" aria-
describedby="phoneHelpBlock" class="form-control" name="user_phone"
id="user_phone" placeholder="Contact Number">
</div>
<div class="form-row">
<div class="input-group col-md-5">
<input type="text" class="form-control"
name="wedding_date" data-provide="datepicker" id="wedding_date"
placeholder="Wedding Date">
<div class="input-group-append">
<span class="input-group-text"
style="background: white;"><i
style="font-size:
20px;color:#19b5bc;" class="mdi mdi-calendar-check"
id="review" aria-
hidden="true"></i></span>
</div>
</div>
</div>
<div class="text-center mt-3">
<p style="font-size: 11px;color:white;">By
clicking "Sign Up" you agree to WPMS's <a
href="" title="" style="color:
#b81717;font-weight: bold;">Terms of Use</a></p>
<button type="submit" name="register" class="btn
btn-danger btn-sm text-uppercase fb"
style="margin-top: -5px;">Sign Up
</button>
</div>
</form>
</div>
<div class="col col-lg-3">
</div>
</div>
</div><!-- end of hero -->
</div> <!-- end of row justify-content-md-center -->
</div><!-- end of container-fluid -->.

<footer class="pt-3">
<div class="row">
<div class="col-12 col-md">
<div class="text-center">
<small class="d-block mb-3 text-muted">All Right Reserved &copy;
<?php echo date('Y')?></small>
</div>
</div>
</div>
</footer>

<!-- Optional JavaScript -->


<!-- jQuery first, then Popper.js, then Bootstrap JS -->
<script src="js/jquery-3.2.1.slim.min.js"></script>
<script src="js/jquery.min.js"></script>
<script src="js/popper.min.js"></script>
<script src="js/bootstrap.min.js"></script>
<script src="js/bootstrap-datepicker.min.js"></script>
<script src="js/savy.js"></script>
<script>

$(document).ready(function () {
$('#wedding_date').datepicker();
<?php
if($count == 0) {
?>
$('#user_firstname').savy('load');
$('#user_lastname').savy('load');
$('#user_email').savy('load');
$('#user_phone').savy('load');
$('#wedding_date').savy('load');
<?php } else { ?>
$('#user_firstname').savy('destroy');
$('#user_email').savy('destroy');
$('#user_lastname').savy('destroy');
$('#user_phone').savy('destroy');
$('#wedding_date').savy('destroy');
<?php } ?>
});
</script>
</body>
</html>
Package Page

Code:
<?php include 'admin/include/init.php'; ?>
<?php
$category = Category::find_all();
?>
<!doctype html>
<html lang="en">
<head>
<!-- Required meta tags -->
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-
to-fit=no">
<title>Wedding Planner</title>
<link href="https://fonts.googleapis.com/css?family=Open+Sans|Roboto"
rel="stylesheet">
<link rel="stylesheet" type="text/css"
href="https://cdn.materialdesignicons.com/2.1.19/css/materialdesignicon
s.min.css">
<link rel="stylesheet" href="css/bootstrap.min.css">
<link rel="stylesheet" href="css/style.css">
<style>
body {
margin-top: 6%;
}
.navbar-light .navbar-brand {
color: #1a1a1a;
font-weight: bold;
line-height: 22px;
}

.navbar {
font-weight: 700;
padding: 12px;
font-style: normal;
font-size: 14px;
text-transform: uppercase;
color: black;
border-bottom: 1px solid #ddd;
}

li.nav-item > a.nav-link {


color: black !important;
font-weight: bold !important;
}

#review {
font-size: 16px;
font-weight: bold;
margin-right: 5px;
}

.navbar-expand-lg .navbar-nav .nav-link {


padding-right: .9rem;
}

.navbar-brand {
margin-left: 20px;
width: 200px;
}

img.img-fluid.img-custom {
width: 344px;
height:230px;
}
.btn.btn-sm.btn-light.active:hover {
background: white;
}
.list-group-item:first-child {
border-top-left-radius: 0rem;
border-top-right-radius: 0rem;
}
.list-group-item:last-child {
border-bottom-right-radius: 0;
border-bottom-left-radius: 0;
}

.list-group-item.active{
border-color: #00125100;
}
</style>
</head>
<body>
<?php include 'include/nav.php'; ?>

<div class="container" style="width: 70%;">

<div class="row mb-3">


<div class="col-lg-12">
<h3 class="h5 text-uppercase text-center text-muted">Wedding</h3>
<h2 class="h2 text-uppercase text-center mb-0">Select Package</h2>
</div>
</div>

<?php foreach ($category as $category_row) : ?>


<div class="row">
<div class="col-md-12 p-0" style="margin-bottom: 20px;"> <!-- border:1px
solid rgba(0,0,0,.125) -->

<div class="float-left">
<img src="admin/<?= $category_row->preview_image_picture(); ?>"
style="width: 500px;" alt="">
</div>

<div class="float-left" style="width: 47%;">


<ul class="list-group">
<li class="list-group-item bg-danger active" style="padding-
top: 12px;"><h6 class="h6 text-center"><?= $category_row->wedding_type; ?>
Package Wedding - Price: $ <?=
number_format($category_row->price,2); ?></h6></li>
<li class="list-group-item list-group-item-light "><b>THIS
PACKAGE INCLUDES:</b></li>
<?php $feature =
Features::find_by_feature_all($category_row->id); ?>
<?php foreach ($feature as $feature_item) : ?>
<li class="list-group-item"><?=
$feature_item->title; ?></li>
<?php endforeach; ?>
</ul>
<div class="float-right">
<a href="package_detail.php?id=<?= $category_row->id; ?>"
class="btn btn-sm btn-success active" style="border-radius: 3px;margin-top:
9px;">Book Now</a>
<a href="package_detail.php?id=<?= $category_row->id; ?>"
class="btn btn-sm btn-primary active" style="border-radius: 3px;margin-top:
9px;">More Detail</a>
</div>
</div>
</div><!-- end of col-md-8 p-0 pl-3 -->
</div>
<?php endforeach; ?>

</div><!-- end of container -->

<!-- Optional JavaScript -->


<!-- jQuery first, then Popper.js, then Bootstrap JS -->
<script src="js/jquery-3.2.1.slim.min.js"></script>
<script src="js/jquery.min.js"></script>
<script src="js/popper.min.js"></script>
<script src="js/bootstrap.min.js"></script>
</body>
</html>
Client’s Page

Code:
<?php include 'admin/include/init.php'; ?>

<?php
$blogEvent = EventWedding::getEventBlogs();
?>
<!doctype html>
<html lang="en">
<head>
<!-- Required meta tags -->
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-
to-fit=no">
<title>Inspiration Couples</title>
<link href="https://fonts.googleapis.com/css?family=Open+Sans|Roboto"
rel="stylesheet">
<link rel="stylesheet" type="text/css"
href="https://cdn.materialdesignicons.com/2.1.19/css/materialdesignicons.min.css"
>
<link rel="stylesheet" href="css/bootstrap.min.css">
<link rel="stylesheet" href="css/datepicker.css">
<link rel="stylesheet" href="css/style.css">
<style>
body {
background: #fff;
margin-top:6%;
}

/* img.card-img-top {
width: 100%;
height: 350px;
-webkit-border-radius:0;
-moz-border-radius:0;
border-radius:0;
}

.card-body {
background: #EDEDED;
padding: 1rem;
}

.font-custom {
font-size: 16px;
}

.color_gray {
color: #555;
}*/
/* .color_light {
color: #999;
font-weight: 600;
}
h6.font-custom {
color: #555;
}
a.btn-stamp:hover {
text-decoration: none;
}
img.image-stock {
width: 86px;margin-left: 6px;margin-bottom: 6px;
}
.card-style {
background: none;border:0;
}*/
</style>
</head>
<body>
<?php
include "include/nav.php";
?>
<div class="container">
<div class="row">
<div class="col-lg-12">
<h4 class="h2 text-center mb-0">THE LATEST INSPIRATION</h4>
<p class="text-muted text-center">Discover the best ideas, tips and
articles to inspire your wedding.</p>
</div>
<div class="card-columns">
<?php foreach($blogEvent as $blog_item) : ?>
<div class="card">
<img class="card-img-top" src="admin/<?=
$blog_item->preview_image_picture(); ?>" alt="Card image cap">
<div class="card-body">
<a href="wedding_details.php?id=<?= $blog_item->id; ?>"
class="btn-stamp">
<h6 class="card-title mt-0 mb-0 text-center font-weight-
bold font-custom text-uppercase"><?= $blog_item->title; ?></h6>
<p class="card-text mt-0 mb-0 text-center color_gray"><?=
$blog_item->wedding_type; ?> Wedding</p>
<p class="card-text mt-0 mb-0 text-center color_light
text-capitalize"><i class="mdi mdi-map-marker"></i>
<?= $blog_item->location; ?></p>
</a>
</div>
</div>
<?php endforeach; ?>
<!-- <a href="real-weddings.php" class="btn btn-lg btn-block btn-
explore">EXPLORE MORE INSPIRATION</a> -->
</div>

</div>
</div>

<!-- Optional JavaScript -->


<!-- jQuery first, then Popper.js, then Bootstrap JS -->
<script src="js/jquery-3.2.1.slim.min.js"></script>
<script src="js/jquery.min.js"></script>
<script src="js/popper.min.js"></script>
<script src="js/bootstrap.min.js"></script>
</body>
</html>
Gallery Page

Code:
<?php
include 'admin/include/init.php';

$gallery = Gallery::find_all();

?>
<!doctype html>
<html lang="en">
<head>
<!-- Required meta tags -->
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-
to-fit=no">
<title>Wedding Planner</title>
<link href="https://fonts.googleapis.com/css?family=Open+Sans|Roboto"
rel="stylesheet">
<link rel="stylesheet" type="text/css"
href="https://cdn.materialdesignicons.com/2.1.19/css/materialdesignicon
s.min.css">
<link rel="stylesheet" href="css/bootstrap.min.css">
<link rel="stylesheet" href="css/style.css">
<link rel="stylesheet" href="lightbox/css/lightbox.css">
<style>
body {
font-family: 'Open Sans', 'Roboto', sans-serif;
line-height: 1.5em;
margin-bottom: 2%;
margin-top: 2%;
width: 100%;
overflow-x: hidden;
background: #f1f1f1;
}

.navbar-light .navbar-brand {
color: #1a1a1a;
font-weight: bold;
line-height: 22px;
}

.navbar {
font-weight: 700;
padding: 12px;
font-style: normal;
font-size: 14px;
text-transform: uppercase;
color: black;
border-bottom: 1px solid #ddd;
}

li.nav-item > a.nav-link {


color: black !important;
font-weight: bold !important;
}

#review {
font-size: 16px;
font-weight: bold;
margin-right: 5px;
}

.form-inline > a.mr-2, .btn.btn-sm.my-2.my-sm-0 {


color: black;
font-size: 14px;
font-weight: 700;
margin-left: 10px;
}

.form-inline > a.mr-2:hover, .btn.btn-sm.my-2.my-sm-0:hover {


color: #17b4bc;
text-decoration: none;
}

a.btn.btn-sm.my-2.my-sm-0.mr-2.loginbtn {
background: #dc3545;
font-size: 14px;
color: white;
padding: 5px;
border: 2px solid transparent;
width: 85px;
}

a.btn.btn-sm.my-2.my-sm-0.mr-2.loginbtn:hover {
background: white;
border: 2px solid #dc3545;
color: #dc3545;
}

.navbar-expand-lg .navbar-nav .nav-link {


padding-right: .9rem;
}

.navbar-brand {
margin-left: 20px;
width: 200px;
}
.card {
-webkit-border-radius:0;
-moz-border-radius:0;
border-radius:0;
}
.card img {
-webkit-border-radius:0;
-moz-border-radius:0;
border-radius:0;
}

</style>
</head>
<body>
<?php include 'include/nav.php'; ?>

<div class="container-fluid">
<div class="row">
<div class="col-lg-12">
<h4 class="text-center mb-0 mt-5">Wedding Photos</h4>
<p class="text-center mt-0 text-muted">Photos That Capture Your
Moment</p>

<div class="card-columns">
<?php foreach($gallery as $galleries) : ?>
<div class="card" style="position: relative;">
<a href="admin/<?= $galleries->picture_path(); ?>" data-
lightbox="gallery-group-4">
<img class="card-img-top" src="admin/<?=
$galleries->picture_path(); ?>" alt="Card image cap">
</a>
<div class="card-body" style="position: absolute;bottom:
0;left:0; width: 100%;background: rgba(0,0,0, 0.5);color:white;padding: 10px 10px
0 10px;">
<p class="card-title text-capitalize" style="font-
size:12px;"><?= empty($galleries->title) ? 'No Title' : $galleries->title; ?></p>
</div>
</div><!-- end of body -->
<?php endforeach; ?>
</div><!-- end of card columns -->
</div>
</div>

<!-- Optional JavaScript -->


<!-- jQuery first, then Popper.js, then Bootstrap JS -->
<script src="js/jquery-3.2.1.slim.min.js"></script>
<script src="js/jquery.min.js"></script>
<script src="js/popper.min.js"></script>
<script src="js/bootstrap.min.js"></script>
<script src="lightbox/js/lightbox-2.6.min.js"></script>
</body>
</html>
Contact Us Page

Code:
<!doctype html>
<html lang="en">
<head>
<!-- Required meta tags -->
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-
to-fit=no">
<title>Wedding Planner</title>
<link href="https://fonts.googleapis.com/css?family=Open+Sans|Roboto"
rel="stylesheet">
<link rel="stylesheet" type="text/css"
href="https://cdn.materialdesignicons.com/2.1.19/css/materialdesignicon
s.min.css">
<link rel="stylesheet" href="css/bootstrap.min.css">
<link rel="stylesheet" href="css/datepicker.css">
<link rel="stylesheet" href="css/style.css">
<link rel="stylesheet" href="css/carousel.css">
<style>
body {
font-family: 'Open Sans', 'Roboto', sans-serif;
line-height: 1.5em;
margin-bottom: 2%;
margin-top: 3%;
width: 100%;
overflow-x: hidden;
background: #f1f1f1;
}

.navbar-light .navbar-brand {
color: #1a1a1a;
font-weight: bold;
line-height: 22px;
}

.navbar {
font-weight: 700;
padding: 12px;
font-style: normal;
font-size: 14px;
text-transform: uppercase;
color: black;
border-bottom: 1px solid #ddd;
}

li.nav-item > a.nav-link {


color: black !important;
font-weight: bold !important;
}

#review {
font-size: 16px;
font-weight: bold;
margin-right: 5px;
}

.form-inline > a.mr-2, .btn.btn-sm.my-2.my-sm-0 {


color: black;
font-size: 14px;
font-weight: 700;
margin-left: 10px;
}

.form-inline > a.mr-2:hover, .btn.btn-sm.my-2.my-sm-0:hover {


color: #17b4bc;
text-decoration: none;
}

a.btn.btn-sm.my-2.my-sm-0.mr-2.loginbtn {
background: #dc3545;
font-size: 14px;
color: white;
padding: 5px;
border: 2px solid transparent;
width: 85px;
}

a.btn.btn-sm.my-2.my-sm-0.mr-2.loginbtn:hover {
background: white;
border: 2px solid #dc3545;
color: #dc3545;
}

.navbar-expand-lg .navbar-nav .nav-link {


padding-right: .9rem;
}

.navbar-brand {
margin-left: 20px;
width: 200px;
}

.form-control {
font-size: 12px;
border-radius: 0;
margin-top: 0;
}

</style>
</head>
<body>
<?php include "include/nav.php"; ?>
<div class="container">
<div class="row">
<div class="col-lg-12">
<h3 class="text-center mb-3">CONTACT US</h3>
<div class="bg-white p-4">
<div class="contact-information">
<h5>LANDMARKET</h5>
<div class="row">
<div class="col-md-8">
<table class="table table-sm" style="font-size:
12px;">
<tr>
<td>Big Day Planners</td>
<td><i class="mdi mdi-deskphone mr-3"></i>
999 (999) 999</td>
</tr>
<tr>
<td>6th Floor, Valencia City</td>
<td><i class="mdi mdi-phone mr-3"></i> +91
99896722351</td>
</tr>
<tr>
<td>Street P-4 Poblacion 88825</td>
<td><i class="mdi mdi-email mr-3"></i>
contactemail@gmail.com</td>
</tr>
</table>
</div>
<div class="col-md-4">
<div class="text-center mt-3">
<i class="mdi mdi-map-marker" style="font-size:
110px;color: #22ADB5;"></i>
</div>
</div>
</div>
</div>
</div>
<div class="bg-white mt-3 pt-1 pl-4 pb-3">
<div class="row mt-3">
<div class="col-md-12">
<form action="" method="post" style="font-size: 12px;">
<div class="row">
<div class="col-md-6">
<div class="form-row">
<div class="form-group col-md-12 mb-1">
<label
for="contact_person">Name</label>
<input type="email" class="form-
control" id="contact_person" placeholder="Enter contact person">
</div>
<div class="form-group col-md-12 mb-1">
<label
for="contact_email">Email</label>
<input type="password" class="form-
control" id="contact_email" placeholder="Enter email">
</div>
<div class="form-group col-md-12 mb-1">
<label
for="contact_phone">Phone</label>
<input type="text" class="form-
control" id="contact_phone" placeholder="Enter mobile phone">
</div>
<div class="form-group col-md-12 mb-1">
<label
for="contact_message">Message</label>
<textarea type="text" class="form-
control"
style="resize: none;"
rows="8"
id="contact_message"
placeholder="Enter message"></textarea>
</div>

</div>
</div>
<div class="col-md-6 pr-2">
<iframe
src="https://www.google.com/maps/embed?pb=!1m18!1m12!1m3!1d3951.804581750715!2d12
5.08993251421961!3d7.915471407613357!2m3!1f0!2f0!3f0!3m2!1i1024!2i768!4f13.1!3m3!
1m2!1s0x32ff1a2d27bfc2c5%3A0x49f6694edf036a5a!2sAMA+Computer+Learning+Center!5e0!
3m2!1sen!2sph!4v1518944564341" width="95%" height="395" frameborder="0"
style="border:0" allowfullscreen></iframe>
</div>
</div>
<button type="submit" class="btn btn-primary btn-sm
rounded-0" style="font-size: 12px;margin-top: 10px;background: #22adb5;border:
0;">Send Message</button>
</form>
</div>
</div>

</div>
</div>
</div>
</div>
<!-- MODAL LOGIN SECTION-->
<div class="modal fade" id="loginModal" tabindex="-1" role="dialog" aria-
labelledby="loginModal" aria-hidden="true">
<div class="modal-dialog" role="document">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title" id="loginModal"><img
src="images/logo/MOMMYAMBOL.png" alt=""></h5>
<button type="button" class="close" data-dismiss="modal" aria-
label="Close">
<span aria-hidden="true">&times;</span>
</button>
</div>
<div class="modal-body">
<form action="register.php" method="post">
<div class="form-group row">
<label for="inputEmail" class="col-sm-2 col-form-
label">Email:</label>
<div class="col-sm-10">
<input type="text" class="form-control"
id="inputEmail" name="email"
placeholder="Enter email">
</div>
</div>
<div class="form-group row">
<label for="inputPassword" class="col-sm-2 col-form-
label">Password:</label>
<div class="col-sm-10">
<input type="password" class="form-control"
id="inputPassword" placeholder="Enter password">
</div>
</div>
<div class="form-group row">
<label for="login" class="col-sm-2 col-form-
label"></label>
<div class="col-sm-10">
<button type="button" class="btn btn-primary mr-2
custom-btn" style="font-size: 14px;">
Login
</button>
<a href="" style="color: #22adb5;">Forgot your
password?</a>
<br/>
<div class="mt-2">Not a member yet? <a href=""
style="color: #22adb5;">Join Now</a></div
</div>
</div>
</form>
</div>
</div>
</div>
</div>

<!-- Optional JavaScript -->


<!-- jQuery first, then Popper.js, then Bootstrap JS -->
<script src="js/jquery-3.2.1.slim.min.js"></script>
<script src="js/jquery.min.js"></script>
<script src="js/popper.min.js"></script>
<script src="js/bootstrap.min.js"></script>
</body>
</html>
Admin Login Page

Code:
<?php include_once 'include/init.php';?>
<?php
if (isset($_POST['login'])) {
$input_email = clean($_POST['input_email']);
$input_password= clean($_POST['input_password']);
$logged = Users::user_account_login($input_email, $input_password);

if($logged) {
$session->login($logged);
redirect_to("dashboard.php");
} else {
redirect_to("login.php");
$session->message("
<div class=\"alert alert-danger alert-dismissible fade show\"
role=\"alert\">
<strong><i class='mdi mdi-alert'></i></strong> Invalid email or
password. Please try again
<button type=\"button\" class=\"close\" data-dismiss=\"alert\"
aria-label=\"Close\">
<span aria-hidden=\"true\">&times;</span>
</button>
</div>");
}
}
?>
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-
to-fit=no">
<meta name="description" content="">
<meta name="author" content="">

<title>Administrator Login Your Account</title>

<!-- Bootstrap core CSS -->


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

<!-- Custom styles for this template -->


<link href="../css/signin.css" rel="stylesheet">
<style>
body {
background: url("../bgw.jpg");
/* background-color: black; */
background-size: 100%;
}

.form-signin {
background: rgba(255, 255,255, 0.4);
}
</style>
</head>

<body class="text-center">
<form class="form-signin" action="" method="post">
<a href="index.php"><img class="mb-4" src="../images/logo/WPMSlogo.png"
width="190" ></a>
<h5 class="h5 mb-3 font-weight-normal" style="color:#222">Login As
Administrator</h5>
<?php
if ($session->message()) {
echo $session->message();
}
?>
<label for="inputEmail" class="sr-only">Email address</label>
<input type="text" id="inputEmail" name="input_email" class="form-control"
placeholder="Email Address" required autofocus>

<label for="inputPassword" class="sr-only">Password</label>


<input type="password" id="inputPassword" name="input_password" class="form-
control" placeholder="Password" required>

<button class="btn btn-md btn-danger btn-block" type="submit"


name="login">Log In</button>
<p class="mt-5 mb-3 text-muted">&copy; <?php echo date('Y')?></p>
</form>
<script src="js/jquery-3.2.1.slim.min.js"></script>
<script src="js/jquery.min.js"></script>
<script src="js/popper.min.js"></script>
<script src="js/bootstrap.min.js"></script>
<script>
$('.your-checkbox').prop('indeterminate', true);
</script>
</body>
</html>
Admin Dashboard Page

Code:
<?php include 'include/init.php'; ?>
<?php
if (!isset($_SESSION['id'])) {
redirect_to("../");
}

$user_count = Account_Details::count_user();
$booking_count = Booking::count_booking();
$gallery_count = Gallery::count_all();
$event_post = EventWedding::count_all();
?>
<?php $users_profile = Users::find_by_id($_SESSION['id']); ?>
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-
to-fit=no">
<title>Dashboard - Administrator</title>

<!-- Bootstrap core CSS -->


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

<!-- Custom styles for this template -->


<link href="css/dashboard.css" rel="stylesheet">
<link href="css/dataTables.bootstrap4.min.css" rel="stylesheet">
<link rel="stylesheet" href="css/font-awesome.min.css">
<!-- <link href="css/bootstrap.css" rel="stylesheet">-->
<link rel="stylesheet" type="text/css"
href="https://cdn.materialdesignicons.com/2.1.19/css/materialdesignicon
s.min.css">
<link href="https://fonts.googleapis.com/css?family=Roboto:400,500,700"
rel="stylesheet">
<style>
table.table.table-striped.table-bordered.table-sm {
font-size:12px;
}
.tooltip {
font-size: 12px;
}

td.special {
padding: 0;
padding-top: 8px;
padding-left:6px;
padding-bottom:6px;
margin-top:5px;
text-transform: capitalize;
}
.datepicker {
font-size: 12px;
}
.alert-success {
color: #fff;
background-color: #49C8AE;
border-color: none;
}
div.dataTables_wrapper div.dataTables_paginate {
font-size: 11px;
}

.card-counter{
box-shadow: 2px 2px 10px #DADADA;
margin: 5px;
padding: 0px 9px;
background-color: #fff;
height: 100px;
border-radius: 5px;
transition: .3s linear all;
}

.card-counter:hover{
box-shadow: 4px 4px 20px #DADADA;
transition: .3s linear all;
}

.card-counter.primary{
background-color: #007bff;
color: #FFF;
}

.card-counter.danger{
background-color: #ef5350;
color: #FFF;
}

.card-counter.success{
background-color: #66bb6a;
color: #FFF;
}

.card-counter.info{
background-color: #26c6da;
color: #FFF;
}

.card-counter i{
font-size: 5em;
opacity: 0.9;
}

.card-counter .count-numbers{
position: absolute;
right: 35px;
top: 20px;
font-size: 32px;
display: block;
}

.card-counter .count-name{
position: absolute;
right: 35px;
top: 65px;
text-transform: capitalize;
opacity: 0.8;
display: block;
font-size: 16px;
}

</style>
</head>

<body>

<?php include_once 'include/sidebar.php'; ?>

<div class="d-flex justify-content-between flex-wrap flex-md-nowrap align-items-


center pb-2 mb-3 border-bottom">
<h4 class="h4 mt-4">WELCOME, <?= ucfirst($users_profile->firstname) . ' ' .
ucfirst($users_profile->lastname); ?></h4>
</div>
<!-- <div class="row">
<div class="col-lg-3">
<div class="card bg-light mb-3" style="max-width: 18rem;">
<div class="card-header">TOTAL CUSTOMERS</div>

<div class="card-body">
<h5 class="card-title"><?= $user_count; ?></h5>
<p class="card-text"></p>
</div>
</div>
</div>

<div class="col-lg-3">
<div class="card bg-light mb-3" style="max-width: 18rem;">
<div class="card-header">TOTAL BOOKING</div>
<div class="card-body">
<h5 class="card-title"><?= $booking_count; ?></h5>
<p class="card-text"></p>
</div>
</div>
</div>

<div class="col-lg-3">
<div class="card bg-light mb-3" style="max-width: 18rem;">
<div class="card-header">TOTAL PHOTOS</div>
<div class="card-body">
<h5 class="card-title"><?= $gallery_count; ?></h5>
<p class="card-text"></p>
</div>
</div>
</div>

<div class="col-lg-3">
<div class="card bg-light mb-3" style="max-width: 18rem;">
<div class="card-header">TOTAL BLOGS</div>
<div class="card-body">
<h5 class="card-title"><?= $event_post; ?></h5>
<p class="card-text"></p>
</div>
</div>
</div>

</div> -->

<div class="row">
<div class="col-lg-3">
<div class="card-counter primary">
<i class="mdi mdi-account-multiple"></i>
<span class="count-numbers"><?= $user_count; ?></span>
<span class="count-name">Total Customers</span>
</div>
</div>

<div class="col-lg-3">
<div class="card-counter success">
<i class="mdi mdi-book-open-page-variant"></i>
<span class="count-numbers"><?= $booking_count; ?></span>
<span class="count-name">Total Bookings</span>
</div>
</div>

<div class="col-lg-3">
<div class="card-counter danger">
<i class="mdi mdi-image-multiple"></i>
<span class="count-numbers"><?= $gallery_count; ?></span>
<span class="count-name">Photos</span>
</div>
</div>

<div class="col-lg-3">
<div class="card-counter info">
<i class="mdi mdi-comment-text"></i>
<span class="count-numbers"><?= $event_post; ?></span>
<span class="count-name">Blogs</span>
</div>
</div>
</div>

<?php include_once 'include/footer.php';?>


FUTURE SCOPE OF
THE PROJECT
In a nutshell, it can be summarized that the future scope of the project circles around
maintaining information regarding:

❖ We can add printer in future.

❖ We can give more advance software for Online Wedding Planner including more facilities.

❖ We will host the platform on online servers to make it accessible worldwide.

❖ Integrate multiple load balancers to distribute the loads of the system.

❖ Create the master and slave database structure to reduce the overload of the
❖ database queries.

❖ Implement the backup mechanism for taking backup of codebase and database on regular
basis on different servers.

The above-mentioned points are the enhancements which can be done to increase the applicability
and usage of this project. Here we can maintain the records of Wedding and Latest Posts. Also, as
it can be seen that now-a-days the players are versatile, i.e. so there is a scope for introducing a
method to maintain the Online Wedding Planner. Enhancements can be done to maintain all the
Wedding, Latest Posts, Event, Package, Blog.

We have left all the options open so that if there is any other future requirement in the system by
the user for the enhancement of the system then it is possible to implement them. In the last we
would like to thanks all the persons involved in the development of the system directly or
indirectly. We hope that the project will serve its purpose for which it is develop there by
underlining success of process.
CONCLUSION
Our project is only a humble venture to satisfy the needs to manage their project work. Several
user friendly coding have also adopted. This package shall prove to be a powerful package in
satisfying all the requirements of the school. The objective of software planning is to provide a
frame work that enables the manger to make reasonable estimates made within a limited time
frame at the beginning of the software project and should be updated regularly as the project
progresses.

At the end it is concluded that we have made effort on following points...

❖ A description of the background and context of the project and its relation to work
❖ already done in the area.

❖ Made statement of the aims and objectives of the project.

❖ The description of Purpose, Scope, and applicability.

❖ We define the problem on which we are working in the project.

❖ We describe the requirement Specifications of the system and the actions that can be done
on these things.

❖ We understand the problem domain and produce a model of the system, which describes
operations that can be performed on the system.

❖ We included features and operations in detail, including screen layouts.

❖ We designed user interface and security issues related to system.

❖ Finally the system is implemented and tested according to test cases.


BIBLIOGRAPHY
For the completion of this project we have take references from various php language book
and website related to php/html.
Help us for successful completion of this project.

Sr no. Name of the book Author Publisher Edition


1. The Joy of PHP Alan Forbes CreateSpace 6th Edition
Programming: A Independent
Beginner’s Guide Publishing
Platform, 2012

2. PHP & MySQL Novice Kevin Yank SitePoint 7th Edition


to Ninja

3. Mastering HTML,CSS & Laura Lemay BPB 1st Edition


Javascript Web Rafe Colburn Publications
Publishing

REFERENCES

❖ https://www.codecource.com
❖ https://en.m.wikipedia.org
❖ https://www.w3schools.com
❖ https://www.geeksforgeeks.org
❖ https://www.tutorialspoint.com
❖ https://www.guru99.com
SYNOPSIS

You might also like