?
Current Path : /home1/savoy/public_html/savoyglobal.net/drafthr/system/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/drafthr/system/application/views/Master/addourbranch.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="showourbranch('1','branchname','')" alt="Back" align = "center" width="25" height="25" /></label> </div> <?php $attributes = array('id' => 'customForm'); echo form_open('master/addourbranch',$attributes); ?> <fieldset> <legend>Add Branch</legend> <table style="margin-left: 10px;"> <tr> <td> <label for="compname">Branch Name</label> </td> <td height="55px"> <input type="text" name="branchname" id="branchname" value=""/><br/> <span id="branchnameInfo" class="red_bold">*</span> </td> </tr> <tr> <td> <label for="bc">Branch Code</label> </td> <td height="55px"> <input type="text" name="code" id="code" value=""/><br/> <span id="codeInfo" class="red_bold">*</span> </td> </tr> <tr> <td height="55px"> <label> Address</label> </td> <td> <textarea id="address" name="address" value=""></textarea> </td> </tr> <tr> <td height="55px"> <label> Country</label> </td> <td> <select style="width:135px" id="country" name="country" onchange="loadcitydiv(this.value)" > <?php echo "<option value='0'>Select Country</option>"; if (count($countrys)) { foreach ($countrys as $key => $list) { echo "<option value='". $list['id'] . "'>" . $list['countryname'] . "</option>"; } } ?> </select> </td> </tr> <tr> <td height="55px"> <label> City</label> </td> <td id="loadcity"> <select style="width:135px" id="city" name="city" disabled value=""><option value="0">Select City</option> </select> <span id="cityInfo" class="red_bold">*</span> </td> </tr> <tr> <td height="55px"> <label> Telephone No</label> </td> <td> <input type="text" id="phone" name="phone" value=""/> </td> </tr> <tr> <td height="55px"> <label for="website"> Website</label> </td> <td> <input type="text" id="website" name="website" value=""/> </td> </tr> <tr> <td height="55px"> <label for="email"> E-mail</label> </td> <td> <input type="text" id="email" name="email" value=""/> </td> </tr> <tr> <td height="55px"> <label for="fax"> Fax</label> </td> <td> <input type="text" id="fax" name="fax" value=""/> </td> </tr> <tr> <td height="55px"> <label for="foot"> Footer</label> </td> <td> <textarea id="footers" name="footers" value=""></textarea> </td> </tr> <tr> <td></td> <td height="55px"> <button type="submit" name="addourbranch" onclick="return validateform('branchname','code','city');" id="addourbranch"> Add Branch </button> </td> </tr> </table> </fieldset> <?php echo form_close(); ?> <div id="resultdiv" style="display: none"></div>