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