26require
'../../main.inc.php';
33$langs->load(
"cashdesk");
41if (GETPOSTISSET(
"id")) {
42 print
'<h1><b>'.$langs->trans(
"ScanToOrder").
'</b></h1>';
43 print
"<img src='".DOL_URL_ROOT.
"/takepos/genimg/qr.php?key=".
dol_encode((
string) $id).
"' width='30%'>";
45 print
'<h1><b>'.$langs->trans(
"ScanToMenu").
'</b></h1>';
46 print
"<img src='".DOL_URL_ROOT.
"/takepos/genimg/qr.php' width='30%'>";
49print
'<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.