<?php require_once "../../includes/dbconnection.php"; require_once "../../includes/all_functions.php"; ?> <?php if (isset($_GET['callcount'])) { //$key=$_GET['keysearch']; $data = array(); $result = countUnreadFeedback(); while ($row = $result->fetch_assoc()) { $data[] = array("unread" => $row['unread']); } echo json_encode($data); } if (isset($_GET['callmessage'])) { //$key=$_GET['keysearch']; $data = array(); $result126 = selectFeedback(); while ($row126 = $result126->fetch_assoc()) { $result129 = getProfilepicfeedback($row126['Email']); $row129 = $result129->fetch_assoc(); $tim = null; $ppic = $row129['Profile_pic']; if ($ppic === "" || !isset($ppic)) { $ppic = "default.jpg"; } $fromtime = $row126['Date'] . " " . $row126['Time']; //echo $fromtime; $fromtime = strtotime($fromtime);
<span>Change Password</span> </a> </li> <li> <a href="changeAdminDP.php">Profile Picture</a> </li> <li><a href="logout_process.php"><i class="fa fa-sign-out pull-right"></i> Log Out</a> </li> </ul> </li> <li role="presentation" class="dropdown" id="notifyme"> <a href="javascript:;" class="dropdown-toggle info-number" data-toggle="dropdown" aria-expanded="false" onclick="CallwhenNotification();"> <i class="fa fa-envelope-o"></i> <span class="badge bg-green" id="totnot"><?php $result125 = countUnreadFeedback(); while ($row125 = $result125->fetch_assoc()) { echo $row125['unread']; } ?> </label></span> </a> <ul id="menu1" class="dropdown-menu list-unstyled msg_list animated fadeInDown" role="menu"> </ul> </li> </ul> </nav> </div>