You are on page 1of 110

A PROJECT REPORT ON

HOME APPLIANCES ONLINE PURCHASE PROJECT


DETAILS
A Dissertation submitted to
JAWAHARLAL NEHRU TECHNOLOGICAL UNIVERSITYKAKINADA.

In the partial fulfillment of the requirements for the award of the degree of
MASTER OF TECHNOLOGY
IN
MASTER OF COMPUTER APPLICATION
Submitted by
T.V.N.L.THIRUPATHAMMA
(16A71F0016)
Under the Esteemed Guidance of
Dr.S.K.SATPATHY(P.hd)

Associate Professor.

DEPARTMENT OF MASTER OF COMPUTER APPLICATIONS


NALANDA INSTITUTE OF ENGINEERING & TECHNOLOGY
(An ISO 9001-2000) Certified Institution, Accredited by NBA, Approved by AICTE New Delhi &
Affiliated to JNT University Kakinada, Kakinada)
Siddhartha Nagar, Kantepudi(V), Sattenapalli(M), Guntur Dist – 522438,08641-237863/64

2016-2019
NALANDA INSTITUTE OF ENGINEERING & TECHNOLOGY
(An ISO 9001-2000) Certified Institution, Approved by AICTE New Delhi & Affiliated
to JNT University Kakinada, Kakinada)
Siddhartha Nagar, Kantepudi(V), Sattenapalli(M), Guntur Dist – 522438,
08641-237863/64

CERTIFICATE

This is to certify that the main project report entitled “HOME


APPLIANCES ONLINE PURCHASE PROJECT DETAILS”is a
piece of project work done by T.V.N.L.THIRUPATHAMMA(16A71F0016)under
the guidance and supervision of Dr.S.K.SATPATHY(P.hd) at the
DEPARTMENT OF COMPUTER SCIENCE & ENGINEERING , for the degree
of Master of Technology inMASTER OF COMPUTER APPLICATIONSof
Jawaharlal Nehru Technological University Kakinada, Kakinada, A.P,
INDIA.
The project viva-voce exam is held on ______of ______, 2019.

INTERNAL GUIDE HEAD OF THE


DEPARTMENT

EXTERNAL EXAMINER PRINCIPAL


DECLARATION

I here by declare that this thesis entitled “HOME APPLIANCES


ONLINE PURCHASE PROJECT DETAILS” submitted toJawaharlal
Nehru Technological University Kakinada, Kakinada for the award of degree of
Master of Technology inMASTER OF COMPUTER APPLICATIONSis
based on the original work carried out in the laboratories of Nalanda Institute
of ENGINEERING & Technology, kantepudi (V), Sattenapalli (Md), Guntur
(Dt), AP.,INDIA and has not been submitted earlier in part or in full for any
degree or diploma of any university.

T.V.N.L.THIRUPATHAMMA

(16A71F0016)
ACKNOWLEDGEMENT
The Almighty has been bestowing us with his blessings throughout our life. I thank thou
force for all that he has done for me and my friends. We all are his disciples.Words are few to
express the feeling of thanks and gratitude to the following persons

I am extremely thankful to my honorable and enthusiastic CHAIRMAN Dr. A. VARA


PRASAD REDDY Garu,Nalanda Group of Institutions, Sattenapalli, thereby making my
dream of higher education come true.

I express my gratitude to our SECRETARY Dr.A.VIJAYA SARADA REDDY Garu,


Nalanda Group of Institutions, Sattenapalli, for providing necessary facilities for the
graduation studies and dissertation work by being behind the screen.

I am extremely thankful to my honorable and enthusiasticVICE CHAIRMAN


Mr.A.SIDDARTH REDDY Garu,Nalanda Group of Institutions, Sattenapalli, thereby
making my dream of higher education come true.

I express my heart-felt gratitude to our PRINCIPAL Dr.B.V.RAMANA REDDY Garu,


Nalanda Institute of Engineering & Technology, Sattenapalli for his encouragement,
constructive suggestions and constant inspiration throughout the entire course of study.

I am extremely grateful to our, Dr.T.SWARNALATHA,Professorand Head of the


Department OF COMPUTER SCIENCE & ENGINEERING, Nalanda Institute of
Engineering & Technology, Sattenapalli, for her valuable guidance, affectionate
encouragement and moral support throughout the course of this investigation. I am greatly
indebted to her guidance.

I would like to gratefully acknowledge my project guide, Dr.S.K.SATPATHY(P.hd)


AssociateProfessor, has been abundantly helpful and has assisted me in numerous ways. I
specially thank him for his infinite patience.

My sincere thanks to all of my teaching and non-teaching staff, Nalanda Institute of


Engineering & Technology, who had helped me directly or indirectly for the successful
completion of our dissertation work.

I express my feelings and gratitude to my beloved parents without whose selfless help and
moral support and boundless enthusiasm, I am nothing. They helped me in every possible
way and the love bestowed on us deserves endless praise.

Last but not least, I express my sincere thanks to one and all and also to those whom I might
have missed to mention, who gave constant encouragement and help throughout my
educational career.

T.V.N.L.THIRUPATHAMMA
(16A71F0016)

Home appliances online


purchase Project Details
Description
An online purchase system that permits a customer to submit
online orders for items from a store that serves both walk-in
customers and online customers. Online purchase is always better
and smarter way to spend our money. The online purchase system
presents an online display of an order and an associated delivery
window for items selected by the customer. The system accepts
the customer's submission of a purchase order for the item in
response to a time of submission. This system does not settle with a
credit supplier of the customer until the item selected by the
customer is picked from inventory but before it is delivered.
Therefore, the customer can go online and make changes to the
order if that ordered item does not available in a store. Online
purchases by type of product are then examined to illustrate how
the Internet has become both a complement to, and a substitute
for, traditional retail. Online purchase is quick and easy as the
wide range of products are categorized in a very convenient and
user friendly manner. The results of this system also indicated a
significant mean difference between online shoppers and non-
online shoppers in gathering product information and comparing
price of products before a purchase decision.

Shopping Cart System


Use of Shopping Cart system

Shopping Cart System is the Simple shopping Solution. It's a full-


featured website and shopping cart system that bends over
backwards to give you the flexibility you need to run your online
store. The basic concept of the application is to allow the
customer to shop virtually using the Internet and allow customers
to buy the items and articles of their desire from the store. The
information pertaining to the products are stores on an RDBMS at
the server side (store). The Server process the customers and the
items are shipped to the address submitted by them. The details of
the items are brought forward from the database for the customer
view based on the selection through the menu and the database
of all the products are updated at the end of each transaction.

What is Shopping Cart system?

Online shopping is a form of electronic shopping store where the


buyer is directly online to the seller's computer usually via the
internet. There is no intermediary service. The sale and purchase
transaction is completed electronically and interactively in real-
time. The development of this new system contains the following
activities, which try to develop on-line application by keeping the
entire process in the view of database integration approach. User
gets its eamil id and password to acces their account.
Administrator of Shopping Cart System has multiple features such
as Add, Delete, Update shopping Items.

Features of shopping cart system.

1. Secure registration and profile management facilities for


Customers.
2. Browsing through the e-Mall to see the items that are there in
each category of products like Apparel, Kitchen accessories,
Bath accessories, Food items etc.
3. Creating a Shopping cart so that customer can Shop N
number of items and checkout finally with the entire
shopping cart
4. Customers should be able to mail the Shop about the items
they would like to see in the Shop
5. Secured mechanism for checking out from the Shop( Credit
card verification mechanism ).Updates to customers about
the Recent Items in the Shop.
6. Uploading Most Purchased Items in each category of
products in the Shop like Apparel, Kitchen accessories, Bath
accessories, Food items etc.

Brief overview of the technology:


Front end: HTML, CSS, JavaScript

1. HTML: HTML is used to create and save web document. E.g.


Notepad/Notepad++
2. CSS : (Cascading Style Sheets) Create attractive Layout
3. JavaScript: it is a programming language, commonly use
with web browsers.

Back end: PHP, MySQL

1. PHP: Hypertext Preprocessor (PHP) is a technology that allows


software developers to create dynamically generated web
pages, in HTML, XML, or other document types, as per client
request. PHP is open source software.
2. MySQL: MySql is a database, widely used for accessing
querying, updating, and managing data in databases.

Software Requirement(any one):

 WAMP Server

Installation Steps:

1. Download zip file and Unzip file on your local server.


2. Put this file inside “c:/wamp/www/” .
3. Database Configuration:
Open phpmyadmin
Create Database named shop.
Import database shop.sql.
4. Open Your browser put inside URL: http://localhost/Design/
5. To Login as admin putinside URL:
http://localhost/Design/admin

Admin login details: Login Id: admin


Password: admin123

MODULES:

 Appending products details


 Customer registration
 Order processing information

Module description:
Appending products details:
Administrator can take an important role in this module.
They can able to add new products to online system. All the
products are categorized by administrator. They have to append
price details, stock details and item details of all products to
online. Administrator has rights to add and delete product details
in online. They have to maintain all order details of each customer.

Customer registration:

One should get registered to purchase their desired


products. One can get registered by giving there personal details
such as personal details, login details and credit card details. Their
username and password can be used to access their account.
Through login they can make online purchase.

Order processing information:


After login, customer can make order by viewing
product details through item menus. Once the order completed,
immediately all the unit price details, discounts if any and grand
total are generated by the system. All these details are viewed to
customers. Then customers have to confirm those ordered
products for purchase. If any product is missing, it will be detected
by system and customers have to exchange that product.

Hardware Required:

 System : Pentium IV 2.4 GHz


 Hard Disk : 40 GB
 Floppy Drive : 1.44 MB
 Monitor : 15 VGA colour
 Mouse : Logitech.
 Keyboard : 110 keys enhanced.
 RAM : 256 MB

S/W System Configuration


 Operating System : Windows
95/98/2000/NT4.0.
 Application Server : Wamp2.2e

 Front End : HTML, PHP.


 Scripts : JavaScript.
 Server side Script : PHP.
 Database : Mysql.
 Database Connectivity : PhpMyAdmin.
Project Screenshots
Project Homepage
Login Page
Register Page
Products Page
Products Gallery Page
Contact Us
Project Source Code

Index.php (Home Page)

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


"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">

<html xmlns="http://www.w3.org/1999/xhtml"
xml:lang="cz"><head>

<?php

error_reporting(1);

include("index1.php");

?>

<title>Company name - title</title>

<meta http-equiv="Content-language" content="cs">

<meta http-equiv="Content-Type" content="text/html;


charset=UTF-8">

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

<meta name="keywords" content=" ">

<link rel="shortcut icon" href="favicon.ico" type="image/x-icon">

<link rel="icon" href="favicon.ico" type="image/x-icon">

<meta name="author" content="Kl?ra Frolichov?, Sunlight


webdesign">

<meta name="Copyright" content="Kl?ra Frolichov?, Sunlight


webdesign 2007">
<meta name="design" content="Sunlight webdesign -
http://www.sunlight.cz, info@sunlight.cz">

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


title="default">

</head>

<body>

<div id="WholePage">

<div id="Inner">

<div id="Container" style="border:groove;border-color:#00CCFF">

<div id="Head">

<div id="Head_left">

<div id="Leaf_top"><img src="img/shop3.jpg" width="324" /></div>

<div id="Leaf_bottom"> <a class="registration"


href="index.php?con=11">REGISTRATION</a> <a class="log-in"
href="index.php?con=12">LOG IN</a> </div>

</div>

<div id="Head_right">

<div id="Logo">

<div id="Name"><span
class="blue">F</span><span>ashion</span>&nbsp;<span
class="blue">S</span><span>hop</span> </div>

<div id="Informations">Latest trends in Fashion</div>

</div>
<div id="Top_menu"> <a class="kart"
href="?page=home"><span>CART</span></a> <a class="orders"
href="index.php?con=3"><span>GALLERY</span></a>

<a class="contact"
href="index.php?con=1"><span>CONTACT</span></a>

<a class="help" href="index.php?con=2"><span>ABOUT


US</span></a>

<a class="home" href="?page=home"><span>HOME</span></a>

</div>

</div>

</div>

<div id="CentralPart">

<div id="LeftPart">

<div id="Menu">

<div id="Menu_header">

<div class="menu_header_left"> <span class="menu_text"><font


face="Georgia, Times New Roman, Times,
serif">Search</font></span>

</div>

<div class="menu_header_right"> </div>

<div id="Menu_content"> <!--<a class="menu_item"


href="?page=home"><span>--><!-- Start of Page Search -->

<h5>&nbsp;</h5>

<form method="post">
<input type="text" name="t1" value="search"
onfocus="if(this.value=='search'){this.value='';}"onBlur="if(this.value
==''){this.value='search';}"/>

<input name="sear" type="submit" class="button" id="sub"


value="Go" />

</form>

<?php

extract($_REQUEST);

if(isset($sear))

$se=$_REQUEST['t1'];

if($se!=NULL)

echo "<script>location.href='index.php?se=$se'</script>";

?>

<h5>&nbsp;</h5>

<!--</form>-->

<!-- End of Page Search --></span></a><br>

</div>

<div class="menu_header_left"> <span


class="menu_text">MEN</span>
</div>

<div class="menu_header_right"> </div>

</div>

<div id="Menu_content"> <a class="menu_item"


href="index.php?catg=1 & subcatg=Casual Shirts"><span>Casual
Shirts</span></a><br>

<a class="menu_item" href="index.php?catg=1 &


subcatg=Jeans"><span>Jeans</span></a><br>

<a class="menu_item" href="index.php?catg=1 & subcatg=T-


Shirts"><span>T-shirts

</span></a><br>

<a class="menu_item" href="index.php?catg=1 &


subcatg=Footwear"><span>Footwear</span></a><br>

<a class="menu_item" href="index.php?catg=1 &


subcatg=Shorts"><span>Shorts</span></a><br>

<a class="menu_item" href="index.php?catg=1 &


subcatg=watches"><span>Watches

</span></a><br>

</div>

<div class="menu_header_left"> <span


class="menu_text">WOMEN</span>

</div>

<div class="menu_header_right"> </div>


<div id="Menu_content"> <a class="menu_item"
href="index.php?catg=2 &
subcatg=dresses"><span>Dresses</span></a><br>

<a class="menu_item" href="index.php?catg=2 &


subcatg=Churidar Suits"><span>Churidar Suits</span></a><br>

<a class="menu_item" href="index.php?catg=2 &


subcatg=Kurtas"><span>Kurtas</span></a><br>

<a class="menu_item" href="index.php?catg=2 &


subcatg=Sandals"><span>Sandals</span></a><br>

<a class="menu_item" href="index.php?catg=2 & subcatg=Office


Wear"><span>Office Wear</span></a><br>

<a class="menu_item" href="index.php?catg=2 &


subcatg=Artificial Jewellery"><span>Artificial
Jewellery</span></a><br>

</div>

<div class="menu_header_left"> <span


class="menu_text">KIDS</span>

</div>

<div class="menu_header_right"> </div>

<div id="Menu_content"> <a class="menu_item"


href="index.php?catg=3 & subcatg=Baby Apparel"><span>Baby
Apparel</span></a><br>

<a class="menu_item" href="index.php?catg=3 & subcatg=Girls


Apparel"><span>Girls Apparel</span></a><br>

<a class="menu_item" href="index.php?catg=3 & subcatg=Boys


Apparel"><span>Boys Apparel</span></a><br>
<a class="menu_item" href="index.php?catg=3 & subcatg=Kids
Toys"><span>Kids Toys</span></a><br>

<!--<a class="menu_item" href="?page=home"><span>Office


Wear</span></a><br>

<a class="menu_item" href="?page=home"><span>Artificial


Jewellery</span></a><br>-->

</div>

</div>

<img src="usepics/4.jpg" width="228" height="183" /></div>

<div id="RightPart">

<?php

include("config.php");

if(isset($se))

include("search.php");

if($_REQUEST['con']==1)

include("contact.php");

if($_REQUEST['con']==2)

include("about.php");
}

if($_REQUEST['con']==3)

include("gallery.php");

if($_REQUEST['con']==11)

include("register.php");

if($_REQUEST['con']==12)

include("login.php");

if($_REQUEST['con']==13)

include("welcome.php");

if($_REQUEST['con']==14)

include("viewitem.php");

}
if(!(isset($catg))and !(isset($con))and !(isset($se)))

include("home.php");

if(isset($catg)==1)

if($_REQUEST['subcatg']=='Casual Shirts')

include("casual.php");

if(isset($catg)==1)

if($_REQUEST['subcatg']=='Jeans')

include("jeans.php");

if(isset($catg)==1)

if($_REQUEST['subcatg']=='T-Shirts')

{
include("tshirt.php");

if(isset($catg)==1)

if($_REQUEST['subcatg']=='Footwear')

include("shoe.php");

if(isset($catg)==1)

if($_REQUEST['subcatg']=='Shorts')

include("shorts.php");

if(isset($catg)==1)

if($_REQUEST['subcatg']=='watches')

include("watch.php");

}
}

if(isset($catg)==2)

if($_REQUEST['subcatg']=='dresses')

include("dress.php");

if(isset($catg)==2)

if($_REQUEST['subcatg']=='Churidar Suits')

include("suits.php");

if(isset($catg)==2)

if($_REQUEST['subcatg']=='Sandals')

include("sandals.php");

}
}

if(isset($catg)==2)

if($_REQUEST['subcatg']=='Kurtas')

include("kurtas.php");

if(isset($catg)==2)

if($_REQUEST['subcatg']=='Office Wear')

include("office.php");

if(isset($catg)==2)

if($_REQUEST['subcatg']=='Artificial Jewellery')

include("jewel.php");

if(isset($catg)==3)
{

if($_REQUEST['subcatg']=='Baby Apparel')

include("baby.php");

if(isset($catg)==3)

if($_REQUEST['subcatg']=='Girls Apparel')

include("girls.php");

if(isset($catg)==3)

if($_REQUEST['subcatg']=='Boys Apparel')

include("boy.php");

if(isset($catg)==3)

if($_REQUEST['subcatg']=='Kids Toys')
{

include("toy.php");

?>

</div>

<div class="cleaner"></div>

</div>

<div id="Bottom">

<p class="down"><b>Copyright &copy; Fashion Shop, Design


by:Priya Gupta</b></p>

</div>

</div>

</div>

</div>

</div>

</body></html>
Login.php

<?php

session_start();

include("config.php");

extract($_REQUEST);

$i=$_REQUEST['itemno'];

if(isset($sub))

$id=$_REQUEST['t1'];

$pass=$_REQUEST['p1'];

$sel=mysqli_query($conn,"select id,pass from register where


id='$id'");

$arr=mysqli_fetch_array($sel);

if(($arr['id']==$id) and( $arr['pass']==$pass))

$_SESSION['eid']=$id;

echo "<script>location.href='order.php?itemno=$i'</script>";

else

$er="id and password do not match";

}
?>

<html>

<div><br/><center><h2><font face="Lucida Handwriting" size="+1"


color="#00CCFF">Login your
Account</font></h2></center></div>

<div>

<div style="width:25%;float:right">

<img src="usepics/7.jpg">

</div>

<br><br>

<div style="width:70%;float:right" align="center" >

<center><fieldset style="background:#CC99CC;width:50%">

<br><br>

<table width="244" border="0" align="center">

<form method="post">

<tr><td colspan="2"><?php echo "<font


color='green'>$er</font>";?></td></tr>

<tr>

<td width="90"><div align="center"><font size="+1" face="Comic


Sans MS">UserID:</font></div></td>

<td width="144"><label>

<input name="t1" type="text" id="t1">

</label></td>

</tr>
<tr>

<td><div align="center"><font size="+1" face="Comic Sans


MS">Password:</font></div></td>

<td><input name="p1" type="password" id="p1"></td>

</tr>

<tr>

<td><label>

<div align="center">

<input name="sub" type="submit" value="Login">

</div>

</label></td>

<td><strong><a href="index.php?con=11"><font
color="#993333" size="+1" face="Bradley Hand ITC">Sign
Up</font></a></strong> </td>

</tr>

<tr>

<td height="37" colspan="2"><div align="center"><a


href="#"><font size="+1" face="Bradley Hand ITC"><strong>Forgot
your Password? </strong></font></a></div></td>

</tr>

</form>

</table>

</fieldset></center>

</div>

</div>
<!--<div
style="width:100%;float:left"><center><b>Copyright&copy;Priya
Gupta</b></center></div>

</div>-->

</body>

</html>

Register.php

<?php

//$conn=mysqli_connect("localhost","root","","shop");

include("config.php");

extract($_REQUEST);

if(isset($sub))

$title=$_REQUEST['sel1'];

$fname=$_REQUEST['t1'];

$lname=$_REQUEST['t2'];

$gen=$_REQUEST['r1'];

$id=$_REQUEST['t3'];

$pass=$_REQUEST['p1'];

$phone=$_REQUEST['t5'];

$add=$_REQUEST['t6'];
$city=$_REQUEST['t7'];

$coun=$_REQUEST['t8'];

$dob=$_REQUEST['t9'];

//$sel=mysqli_query($con,"select * from register");

//$arr=mysqli_fetch_array($sel);

$query="select * from register where id ='$id'";

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

$r=mysqli_num_rows($q);

if($r)

echo "user already exists";

else

if(mysqli_query($conn,"insert into register


values('','$title','$fname','$lname','$gen','$id','$pass','$phone','$add
','$city','$coun','$dob')"))

{
echo "<script>location.href='index.php?con=13 &
wel=$id'</script>";

?>

<html>

<head>

<script>

function fnam()

var fnam=/^[a-zA-Z]{4,15}$/;

if(document.f1.t1.value.search(fnam)==-1)

alert("enter correct first name");

document.f1.t1.focus();

return false;

function lnam()

{
var lnam=/^[a-zA-Z]{4,15}$/;

if(document.f1.t2.value.search(lnam)==-1)

alert("enter correct last name");

document.f1.t2.focus();

return false;

function email()

var email=/^[a-zA-Z0-9-_\.]+@[a-zA-Z]+\.[a-zA-Z]{2,3}$/;

if(document.f1.t3.value.search(email)==-1)

alert("enter correct email");

document.f1.t3.focus();

return false;

function pass()

var pass=/^[a-zA-Z0-9-_]{6,16}$/;
if(document.f1.p1.value.search(pass)==-1)

alert("enter correct pass");

document.f1.p1.focus();

return false;

function phone()

var phn=/^[0-9]{9,14}$/;

if(document.f1.t5.value.search(phn)==-1)

alert("enter correct phone no");

document.f1.t5.focus();

return false;

function add()

var add=/^[a-zA-Z0-9- ]{10,150}$/;

if(document.f1.t6.value.search(add)==-1)

{
alert("enter correct address");

document.f1.t6.focus();

return false;

function city()

var city=/^[a-zA-Z]{5,30}$/;

if(document.f1.t7.value.search(city)==-1)

alert("enter correct city");

document.f1.t7.focus();

return false;

function coun()

var city=/^[a-zA-Z]{5,30}$/;

if(document.f1.t8.value.search(city)==-1)

alert("enter correct country");


document.f1.t8.focus();

return false;

function vali()

var nam=/^[a-zA-Z]{4,15}$/;

var email=/^[a-zA-Z0-9-_\.]+@[a-zA-Z]+\.[a-zA-Z]{2,3}$/;

var pass=/^[a-zA-Z0-9-_]{6,16}$/;

var phn=/^[0-9]{9,14}$/;

var add=/^[a-zA-Z0-9 ]{10,150}$/;

var city=/^[a-zA-Z]{5,30}$/;

if(document.f1.t1.value.search(nam)==-1)

alert("enter correct first name");

document.f1.t1.focus();

return false;

else if(document.f1.t2.value.search(nam)==-1)
{

alert("enter correct last name");

document.f1.t2.focus();

return false;

else if(document.f1.t3.value.search(email)==-1)

alert("enter correct login name");

document.f1.t3.focus();

return false;

else if(document.f1.p1.value.search(pass)==-1)

alert("enter correct pass");

document.f1.p1.focus();

return false;

else if(document.f1.t5.value.search(phn)==-1)

{
alert("enter correct phone no");

document.f1.t5.focus();

return false;

else if(document.f1.t6.value.search(add)==-1)

alert("enter correct address");

document.f1.t6.focus();

return false;

else if(document.f1.t7.value.search(city)==-1)

alert("enter correct city");

document.f1.t7.focus();

return false;

else if(document.f1.t8.value.search(city)==-1)

alert("enter correct country");


document.f1.t8.focus();

return false;

else

return true;

</script>

</head>

<body>

<div><br/><center><h2><font face="Lucida Handwriting" size="+1"


color="#00CCFF">Register Yourself</font></h2></center></div>

<div>

<div style="width:25%;float:right">

<br><br><br><br><br>

<img src="usepics/7.jpg">

</div>

<br><br>

<center><div style="width:70%;float:right" align="center">

<fieldset style="background:#CC99CC;width:50%">
<br><br>

<form method="post" name="f1" onSubmit="return vali()">

<table width="366" border="0" align="center">

<tr>

<td><div align="center"><strong><font size="+1" face="Comic


Sans MS">Title:</font></strong></div></td>

<td><label>

<select name="sel1" id="sel1">

<option value="Mr.">Mr.</option>

<option value="Ms.">Ms.</option>

<option value="Mrs.">Mrs.</option>

</select>

</label></td>

</tr>

<tr>

<td width="164"><div align="center"><font size="+1"


face="Comic Sans MS"><b>
First&nbsp;Name:</b></font></div></td>

<td width="192">

<input name="t1" type="text" id="t1" onChange="return


fnam()"> </td>

</tr>

<tr>
<td><div align="center"><font size="+1" face="Comic Sans
MS"><strong>Last name:</strong></font></div></td>

<td><input name="t2" type="text" id="t2" onChange="return


lnam()" ></td>

</tr>

<tr>

<td><div align="center"><font size="+1" face="Comic Sans


MS"><b>&nbsp;Gender:</b> </font></div></td>

<td><input name="r1" type="radio" value="male">

<strong>Male</strong>

<input name="r1" type="radio" value="female">

<strong>Female</strong></td>

</tr>

<tr>

<td><div align="center"><font size="+1" face="Comic Sans


MS"><b>&nbsp;Enter Email : </b></font></div></td>

<td><input name="t3" type="text" id="t3" onChange="return


email()"></td>

</tr>

<tr>

<td><div align="center"><font size="+1" face="Comic Sans


MS"><b>&nbsp;Choose a Password:</b> </font></div></td>

<td><input name="p1" type="text" id="p1" onChange="return


pass()"></td>

</tr>
<tr> <td><div align="center"><font size="+1" face="Comic Sans
MS"><b>Phone no: </b></font></div></td>

<td><input name="t5" type="text" id="t5" onChange="return


phone()"></td>

</tr>

<tr>

<td><div align="center"><font size="+1" face="Comic Sans


MS"><strong>Address:</strong></font></div></td>

<td><label>

<textarea name="t6" id="t6" value="return add()"></textarea>

</label></td>

</tr>

<tr>

<td><div align="center"><font size="+1" face="Comic Sans


MS"><strong>City:</strong></font></div></td>

<td><input name="t7" type="text" id="t7" onChange="return


city()"></td>

</tr>

<tr>

<td><div align="center"><font size="+1" face="Comic Sans


MS"><strong>Country:</strong></font></div></td>

<td><input name="t8" type="text" id="t8" onChange="return


coun()"></td>

</tr>

<tr>
<td><div align="center"><strong><font size="+1" face="Comic
Sans MS">Date of Birth: </font></strong></div></td>

<td><label>

<input name="t9" type="text" id="t9">

</label></td>

</tr>

<tr>

<td colspan="2"><label><br>

<center>

<input name="sub" type="submit" id="sub" value="Create my


Account">

</center>

</label></td>

</tr>

</table>

</form>

</fieldset>

</div>

</center>

</div>

</body>

</html>
Products.php

<html>

<div><br/><center><h2><font face="Lucida Handwriting" size="+1"


color="#00CCFF">Jeans</font></h2></center></div>

<div style="width:100%;float:left" >

<?php

include("config.php");

$catg=$_REQUEST['catg'];

$subcatg=$_REQUEST['subcatg'];

$sel=mysqli_query($conn,"select * from items where


catg='$catg' and subcatg='$subcatg'");

echo"<form method='post'><table border='0'


align='center'><tr>";

$n=1;

while($arr=mysqli_fetch_array($sel))

$i=$arr['itemno'];

if($n%4==0)

echo "<tr>";
}

echo "

<td height='280' width='240' align='center'><img


src='admin/itempics/$i.jpg' height='200' width='200'><br/>

<b>Item No:</b>".$arr['itemno'].

"<br><b>Price:</b>Rs&nbsp;".$arr['price'].

"<br><b>Description:</b>".$arr['desc'].

"<br><br><a href='index.php?con=12 & itemno=$i'><img


src='images/MetalPlakDa5new.gif' width='70' height='20'/></a>

<a href='index.php?con=14 & itemno=$i'><img


src='images/view7.jpg' width='70' height='20'/></a>

</td>";

$n++;

echo "</tr></table>

</form>";

?>

<div><br>

<marquee behavior="scroll" dir="ltr" align="absbottom"><img


src="usepics/logo5.jpg" width="100" height="70"/>

<img src="usepics/logo11.jpg" width="100" height="70"/>


<img src="usepics/logo12.jpg" width="100" height="70"/><img
src="usepics/logo8.jpg" width="100" height="70"/><img
src="usepics/logo6.jpg" width="100" height="70"/>

<img src="usepics/logo4.jpg" width="100" height="70"/>

<img src="usepics/logo3.jpg" width="100" height="70"/>

<img src="usepics/logo13.jpg" width="100" height="70"/> <img


src="usepics/logo15.jpg" width="100" height="70"/>

<img src="usepics/logo1.jpg" width="100" height="70"/> <img


src="usepics/logo2.jpg" width="100" height="70"/><img
src="usepics/logo14.jpg" width="100" height="70"/><img
src="usepics/logo9.jpg" width="100" height="70"/>

</marquee>

</div>

</div>

</body>

</html>

Gallery.php

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


"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">

<head>

<meta http-equiv="Content-Type" content="text/html;


charset=utf-8" />
<title>jQuery lightBox plugin</title>

<link rel="stylesheet" type="text/css" href="../style-projects-


jquery.css" />

<!-- Arquivos utilizados pelo jQuery lightBox plugin -->

<script type="text/javascript" src="js/jquery.js"></script>

<script type="text/javascript" src="js/jquery.lightbox-


0.5.js"></script>

<link rel="stylesheet" type="text/css" href="css/jquery.lightbox-


0.5.css" media="screen" />

<!-- / fim dos arquivos utilizados pelo jQuery lightBox plugin -->

<!-- Ativando o jQuery lightBox plugin -->

<script type="text/javascript">

$(function() {

$('#gallery a').lightBox();

});

</script>

<style type="text/css">

/* jQuery lightBox plugin - Gallery style */

#gallery {

background-color:#FFFFFF;

padding: 10px;
width: 520px;

#gallery ul { list-style: none; }

#gallery ul li { display: inline; }

#gallery ul img {

border: 5px solid #3e3e3e;

border-width: 5px 5px 5px;

#gallery ul a:hover img {

border: 5px solid #33CCFF;

border-width: 5px 5px 5px;

color: #fff;

#gallery ul a:hover { color: #fff; }

</style>

</head>

<body>

<br />

<center><h2><font face="Lucida Handwriting" size="+1"


color="#00CCFF">Gallery</font></h2></center>

<br />

<div id="gallery">

<center>
<?php

echo "<ul>";

$p="#gallery";

$op=opendir("photos");

while($fr=readdir($op))

if($fr!=".." and $fr!="." and $fr!="Thumbs.db")

echo "<li>";

echo "<a href='photos/$fr' title='Utilize a flexibilidade dos


seletores da jQuery e crie um grupo de imagens como desejar.
$p.lightBox();'>";

echo "<img src='photos/$fr' width='80' height='90' alt=''


/>";

echo "</a>";

echo "</li>";

echo "</ul>";

?>

</center>

</div>

</div>

</body>
</html>

Contact.php

<?php

include("config.php");

extract($_REQUEST);

if(isset($sub))

$name=$_REQUEST['t1'];

$phone=$_REQUEST['t2'];

$email=$_REQUEST['t3'];

$subj=$_REQUEST['t4'];

$mesg=$_REQUEST['t5'];

if(mysqli_query($conn,"insert into fdbk


values('$name','$phone','$email','$subj','$mesg')"))

echo "<font face='Lucida Handwriting' color='red'


size='+1'>Message sent successfully</font>";

?>

<html>
<head>

<script>

function name()

var name=/^[a-zA-Z]{4,15}$/;

if(document.f1.t1.value.search(name)==-1)

alert("enter correct name");

document.f1.t1.focus();

return false;

function phone()

var phone=/^[0-9]{10,15}$/;

if(document.f1.t2.value.search(phone)==-1)

alert("enter correct phone no");

document.f1.t2.focus();

return false;

function email()
{

var email=/^[a-zA-Z0-9-_\.]+@[a-zA-Z]+\.[a-zA-Z]{2,3}$/;

if(document.f1.t3.value.search(email)==-1)

alert("enter correct email");

document.f1.t3.focus();

return false;

function subj()

var subj=/^[a-zA_Z0-9]{5,100}$/;

if(document.f1.t4.value.search(subj)==-1)

alert("enter correct subject");

document.f1.t4.focus();

return false;

function vali()

var name=/^[a-zA-Z]{4,15}$/;
var phone=/^[0-9]{10,15}$/;

var email=/^[a-zA-Z0-9-_\.]+@[a-zA-Z]+\.[a-zA-Z]{2,3}$/;

var subj=/^[a-zA_Z0-9]{5,100}$/;

var mesg=/^[a-zA_Z0-9]{10,300}$/;

if(document.f1.t1.value.search(name)==-1)

alert("enter correct name");

document.f1.t1.focus();

return false;

else if(document.f1.t2.value.search(phone)==-1)

alert("enter correct phone no");

document.f1.t2.focus();

return false;

else if(document.f1.t3.value.search(email)==-1)

{
alert("enter correct email");

document.f1.t3.focus();

return false;

else if(document.f1.t4.value.search(subj)==-1)

alert("enter correct subject");

document.f1.t4.focus();

return false;

else

return true;

</script>

</head>
<div><br/><center><h2><font face="Lucida Handwriting" size="+1"
color="#00CCFF">CONTACT US</font></h2></center></div>

<div style="width:100%;float:left" >

<div>

<p><br/>

<font face="Lucida Handwriting" size="+1" color="#996699">E-


mail:</font><font face="Lucida Handwriting" size="+1"
color="#009966"> Priya@gmail.com

</font><font face="Lucida Handwriting" size="+1"


color="#66CC66"><br>

</font>

<br>

<font color="#996699" size="+1" face="Lucida


Handwriting">Address: <font color="#009966">Fashion Shop
outlet,Triton Mall,C-Scheme,Jaipur </font></font></p>

<p> <font color="#996699" size="+1" face="Lucida


Handwriting">Talk to us:</font><font color="#006633" size="+1"
face="Lucida Handwriting"> 044 - 42189294 / 5</font><font
size="+1"><br>

<font color="#996699" face="Lucida Handwriting">Fax us


at:</font></font> <font color="#006633" size="+1" face="Lucida
Handwriting">044 - 26258843 </font></p>

<p>&nbsp;</p>

</div>

<div>

<div style="width:25%;float:left"><br><br><center><fieldset
style="width:25%;background-color:#CC99CC"><p><font size="+1"
face="Comic Sans MS">We at Fashion Shop value your views and
your concerns regarding our products and services. We would like
to know how we can serve you better. If you have any queries
please feel free to drop in your queries at
customercarecell@fashionshop.in and we will be happy to assist
you.</font></p>

</fieldset>

</center></div>&nbsp;&nbsp;

<div style="width:50%;float:right">

<div><br/><br>

<center><h2 align="left"><font face="Lucida Handwriting" size="+1"


color="#00CCFF">FeedBack Form</font></h2>

</center></div>

<center><fieldset style="width:25%;border-
color:#006633;float:left">

<br><br>

<form method="post" name="f1" onSubmit="return vali()">

<table width="288" border="0" align="center">

<tr>

<td width="111"><font color="#996699" size="+1" face="Comic


Sans MS">Name:</font></td>

<td width="161"><label>

<input name="t1" type="text" id="t1" onChange="return


name()">

</label></td>

</tr>

<tr>
<td><font color="#996699" size="+1" face="Comic Sans
MS">Phone No: </font></td>

<td><label>

<input name="t2" type="text" id="t2" onChange="return


phone()">

</label></td>

</tr>

<tr>

<td><font color="#996699" size="+1" face="Comic Sans


MS">Email:</font></td>

<td><label>

<input name="t3" type="text" id="t3" onChange="return


email()">

</label></td>

</tr>

<tr>

<td><font color="#996699" size="+1" face="Comic Sans


MS">Sub:</font></td>

<td><input name="t4" type="text" id="t4" onChange="return


subj()"></td>

</tr>

<tr>

<td><font color="#996699" size="+1" face="Comic Sans


MS">Message:</font></td>

<td><label>

<textarea name="t5" id="text" ></textarea>


</label></td>

</tr>

<tr>

<td colspan="2"><center><input name="sub" type="submit"


value="Submit"></center> </td>

</tr>

</table>

</form>

</fieldset></center>

</div>

</div>

</div>

</body>

</html>

Search.php

<?php

include("config.php");

$se=$_REQUEST['se'];

$sel=mysqli_query("select * from items where itemno='$se'");


while($arr=mysqli_fetch_array($sel))

$a=$arr['itemno'];

echo"<form method='post'><br><br><center><table
width='450' border='1' cellspacing='0' cellpadding='0'>

<tr>

<br>

<td rowspan='4'><img src='itempics/$a.jpg' width=200


height=200></td>

<td ><br><b>&nbsp;Item No:</b>". $arr['itemno']."

<br><br> <b>&nbsp;Product:</b>". $arr['desc']."

<br><br><b>&nbsp;Price:</b>".$arr['price']."

<br><br><b>&nbsp;Details:</b>".$arr['info']."

<br><br></td>

</tr>

</table></center></form>";

?>

Config.php

<?php
$conn=mysqli_connect("localhost","root","","shop") or
die(mysqli_error());

?>

Style.css

/**

* jQuery lightBox plugin

* This jQuery plugin was inspired and based on Lightbox 2 by


Lokesh Dhakar
(http://www.huddletogether.com/projects/lightbox2/)

* and adapted to me for use like a plugin from jQuery.

* @name jquery-lightbox-0.5.css

* @author Leandro Vieira Pinho - http://leandrovieira.com

* @version 0.5

* @date April 11, 2008

* @category jQuery plugin

* @copyright (c) 2008 Leandro Vieira Pinho (leandrovieira.com)

* @license CCAttribution-ShareAlike 2.5 Brazil -


http://creativecommons.org/licenses/by-sa/2.5/br/deed.en_US

* @example Visit
http://leandrovieira.com/projects/jquery/lightbox/ for more
informations about this jQuery plugin

*/
#jquery-overlay {

position: absolute;

top: 0;

left: 0;

z-index: 90;

width: 100%;

height: 500px;

#jquery-lightbox {

position: absolute;

top: 0;

left: 0;

width: 100%;

z-index: 100;

text-align: center;

line-height: 0;

#jquery-lightbox a img { border: none; }

#lightbox-container-image-box {

position: relative;

background-color: #fff;

width: 250px;

height: 250px;
margin: 0 auto;

#lightbox-container-image { padding: 10px; }

#lightbox-loading {

position: absolute;

top: 40%;

left: 0%;

height: 25%;

width: 100%;

text-align: center;

line-height: 0;

#lightbox-nav {

position: absolute;

top: 0;

left: 0;

height: 100%;

width: 100%;

z-index: 10;

#lightbox-container-image-box > #lightbox-nav { left: 0; }

#lightbox-nav a { outline: none;}

#lightbox-nav-btnPrev, #lightbox-nav-btnNext {
width: 49%;

height: 100%;

zoom: 1;

display: block;

#lightbox-nav-btnPrev {

left: 0;

float: left;

#lightbox-nav-btnNext {

right: 0;

float: right;

#lightbox-container-image-data-box {

font: 10px Verdana, Helvetica, sans-serif;

background-color: #fff;

margin: 0 auto;

line-height: 1.4em;

overflow: auto;

width: 100%;

padding: 0 10px 0;

#lightbox-container-image-data {
padding: 0 10px;

color: #666;

#lightbox-container-image-data #lightbox-image-details {

width: 70%;

float: left;

text-align: left;

#lightbox-image-details-caption { font-weight: bold; }

#lightbox-image-details-currentNumber {

display: block;

clear: left;

padding-bottom: 1.0em;

#lightbox-secNav-btnClose {

width: 66px;

float: right;

padding-bottom: 0.7em;

Javascript

/**
* jQuery lightBox plugin

* This jQuery plugin was inspired and based on Lightbox 2 by


Lokesh Dhakar
(http://www.huddletogether.com/projects/lightbox2/)

* and adapted to me for use like a plugin from jQuery.

* @name jquery-lightbox-0.5.js

* @author Leandro Vieira Pinho - http://leandrovieira.com

* @version 0.5

* @date April 11, 2008

* @category jQuery plugin

* @copyright (c) 2008 Leandro Vieira Pinho (leandrovieira.com)

* @license CCAttribution-ShareAlike 2.5 Brazil -


http://creativecommons.org/licenses/by-sa/2.5/br/deed.en_US

* @example Visit
http://leandrovieira.com/projects/jquery/lightbox/ for more
informations about this jQuery plugin

*/

// Offering a Custom Alias suport - More info:


http://docs.jquery.com/Plugins/Authoring#Custom_Alias

(function($) {

/**

* $ is an alias to jQuery object

*/
$.fn.lightBox = function(settings) {

// Settings to configure the jQuery lightBox plugin how


you like

settings = jQuery.extend({

// Configuration related to overlay

overlayBgColor: '#000', //
(string) Background color to overlay; inform a hexadecimal value
like: #RRGGBB. Where RR, GG, and BB are the hexadecimal values
for the red, green, and blue values of the color.

overlayOpacity: 0.8, //
(integer) Opacity value to overlay; inform: 0.X. Where X are
number from 0 to 9

// Configuration related to navigation

fixedNavigation: false, // (boolean)


Boolean that informs if the navigation (next and prev button) will
be fixed or not in the interface.

// Configuration related to images

imageLoading: 'images1/lightbox-ico-
loading.gif', // (string) Path and the name of the loading
icon

imageBtnPrev: 'images1/lightbox-btn-
prev.gif', // (string) Path and the name of the prev
button image

imageBtnNext: 'images1/lightbox-btn-
next.gif', // (string) Path and the name of the next
button image

imageBtnClose: 'images1/lightbox-btn-
close.gif', // (string) Path and the name of the close btn
imageBlank:
'images1/lightbox-blank.gif', // (string) Path
and the name of a blank image (one pixel)

// Configuration related to container image box

containerBorderSize: 10, // (integer) If


you adjust the padding in the CSS for the container, #lightbox-
container-image-box, you will need to update this value

containerResizeSpeed: 400, // (integer)


Specify the resize duration of container image. These number are
miliseconds. 400 is default.

// Configuration related to texts in caption. For


example: Image 2 of 8. You can alter either "Image" and "of" texts.

txtImage: 'Image', // (string)


Specify text "Image"

txtOf: 'of', // (string)


Specify text "of"

// Configuration related to keyboard navigation

keyToClose: 'c', //
(string) (c = close) Letter to close the jQuery lightBox interface.
Beyond this letter, the letter X and the SCAPE key is used to.

keyToPrev: 'p', //
(string) (p = previous) Letter to show the previous image

keyToNext: 'n', //
(string) (n = next) Letter to show the next image.

// Don´t alter these variables in any way

imageArray: [],

activeImage: 0

},settings);
// Caching the jQuery object with all elements
matched

var jQueryMatchedObj = this; // This, in this context,


refer to jQuery object

/**

* Initializing the plugin calling the start function

* @return boolean false

*/

function _initialize() {

_start(this,jQueryMatchedObj); // This, in this


context, refer to object (link) which the user have clicked

return false; // Avoid the browser following the link

/**

* Start the jQuery lightBox plugin

* @param object objClicked The object (link) whick the


user have clicked

* @param object jQueryMatchedObj The jQuery object


with all elements matched

*/

function _start(objClicked,jQueryMatchedObj) {

// Hime some elements to avoid conflict with


overlay in IE. These elements appear above the overlay.
$('embed, object, select').css({ 'visibility' : 'hidden'
});

// Call the function to create the markup structure;


style some elements; assign events in some elements.

_set_interface();

// Unset total images in imageArray

settings.imageArray.length = 0;

// Unset image active information

settings.activeImage = 0;

// We have an image set? Or just an image? Let´s


see it.

if ( jQueryMatchedObj.length == 1 ) {

settings.imageArray.push(new
Array(objClicked.getAttribute('href'),objClicked.getAttribute('title')
));

} else {

// Add an Array (as many as we have), with


href and title atributes, inside the Array that storage the images
references

for ( var i = 0; i < jQueryMatchedObj.length;


i++ ) {

settings.imageArray.push(new
Array(jQueryMatchedObj[i].getAttribute('href'),jQueryMatchedObj
[i].getAttribute('title')));

}
while (
settings.imageArray[settings.activeImage][0] !=
objClicked.getAttribute('href') ) {

settings.activeImage++;

// Call the function that prepares image exibition

_set_image_to_view();

/**

* Create the jQuery lightBox plugin interface

* The HTML markup will be like that:

<div id="jquery-overlay"></div>

<div id="jquery-lightbox">

<div id="lightbox-container-image-box">

<div id="lightbox-container-image">

<img src="../fotos/XX.jpg"
id="lightbox-image">

<div id="lightbox-nav">

<a href="#" id="lightbox-nav-


btnPrev"></a>

<a href="#" id="lightbox-nav-


btnNext"></a>

</div>

<div id="lightbox-loading">
<a href="#" id="lightbox-
loading-link">

<img
src="../images/lightbox-ico-loading.gif">

</a>

</div>

</div>

</div>

<div id="lightbox-container-image-data-
box">

<div id="lightbox-container-image-
data">

<div id="lightbox-image-details">

<span id="lightbox-image-
details-caption"></span>

<span id="lightbox-image-
details-currentNumber"></span>

</div>

<div id="lightbox-secNav">

<a href="#" id="lightbox-


secNav-btnClose">

<img
src="../images/lightbox-btn-close.gif">

</a>

</div>

</div>
</div>

</div>

*/

function _set_interface() {

// Apply the HTML markup into body tag

$('body').append('<div id="jquery-
overlay"></div><div id="jquery-lightbox"><div id="lightbox-
container-image-box"><div id="lightbox-container-image"><img
id="lightbox-image"><div style="" id="lightbox-nav"><a href="#"
id="lightbox-nav-btnPrev"></a><a href="#" id="lightbox-nav-
btnNext"></a></div><div id="lightbox-loading"><a href="#"
id="lightbox-loading-link"><img src="' + settings.imageLoading +
'"></a></div></div></div><div id="lightbox-container-image-
data-box"><div id="lightbox-container-image-data"><div
id="lightbox-image-details"><span id="lightbox-image-details-
caption"></span><span id="lightbox-image-details-
currentNumber"></span></div><div id="lightbox-secNav"><a
href="#" id="lightbox-secNav-btnClose"><img src="' +
settings.imageBtnClose + '"></a></div></div></div></div>');

// Get page sizes

var arrPageSizes = ___getPageSize();

// Style overlay and show it

$('#jquery-overlay').css({

backgroundColor:
settings.overlayBgColor,

opacity:
settings.overlayOpacity,
width: arrPageSizes[0],

height: arrPageSizes[1]

}).fadeIn();

// Get page scroll

var arrPageScroll = ___getPageScroll();

// Calculate top and left offset for the jquery-


lightbox div object and show it

$('#jquery-lightbox').css({

top: arrPageScroll[1] + (arrPageSizes[3] / 10),

left: arrPageScroll[0]

}).show();

// Assigning click events in elements to close


overlay

$('#jquery-overlay,#jquery-
lightbox').click(function() {

_finish();

});

// Assign the _finish function to lightbox-loading-


link and lightbox-secNav-btnClose objects

$('#lightbox-loading-link,#lightbox-secNav-
btnClose').click(function() {

_finish();

return false;

});
// If window was resized, calculate the new
overlay dimensions

$(window).resize(function() {

// Get page sizes

var arrPageSizes = ___getPageSize();

// Style overlay and show it

$('#jquery-overlay').css({

width: arrPageSizes[0],

height: arrPageSizes[1]

});

// Get page scroll

var arrPageScroll = ___getPageScroll();

// Calculate top and left offset for the jquery-


lightbox div object and show it

$('#jquery-lightbox').css({

top: arrPageScroll[1] + (arrPageSizes[3]


/ 10),

left: arrPageScroll[0]

});

});

/**

* Prepares image exibition; doing a image´s preloader


to calculate it´s size

*
*/

function _set_image_to_view() { // show the loading

// Show the loading

$('#lightbox-loading').show();

if ( settings.fixedNavigation ) {

$('#lightbox-image,#lightbox-container-
image-data-box,#lightbox-image-details-currentNumber').hide();

} else {

// Hide some elements

$('#lightbox-image,#lightbox-nav,#lightbox-
nav-btnPrev,#lightbox-nav-btnNext,#lightbox-container-image-
data-box,#lightbox-image-details-currentNumber').hide();

// Image preload process

var objImagePreloader = new Image();

objImagePreloader.onload = function() {

$('#lightbox-
image').attr('src',settings.imageArray[settings.activeImage][0]);

// Perfomance an effect in the image


container resizing it

_resize_container_image_box(objImagePreloader.width,objI
magePreloader.height);

// clear onLoad, IE behaves irratically with


animated gifs otherwise

objImagePreloader.onload=function(){};
};

objImagePreloader.src =
settings.imageArray[settings.activeImage][0];

};

/**

* Perfomance an effect in the image container resizing


it

* @param integer intImageWidth The image´s width


that will be showed

* @param integer intImageHeight The image´s height


that will be showed

*/

function
_resize_container_image_box(intImageWidth,intImageHeight) {

// Get current width and height

var intCurrentWidth = $('#lightbox-container-


image-box').width();

var intCurrentHeight = $('#lightbox-container-


image-box').height();

// Get the width and height of the selected image


plus the padding

var intWidth = (intImageWidth +


(settings.containerBorderSize * 2)); // Plus the image´s width and
the left and right padding value
var intHeight = (intImageHeight +
(settings.containerBorderSize * 2)); // Plus the image´s height and
the left and right padding value

// Diferences

var intDiffW = intCurrentWidth - intWidth;

var intDiffH = intCurrentHeight - intHeight;

// Perfomance the effect

$('#lightbox-container-image-box').animate({
width: intWidth, height: intHeight
},settings.containerResizeSpeed,function() { _show_image(); });

if ( ( intDiffW == 0 ) && ( intDiffH == 0 ) ) {

if ( $.browser.msie ) {

___pause(250);

} else {

___pause(100);

$('#lightbox-container-image-data-box').css({
width: intImageWidth });

$('#lightbox-nav-btnPrev,#lightbox-nav-
btnNext').css({ height: intImageHeight +
(settings.containerBorderSize * 2) });

};

/**

* Show the prepared image

*
*/

function _show_image() {

$('#lightbox-loading').hide();

$('#lightbox-image').fadeIn(function() {

_show_image_data();

_set_navigation();

});

_preload_neighbor_images();

};

/**

* Show the image information

*/

function _show_image_data() {

$('#lightbox-container-image-data-
box').slideDown('fast');

$('#lightbox-image-details-caption').hide();

if ( settings.imageArray[settings.activeImage][1] ) {

$('#lightbox-image-details-
caption').html(settings.imageArray[settings.activeImage][1]).show(
);

// If we have a image set, display 'Image X of X'

if ( settings.imageArray.length > 1 ) {
$('#lightbox-image-details-
currentNumber').html(settings.txtImage + ' ' + (
settings.activeImage + 1 ) + ' ' + settings.txtOf + ' ' +
settings.imageArray.length).show();

/**

* Display the button navigations

*/

function _set_navigation() {

$('#lightbox-nav').show();

// Instead to define this configuration in CSS file,


we define here. And it´s need to IE. Just.

$('#lightbox-nav-btnPrev,#lightbox-nav-
btnNext').css({ 'background' : 'transparent url(' +
settings.imageBlank + ') no-repeat' });

// Show the prev button, if not the first image in set

if ( settings.activeImage != 0 ) {

if ( settings.fixedNavigation ) {

$('#lightbox-nav-btnPrev').css({
'background' : 'url(' + settings.imageBtnPrev + ') left 15% no-repeat'
})

.unbind()
.bind('click',function() {

settings.activeImage =
settings.activeImage - 1;

_set_image_to_view();

return false;

});

} else {

// Show the images button for Next


buttons

$('#lightbox-nav-
btnPrev').unbind().hover(function() {

$(this).css({ 'background' : 'url(' +


settings.imageBtnPrev + ') left 15% no-repeat' });

},function() {

$(this).css({ 'background' :
'transparent url(' + settings.imageBlank + ') no-repeat' });

}).show().bind('click',function() {

settings.activeImage =
settings.activeImage - 1;

_set_image_to_view();

return false;

});

}
// Show the next button, if not the last image in set

if ( settings.activeImage != (
settings.imageArray.length -1 ) ) {

if ( settings.fixedNavigation ) {

$('#lightbox-nav-btnNext').css({
'background' : 'url(' + settings.imageBtnNext + ') right 15% no-
repeat' })

.unbind()

.bind('click',function() {

settings.activeImage =
settings.activeImage + 1;

_set_image_to_view();

return false;

});

} else {

// Show the images button for Next


buttons

$('#lightbox-nav-
btnNext').unbind().hover(function() {

$(this).css({ 'background' : 'url(' +


settings.imageBtnNext + ') right 15% no-repeat' });

},function() {

$(this).css({ 'background' :
'transparent url(' + settings.imageBlank + ') no-repeat' });

}).show().bind('click',function() {
settings.activeImage =
settings.activeImage + 1;

_set_image_to_view();

return false;

});

// Enable keyboard navigation

_enable_keyboard_navigation();

/**

* Enable a support to keyboard navigation

*/

function _enable_keyboard_navigation() {

$(document).keydown(function(objEvent) {

_keyboard_action(objEvent);

});

/**

* Disable the support to keyboard navigation

*/

function _disable_keyboard_navigation() {
$(document).unbind();

/**

* Perform the keyboard actions

*/

function _keyboard_action(objEvent) {

// To ie

if ( objEvent == null ) {

keycode = event.keyCode;

escapeKey = 27;

// To Mozilla

} else {

keycode = objEvent.keyCode;

escapeKey = objEvent.DOM_VK_ESCAPE;

// Get the key in lower case form

key =
String.fromCharCode(keycode).toLowerCase();

// Verify the keys to close the ligthBox

if ( ( key == settings.keyToClose ) || ( key == 'x' )


|| ( keycode == escapeKey ) ) {

_finish();

}
// Verify the key to show the previous image

if ( ( key == settings.keyToPrev ) || ( keycode ==


37 ) ) {

// If we´re not showing the first image, call


the previous

if ( settings.activeImage != 0 ) {

settings.activeImage =
settings.activeImage - 1;

_set_image_to_view();

_disable_keyboard_navigation();

// Verify the key to show the next image

if ( ( key == settings.keyToNext ) || ( keycode ==


39 ) ) {

// If we´re not showing the last image, call


the next

if ( settings.activeImage != (
settings.imageArray.length - 1 ) ) {

settings.activeImage =
settings.activeImage + 1;

_set_image_to_view();

_disable_keyboard_navigation();

}
/**

* Preload prev and next images being showed

*/

function _preload_neighbor_images() {

if ( (settings.imageArray.length -1) >


settings.activeImage ) {

objNext = new Image();

objNext.src =
settings.imageArray[settings.activeImage + 1][0];

if ( settings.activeImage > 0 ) {

objPrev = new Image();

objPrev.src =
settings.imageArray[settings.activeImage -1][0];

/**

* Remove jQuery lightBox plugin HTML markup

*/

function _finish() {

$('#jquery-lightbox').remove();

$('#jquery-overlay').fadeOut(function() {
$('#jquery-overlay').remove(); });
// Show some elements to avoid conflict with
overlay in IE. These elements appear above the overlay.

$('embed, object, select').css({ 'visibility' : 'visible'


});

/**

/ THIRD FUNCTION

* getPageSize() by quirksmode.com

* @return Array Return an array with page width, height


and window width, height

*/

function ___getPageSize() {

var xScroll, yScroll;

if (window.innerHeight && window.scrollMaxY) {

xScroll = window.innerWidth +
window.scrollMaxX;

yScroll = window.innerHeight +
window.scrollMaxY;

} else if (document.body.scrollHeight >


document.body.offsetHeight){ // all but Explorer Mac

xScroll = document.body.scrollWidth;

yScroll = document.body.scrollHeight;

} else { // Explorer Mac...would also work in


Explorer 6 Strict, Mozilla and Safari

xScroll = document.body.offsetWidth;
yScroll = document.body.offsetHeight;

var windowWidth, windowHeight;

if (self.innerHeight) { // all except Explorer

if(document.documentElement.clientWidth){

windowWidth =
document.documentElement.clientWidth;

} else {

windowWidth = self.innerWidth;

windowHeight = self.innerHeight;

} else if (document.documentElement &&


document.documentElement.clientHeight) { // Explorer 6 Strict
Mode

windowWidth =
document.documentElement.clientWidth;

windowHeight =
document.documentElement.clientHeight;

} else if (document.body) { // other Explorers

windowWidth = document.body.clientWidth;

windowHeight =
document.body.clientHeight;

// for small pages with total height less then height


of the viewport

if(yScroll < windowHeight){


pageHeight = windowHeight;

} else {

pageHeight = yScroll;

// for small pages with total width less then width


of the viewport

if(xScroll < windowWidth){

pageWidth = xScroll;

} else {

pageWidth = windowWidth;

arrayPageSize = new
Array(pageWidth,pageHeight,windowWidth,windowHeight);

return arrayPageSize;

};

/**

/ THIRD FUNCTION

* getPageScroll() by quirksmode.com

* @return Array Return an array with x,y page scroll


values.

*/

function ___getPageScroll() {

var xScroll, yScroll;


if (self.pageYOffset) {

yScroll = self.pageYOffset;

xScroll = self.pageXOffset;

} else if (document.documentElement &&


document.documentElement.scrollTop) { // Explorer 6 Strict

yScroll =
document.documentElement.scrollTop;

xScroll =
document.documentElement.scrollLeft;

} else if (document.body) {// all other Explorers

yScroll = document.body.scrollTop;

xScroll = document.body.scrollLeft;

arrayPageScroll = new Array(xScroll,yScroll);

return arrayPageScroll;

};

/**

* Stop the code execution from a escified time in


milisecond

*/

function ___pause(ms) {

var date = new Date();

curDate = null;

do { var curDate = new Date(); }


while ( curDate - date < ms);

};

// Return the jQuery object for chaining. The unbind


method is used to avoid click conflict when the plugin is called
more than once

return this.unbind('click').click(_initialize);

};

})(jQuery); // Call and execute the function immediately passing


the jQuery object

Databases

-- phpMyAdmin SQL Dump

-- version 4.2.11

-- http://www.phpmyadmin.net

--- Host: 127.0.0.1

-- Generation Time: Dec 28, 2018 at 01:05 PM

-- Server version: 5.6.21

-- PHP Version: 5.6.3

SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";

SET time_zone = "+00:00";

/*!40101 SET
@OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET
@OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;

/*!40101 SET
@OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;

/*!40101 SET NAMES utf8 */;

--

-- Database: `shop`

--

-- --------------------------------------------------------

--

-- Table structure for table `category`

--

CREATE TABLE IF NOT EXISTS `category` (

`cat_id` varchar(30) NOT NULL,

`category` varchar(50) NOT NULL

) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--

-- Dumping data for table `category`

--
INSERT INTO `category` (`cat_id`, `category`) VALUES

('1', 'men'),

('2', 'women'),

('3', 'kids');

-- --------------------------------------------------------

--

-- Table structure for table `details`

--

CREATE TABLE IF NOT EXISTS `details` (

`name` varchar(30) NOT NULL,

`pass` varchar(30) NOT NULL

) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--

-- Dumping data for table `details`

--

INSERT INTO `details` (`name`, `pass`) VALUES

('admin', 'priya123');
-- --------------------------------------------------------

--

-- Table structure for table `fdbk`

--

CREATE TABLE IF NOT EXISTS `fdbk` (

`contact_id` int(10) NOT NULL,

`name` varchar(30) NOT NULL,

`phone no` varchar(30) NOT NULL,

`email` varchar(30) NOT NULL,

`subj` varchar(30) NOT NULL,

`mesg` varchar(30) NOT NULL

) ENGINE=InnoDB AUTO_INCREMENT=5 DEFAULT CHARSET=latin1;

--

-- Dumping data for table `fdbk`

--

INSERT INTO `fdbk` (`contact_id`, `name`, `phone no`, `email`,


`subj`, `mesg`) VALUES

(1, 'priya', '33333333333', 'priya@gmail.com', 'service', 'try to


improve ur service'),
(2, 'priya', '33333333333', 'priya@gmail.com', 'service', 'try to
improve ur service'),

(3, 'priya', '33333333333', 'priya@gmail.com', 'service', 'try to


improve ur service'),

(4, 'Kanchan', '9871980749', 'kanchan@gmail.com', 'shopbjkj',


'vgvh kbhj');

-- --------------------------------------------------------

--

-- Table structure for table `items`

--

CREATE TABLE IF NOT EXISTS `items` (

`item_id` int(10) NOT NULL,

`catg` varchar(40) NOT NULL,

`subcatg` varchar(40) NOT NULL,

`img` varchar(30) NOT NULL,

`itemno` varchar(30) NOT NULL,

`price` varchar(30) NOT NULL,

`desc` varchar(300) NOT NULL,

`info` varchar(500) NOT NULL,

`dat` varchar(100) NOT NULL

) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=latin1;


--

-- Dumping data for table `items`

--

INSERT INTO `items` (`item_id`, `catg`, `subcatg`, `img`, `itemno`,


`price`, `desc`, `info`, `dat`) VALUES

(3, '1', '1', '8.jpg', '11', '500', 'mnm', '', '28-12-18');

-- --------------------------------------------------------

--

-- Table structure for table `orders`

--

CREATE TABLE IF NOT EXISTS `orders` (

`pname` varchar(30) NOT NULL,

`itemno` varchar(30) NOT NULL,

`price` varchar(30) NOT NULL,

`size` varchar(30) NOT NULL,

`uname` varchar(30) NOT NULL,

`ac_no` varchar(30) NOT NULL,

`mob_no` varchar(30) NOT NULL,

`add` varchar(300) NOT NULL,


`bank` varchar(30) NOT NULL,

`city` varchar(30) NOT NULL,

`order_no` varchar(30) NOT NULL

) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--

-- Dumping data for table `orders`

--

INSERT INTO `orders` (`pname`, `itemno`, `price`, `size`, `uname`,


`ac_no`, `mob_no`, `add`, `bank`, `city`, `order_no`) VALUES

('Tresmode Ladies Pump Shoes', 'foot2', 'Rs1690', 'Medium', 'Priya


Gupta', 'ac234', '987654987', 'Tilak Nagar,Shanti path', 'ICICI',
'Jaipur', 'ord228'),

('W Mix and match kurta ', 'k4', 'Rs1079', 'Medium', 'Priya Gupta',
'ac345', '36536356353', 'jaewahar Nagar', 'SBI', 'Delhi', 'ord326'),

('', '', 'Rs', 'Small', '', '', '', '', 'SBI', '', 'ord234'),

('United Colors of Benetton Mens', 'cs2', 'Rs1999', 'Small', 'Kanchan',


'98569854785412', '9856985478', 'E 20 Sector 63 Noida', 'SBI',
'Noida', 'ord151'),

('United Colors of Benetton Mens', 'cs2', 'Rs1999', 'Small', 'Kanchan',


'98569854785412', '9856985478', 'E 20 Sector 63 Noida', 'SBI',
'Noida', 'ord255'),

('United Colors of Benetton Mens', 'cs2', 'Rs1999', 'Small', 'Kanchan',


'98569854785412', '9856985478', 'E 20 Sector 63 Noida', 'SBI',
'Noida', 'ord439'),
('United Colors of Benetton Mens', 'cs2', 'Rs1999', 'Small', 'Kanchan',
'98569854785412', '9856985478', 'E 20 Sector 63 Noida', 'SBI',
'Noida', 'ord361'),

('United Colors of Benetton Mens', 'cs2', 'Rs1999', 'Small', 'Kanchan',


'98569854785412', '9856985478', 'E 20 Sector 63 Noida', 'SBI',
'Noida', 'ord476'),

('Kashish Churidar - Kurta-Dupat', 's3', 'Rs2899', 'Small', 'Kanchan',


'8995665666454', '9874569854', 'E 20 Sector 63 Noida', 'SBI', 'Noida',
'ord241'),

('United Colors of Benetton Mens', 'cs3', 'Rs1999', 'Small', '', '', '', '',
'SBI', '', 'ord204'),

('United Colors of Benetton Mens', 'cs3', 'Rs1999', 'Small', '', '', '', '',
'SBI', '', 'ord165');

-- --------------------------------------------------------

--

-- Table structure for table `register`

--

CREATE TABLE IF NOT EXISTS `register` (

`user_id` int(10) NOT NULL,

`title` varchar(6) NOT NULL,

`fname` varchar(30) NOT NULL,

`lname` varchar(30) NOT NULL,

`gen` varchar(30) NOT NULL,


`id` varchar(50) NOT NULL,

`pass` varchar(30) NOT NULL,

`phone` varchar(20) NOT NULL,

`add` varchar(300) NOT NULL,

`city` varchar(30) NOT NULL,

`coun` varchar(30) NOT NULL,

`dob` varchar(30) NOT NULL

) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=latin1;

--

-- Dumping data for table `register`

--

INSERT INTO `register` (`user_id`, `title`, `fname`, `lname`, `gen`,


`id`, `pass`, `phone`, `add`, `city`, `coun`, `dob`) VALUES

(1, 'Ms.', 'Kanchan', 'Negi', 'female', 'kanchan@gmail.com',


'kannu87', '9856325417', 'E 20 Sector 63', 'Noida', 'India', '1-1-2005'),

(2, 'Ms.', 'Kanchan', 'Negi', 'female', 'apex@gmail.com', 'ankur87',


'9871980749', 'E20 Sector63 Noida', 'Noida', 'India', '1-1-2005'),

(3, 'Ms.', 'Arti', 'Kamble', 'female', 'arti@gmail.com', 'arti87',


'9856985478', 'E20 Sector 63 Noida', 'Noida', 'India', '1-1-2005');

-- --------------------------------------------------------

--
-- Table structure for table `subcategory`

--

CREATE TABLE IF NOT EXISTS `subcategory` (

`subcat_id` int(10) NOT NULL,

`cat_id` varchar(30) NOT NULL,

`subcategory` varchar(50) NOT NULL

) ENGINE=InnoDB AUTO_INCREMENT=17 DEFAULT CHARSET=latin1;

--

-- Dumping data for table `subcategory`

--

INSERT INTO `subcategory` (`subcat_id`, `cat_id`, `subcategory`)


VALUES

(1, '1', 'Casual Shirts'),

(2, '1', 'jeans'),

(3, '1', 'T-shirts'),

(4, '1', 'Footwear'),

(5, '1', 'Shorts'),

(6, '1', 'watches'),

(7, '2', 'Dresses'),

(8, '2', 'Churidar Suits'),

(9, '2', 'Kurtas'),


(10, '2', 'Sandals'),

(11, '2', 'Office Wear'),

(12, '2', 'Artificial Jewellery'),

(13, '3', 'Baby Apparel'),

(14, '3', 'Girls Apparel'),

(15, '3', 'Boys Apparel'),

(16, '3', 'Kids Toys');

-- --------------------------------------------------------

--

-- Table structure for table `trash`

--

CREATE TABLE IF NOT EXISTS `trash` (

`catg` varchar(50) NOT NULL,

`subcatg` varchar(50) NOT NULL,

`img` varchar(60) NOT NULL,

`itemno` varchar(30) NOT NULL,

`price` int(30) NOT NULL,

`desc` varchar(300) NOT NULL,

`dat` varchar(30) NOT NULL

) ENGINE=InnoDB DEFAULT CHARSET=latin1;


--

-- Dumping data for table `trash`

--

INSERT INTO `trash` (`catg`, `subcatg`, `img`, `itemno`, `price`,


`desc`, `dat`) VALUES

('men', 'Casual Shirts', 'd:/wamp/tmpphp13A.tmp', 'cs1', 400,


'ahakaaajaj', '28-06-11 04-56-14'),

('', '', '', '', 0, '', '28-06-11 04-56-18'),

('men', 'Casual Shirts', 'd:/wamp/tmpphp15A.tmp', 'cs3', 500,


'haioaajalkaj', '28-06-11 04-57-11'),

('', '', '', '', 0, '', '28-06-11 04-57-18'),

('', '', '', '', 0, '', '28-06-11 04-57-51'),

('women', 'Dresses', 'c:/wamp/tmpphp15F.tmp', 'd1', 5700,


'ghsfshsshs', '28-06-11 05-00-46'),

('women', 'Dresses', 'c:/wamp/tmpphp160.tmp', 'd2', 45666,


'yrsysfysus', '28-06-11 05-00-46'),

('', '', '', '', 0, '', '28-06-11 05-00-50'),

('', '', '', '', 0, '', '28-06-11 05-00-50'),

('', '', '', '', 0, '', '28-06-11 05-02-08'),

('', '', '', '', 0, '', '28-06-11 05-02-08'),

('', '', '', '', 0, '', '28-06-11 05-03-25'),

('', '', '', '', 0, '', '28-06-11 05-03-25'),


('men', 'Casual Shirts', 'c:/wamp/tmpphp166.tmp', 'cs1', 7635635,
'qtyqwtywrtyw', '28-06-11 05-06-40'),

('', '', '', '', 0, '', '28-06-11 05-07-04'),

('men', 'Casual Shirts', 'c:/wamp/tmpphp168.tmp', 'cs2', 53674,


'deuyddydtg', '28-06-11 05-11-33'),

('', '', '', '', 0, '', '28-06-11 05-11-36'),

('men', 'Casual Shirts', 'c:/wamp/tmpphp137.tmp', 'cs1', 355,


'sjksjs', '29-06-11 04-34-39'),

('', '', '', '', 0, '', '29-06-11 04-34-43'),

('men', 'Casual Shirts', 'c:/wamp/tmpphp139.tmp', '33', 444,


'sxxddxd', '29-06-11 04-35-16'),

('', '', '', '', 0, '', '29-06-11 04-35-21'),

('', '', '', '', 0, '', '29-06-11 04-35-25'),

('men', 'Casual Shirts', 'c:/wamp/tmpphp138.tmp', 'cs2', 3434,


'hdgdjgdjg', '29-06-11 04-35-30'),

('men', 'Casual Shirts', 'c:/wamp/tmpphp13B.tmp', '34', 0, 'ddddd',


'29-06-11 04-42-31'),

('', '', '', '', 0, '', '29-06-11 04-42-34'),

('men', 'Casual Shirts', 'c:/wamp/tmpphp13C.tmp', '45', 0, 'xxxxxx',


'29-06-11 04-43-02'),

('men', 'Casual Shirts', 'c:/wamp/tmpphp13D.tmp', 'cs1', 345,


'sssssssssssss', '29-06-11 04-43-02'),

('', '', '', '', 0, '', '29-06-11 04-43-08'),

('', '', '', '', 0, '', '29-06-11 04-43-08'),

('1', 'Casual Shirts', 'c:/wamp/tmpphp177.tmp', '23', 2333,


'wwwwwwwwwwwwww', '30-06-11 04-56-19'),
('', '', '', '', 0, '', '30-06-11 04-56-21'),

('1', 'Casual Shirts', 'c:/wamp/tmpphp176.tmp', 'cs1', 23,


'aaaaaaaaaaaaa', '30-06-11 04-56-52'),

('1', 'Casual Shirts', 'c:/wamp/tmpphp178.tmp', '34', 0,


'wwwwwwwwwwwwww', '30-06-11 04-56-52'),

('', '', '', '', 0, '', '30-06-11 04-56-58'),

('', '', '', '', 0, '', '30-06-11 04-56-58'),

('1', '1', '10.jpg', '1120', 1222, 'jhjk', '18-12-18 01-57-43'),

('1', '1', '1.jpg', '1', 100, 'nmbn', '28-12-18 10-02-17'),

('', '', '', '', 0, '', '28-12-18 10-02-17'),

('', '', '', '', 0, '', '28-12-18 10-02-28'),

('', '', '', '', 0, '', '28-12-18 10-02-28');

--

-- Indexes for dumped tables

--

--

-- Indexes for table `fdbk`

--

ALTER TABLE `fdbk`

ADD PRIMARY KEY (`contact_id`);

--

-- Indexes for table `items`

--

ALTER TABLE `items`


ADD PRIMARY KEY (`item_id`);

--

-- Indexes for table `register`

--

ALTER TABLE `register`

ADD PRIMARY KEY (`user_id`), ADD UNIQUE KEY `id` (`id`);

--

-- Indexes for table `subcategory`

--

ALTER TABLE `subcategory`

ADD PRIMARY KEY (`subcat_id`);

--

-- AUTO_INCREMENT for dumped tables

--

--

-- AUTO_INCREMENT for table `fdbk`

--

ALTER TABLE `fdbk`

MODIFY `contact_id` int(10) NOT NULL


AUTO_INCREMENT,AUTO_INCREMENT=5;

--

-- AUTO_INCREMENT for table `items`

--

ALTER TABLE `items`


MODIFY `item_id` int(10) NOT NULL
AUTO_INCREMENT,AUTO_INCREMENT=4;

--

-- AUTO_INCREMENT for table `register`

--

ALTER TABLE `register`

MODIFY `user_id` int(10) NOT NULL


AUTO_INCREMENT,AUTO_INCREMENT=4;

--

-- AUTO_INCREMENT for table `subcategory`

--

ALTER TABLE `subcategory`

MODIFY `subcat_id` int(10) NOT NULL


AUTO_INCREMENT,AUTO_INCREMENT=17;

/*!40101 SET
CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;

/*!40101 SET
CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;

/*!40101 SET
COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
Thank You

You might also like