24 if (!defined(
'NOCSRFCHECK')) define(
'NOCSRFCHECK',
'1');
25 if (!defined(
'NOTOKENRENEWAL')) define(
'NOTOKENRENEWAL',
'1');
26 if (!defined(
'NOREQUIREMENU')) define(
'NOREQUIREMENU',
'1');
27 if (!defined(
'NOREQUIREHTML')) define(
'NOREQUIREHTML',
'1');
28 if (!defined(
'NOREQUIREAJAX')) define(
'NOREQUIREAJAX',
'1');
30 require
'../main.inc.php';
32 if (empty($user->rights->takepos->run)) {
37 die(strtoupper($_SESSION[
'SMP_CURRENT_PAYMENT']));
41 print '<html lang="en">';
43 print '<meta charset="utf-8">
45 <title>The HTML5 Herald</title>
46 <meta name="description" content="The HTML5 Herald">
47 <meta name="author" content="SitePoint">
49 <link rel="stylesheet" href="css/styles.css?v=1.0">';
54 $_SESSION[
'SMP_CURRENT_PAYMENT'] =
GETPOST(
'smp-status');
56 print '<script type="application/javascript">
57 window.onload = function() {
62 print "Transaction status registered, you can close this";
64 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.
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 ...
print
Draft customers invoices.