?
Current Path : /home1/savoy/public_html/savoyglobal.net/hr/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/hr/application/views/Master/edit_trade.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_trade','view_trade','<?=$_SESSION['pagenum'];?>')" alt="Back" align = "center" width="25" height="25" /> </label> <span class="heading">Updating Trade</span> </div> <fieldset> <?php $attributes=array('id'=>'validateform','class'=>'customForm'); echo form_open('master/addinmaster/update/view_trade/1',$attributes);?> <ul> <li> <label for="data">Trade Name</label> <?php $data = array( 'name' => 'trade_name', 'id' => 'trade_name', 'class' => 'required', 'value' => $viewinfo->trade_name ); echo form_input($data).form_error($data); ?> </li> <li> <label for="data">Training Required</label> <select name="trade_training" id="trade_training" class="required"> <option value="">Select</option> <option <?php if ($viewinfo->trade_training == '0') echo "selected"; ?> value="0">No</option> <option <?php if ($viewinfo->trade_training == '1') echo "selected"; ?> value="1">Yes</option> </select> <input type="hidden" name="tab_name" value="trade"/> <input type="hidden" name="tab_id" value="<?=$id;?>"/> <input type="hidden" name="tab_field" value="trade_id"/> <input type="hidden" name="resfunction" value="search_trade"/> </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>