-
Notifications
You must be signed in to change notification settings - Fork 0
/
urcart.php
130 lines (126 loc) · 12.3 KB
/
urcart.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
<?php
/**
* Export to PHP Array plugin for PHPMyAdmin
* @version 5.0.2
*/
/**
* Database `urcart`
*/
/* `urcart`.`products` */
$products = array(
array('pid' => '2','name' => 'RED T-SHIRT','price' => '50.00'),
array('pid' => '3','name' => 'Men Yellow T-Shirt','price' => '30.00'),
array('pid' => '5','name' => 'Men Navy Blue Hood','price' => '80.00'),
array('pid' => '4','name' => 'Men Sea Green T-Shirt','price' => '60.00'),
array('pid' => '6','name' => 'Women Grey Top','price' => '40.00'),
array('pid' => '7','name' => 'Women White Top','price' => '70.00'),
array('pid' => '8','name' => 'Women Teal Blue Top','price' => '85.00'),
array('pid' => '9','name' => 'Women Blacl Solid Styled Top','price' => '90.00'),
array('pid' => '10','name' => 'Men Off White And Blue Shoes','price' => '80.00'),
array('pid' => '11','name' => 'PUMA Men Black Shoes','price' => '100.00'),
array('pid' => '12','name' => 'NIKE Women Training Shoes','price' => '250.00'),
array('pid' => '13','name' => 'EL PASO Sports Shoes','price' => '75.00'),
array('pid' => '14','name' => 'Women Pink Shoes','price' => '95.00'),
array('pid' => '15','name' => 'PUMA lack Sneakers','price' => '90.00'),
array('pid' => '16','name' => 'ADIDAS Men Sneakers','price' => '250.00'),
array('pid' => '17','name' => 'ADIDAS Woven Style Shoes','price' => '230.00'),
array('pid' => '18','name' => 'Men Olive Green Trousers','price' => '85.00'),
array('pid' => '19','name' => 'Hilfiger Men Biege Trousers','price' => '115.00'),
array('pid' => '20','name' => 'Women Regular Fit Trousers','price' => '100.00'),
array('pid' => '21','name' => 'Roadster Women Charcoal Grey Trousers','price' => '75.00'),
array('pid' => '22','name' => 'molife Unisex Smart-watch','price' => '290.00'),
array('pid' => '23','name' => 'NOISE Unisex Smart-watch','price' => '260.00'),
array('pid' => '24','name' => 'FASTRACK Smart-Band','price' => '190.00'),
array('pid' => '25','name' => 'FOSSIL Men Smart-watch','price' => '280.00')
);
/* `urcart`.`userprod` */
$userprod = array(
array('id' => '34','usersId' => 'Ankur','pid' => '2'),
array('id' => '35','usersId' => 'Ankur','pid' => '18'),
array('id' => '36','usersId' => 'Ankur','pid' => '10'),
array('id' => '37','usersId' => 'Ankur','pid' => '4'),
array('id' => '38','usersId' => 'Pranshu','pid' => '4'),
array('id' => '39','usersId' => 'Pranshu','pid' => '10'),
array('id' => '40','usersId' => 'Pranshu','pid' => '9'),
array('id' => '41','usersId' => 'Pranshu','pid' => '15'),
array('id' => '42','usersId' => 'Shyam','pid' => '17'),
array('id' => '43','usersId' => 'Shyam','pid' => '4'),
array('id' => '44','usersId' => 'Shyam','pid' => '18'),
array('id' => '45','usersId' => 'Ashish','pid' => '4'),
array('id' => '46','usersId' => 'Ashish','pid' => '10'),
array('id' => '47','usersId' => 'Ashish','pid' => '17'),
array('id' => '48','usersId' => 'Amit','pid' => '4'),
array('id' => '49','usersId' => 'Amit','pid' => '3'),
array('id' => '50','usersId' => 'Amit','pid' => '2'),
array('id' => '51','usersId' => 'Arun','pid' => '4'),
array('id' => '52','usersId' => 'Arun','pid' => '10'),
array('id' => '53','usersId' => 'Arun','pid' => '21'),
array('id' => '54','usersId' => 'Tarun','pid' => '4'),
array('id' => '55','usersId' => 'Tarun','pid' => '23'),
array('id' => '56','usersId' => 'Tarun','pid' => '22'),
array('id' => '57','usersId' => 'Ankit','pid' => '4'),
array('id' => '58','usersId' => 'Ankit','pid' => '3'),
array('id' => '59','usersId' => 'Ankit','pid' => '2'),
array('id' => '60','usersId' => 'Sachin','pid' => '4'),
array('id' => '61','usersId' => 'Sachin','pid' => '3'),
array('id' => '62','usersId' => 'Sachin','pid' => '24'),
array('id' => '63','usersId' => 'Sanchit','pid' => '4'),
array('id' => '64','usersId' => 'Sanchit','pid' => '21'),
array('id' => '65','usersId' => 'Sanchit','pid' => '15'),
array('id' => '66','usersId' => 'Priya','pid' => '7'),
array('id' => '67','usersId' => 'Priya','pid' => '8'),
array('id' => '68','usersId' => 'Priya','pid' => '5'),
array('id' => '69','usersId' => 'Riya','pid' => '7'),
array('id' => '70','usersId' => 'Riya','pid' => '6'),
array('id' => '71','usersId' => 'Riya','pid' => '5'),
array('id' => '72','usersId' => 'Jyoti','pid' => '8'),
array('id' => '73','usersId' => 'Jyoti','pid' => '11'),
array('id' => '74','usersId' => 'Jyoti','pid' => '7'),
array('id' => '75','usersId' => 'Urooz','pid' => '19'),
array('id' => '76','usersId' => 'Urooz','pid' => '16'),
array('id' => '77','usersId' => 'Urooz','pid' => '7'),
array('id' => '78','usersId' => 'Sakshi','pid' => '23'),
array('id' => '79','usersId' => 'Sakshi','pid' => '23'),
array('id' => '80','usersId' => 'Sakshi','pid' => '7'),
array('id' => '81','usersId' => 'Madhu','pid' => '20'),
array('id' => '82','usersId' => 'Madhu','pid' => '7'),
array('id' => '83','usersId' => 'Madhu','pid' => '11'),
array('id' => '84','usersId' => 'Neeti','pid' => '7'),
array('id' => '85','usersId' => 'Neeti','pid' => '14'),
array('id' => '86','usersId' => 'Neeti','pid' => '13'),
array('id' => '87','usersId' => 'Shruti','pid' => '7'),
array('id' => '88','usersId' => 'Shruti','pid' => '20'),
array('id' => '89','usersId' => 'Shruti','pid' => '21'),
array('id' => '90','usersId' => 'Rekha','pid' => '7'),
array('id' => '91','usersId' => 'Rekha','pid' => '23'),
array('id' => '92','usersId' => 'Rekha','pid' => '21'),
array('id' => '93','usersId' => 'Jaya','pid' => '7'),
array('id' => '94','usersId' => 'Jaya','pid' => '21'),
array('id' => '95','usersId' => 'Jaya','pid' => '19'),
array('id' => '96','usersId' => 'Rahul','pid' => '5')
);
/* `urcart`.`users` */
$users = array(
array('usersId' => '12','usersName' => 'Amit','usersEmail' => '[email protected]','usersPwd' => '0cb1eb413b8f7cee17701a37a1d74dc3','Addressline1' => 'H.no 821','Addressline2' => 'Sector 4','gender' => 'male','country' => 'India','PinCode' => '136118','district' => 'Kurukshetra','contact' => '8457165936'),
array('usersId' => '11','usersName' => 'Ashish','usersEmail' => '[email protected]','usersPwd' => '7b69ad8a8999d4ca7c42b8a729fb0ffd','Addressline1' => 'h.no 115','Addressline2' => 'Sector 7','gender' => 'male','country' => 'India','PinCode' => '136118','district' => 'Kurukshetra','contact' => '7854691231'),
array('usersId' => '9','usersName' => 'Pranshu','usersEmail' => '[email protected]','usersPwd' => 'a6d420cb77a4b29af1c5f58dd6877401','Addressline1' => 'h.no 665','Addressline2' => 'Sector 8','gender' => 'male','country' => 'India','PinCode' => '136118','district' => 'Kurukshetra','contact' => '9764582156'),
array('usersId' => '7','usersName' => 'Ankur','usersEmail' => '[email protected]','usersPwd' => 'e10adc3949ba59abbe56e057f20f883e','Addressline1' => 'H.no 589','Addressline2' => 'Sector 2','gender' => 'male','country' => 'India','PinCode' => '136118','district' => 'Kurukshetra','contact' => '9996492589'),
array('usersId' => '10','usersName' => 'Shyam','usersEmail' => '[email protected]','usersPwd' => '5a4cd850fc787d454416aa3a47580468','Addressline1' => 'h.no 143','Addressline2' => 'Sector 7','gender' => 'male','country' => 'India','PinCode' => '136118','district' => 'Kurukshetra','contact' => '9475214598'),
array('usersId' => '13','usersName' => 'Arun','usersEmail' => '[email protected]','usersPwd' => '722279e9e630b3e731464b69968ea4b4','Addressline1' => 'h.no 637','Addressline2' => 'Sector 7','gender' => 'male','country' => 'India','PinCode' => '136118','district' => 'Kurukshetra','contact' => '7554862231'),
array('usersId' => '14','usersName' => 'Tarun','usersEmail' => '[email protected]','usersPwd' => '4ec6b242322a0139def69c6380c7aa27','Addressline1' => 'h.no 443','Addressline2' => 'Sector 5','gender' => 'male','country' => 'India','PinCode' => '136118','district' => 'Kurukshetra','contact' => '9654785214'),
array('usersId' => '15','usersName' => 'Ankit','usersEmail' => '[email protected]','usersPwd' => '447d2c8dc25efbc493788a322f1a00e7','Addressline1' => 'h.no 1662','Addressline2' => 'Sector 5','gender' => 'male','country' => 'India','PinCode' => '136118','district' => 'Kurukshetra','contact' => '9998456328'),
array('usersId' => '16','usersName' => 'Sachin','usersEmail' => '[email protected]','usersPwd' => '15285722f9def45c091725aee9c387cb','Addressline1' => 'H.no 889','Addressline2' => 'Sector 4','gender' => 'male','country' => 'India','PinCode' => '136118','district' => 'Kurukshetra','contact' => '9547126475'),
array('usersId' => '17','usersName' => 'Sanchit','usersEmail' => '[email protected]','usersPwd' => '928bd32ad41e03b097962ed5d69c7e54','Addressline1' => 'H.no 1589','Addressline2' => 'Sector 13','gender' => 'male','country' => 'India','PinCode' => '136118','district' => 'Kurukshetra','contact' => '9745625412'),
array('usersId' => '18','usersName' => 'Priya','usersEmail' => '[email protected]','usersPwd' => '0b1c8bc395a9588a79cd3c191c22a6b4','Addressline1' => 'H.no 5899','Addressline2' => 'Sector 13','gender' => 'female','country' => 'India','PinCode' => '136118','district' => 'Kurukshetra','contact' => '9478856945'),
array('usersId' => '19','usersName' => 'Riya','usersEmail' => '[email protected]','usersPwd' => '3153be13ca91e847668fbf430757a0b5','Addressline1' => 'h.no 1665','Addressline2' => 'Sector 5','gender' => 'male','country' => 'India','PinCode' => '136118','district' => 'Kurukshetra','contact' => '8451236785'),
array('usersId' => '20','usersName' => 'Jyoti','usersEmail' => '[email protected]','usersPwd' => '1411a3e2bd0e7c77fd51adc1e17a834e','Addressline1' => 'h.no 1437','Addressline2' => 'Sector 7','gender' => 'female','country' => 'India','PinCode' => '136118','district' => 'Kurukshetra','contact' => '7568841296'),
array('usersId' => '21','usersName' => 'Urooz','usersEmail' => '[email protected]','usersPwd' => 'b1ede8caf37f83f0d754d9e80faa5399','Addressline1' => 'h.no 715','Addressline2' => 'Sector 2','gender' => 'gender','country' => 'India','PinCode' => '136118','district' => 'Kurukshetra','contact' => '9471236482'),
array('usersId' => '22','usersName' => 'Sakshi','usersEmail' => '[email protected]','usersPwd' => 'c838f72ee34c09deb620d4d7c11e2b0e','Addressline1' => 'H.no 5859','Addressline2' => 'Sector 7','gender' => 'female','country' => 'India','PinCode' => '136118','district' => 'Kurukshetra','contact' => '7777555544'),
array('usersId' => '23','usersName' => 'Madhu','usersEmail' => '[email protected]','usersPwd' => '84811fed582a9c7b8cb41f68f0ed6147','Addressline1' => 'h.no 1665','Addressline2' => 'Sector 4','gender' => 'female','country' => 'India','PinCode' => '136118','district' => 'Kurukshetra','contact' => '8987456321'),
array('usersId' => '24','usersName' => 'Neeti','usersEmail' => '[email protected]','usersPwd' => '1a39b1d6c406dde190d38d3c2af2ebe8','Addressline1' => 'h.no 1664','Addressline2' => 'Sector 13','gender' => 'female','country' => 'India','PinCode' => '136118','district' => 'Kurukshetra','contact' => '9999751234'),
array('usersId' => '25','usersName' => 'Shruti','usersEmail' => '[email protected]','usersPwd' => 'eab6930b3c87b22874b40a0e52fe1ca3','Addressline1' => 'h.no 699','Addressline2' => 'Sector 7','gender' => 'female','country' => 'India','PinCode' => '136118','district' => 'Kurukshetra','contact' => '9875364897'),
array('usersId' => '26','usersName' => 'Rekha','usersEmail' => '[email protected]','usersPwd' => '056062863ed19a32787a3ae9e1117d5e','Addressline1' => 'h.no 779','Addressline2' => 'Sector 2','gender' => 'female','country' => 'India','PinCode' => '136118','district' => 'Kurukshetra','contact' => '9647258135'),
array('usersId' => '27','usersName' => 'Jaya','usersEmail' => '[email protected]','usersPwd' => 'ce9689abdeab50b5bee3b56c7aadee27','Addressline1' => 'h.no 234','Addressline2' => 'Sector 5','gender' => 'male','country' => 'India','PinCode' => '136118','district' => 'Kurukshetra','contact' => '9841896325'),
array('usersId' => '28','usersName' => 'cherish','usersEmail' => '[email protected]','usersPwd' => '7beff0fb4177ff198e6a3a3389197fda','Addressline1' => 'h.no 1430','Addressline2' => 'Sector 13','gender' => 'male','country' => 'India','PinCode' => '136118','district' => 'Kurukshetra','contact' => '9654285147'),
array('usersId' => '29','usersName' => 'Rahul','usersEmail' => '[email protected]','usersPwd' => '439ed537979d8e831561964dbbbd7413','Addressline1' => 'h.no 967','Addressline2' => 'Tilpat','gender' => 'male','country' => 'India','PinCode' => '121003','district' => 'Faridabad','contact' => '8802345247')
);