function msgbox($strmsg, $icon) { printheaderb(); echo "<TR><TD height='295' width='640' align='center' valign='center'>"; echo "<TABLE border='0' cellpadding='0' cellspacing='0'>"; echo "<TR><TD colspan='5' bgcolor='#004080' height='30' width='260' valign='center'> <FONT size='+1' face='arial' color='white'><B>" . $_SESSION["alertBar"] . "</B></FONT></TD></TR>"; echo "<TR><TD colspan='5' bgcolor='black' height='1' width='260'></TD></TR>"; echo "<TR><TD width='1' height='118' bgcolor='black'></TD>"; echo "<TD bgcolor='white' height='118' width='50' valign='top' align='left'>"; echo "<IMG src='" . $icon . "'></TD>"; echo "<TD bgcolor='white' height='118' width='208' valign='center' align='left'><FONT face='arial' color='black'>"; echo $strmsg . "</FONT></CENTER></TD>"; echo "<TD width='10' bgcolor='white' height='118'></TD>"; echo "<TD width='1' height='118' bgcolor='black'></TD></TR>"; echo "<TR><TD colspan='5' bgcolor='black' height='1' width='260'></TD></TR></TABLE>"; echo "</TD></TR>"; $_SESSION["strRemembered"] = $_SESSION["strEntered"]; errorBeep(); //$_SESSION["scan"] = "noScan"; $_SESSION["msgrepeat"] = 1; //$_SESSION["toggletax"] = 0; //$_SESSION["togglefoodstamp"] = 0; $_SESSION["away"] = 1; }
printheaderb(); ?> <TR> <TD height='300' width='640' align='center' colspan='2' valign='center'> <TABLE border='0' cellpadding='0' cellspacing='0'> <TR> <TD bgcolor='#004080' height='150' width='260' valign='center' align='center'> <CENTER> <FONT face='arial' color='white'> <B>quantity required</B> <P><FONT face='arial' color='white' size='-1'> enter number or [clear] to cancel</FONT> </B</FONT></CENTER> </TD> </TR> </TABLE> </TD></TR> </TABLE> <?php $_SESSION["msgrepeat"] = 2; $_SESSION["item"] = $_SESSION["strEntered"]; errorBeep(); $_SESSION["scan"] = "noScan"; printfooter(); ?> </BODY>
function msgbox($strmsg, $icon) { printheaderb(); echo "<tr><td height='295' width='640' align='center' valign='center'>"; echo "<table border='0' cellpadding='0' cellspacing='0'>"; echo "<tr><td colspan='5' bgcolor='#004080' height='30' width='260' valign='center'> <font size='+1' face='arial' color='white'><b>" . $_SESSION["alertBar"] . "</b></font></td></tr>"; echo "<tr><td colspan='5' bgcolor='black' height='1' width='260'></td></tr>"; echo "<tr><td width='1' height='118' bgcolor='black'></td>"; echo "<td bgcolor='white' height='118' width='50' valign='top' align='left'>"; echo "<img src='" . $icon . "' alt='' /></td>"; echo "<td bgcolor='white' height='118' width='208' valign='center' align='left'><font face='arial' color='black'>"; echo $strmsg . "</font></center></td>"; echo "<td width='10' bgcolor='white' height='118'></td>"; echo "<td width='1' height='118' bgcolor='black'></td></tr>"; echo "<tr><td colspan='5' bgcolor='black' height='1' width='260'></td></tr></table>"; echo "</td></tr>"; $_SESSION["strRemembered"] = $_SESSION["strEntered"]; errorBeep(); $_SESSION["msgrepeat"] = 1; $_SESSION["away"] = 1; }