echo "</BR></BR></BR>"; ?> <div style="margin: 10px;"> <?php $search = $_POST['mark']; if ($_SESSION['FOCUS'] == 0) { $foc_scan = "autofocus=''"; } else { $foc_scan = ""; } $site_ex = get_barcode($barcode); //gets site if ($site_ex != 0) { $_SESSION['FOCUS'] = 1; $foc_scan = ""; $foc_sign = "autofocus=''"; } else { if (substr($barcode, 0, 3) == 'ONS') { $_SESSION['FOCUS'] = 1; $foc_scan = ""; $foc_sign = "autofocus=''"; //echo "ONS</br>"; } if (substr($barcode, 0, 3) == 'UNQ') { $_SESSION['FOCUS'] = 1; $foc_scan = "";
<meta charset="utf-8" /> <?php $account = get_account(array('id' => $account_id)); ?> <a href="javascript:;" class="img-thumbnail" onclick="print_barcode();"> <img src="<?php echo get_barcode($account['code']); ?> " class="img-responsive" /> </a> <p></p> <table width="100%"> <tr> <th style="border:1px solid #000;"><?php lang('Name'); ?> </th> <td style="border:1px solid #000;"><?php echo $account['name']; ?> </td> </tr> <tr> <th style="border:1px solid #000;"><?php lang('Phone'); ?> </th> <td style="border:1px solid #000;"><?php echo $account['phone']; ?> </td>
?> fade in"> <h4 style="font-size:40px;" class="text-center"><?php echo get_product_amount($product['amount']); ?> </h4> </div> <div class="box_title turq"><span class="glyphicon glyphicon-barcode mr9"></span><?php lang('Barcode Code'); ?> </div> <a href="javascript:;" class="img-thumbnail text-center" onclick="print_barcode();" style="width:100%;"> <div style="height:4px;"></div> <img src="<?php echo get_barcode($product['code']); ?> " class="img-responsive" /> </a> <script> function print_barcode() { new_window = window.open("<?php echo get_print_barcode($product['code']); ?> ?print", "<?php echo $product['code']; ?> ","location=0,status=0,scrollbars=0,width=300,height=200"); new_window.moveTo(0,0);
//$barcode=check_statuses($barcode); echo "ebay check"; echo $ebay = check_ebay($barcode); if ($ebay and $MOD_RM_EBAY == 0) { $MESG = "ITEM ON EBAY.Contact Supervisor"; } $whl = check_wholesale($barcode); if ($whl) { echo "on wholesale"; } if (empty($ebay) or $MOD_RM_EBAY == 1) { if (empty($whl)) { $MESSG = "Item waste"; echo "n1ot in ebay"; echo $DISMANTLE_FACTOR; if ($DISMANTLE_FACTOR == 0 and (get_barcode($barcode) or substr($barcode, 0, 3) == "UNQ")) { $MESG = "Item Collected.SDA WASTE"; } if ($DISMANTLE_FACTOR == 12) { echo "sd"; if (!empty($barcode)) { if (!empty($ebay)) { echo "item on ebay"; if ($MOD_RM_EBAY == 0) { $MESG = "ITEM ON EBAY LOCK"; } } mysql_query("START TRANSACTION"); $sql = "DELETE barcode,test,barcode_has_buyer,item FROM barcode\r\nJOIN test On Barcode.id_Barcode=Test.Barcode_id_Barcode\r\nJOIN item on barcode.Item_id_item=Item.id_item\r\nJOIN barcode_has_buyer On Barcode.id_Barcode=barcode_has_buyer.Barcode_id_Barcode\r\nWHERE Barcode='{$barcode}'"; // echo $sql; echo $sa1 = "DELETE barcode_has_buyer FROM barcode_has_buyer JOIN barcode ON Barcode.id_Barcode = barcode_has_buyer.Barcode_id_Barcode WHERE Barcode = '{$barcode}'";