?
Current Path : /home1/savoy/public_html/savoyglobal.net/sgms/application/views/Master/ |
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/sgms/application/views/Master/commonuploadform.php |
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');?> <span class="section_content_top"></span> <?php $attributes=array('class'=>'customForm','id'=>'validateform'); echo form_open_multipart('master/commonsubmitupload',$attributes); $files=$this->mastermodel->getdatas('document_category','document_category_id'); ?> <fieldset> <ul> <li> <label for="data">Document Name</label> <select class="required" name="document_type_id" id="document_type_id"> <option value="">Select</option> <?php foreach($files as $list) { ?> <option value="<?=$list['document_category_id'];?>"><?=$list['document_category_name'];?></option> <?php } ?> </select> <input type="hidden" name="master_id" value="<?=$master_id;?>"/> <input type="hidden" name="return_page" value="<?= $return_page; ?>"/> </li> <li> <label for="data">Choose File</label> <input class="text required" name="upload_file" id="upload_file" type="file" /> </li> <li> <label for="submit"> </label> <button type="submit" class="clickimage" onclick="addformdata('validateform')">Save</button> </li> </ul> </fieldset> <?php echo form_close(); ?>