?
Current Path : /home1/savoy/public_html/savoyglobal.net/rms/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/rms/application/views/master/add_agent.php |
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); $this->load->view('documentreadyfunctions'); $location=$this->mastermodel->getdatas('location','location_id','asc','location_id'); $status=$this->mastermodel->getenumvalues('agent', 'status'); ?> <div class="icons_main"> <div class="icons"> <img src="<?=base_url()?>assets/images/back.png" title="Back" class="clickimage" onclick="viewdata('master','viewinmastersearch','search_agent','view_agent','<?=$_SESSION['pagenum'];?>')" alt="Back" align = "center" width="32" height="32" /> </div> <div class="icons_caption"> <h4>Creating new Agent Details</h4> </div> </div> <?php $attributes=array('id'=>'validateform','class'=>'validate'); echo form_open('master/addinmaster/insert_agent/view_agent/1',$attributes); ?> <div class="grid_6"> <div class="box"> <div class="header"> <span></span> </div> <div class="content no-padding"> <div class="section _100"> <label>Agent Name </label> <div> <input name="agent_name" id="agent_name" class="required" > </div> </div> <div class="section _100"> <label> Code </label> <div> <label>Auto - Gen Code </label> </div> </div> <div class="section _100"> <label> Contact Number </label> <div> <input name="contact_no" id="contact_no" class="required" > </div> </div> <div class="section _100"> <label> E Mail </label> <div> <input name="e_mail" id="e_mail" class="mail" > </div> </div> </div> </div> </div> <div class="grid_6"> <div class="box"> <div class="header"> </div> <div class="content no-padding"> <div class="section _100"> <label> Status </label> <div style="margin-top: 6px;"> <select name="status" class="required chzn-done"> <option value="">Select</option> <?php foreach($status['val'] as $list) { ?> <option value=<?=$list?>><?=$list?></option> <?php } ?> </select> </div> </div> <div class="section _100"> <label> Location </label> <div style="margin-top: 6px;"> <select name="location" class="required" id="location"> <option value="">--Select--</option> <?php foreach ($location as $list) { ?> <option value="<?=$list['location_id']?>"><?=$list['location_name']?></option> <?php } ?> </select> </div> </div> <div class="section _100"> <label>Address</label> <div> <textarea name="address" id="address"></textarea> </div> </div> <div class="section _100"> <label>Comments</label> <div> <textarea name="comments" id="comments"></textarea> </div> </div> </div> <div class="actions"> <div class="actions-left"> <input type="reset"> <input type="hidden" name="resfunction" value="search_agent"/> </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();?>