24 require
'../../main.inc.php';
31 $langs->load(
"cashdesk");
35 $_GET[
'optioncss'] =
"print";
40 print
'<h1><b>'.$langs->trans(
"ScanToOrder").
'</b></h1>';
41 print
"<img src='".DOL_URL_ROOT.
"/takepos/genimg/qr.php?key=".
dol_encode($id).
"' width='30%'>";
43 print
'<h1><b>'.$langs->trans(
"ScanToMenu").
'</b></h1>';
44 print
"<img src='".DOL_URL_ROOT.
"/takepos/genimg/qr.php' width='30%'>";
47 print
'<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.
GETPOSTISSET($paramname)
Return true if we are in a context of submitting the parameter $paramname from a POST of a form...
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 Calling this function terminate execution ...