-
Notifications
You must be signed in to change notification settings - Fork 0
/
noti_view.php
83 lines (80 loc) · 3.13 KB
/
noti_view.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 'db2.php';
$result=mysqli_query($con,"SELECT * FROM `notification_db` ORDER BY notification_id asc");
?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta name="description" content="Vali is a responsive and free admin theme built with Bootstrap 4, SASS and PUG.js. It's fully customizable and modular.">
<!-- Twitter meta-->
<meta property="twitter:card" content="summary_large_image">
<meta property="twitter:site" content="@pratikborsadiya">
<meta property="twitter:creator" content="@pratikborsadiya">
<!-- Open Graph Meta-->
<meta property="og:type" content="website">
<meta property="og:site_name" content="Vali Admin">
<meta property="og:title" content="Vali - Free Bootstrap 4 admin theme">
<meta property="og:url" content="http://pratikborsadiya.in/blog/vali-admin">
<meta property="og:image" content="http://pratikborsadiya.in/blog/vali-admin/hero-social.png">
<meta property="og:description" content="Vali is a responsive and free admin theme built with Bootstrap 4, SASS and PUG.js. It's fully customizable and modular.">
<title>View Notification</title>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- Main CSS-->
<link rel="stylesheet" type="text/css" href="css/main.css">
<!-- Font-icon css-->
<link rel="stylesheet" type="text/css" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css">
</head>
<body class="app sidebar-mini">
<!-- Navbar-->
<?php
include 'header.php';
?>
<!-- Sidebar menu-->
<div class="app-sidebar__overlay" data-toggle="sidebar"></div>
<?php
include 'leftbar.php';
?>
<main class="app-content">
<div class="app-title">
<div>
<h1><i class="fa fa-dashboard"></i> Notifications</h1>
<p>Upcoming Notification</p>
</div>
<ul class="app-breadcrumb breadcrumb">
<li class="breadcrumb-item"><i class="fa fa-home fa-lg"></i></li>
<li class="breadcrumb-item"><a href="dashboard.php">Home</a></li>
</ul>
</div>
<div class="row">
<div class="col-md-6">
<div class="tile">
<h3 class="tile-title"> Detials</h3>
<table class="table">
<thead>
<tbody>
<tr>
<th>Sl No.</th>
<th>Content</th>
<th>Action</th>
</tr>
</thead>
<?php
$count=0;
while ($row = mysqli_fetch_assoc($result)) { $count++; ?>
<tbody>
<tr>
<td><?php echo $count; ?></td>
<td><?php echo $row["content"]; ?> </td>
<td><a href="edit-noti.php?s_id=<?php echo $row['notification_id'];?>">Edit</a> / <a href="delete-noti.php?s_id=<?php echo $row['notification_id']; ?>">Delete</a></td>
</tr>
<?php } ?>
</tbody>
</tbody>
</table>
</div>
</main>
<?php include 'script.php'; ?>
</body>
</html>