-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgolden.php
207 lines (167 loc) · 4.95 KB
/
golden.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
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
<?php
$link = mysqli_connect("localhost", "root", "", "tenpm");
if($link === false){
die("ERROR: Could not connect. " . mysqli_connect_error());
}
?>
<html>
<head>
<title>Packages</title>
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.1.1/css/bootstrap.min.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/bulma/0.7.1/css/bulma.min.css">
<script
src="https://code.jquery.com/jquery-3.3.1.js"
integrity="sha256-2Kok7MbOyxpgUVvAk/HJ2jigOSYS2auK4Pfzbm7uH60="
crossorigin="anonymous"></script>
<link rel="stylesheet" href="main.css">
</head>
<body>
<div class="tabs is-centered" id="tab_header">
<ul>
<li class="item is-active" data-option="1"><a>Silver</a></li>
<li class="item" data-option="2"><a>Gold</a></li>
<li class="item" data-option="3"><a>Diamond</a></li>
<li class="item" data-option="4"><a>Platinum</a></li>
<?php
$sql="select * from add_package";
$result=mysqli_query($link,$sql);
$i=5;
while($re=mysqli_fetch_assoc($result)){
?>
<li class="item" data-option="<?php echo $i?>"><a> <?php echo $re['p_name'];
$i++;?></a></li>
<?php }
?>
</ul>
</div>
<div class="box" id="tab_container">
<div class="container_item is-active" data-item="1">
<ul>
<li>Duration=1 slot (6 hour)morning/evening</li>
<li>2-3 location with 2 different costumes</li>
<li>30 edited photos in soft copy</li>
<li>11 photos pre-wedding photobook</li>
<li>Signature pre-wedding photo frame[Quality-1]</li>
<li>Photo slide show video</li>
<li>transport(optional)</li>
</ul>
</br>
<b><h3>Price = INR 10,000 (Transport Exclusive) </h3></b>
</br>
</br>
<center>
<a class="button is-primary" href="silverp.php">Select </a>
</center>
</div>
<div class="container_item" data-item="2">
<ul>
<li>Duration=1 Day(24 hour)</li>
<li>Stay provided </li>
<li>3-5 location with 3 different costumes</li>
<li>40 edited photos in soft copy</li>
<li>21 photos pre-wedding photobook</li>
<li>pre-wedding cinematic movie(length=2 min)</li>
<li>Signature pre-wedding photo frame[Qulity-2]</li>
<li>Photo slide show video</li>
<li>transport(optional)</li>
</ul>
</br>
<b><h3>Price = INR 18,000 (Transport Exclusive) </h3></b>
</br>
</br>
<center>
<a class="button is-primary" href="goldenp.php">Select</a>
</center>
</div>
<div class="container_item" data-item="3">
<ul>
<li>Duration=2 Day(Weekend)</li>
<li>Stay provided </li>
<li>6-7 location with 7 different costumes </br>
(2 OUTFITS PROVIDED BY US )</li>
<li>60 edited photos in soft copy</li>
<li>35 photos pre-wedding photobook</li>
<li>pre-wedding cinematic movie(length=2 min)</li>
<li>Signature pre-wedding photo frame[Qulity-3]</li>
<li>Photo slide show video</li>
<li>transport provided</li>
</ul>
</br>
<b><h3>Price = INR 35,000 (Transport Exclusive) </h3></b>
</br>
</br>
<center>
<a class="button is-primary" href="diamondp.php">Select</a>
</center>
</div>
<div class="container_item" data-item="4">
<ul>
<li>Duration=3-4 Day(Weekend)</li>
<li>Stay provided </li>
<li>8-10 location with different costumes </br>
(3 OUTFITS PROVIDED BY US )</li>
<li>100 edited photos in soft copy</li>
<li>40 photos pre-wedding photobook</li>
<li>pre-wedding cinematic movie(length=5 min)</li>
<li>Signature pre-wedding photo frame[Qulity-5]</li>
<li>Photo slide show video</li>
<li>transport provided</li>
</ul>
</br>
<b><h3>Price = INR 55,000 (Transport Exclusive) </h3></b>
</br>
</br>
<center>
<a class="button is-primary" href="platiniump.php">Select</a>
</center>
</div>
<?php
$t=5;
$p=0;
$sql1="select * from add_package";
$re=mysqli_query($link,$sql1);
while($idd=mysqli_fetch_assoc($re))
{
#print_r($idd['id']);
if($t<=$i)
{
#error_reporting(0);
//echo $p;
/* $sql="select * from add_package where id=$idd[$p]";
$result=mysqli_query($link,$sql);
$re=mysqli_fetch_assoc($result); */
?>
<div class="container_item" data-item="<?php echo $t?>">
<ul >
<li ><?php echo "Duration:".$idd['duration'] ; ?></li>
<li ><?php echo "Location:".$idd['location'] ; ?></li>
<li ><?php echo "Softcopies:".$idd['softcopy'] ; ?></li>
<li ><?php echo "Number of Pre-Photos:".$idd['pre_photos'] ; ?></li>
<li ><?php echo "Video:".$idd['video'] ; ?></li>
<li ><?php echo "Quality:".$idd['quality'] ; ?></li>
</ul>
</br>
<b><h3>Price = <?php echo $idd['price'];?> (Transport Exclusive) </h3></b>
</br>
</br>
<center>
<a class="button is-primary" href="login.html">Select</a>
</center>
</div>
<?php $t++;#$p++;
}}
?>
</div>
<script>
$(document).ready(function () {
$('#tab_header ul li.item').on('click', function () {
var number = $(this).data('option');
$('#tab_header ul li.item').removeClass('is-active');
$(this).addClass('is-active');
$('#tab_container .container_item').removeClass('is-active');
$('div[data-item="' + number + '"]').addClass('is-active');
});
});
</script>
</body>
</html>