24 if (!defined(
'NOCSRFCHECK')) {
25 define(
'NOCSRFCHECK',
'1');
27 if (!defined(
'NOTOKENRENEWAL')) {
28 define(
'NOTOKENRENEWAL',
'1');
30 if (!defined(
'NOREQUIREMENU')) {
31 define(
'NOREQUIREMENU',
'1');
33 if (!defined(
'NOREQUIREHTML')) {
34 define(
'NOREQUIREHTML',
'1');
36 if (!defined(
'NOREQUIREAJAX')) {
37 define(
'NOREQUIREAJAX',
'1');
40 require
'../main.inc.php';
42 if (empty($user->rights->takepos->run)) {
47 die(strtoupper($_SESSION[
'SMP_CURRENT_PAYMENT']));
51 print
'<html lang="en">';
53 print
'<meta charset="utf-8">
55 <title>The HTML5 Herald</title>
56 <meta name="description" content="The HTML5 Herald">
57 <meta name="author" content="SitePoint">
59 <link rel="stylesheet" href="css/styles.css?v=1.0">';
64 $_SESSION[
'SMP_CURRENT_PAYMENT'] =
GETPOST(
'smp-status');
66 print
'<script type="application/javascript">
67 window.onload = function() {
72 print
"Transaction status registered, you can close this";
74 print
'</body></html>';
GETPOST($paramname, $check= 'alphanohtml', $method=0, $filter=null, $options=null, $noreplace=0)
Return value of a param into GET or POST supervariable.
GETPOSTISSET($paramname)
Return true if we are in a context of submitting the parameter $paramname from a POST of a form...
accessforbidden($message= '', $printheader=1, $printfooter=1, $showonlymessage=0, $params=null)
Show a message to say access is forbidden and stop program Calling this function terminate execution ...