13 lines
538 B
PHP
13 lines
538 B
PHP
<?php
|
|
|
|
include(dirname(__FILE__).'/../../config/config.inc.php');
|
|
include(dirname(__FILE__).'/../../init.php');
|
|
include(dirname(__FILE__).'/blocklayered.php');
|
|
|
|
if (substr(Tools::encrypt('blocklayered/index'),0,10) != Tools::getValue('token') || !Module::isInstalled('blocklayered'))
|
|
die('Bad token');
|
|
|
|
if(Tools::getValue('full'))
|
|
echo BlockLayered::fullindexProcess((int)Tools::getValue('cursor'), (int)Tools::getValue('ajax'), true);
|
|
else
|
|
echo BlockLayered::indexProcess((int)Tools::getValue('cursor'), (int)Tools::getValue('ajax')); |