<?php session_start();?>
<?php include("../includes/connection.php"); ?>
<?php include("../includes/func.php");
include("OrderPopup_inc.php"); ?>
<html>
<head>

<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>Administrative Panel : Order Update</title>
<link href="includes/style.css" rel="stylesheet" type="text/css">
</head>

<body>
<form name="frmCatPopup" method="post">
<input type="hidden" name="order_id" value="<?php echo $_GET["order_id"]; ?>">
<table width="600" border="0" cellpadding="0" cellspacing="1" class="bgDarkGray">
   <tr>
        <td align="right" class="bgGray"><input name="btnSave" type="submit" id="btnSave" value="Save">
        </td>
    </tr>
    <tr>
        <td class="bgWhite"><table width="100%"  border="0">
            <tr align="center">
                <td colspan="2" class="note">&nbsp;<?php echo($errMsg); ?></td>
            </tr>
          
            <tr>
                <td width="38%" class="LabelBold">Admin Comments : </td>
                <td width="62%"><textarea rows=5 cols=35  name="order_admin_comments"><?php echo($rs["order_admin_comments"]); ?></textarea></td>
            </tr>
			 

            <tr>
                <td width="38%" class="LabelBold">Status : </td>
                <td width="62%"><select name="order_status">
				<option value="0" <?if ($rs["order_status"]=='1') echo "selected";?> >Pending</option>
				<option value="3" <?if ($rs["order_status"]=='3') echo "selected";?>>Rejected</option>
				<option value="2" <?if ($rs["order_status"]=='2') echo "selected";?>>In Process</option>
				<option value="4" <?if ($rs["order_status"]=='4') echo "selected";?>>Ready For Delivery</option>
				<option value="5" <?if ($rs["order_status"]=='5') echo "selected";?>>Delivered</option>
				
				</select></td>
            </tr>
	
<tr>
        <td align="right" class="bgGray" colspan=2><input name="btnSave" type="submit" id="btnSave" value="Save">
        </td>
    </tr>
</table>
</form>
</body>
</html>
