25require
'../../main.inc.php';
32$langs->load(
"cashdesk");
40if (GETPOSTISSET(
"id")) {
41 print
'<h1><b>'.$langs->trans(
"ScanToOrder").
'</b></h1>';
42 print
"<img src='".DOL_URL_ROOT.
"/takepos/genimg/qr.php?key=".
dol_encode($id).
"' width='30%'>";
44 print
'<h1><b>'.$langs->trans(
"ScanToMenu").
'</b></h1>';
45 print
"<img src='".DOL_URL_ROOT.
"/takepos/genimg/qr.php' width='30%'>";
48print
'<h1><b>'.$mysoc->name.
'</b></h1>';
GETPOSTINT($paramname, $method=0)
Return the value of a $_GET or $_POST supervariable, converted into integer.
dol_encode($chain, $key='1')
Encode a string with base 64 algorithm + specific delta change.
accessforbidden($message='', $printheader=1, $printfooter=1, $showonlymessage=0, $params=null)
Show a message to say access is forbidden and stop program.