Edit file File name : quickllygo-view-items.php Content :<?php include("../include/config.php"); include("../include/functions.php"); ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title><?php echo SITE_TITLE; ?></title> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <link href="css/admin.css" rel="stylesheet" type="text/css" /> </head> <body> <table width="100%" border="0" cellspacing="0" cellpadding="30"> <tr> <td align="left" valign="middle" class="headingbg bodr text14"><em><img src="simg/arrow2.gif" width="21" height="21" hspace="10" align="absmiddle" /></em>Admin: Select Items To Generate Label On Order ID : <?php echo $_REQUEST['order_id']; ?> and for "<?php echo ucwords(getFieldWhere('storename','stores','storeid',$_REQUEST['id'])); ?></td> </tr> <tr> <td height="100" align="left" valign="top" bgcolor="#f7faf9" class="bodr"><form name="frm" method="POST" enctype="multipart/form-data" action="printLabel.php?store=<?php echo $_REQUEST['id']; ?>"> <input type="hidden" name="submitForm" value="yes" /> <input type="hidden" name="order_id" value="<?php echo $_REQUEST['order_id'];?>" /> <table width="100%" cellpadding="0" cellspacing="0"> <tr> <td align="center" colspan="2" style="color:#C00;"><?php echo $_SESSION['sess_msg'];$_SESSION['sess_msg']=''; ?></td> </tr> <tr> <td width="47%" align="left" class="paddBot11 paddRt14"><strong>Items </strong></td> <td width="18%" align="left" class="paddRt14 paddBot11"><strong>Size</strong></td> <td width="15%" align="left" class="paddRt14 paddBot11"><strong>Select</strong></td> </tr> <?php $orderArr=$obj->query("select id,product_name,productid,size,size_type from go_order_itmes where order_id='".$_REQUEST['order_id']."' and storeid='".$_REQUEST['id']."' "); while($resultitem=$obj->fetchNextObject($orderArr)){ ?> <tr> <td align="left" class="paddRt14 paddBot11"><?php echo ucwords($resultitem->product_name).$resultitem->size_type; ?></td> <td align="left" class="paddRt14 paddBot11"><?php $weight=number_format(getFieldWhere('weight','go_productprice','id',$resultitem->productid),4); ?> <input type="number" name="weight[]" step="0.01" value="<?php echo $weight; ?>" placeholder="Enter in LBS" required /> LBS</td> <td align="left" class="paddBot11"><input type="checkbox" name="itemid[]" checked="checked" value="<?php echo $resultitem->id; ?>" /></td> </tr> <?php } ?> <tr> <td width="47%" align="right" class="paddRt14 paddBot11"> </td> <td width="18%" align="left" class="paddBot11"> </td> <td width="15%" align="left" class="paddBot11"> </td> </tr> <tr> <td width="47%" align="right" class="paddRt14 paddBot11"> </td> <td width="18%" align="left" class="paddBot11"> </td> <td width="15%" align="left" class="paddBot11"> </td> </tr> <tr> <td width="47%" align="right" class="paddRt14 paddBot11"> </td> <td width="18%" align="left" class="paddBot11"> </td> <td width="15%" align="left" class="paddBot11"><input type="submit" name="submit" value="Generate Label" class="submit" border="0" /> </td> </tr> </table> </form></td> </tr> </table> </body> </html> Save