?
Current Path : /home1/savoy/public_html/savoyglobal.net/koaladraft/application/views/franchisee/ |
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/koaladraft/application/views/franchisee/add_franchisee.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('franchisee','viewinfranchiseesearch','search_franchisee','view_franchisee','<?=$_SESSION['pagenum'];?>')" alt="Back" align = "center" width="32" height="32" /> </div> <div class="icons_caption"> <h4>Creating New Franchisee</h4> </div> </div> <?php $course=$this->mastermodel->getdatas('course','course_id'); $attributes=array('id'=>'validateform','class'=>'validate'); echo form_open('franchisee/addinfranchisee/insert_franchisee/view_franchisee/1',$attributes); $franchisee_code=$this->mastermodel->get_franchisee_number(); ?> <div class="grid_6"> <div class="box"> <div class="header main">Franchisee Details </div> <div class="content no-padding"> <div class="section _100"> <label>Franchisee Code</label> <div> <input name="franchisee_code" id="franchisee_code" class="required" type="text" readonly="readonly" value="<?=$franchisee_code?>"/> </div> </div> <div class="section _100"> <label>Franchisee Name</label> <div> <input name="franchisee_name" id="franchisee_name" class="required" type="text" /> </div> </div> <div class="section _100"> <label>Address </label> <div> <textarea name="franchisee_address" id="franchisee_address" type="text"></textarea> </div> </div> <div class="section _100"> <label>Contact No</label> <div> <input name="franchisee_contact_no" id="franchisee_contact_no" type="text" /> </div> </div> <div class="section _100"> <label>Email</label> <div> <input name="franchisee_email" id="franchisee_email" type="text" /> </div> </div> <div class="section _100"> <label>Website</label> <div> <input name="franchisee_website" id="franchisee_website" type="text" /> </div> </div> <div class="section _100"> <label>Remarks </label> <div> <textarea name="franchisee_remarks" id="franchisee_remarks" type="text"></textarea> </div> </div> </div> </div> </div> <div class="grid_6"> <div class="box"> <div class="content no-padding"> <div class="header main"> Course Details</div> <table class="table"> <tr> <th>Course</th> <th>Remarks</th> <th><input type="button" id="button2" value="Add More" class="addRow" title="Add Row" style="width:75px;"/></th> </tr> <tr> <td> <select name="course_id" id="course_id" class="chzn-done" > <option value=''>Select</option> <?php foreach($course as $list) { ?> <option value="<?=$list['course_id']?>"><?=$list['course_name']?></option> <?php } ?> </select></td> <td><textarea name="franchisee_course_remarks" id="franchisee_course_remarks" type="text"></textarea></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> <div class="grid_12"> <div class="box"> <div class="content no-padding"> <div class="header main"> Contact Details</div> <table class="table"> <tr> <th>Contact Person Name</th> <th>Designation</th> <th>Contact No</th> <th>Email</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="franchisee_contact_person_name" id="franchisee_contact_person_name"/></td> <td><input class="w_90" type="text" name="franchisee_contact_address" id="franchisee_contact_address"/></td> <td><input class="w_90" type="text" name="franchisee_contact_no" id="franchisee_contact_no"/></td> <td><input class="w_90" type="text" name="franchisee_contact_email" id="franchisee_contact_email"/></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> <?php ?> <div class="grid_12" > <div class="box"> <div class="actions"> <div class="actions-left"> <input type="reset"> </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();?>