?
Current Path : /home1/savoy/public_html/oscarerp.com/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/oscarerp.com/application/views/master/add_nationality.php |
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); $this->load->view('documentreadyfunctions'); ?> <div class="icons_main"> <div class="icons"> <img src="<?=base_url()?>assets/images/back.png" title="Back" class="clickimage" onclick="viewdata('master','viewinmastersearch','search_nationality','view_nationality','<?=$_SESSION['pagenum'];?>')" alt="Back" align = "center" width="32" height="32" /> </div> <div class="icons_caption"> <h4>Creating new Nationality</h4> </div> </div> <?php $attributes=array('id'=>'validateform','class'=>'validate'); echo form_open('master/addinmaster/add/view_nationality/1',$attributes); $nationality_type=$this->mastermodel->getenumvalues('nationality','nationality_type'); ?> <div class="grid_6"> <div class="box"> <div class="header"> <span></span> </div> <div class="content no-padding"> <div class="section _100"> <label>Nationality Name </label> <div> <input name="nationality_name" id="nationality_name" class="required" /> </div> </div> <div class="section _100"> <label>Nationality Type </label> <div> <select name="nationality_type" id="nationality_type" class="required chzn-done"> <option value="">Select</option> <?php if (count($nationality_type['val']) > 0) { foreach ($nationality_type['val'] as $method) { echo "<option value='" . $method . "' "; echo ">" . $method . "</option>"; } } ?> </select> </div> </div> </div> <?php ?> <div class="actions"> <div class="actions-left"> <input type="reset" /> <input type="hidden" name="tab_name" value="nationality"/> <input type="hidden" name="resfunction" value="search_nationality"/> </div> <div class="actions-right"> <button type="submit" id="submit" class="clickimage" onclick="addformdata('validateform')">Save</button> </div> </div> </div> </div> <?php echo form_close();?>