?
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/add_training_module.php |
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');?> <div class="select-bar"> <label><img src="<?=base_url()?>assets/images/backbutton.png" title="Back" class="clickimage" onclick="viewdata('master','viewinmastersearch','search_training_module','view_training_module','<?=$_SESSION['pagenum'];?>')" alt="Back" align = "center" width="25" height="25" /> </label> <span class="heading">Creating new Training Module</span> </div> <fieldset> <?php $trade_list=$this->mastermodel->get_data('trade','1','trade_training','trade_id'); $attributes=array('id'=>'validateform','class'=>'customForm'); echo form_open('master/addinmaster/add/view_training_module/1',$attributes); ?> <ul> <li> <label for="data">Trade Name</label> <select name="trade_id" id="trade_id" class="required">> <option value="">Select</option> <?php foreach($trade_list as $trade) { echo "<option value='". $trade['trade_id'] . "'>" . $trade['trade_name'] . "</option>"; } ?> </select> </li> <li> <label for="data">Type of Training</label> <?php $data = array( 'name' => 'training_type', 'id' => 'training_type', 'class' =>'required' ); echo form_input($data).form_error($data); ?> <input type="hidden" name="tab_name" value="training_module"/> <input type="hidden" name="resfunction" value="search_training_module"/> </li> <li> <label for="submit"> </label> <button type="submit" id="submit" class="clickimage" onclick="addformdata('validateform')">Save</button> </li> </ul> <?php echo form_close();?> </fieldset>