Index of /home/htscrtms/newcrm.htshah.com/hslider
<?php
include('lib/db_connect.php');
include('lib/auth.php');
?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, shrink-to-fit=no">
<title>HT Shah</title>
<link rel="icon" type="image/x-icon" href="assets/img/favicon.ico"/>
<!-- BEGIN GLOBAL MANDATORY STYLES -->
<link href="https://fonts.googleapis.com/css?family=Nunito:400,600,700" rel="stylesheet">
<link href="bootstrap/css/bootstrap.min.css" rel="stylesheet" type="text/css" />
<link href="assets/css/plugins.css" rel="stylesheet" type="text/css" />
<!-- END GLOBAL MANDATORY STYLES -->
<!-- BEGIN CUSTOM STYLE FILE -->
<link href="assets/css/pages/helpdesk.css" rel="stylesheet" type="text/css" />
<!-- END CUSTOM STYLE FILE -->
</head>
<body>
<?php include("header.php"); ?>
<!-- BEGIN NAVBAR -->
<div class="sub-header-container">
<header class="header navbar navbar-expand-sm">
<a href="javascript:void(0);" class="sidebarCollapse" data-placement="bottom"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-menu"><line x1="3" y1="12" x2="21" y2="12"></line><line x1="3" y1="6" x2="21" y2="6"></line><line x1="3" y1="18" x2="21" y2="18"></line></svg></a>
<ul class="navbar-nav flex-row">
<li>
<div class="page-header">
<nav class="breadcrumb-one" aria-label="breadcrumb">
<ol class="breadcrumb">
<li class="breadcrumb-item"><a href="javascript:void(0);">Forum Topics</a></li>
<li class="breadcrumb-item active" aria-current="page"><span>View Topic</span></li>
</ol>
</nav>
</div>
</li>
</ul>
</header>
</div>
<!-- END NAVBAR -->
<!-- BEGIN MAIN CONTAINER -->
<div class="main-container" id="container">
<?php include("sidebar-wrapper.php"); ?>
<!-- BEGIN CONTENT AREA -->
<div id="content" class="main-content">
<div class="layout-px-spacing">
<div class="helpdesk container">
<div class="helpdesk layout-spacing">
<div class="hd-header-wrapper">
<div class="row">
<div class="col-md-12">
<?php
$sels="select * from `tabl_forum` where id='".$_REQUEST['id']."'";
$qrys=mysqli_query($con,$sels);
$rs=mysqli_fetch_array($qrys);
?>
<h5 class=""><span><?php echo date('d-M-y', strtotime($rs['tdate']));?></span> - <span><?php echo $rs['fsubject'];?></span></h5>
<p class=""><?php echo $rs['fcontent'];?></p>
<a href="forumreply.php?id=<?php echo $rs['id'] ?>"><button type="button" class="btn btn-warning">Post a Reply</button></a>
<a href="forum-topics.php"><button type="button" class="btn btn-danger ml-2">Back to Forums</button></a>
</div>
</div>
</div>
<div class="hd-tab-section">
<div class="row">
<div class="col-md-12 mt-3">
<div class="accordion" id="hd-statistics">
<?php $count=0;
$sel="select * from `tabl_forumreply` where forumid='".$_REQUEST['id']."' order by replydt desc";
$qry=mysqli_query($con,$sel);
while($row=mysqli_fetch_array($qry))
{ $count++;
?>
<div class="card">
<div class="card-header" id="hd-statistics-<?php echo $count; ?>">
<div class="mb-0">
<div class=" collapsed" data-toggle="collapse" role="navigation" data-target="#collapse-hd-statistics-<?php echo $count; ?>" aria-expanded="true" aria-controls="collapse-hd-statistics-<?php echo $count; ?>"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-help-circle"><circle cx="12" cy="12" r="10"></circle><path d="M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3"></path><line x1="12" y1="17" x2="12" y2="17"></line></svg>
<span><?php echo date('d-M-y', strtotime($row['replydt']));?></span> - <span><?php echo $row['replynm'];?></span>
</div>
</div>
</div>
<div id="collapse-hd-statistics-<?php echo $count; ?>" class="collapse show" aria-labelledby="hd-statistics-<?php echo $count; ?>" data-parent="#hd-statistics">
<div class="card-body">
<p><?php echo $row['replycontent'];?></p>
</div>
</div>
</div>
<?php } ?>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<?php include("footer.php"); ?>
</div>
<!-- END CONTENT AREA -->
</div>
<!-- END MAIN CONTAINER -->
<!-- BEGIN GLOBAL MANDATORY SCRIPTS -->
<script src="assets/js/libs/jquery-3.1.1.min.js"></script>
<script src="bootstrap/js/popper.min.js"></script>
<script src="bootstrap/js/bootstrap.min.js"></script>
<script src="plugins/perfect-scrollbar/perfect-scrollbar.min.js"></script>
<script src="assets/js/app.js"></script>
<script>
$(document).ready(function() {
App.init();
});
</script>
<script src="assets/js/custom.js"></script>
</body>
</html>