<!-- Content Wrapper. Contains page content -->
<div class="content-wrapper">
        <!-- Content Header (Page header) -->
        <section class="content-header">
          <h1>
             <?php
               echo isset($title) ? $title : NULL;
             ?>
          </h1>
        </section>
        <!-- Main content -->
        <section class="content">
            <div class="row">
                <form method="post">
                <div class="col-lg-12">
                    <div class="box box-primary">
                        <div class="box-header with-border">
                          <h3 class="box-title">Show Message Details</h3>
                        </div>
                        <!-- /.box-header -->
                        <!-- form start -->


                          <div class="box-body">
                              <table class="table table-bordered dt-responsive tablefordata">
                                    <tr>
                                        <td><strong>Message Id</strong></td>
                                        <td><strong><?php echo $message['id'] ?></strong></td>
                                    </tr>
                                    <tr>
                                        <td><strong>User Name</strong></td>
                                        <td><strong><?php echo $message['name'] ?></strong></td>
                                    </tr>
                                    <tr>
                                        <td><strong>User Mail</strong></td>
                                        <td><strong><?php echo $message['mail'] ?></strong></td>
                                    </tr>
                                    <tr>
                                        <td><strong>User Phone</strong></td>
                                        <td><strong><?php echo $message['phone'] ?></strong></td>
                                    </tr>


                                    <tr>
                                        <td><strong>Message</strong></td>
                                        <td><strong><?php echo $message['message'] ?></strong></td>
                                    </tr>
                                    <tr>
                                        <td><strong> Created</strong></td>
                                        <td><strong><?php echo date("Y/m/d h:i:s A",$message['created']); ?></strong></td>
                                    </tr>
                              </table>
                          </div>
                          <!-- /.box-body -->
                      </div>
                      <!-- /.box -->
                </div>

                </form>
            </div>
      </section><!-- /.content -->
</div><!-- /.content-wrapper -->
