
 <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">Became a Volunteer</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">Became a Volunteer</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-6">
            <div class="card card-default">
              <div class="card-header">
                <h3 class="card-title">Update Became a Volunteer English</h3>
              </div>
              <!-- /.card-header -->
              <?php echo form_open_multipart('admin/main_page_setting/update_became_a_volunteer/en'); ?>
              <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">Mode <span style="color:red">*</span></label>
                       <div class="col-sm-12">
                          <select class="form-control" name="volunteer_image_video" required>
                            <option value="">Select</option>
                            <option <?php if($eng_data->volunteer_image_video == 1){echo 'selected';} ?> value="1">Video</option>
                            <option <?php if($eng_data->volunteer_image_video == 2){echo 'selected';} ?> value="2">Image</option>
                          </select>
                       </div>
                    </div>
                  </div>
                  <div class="col-md-12" id="img">
                    <div class="form-group">
                       <label for="inputEmail" class="col-sm-12 col-form-label">Upload Image </label>
                       <div class="col-sm-12">
                          <input class="form-control" type="file"  name="volunteer_image" placeholder="Enter Description" >
                       </div>
                    </div>
                  </div>
                  <div class="col-md-12" id="img_n">
                    <div class="form-group">
                       <label for="inputEmail" class="col-sm-12 col-form-label">Image Preview </label>
                       <div class="col-sm-12">
                          <img src="<?php echo base_url(); ?><?php echo $eng_data->volunteer_image; ?>" width="100px"> 
                       </div>
                    </div>
                  </div>

                  <div class="col-md-12" id="v_url">
                    <div class="form-group">
                       <label for="inputEmail" class="col-sm-12 col-form-label">Youtube Video URL </label>
                       <div class="col-sm-12">
                          <textarea class="form-control"  name="volunteer_video" placeholder="Enter Youtube Video URL"><?php echo $eng_data->volunteer_video; ?></textarea>
                       </div>
                    </div>
                  </div>

                  <div class="col-md-12" id="v_url">
                    <div class="form-group">
                       <label for="inputEmail" class="col-sm-12 col-form-label">Description <span style="color:red">*</span></label>
                       <div class="col-sm-12">
                          <textarea class="form-control"  name="volunteer_description" placeholder="Enter Section Description" required><?php echo $eng_data->volunteer_description; ?></textarea>
                       </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">Update</button>
                    </div>
                  </div>

                   <?php echo form_close() ?>
                   

                  <!-- /.col -->
                </div>
                <!-- /.row -->
              </div>
              <!-- /.card-body -->
            </div>
          </div>
          <div class="col-sm-6">
            <div class="card card-default">
              <div class="card-header">
                <h3 class="card-title">Update Became a Volunteer Hindi</h3>
              </div>
              <!-- /.card-header -->
              <?php echo form_open_multipart('admin/main_page_setting/update_became_a_volunteer/hi'); ?>
              <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">Mode <span style="color:red">*</span></label>
                       <div class="col-sm-12">
                          <select class="form-control" name="volunteer_image_video" required>
                            <option value="">Select</option>
                            <option <?php if($hi_data->volunteer_image_video == 1){echo 'selected';} ?> value="1">Video</option>
                            <option <?php if($hi_data->volunteer_image_video == 2){echo 'selected';} ?> value="2">Image</option>
                          </select>
                       </div>
                    </div>
                  </div>
                  <div class="col-md-12" id="img">
                    <div class="form-group">
                       <label for="inputEmail" class="col-sm-12 col-form-label">Upload Image </label>
                       <div class="col-sm-12">
                          <input class="form-control" type="file"  name="volunteer_image" placeholder="Enter Description" >
                       </div>
                    </div>
                  </div>
                  <div class="col-md-12" id="img_n">
                    <div class="form-group">
                       <label for="inputEmail" class="col-sm-12 col-form-label">Image Preview </label>
                       <div class="col-sm-12">
                          <img src="<?php echo base_url(); ?><?php echo $hi_data->volunteer_image; ?>" width="100px"> 
                       </div>
                    </div>
                  </div>

                  <div class="col-md-12" id="v_url">
                    <div class="form-group">
                       <label for="inputEmail" class="col-sm-12 col-form-label">Youtube Video URL </label>
                       <div class="col-sm-12">
                          <textarea class="form-control"  name="volunteer_video" placeholder="Enter Youtube Video URL"><?php echo $hi_data->volunteer_video; ?></textarea>
                       </div>
                    </div>
                  </div>

                  <div class="col-md-12" id="v_url">
                    <div class="form-group">
                       <label for="inputEmail" class="col-sm-12 col-form-label">Description <span style="color:red">*</span></label>
                       <div class="col-sm-12">
                          <textarea class="form-control"  name="volunteer_description" placeholder="Enter Section Description" required><?php echo $hi_data->volunteer_description; ?></textarea>
                       </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">Update</button>
                    </div>
                  </div>

                   <?php echo form_close() ?>
                   

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