?
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/companypage.php |
<?php $attributes = array('id' => 'customForm'); echo form_open_multipart('',$attributes); if(count($company)<=0) {?> <div class="select-bar"> <label> <img src="<?=base_url()?>/assets/images/add-icon.png" title="Add New" class="clickimage" onclick="addmycompany(1)" alt="Add New" align = "top" width="25" height="25" /> <?php }else { ?> <div class="select-bar"> <label> <?php } foreach ($company as $company) { $loggo=$company['filename']; $images=base_url() .'logo/'.$loggo; ?> <img src="<?=base_url()?>/assets/images/edit-icon.gif" id="editRem" title="Edit" width="20" height="20" alt="Edit" align = "center" onclick="editmycompany(1,<?=$company['id']?>)" class="clickimage" /> <img src="<?=base_url()?>/assets/images/delete-icon.png" title="Delete" width="20" height="20" alt="Delete" class="clickimage" onclick="return confirm('Are you sure want to delete this record?'),delmycompany(2,'<?=$company['id']?>')" align = "center"/> </label> </div> <fieldset> <legend> Company Details</legend> <table style="margin-left: 90px; "> <tr> <td> <label for="compname">Company Name</label> </td> <td>:</td> <td height="30px" > <label style="color:blue;font-size: 14px;font-weight: bold" for="compname"><?=$company['company']?></label> </td> </tr> <tr> <td> <label> Address</label> </td> <td>:</td> <td height="30px"> <label for="compname"><?=nl2br($company['address'])?></label> </td> </tr> <tr> <td> <label> Telephone No</label> </td> <td>:</td> <td height="30px"> <label for="compname"><?=$company['phone']?></label> </td> </tr> <tr> <td> <label for="fax"> Fax</label> </td> <td>:</td> <td height="30px"> <label for="compname"><?=$company['fax']?></label> </td> </tr> <tr> <td> <label for="email"> E-mail</label> </td> <td>:</td> <td height="30px"> <label for="compname"><?=$company['email']?></label> </td> </tr> <tr> <td> <label for="website"> Website</label> </td> <td>:</td> <td height="30px"> <label for="compname"><?=$company['website']?></label> </td> </tr> <?php $fid=$company['fyear']; $get_dat= $this->mastermodel->get_data_srow('fiscal_year',$fid,'id'); $begind=$get_dat->begin; $clos=$get_dat->closed; $endd=$get_dat->end; if($clos==1) $act=' Closed'; else $act=' Active'; $begindat = $this->mastermodel->convdatformat($begind); $enddat = $this->mastermodel->convdatformat($endd); ?> <tr> <td> <label for="website"> Fiscal Year</label> </td> <td>:</td> <td height="30px"> <label style="width: 200px;" for="compname"><?=$begindat.' to '.$enddat.' - '.$act?></label> </td> </tr> <tr> <td> <label for="logo">Logo </label> </td> <td>:</td> <td> <img src="<?=$images?>" title="logo" width="70" height="35" alt="logo" calign = "center"/> </td> </tr> </table> <li></li> <fieldset> <legend>Contact Person Details</legend> <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> <?php $id=1; foreach ($mycompany_contact as $contact) {?> <tr class="bold_black" align="left" valign="top"> <td><?=$contact['name']?></td> <td><?=$contact['designation']?></td> <td><?=$contact['phone']?></td> <td><?=$contact['mobile']?></td> <td><?=$contact['email']?></td> </tr> <input name="hidc_<?=$id?>" id="hidc_<?=$id?>" value="<?=$contact['id']?>" type="hidden"> <?php $id++; } ?> </tbody></table> </fieldset> <li></li> </fieldset> <?php } echo form_close();?>