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.
26 righe
890 B
26 righe
890 B
<?php |
|
|
|
$configPath = substr(__DIR__, 0, strpos(__DIR__, "/public_html")) . "/config.php"; |
|
include_once($configPath); |
|
if (!empty($_GET["codice"])) { |
|
$_POST = $_GET; |
|
} |
|
$error = true; |
|
if (!empty($_SESSION["utente"]) && !empty($_SESSION["ente"]->erpConnector) && tokenVerify() && !empty($_POST["codice"]) && method_exists($_SESSION["ente"]->erpConnector, "createFromRDA")) : |
|
$error = false; |
|
$connector = $_SESSION["ente"]->erpConnector; |
|
$codice_gara = $connector->createFromRDA($_POST); |
|
if (!empty($_POST["procedura"])): |
|
if ($codice_gara > 0) : |
|
?> |
|
swal({title:js_dict["success-msg"],type:"success"}).then(function(){ |
|
window.location.href="/backend/gare/panel.php?codice=<?= $codice_gara ?>"; |
|
}); |
|
<?php |
|
endif; |
|
endif; |
|
endif; |
|
if ($error) : |
|
header('HTTP/1.0 403 Forbidden'); |
|
die(); |
|
endif;
|
|
|