Your IP : 3.145.99.221
<?php
session_start(); ob_start();
?>
<!doctype html>
<html lang="en" dir="ltr">
<head>
<!-- META DATA -->
<meta charset="UTF-8">
<meta name='viewport' content='width=device-width, initial-scale=1.0, user-scalable=0'>
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="description" content="Fination Global Services">
<meta name="author" content="Fination Global Services">
<meta name="keywords" content="">
<!-- FAVICON -->
<link rel="shortcut icon" type="image/x-icon" href="../assets/images/brand/favicon.ico" />
<!-- TITLE -->
<title>Notification & Messages</title>
<!-- BOOTSTRAP CSS -->
<link id="style" href="../assets/plugins/bootstrap/css/bootstrap.min.css" rel="stylesheet" />
<!-- STYLE CSS -->
<link href="../assets/css/style.css" rel="stylesheet"/>
<link href="../assets/css/plugins.css" rel="stylesheet"/>
<!-- Animate css -->
<link href="../assets/css/animated.css" rel="stylesheet" />
<!--- FONT ICONS -->
<link href="../assets/css/icons.css" rel="stylesheet"/>
</head>
<body class="app sidebar-mini ltr light-mode">
<!-- GLOBAL-LOADER
<div id="global-loader">
<img src="../assets/images/loader.svg" class="loader-img" alt="Loader">
</div>-->
<!-- /GLOBAL-LOADER -->
<!-- PAGE -->
<div class="page">
<div class="page-main">
<!-- app-Header -->
<?php include('header.php');
?>
<!--/APP-SIDEBAR-->
<!--app-content open-->
<div class="main-content app-content mt-0">
<div class="side-app">
<!-- CONTAINER -->
<div class="main-container container-fluid">
<!-- PAGE-HEADER -->
<div class="page-header">
<div>
<h1 class="page-title"> Notification & Messages</h1>
<ol class="breadcrumb">
<li class="breadcrumb-item"><a href="javascript:void(0);">Home</a></li>
<li class="breadcrumb-item active" aria-current="page">View Notification & Messages</li>
</ol>
</div>
<?php include('pagebtn.php') ?>
</div>
<!-- PAGE-HEADER END -->
<div class="row">
<div class="col-lg-4">
<div class="card">
<div class="card-title">
<h4 class="m-2">Notification & Message </h4>
</div>
<div class="card-body p-0">
<table class="table table-bordered">
<?php $i=1; $sql = $db->query("SELECT * FROM bulkmsg ORDER BY sn DESC LIMIT 20");
while($row = mysqli_fetch_assoc($sql)){$e=$i++;
if(in_array($row['catid'],userCats($type))){
echo '<tr><td><a href="?message='.md5($row['sn']).'">'.substr($row['created'],0,10).': '.$row['subject'].'</a></td></tr>';
}
}
?>
</table>
</div>
</div>
</div>
<?php $sn = $_GET['message']??'';
$sql = $db->query("SELECT * FROM bulkmsg WHERE md5(sn) = '$sn' ");
if(mysqli_num_rows($sql)==1){
?>
<div class="col-lg-8">
<div class="card">
<div class="card-title">
<?php
$row = mysqli_fetch_assoc($sql);
$subject = $row['subject']??'';
$message = $row['message']??'';
updateSeen($row['sn'],$uidx);
?>
<h4 class="m-2"><?= $subject ?></h4>
</div>
<hr/>
<div class="card-body">
<?= $message ?>
</div>
</div>
</div>
<?php } ?>
</div>
</div>
</div>
</div>
<div style="height: 200px;"></div>
<!-- FOOTER -->
<?php include('footer.php'); ?>
<!-- FOOTER END -->
</div>
<!-- BACK-TO-TOP -->
<a href="#top" id="back-to-top"><i class="fa fa-angle-up"></i></a>
<!-- JQUERY JS -->
<script src="../assets/js/jquery.min.js"></script>
<!-- BOOTSTRAP JS -->
<script src="../assets/plugins/bootstrap/js/popper.min.js"></script>
<script src="../assets/plugins/bootstrap/js/bootstrap.min.js"></script>
<!-- CHARTJS CHART JS-->
<script src="../assets/plugins/chart/Chart.bundle.js"></script>
<script src="../assets/plugins/chart/utils.js"></script>
<!-- C3 CHART JS -->
<script src="../assets/plugins/charts-c3/d3.v5.min.js"></script>
<script src="../assets/plugins/charts-c3/c3-chart.js"></script>
<!-- SIDEBAR JS -->
<script src="../assets/plugins/sidebar/sidebar.js"></script>
<!-- INPUT MASK JS-->
<script src="../assets/plugins/input-mask/jquery.mask.min.js"></script>
<!-- SIDE-MENU JS-->
<script src="../assets/plugins/sidemenu/sidemenu.js"></script>
<!-- Sticky js -->
<script src="../assets/js/sticky.js"></script>
<!-- Perfect SCROLLBAR JS-->
<script src="../assets/plugins/p-scroll/perfect-scrollbar.js"></script>
<script src="../assets/plugins/p-scroll/pscroll.js"></script>
<script src="../assets/plugins/p-scroll/pscroll-1.js"></script>
<!-- WYSIWYG Editor JS -->
<script src="../assets/plugins/wysiwyag/jquery.richtext.js"></script>
<script src="../assets/plugins/wysiwyag/wysiwyag.js"></script>
<!-- FORMEDITOR JS -->
<script src="../assets/plugins/quill/quill.min.js"></script>
<script src="../assets/js/form-editor2.js"></script>
<!-- Color Theme js -->
<script src="../assets/js/themeColors.js"></script>
<!-- swither styles js -->
<script src="../assets/js/swither-styles.js"></script>
<!-- CUSTOM JS -->
<script src="../assets/js/custom.js"></script>
</body>
</html>