-
Notifications
You must be signed in to change notification settings - Fork 0
/
packages.php
83 lines (81 loc) · 4.45 KB
/
packages.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
<?php
include ('includes/include_once/session.php');
include('includes/include_once/header.php');
include('includes/include_once/nav.php');
$defaultImage = "images/people/6.png";
?>
<div id="main-wrapper">
<div class="page-wrapper">
<!-- ============================================================== -->
<!-- Container fluid -->
<!-- ============================================================== -->
<div class="container-fluid">
<!-- ============================================================== -->
<!-- Bread crumb and right sidebar toggle -->
<!-- ============================================================== -->
<div class="row page-titles">
<div class="col-md-5 align-self-center">
<ol class="breadcrumb">
<li class="breadcrumb-item"><a href="dash.php">Home</a></li>
<li class="breadcrumb-item active">Packages</li>
</ol>
</div>
</div>
<div class="row">
<!-- Column -->
<div class="col-lg-12">
<div class="card">
<div class="card-body">
<div class="d-flex">
<div class="table-responsive m-t-20 no-wrap">
<table id="example" class="table vm no-th-brd pro-of-month" style="width:100%">
<thead>
<tr>
<th>Sr. No.</th>
<th>Package Name</th>
<th>Discription</th>
<th>Regular Price</th>
<!-- <th>Discount</th>-->
</tr>
</thead>
<tbody>
<?php
$sr = 0;
include('includes/include_once/db.php'); //pName, pDescription, pRegularAmount)
$data = "SELECT pName, pDescription, pRegularAmount FROM gympackage";
$query = mysqli_query($connect, $data);
while ($result = mysqli_fetch_assoc($query)) {
// print_r($result);
// exit();
?>
<tr>
<td><?php echo ++$sr; ?></td>
<td><h6><?php echo $result['pName']; ?></h6></td>
<td><h6><?php echo $result['pDescription']; ?></h6></td>
<td><?php echo '₹'. $result['pRegularAmount']; ?></td>
<!-- <td><?php //echo $result['cMobile']; ?></td>-->
</tr>
<?php
}
?>
</tbody>
</table>
</div>
</div>
</div>
</div>
</div>
<!-- ============================================================== -->
<!-- ============================================================== -->
<!-- End Page Content -->
<!-- ============================================================== -->
</div>
</div>
<!-- ============================================================== -->
<!-- End Page wrapper -->
<!-- ============================================================== -->
<footer class="footer"><img src="images/logo/logo3.png" class="my-logo" /> Made by <a href="https://tryon.caldikind.xyz">Group 7</a> </footer>
</div>
<?php
include('includes/include_once/footer.php');
?>