?
Current Path : /home1/savoy/www/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/www/savoyglobal.net/drafthr/system/application/views/Master/addmycompany.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="viewcompany();" alt="Back" align = "center" width="25" height="25" /></label> </div> <?php $attributes = array('id' => 'customForm'); echo form_open_multipart('master/insertmycompany',$attributes);?> <fieldset> <legend>Add Company</legend> <table> <tr> <td> <label for="compname">Company Name</label> </td> <td height="55px"> <input type="text" name="companyname" id="companyname"/><br/> <span id="companynameInfo" class="red_bold">*</span> </td> </tr> <tr> <td> <label> Address</label> </td> <td> <textarea id="address" name="address"></textarea> </td> </tr> <tr> <td> <label> Telephone No</label> </td> <td> <input type="text" id="phone" name="phone"/> </td> </tr> <tr> <td> <label for="fax"> Fax</label> </td> <td> <input type="text" id="fax" name="fax"/> </td> </tr> <tr> <td> <label for="email"> E-mail</label> </td> <td> <input type="text" id="email" name="email"/> </td> </tr> <tr> <td> <label for="website"> Website</label> </td> <td> <input type="text" id="website" name="website"/> </td> </tr> <tr> <td> <label for="fisyear"> Fiscal Year</label> </td> <td> <select name="fyear" id="fyear"><option value="0">Select</option> <?php $fyear=$this->mastermodel->getdatas('fiscal_year'); if (count($fyear)) { foreach ($fyear as $key => $acc) { if($acc['closed']==1) $closed=' Closed'; else $closed=' Active'; $begin = $this->mastermodel->convdatformat($acc['begin']); $end = $this->mastermodel->convdatformat($acc['end']); echo "<option value='".$acc['id']. "' >" .$begin.' to '. $end .'-'. $closed ."</option>"; } } ?> </select><span id="fyearInfo" class="red_bold">*</span> </td> </tr> <tr> <td> <label for="logoupload">Upload Logo</label> </td> <td> <input type="file" id="logoup" name="logoup" onchange="checkfile('mycompany')"/> <span id="logoupInfo" class="red_bold">*</span> </td> </tr> </table> <li></li> <fieldset> <legend>Contact Person Details</legend> <li> <input name="addRows" value="Add More" onclick="addRowToTable();" title="Add more contact person details." class="button" type="button"> <input name="deleteRows" value="Remove" onclick="removeRowFromTable();" title="Delete the last contact person details." class="button" type="button"> </li> <li></li> <table class="sort" id="addrow" border="0" cellpadding="0" cellspacing="0" width="80%"> <tbody><tr class="red_bold" align="left" valign="top"> <th width="25%">Name</th> <th width="18%">Designation</th> <th width="18%">Direct Phone</th> <th width="24%">Mobile</th> <th width="15%">Email</th> </tr> <tr class="bold_black" align="left" valign="top"> <td><input name="txt_conName_1" id="txt_conName_1" style="width: 150px;" type="text"> <input name="hid_conCnt" id="hid_conCnt" value="3" type="hidden"></td> <td><input name="txt_conDesig_1" id="txt_conDesig_1" style="width: 100px;" type="text"></td> <td><input name="txt_conPho_1" id="txt_conPho_1" style="width: 100px;" type="text"></td> <td><input name="txt_conMob_1" id="txt_conMob_1" style="width: 100px;" type="text"></td> <td><input name="txt_conEmail_1" id="txt_conEmail_1" style="width: 150px;" type="text"></td> </tr> </tbody></table> </fieldset> <li></li> <table> <tr> <td></td> <td> <button type="submit" name="addmycomp" onclick="return validateform('companyname','fyear','logoup');" id="addmycomp"> Add </button> </td> </tr> </table> </fieldset> <?php echo form_close(); ?>