| <?php // php pages made with phpMyBuilder <http://kyber.dk/phpMyBuilder> ?> |
| // Murray Jensen <Murray.Jensen@csiro.au> |
| // CSIRO Manufacturing Science and Technology, Preston Lab |
| // edit page (hymod_bddb / boards) |
| pg_head("$bddb_label - New Log Entry"); |
| if (!isset($_REQUEST['serno']) || $_REQUEST['serno'] == '') |
| die("serial number not specified or invalid!"); |
| $serno=intval($_REQUEST['serno']); |
| if (isset($_REQUEST['logno'])) { |
| $logno=$_REQUEST['logno']; |
| die("log number must not be specified when adding! ($logno)"); |
| <form action=donewlog.php method=POST> |
| echo "<input type=hidden name=serno value=$serno>\n"; |
| print_field("date", array('date' => date("Y-m-d"))); |
| print_field("who", array()); |
| print_field_multiline("details", array(), 60, 10, 'text_filter'); |
| <input type=submit value="Add Log Entry"> |
| <input type=reset value="Reset Form Contents"> |