403Webshell
Server IP : 85.158.181.41  /  Your IP : 216.73.217.12
Web Server : Apache
System : Linux cloud9-vm129 6.1.178+1-ph #ph SMP PREEMPT_DYNAMIC Wed Jul 29 09:00:54 UTC 2026 x86_64
User : moncbefd ( 1024)
PHP Version : 7.3.33
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/moncbefd/www.moneta.at/inc/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/moncbefd/www.moneta.at//inc/xtc_validate_vatid_status.inc.php
<?php
/* -----------------------------------------------------------------------------------------
   $Id: xtc_validate_vatid_status.inc.php 899 2005-04-29 02:40:57Z hhgag $

   XT-Commerce - community made shopping
   http://www.xt-commerce.com

   Copyright (c) 2003 XT-Commerce
   -----------------------------------------------------------------------------------------
   Released under the GNU General Public License
   ---------------------------------------------------------------------------------------*/

// Return all status info values for a customer_id in catalog, need to check session registered customer or will return dafault guest customer status value !
function xtc_validate_vatid_status($customer_id) {

    $customer_status_query = xtc_db_query("select customers_vat_id_status FROM " . TABLE_CUSTOMERS . " where customers_id='" . (int)$customer_id . "'");
    $customer_status_value = xtc_db_fetch_array($customer_status_query);

    if ($customer_status_value['customers_vat_id_status'] == '0'){
    $value = TEXT_VAT_FALSE;
    }

    if ($customer_status_value['customers_vat_id_status'] == '1'){
    $value = TEXT_VAT_TRUE;
    }

    if ($customer_status_value['customers_vat_id_status'] == '8'){
    $value = TEXT_VAT_UNKNOWN_COUNTRY;
    }

    if ($customer_status_value['customers_vat_id_status'] == '9'){
    $value = TEXT_VAT_UNKNOWN_ALGORITHM;
    }

   return $value;
}
 ?>

Youez - 2016 - github.com/yon3zu
LinuXploit