-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathlandingPage.php
85 lines (74 loc) · 2.56 KB
/
landingPage.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
<?php include ('header.php');?>
<body>
<div id="wrapper">
<nav class="navbar navbar-default top-navbar" role="navigation">
<div class="navbar-header">
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".sidebar-collapse">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="# ">Personal Project</a>
</div>
<ul class="nav navbar-top-links navbar-right">
<li class="dropdown">
<a class="dropdown-toggle" data-toggle="dropdown" href="#" aria-expanded="false">
Welcome : Administrator
</a>
<!-- /.dropdown-user -->
</li>
<!-- /.dropdown -->
</ul>
</nav>
<!--/. NAV TOP -->
<?php include ('nav_sidebar.php');?>
<!-- /. NAV SIDE -->
<div id="page-wrapper" >
<div id="page-inner">
<div class="row">
<div class="col-md-12">
<h1 class="page-header">
</h1>
<div class="hero-unit-table">
<table cellpadding="0" cellspacing="0" border="0" class="table table-condensed table-striped table-bordered" id="dataTables-example">
<div class="alert alert-info">
<strong><i class="icon-user icon-large"></i> Messages</strong>
</div>
<thead>
<tr>
<th>Name of Sender</th>
<th>Email Address</th>
<th>Message</th>
</tr>
</thead>
<tbody>
<?php include ('connect.php');
$query = mysqli_query( $aVar,"select * from tb_products ORDER BY productID;");
while ($row = mysqli_fetch_array($query)) {
$productID = $row['productID'];
?>
<tr>
<td style = "width:150px";><?php echo $row['name']; ?></td>
<td style = "width:200px";><?php echo $row['description']; ?></td>
<td style = "width:600px;"><?php echo $row['description']; ?></td>
<?php } ?>
</tr>
</tbody>
</table>
</div>
</div>
</div>
<div>
</div>
</div>
<!-- /. PAGE INNER -->
</div>
<!-- /. PAGE WRAPPER -->
</div>
<!-- /. WRAPPER -->
<!-- JS Scripts-->
<!-- jQuery Js -->
<?php include ('script.php');?>
</body>
</html>