You are on page 1of 67

Industrial Training Report

Submitted
In partial fulfillment

For the award of the Diploma/ Degree


On
PHP
At

Sanskar EducationHub
Submitted to
Mr. RS shekhawat
Department of Computer Science
Shridhar University

Pilani
Submitted by
Abhishek
2020BCA009
Bachelor of Computer Application
5th sem.& computer science
Dec. 2022
CONTENT
1. DECLARATION
2. ACKNOWLEDGEMENT
3. ABSTRACT
4. INTRODUCTION
5.BODY OF TRAINING REPORT
6.CONCLUSION
7.BIBLIOGRAPHY
Index

S. NO. Contents Page No.


1 DECLARATION 4
ACKNOWLEDGEMENT
2 5
ABSTRACT
3 6
4 INTRODUCTION 7-9
BODY OF TRAINING
5 REPORT 10-64
6 CONCLUSION 65
BIBLIOGRAPHY
7 66
DECLARATION

I hereby declare that the project entitled “THE SCRAP BAZAR” submitted for the BCA
5th Semester Project is my original work and the project has not formed the basis for
the award of any degree, associate ship, fellowship or any other similar titles.

Signature of the Student:


Place:

Date:
ACKNOWLEDGEMENT

I would like to thank the almighty god for sustaining and guiding me to carry out my
project work successfully.

I wish to extend my sincere gratitude to Head of Department Mr. RS Sekhawat for


having given me opportunity to complete this project successfully.

With great pleasure I mention the name of Mr. Dharmveer Choudhary and other Guest
faculty of Infique.ltd for their guidance and inspiration. I extend my heart-felt gratitude.
ABSTRACT

The title of the project is the scrap bazar. The main objective of the project is to create
anEcommerce that allows users to search and Rent any cars online .The selected iteam
are displayed in a tabular format and the user can Rent their choice online. Using this
Website the user can Rent cars online instead of going out to any shoping store or
market and wasting time.

The scrap bazar is an online web application where the customer can Rent cars online.
Through a web browser the customers can search for any cars by with price and details,
later can add to the rent and get the car. The user can login using his account details or
new customers can set up an account very quickly. They should give the details of their
name, contact number and address. The cars are divided into many categories based on
type of car like mercedes, landrover, toyota, Landcruiser etc.

The scrap bazar Website provides customers with online renting through a web browser.
A customer can, create, sign in to his account, place items into a renting cart and get the
cars.

The Administrator will have additional functionalities when compared to the common
user. He can add, delete and update the cars details, and categories, member
information and also confirm a placed order.
INTRODUCTION
Project Introduction

The title of the project is the scrap bazar. The main objective of the project is to create an

Car Rental System


that allows users to search and Rent any cars online based on type and quality. The
selected cars are displayed in a tabular format and the user can order their cars online.
Using this Website the user can Rent any cars online instead of going out to any cars store
and wasting time.

The scrap bazar is an online web application where the customer can Rent cars online.
Through a web browser the customers can search for any cars by its requirement, later
can add to the renting cart and get the cars. The user can login using his account details or
new customers can set up an account very quickly. They should give the details of their
name, contact number and address. The cars are divided into many categories based on
cars like books, electronics, fashion, furniture , etc.

The scrap bazar Website provides customers with online renting through a web browser.
A customer can, create, sign in to his account, place items into a renting cart and get the
cars.

The Administrator will have additional functionalities when compared to the common
user. He/She can add, delete and update the car details, car categories, member
information and also confirm a placed order. The Administrator will have all authorities
about the project. He/She can manage all the back end functionalities. This is a e-
commerce website which take care about the user need and provide the user better
facilities. The Administrator will have additional functionalities when compared to the
common user.

• Problem Description
Before using this application, firstly we go to any store for renting the item. At this time
first expense is that vehicle which need petrol or diesel. Then secondly enter in the store
and find that section which we want. After finding the section, find the cars which we
want. Then put the cars in the cart and then go to the payment counter. Then, there is a
queue which is very long so, you are waiting for your turn. And at last your turn is come
then you Rent the book and go to the home. All this process is time consuming and you
also fell tiered.

The scrap bazar is an online web application where the customer can Rent cars online.
Through a web browser the customers can search for any cars by its choice, later can add
to the renting cart and finally Rent using credit card transaction. The user can login using
his account details or new customers can set up an account very quickly. They should
give the details of their name, contact number and shipping address. The user can also
give feedback to any cars by giving ratings on a score of five. The cars are divided into
many categories based on subject.

• About Organization
The name of organization is Sanskar Eduction.Ltd. which is in the Jhunjhunu. This
organization has following features –

• infique web InfoTech is one of the nation’s largest CORPORATE EDUCATION. It is a


completely Indian company which understands India’s training needs & how they affect
our unique place in the global economy.

• infique web InfoTech Service package includes cars quality testing, training, consultation,
facilitation and hand holding for the quality initiatives.

• We provide support in technologies like PHP, Java, Software Quality Testing, Embedded
Systems, .Net, Android, MAT LAB, C and C++.

• We follow-up with full training and consistent support to ensure that our clients are
satisfied. We are extremely versatile, with the resources and skills required to tackle any
project with confidence, regardless of the level of complexity.

• DVS web Infotech has its corporate office in Jaipur.

Services

We are into three major segments:


• Training (Project Based): - We provide project based training on
various latest and upcoming technologies like J2EE, .NET 2008,
Embedded System, PHP, Android etc.

• Corporate Training: - At DVS WEB INFOTECH, we provide


corporate education and custom-content training solutions to some of
the India's largest private and public sector organizations. We serve
our clients in various sectors such as information technology,
education, professional services etc.

• Development: - We have created custom based software and web


based solutions for many diffeRent types of business. Some examples
of the web based solutions developed by us are as follows:

• http://www.taxlawhub.com/next_yug_final
• http://www.woarjournals.org
• http://www.raiechirawa.org/
• http://www.raiesultana.org/
• http://spartaniti.com/
• http://spartanpolytechnic.com/
• http://divinebuilders.in
• http://erpublication.org

• Benefits at DVS Web Infotech

Trainees get exhaustive knowledge of latest technology which acts as a platform for
them to get placed in a reputed company.

• 100% placement support (Resume Updating, Interview Preparation, Campus


Interviews)
• Training / Project Letter
• Soft Skills Training (Personality Development, Motivation)
• Favorable Student-Trainer Ratio
• Live Project based Training

Recruitment at DVS Web Infotech

Some of the companies who have recruited students from DVS Web Infotech are:
• Ways and means Technology Pvt. Ltd
• Axiz Technologies
• Software Complete Solution
• Net Mahavir
• Star Apple
• NEXT Yug
• Priya Enterprises Noida
• TCI Gurgoun
• Celia Infotech
• Zeolite

SYSTEM ANALYSIS
System Flowchart
A flowchart is a type of diagram that represents an algorithm or process, showing the steps as
boxes of various kinds, and their order by connecting them with arrows. This
diagrammatic representation illustrates a solution to a given problem. Process operations are
represented in these boxes, and arrows; rather, they are implied by the sequencing of
operations. Flowcharts are used in analyzing, designing, documenting or managing a process
or program in various fields.

Symbols of Flowchart
There are following symbols are included in flowchart –

Start and end symbols


Represented as circles, ovals or rounded (fillet) rectangles, usually containing the word
"Start" or "End", or another phrase signaling the start or end of a process, such as "submit
inquiry" or "receive cars".

Arrows
Showing "flow of control". An arrow coming from one symbol and ending at another symbol
represents that control passes to the symbol the arrow points to. The line for the arrow can be
solid or dashed. The meaning of the arrow with dashed line may differ from one flowchart to
another and can be defined in the legend.
Generic processing steps
Represented as rectangles. Examples: "Add 1 to X"; "replace identified part"; "save changes"
or similar.

Subroutines
Represented as rectangles with double-struck vertical edges; these are used to show complex
processing steps which may be detailed in a separate flowchart. Example: process-files. One
subroutine may have multiple distinct entry points or exit flows (see coroutine); if so, these
are shown as labeled 'wells' in the rectangle, and control arrows connect to these 'wells'.

Input/Output
Represented as a parallelogram. Examples: Get X from the user; display X.

Prepare conditional
Represented as a hexagon. Shows operations which have no effect other than preparing a
value for a subsequent conditional or decision step

Conditional or decision
Represented as a diamond (rhombus) showing where a decision is necessary, commonly a
Yes/No question or True/False test. The conditional symbol is peculiar in that it has two
arrows coming out of it, usually from the bottom point and right point, one corresponding to
Yes or True, and one corresponding to No or False. More than two arrows can be used, but
this is normally a clear indicator that a complex decision is being taken, in which case it may
need to be broken-down further or replaced with the "pre-defined process" symbol.

Types of Flowchart

There are four type of flowchart. They are following –

Document Flowchart

Document flowchart is a type of flowchart which showing controls over a document-flow


through a system.
Data Flowchart
Data flowcharts is a type of flowchart which showing controls over a data-flow in a system.

• System Flowchart
System flowcharts is a type of flowchart which  showing controls at a physical or resource
level.

• Program Flowchart
Program flowchart is a type of flowchart which showing the controls in a program within a
system.

Flowchart

• E-R Diagram
ER Diagram stands for Entity Relationship Diagram. ER-modeling is a data modeling
technique used in software engineering to produce a conceptual data model of an information
system. Diagrams created using this ER-modeling technique are called Entity-Relationship
Diagrams, or ER diagrams or ERDs. So you can say that Entity Relationship Diagrams
illustrate the logical structure of databases. There are three basic elements in ER-Diagrams:

• Entities are the "things" for which we want to store information. An entity is a person,
place, thing or event.
• Attributes are the data we want to collect for an entity.

• Relationships describe the relations between the entities.

An entity-relationship model is a systematic way of describing and defining a business


process. The process is modeled as components (entities) that are linked with each other
by relationships that express the dependencies and requirements between them, such as: one
building may be divided into zero or more apartments, but one apartment can only be located
in one building. Entities may have various properties (attributes) that characterize them.
Diagrams created to represent these entities, attributes, and relationships graphically are
called entity–relationship diagrams.

An ER model is typically implemented as a database. In the case of a relational database,


which stores data in tables, which represent the entities. Some data fields in these tables point
to indexes in other tables; such pointers represent the relationships.
E-R Diagram

• Data Flow Diagram (DFD)


A data flow diagram (DFD) is a graphical representation of the "flow" of data through
an information system, modelling its process aspects. Often they are a preliminary step used
to create an overview of the system which can later be elaborated. DFDs can also be used for
the visualization of data processing (structured design). A DFD shows what kinds of
information will be input to and output from the system, where the data will come from and
go to, and where the data will be stored.

Data Design transforms the information domain model created during the analysis into data
structures that will be required to implement the software. A part of the data design may
occur in conjunction with the design of software architecture. A Data Flow Diagram (DFD)

provides the mechanism for information flow modeling and functional modeling. It may be
used to represent a system or software at any level of abstraction.

Data flow diagrams can be used in both Analysis and Design phase of the SDLC. There are
diffeRent notations to draw data flow diagrams, defining diffeRent visual representations for
processes, data stores, data flow, and external entities.

Level 0 DFD is called as a fundamental system model. Additional levels such Level 1; Level
2… are used to reveal more details.

A DFD shows what kind of information will be input to and output from the system, where
the data will come from and go to, and where the data will be stored. It does not show
information about the timing of processes, or information about whether processes will
operate in sequence or in parallel.
Data Flow Diagram

• Requirement Specification
The requirement specifications are used in software engineering that specifies the
requirements the user expects from software to be constructed in a software project.
An important and difficult step of designing a software cars is determining what the customer
actually wants it to do. This is because often the customer is not able to communicate the
entirety of their needs and wants, and the information they provide may also be incomplete,
inaccurate and self-conflicting.

The responsibility of completely understanding what the customer wants then falls on the
providers of the cars. Once the required information is completely gathered it is documented
in a requirement specification, which is meant to spell out exactly what the software must do
and becomes part of the contractual agreement. A customer cannot demand features not in the
requirement specifications without renegotiating and a developer cannot claim the cars is
ready if it does not meet an item of the requirement specifications.

Before using this application, firstly we go to any book store for renting the book. At this
time first expense is the vehicle which need petrol or diesel. Then secondly enter in the book
store and fin that section which we want. After finding the section, find the book which we
want. Then put the cars in the cart and then go to the payment counter. Then, there is a queue
which is very long so, you are waiting for your turn. And at last your turn is come then you
Rent the book and go to the home. All these process is time consuming and you also fell
tiried.
The scrap bazar is an online web application where the customer can Rent cars online.
Through a web browser the customers can search for any cars by its choice, later can add to
the renting cart and finally Rent using credit card transaction. The user can login using his
account details or new customers can set up an account very quickly. They should give the
details of their name, contact number and shipping address. The user can also give feedback
to any cars by giving ratings on a score of five. The cars are divided into many categories
based on subject.

Based on the above problems, we divide the problem into important modules. Each important
module will be divided into many sub modules. We collected the data from the front office

workers of the company. They do not have much knowledge in structured questionnaires.

So we collected the information based on their curRent problems in an unstructured questionnaire


model. User requires the following activities have to be performed in the software:
• Details about the guard.

• Performing payment activities for guard.


• Details about the all student which are stay in the college hostel.

• Details about the visitor or relatives.

• Details about the visitor entry information.

Hardware Requirements

For Client:

Minimum memory space          2 MB


Minimum hard disk space          5 MB
Minimum speed processor           486 MHZ
Minimum Ram Memory 300 MB
Processor Pentium
Operating system Window XP/7
Web Browser Mozilla Firefox/Google Chrome

For Server:
Minimum memory space          5 MB
Minimum hard disk space          10 MB
Minimum speed processor           1.60 GHZ
Minimum Ram Memory 500 MB
Processor Pentium
Operating system Window 7
Web Browser Mozilla Firefox/Google Chrome

Software Requirements

Adobe Dreamweaver CS5


Adobe Dreamweaver is a proprietary web development tool which is developed by Adobe
Systems. Dreamweaver was originally developed by Macromedia in 1997, and was
maintained by them until Macromedia was acquired by Adobe Systems in 2005. Adobe
Dreamweaver is available for both OS X and Windows. Following Adobe's acquisition of the
Macromedia cars suite, releases of Dreamweaver subsequent to version 8.0 have been more
compliant with W3C standards. Recent versions have improved support for web technologies
such as CSS, JavaScript, and various server-side scripting
languages and frameworks including ASP (ASP JavaScript, ASP VBScript, ASP.NET C#,
ASP.NET VB), ColdFusion, Script let, and PHP.

Dreamweaver can use third-party "Extensions" to extend core functionality of the application,
which any web developer can write (largely in HTML and JavaScript). Dreamweaver is
supported by a large community of extension developers who make extensions available
(both commercial and free) for most web development tasks from simple rollover effects to
full-featured renting carts.

MYSQL

MYSQL, the most popular Open Source SQL database management system, is developed,
distributed, and supported by Oracle Corporation. MYSQL is a simple, yet powerful Open
Source Software relational database management system that uses SQL. Here, we display the
total MYSQL Databases this web host allows on their smallest plan.

MYSQL is a simple, yet powerful Open Source Software relational database management
system that uses SQL. Here, we display the total MYSQL Databases this web host allows on
their smallest plan.

The MySQL development project has made its source code available under the terms of
the GNU General Public License, as well as under a variety of proprietary agreements.
MySQL was owned and sponsored by a single  for HYPERLINK
"http://en.wikipedia.org/wiki/Business" HYPERLINK
"http://en.wikipedia.org/wiki/Business" HYPERLINK
"http://en.wikipedia.org/wiki/Business" HYPERLINK
"http://en.wikipedia.org/wiki/Business" HYPERLINK
"http://en.wikipedia.org/wiki/Business" HYPERLINK
"http://en.wikipedia.org/wiki/Business" HYPERLINK
"http://en.wikipedia.org/wiki/Business" HYPERLINK
"http://en.wikipedia.org/wiki/Business" HYPERLINK
"http://en.wikipedia.org/wiki/Business" HYPERLINK
"http://en.wikipedia.org/wiki/Business" HYPERLINK
"http://en.wikipedia.org/wiki/Business" HYPERLINK
"http://en.wikipedia.org/wiki/Business" HYPERLINK
"http://en.wikipedia.org/wiki/Business" HYPERLINK
"http://en.wikipedia.org/wiki/Business" HYPERLINK
"http://en.wikipedia.org/wiki/Business" HYPERLINK
"http://en.wikipedia.org/wiki/Business" HYPERLINK
"http://en.wikipedia.org/wiki/Business" HYPERLINK
"http://en.wikipedia.org/wiki/Business" HYPERLINK
"http://en.wikipedia.org/wiki/Business" HYPERLINK
"http://en.wikipedia.org/wiki/Business" HYPERLINK
"http://en.wikipedia.org/wiki/Business" HYPERLINK
"http://en.wikipedia.org/wiki/Business" HYPERLINK
"http://en.wikipedia.org/wiki/Business" HYPERLINK
"http://en.wikipedia.org/wiki/Business" HYPERLINK
"http://en.wikipedia.org/wiki/Business" HYPERLINK
"http://en.wikipedia.org/wiki/Business" HYPERLINK
"http://en.wikipedia.org/wiki/Business" HYPERLINK
"http://en.wikipedia.org/wiki/Business" HYPERLINK
"http://en.wikipedia.org/wiki/Business" HYPERLINK
"http://en.wikipedia.org/wiki/Business"profit  firm, the Swedish company MySQL AB, now
owned byOracle Corporation.

• VertrigoServ
VertrigoServ est une suite de logiciels de type WAMP comprenant un serveur Apache, une
base de données MySQL, un interpréteur de PHP, ainsi que des outils
d'administration PhpMyAdmin, SQLite, Zend Optimizer et SQLiteManager. With a
convenient all-in-one installer, all components are installed in a single directory and can be
used immediately after the installation process has completed. An uninstaller allows you to
remove the VertrigoServ from hard disc.

VertrigoServ has been developed as a highly professional, easy to install package consisting


of Apache (HTTP web server), PHP(reflective programming
language), MySQL (multithreaded, multi-user, SQL Database Management
System), SQLite (ACID-compliant relational database management
system),SQLiteManager (multilingual web based tool to manage SQLite
database), PhpMyAdmin (tool written in PHP intended to handle the administration of
MySQL) and Zend Optimizer (which increases runtime performance up to 40%)
for Windowsplatform. With a convenient all-in-one installer, all components are installed in a
single directory and can be used immediately after the installation process has completed. An
uninstaller allows you to remove the VertrigoServ from hard disc. It is designed to be as
small and flexible as possible and is therefore highly suitable for internet
distribution. VertrigoServ is excellent both for beginners and for advanced users.

• PHP

PHP - Hypertext PreProcessor is a server-side scripting language for creating dynamic and


interactive websites. It is widely-used as an alternate to ASP. It is perfectly suited for Web
development and can be embedded directly into the HTML programming code.

PHP is used where data processing is required; where the scripting language access and
process data from the database and displays the result. Learn the Hypertext Preprocessor
programming tutorial online with example. As you read more you will understand it well.

PHP code can be simply mixed with HTML code, or it can be used in combination with
various templating engines and web frameworks. PHP code is usually processed by a
PHP interpreter, which is usually implemented as a web server's native module or a Common
Gateway Interface (CGI) executable. After the PHP code is interpreted and executed, the web
server sends resulting output to its client, usually in form of a part of the generated web
page – for example, PHP code can generate a web page's HTML code, an image, or some
other data. PHP has also evolved to include a command-line interface (CLI) capability and
can be used in standalone graphical applications.

PHP 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.

PHP/FI could be used to build simple, dynamic web applications. Lerdorf initially announced
the release of PHP/FI as "Personal Home Page Tools (PHP Tools) version 1.0" publicly to
acceleratebug location and improve the code, on the Usenet discussion
groupcomp.infosystems.www.authoring.cgi on June 8, 1995. This release already had the
basic functionality that PHP has as of 2013. This included Perl-like variables, form handling,
and the ability to embed HTML. The syntax resembled that of Perl but was simpler, more
limited and less consistent.
jQuery

jQuery is a cross-platform JavaScript library designed to simplify the client-side


scripting of HTML. It was released in January 2006 at BarCamp NYC by John Resig. It is
curRently developed by a team of developers led by Dave Methvin. Used by over 80% of the
10,000 most visited websites, jQuery is the most popular JavaScript library in use today.

jQuery is free, open source software, licensed under the MIT License. jQuery's syntax is
designed to make it easier to navigate a document, selectDOM elements, create animations,
handle events, and develop Ajax applications. jQuery also provides capabilities for
developers to create plug-inson top of the JavaScript library. This enables developers to
create abstractionsfor low-level interaction and animation, advanced effects and high-level,
theme-able widgets. The modular approach to the jQuery library allows the creation of
powerful dynamic web pages and web applications.

The set of jQuery core features—DOM element selections, traversal and manipulation—
enabled by its selector engine (named "Sizzle" from v1.3), created a new "programming
style", fusing algorithms and DOM-data-structures; and influenced the architecture of
other JavaScript frameworks likeYUI v3 and Dojo.

Microsoft and Nokia bundle jQuery on their platforms. Microsoft includes it with Visual


Studio for use within Microsoft's ASP.NET AJAX framework andASP.NET MVC
Framework while Nokia has integrated it into the Web Run-Time widget development
platform. jQuery has also been used in MediaWiki since version 1.16.

Both version 1.x and 2.x of jQuery support "curRent-1 versions" (meaning the curRent stable
version of the browser and the version that preceded it) of Firefox, Google Chrome, Safari,
and Opera. The version 1.x also supports Internet Explorer 6 or higher. However, jQuery
version 2.x dropped Internet Explorer 6–8 support (which represents less than 28% of
all browsers in use) and can run only with IE 9 or higher.

• DHTML

Dynamic HTML, or DHTML, is an umbrella term for a collection of technologies used


together to create interactive and animated web sites by using a combination of a
staticmarkup language (such as HTML), a client-side scripting language (such as JavaScript),
a presentation definition language (such as CSS), and the Document Object Model.

DHTML allows scripting languages to change variables in a web page's definition language,


which in turn affects the look and function of otherwise "static" HTML page
content, after the page has been fully loaded and during the viewing process. Thus the
dynamic characteristic of DHTML is the way it functions while a page is viewed, not in its
ability to generate a unique page with each page load.

By contrast, a dynamic web page is a broader concept, covering any web page generated
diffeRently for each user, load occurrence, or specific variable values. This includes pages
created by client-side scripting, and ones created by server-side scripting (such
as PHP,Perl, JSP or ASP.NET) where the web server generates content before sending it to
the client.

DHTML allows authors to add effects to their pages that are otherwise difficult to achieve. In
short words: scripting language is changing the DOM and style.Simply, DHTML is the
combination of HTML,CSS and JS.

• Animate text and images in their document, independently moving each element from
any starting point to any ending point, following a predetermined path or one chosen by
the user.

• Embed a ticker that automatically refreshes its content with the latest news, stock quotes,
or other data.

• Use a form to capture user input, and then process, verify and respond to that data
without having to send data back to the server.

• Include rollover buttons or drop-down menus.

• JavaScript

JavaScript (JS) is a dynamic computer programming language. It is most commonly used as


part of web browsers, whose implementations allow client-side scripts to interact with the
user, control the browser, communicateasynchronously, and alter the document content that is
displayed. It is also being used in server-side programming, game development and the
creation of desktop and mobile applications.
JavaScript is a prototype-based scripting language with dynamic typing and has first-class
functions. Its syntax was influenced by C. JavaScript copies many names and naming
conventions from Java, but the two languages are otherwise unrelated and have very
diffeRent semantics. The key design principles within JavaScript are taken from
the Self and Scheme programming languages. It is a multi-paradigm language,
supporting object-oriented, imperative, and functional programming styles.

JavaScript was formalized in the ECMAScript language standard and is primarily used as


part of a web browser (client-side JavaScript). This enablesprogrammatic access to objects
within a host environment.

JavaScript very quickly gained widespread success as a client-side scripting language for web
pages. Microsoft introduced JavaScript support in its own web browser, Internet Explorer, in
version 3.0, released in August 1996. Microsoft's webserver, Internet Information Server,
introduced support for server-side scripting in JavaScript with release 3.0 (1996). Microsoft
started to promote webpage scripting using the umbrella term Dynamic HTML.

SYSTEM DESIGN
File / Database Design
In the the scrap bazar project we can create the database with the help of phpmyadmin tool
which is used to design the database in the PHP. The phpmyadmin is firstly creating a
database and then in this database we can create all those tables which we want to created. In
this project we can give the name of database is bookstore and in this bookstore we can create
the thirteen tables like admin, add_cars, add_company, add_category, etc. In this project we
can generate the following tables:

TABLE: Admin
TABLE: add_category

TABLE: Orders
TABLE: userlog

TABLE: users
TABLE: wishlist

Normalization
Database normalization is the process of organizing the fields and tables of a relational
database to minimize redundancy and dependency. Normalization usually involves dividing
large tables into smaller (and less redundant) tables and defining relationships between them.
The objective is to isolate data so that additions, deletions, and modifications of a field can be
made in just one table and then propagated through the rest of the database using the defined
relationships.

Edgar F. Codd, the inventor of the relational model, introduced the concept of normalization
and what we now know as the First Normal Form (1NF) in 1970. Codd went on to define the
Second Normal Form (2NF) and Third Normal Form (3NF) in 1971, and Codd and Raymond
F. Boyce defined the Boyce-Codd Normal Form (BCNF) in 1974. Informally, a relational
database table is often described as "normalized" if it is in the Third Normal Form. Most 3NF
tables are free of insertion, update, and deletion anomalies.

A standard piece of database design guidance is that the designer should first create a fully
normalized design; then selective normalization can be performed for performance reasons.

A basic objective of the first normal form defined by Edgar Frank "Ted" Codd in 1970 was to
permit data to be queried and manipulated using a "universal data sub-language" grounded
in first-order logic.

Normalization is the process of efficiently organizing data in a database. There are two goals
of the normalization process: eliminating redundant data (for example, storing the same data
in more than one table) and ensuring data dependencies make sense (only storing related data
in a table). Both of these are worthy goals as they reduce the amount of space a database
consumes and ensure that data is logically stored. There are several benefits for using
Normalization in Database.

Normal Forms

The normal forms of relational database theory provide criteria for determining a table's
degree of immunity against logical inconsistencies and anomalies. The higher the normal
form applicable to a table, the less vulnerable it is. Each table has a "highest normal form"
(HNF): by definition, a table always meets the requirements of its HNF and of all normal
forms lower than its HNF; also by definition, a table fails to meet the requirements of any
normal form higher than its HNF.

The normal forms are applicable to individual tables; to say that an entire database is in
normal form n is to say that all of its tables are in normal form n.

Newcomers to database design sometimes suppose that normalization proceeds in an iterative


fashion, i.e. a 1NF design is first normalized to 2NF, then to 3NF, and so on. This is not an
accurate description of how normalization typically works. A sensibly designed table is likely
to be in 3NF on the first attempt; furthermore, if it is 3NF, it is overwhelmingly likely to have
an HNF of 5NF. Achieving the "higher" normal forms (above 3NF) does not usually require
an extra expenditure of effort on the part of the designer, because 3NF tables usually need no
modification to meet the requirements of these higher normal forms.

Types of Normal Form

There are diffeRent - diffeRent types of normalizations form available in the database. They
are following –0

First Normal Form (1NF)

First normal form (1NF) sets the very basic rules for an organized database:

• Eliminate duplicative columns from the same table.

• Create separate tables for each group of related data and identify
each row with a unique column or set of columns (the primary key).

• Remove repetitive groups.

• Create Primary Key.

 Second Normal Form (2NF)

Second normal form (2NF) further addresses the concept of removing duplicative data:

• Meet all the requirements of the first normal form.


• Remove subsets of data that apply to multiple rows of a table and place them
in separate tables.
• Create relationships between these new tables and their predecessors through
the use of foreign keys.   

• Remove columns which create duplicate data in a table and related a new table
with Primary Key – Foreign Key relationship

Third Normal Form (3NF)

Third normal form (3NF) goes one large step further:


• Meet all the requirements of the second normal form.
• Remove columns that are not dependent upon the primary key.
Boyce-Codd Normal Form (BCNF or 3.5NF)
The Boyce-Codd Normal Form, also referred to as the "third and half (3.5) normal form",
adds one more requirement:
• Meet all the requirements of the third normal form.
• Every determinant must be a candidate key.

Fourth Normal Form (4NF)


Finally, fourth normal form (4NF) has one additional requirement:
• Meet all the requirements of the third normal form.
• A relation is in 4NF if it has no multi-valued dependencies.

Input / Output Form Design


Input / Output Form Design include the design of the forms which are we include in our
project. Input Forms are those type of forms which user give the input. Means with the

help of these forms user give the input. A standard piece of database design guidance is that
the designer should first create a fully normalized design; then selective normalization can be
performed for performance reasons. A basic objective of the first normal form defined by
Edgar Frank "Ted" Codd in 1970 was to permit data to be queried and manipulated using a
"universal data sub-language" grounded in first-order HYPERLINK
"http://en.wikipedia.org/wiki/First-order_logic" HYPERLINK
"http://en.wikipedia.org/wiki/First-order_logic" HYPERLINK
"http://en.wikipedia.org/wiki/First-order_logic" HYPERLINK
"http://en.wikipedia.org/wiki/First-order_logic" HYPERLINK
"http://en.wikipedia.org/wiki/First-order_logic" HYPERLINK
"http://en.wikipedia.org/wiki/First-order_logic" HYPERLINK
"http://en.wikipedia.org/wiki/First-order_logic" HYPERLINK
"http://en.wikipedia.org/wiki/First-order_logic" HYPERLINK
"http://en.wikipedia.org/wiki/First-order_logic" HYPERLINK
"http://en.wikipedia.org/wiki/First-order_logic" HYPERLINK
"http://en.wikipedia.org/wiki/First-order_logic" HYPERLINK
"http://en.wikipedia.org/wiki/First-order_logic" HYPERLINK
"http://en.wikipedia.org/wiki/First-order_logic" HYPERLINK
"http://en.wikipedia.org/wiki/First-order_logic" HYPERLINK
"http://en.wikipedia.org/wiki/First-order_logic"logic. Output Forms are those type of forms
which user get the output. Means with the help of these forms user get the output.

Input Form Design

Input Forms are those type of forms which user give the input. Means with the help of
these forms user give the input. A standard piece of database design guidance is that the
designer should first create a fully normalized design; then selective normalization can be
performed for performance reasons. There are following type of input forms –

• Registration Form

• Login Form

• Contact Us Form

• Add Cars Form

The detail description of above forms as follows –

Registration Form

In the registration form user give the all information about user. If any user can Rent book
then firstly user can registered youself. Then user login in the site with the help of the
registered information. A standard piece of database design guidance is that the designer
should first create a fully normalized design; then selective normalization can be performed
for performance reasons. After all these procedure user can Rent the book through the site.
Registration Form can contains many fields like name, mobile no., mail id, etc. These fields
are as follows –

• Name – The first field of the Registration Form is User’s Name which describe the
identity of the user. Means user is fake or not, it is described by this field of the
registration form.

• Gender – The second field of the Registration Form is User’s Gender which describe
the identity of the user. Means a particular user is male or user is female, it is
described by this field of the registration form.
• Mobile No. – The third field of the Registration Form is User’s Mobile No. which
describe the authentication of the user. Means a particular user is authenticate or not,
it is described by this field of the registration form.

• Mail Id – The fourth field of the Registration Form is User’s Mail Id which describe
the authentication of the user. Means a particular user is authenticate or not, it is
described by this field of the registration form. Means user is fake or not, it is
described by this field of the registration form.

• Password – The fifth field of the Registration Form is User’s Password which
describe the security for the user. Means with the help of this field user can easily
login in the site.

• Confirm Password – The sixth field of the Registration Form is Confirm Password
which describe also the security for the user. But it is used for only confirmation the
password.

• Image – The seventh or last field of the Registration Form is User’s Image which
describe the whole identity of the user. Means user is fake or not, it is described by
this field of the registration form.

Login Form

After the registration user can login for Rent the cars . So, there are also a login form is
available. A standard piece of database design guidance is that the designer should first create
a fully normalized design; then selective normalization can be performed
for performance reasons. Login Form can contains only two fields which are as follows –

• UserName – The first field of the Login Form is UserName which take the user in the
registration form. Means the mail id is used as the user name for the login form.

• Password – The second or last field of the Login Form is Password which also take
the user in the registration form. On the time of the registration user enter the
password which is used here.

Contact Us Form
If user can contact to the admin then he/she fill the contact us form and user can easily
contact to the admin. A standard piece of database design guidance is that the designer should
first create a fully normalized design; then selective normalization can be performed
for performance reasons. Contact Us Form can contains four field which are as follows –

• Name – The first field of the Contact Us Form is User’s Name which describe the
identity of the user. Means user is fake or not, it is described by this field of the
Contact Us.

• Mobile No. – The second field of the Contact Us is User’s Mobile No. which describe
the authentication of the user. Means a particular user is authenticate or not, it is
described by this field of the Contact Us. With the help of this no. admin can contact
the user.

• Mail Id – The third field of the Contact Us is User’s Mail Id which describe the
authentication of the user. Means a particular user is authenticate or not, it is
described by this field of the Contact Us. Means user is fake or not, it is described by
this field of the Contact Us. With the help of this mail id admin can contact the user.

• Reason – The fourth and last field of the Contact Us is User’s Mail Id which describe
that reason which user can contact to the admin, it is described by this field of the
Contact Us.

Add Cars Form

In this form admin can add the cars which is Rentd by the user. Whole project or website is
based on this form. A standard piece of database design guidance is that the designer should
first create a fully normalized design; then selective normalization can be performed
for performance reasons. There are so many fields are in this form. These field are as follows

• Select Company – The first field of the Add Cars is Select Company which describe
that select the company name which is related to that cars, it is described by this field
of the add cars.

• Select Category – The second field of the Add Cars is Select Category which
describe that select the category of the cars, it is described by this field of the add
cars.
• Select SubCategory – The third field of the Add Cars is Select SubCategory which
describe that select the subcategory of the cars, it is described by this field of the add
cars.

• Cars Name – The fourth field of the Add Cars is Cars Name which describe the cars
name, it is described by this field of the add cars.

• Prize – The fifth field of the Add Cars is Prize which define the prize of the cars, it is
described by this field of the add cars.

• Quantity – The sixth field of the Add Cars is Quantity which define the quantity of
the cars, it is described by this field of the add cars.

• Release Date – The seventh field of the Add Cars is Release Date which define the
release date of the cars, it is described by this field of the add cars.

• No. of Pages – The eighth field of the Add Cars is No. of Pages which define the no.
of pages of the cars, it is described by this field of the add cars.

• Publication – The ninth field of the Add Cars is Publication which define the
publication of the cars, it is described by this field of the add cars.

• Author Name – The tenth field of the Add Cars is Author Name which define the
author name of the cars, it is described by this field of the add cars.

• Description – The eleventh field of the Add Cars is Description which define the
description of the cars, it is described by this field of the add cars.

• Image – The twelveth field of the Add Cars is Image which define the image of the
cars, it is described by this field of the add cars.

Output Form Design

Output Forms are those type of forms which user get the output. Means with the help of

these forms user get the output. A standard piece of database design guidance is that the
designer should first create a flly normalized design; then selective normalization can be
performed for performance reasons. Output From show the output to the user. There are three
type of output are show in the website. These output are as follows –
• Pending Order

• Approved Order

• Deliver Order

The detail of all these orders as follows –

Pending Order

Pending Order show that cars which is in the pending status by the admin because all
authority is in under the admin and admin is give the status for all cars. A standard piece of
database design guidance is that the designer should first create a fully normalized design;
then selective normalization can be performed for performance reasons. User can see the all
pending order in the site.

Approved Order

Approved Order show that cars which is in the approved status by the admin because all
authority is in under the admin and admin is give the status for all cars. A standard piece of
database design guidance is that the designer should first create a fully normalized design;
then selective normalization can be performed for performance reasons. User can see the all
approved order in the site.

Deliver Prder

Deliver Order show that cars which is in the deliver status by the admin because all authority
is in under the admin and admin is give the status for all cars. A standard piece of database
design guidance is that the designer should first create a fully normalized design; then
selective normalization can be performed for performance reasons. User can see the all
deliver order in the site.

Screen Design
Screen Design is screen shot of the over all project. In the screen design we can show the our
project. The scrap bazar is an online web application where the customer can Rent cars
online. The cars are divided into many categories based on subject. Screen Design divied into
two parts. They are following –
• Front End
• Back End
The detail of both ends as follows –

Front End
Front End show the all front view of the project. The scrap bazar is an online web
application where the customer can Rent cars online. The front end screen shot include the
index page, registration page, login page, contact us page, cars page, new release page, etc.
The front end screen shot are as follows –

Index page

My Account
Toyota

contact page
Furnture Page
Our Brands

• Report Design
Guidelines For Students
• The theme / topic of the project should be current and based on latest technology.
• The candidate has to give a project brief or synopsis to the Officer In charge, and the
guide(s) will be assigned to him related to his topic before commencing the project work.
• The length of the report may be about 80 to 120 page.
• The project must be Hard Bounded with Black Color cover and Golden text.
• The project must be submitted duly signed by the Guide/HOD.
• The project should be neatly typed on one side and in A4 size Paper only.

• Following Typing Instructions Should Be Followed


• One and a half spacing should be used for typing the general text. The general text shall
be justified and typed in the Font style ‘Times New Roman’ and Font size 12.
• Subheading shall be typed in the Font style ‘Times New Roman’ and Font size 12 and
bold.
• Heading shall be typed in the Font style ‘Times New Roman’ and Font size 14 and bold.
• Components Of A Project Report
The sequence in which the project report material should be arranged and bound should be
as follows:

Core Project Report:

(a) Title of the project


(b) Introduction
(c) Certificate from the Study Centre
(d) Certificate from Organization (if its live project)
(e) Contents
(f) Acknowledgment
(g) Student Profile
(h) Bio-data of the project guide
(i) Platform used
(j) Front & Back end used
(k) Project Analysis
(l) Feasibility study & cost-benefit analysis
(m) Project Design
(n) Table structure
(o) DFDs, Data Dictionary, Pert Chart etc.
(p) Coding
(q) Form Design
(r) Testing mechanisms used
(s) Implementation mechanisms
(t) Future scope of the project
(u) Bibliography

Appendices:

Software Requirement Specifications


Source Code
User Manual
CODING

Front End
Front end coding are as follows –

index.php

<?php

session_start();

error_reporting(0);

include('includes/config.php');

if(isset($_GET['action']) && $_GET['action']=="add"){

$id=intval($_GET['id']);

if(isset($_SESSION['cart'][$id])){

$_SESSION['cart'][$id]['quantity']++;

}else{

$sql_p="SELECT * FROM cars WHERE id={$id}";

$query_p=mysqli_query($con,$sql_p);

if(mysqli_num_rows($query_p)!=0){

$row_p=mysqli_fetch_array($query_p);

$_SESSION['cart'][$row_p['id']]=array("quantity" => 1, "price" =>


$row_p['carsPrice']);

}else{

$message="Cars ID is invalid";

echo "<script>alert('Cars has been added to the cart')</script>";


echo "<script type='text/javascript'> document.location ='my-cart.php';
</script>";

?>

<!DOCTYPE html>

<html lang="en">

<head>

<!-- Meta -->

<meta charset="utf-8">

<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">

<meta name="viewport" content="width=device-width, initial-scale=1.0, user-


scalable=no">

<meta name="description" content="">

<meta name="author" content="">

<meta name="keywords" content="MediaCenter, Template, eCommerce">

<meta name="robots" content="all">

<title>Renting Portal Home Page</title>

<!-- Bootstrap Core CSS -->

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

<!-- Customizable CSS -->

<link rel="stylesheet" href="assets/css/main.css">

<link rel="stylesheet" href="assets/css/green.css">

<link rel="stylesheet" href="assets/css/owl.carousel.css">


<link rel="stylesheet" href="assets/css/owl.transitions.css">

<!--<link rel="stylesheet" href="assets/css/owl.theme.css">-->

<link href="assets/css/lightbox.css" rel="stylesheet">

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

<link rel="stylesheet" href="assets/css/rateit.css">

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

<!-- Demo Purpose Only. Should be removed in carsion -->

<link rel="stylesheet" href="assets/css/config.css">

<link href="assets/css/green.css" rel="alternate stylesheet" title="Green


color">

<link href="assets/css/blue.css" rel="alternate stylesheet" title="Blue color">

<link href="assets/css/red.css" rel="alternate stylesheet" title="Red color">

<link href="assets/css/orange.css" rel="alternate stylesheet" title="Orange


color">

<link href="assets/css/dark-green.css" rel="alternate stylesheet"


title="Darkgreen color">

<link rel="stylesheet" href="assets/css/font-awesome.min.css">

<link href='http://fonts.googleapis.com/css?family=Roboto:300,400,500,700'
rel='stylesheet' type='text/css'>

<!-- Favicon -->

<link rel="shortcut icon" href="assets/images/favicon.ico">

</head>

<body class="cnt-home">
<!-- ==============================================
HEADER ============================================== -->

<header class="header-style-1">

<?php include('includes/top-header.php');?>

<?php include('includes/main-header.php');?>

<?php include('includes/menu-bar.php');?>

</header>

<!-- ============================================== HEADER : END


============================================== -->

<div class="body-content outer-top-xs" id="top-banner-and-menu">

<div class="container">

<div class="furniture-container homepage-container">

<div class="row">

<div class="col-xs-12 col-sm-12 col-md-3 sidebar">

<!-- ================================== TOP


NAVIGATION ================================== -->

<?php include('includes/side-menu.php');?>

<!-- ================================== TOP NAVIGATION : END


================================== -->

</div><!-- /.sidemenu-holder -->

<div class="col-xs-12 col-sm-12 col-md-9 homebanner-holder">

<!-- ==========================================
SECTION – HERO ========================================= -->

<div id="hero" class="homepage-slider3">


<div id="owl-main" class="owl-carousel owl-inner-nav owl-ui-sm">

<div class="full-width-slider">

<div class="item" style="background-image:


url(assets/images/sliders/slider1.png);">

<!-- /.container-fluid -->

</div><!-- /.item -->

</div><!-- /.full-width-slider -->

<div class="full-width-slider">

<div class="item full-width-slider" style="background-image:


url(assets/images/sliders/slider2.png);">

</div><!-- /.item -->

</div><!-- /.full-width-slider -->

</div><!-- /.owl-carousel -->

</div>

<!-- ========================================= SECTION – HERO : END


========================================= -->

<!--
============================================== INFO BOXES
============================================== -->

<div class="info-boxes wow fadeInUp">

<div class="info-boxes-inner">

<div class="row">

<div class="col-md-6 col-sm-4 col-lg-4">

<div class="info-box">

<div class="row">

<div class="col-xs-2">
<i class="icon fa fa-dollar"></i>

</div>

<div class="col-xs-10">

<h4 class="info-box-heading
green">money back</h4>

</div>

</div>

<h6 class="text">30 Day Money Back Guarantee.</h6>

</div>

</div><!-- .col -->

<div class="hidden-md col-sm-4 col-lg-4">

<div class="info-box">

<div class="row">

<div class="col-xs-2">

<i class="icon fa fa-truck"></i>

</div>

<div class="col-xs-10">

<h4 class="info-box-heading
orange">free shipping</h4>

</div>

</div>

<h6 class="text">free ship-on oder over Rs.


600.00</h6>

</div>

</div><!-- .col -->

<div class="col-md-6 col-sm-4 col-lg-4">


<div class="info-box">

<div class="row">

<div class="col-xs-2">

<i class="icon fa fa-gift"></i>

</div>

<div class="col-xs-10">

<h4 class="info-box-heading
red">Special Sale</h4>

</div>

</div>

<h6 class="text">All items-sale up to 20% off </h6>

</div>

</div><!-- .col -->

</div><!-- /.row -->

</div><!-- /.info-boxes-inner -->

</div><!-- /.info-boxes -->

<!-- ============================================== INFO BOXES : END


============================================== -->

</div><!-- /.homebanner-holder -->

</div><!-- /.row -->

<!-- ==============================================
SCROLL TABS ============================================== -->

<div id="cars-tabs-slider" class="scroll-tabs inner-bottom-vs wow


fadeInUp">

<div class="more-info-tab clearfix">

<h3 class="new-cars-title pull-left">Featured Cars</h3>


<ul class="nav nav-tabs nav-tab-line pull-right" id="new-cars-
1">

<li class="active"><a href="#all" data-


toggle="tab">All</a></li>

<li><a href="#books"
data-toggle="tab">Books</a></li>

<li><a href="#furniture" data-


toggle="tab">Furniture</a></li>

</ul><!-- /.nav-tabs -->

</div>

<div class="tab-content outer-top-xs">

<div class="tab-pane in active" id="all">

<div class="cars-slider">

<div class="owl-carousel home-owl-carousel


custom-carousel owl-theme" data-item="4">

<?php

$ret=mysqli_query($con,"select * from cars");

while ($row=mysqli_fetch_array($ret))

# code...

?>

<div class="item item-carousel">

<div class="cars">
<div class="cars">

<div class="cars-image">

<div class="image">

<a href="cars-details.php?pid=<?php echo


htmlentities($row['id']);?>">

<img src="admin/carsimages/<?php echo


htmlentities($row['id']);?>/<?php echo htmlentities($row['carsImage1']);?>" data-
echo="admin/carsimages/<?php echo htmlentities($row['id']);?>/<?php echo
htmlentities($row['carsImage1']);?>" width="180" height="300" alt=""></a>

</div><!-- /.image -->

</div><!-- /.cars-image -->

<div class="cars-info text-left">

<h3 class="name"><a href="cars-details.php?pid=<?php echo


htmlentities($row['id']);?>"><?php echo htmlentities($row['carsName']);?></a></h3>

<div class="rating rateit-small"></div>

<div class="description"></div>

<div class="cars-price">

<span class="price">

Rs.<?php echo htmlentities($row['carsPrice']);?>


</span>

<span
class="price-before-discount">Rs.<?php echo
htmlentities($row['carsPriceBeforeDiscount']);?> </span>

</div><!-- /.cars-price -->


</div><!-- /.cars-info -->

<?php if($row['carsAvailability']=='In Stock'){?>

<div class="action"><a href="index.php?


page=cars&action=add&id=<?php echo $row['id']; ?>" class="lnk btn btn-primary">Add to
Cart</a></div>

<?php } else {?>

<div class="action" style="color:red">Out of


Stock</div>

<?php } ?>

</div><!-- /.cars -->

</div><!-- /.cars -->

</div><!-- /.item -->

<?php } ?>

</div><!-- /.home-owl-carousel -->

</div><!-- /.cars-slider -->

</div>

<div class="tab-pane" id="books">

<div class="cars-slider">

<div class="owl-carousel home-owl-carousel


custom-carousel owl-theme">

<?php

$ret=mysqli_query($con,"select * from cars where category=3");


while ($row=mysqli_fetch_array($ret))

# code...

?>

<div class="item item-carousel">

<div class="cars">

<div class="cars">

<div class="cars-image">

<div class="image">

<a href="cars-details.php?pid=<?php echo


htmlentities($row['id']);?>">

<img src="admin/carsimages/<?php echo


htmlentities($row['id']);?>/<?php echo htmlentities($row['carsImage1']);?>" data-
echo="admin/carsimages/<?php echo htmlentities($row['id']);?>/<?php echo
htmlentities($row['carsImage1']);?>" width="180" height="300" alt=""></a>

</div><!-- /.image -->

</div><!-- /.cars-image -->

<div class="cars-info text-left">

<h3 class="name"><a href="cars-details.php?pid=<?php echo


htmlentities($row['id']);?>"><?php echo htmlentities($row['carsName']);?></a></h3>
<div class="rating rateit-small"></div>

<div class="description"></div>

<div class="cars-price">

<span class="price">

Rs. <?php echo htmlentities($row['carsPrice']);?>


</span>

<span
class="price-before-discount">Rs.<?php echo
htmlentities($row['carsPriceBeforeDiscount']);?></span>

</div><!-- /.cars-price -->

</div><!-- /.cars-info -->

<?php if($row['carsAvailability']=='In Stock'){?>

<div class="action"><a href="index.php?


page=cars&action=add&id=<?php echo $row['id']; ?>" class="lnk btn btn-primary">Add to
Cart</a></div>

<?php } else {?>

<div class="action" style="color:red">Out of


Stock</div>

<?php } ?>

</div><!-- /.cars -->

</div><!-- /.cars -->

</div><!-- /.item -->

<?php } ?>
</div><!-- /.home-owl-carousel
-->

</div><!-- /.cars-slider -->

</div>

<div class="tab-pane" id="furniture">

<div class="cars-slider">

<div class="owl-carousel home-owl-carousel


custom-carousel owl-theme">

<?php

$ret=mysqli_query($con,"select * from cars where category=5");

while ($row=mysqli_fetch_array($ret))

?>

<div class="item item-carousel">

<div class="cars">

<div class="cars">

<div class="cars-image">

<div class="image">
<a href="cars-details.php?pid=<?php echo
htmlentities($row['id']);?>">

<img src="admin/carsimages/<?php echo


htmlentities($row['id']);?>/<?php echo htmlentities($row['carsImage1']);?>" data-
echo="admin/carsimages/<?php echo htmlentities($row['id']);?>/<?php echo
htmlentities($row['carsImage1']);?>" width="180" height="300" alt=""></a>

</div>

</div>

<div class="cars-info text-left">

<h3 class="name"><a href="cars-details.php?pid=<?php echo


htmlentities($row['id']);?>"><?php echo htmlentities($row['carsName']);?></a></h3>

<div class="rating rateit-small"></div>

<div class="description"></div>

<div class="cars-price">

<span class="price">

Rs.<?php echo htmlentities($row['carsPrice']);?>


</span>

<span
class="price-before-discount">Rs.<?php echo
htmlentities($row['carsPriceBeforeDiscount']);?></span>

</div>

</div>

<?php if($row['carsAvailability']=='In Stock'){?>


<div class="action"><a href="index.php?
page=cars&action=add&id=<?php echo $row['id']; ?>" class="lnk btn btn-primary">Add to
Cart</a></div>

<?php } else {?>

<div class="action" style="color:red">Out of


Stock</div>

<?php } ?>

</div>

</div>

</div>

<?php } ?>

</div>

</div>

</div>

</div>

</div>

<!-- ============================================== TABS


============================================== -->

<div class="sections prod-slider-small outer-top-small">

<div class="row">

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

<section class="section">

<h3 class="section-title">Smart Phones</h3>


<div class="owl-carousel homepage-owl-carousel custom-carousel
outer-top-xs owl-theme" data-item="2">

<?php

$ret=mysqli_query($con,"select * from cars where category=4 and subCategory=4");

while ($row=mysqli_fetch_array($ret))

?>

<div class="item item-carousel">

<div class="cars">

<div class="cars">

<div class="cars-image">

<div class="image">

<a href="cars-details.php?pid=<?php echo


htmlentities($row['id']);?>"><img src="admin/carsimages/<?php echo
htmlentities($row['id']);?>/<?php echo htmlentities($row['carsImage1']);?>" data-
echo="admin/carsimages/<?php echo htmlentities($row['id']);?>/<?php echo
htmlentities($row['carsImage1']);?>" width="180" height="300"></a>

</div><!-- /.image -->

</div><!-- /.cars-image -->

<div class="cars-info text-left">

<h3 class="name"><a href="cars-details.php?pid=<?php echo


htmlentities($row['id']);?>"><?php echo htmlentities($row['carsName']);?></a></h3>
<div class="rating rateit-small"></div>

<div class="description"></div>

<div class="cars-price">

<span class="price">

Rs. <?php echo htmlentities($row['carsPrice']);?>


</span>

<span
class="price-before-discount">Rs.<?php echo
htmlentities($row['carsPriceBeforeDiscount']);?></span>

</div>

</div>

<?php if($row['carsAvailability']=='In Stock'){?>

<div class="action"><a href="index.php?


page=cars&action=add&id=<?php echo $row['id']; ?>" class="lnk btn btn-primary">Add to
Cart</a></div>

<?php } else {?>

<div class="action" style="color:red">Out of


Stock</div>

<?php } ?>

</div>

</div>

</div>

<?php }?>

</div>
</section>

</div>

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

<section class="section">

<h3 class="section-title">Laptops</h3>

<div class="owl-carousel homepage-owl-carousel custom-


carousel outer-top-xs owl-theme" data-item="2">

<?php

$ret=mysqli_query($con,"select * from cars where category=4 and subCategory=6");

while ($row=mysqli_fetch_array($ret))

?>

<div class="item item-carousel">

<div class="cars">

<div class="cars">

<div class="cars-image">

<div class="image">

<a href="cars-details.php?pid=<?php echo


htmlentities($row['id']);?>"><img src="admin/carsimages/<?php echo
htmlentities($row['id']);?>/<?php echo htmlentities($row['carsImage1']);?>" data-
echo="admin/carsimages/<?php echo htmlentities($row['id']);?>/<?php echo
htmlentities($row['carsImage1']);?>" width="300" height="300"></a>

</div><!-- /.image -->

</div><!-- /.cars-image -->


<div class="cars-info text-left">

<h3 class="name"><a href="cars-details.php?pid=<?php echo


htmlentities($row['id']);?>"><?php echo htmlentities($row['carsName']);?></a></h3>

<div class="rating rateit-small"></div>

<div class="description"></div>

<div class="cars-price">

<span class="price">

Rs .<?php echo htmlentities($row['carsPrice']);?>


</span>

<span
class="price-before-discount">Rs.<?php echo
htmlentities($row['carsPriceBeforeDiscount']);?></span>

</div>

</div>

<?php if($row['carsAvailability']=='In Stock'){?>

<div class="action"><a href="index.php?


page=cars&action=add&id=<?php echo $row['id']; ?>" class="lnk btn btn-primary">Add to
Cart</a></div>

<?php } else {?>

<div class="action" style="color:red">Out of


Stock</div>

<?php } ?>

</div>

</div>

</div>

<?php }?>
</div>

</section>

</div>

</div>

</div>

<!-- ============================================== TABS :


END ============================================== -->

<section class="section featured-cars inner-xs wow fadeInUp">

<h3 class="section-title">Fashion</h3>

<div class="owl-carousel best-seller custom-carousel owl-theme outer-top-


xs">

<?php

$ret=mysqli_query($con,"select * from cars where category=6");

while ($row=mysqli_fetch_array($ret))

# code...

?>

<div class="item">

<div class="cars">
<div class="cars">

<div class="cars-micro">

<div class="row cars-micro-


row">

<div class="col col-xs-


6">

<div class="cars-
image">

<div
class="image">

<a
href="admin/carsimages/<?php echo htmlentities($row['id']);?>/<?php echo
htmlentities($row['carsImage1']);?>" data-lightbox="image-1" data-title="<?php echo
htmlentities($row['carsName']);?>">

<img data-echo="admin/carsimages/<?php echo htmlentities($row['id']);?>/<?php


echo htmlentities($row['carsImage1']);?>" width="170" height="174" alt="">

<div class="zoom-overlay"></div>

</a>

</div><!-- /.image -->

</div><!-- /.cars-
image -->

</div><!-- /.col -->


<div class="col col-xs-
6">

<div class="cars-
info">

<h3
class="name"><a href="cars-details.php?pid=<?php echo htmlentities($row['id']);?>"><?php
echo htmlentities($row['carsName']);?></a></h3>

<div
class="rating rateit-small"></div>

<div
class="cars-price">

<span class="price">

Rs. <?php echo htmlentities($row['carsPrice']);?>

</span>

</div><!-- /.cars-price -->

<?php
if($row['carsAvailability']=='In Stock'){?>

<div class="action"><a href="index.php?


page=cars&action=add&id=<?php echo $row['id']; ?>" class="lnk btn btn-primary">Add to
Cart</a></div>

<?php } else {?>

<div class="action" style="color:red">Out of


Stock</div>

<?php } ?>

</div>

</div><!-- /.col -->

</div><!-- /.cars-micro-row -->


</div><!-- /.cars-micro -->

</div>

</div>

</div><?php } ?>

</div>

</section>

<?php include('includes/brands-slider.php');?>

</div>

</div>

<?php include('includes/footer.php');?>

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

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

<script src="assets/js/bootstrap-hover-dropdown.min.js"></script>

<script src="assets/js/owl.carousel.min.js"></script>

<script src="assets/js/echo.min.js"></script>

<script src="assets/js/jquery.easing-1.3.min.js"></script>

<script src="assets/js/bootstrap-slider.min.js"></script>

<script src="assets/js/jquery.rateit.min.js"></script>

<script type="text/javascript" src="assets/js/lightbox.min.js"></script>

<script src="assets/js/bootstrap-select.min.js"></script>

<script src="assets/js/wow.min.js"></script>
<script src="assets/js/scripts.js"></script>

<!-- For demo purposes – can be removed on carsion -->

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

<script>

$(document).ready(function(){

$(".changecolor").switchstylesheet( { seperator:"color"} );

$('.show-theme-options').click(function(){

$(this).paRent().toggleClass('open');

return false;

});

});

$(window).bind("load", function() {

$('.show-theme-options').delay(2000).trigger('click');

});

</script>

<!-- For demo purposes – can be removed on carsion : End -->

</body>

</html>
CONCLUSIONS
8.1 Finding
Our project provides better facilities to users and it is easy to use. The title of the project
is the scrap bazar. The main objective of the project is to create an the scrap bazar that
allows users to search and Rent any cars online based on type and quality. The selected
cars are displayed in a tabular format and the user can order their cars online. Using this
Website the user can Rent any cars online instead of going out to any cars store and
wasting time.

The scrap bazar is an online web application where the customer can Rent cars online.
Through a web browser the customers can search for any cars by its choice, later can add
to the renting cart and get the cars. The user can login using his account details or new
customers can set up an account very quickly. They should give the details of their name,
contact number and address. The cars are divided into many categories based on cars like
books, electronics, fashion, furniture etc.

The scrap bazar Website provides customers with online renting through a web browser.
A customer can, create, sign in to his account, place items into a renting cart and get the
cars.

The Administrator will have additional functionalities when compared to the common
user. He/She can add, delete and update the book details, book categories, member
information and also confirm a placed order. The Administrator will have all authorities
about the project. He/She can manage all the back end functionalities. This is a e-
commerce website which take care about the user need and provide the user better
facilities. The Administrator will have additional functionalities when compared to the
common user.
Before using this application, firstly we go to any book store for renting the book. At this
time first expense is that veichel which need petrol or desel. Then secondly enter in the
store and find the that section which we want. After finding the section, find the cars
which we want. Then put the cars in the cart and then go to the payment counter. Then,
there is a queue which is very long so, you are waiting for your turn. And at last your turn
is come then you Rent the book and go to the home. All these process is time consuming
and you also fell teried.

8.2 Limitations
There are following limitations are comes in this project –

• Requires power supply.

• Maintains Required.

• Recording filling is time consuming.

• If there have large amount of data then its do work slowly.

8.3 Future Scope


The scrap bazar is very useful future time because is based on web technology and in
future market everything is converting into web application. In case there be any additions or
deletion of the services, addition or deletion of any reseller in any type of modification in
future can be implemented easily. The data collected by the system will be useful for some
other purposes also. If we see around us all bank, college, renting mall and other departments
are user online application. So this application is very support full for this type environment.
• Application is can be convert into Hindi language.
• Application can be changed into fully the scrap bazar site by using payment method,
if any situation user is want to sell his cars or project then we can use cash payment
or other transaction method to complete it.
• Application application is one blue print of t he scrap bazar application that makes all
things at one place.
 This web application is show how to make one web based application and how to
work any application.
BIBLIOGRAPHY

• HTML5 The Black Book


• Beginning SQL – Paul wilton, John colby
• Object Oriented Systems Development by Ali Bahrami.
• Software Engineering: A Practitioner's Approach, seventh edition by Roger
Pressman 6th Edition.
• The Complete Reference

You might also like