
 <div class="content-wrapper">
    <!-- Content Header (Page header) -->
    <div class="content-header">
      <div class="container-fluid">
        <div class="row mb-2">
          <div class="col-sm-6">
            <h1 class="m-0 text-dark">Add New Page</h1>
          </div><!-- /.col -->
          <div class="col-sm-6">
            <ol class="breadcrumb float-sm-right">
              <li class="breadcrumb-item"><a href="<?php echo base_url() ?>admin/admin/dashboard">Dashboard</a></li>
              <li class="breadcrumb-item"><a href="#">Main Page Setting</a></li>
              <li class="breadcrumb-item active">Add New Page</li>

            </ol>
          </div><!-- /.col -->
        </div><!-- /.row -->
      </div><!-- /.container-fluid -->
    </div>
    <!-- /.content-header -->
    <!-- Main content -->
    <section class="content">
      <div class="container-fluid">
        <div class="row">
          <div class="col-sm-12">
            <div class="card card-default">
              <div class="card-header">
                <h3 class="card-title">Add New Page</h3>

                <div class="card-tools">
                  <a href="<?php echo base_url()?>/admin/main_page_setting/all_pages" class="btn btn-primary btn-sm"><i class="fa fa-eye" aria-hidden="true"></i> View All Page</a>
                </div>
              </div>
              <!-- /.card-header -->
               <?php echo form_open_multipart('admin/main_page_setting/new_page_add'); ?>
              <div class="card-body">
                <div class="row">

                  <div class="col-md-12">
                    <div class="form-group">
                       <label for="inputEmail" class="col-sm-12 col-form-label">Page Name <span class="required">*</span></label>
                       <div class="col-sm-12">
                          <input type="text" class="form-control"  name="name"  required="required" placeholder="Enter Page Name">
                       </div>
                    </div>
                 </div>

                 <div class="col-md-12">
                    <div class="form-group">
                       <label>Page Content</label>
                       <textarea type="text" name="content" class="form-control text-editor" placeholder="Enter Page content"></textarea>
                     </div>
                </div>
                 <div class="col-md-12">
                    <div class="form-group">
                       <label for="inputEmail" class="col-sm-12 col-form-label"> Page Meta Description</label>
                       <div class="col-sm-12">
                          <textarea class="form-control"  name="meta_descrition" placeholder="Enter Page Meta Description"></textarea>
                       </div>
                    </div>
                 </div>
                 <div class="col-md-12">
                    <div class="form-group">
                       <label for="inputEmail" class="col-sm-12 col-form-label"> Page Keywords</label>
                       <div class="col-sm-12">
                          <textarea class="form-control"  name="meta_keyword" placeholder="Enter Page Keywords"></textarea>
                       </div>
                    </div>
                 </div>
                 <div class="col-md-12">
                    <div class="form-group">
                       <label for="inputEmail" class="col-sm-12 col-form-label">Image</label>
                       <div class="col-sm-12">
                          <input type="file" class="form-control"  name="image" placeholder="Enter Page Name">
                       </div>
                    </div>
                 </div>
                 <div class="col-md-12">
                    <div class="form-group">
                       <label for="inputEmail" class="col-sm-12 col-form-label">Showing Position</label>
                       <div class="col-sm-12">
                          <select  class="form-control"  name="important" placeholder="Enter Page Name" required="">
                             <option value="Top">Top</option>
                             <option value="Userfull Link">Userfull Link</option>
                             <option value="Policies">Policies</option>
                             <option value="Help">Help</option>
                          </select>
                       </div>
                    </div>   
                 </div>

                  <div class="col-md-12" id="add_btn">
                    <div class="form-group">
                       <button name="submit" style="float: right" type="submit" class="btn btn-success">Add</button>
                    </div>
                  </div>

                   <?php echo form_close() ?>
                   

                  <!-- /.col -->
                </div>
                <!-- /.row -->
              </div>
              <!-- /.card-body -->
            </div>
          </div>
        </div>
            <!-- /.row -->
      </div><!--/. container-fluid -->
    </section>
    <!-- /.content -->
  </div>
  <!-- /.content-wrapper -->