<?php
/* --------------------------------------------------------------
request_port.inc.php 2012-01-01 gm
Gambio GmbH
http://www.gambio.de
Copyright (c) 2012 Gambio GmbH
Released under the GNU General Public License (Version 2)
[http://www.gnu.org/licenses/gpl-2.0.html]
--------------------------------------------------------------
*/
require('includes/application_top.php');
#error_reporting(E_ALL);
$t_output_content = '';
switch($_GET['module'])
{
case 'browser_extension':
$coo_browser_extension_ajax_handler = MainFactory::create_object('BrowserExtensionAjaxHandler');
$coo_browser_extension_ajax_handler->set_data('GET', $_GET);
$coo_browser_extension_ajax_handler->set_data('POST', $_POST);
$coo_browser_extension_ajax_handler->proceed();
$t_output_content = $coo_browser_extension_ajax_handler->get_response();
break;
case 'slider':
$coo_slider_ajax_handler = MainFactory::create_object('SliderAjaxHandler');
$coo_slider_ajax_handler->set_data('GET', $_GET);
$coo_slider_ajax_handler->set_data('POST', $_POST);
$coo_slider_ajax_handler->proceed();
$t_output_content = $coo_slider_ajax_handler->get_response();
break;
case 'cart_dropdown':
switch($_GET['part'])
{
case 'header':
$coo_content_view = MainFactory::create_object('ShoppingCartDropdown');
$coo_content_view->set_content_template('boxes/box_cart_head.html');
$t_output_content = $coo_content_view->get_html();
break;
case 'dropdown':
$coo_content_view = MainFactory::create_object('ShoppingCartDropdown');
$t_output_content = $coo_content_view->get_html();
break;
case 'fixed':
$coo_content_view = MainFactory::create_object('ShoppingCartDropdown');
$coo_content_view->set_content_template('boxes/box_cart_dropdown_fixed.html');
$t_output_content = $coo_content_view->get_html();
break;
}
break;
case 'buy_now': #TODO: move to coo_handler
# fake environment
$_GET['action'] = 'buy_now';
$_GET['BUYproducts_id'] = (int)$_POST['products_id'];
$t_turbo_buy_now = true; # flag used in cart_actions
$t_show_cart = false; # will be changed in cart_actions
$t_show_details = false; # will be changed in cart_actions
# run cart_actions
require(DIR_WS_INCLUDES.FILENAME_CART_ACTIONS);
$t_output_array = array
(
'show_cart' => $t_show_cart,
'show_details' => $t_show_details,
'products_details_url' => xtc_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . (int)$_GET['BUYproducts_id'])
);
$coo_json = new GMJSON(false);
$t_output_json = $coo_json->encode($t_output_array);
$t_output_content = $t_output_json;
break;
case 'properties_combis_status':
$coo_properties_view = MainFactory::create_object('PropertiesView');
$t_output_content = $coo_properties_view->get_combis_status_json($_GET['products_id'], $_GET['properties_values_ids'], $_GET['need_qty']);
break;
case 'properties_combis_exists':
$coo_properties_view = MainFactory::create_object('PropertiesView');
$t_output_content = $coo_properties_view->get_combis_exists($_GET['products_id'], $_GET['properties_values_ids']);
break;
case 'properties_combis_status_by_combis_id':
$coo_properties_view = MainFactory::create_object('PropertiesView');
$t_output_content = $coo_properties_view->get_combis_status_by_combis_id_json($_GET['combis_id'], $_GET['need_qty']);
break;
case 'properties_combis_admin':
$coo_properties_combis_admin_view = new PropertiesCombisAdminView($_GET, $_POST);
$t_output_content = $coo_properties_combis_admin_view->proceed();
break;
case 'lightbox_gallery':
$c_products_id = (int)$_GET['id'];
$coo_lightbox_gallery = MainFactory::create_object('LightboxGalleryContentView');
$t_lightbox_html = $coo_lightbox_gallery->get_html($c_products_id);
$t_output_content = $t_lightbox_html;
break;
case 'mega_flyover':
$f_get_array = $_GET;
$f_post_array = $_POST;
$coo_mega_flyover = MainFactory::create_object('MegaFlyoverContentView');
$t_view_html = $coo_mega_flyover->get_html($f_get_array, $f_post_array);
$t_output_content = $t_view_html;
break;
case 'live_search':
include(DIR_FS_CATALOG . 'gm/ajax/live_search.php');
break;
case 'submenus':
$f_get_array = $_GET;
$c_parent_categories_id = (int)$f_get_array['id'];
# Categories Submenus
$coo_categories_content_view = MainFactory::create_object('CategoriesSubmenusContentView');
$t_output_content = $coo_categories_content_view->get_html(false, $c_parent_categories_id);
break;
default:
# plugin requests
$f_module_name = $_GET['module'];
$t_system_class_dir = DIR_FS_CATALOG . 'system/request_port/AjaxHandler/';
$t_user_class_dir = DIR_FS_CATALOG . 'user_classes/AjaxHandler/';
$t_class_name_suffix = 'AjaxHandler';
$coo_request_router = MainFactory::create_object('RequestRouter', array($t_system_class_dir,
$t_user_class_dir,
$t_class_name_suffix));
$coo_request_router->set_data('GET', $_GET);
$coo_request_router->set_data('POST', $_POST);
$t_proceed_status = $coo_request_router->proceed($f_module_name);
if($t_proceed_status == true) {
$t_output_content = $coo_request_router->get_response();
} else {
trigger_error('could not proceed module ['.htmlentities($f_module_name).']', E_USER_ERROR);
}
}
echo $t_output_content;
mysql_close();
?>| nama | waktu | ukuran | owner | perm | aksi |
|---|---|---|---|---|---|
| .. | |||||
| PdfCreator/ | 2013-11-12 21:09 | 202.72 KB | 76129f60960:kunden | dxwrx-rx-r | |
| StyleEdit/ | 2013-11-12 21:10 | 1.42 MB | 76129f60960:kunden | dxwrx-rx-r | |
| actindo/ | 2013-11-12 20:52 | 340.67 KB | 76129f60960:kunden | dxwrx-rx-r | |
| admin/ | 2013-11-12 20:53 | 16.69 MB | 76129f60960:kunden | dxwrx-rx-r | |
| cache/ | 2025-01-28 22:35 | 150.58 KB | 76129f60960:kunden | dxwrx-rx-r | |
| callback/ | 2013-11-12 21:01 | 390.73 KB | 76129f60960:kunden | dxwrx-rx-r | |
| download/ | 2025-01-28 22:35 | 109 B | 76129f60960:kunden | dxwrx-rx-r | |
| export/ | 2013-11-12 22:46 | 179.73 KB | 76129f60960:kunden | dxwrx-rx-r | |
| ext/ | 2013-11-12 21:01 | 271.04 KB | 76129f60960:kunden | dxwrx-rx-r | |
| gm/ | 2013-11-12 21:03 | 2.27 MB | 76129f60960:kunden | dxwrx-rx-r | |
| iclear/ | 2013-11-12 21:04 | 1.05 MB | 76129f60960:kunden | dxwrx-rx-r | |
| images/ | 2013-11-14 15:48 | 11.41 MB | 76129f60960:kunden | dxwrx-rx-r | |
| import/ | 2013-11-12 21:05 | 2 B | 76129f60960:kunden | dxwrx-rx-r | |
| inc/ | 2013-11-12 21:05 | 349.91 KB | 76129f60960:kunden | dxwrx-rx-r | |
| includes/ | 2025-01-28 22:35 | 3.75 MB | 76129f60960:kunden | dxwrx-rx-r | |
| lang/ | 2013-11-12 21:07 | 1.95 MB | 76129f60960:kunden | dxwrx-rx-r | |
| lettr/ | 2025-01-28 22:35 | 25.98 KB | 76129f60960:kunden | dxwrx-rx-r | |
| logfiles/ | 2018-07-12 04:18 | 330.63 KB | 76129f60960:kunden | dxwrx-rx-r | |
| media/ | 2013-11-12 22:32 | 15.49 KB | 76129f60960:kunden | dxwrx-rx-r | |
| promo/ | 2013-11-12 21:09 | 119.04 KB | 76129f60960:kunden | dxwrx-rx-r | |
| pub/ | 2025-01-28 22:35 | 38 B | 76129f60960:kunden | dxwrx-rx-r | |
| shopgate/ | 2025-01-28 22:35 | 811.32 KB | 76129f60960:kunden | dxwrx-rx-r | |
| system/ | 2013-11-12 21:11 | 678.06 KB | 76129f60960:kunden | dxwrx-rx-r | |
| templates/ | 2013-11-12 21:11 | 1.71 MB | 76129f60960:kunden | dxwrx-rx-r | |
| templates_c/ | 2017-11-16 23:11 | 158.67 KB | 76129f60960:kunden | dxwrx-rx-r | |
| user_classes/ | 2013-11-12 21:14 | 12.3 KB | 76129f60960:kunden | dxwrx-rx-r | |
| .DS_Store | 2013-11-12 20:51 | 24 KB | 76129f60960:kunden | -xw-x----- | |
| .htaccess | 2025-01-28 22:35 | 99 B | 76129f60960:kunden | -xw-x----- | |
| LICENSE.txt | 2013-11-12 20:52 | 17.83 KB | 76129f60960:kunden | -xw-x----- | |
| LIZENZUEBERSETZUNG.txt | 2013-11-12 20:52 | 25.33 KB | 76129f60960:kunden | -xw-x----- | |
| WICHTIGE_HINWEISE.txt | 2013-11-12 20:52 | 1.87 KB | 76129f60960:kunden | -xw-x----- | |
| account.php | 2013-11-12 20:51 | 1.93 KB | 76129f60960:kunden | -xw-x----- | |
| account_edit.php | 2013-11-12 20:51 | 16.32 KB | 76129f60960:kunden | -xw-x----- | |
| account_history.php | 2013-11-12 20:51 | 5 KB | 76129f60960:kunden | -xw-x----- | |
| account_history_info.php | 2013-11-12 20:51 | 6.57 KB | 76129f60960:kunden | -xw-x----- | |
| account_password.php | 2013-11-12 20:51 | 7.01 KB | 76129f60960:kunden | -xw-x----- | |
| address_book.php | 2013-11-12 20:51 | 1.81 KB | 76129f60960:kunden | -xw-x----- | |
| address_book_process.php | 2013-11-12 20:51 | 16.86 KB | 76129f60960:kunden | -xw-x----- | |
| advanced_search.php | 2013-11-12 20:51 | 1.63 KB | 76129f60960:kunden | -xw-x----- | |
| advanced_search_result.php | 2013-11-12 20:51 | 12.1 KB | 76129f60960:kunden | -xw-x----- | |
| checkout_confirmation.php | 2013-11-12 20:51 | 27.82 KB | 76129f60960:kunden | -xw-x----- | |
| checkout_iclear.php | 2013-11-12 20:51 | 8.82 KB | 76129f60960:kunden | -xw-x----- | |
| checkout_payment.php | 2013-11-12 20:51 | 16.71 KB | 76129f60960:kunden | -xw-x----- | |
| checkout_payment_address.php | 2013-11-12 20:51 | 12.14 KB | 76129f60960:kunden | -xw-x----- | |
| checkout_process.php | 2013-11-12 20:51 | 36.23 KB | 76129f60960:kunden | -xw-x----- | |
| checkout_qpay.php | 2013-11-12 20:51 | 2.67 KB | 76129f60960:kunden | -xw-x----- | |
| checkout_shipping.php | 2013-11-12 20:51 | 14.43 KB | 76129f60960:kunden | -xw-x----- | |
| checkout_shipping_address.php | 2013-11-12 20:51 | 12.66 KB | 76129f60960:kunden | -xw-x----- | |
| checkout_success.php | 2013-11-12 20:51 | 5.89 KB | 76129f60960:kunden | -xw-x----- | |
| checkout_vrepay_elv.php | 2013-11-12 20:51 | 2.3 KB | 76129f60960:kunden | -xw-x----- | |
| checkout_vrepay_giropay.php | 2013-11-12 20:51 | 1.52 KB | 76129f60960:kunden | -xw-x----- | |
| checkout_vrepay_kreditkarte.php | 2013-11-12 20:51 | 2.33 KB | 76129f60960:kunden | -xw-x----- | |
| clickandbuy_check.php | 2013-11-12 20:51 | 3.94 KB | 76129f60960:kunden | -xw-x----- | |
| clickandbuy_ems_push_endpoint.php | 2013-11-12 20:51 | 3.48 KB | 76129f60960:kunden | -xw-x----- | |
| cookie_usage.php | 2013-11-12 20:51 | 1.92 KB | 76129f60960:kunden | -xw-x----- | |
| cout_qpay_iframe.php | 2013-11-12 20:51 | 1 KB | 76129f60960:kunden | -xw-x----- | |
| create_account.php | 2013-11-12 20:51 | 38.03 KB | 76129f60960:kunden | -xw-x----- | |
| create_guest_account.php | 2013-11-12 20:51 | 31.6 KB | 76129f60960:kunden | -xw-x----- | |
| display_vvcodes.php | 2013-11-12 20:51 | 750 B | 76129f60960:kunden | -xw-x----- | |
| download.php | 2013-11-12 20:51 | 3.75 KB | 76129f60960:kunden | -xw-x----- | |
| fax.html | 2013-11-12 20:51 | 3.99 KB | 76129f60960:kunden | -xw-x----- | |
| gm_account_delete.php | 2013-11-12 20:51 | 2.92 KB | 76129f60960:kunden | -xw-x----- | |
| gm_ajax.php | 2013-11-12 20:51 | 1.82 KB | 76129f60960:kunden | -xw-x----- | |
| gm_corner.gif.php | 2013-11-12 20:51 | 3.39 KB | 76129f60960:kunden | -xw-x----- | |
| gm_counter.php | 2013-11-12 20:51 | 143 B | 76129f60960:kunden | -xw-x----- | |
| gm_counter_set_screen.php | 2013-11-12 20:51 | 1.16 KB | 76129f60960:kunden | -xw-x----- | |
| gm_create_vvcodes.php | 2013-11-12 20:51 | 533 B | 76129f60960:kunden | -xw-x----- | |
| gm_css_monitor.php | 2013-11-12 20:51 | 8.94 KB | 76129f60960:kunden | -xw-x----- | |
| gm_ebay.php | 2013-11-12 20:51 | 917 B | 76129f60960:kunden | -xw-x----- | |
| gm_gprint.js.php | 2013-11-12 20:51 | 1002 B | 76129f60960:kunden | -xw-x----- | |
| gm_gprint_ajax.php | 2013-11-12 20:52 | 38.48 KB | 76129f60960:kunden | -xw-x----- | |
| gm_gprint_download.php | 2013-11-12 20:52 | 1.76 KB | 76129f60960:kunden | -xw-x----- | |
| gm_gprint_order_ajax.php | 2013-11-12 20:52 | 1.47 KB | 76129f60960:kunden | -xw-x----- | |
| gm_guestbook.php | 2013-11-12 20:52 | 2.52 KB | 76129f60960:kunden | -xw-x----- | |
| gm_javascript.js.php | 2013-11-12 20:52 | 4.3 KB | 76129f60960:kunden | -xw-x----- | |
| gm_opensearch.php | 2013-11-12 20:52 | 718 B | 76129f60960:kunden | -xw-x----- | |
| gm_price_offer.php | 2013-11-12 20:52 | 1.57 KB | 76129f60960:kunden | -xw-x----- | |
| gm_privacy.php | 2013-11-12 20:52 | 3.2 KB | 76129f60960:kunden | -xw-x----- | |
| gm_product_export_cron.php | 2013-11-12 20:52 | 4.4 KB | 76129f60960:kunden | -xw-x----- | |
| gv_redeem.php | 2013-11-12 20:52 | 3.84 KB | 76129f60960:kunden | -xw-x----- | |
| gv_send.php | 2013-11-12 20:52 | 9.58 KB | 76129f60960:kunden | -xw-x----- | |
| heidelpay_3dsecure.php | 2013-11-12 20:52 | 966 B | 76129f60960:kunden | -xw-x----- | |
| heidelpay_3dsecure_return.php | 2013-11-12 20:52 | 1.5 KB | 76129f60960:kunden | -xw-x----- | |
| heidelpay_checkout_iframe.php | 2013-11-12 20:52 | 1.19 KB | 76129f60960:kunden | -xw-x----- | |
| heidelpay_iframe.php | 2013-11-12 20:52 | 1.24 KB | 76129f60960:kunden | -xw-x----- | |
| heidelpay_redirect.php | 2013-11-12 20:52 | 2.68 KB | 76129f60960:kunden | -xw-x----- | |
| heidelpay_response.php | 2013-11-12 20:52 | 3.95 KB | 76129f60960:kunden | -xw-x----- | |
| heidelpay_style.css | 2013-11-12 20:52 | 1.27 KB | 76129f60960:kunden | -xw-x----- | |
| heidelpay_success.php | 2013-11-12 20:52 | 4.6 KB | 76129f60960:kunden | -xw-x----- | |
| index.php | 2013-11-12 20:52 | 5.89 KB | 76129f60960:kunden | -xw-x----- | |
| login.php | 2013-11-12 20:52 | 2.63 KB | 76129f60960:kunden | -xw-x----- | |
| login_admin.php | 2013-11-12 20:52 | 6.06 KB | 76129f60960:kunden | -xw-x----- | |
| login_mobile.php | 2013-11-12 20:52 | 3.75 KB | 76129f60960:kunden | -xw-x----- | |
| logoff.php | 2013-11-12 20:52 | 2.1 KB | 76129f60960:kunden | -xw-x----- | |
| magnaCallback.php | 2013-11-12 20:52 | 20.86 KB | 76129f60960:kunden | -xw-x----- | |
| magnalister_compatibility_check.php | 2013-11-12 20:52 | 17.23 KB | 76129f60960:kunden | -xw-x----- | |
| media_content.php | 2013-11-12 20:52 | 2.6 KB | 76129f60960:kunden | -xw-x----- | |
| mkd_@_.html | 2014-05-29 21:30 | 5.84 KB | 76129f60960:kunden | -xw-x----- | |
| moneybookers_iframe.php | 2013-11-12 20:52 | 3.07 KB | 76129f60960:kunden | -xw-x----- | |
| newsletter.php | 2013-11-12 20:52 | 10.64 KB | 76129f60960:kunden | -xw-x----- | |
| notify_vrepay_elv.php | 2013-11-12 20:52 | 3.72 KB | 76129f60960:kunden | -xw-x----- | |
| notify_vrepay_giropay.php | 2013-11-12 20:52 | 3.77 KB | 76129f60960:kunden | -xw-x----- | |
| notify_vrepay_kreditkarte.php | 2013-11-12 20:52 | 3.81 KB | 76129f60960:kunden | -xw-x----- | |
| password_double_opt.php | 2013-11-12 20:52 | 11.65 KB | 76129f60960:kunden | -xw-x----- | |
| paypal_api_check.php | 2013-11-12 20:52 | 7.37 KB | 76129f60960:kunden | -xw-x----- | |
| paypal_checkout.php | 2013-11-12 20:52 | 39.45 KB | 76129f60960:kunden | -xw-x----- | |
| popup_content.php | 2013-11-12 20:52 | 3.3 KB | 76129f60960:kunden | -xw-x----- | |
| popup_coupon_help.php | 2013-11-12 20:52 | 5.08 KB | 76129f60960:kunden | -xw-x----- | |
| popup_cvv.php | 2013-11-12 20:52 | 2.69 KB | 76129f60960:kunden | -xw-x----- | |
| popup_image.php | 2013-11-12 20:52 | 5.03 KB | 76129f60960:kunden | -xw-x----- | |
| popup_search_help.php | 2013-11-12 20:52 | 1.64 KB | 76129f60960:kunden | -xw-x----- | |
| print_order.php | 2013-11-12 20:52 | 3.23 KB | 76129f60960:kunden | -xw-x----- | |
| print_product_info.php | 2013-11-12 20:52 | 7.29 KB | 76129f60960:kunden | -xw-x----- | |
| product_info.php | 2013-11-12 20:52 | 2.63 KB | 76129f60960:kunden | -xw-x----- | |
| product_reviews.php | 2013-11-12 20:52 | 4.58 KB | 76129f60960:kunden | -xw-x----- | |
| product_reviews_info.php | 2013-11-12 20:52 | 4.92 KB | 76129f60960:kunden | -xw-x----- | |
| product_reviews_write.php | 2013-11-12 20:52 | 7.13 KB | 76129f60960:kunden | -xw-x----- | |
| products_new.php | 2013-11-12 20:52 | 8.04 KB | 76129f60960:kunden | -xw-x----- | |
| redirect.php | 2013-11-12 20:52 | 3.77 KB | 76129f60960:kunden | -xw-x----- | |
| release_info.php | 2013-11-12 20:52 | 82 B | 76129f60960:kunden | -xw-x----- | |
| request_port.php | 2013-11-12 20:52 | 5.4 KB | 76129f60960:kunden | -xw-x----- | |
| reviews.php | 2013-11-12 20:52 | 4.25 KB | 76129f60960:kunden | -xw-x----- | |
| robots.txt | 2013-11-12 20:52 | 3.36 KB | 76129f60960:kunden | -xw-x----- | |
| send_order.php | 2013-11-12 20:52 | 9.69 KB | 76129f60960:kunden | -xw-x----- | |
| shop_content.php | 2013-11-12 20:52 | 8.22 KB | 76129f60960:kunden | -xw-x----- | |
| shopping_cart.php | 2013-11-12 20:52 | 2.08 KB | 76129f60960:kunden | -xw-x----- | |
| show_product_thumbs.php | 2013-11-12 20:52 | 2.33 KB | 76129f60960:kunden | -xw-x----- | |
| sitemap1.xml | 2013-11-14 19:16 | 2.04 KB | 76129f60960:kunden | -xw-x----- | |
| specials.php | 2013-11-12 20:52 | 5.02 KB | 76129f60960:kunden | -xw-x----- | |
| ssl_check.php | 2013-11-12 20:52 | 1.9 KB | 76129f60960:kunden | -xw-x----- | |
| stylesheet_new.css | 2013-11-12 20:52 | 26.88 KB | 76129f60960:kunden | -xw-x----- | |
| vrepay_kreditkarte.php | 2013-11-12 20:52 | 26.35 KB | 76129f60960:kunden | -xw-x----- | |
| wish_list.php | 2013-11-12 20:52 | 2.28 KB | 76129f60960:kunden | -xw-x----- | |
| wpcallback.php | 2013-11-12 20:52 | 3.5 KB | 76129f60960:kunden | -xw-x----- | |
| xtbcallback.php | 2013-11-12 20:52 | 12.48 KB | 76129f60960:kunden | -xw-x----- | |
| yatego.php | 2013-11-12 20:52 | 1.36 KB | 76129f60960:kunden | -xw-x----- | |