WPZ

/ data / web / 1 / 000 / 076 / 129 / 313906 / htdocs / styroporzuschnitte24_shop / admin / [dxwrx-rx-r]
berkas terminal database massal sistem
/data/web/1/000/076/129/313906/htdocs/styroporzuschnitte24_shop/admin/backup.php (26.38 KB)
<?php
/* --------------------------------------------------------------
   backup.php 2011-11-10 gambio
   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(backup.php,v 1.57 2003/03/22); www.oscommerce.com 
   (c) 2003	 nextcommerce (backup.php,v 1.11 2003/08/2); www.nextcommerce.org
   (c) 2003 XT-Commerce - community made shopping http://www.xt-commerce.com ($Id: backup.php 1023 2005-07-14 11:41:37Z novalis $)

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

  // BOF GM_MOD
  if(function_exists('ini_set')){
  	@ini_set("max_execution_time", "600");
  	@ini_set("memory_limit", "128M");
  }
  // EOF GM_MOD

  require('includes/application_top.php');

  if ($_GET['action']) {
    switch ($_GET['action']) {
      case 'forget':
        xtc_db_query("delete from " . TABLE_CONFIGURATION . " where configuration_key = 'DB_LAST_RESTORE'");
        $messageStack->add_session(SUCCESS_LAST_RESTORE_CLEARED, 'success');
        xtc_redirect(xtc_href_link(FILENAME_BACKUP));
        break;
      case 'backupnow':
        @xtc_set_time_limit(0);
        $schema = '# XT-Commerce' . "\n" .
                  '# http://www.xt-commerce.com' . "\n" .
                  '#' . "\n" .
                  '# Database Backup For ' . STORE_NAME . "\n" . 
                  '# Copyright (c) ' . date('Y') . ' ' . STORE_OWNER . "\n" .
                  '#' . "\n" .
                  '# Database: ' . DB_DATABASE . "\n" .
                  '# Database Server: ' . DB_SERVER . "\n" . 
                  '#' . "\n" .
                  '# Backup Date: ' . date(PHP_DATE_TIME_FORMAT) . "\n\n";
        $tables_query = xtc_db_query('show tables');
        while ($tables = xtc_db_fetch_array($tables_query)) {
          list(,$table) = each($tables);
          $schema .= 'drop table if exists ' . $table . ';' . "\n" .
                     'create table ' . $table . ' (' . "\n";
          $table_list = array();
          $fields_query = xtc_db_query("show fields from " . $table);
          // BOF GM_MOD
					$gm_check = false;
					while ($fields = xtc_db_fetch_array($fields_query)) {
            if($gm_check) $schema .= ',' . "\n";
            $gm_check = true;
            $table_list[] = $fields['Field'];
            $schema .= '  ' . $fields['Field'] . ' ' . $fields['Type'];
            if (strlen($fields['Default']) > 0){
				if($fields['Default'] != 'CURRENT_TIMESTAMP') $schema .= ' default \'' . $fields['Default'] . '\'';
            	else $schema .= ' not null default CURRENT_TIMESTAMP on update CURRENT_TIMESTAMP';
            }
            if ($fields['Null'] != 'YES' && $fields['Default'] != 'CURRENT_TIMESTAMP') $schema .= ' not null';
            if (isset($fields['Extra'])) $schema .= ' ' . $fields['Extra'];
          }
          $gm_check = false;
					// EOF GM_MOD
					
          // Add the keys
          $index = array();
          $keys_query = xtc_db_query("show keys from " . $table);
          while ($keys = xtc_db_fetch_array($keys_query)) {

			//NC_MOD:
			if($keys['Index_type'] == "FULLTEXT") continue;

            $kname = $keys['Key_name'];
            if (!isset($index[$kname])) {
              $index[$kname] = array('unique' => !$keys['Non_unique'],
                                     'columns' => array());
            }
            $index[$kname]['columns'][] = $keys['Column_name'];
          }
          while (list($kname, $info) = each($index)) {
            $schema .= ',' . "\n";
            $columns = implode($info['columns'], ', ');
            if ($kname == 'PRIMARY') {
              $schema .= '  PRIMARY KEY (' . $columns . ')';
            } elseif ($info['unique']) {
              $schema .= '  UNIQUE ' . $kname . ' (' . $columns . ')';
            } else {
              $schema .= '  KEY ' . $kname . ' (' . $columns . ')';
            }
          }
          $schema .= "\n" . ');' . "\n\n";

          // Dump the data
          $rows_query = xtc_db_query("select `" . implode('`,`', $table_list) . "` from " . $table);
          while ($rows = xtc_db_fetch_array($rows_query)) {
            $schema_insert = 'insert into ' . $table . ' (' . implode(', ', $table_list) . ') values (';
            reset($table_list);
            
           $gm_row_values = array();
           while (list(,$i) = each($table_list)) {
              if (!isset($rows[$i])) {
                $gm_row_values[] = 'NULL';
              } elseif ($rows[$i] != '') {
                $gm_row_values[] = "'".addslashes($rows[$i])."'";
              } else {
                $gm_row_values[] = "''";
              }
            }
            
            $schema_insert .= implode(", ", $gm_row_values) . ');' . "\n";
            $schema .= $schema_insert;
          }
          $schema .= "\n";
        }

		$t_sql = "SELECT VERSION() AS version";
		$t_result = @mysql_query($t_sql);
		$t_result_array = @mysql_fetch_array($t_result);

		if(isset($t_result_array['version']))
		{
			if(version_compare($t_result_array['version'], '4.1') >= 0)
			{
				$schema .= "\nALTER TABLE `content_manager` CHANGE `gm_url_keywords` `gm_url_keywords` VARCHAR( 255 ) CHARACTER SET latin1 COLLATE latin1_general_cs NOT NULL;\n
ALTER TABLE `categories_description` CHANGE `gm_url_keywords` `gm_url_keywords` VARCHAR( 255 ) CHARACTER SET latin1 COLLATE latin1_general_cs NOT NULL;\n
ALTER TABLE `products_description` CHANGE `gm_url_keywords` `gm_url_keywords` VARCHAR( 255 ) CHARACTER SET latin1 COLLATE latin1_general_cs NOT NULL;\n";
			}
		}

        if ($_POST['download'] == 'yes') {
          $backup_file = 'db_' . DB_DATABASE . '-' . date('YmdHis') . '.sql';
          switch ($_POST['compress']) {
            case 'no':
              header('Content-type: application/x-octet-stream');
              header('Content-disposition: attachment; filename=' . $backup_file);
              echo $schema;
              exit;
              break;
            case 'gzip':
              if ($fp = fopen(DIR_FS_BACKUP . $backup_file, 'w')) {
                fputs($fp, $schema);
                fclose($fp);
                exec(LOCAL_EXE_GZIP . ' ' . DIR_FS_BACKUP . $backup_file);
                $backup_file .= '.gz';
              }
              if ($fp = fopen(DIR_FS_BACKUP . $backup_file, 'rb')) {
                $buffer = fread($fp, filesize(DIR_FS_BACKUP . $backup_file));
                fclose($fp);
                unlink(DIR_FS_BACKUP . $backup_file);
                header('Content-type: application/x-octet-stream');
                header('Content-disposition: attachment; filename=' . $backup_file);
                echo $buffer;
                exit;
              }
              break;
            case 'zip':
              if ($fp = fopen(DIR_FS_BACKUP . $backup_file, 'w')) {
                fputs($fp, $schema);
                fclose($fp);
                exec(LOCAL_EXE_ZIP . ' -j ' . DIR_FS_BACKUP . $backup_file . '.zip ' . DIR_FS_BACKUP . $backup_file);
                unlink(DIR_FS_BACKUP . $backup_file);
                $backup_file .= '.zip';
              }
              if ($fp = fopen(DIR_FS_BACKUP . $backup_file, 'rb')) {
                $buffer = fread($fp, filesize(DIR_FS_BACKUP . $backup_file));
                fclose($fp);
                unlink(DIR_FS_BACKUP . $backup_file);
                header('Content-type: application/x-octet-stream');
                header('Content-disposition: attachment; filename=' . $backup_file);
                echo $buffer;
                exit;
              }
          }
        } else {
          $backup_file = DIR_FS_BACKUP . 'db_' . DB_DATABASE . '-' . date('YmdHis') . '.sql';
          if ($fp = fopen($backup_file, 'w')) {
            fputs($fp, $schema);
            fclose($fp);
            switch ($_POST['compress']) {
              case 'gzip':
                exec(LOCAL_EXE_GZIP . ' ' . $backup_file);
                break;
              case 'zip':
                exec(LOCAL_EXE_ZIP . ' -j ' . $backup_file . '.zip ' . $backup_file);
                unlink($backup_file);
            }
          }
          $messageStack->add_session(SUCCESS_DATABASE_SAVED, 'success');
        }
        xtc_redirect(xtc_href_link(FILENAME_BACKUP));
        break;
      case 'restorenow':
      case 'restorelocalnow':
        @xtc_set_time_limit(0);

        if ($_GET['action'] == 'restorenow') {
          $read_from = $_GET['file'];
          if (file_exists(DIR_FS_BACKUP . $_GET['file'])) {
            $restore_file = DIR_FS_BACKUP . $_GET['file'];
            $extension = substr($_GET['file'], -3);
            if ( ($extension == 'sql') || ($extension == '.gz') || ($extension == 'zip') ) {
              switch ($extension) {
                case 'sql':
                  $restore_from = $restore_file;
                  $remove_raw = false;
                  break;
                case '.gz':
                  $restore_from = substr($restore_file, 0, -3);
                  exec(LOCAL_EXE_GUNZIP . ' ' . $restore_file . ' -c > ' . $restore_from);
                  $remove_raw = true;
                  break;
                case 'zip':
                  $restore_from = substr($restore_file, 0, -4);
                  exec(LOCAL_EXE_UNZIP . ' ' . $restore_file . ' -d ' . DIR_FS_BACKUP);
                  $remove_raw = true;
              }

              if ( ($restore_from) && (file_exists($restore_from)) && (filesize($restore_from) > 15000) ) {
                $fd = fopen($restore_from, 'rb');
                $restore_query = fread($fd, filesize($restore_from));
                fclose($fd);
              }
            }
          }
        } elseif ($_GET['action'] == 'restorelocalnow') {
          $sql_file = new upload('sql_file');

          if ($sql_file->parse() == true) {
            $restore_query = fread(fopen($sql_file->tmp_filename, 'r'), filesize($sql_file->tmp_filename));
            $read_from = $sql_file->filename;
          }
        }

        if ($restore_query) {
          $sql_array = array();
          $sql_length = strlen($restore_query);
          $pos = strpos($restore_query, ';');
          for ($i=$pos; $i<$sql_length; $i++) {
            if ($restore_query[0] == '#') {
              $restore_query = ltrim(substr($restore_query, strpos($restore_query, "\n")));
              $sql_length = strlen($restore_query);
              $i = strpos($restore_query, ';')-1;
              continue;
            }
            if ($restore_query[($i+1)] == "\n") {
              for ($j=($i+2); $j<$sql_length; $j++) {
                if (trim($restore_query[$j]) != '') {
                  $next = substr($restore_query, $j, 7);
                  if ($next[0] == '#') {
// find out where the break position is so we can remove this line (#comment line)
                    for ($k=$j; $k<$sql_length; $k++) {
                      if ($restore_query[$k] == "\n") break;
                    }
                    $query = substr($restore_query, 0, $i+1);
                    $restore_query = substr($restore_query, $k);
// join the query before the comment appeared, with the rest of the dump
                    $restore_query = $query . $restore_query;
                    $sql_length = strlen($restore_query);
                    $i = strpos($restore_query, ';')-1;
                    continue 2;
                  }
                  break;
                }
              }
              if ($next == '') { // get the last insert query
                $next = 'insert';
              }
              if ( strpos(strtolower($next), 'create') !== false ||
					strpos(strtolower($next), 'insert') !== false ||
					strpos(strtolower($next), 'drop t') !== false  ||
					strpos(strtolower($next), 'alter t') !== false )
			  {
                $next = '';
                $sql_array[] = substr($restore_query, 0, $i);
                $restore_query = ltrim(substr($restore_query, $i+1));
                $sql_length = strlen($restore_query);
                $i = strpos($restore_query, ';')-1;
              }
            }
          }

          xtc_db_query("drop table if exists address_book, admin_access,banktransfer,content_manager,address_format, banners, banners_history, categories, categories_description, configuration, configuration_group, counter, counter_history, countries, currencies, customers, customers_basket, customers_basket_attributes, customers_info, languages, manufacturers, manufacturers_info, orders, orders_products, orders_status, orders_status_history, orders_products_attributes, orders_products_download, products, products_attributes, products_attributes_download, prodcts_description, products_options, products_options_values, products_options_values_to_products_options, products_to_categories, reviews, reviews_description, sessions, specials, tax_class, tax_rates, geo_zones, whos_online, zones, zones_to_geo_zones");
          for ($i = 0, $n = sizeof($sql_array); $i < $n; $i++) {
            xtc_db_query($sql_array[$i]);
          }

          xtc_db_query("delete from " . TABLE_CONFIGURATION . " where configuration_key = 'DB_LAST_RESTORE'");
	  xtc_db_query("insert into " . TABLE_CONFIGURATION . " (configuration_key,configuration_value,configuration_group_id) values ('DB_LAST_RESTORE', '" . $read_from . "','6')");

          if ($remove_raw) {
            unlink($restore_from);
          }
        }

        $messageStack->add_session(SUCCESS_DATABASE_RESTORED, 'success');
        xtc_redirect(xtc_href_link(FILENAME_BACKUP));
        break;
      case 'download':
        $extension = substr($_GET['file'], -3);
        if ( ($extension == 'zip') || ($extension == '.gz') || ($extension == 'sql') ) {
          if ($fp = fopen(DIR_FS_BACKUP . $_GET['file'], 'rb')) {
            $buffer = fread($fp, filesize(DIR_FS_BACKUP . $_GET['file']));
            fclose($fp);
            header('Content-type: application/x-octet-stream');
            header('Content-disposition: attachment; filename=' . $_GET['file']);
            echo $buffer;
            exit;
          }
        } else {
          $messageStack->add(ERROR_DOWNLOAD_LINK_NOT_ACCEPTABLE, 'error');
        }
        break;
      case 'deleteconfirm':
        if (strstr($_GET['file'], '..')) xtc_redirect(xtc_href_link(FILENAME_BACKUP));

        xtc_remove(DIR_FS_BACKUP . '/' . $_GET['file']);
        if (!$xtc_remove_error) {
          $messageStack->add_session(SUCCESS_BACKUP_DELETED, 'success');
          xtc_redirect(xtc_href_link(FILENAME_BACKUP));
        }
        break;
    }
  }

// check if the backup directory exists
  $dir_ok = false;
  if (is_dir(DIR_FS_BACKUP)) {
    $dir_ok = true;
    if (!is_writeable(DIR_FS_BACKUP)) $messageStack->add(ERROR_BACKUP_DIRECTORY_NOT_WRITEABLE, 'error');
  } else {
    $messageStack->add(ERROR_BACKUP_DIRECTORY_DOES_NOT_EXIST, 'error');
  }
?>
<!doctype html public "-//W3C//DTD HTML 4.01 Transitional//EN">
<html <?php echo HTML_PARAMS; ?>>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=<?php echo $_SESSION['language_charset']; ?>"> 
<title><?php echo TITLE; ?></title>
<link rel="stylesheet" type="text/css" href="includes/stylesheet.css">
</head>
<body marginwidth="0" marginheight="0" topmargin="0" bottommargin="0" leftmargin="0" rightmargin="0" bgcolor="#FFFFFF">
<!-- header //-->
<?php require(DIR_WS_INCLUDES . 'header.php'); ?>
<!-- header_eof //-->

<!-- body //-->
<table border="0" width="100%" cellspacing="2" cellpadding="2">
  <tr>
    <td class="columnLeft2" width="<?php echo BOX_WIDTH; ?>" valign="top"><table border="0" width="<?php echo BOX_WIDTH; ?>" cellspacing="1" cellpadding="1" class="columnLeft">
<!-- left_navigation //-->
<?php require(DIR_WS_INCLUDES . 'column_left.php'); ?>
<!-- left_navigation_eof //-->
    </table></td>
<!-- body_text //-->
    <td class="boxCenter" width="100%" valign="top"><table border="0" width="100%" cellspacing="0" cellpadding="2">
      <tr>
        <td width="100%">
			<div class="pageHeading" style="background-image:url(images/gm_icons/hilfsprogr1.png)"><?php echo HEADING_TITLE; ?></div>
			<br />
		</td>
      </tr>
      <tr>
        <td><table border="0" width="100%" cellspacing="0" cellpadding="0">
          <tr>
            <td valign="top"><table border="0" width="100%" cellspacing="0" cellpadding="2">
              <tr class="dataTableHeadingRow">
                <td class="dataTableHeadingContent"><?php echo TABLE_HEADING_TITLE; ?></td>
                <td class="dataTableHeadingContent" align="center"><?php echo TABLE_HEADING_FILE_DATE; ?></td>
                <td class="dataTableHeadingContent" align="right"><?php echo TABLE_HEADING_FILE_SIZE; ?></td>
                <td class="dataTableHeadingContent" align="right"><?php echo TABLE_HEADING_ACTION; ?>&nbsp;</td>
              </tr>
<?php
  if ($dir_ok) {
    $dir = dir(DIR_FS_BACKUP);
    $contents = array();
	 $exts = array("sql","sql.zip","sql.gz");
    while ($file = $dir->read()) {
      if (!is_dir(DIR_FS_BACKUP . $file)) {
	  foreach ($exts as $value) {
	  if (xtc_CheckExt($file, $value)) {
	  
        $contents[] = $file;
		}
		}
      }
    }
    sort($contents);

    for ($files = 0, $count = sizeof($contents); $files < $count; $files++) {
      $entry = $contents[$files];

      $check = 0;

      if (((!$_GET['file']) || ($_GET['file'] == $entry)) && (!$buInfo) && ($_GET['action'] != 'backup') && ($_GET['action'] != 'restorelocal')) {
        $file_array['file'] = $entry;
        $file_array['date'] = date(PHP_DATE_TIME_FORMAT, filemtime(DIR_FS_BACKUP . $entry));
        $file_array['size'] = number_format((double)filesize(DIR_FS_BACKUP . $entry)) . ' bytes';
        switch (substr($entry, -3)) {
          case 'zip': $file_array['compression'] = 'ZIP'; break;
          case '.gz': $file_array['compression'] = 'GZIP'; break;
          default: $file_array['compression'] = TEXT_NO_EXTENSION; break;
        }

        $buInfo = new objectInfo($file_array);
      }

      if (is_object($buInfo) && ($entry == $buInfo->file)) {
        echo '              <tr class="dataTableRowSelected" onmouseover="this.style.cursor=\'hand\'">' . "\n";
        $onclick_link = 'file=' . $buInfo->file . '&action=restore';
      } else {
        echo '              <tr class="dataTableRow" onmouseover="this.className=\'dataTableRowOver\';this.style.cursor=\'hand\'" onmouseout="this.className=\'dataTableRow\'">' . "\n";
        $onclick_link = 'file=' . $entry;
      }
?>
                <td class="dataTableContent" onclick="document.location.href='<?php echo xtc_href_link(FILENAME_BACKUP, $onclick_link); ?>'"><?php echo '<a href="' . xtc_href_link(FILENAME_BACKUP, 'action=download&file=' . $entry) . '">' . xtc_image(DIR_WS_ICONS . 'file_download.gif', ICON_FILE_DOWNLOAD) . '</a>&nbsp;' . $entry; ?></td>
                <td class="dataTableContent" align="center" onclick="document.location.href='<?php echo xtc_href_link(FILENAME_BACKUP, $onclick_link); ?>'"><?php echo date(PHP_DATE_TIME_FORMAT, filemtime(DIR_FS_BACKUP . $entry)); ?></td>
                <td class="dataTableContent" align="right" onclick="document.location.href='<?php echo xtc_href_link(FILENAME_BACKUP, $onclick_link); ?>'"><?php echo number_format((double)filesize(DIR_FS_BACKUP . $entry)); ?> bytes</td>
                <td class="dataTableContent" align="right"><?php if ( (is_object($buInfo)) && ($entry == $buInfo->file) ) { echo xtc_image(DIR_WS_IMAGES . 'icon_arrow_right.gif', ''); } else { echo '<a href="' . xtc_href_link(FILENAME_BACKUP, 'file=' . $entry) . '">' . xtc_image(DIR_WS_IMAGES . 'icon_info.gif', IMAGE_ICON_INFO) . '</a>'; } ?>&nbsp;</td>
              </tr>
<?php
    }
    $dir->close();
  }
?>
              <tr>
                <td align="right" colspan="4" class="smallText" colspan="3"><?php echo TEXT_BACKUP_DIRECTORY . ' ' . DIR_FS_BACKUP; ?></td>
              </tr>
              <tr>
                <td colspan="4" align="right" class="smallText"><?php if ( ($_GET['action'] != 'backup') && ($dir) ) echo '<a style="float:right" class="button" onClick="this.blur();" href="' . xtc_href_link(FILENAME_BACKUP, 'action=backup') . '">' . BUTTON_BACKUP . '</a>'; if ( ($_GET['action'] != 'restorelocal') && ($dir) ) echo '<a style="float:right"  class="button" onClick="this.blur();" href="' . xtc_href_link(FILENAME_BACKUP, 'action=restorelocal') . '">' . BUTTON_RESTORE . '</a>'; ?></td>
              </tr>
<?php
  if (defined('DB_LAST_RESTORE')) {
?>
              <tr>
                <td class="smallText" colspan="4"><?php echo TEXT_LAST_RESTORATION . ' ' . DB_LAST_RESTORE . ' <a class="button" onClick="this.blur();" href="' . xtc_href_link(FILENAME_BACKUP, 'action=forget') . '">' . TEXT_FORGET . '</a>'; ?></td>
              </tr>
<?php
  }
?>
            </table></td>
<?php
  $heading = array();
  $contents = array();
  switch ($_GET['action']) {
    case 'backup':
      $heading[] = array('text' => '<b>' . TEXT_INFO_HEADING_NEW_BACKUP . '</b>');

      $contents = array('form' => xtc_draw_form('backup', FILENAME_BACKUP, 'action=backupnow'));
      $contents[] = array('text' => TEXT_INFO_NEW_BACKUP);

      if ($messageStack->size > 0) {
        $contents[] = array('text' => '<br />' . xtc_draw_radio_field('compress', 'no', true) . ' ' . TEXT_INFO_USE_NO_COMPRESSION);
        $contents[] = array('text' => '<br />' . xtc_draw_radio_field('download', 'yes', true) . ' ' . TEXT_INFO_DOWNLOAD_ONLY . '*<br /><br />*' . TEXT_INFO_BEST_THROUGH_HTTPS);
      } else {
        // BOF GM_MOD:
				$contents[] = array('text' => '<br />' . xtc_draw_radio_field('compress', 'gzip') . ' ' . TEXT_INFO_USE_GZIP);
        $contents[] = array('text' => xtc_draw_radio_field('compress', 'zip') . ' ' . TEXT_INFO_USE_ZIP);
        // BOF GM_MOD:
				$contents[] = array('text' => xtc_draw_radio_field('compress', 'no', true) . ' ' . TEXT_INFO_USE_NO_COMPRESSION);
        $contents[] = array('text' => '<br />' . xtc_draw_checkbox_field('download', 'yes') . ' ' . TEXT_INFO_DOWNLOAD_ONLY . '*<br /><br />*' . TEXT_INFO_BEST_THROUGH_HTTPS);
      }

      $contents[] = array('align' => 'center', 'text' => '<br /><div align="center"><input type="submit" class="button" onClick="this.blur();" value="' . BUTTON_BACKUP . '"/><a class="button" onClick="this.blur();" href="' . xtc_href_link(FILENAME_BACKUP) . '">' . BUTTON_CANCEL . '</a></div>');
      break;
    case 'restore':
      $heading[] = array('text' => '<b>' . $buInfo->date . '</b>');

      $contents[] = array('text' => xtc_break_string(sprintf(TEXT_INFO_RESTORE, DIR_FS_BACKUP . (($buInfo->compression != TEXT_NO_EXTENSION) ? substr($buInfo->file, 0, strrpos($buInfo->file, '.')) : $buInfo->file), ($buInfo->compression != TEXT_NO_EXTENSION) ? TEXT_INFO_UNPACK : ''), 35, ' '));
      $contents[] = array('align' => 'center', 'text' => '<br /><div align="center"><a class="button" onClick="this.blur();" href="' . xtc_href_link(FILENAME_BACKUP, 'file=' . $buInfo->file . '&action=restorenow') . '">' . BUTTON_RESTORE . '</a><a class="button" onClick="this.blur();" href="' . xtc_href_link(FILENAME_BACKUP, 'file=' . $buInfo->file) . '">' . BUTTON_CANCEL . '</a></div>');
      break;
    case 'restorelocal':
      $heading[] = array('text' => '<b>' . TEXT_INFO_HEADING_RESTORE_LOCAL . '</b>');

      $contents = array('form' => xtc_draw_form('restore', FILENAME_BACKUP, 'action=restorelocalnow', 'post', 'enctype="multipart/form-data"'));
      $contents[] = array('text' => TEXT_INFO_RESTORE_LOCAL . '<br /><br />' . TEXT_INFO_BEST_THROUGH_HTTPS);
      $contents[] = array('text' => '<br />' . xtc_draw_file_field('sql_file'));
      $contents[] = array('text' => TEXT_INFO_RESTORE_LOCAL_RAW_FILE);
      $contents[] = array('align' => 'center', 'text' => '<br /><div align="center"><input type="submit" class="button" onClick="this.blur();" value="' . BUTTON_RESTORE . '"/><a class="button" onClick="this.blur();" href="' . xtc_href_link(FILENAME_BACKUP) . '">' . BUTTON_CANCEL . '</a></div>');
      break;
    case 'delete':
      $heading[] = array('text' => '<b>' . $buInfo->date . '</b>');

      $contents = array('form' => xtc_draw_form('delete', FILENAME_BACKUP, 'file=' . $buInfo->file . '&action=deleteconfirm'));
      $contents[] = array('text' => TEXT_DELETE_INTRO);
      $contents[] = array('text' => '<br /><b>' . $buInfo->file . '</b>');
      $contents[] = array('align' => 'center', 'text' => '<br /><div align="center"><input type="submit" class="button" onClick="this.blur();" value="' . BUTTON_DELETE . '"/><a class="button" onClick="this.blur();" href="' . xtc_href_link(FILENAME_BACKUP, 'file=' . $buInfo->file) . '">' . BUTTON_CANCEL . '</a></div>');
      break;
    default:
      if (is_object($buInfo)) {
        $heading[] = array('text' => '<b>' . $buInfo->date . '</b>');
		$contents[] = array ('align' => 'center', 'text' => '<div style="padding-top: 5px; font-weight: bold; ">' . TEXT_MARKED_ELEMENTS . '</div><br />');           
        $contents[] = array('align' => 'center', 'text' => '<div align="center"><a class="button" onClick="this.blur();" href="' . xtc_href_link(FILENAME_BACKUP, 'file=' . $buInfo->file . '&action=restore') . '">' . BUTTON_RESTORE . '</a> <a class="button" onClick="this.blur();" href="' . xtc_href_link(FILENAME_BACKUP, 'file=' . $buInfo->file . '&action=delete') . '">' . BUTTON_DELETE . '</a></div>');
        $contents[] = array('text' => '<br />' . TEXT_INFO_DATE . ' ' . $buInfo->date);
        $contents[] = array('text' => TEXT_INFO_SIZE . ' ' . $buInfo->size);
        $contents[] = array('text' => '<br />' . TEXT_INFO_COMPRESSION . ' ' . $buInfo->compression);
      }
      break;
  }

  if ( (xtc_not_null($heading)) && (xtc_not_null($contents)) ) {
    echo '            <td width="25%" valign="top">' . "\n";

    $box = new box;
    echo $box->infoBox($heading, $contents);

    echo '            </td>' . "\n";
  }
?>
          </tr>
        </table></td>
      </tr>
    </table></td>
<!-- body_text_eof //-->
  </tr>
</table>
<!-- body_eof //-->

<!-- footer //-->
<?php require(DIR_WS_INCLUDES . 'footer.php'); ?>
<!-- footer_eof //-->
<br />
</body>
</html>
<?php require(DIR_WS_INCLUDES . 'application_bottom.php'); ?>
namawaktuukuranownerpermaksi
..
backups/ 2025-01-28 22:35109 B 76129f60960:kundendxwrx-rx-r
gm/ 2013-11-12 20:533.67 MB 76129f60960:kundendxwrx-rx-r
images/ 2013-11-12 20:54728.74 KB 76129f60960:kundendxwrx-rx-r
includes/ 2013-11-12 20:549.48 MB 76129f60960:kundendxwrx-rx-r
sync4/ 2013-11-12 20:5313 B 76129f60960:kundendxwrx-rx-r
templates/ 2013-11-12 20:5491.42 KB 76129f60960:kundendxwrx-rx-r
yoochoose/ 2013-11-12 20:54592.85 KB 76129f60960:kundendxwrx-rx-r
accounting.php 2013-11-12 20:528.29 KB 76129f60960:kunden-xw-x-----
edt
backup.php 2013-11-12 20:5226.38 KB 76129f60960:kunden-xw-x-----
edt
banner_manager.php 2013-11-12 20:5325.85 KB 76129f60960:kunden-xw-x-----
edt
banner_statistics.php 2013-11-12 20:528.07 KB 76129f60960:kunden-xw-x-----
edt
billsafe_orders_2.php 2013-11-12 20:5340.46 KB 76129f60960:kunden-xw-x-----
edt
billsafe_print_order_2.php 2013-11-12 20:5213.06 KB 76129f60960:kunden-xw-x-----
edt
blacklist.php 2013-11-12 20:5211.53 KB 76129f60960:kunden-xw-x-----
edt
brickfox.php 2013-11-12 20:535.46 KB 76129f60960:kunden-xw-x-----
edt
campaigns.php 2013-11-12 20:5210.85 KB 76129f60960:kunden-xw-x-----
edt
categories.php 2013-11-12 20:5218.53 KB 76129f60960:kunden-xw-x-----
edt
clear_cache.php 2013-11-12 20:528.46 KB 76129f60960:kunden-xw-x-----
edt
configuration.php 2013-11-12 20:5316.61 KB 76129f60960:kunden-xw-x-----
edt
content_manager.php 2013-11-12 20:5252.29 KB 76129f60960:kunden-xw-x-----
edt
content_preview.php 2013-11-12 20:522.61 KB 76129f60960:kunden-xw-x-----
edt
countries.php 2013-11-12 20:5215.68 KB 76129f60960:kunden-xw-x-----
edt
coupon_admin.php 2013-11-12 20:5250.67 KB 76129f60960:kunden-xw-x-----
edt
create_account.php 2013-11-12 20:5228.53 KB 76129f60960:kunden-xw-x-----
edt
credits.php 2013-11-12 20:526.97 KB 76129f60960:kunden-xw-x-----
edt
cross_sell_groups.php 2013-11-12 20:5213.02 KB 76129f60960:kunden-xw-x-----
edt
csv_backend.php 2013-11-12 20:5219.86 KB 76129f60960:kunden-xw-x-----
edt
currencies.php 2013-11-12 20:5217.6 KB 76129f60960:kunden-xw-x-----
edt
customers.php 2013-11-12 20:5258.49 KB 76129f60960:kunden-xw-x-----
edt
customers_status.php 2013-11-12 20:5336.57 KB 76129f60960:kunden-xw-x-----
edt
econda.php 2013-11-12 20:526.31 KB 76129f60960:kunden-xw-x-----
edt
ekomi.php 2013-11-12 20:5214.11 KB 76129f60960:kunden-xw-x-----
edt
fck_wrapper.php 2013-11-12 20:52501 B 76129f60960:kunden-xw-x-----
edt
filelist.txt 2013-11-12 20:52268.55 KB 76129f60960:kunden-xw-x-----
edt
geo_zones.php 2013-11-12 20:5223.69 KB 76129f60960:kunden-xw-x-----
edt
gm_analytics.php 2013-11-12 20:524.9 KB 76129f60960:kunden-xw-x-----
edt
gm_backup_files_zip.php 2013-11-12 20:5211.35 KB 76129f60960:kunden-xw-x-----
edt
gm_bookmarks.php 2013-11-12 20:524.26 KB 76129f60960:kunden-xw-x-----
edt
gm_bookmarks_action.php 2013-11-12 20:522.46 KB 76129f60960:kunden-xw-x-----
edt
gm_counter.php 2013-11-12 20:535.28 KB 76129f60960:kunden-xw-x-----
edt
gm_counter_action.php 2013-11-12 20:521.8 KB 76129f60960:kunden-xw-x-----
edt
gm_ebay.php 2013-11-12 20:528.85 KB 76129f60960:kunden-xw-x-----
edt
gm_emails.php 2013-11-12 20:5312.16 KB 76129f60960:kunden-xw-x-----
edt
gm_emails_preview.php 2013-11-12 20:525.95 KB 76129f60960:kunden-xw-x-----
edt
gm_feature_control.php 2013-11-12 20:5324.84 KB 76129f60960:kunden-xw-x-----
edt
gm_gmotion.php 2013-11-12 20:528.11 KB 76129f60960:kunden-xw-x-----
edt
gm_gprint.php 2013-11-12 20:523.56 KB 76129f60960:kunden-xw-x-----
edt
gm_gprint_categories.php 2013-11-12 20:527.63 KB 76129f60960:kunden-xw-x-----
edt
gm_gprint_configuration.php 2013-11-12 20:527.58 KB 76129f60960:kunden-xw-x-----
edt
gm_gprint_edit.php 2013-11-12 20:5219.55 KB 76129f60960:kunden-xw-x-----
edt
gm_gprint_overview.php 2013-11-12 20:524.69 KB 76129f60960:kunden-xw-x-----
edt
gm_guestbook.php 2013-11-12 20:529.43 KB 76129f60960:kunden-xw-x-----
edt
gm_id_starts.php 2013-11-12 20:527.96 KB 76129f60960:kunden-xw-x-----
edt
gm_invoicing.php 2013-11-12 20:5212.14 KB 76129f60960:kunden-xw-x-----
edt
gm_janolaw.php 2013-11-12 20:524.48 KB 76129f60960:kunden-xw-x-----
edt
gm_lang_edit.php 2013-11-12 20:524.24 KB 76129f60960:kunden-xw-x-----
edt
gm_lightbox.php 2013-11-12 20:524.69 KB 76129f60960:kunden-xw-x-----
edt
gm_logo.php 2013-11-12 20:525.28 KB 76129f60960:kunden-xw-x-----
edt
gm_logo_action.php 2013-11-12 20:531.11 KB 76129f60960:kunden-xw-x-----
edt
gm_meta.php 2013-11-12 20:523.63 KB 76129f60960:kunden-xw-x-----
edt
gm_meta_action.php 2013-11-12 20:522.91 KB 76129f60960:kunden-xw-x-----
edt
gm_miscellaneous.php 2013-11-12 20:5228.65 KB 76129f60960:kunden-xw-x-----
edt
gm_module_export.php 2013-11-12 20:5213.28 KB 76129f60960:kunden-xw-x-----
edt
gm_module_part_export.php 2013-11-12 20:523.73 KB 76129f60960:kunden-xw-x-----
edt
gm_offline.php 2013-11-12 20:524.29 KB 76129f60960:kunden-xw-x-----
edt
gm_opensearch.php 2013-11-12 20:523.18 KB 76129f60960:kunden-xw-x-----
edt
gm_opensearch_action.php 2013-11-12 20:522.15 KB 76129f60960:kunden-xw-x-----
edt
gm_order_menu.php 2013-11-12 20:529.18 KB 76129f60960:kunden-xw-x-----
edt
gm_pdf.php 2013-11-12 20:525.99 KB 76129f60960:kunden-xw-x-----
edt
gm_pdf_action.php 2013-11-12 20:528.83 KB 76129f60960:kunden-xw-x-----
edt
gm_pdf_order.php 2013-11-12 20:5223.01 KB 76129f60960:kunden-xw-x-----
edt
gm_product_export.php 2013-11-12 20:534.53 KB 76129f60960:kunden-xw-x-----
edt
gm_scroller.php 2013-11-12 20:526.52 KB 76129f60960:kunden-xw-x-----
edt
gm_security.php 2013-11-12 20:5210.91 KB 76129f60960:kunden-xw-x-----
edt
gm_send_order.php 2013-11-12 20:528.77 KB 76129f60960:kunden-xw-x-----
edt
gm_seo_boost.php 2013-11-12 20:525.77 KB 76129f60960:kunden-xw-x-----
edt
gm_sitemap.php 2013-11-12 20:524.83 KB 76129f60960:kunden-xw-x-----
edt
gm_sitemap_creator.php 2013-11-12 20:531.19 KB 76129f60960:kunden-xw-x-----
edt
gm_slider.php 2013-11-12 20:5328.49 KB 76129f60960:kunden-xw-x-----
edt
gm_sql.php 2013-11-12 20:526.84 KB 76129f60960:kunden-xw-x-----
edt
gm_statusbar.php 2013-11-12 20:526.46 KB 76129f60960:kunden-xw-x-----
edt
gm_style_edit.php 2013-11-12 20:5250.56 KB 76129f60960:kunden-xw-x-----
edt
gm_trusted_info.php 2013-11-12 20:527.41 KB 76129f60960:kunden-xw-x-----
edt
gm_trusted_shop_id.php 2013-11-12 20:526.32 KB 76129f60960:kunden-xw-x-----
edt
gm_trusted_shops_widget.php 2013-11-12 20:529.44 KB 76129f60960:kunden-xw-x-----
edt
gv_mail.php 2013-11-12 20:5217.47 KB 76129f60960:kunden-xw-x-----
edt
gv_queue.php 2013-11-12 20:5211.83 KB 76129f60960:kunden-xw-x-----
edt
gv_sent.php 2013-11-12 20:528.71 KB 76129f60960:kunden-xw-x-----
edt
index.php 2013-11-12 20:521.03 KB 76129f60960:kunden-xw-x-----
edt
interkurierConnect.php 2013-11-12 20:525.77 KB 76129f60960:kunden-xw-x-----
edt
languages.php 2013-11-12 20:5330.67 KB 76129f60960:kunden-xw-x-----
edt
lettr_de.php 2013-11-12 20:528.03 KB 76129f60960:kunden-xw-x-----
edt
listcategories.php 2013-11-12 20:532.8 KB 76129f60960:kunden-xw-x-----
edt
listproducts.php 2013-11-12 20:522.9 KB 76129f60960:kunden-xw-x-----
edt
magnabundle.dat 2013-11-12 20:536 B 76129f60960:kunden-xw-x-----
edt
magnalister.php 2013-11-12 20:5210.24 KB 76129f60960:kunden-xw-x-----
edt
mail.php 2013-11-12 20:5212.89 KB 76129f60960:kunden-xw-x-----
edt
manufacturers.php 2013-11-12 20:5216.46 KB 76129f60960:kunden-xw-x-----
edt
mediafinanz.php 2013-11-12 20:524.53 KB 76129f60960:kunden-xw-x-----
edt
minisql.php 2013-11-12 20:522.84 KB 76129f60960:kunden-xw-x-----
edt
mobile.php 2013-11-12 20:5211.7 KB 76129f60960:kunden-xw-x-----
edt
module_export.php 2013-11-12 20:5213.5 KB 76129f60960:kunden-xw-x-----
edt
module_newsletter.php 2013-11-12 20:5227.89 KB 76129f60960:kunden-xw-x-----
edt
modules.php 2013-11-12 20:5211.26 KB 76129f60960:kunden-xw-x-----
edt
nc_clickandbuy.php 2013-11-12 20:528.58 KB 76129f60960:kunden-xw-x-----
edt
new_attributes.php 2013-11-12 20:525.39 KB 76129f60960:kunden-xw-x-----
edt
orders.php 2013-11-12 20:5272.31 KB 76129f60960:kunden-xw-x-----
edt
orders_actions.php 2013-11-12 20:52337 B 76129f60960:kunden-xw-x-----
edt
orders_edit.php 2013-11-12 20:5239.75 KB 76129f60960:kunden-xw-x-----
edt
orders_edit_address.php 2013-11-12 20:526.49 KB 76129f60960:kunden-xw-x-----
edt
orders_edit_options.php 2013-11-12 20:525.92 KB 76129f60960:kunden-xw-x-----
edt
orders_edit_other.php 2013-11-12 20:5311 KB 76129f60960:kunden-xw-x-----
edt
orders_edit_products.php 2013-11-12 20:526.94 KB 76129f60960:kunden-xw-x-----
edt
orders_status.php 2013-11-12 20:5216.09 KB 76129f60960:kunden-xw-x-----
edt
paypal.php 2013-11-12 20:5310.52 KB 76129f60960:kunden-xw-x-----
edt
phpminiadmin.php 2013-11-12 20:5329.89 KB 76129f60960:kunden-xw-x-----
edt
popup_image.php 2013-11-12 20:521.91 KB 76129f60960:kunden-xw-x-----
edt
popup_memo.php 2013-11-12 20:525.54 KB 76129f60960:kunden-xw-x-----
edt
print_order.php 2013-11-12 20:525.62 KB 76129f60960:kunden-xw-x-----
edt
print_packingslip.php 2013-11-12 20:525.65 KB 76129f60960:kunden-xw-x-----
edt
products_attributes.php 2013-11-12 20:5251.66 KB 76129f60960:kunden-xw-x-----
edt
products_expected.php 2013-11-12 20:526.71 KB 76129f60960:kunden-xw-x-----
edt
products_vpe.php 2013-11-12 20:5215.16 KB 76129f60960:kunden-xw-x-----
edt
properties.php 2013-11-12 20:522.92 KB 76129f60960:kunden-xw-x-----
edt
properties_combis.php 2013-11-12 20:533.66 KB 76129f60960:kunden-xw-x-----
edt
quantity_units.php 2013-11-12 20:5311.43 KB 76129f60960:kunden-xw-x-----
edt
request_port.php 2013-11-12 20:5210.4 KB 76129f60960:kunden-xw-x-----
edt
reviews.php 2013-11-12 20:5219.72 KB 76129f60960:kunden-xw-x-----
edt
robots_download.php 2013-11-12 20:534.47 KB 76129f60960:kunden-xw-x-----
edt
saferpay.php 2013-11-12 20:5212.76 KB 76129f60960:kunden-xw-x-----
edt
server_info.php 2013-11-12 20:527.16 KB 76129f60960:kunden-xw-x-----
edt
shipping_status.php 2013-11-12 20:5223.12 KB 76129f60960:kunden-xw-x-----
edt
shopgate.php 2013-11-12 20:52135 B 76129f60960:kunden-xw-x-----
edt
show_logs.php 2013-11-12 20:539.77 KB 76129f60960:kunden-xw-x-----
edt
specials.php 2013-11-12 20:5222.29 KB 76129f60960:kunden-xw-x-----
edt
start.php 2013-11-12 20:5211.76 KB 76129f60960:kunden-xw-x-----
edt
stats_campaigns.php 2013-11-12 20:5213.39 KB 76129f60960:kunden-xw-x-----
edt
stats_customers.php 2013-11-12 20:525.48 KB 76129f60960:kunden-xw-x-----
edt
stats_products_purchased.php 2013-11-12 20:525.1 KB 76129f60960:kunden-xw-x-----
edt
stats_products_viewed.php 2013-11-12 20:524.78 KB 76129f60960:kunden-xw-x-----
edt
stats_sales_report.php 2013-11-12 20:5220.98 KB 76129f60960:kunden-xw-x-----
edt
stats_stock_warning.php 2013-11-12 20:534.94 KB 76129f60960:kunden-xw-x-----
edt
tax_classes.php 2013-11-12 20:5211.43 KB 76129f60960:kunden-xw-x-----
edt
tax_rates.php 2013-11-12 20:5313.6 KB 76129f60960:kunden-xw-x-----
edt
template_configuration.php 2013-11-12 20:5240.73 KB 76129f60960:kunden-xw-x-----
edt
validcategories.php 2013-11-12 20:522.62 KB 76129f60960:kunden-xw-x-----
edt
validproducts.php 2013-11-12 20:532.8 KB 76129f60960:kunden-xw-x-----
edt
whos_online.php 2013-11-12 20:528.05 KB 76129f60960:kunden-xw-x-----
edt
xtbooster.php 2013-11-12 20:52137.04 KB 76129f60960:kunden-xw-x-----
edt
yatego.php 2013-11-12 20:5216.33 KB 76129f60960:kunden-xw-x-----
edt
yoochoose.php 2013-11-12 20:5212.85 KB 76129f60960:kunden-xw-x-----
edt
zones.php 2013-11-12 20:5211.57 KB 76129f60960:kunden-xw-x-----
edt
aksi pada path manual

cwd: /data/web/1/000/076/129/313906/htdocs/styroporzuschnitte24_shop/admin
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