download all files

This commit is contained in:
Roman Pyrih
2025-06-24 14:14:35 +02:00
parent ebed09c00b
commit 4c71b5d9c2
72007 changed files with 10407727 additions and 40029 deletions

View File

@@ -0,0 +1,22 @@
<?php
require_once (dirname(__FILE__) . '/../../x13allegro.php');
class x13allegroAjaxModuleFrontController extends ModuleFrontController
{
public function postProcess()
{
if (Tools::isSubmit('getAllegroAuctionLink'))
{
if ($auction = XAllegroAuction::getAuctionByProduct(Tools::getValue('id_product'), Tools::getValue('id_product_attribute'))) {
die(json_encode(array(
'result' => true,
'href' => 'https://allegro.pl/show_item.php?item=' . $auction['id_auction']
)));
}
else {
die(json_encode(array('result' => false)));
}
}
}
}

View File

@@ -0,0 +1,11 @@
<?php
header('Expires: Mon, 26 Jul 1997 05:00:00 GMT');
header('Last-Modified: '.gmdate('D, d M Y H:i:s').' GMT');
header('Cache-Control: no-store, no-cache, must-revalidate');
header('Cache-Control: post-check=0, pre-check=0', false);
header('Pragma: no-cache');
header('Location: ../');
exit;