?
Current Path : /home1/savoy/public_html/savoyglobal.net/application/views/admin/ |
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/public_html/savoyglobal.net/application/views/admin/edit_gallery.php |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <?php $this->load->view('admin/header'); ?> <body> <?php $this->load->view('admin/menu'); $this->load->view('admin/jsfunctions'); ?> <div class="container_12"> <!-- Example table --> <!-- Form elements --> <div class="grid_12"> <div class="module"> <h2><span>Update Gallery Details</span></h2> <div class="module-body"> <form id="validateform" class="formnew" action="<?=site_url();?>/admin/update_gallery/" method="post"> <p> <label>Directory Name</label> <select class="input-medium" name="directory_id" id="directory_id"> <option value="">--Select--</option> <?php $directory = $this->mastermodel->getdatas1('directory'); foreach ($directory as $list) { ?> <option value="<?= $list['directory_id'] ?>"<?php if ($list['directory_id'] == $gallery->directory_id) { echo 'selected'; } ?>><?= $list['directory_name'] ?></option> <?php } ?> </select> </p> <p> <label>Sort</label> <input type="number" name="gallery_sort" value="<?=$gallery->gallery_sort;?>" id="gallery_sort" class="input-medium" /> </p> <p> <img width="120" height="80" src="<?=base_url()?>/assets/uploads/gallery/<?=$gallery->gallery_image;?>" alt="" /> </p> <fieldset> <input class="submit-green" type="submit" value="Submit" name="savep" onclick="addformdata('validateform')" /> <input type="hidden" name="gallery_id" id="gallery_id" value="<?=$gallery->gallery_id;?>"/> </fieldset> </form> </div> <!-- End .module-body --> </div> <!-- End .module --> <div style="clear:both;"></div> </div> <!-- End .grid_12 --> <div style="clear:both;"></div> </div> <!-- End .container_12 --> <?php $this->load->view('admin/footer'); ?> </body> </html>