Non puoi selezionare più di 25 argomenti
Gli argomenti devono iniziare con una lettera o un numero, possono includere trattini ('-') e possono essere lunghi fino a 35 caratteri.
31 righe
706 B
31 righe
706 B
<? |
|
|
|
$configPath = substr(__DIR__,0,strpos(__DIR__,"/public_html"))."/config.php"; |
|
include_once($configPath); |
|
|
|
$_cdir = __DIR__; |
|
include_once "{$_cdir}/class/TedEsender.class.php"; |
|
|
|
if(! empty($_POST["data"])) { |
|
|
|
$data = json_decode(gzinflate(base64_decode($_POST["data"])), 1); |
|
if( is_array($data) ) { |
|
|
|
$ted = new TedEsender($data["notice"], $data["codice"]); |
|
$ted->setMode("add2guue"); |
|
$ted->debug = DEVELOP_ENV; |
|
$ted->setSuggestions(); |
|
$ted->generateXMLNotice('utf-8', false); |
|
|
|
|
|
$section = $ted->createSection($data["section"], true, $data["prefix"] ?? [], [], [], $_GET["iterations"], true); |
|
$ted->printSection(null, $section); |
|
|
|
exit; |
|
|
|
} |
|
|
|
} |
|
|
|
HTTPStatus(500); |
|
|
|
|