

        <!-- page content -->
        <div class="right_col" role="main">
          <div class="">
            <div class="page-title">
                <div class="title_left">
                    <h3>Naration</h3>
                </div>
            </div>
            <div class="clearfix"></div>

            <div class="row">
              <div class="col-md-12 col-sm-12 col-xs-12">
                <div class="x_panel">
                  <div class="x_title">
                    <h2>Add Naration</h2>
                    <ul class="nav navbar-right panel_toolbox">
                      <li><a class="collapse-link"><i class="fa fa-chevron-up"></i></a></li>
                    </ul>
                    <div class="clearfix"></div>
                  </div>
                  <div class="x_content">

                    <form class="form-horizontal form-label-left" action="<?php echo $base_url; ?>account/savenaration" method="post">
                        
                     
                       <input type="hidden" name="id" value="<?php if($edit==null){echo "";}else{ echo $edit['id'];} ?>" >
                      
                      
                      <div class="item form-group">
                        <label class="control-label col-md-3 col-sm-3 col-xs-12" for="b_head">Naration<span class="required">*</span>
                        </label>
                        <div class="col-md-6 col-sm-6 col-xs-12">
                          <input id="" value="<?php if($edit==null){echo "";}else{ echo $edit['name'];} ?>" class="form-control col-md-7 col-xs-12 abc" maxlength="150" name="name" placeholder="Write Naration...." required="required" type="text">
                        </div>
                      </div>
                      <div class="item form-group">
                        <label class="control-label col-md-3 col-sm-3 col-xs-12" for="b_head">Desciption<span class="required">*</span>
                        </label>
                        <div class="col-md-6 col-sm-6 col-xs-12">
                          <textarea id=""  class="form-control col-md-7 col-xs-12 abc" maxlength="150" name="description" placeholder="Write Desciption......." required="required"><?php if($edit==null){echo "";}else{ echo $edit['description'];} ?></textarea>
                        </div>
                      </div>
                      
                      <div class="ln_solid"></div>
                      <div class="form-group">
                        <div class="col-md-6 col-md-offset-3">
                          <button id="send" type="submit" class="btn btn-success">Add</button>
                        </div>
                      </div>
                    </form>
                  </div>
                </div>
             
              </div>
              <div class="col-md-12 col-sm-12 col-xs-12">
                <div class="x_panel">
                  <div class="x_title">
                    <h2>view Naration</h2>
                    <ul class="nav navbar-right panel_toolbox">
                      <li><a class="collapse-link"><i class="fa fa-chevron-up"></i></a></li>
                    </ul>
                    <div class="clearfix"></div>
                  </div>
                  <div class="x_content">

                    <table class="table table-bordered">
                    <thead>
                    <tr>
                    <td>#</td>
                    <td>Name</td>
                    <td>Description</td>
                    <td>Actions</td>
                    </tr>
                    </thead>
                    <tbody>
                    <?php foreach ($view as $key => $value) { ?>
                    <tr>
                    <td><?php echo ++$key; ?></td>
                    <td><?php echo $value['name']; ?></td>
                    <td><?php echo $value['description']; ?></td>
                    <td><a href="<?php echo  base_url(); ?>account/narration/<?php echo $value['id']; ?>"><i class="fa fa-edit"></i></a>
                    <a href="<?php echo  base_url(); ?>account/trash/<?php echo $value['id']; ?>"><i class="fa fa-trash"></i></a></td>
                    </tr>
                    <?php }?>
                    </tbody>
                    </table>
                  </div>
                </div>
             
              </div>
              
                   </div>
          </div>
        </div>
        <!-- /page content -->
        <script src="<?php echo base_url(); ?>assets/vendors/jquery/dist/jquery.min.js"></script>
        