if (isset($_GET['msg'])) { require_once 'message.php'; exit; } if (isset($_GET['pm'])) { require_once 'convo.php'; exit; } $sh = isset($_GET['sh']) ? $_GET['sh'] : 'inb'; $pageTitle = "Messages"; $sec = "messages"; include_once ROOT_PATH . "inc/head.php"; ?> <div class="ui container section messages"> <?php echo msgs(); ?> <ul class="msg-center center" id="msgs-msg" style="display:none;"> </ul> <div class="ui grid"> <div class="four wide column"> <div class="ui vertical menu"> <a class="item <?php echo $sh == 'compose' ? 'teal active' : null; ?> " href="?sh=compose"> Send a new message </a> <a class="item <?php echo $sh == 'inb' ? 'teal active' : null;
<ul class="nav navbar-nav"> <li><a href="logout.php" class="btn btn-lg">Logout</a></li> </ul> </div> </div> </div> <div class="container mainbody"> <div class="page-header"> <?php if ($pagetitle != 'Dashboard') { ?> <a href="dashboard.php" class="btn btn-sm btn-info pull-right"><i class="fa fa-backward"></i> Back to dashboard</a> <?php } ?> <h1><?php echo $pagetitle; ?> </h1> </div> <div class="clearfix"></div> <div class="clearfix"></div> <div class="container-fluid"> <div class="col-lg-12"> <?php msgs(); ?> <div style="height: 10px;"> </div> </div>