<p><label title="Product details page image width">Detail W: </label><input class="smallinput" name="detail_width[<?php echo $img['id']; ?> ]" value="<?php echo $img['detail_width']; ?> " /></p> <p><label>Priority: </label><input class="smallinput" name="priority[<?php echo $img['id']; ?> ]" value="<?php echo $img['priority']; ?> " /></p> <p><?php echo $sh->enum_to_select("SHOW FIELDS FROM CART_media where field = 'type'", $img['id'], $img['type']); ?> </p> <p><?php echo $sh->enum_to_select("SHOW FIELDS FROM CART_media where field = 'status'", $img['id'], $img['status']); ?> </p> <p><label>Delete: </label><input type="checkbox" name="delete_image[<?php echo $img['id']; ?> ]" /></p> </div> <?php }
echo $ord['shipping_date'] ? "<p><b>Shipped on: </b>" . ucwords($ord['shipping_date']) . "</p>" : "<b>Not shipped</b>"; ?> <?php if ($ord['customer_notes']) { echo "<p><b>Customer Notes: </b>" . ucwords($ord['customer_notes']) . "</p>"; } ?> <p><label>Admin notes: </label><textarea name="admin_notes" ><?php echo $ord['admin_notes']; ?> </textarea></p> <br /> <p><?php echo $sh->enum_to_select("SHOW FIELDS FROM CART_orders where field = 'status'", $ord['order_id'], $ord['status']); ?> </p> </div> <div class="half-r"> <p>Products ordered: </p> <br /> <p class="table_row table_header"> <span>Product #</span> <span>Name</span> <span>Sold Price/each</span> <span>Qty</span> </p> <?php $order_prod = Record::query("select * from CART_order_product\n left join CART_products on CART_products.id = CART_order_product.product_id\n where order_id = " . $ord['order_id']);