<?php session_start();?>
<?php include("../includes/connection.php"); ?>
<?php include("../includes/func.php");
include("pricePopup_inc.php"); ?>
<html>
<head>
<script>
function openWin(argURL, argSize) {

	window.open(argURL, "x_win" + (new Date()).getTime(), "resizable=yes,scrollbars=yes," + argSize);

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

<body>
<form name="frmCatPopup" method="post">
<input type="hidden" name="ring_number" value="<?php echo $_GET["ring_number"]; ?>">
<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">You are adding Price for <?=$_GET["ring_number"];?></td>
            </tr>
          
<tr>
                <td width="100%" colspan=2 class="LabelBold"> 
<table width="600" border="0" cellpadding="0" cellspacing="1" class="bgGray"> 
	<tr>
		<td class="LabelBold">Metal
		</td><td class="LabelBold">Price
		</td>
	</tr>
	<?$i=0;
	
		while ($rsR = mysql_fetch_array($cmdMetal)) {
			$i=$i+1;?>
		<tr>
			<td class="bgWhite"><?=$rsR["metal_name"]?>
			</td>
			<td class="bgWhite"><input type=text name=price_value<?=$i;?> value="<?=getcostsimple($_GET["ring_number"],$rsR["metal_name"]);?>" size=10>
			</td>
			
		</tr>
	<? } ?>
	

</table>
		*Leave Blank if Not applicable.<br>Diamond Price will be added to Original Ring Price.
				</td>
              
            </tr>

        </table></td>
    </tr>



    <tr>
        <td align="right" class="bgGray"><input name="btnSave" type="submit" id="btnSave" value="Save">
        </td>
    </tr>
</table>
</form>
</body>
</html>
