25require
'../../main.inc.php';
32$langs->load(
"cashdesk");
36$_GET[
'optioncss'] =
"print";
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>';
GETPOST($paramname, $check='alphanohtml', $method=0, $filter=null, $options=null, $noreplace=0)
Return value of a param into GET or POST supervariable.
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.