<?php
$this->load->view("top_application");
?>
<section>
  <div class="tz">
    <!--LEFT SECTION-->
    <div class="tz-l">      
      <?php $this->load->view("members/left"); ?>
    </div>
    <!--CENTER SECTION-->
    <div class="tz-4">
      <div class="tz-2-com tz-2-main">
        <h4>Update Video</h4>
        <div class="db-list-com tz-db-table">
          <div class="ds-boar-title">
            <h2>Update Video</h2>
          </div>
          <div class="hom-cre-acc-left hom-cre-acc-right">
            <div class="">
              <?php
              echo validation_message();
              ?>
              <form action="" enctype="multipart/form-data" method="post" class="">
                <div class="row">
                  <div class="input-field col s12">
                    <input id="video_text" name="video_text" value="<?php echo set_value('video_text', $res->video_text); ?>" required type="text" class="validate">
                    <label for="banner_text">Video Caption*</label>
                  </div>                  
                </div>
                <div class="row">
                  <div class="input-field col s6">
                    <input id="video_image" name="video_image" value="<?php echo set_value('video_image', $res->video_image); ?>" required type="text" class="validate">
                    <label for="video_image">Youtube Video Link*</label>
                  </div>
                  <div class="input-field col s6">
                    <a href="javascript:void(0);" class="modal-dialog modal-lg" data-toggle="modal" data-target="#myYoutubeModal"><img src="<?php echo theme_url(); ?>images/youtube-help.jpg" id="" class="profile_picture" width="" height="100" /></a>
                    <div id="myYoutubeModal" class="modal fade" role="dialog">
                      <div class="modal-dialog">
                        <!-- Modal content-->
                        <div class="modal-content">
                          <div class="modal-body">
                            <img src="<?php echo theme_url(); ?>images/youtube-help.jpg" id="" class="profile_picture" width="575" />
                          </div>
                          <div class="modal-footer">
                            <button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
                          </div>
                        </div>
                      </div>
                    </div>
                  </div>
                </div>

                <div class="row">
                  <div class="input-field col s12 v2-mar-top-60"> <button type="submit" class="waves-effect waves-light btn-large full-btn" >Update Video</button> </div>
                </div>
              </form>
            </div>
          </div>
        </div>
      </div>
    </div>
 
  </div>
</section>
<?php $this->load->view("bottom_application"); ?>