?
Current Path : /home1/savoy/www/savoyeducation.com/application/views/back-end/pages/ |
Linux gator3171.hostgator.com 4.19.286-203.ELK.el7.x86_64 #1 SMP Wed Jun 14 04:33:55 CDT 2023 x86_64 |
Current File : /home1/savoy/www/savoyeducation.com/application/views/back-end/pages/edit_video.php |
<!-- main content start--> <div id="page-wrapper"> <div class="main-page"> <div class="forms"> <h3 class="title1">Videos</h3> <?php if ($this->session->flashdata('alert_info')) { ?> <div class="col-md-12 <?= $this->session->flashdata('alert_class') ?>"> <?= $this->session->flashdata('alert_info') ?> </div> <br clear="all"><br> <?php } ?> <div class="form-grids row widget-shadow" data-example-id="basic-forms"> <div class="form-title"> <h4>Edit Videos :</h4> </div> <div class="form-body"> <?php $attributes = array( 'id' => 'video_form', 'role' => 'form', 'method' => 'POST' ); echo form_open_multipart('admin/Admin_controller/update_video', $attributes); ?> <input type="hidden" name="id" value="<?php echo $videos[0]['id']; ?>"/> <div class="form-group"> <div class="col-md-2"> <label for="exampleInputFile">Video Thumb image</label> </div> <div class="col-md-10"> <input type="file" name="video_image" id="video_image" value="" > <img src="" id="imgID"/> </div> <img src="<?php echo base_url().'/uploads/video/'.$videos[0]['video_image'];?>" width="100" height="100"/> </div> <div class="form-group"> <div class="col-md-2"><label for="exampleInputFile">Video url </label> </div> <div class="col-md-10"><input type="text" name="videourl" id="videourl" value="<?php echo $videos[0]['video_url']; ?>" ></div> </div> <input type="submit" name="submit" class="btn btn-default" value="Update"> <?= form_close(); ?> </div> </div> </div> </div> </div>