%PDF-1.7 GIF89;
Server IP : 5.161.254.237 / Your IP : 216.73.216.162 Web Server : Apache System : Linux diamond.sialwebvps.com 4.18.0-553.8.1.el8_10.x86_64 #1 SMP Tue Jul 2 07:26:33 EDT 2024 x86_64 User : stellasp ( 1131) PHP Version : 7.4.33 Disable Function : exec,passthru,shell_exec,system MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /home/stellasp/www/application/views/admin/ |
Upload File : |
<?php include('header.php'); ?> <script type="text/javascript"> function areyousure() { return confirm('<?php echo lang('confirm_delete_address');?>'); } </script> <div class="button_set"> <a href="<?php echo site_url($this->config->item('admin_folder').'/customers/address_form/'.$customer->id);?>"><?php echo lang('add_new_address');?></a> </div> <table class="gc_table" cellspacing="0" cellpadding="0"> <thead> <tr> <th class="gc_cell_left"><?php echo lang('name');?>/<?php echo lang('company');?></th> <th><?php echo lang('contact');?></th> <th><?php echo lang('address');?></th> <th><?php echo lang('locality');?></th> <th><?php echo lang('country');?></th> <th class="gc_cell_right"></th> </tr> </thead> <tbody> <?php echo (count($addresses) < 1)?'<tr><td style="text-align:center;" colspan="6">'.lang('no_addresses').'</td></tr>':''?> <?php foreach ($addresses as $address): $f = $address['field_data']; ?> <tr> <td> <?php echo $f['lastname']; ?>, <?php echo $f['firstname']; ?> <?php echo (!empty($f['company']))?'<br/>'.$f['company']:'';?> </td> <td> <?php echo $f['phone']; ?><br/> <a href="mailto:<?php echo $f['email'];?>"><?php echo $f['email']; ?></a> </td> <td> <?php echo $f['address1'];?> <?php echo (!empty($f['address2']))?'<br/>'.$f['address2']:'';?> </td> <td> <?php echo $f['city'];?>, <?php echo $f['zone'];?> <?php echo $f['zip'];?> </td> <td><?php echo $f['country'];?></td> <td class="gc_cell_right list_buttons"> <a href="<?php echo site_url($this->config->item('admin_folder').'/customers/delete_address/'.$customer->id.'/'.$address['id']);?>" onclick="return areyousure();"><?php echo lang('delete');?></a> <a href="<?php echo site_url($this->config->item('admin_folder').'/customers/address_form/'.$customer->id.'/'.$address['id']);?>"><?php echo lang('edit');?></a> </td> </tr> <?php endforeach; ?> </tbody> </table> <?php include('footer.php');