<link href="wstyle.css" rel="stylesheet" type="text/css" />
<script src="SpryAssets/SpryValidationTextField.js" type="text/javascript"></script>
<link href="SpryAssets/SpryValidationTextField.css" rel="stylesheet" type="text/css" />
<div align="center">
<? if ($_GET['stat'] == '' ) {
			$query = mysql_query("SELECT * FROM p1_receipt where rid = 1"); 		


?>
  <form id="form1" name="form1" method="post" action="index.php?page=15&stat=update">
    <p><span id="sprytextfield1">
    <input type="text" name="line" id="line" value="<? echo mysql_result($query,0,"line");?>" />
    <span class="textfieldRequiredMsg">A value is required.</span><span class="textfieldInvalidFormatMsg">Invalid format.</span></span> </p>
    <p>
      <textarea name="down" id="down" cols="90%" rows="5"><? echo mysql_result($query,0,"down");?></textarea>
    </p>
    <p>
      <input name="Submit" type="submit" class="Submit" id="Submit" value="   Save   " />
    </p>
    <p>&nbsp;</p>
  </form>
<? } if ($_GET['stat'] == 'ok' ) { ?>
  <p class="td4">Update</p>
  
  <? } ?>
</div>
<script type="text/javascript">
<!--
var sprytextfield1 = new Spry.Widget.ValidationTextField("sprytextfield1", "integer");
//-->
</script>
