} ?> </ul> <ul class="nav navbar-nav navbar-right"> <!-- Make mail --> <?php if ($user->isLoggedIn()) { ?> <li><a href="<?php echo path; ?> pages/user/?page=notification"><span class="glyphicon glyphicon-inbox"></span><?php if (Notifaction::getUnreadCount($user->data()->id) > 0) { ?> <span class="badge"><?php echo Notifaction::getUnreadCount($user->data()->id); ?> </span><?php } ?> </a></li><?php } ?> <!-- <li class="dropdown"> <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false"><span class="glyphicon glyphicon-inbox"><span class="badge">999</span></span></a> <ul class="dropdown-menu"> <li><a href="#">Action</a></li> <li><a href="#">Another action</a></li> <li><a href="#">Something else here</a></li> <li role="separator" class="divider"></li> <li><a href="#">Separated link</a></li>
if (Session::exists('complete')) { echo "<div class='alert alert-success'>" . Session::flash('complete') . "</div>"; } ?> <?php if (Session::exists('error')) { echo "<div class='alert alert-danger'>" . Session::flash('error') . "</div>"; } ?> <div class="col-md-3"> <div class="well"> <a href="?page=">UserCP Home</a><br/> <a href="?page=change_password">Change password</a><br/> <a href="?page=update">Update Infomation</a><br/> <a href="?page=notification">Notifications<?php $not_cont = Notifaction::getUnreadCount($user->data()->id); if ($not_cont > 0) { ?> <span class="badge"><?php echo $not_cont; ?> </span><?php } ?> </a><br/> </div> </div> <div class="col-md-9"> <?php switch (Input::get('page')) { default: