<?php include "includes/admin_header.php"; ?>

<div id="wrapper">

    <!-- Navigation -->
    <?php include "includes/admin_navigation.php"; ?>

    <!-- /.navbar-collapse -->


    <div id="page-wrapper">

        <div class="container-fluid">

            <!-- Page Heading -->
            <div class="row">
                <div class="col-lg-12">

                    <h1 class="page-header">
                        View Comments
                        <small></small>
</h1>
<?php
if(isset($_GET['source'])){
    $source = $_GET['source'];
} else {$source = '';}
switch($source){
    case 'edit_comment';
        include "includes/edit_comment.php";
        break;

    default:
        include "includes/view_all_comments.php";
        break;
}
?>

                </div>

            </div>
            <!-- /.row -->

        </div>
        <!-- /.container-fluid -->

    </div>
    <!-- /#page-wrapper -->

</div>
<!-- /#wrapper -->

<?php include "includes/admin_footer.php" ?>
