24 if (!defined(
"NOLOGIN")) define(
"NOLOGIN",
'1');
25 if (!defined(
'NOIPCHECK')) define(
'NOIPCHECK',
'1');
26 if (!defined(
'NOBROWSERNOTIF')) define(
'NOBROWSERNOTIF',
'1');
28 require
'../../main.inc.php';
32 $_SESSION[
"basiclayout"] = 1;
33 $_SESSION[
"takeposterminal"] = 1;
35 define(
'INCLUDE_PHONEPAGE_FROM_PUBLIC_PAGE', 1);
36 if (
GETPOSTISSET(
"mobilepage")) require
'../invoice.php';
37 elseif (
GETPOSTISSET(
"genimg")) require DOL_DOCUMENT_ROOT.'/takepos/genimg/index.php';
38 else require '../phone.php';
GETPOSTISSET($paramname)
Return true if we are in a context of submitting the parameter $paramname.
if(!GETPOST('transkey', 'alphanohtml')&&!GETPOST('transphrase', 'alphanohtml')) else
View.
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 ...