$OUTPUT = update($_POST); if ($_POST["update"] == "client_collect") { // Extra quick links $extra_qlinks = "\n\t\t\t\t\t\t\t\t\t<tr class='datacell'>\n\t\t\t\t\t\t\t\t\t\t<td><a href='cust-credit-stockinv.php'>New Invoice</a></td>\n\t\t\t\t\t\t\t\t\t</tr>\n\t\t\t\t\t\t\t\t\t<tr class='datacell'>\n\t\t\t\t\t\t\t\t\t\t<td><a href='pos-invoice-new.php'>New POS Invoice</a></td>\n\t\t\t\t\t\t\t\t\t</tr>\n\t\t\t\t\t\t\t\t\t<tr class='datacell'>\n\t\t\t\t\t\t\t\t\t\t<td><a href='nons-invoice-new.php'>New Non Stock Invoice</a></td>\n\t\t\t\t\t\t\t\t\t</tr>"; } break; case "client_collect": $OUTPUT = client_collect($_POST); // Extra quick links $extra_qlinks = "\n\t\t\t\t\t\t\t\t<tr class='datacell'>\n\t\t\t\t\t\t\t\t\t<td><a href='cust-credit-stockinv.php'>New Invoice</a></td>\n\t\t\t\t\t\t\t\t</tr>\n\t\t\t\t\t\t\t\t<tr class='datacell'>\n\t\t\t\t\t\t\t\t\t<td><a href='pos-invoice-new.php'>New POS Invoice</a></td>\n\t\t\t\t\t\t\t\t</tr>\n\t\t\t\t\t\t\t\t<tr class='datacell'>\n\t\t\t\t\t\t\t\t\t<td><a href='nons-invoice-new.php'>New Non Stock Invoice</a></td>\n\t\t\t\t\t\t\t\t</tr>"; break; case "status_history": $OUTPUT = status_history($_POST); break; case "edit_notes": $OUTPUT = edit_notes($_POST); break; case "check_in": $OUTPUT = check_in($_POST); break; case "check_out": $OUTPUT = check_out($_POST); break; case "receipt": receipt($_POST); break; case "workshop_report": $OUTPUT = workshop_report($_POST); break; } } else {
"; disasm hexdump strings comment notes plain\n"))))); ?> <div class="hexdump"><pre><? edit_comment(); ?></pre></div> <? } else if (!strcmp($tab,"notes")) { print str_replace("hexdump", "<a href=\"?offset=$offset&tab=hexdump\">hexdump</a>", str_replace("disasm", "<a href=\"?offset=$offset\">disasm</a>", str_replace("strings", "<a href=\"?offset=$offset&tab=strings\">strings</a>", str_replace("comment", "<a href=\"?offset=$offset&tab=comment\">comment</a>", str_replace("plain", "<a href=\"?offset=$offset&tab=plain\">plain</a>", "; disasm hexdump strings comment notes plain\n"))))); ?> <div class="hexdump"><pre><? edit_notes(); ?></pre></div> <? } else { print str_replace("strings", "<a href=\"?offset=$offset&tab=strings\">strings</a>", str_replace("hexdump", "<a href=\"?offset=$offset&tab=hexdump\">hexdump</a>", str_replace("notes", "<a href=\"?offset=$offset&tab=notes\">notes</a>", str_replace("comment", "<a href=\"?offset=$offset&tab=comment\">comment</a>", str_replace("plain", "<a href=\"?offset=$offset&tab=plain\">plain</a>", "; disasm hexdump strings comment notes plain\n"))))); ?><div class="disassembly"><? print_disassembly(); ?></div> <? } ?> </pre></td>