?
Current Path : /home1/savoy/public_html/savoyglobal.net/rms/application/views/hr/ |
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/rms/application/views/hr/add_tool_kit.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('hr','viewinhrsearch','search_tool_kit','view_tool_kit','<?=$_SESSION['pagenum'];?>')" alt="Back" /> </div> <div class="icons_caption"> <h4>Creating Tool Kit</h4> </div> </div> <?php $attributes=array('id'=>'validateform','class'=>'validate'); echo form_open('hr/addinhr/insert_tool_kit/view_tool_kit/1',$attributes); $designation=$this->mastermodel->getdatas('designation','designation_id'); foreach($designation as $desg) { $desg['designation_id']; } ?> <div class="clean"></div> <div class="grid_6"> <div class="box"> <div class="header main">Tools</div> <div class="content no-padding"> <div class="section _100"> <label>Designation</label> <div style="margin:10px 1px;"> <select name="designation_id" id="designation_id" class="required chzn-done" > <option value="">Select</option> <?php $designation=$this->mastermodel->getdatas('designation','designation_id'); foreach($designation as $desg) { $designation_toolkit=$this->mastermodel->get_num_rows('tool_kit','designation_id',$desg['designation_id']); if($designation_toolkit < 1) { echo "<option value='". $desg['designation_id'] . "' >" . $desg['designation_name']. "</option>"; } // } ?> </select> </div> </div> <div class="grid_12"> <div class="box"> <div></div> <table class="table"> <tr> <th><label>Tool Name</label></th> <th><input type="button" id="button2" value="Add More" class="addRow" title="Add Row" style="width:75px;"/></th> </tr> <tr> <td><input class="w_90" type="text" name="tool_name" id="tool_name"/></td> <td> <img style="float: right; vertical-align: top;"src="<?=base_url()?>assets/images/icons/close.png" alt="Delete Row" class="delRow clickimage" title="Delete Row"/></td> </tr> </table> </div> </div> <div class="actions"> <div class="actions-left"> <input type="reset"> </div> <div class="actions-right"> <button style="margin-left: 130px;" type="submit" id="submit" class="clickimage" onclick="addformdata('validateform')">Save</button> </div> </div> <?php echo form_close();?> </div> </div> </div>