?
Current Path : /home1/savoy/public_html/unova.in/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/unova.in/application/views/admin/update_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</span></h2> <div class="module-body" > <form id="validateform" class="formnew" action="<?=site_url();?>/admin/update_gallery" method="post"> <p> <label>Image</label> <input type="hidden" name="id" value="<?php echo $gallery->id; ?>" class="input-medium" /> <img width="25" height="25" src="<?=base_url()?>/assets/images/gallery/thumbs/<?=$gallery->thumbnail;?>" alt="" /> </p> <p> <label>Directory Name</label> <select name="directory_id" id="directory_id" class="required"> <?php $directories = $this->mastermodel->getdir(); ?> <option value="">Select</option> <?php foreach ($directories->result_array() as $dir) { ?> <option value="<?=$dir['directory_id'];?>"<?php if ($dir['directory_id'] == $gallery->directory_id){echo "selected";}?>><?=$dir['directory_name'];?></option> <?php } ?> </select> </p> <p> <label>Image Title</label> <input type="text" name="title" value="<?php echo $gallery->title; ?>" id="title" class="input-medium" /> </p> <p> <label>sort</label> <input type="text" name="sort" id="sort" class="input-short required number" value="<?php echo $gallery->sort; ?>" /> <input type="hidden" name="actsort" id="actsort" class="input-short" value="<?php echo $gallery->sort; ?>" /> </p> <fieldset> <input class="submit-green" type="submit" value="Submit" name="savep" onclick="addformdata('validateform')" /> </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>