24 if (!defined(
"NOLOGIN")) {
25 define(
"NOLOGIN",
'1');
27 if (!defined(
'NOIPCHECK')) {
28 define(
'NOIPCHECK',
'1');
30 if (!defined(
'NOBROWSERNOTIF')) {
31 define(
'NOBROWSERNOTIF',
'1');
35 require
'../../main.inc.php';
37 if (!$conf->global->TAKEPOS_AUTO_ORDER) {
41 $_SESSION[
"basiclayout"] = 1;
42 $_SESSION[
"takeposterminal"] = 1;
44 define(
'INCLUDE_PHONEPAGE_FROM_PUBLIC_PAGE', 1);
46 require
'../invoice.php';
48 require DOL_DOCUMENT_ROOT.
'/takepos/genimg/index.php';
50 require
'../phone.php';
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.