GIF89a
<?php include("connect.php"); ?> <ul class="navbar-nav ml-auto"> <!-- Messages Dropdown Menu --> <li class="nav-item dropdown"> <a href="logout.php"> <img src="icons/logout.png" style="width: 18px;height: 18px;margin-top: -25px;margin-right: 10px;border-radius: 30px;"> </a> <a class="nav-link" data-toggle="dropdown" href="#"> <i class="far fa-comments"></i> <span class="badge badge-danger navbar-badge" style="padding: 1px 1px !important">3</span> </a> <div class="dropdown-menu dropdown-menu-lg dropdown-menu-right"> <?php while($rowT=mysqli_fetch_array($rsT4)){ ?> <a href="#" class="dropdown-item"> <!-- Message Start --> <div class="media"> <img src="dist/img/user1-128x128.jpg" alt="User Avatar" class="img-size-50 mr-3 img-circle"> <div class="media-body"> <h3 class="dropdown-item-title"> <?php echo $rowT['user_name']; ?> <span class="float-right text-sm text-danger"><i class="fas fa-star"></i></span> </h3> <p class="text-sm"><?php echo $rowT['prod_review']; ?></p> <p class="text-sm text-muted"><i class="far fa-clock mr-1"></i><?php echo $last_updated." min ago"; ?></p> </div> </div> <!-- Message End --> </a> <div class="dropdown-divider"></div> <?php } ?> <div class="dropdown-divider"></div> <a href="#" class="dropdown-item dropdown-footer">See All Messages</a> </div> </li> <!-- Notifications Dropdown Menu --> <li class="nav-item dropdown"> <a class="nav-link" data-toggle="dropdown" href="#"> <i class="far fa-bell"></i> <span class="badge badge-warning navbar-badge" style="padding: 1px 1px !important">3</span> </a> <div class="dropdown-menu dropdown-menu-lg dropdown-menu-right"> <span class="dropdown-item dropdown-header">3 Notifications</span> <div class="dropdown-divider"></div> <a href="#" class="dropdown-item"> <i class="fas fa-envelope mr-2"></i> <?php echo $countIncomingOrders." New Orders today"; ?> <span class="float-right text-muted text-sm"><?php echo $last_updated." min ago"; ?></span> </a> <div class="dropdown-divider"></div> <a href="#" class="dropdown-item"> <i class="fas fa-users mr-2"></i> <?php echo $total_users." Users today"; ?> <span class="float-right text-muted text-sm"><?php echo $last_updated." min ago"; ?></span> </a> <div class="dropdown-divider"></div> <a href="#" class="dropdown-item"> <i class="fas fa-file mr-2"></i><?php echo $itemInStock." products nearby finish in stock"; ?> <span class="float-right text-muted text-sm"><?php echo $last_updated." min ago"; ?></span> </a> <div class="dropdown-divider"></div> <a href="#" class="dropdown-item dropdown-footer">See All Notifications</a> </div> </li> <li class="nav-item"> <a class="nav-link" data-widget="control-sidebar" data-slide="true" href="#" role="button" style="margin-top: -5px"> <i class="fas fa-th-large" style="margin-top: 10px;"></i> </a> </li> </ul>