wdenk | fe8c280 | 2002-11-03 00:38:21 +0000 | [diff] [blame] | 1 | <?php // php pages made with phpMyBuilder <http://kyber.dk/phpMyBuilder> ?> |
| 2 | <?php |
| 3 | // (C) Copyright 2001 |
Wolfgang Denk | 2c9dfca | 2005-08-12 23:20:59 +0200 | [diff] [blame^] | 4 | // Murray Jensen <Murray.Jensen@csiro.au> |
wdenk | fe8c280 | 2002-11-03 00:38:21 +0000 | [diff] [blame] | 5 | // CSIRO Manufacturing Science and Technology, Preston Lab |
| 6 | |
| 7 | if (!isset($serno)) |
| 8 | $serno = 0; |
| 9 | else |
| 10 | $serno = intval($serno); |
| 11 | |
| 12 | if (!isset($submit)) |
| 13 | $submit = "[NOT SET]"; |
| 14 | |
| 15 | switch ($submit) { |
| 16 | |
| 17 | case "New": |
| 18 | require("new.php"); |
| 19 | break; |
| 20 | |
| 21 | case "Edit": |
| 22 | require("edit.php"); |
| 23 | break; |
| 24 | |
| 25 | case "Browse": |
| 26 | require("browse.php"); |
| 27 | break; |
| 28 | |
| 29 | case "Log": |
| 30 | require("brlog.php"); |
| 31 | break; |
| 32 | |
| 33 | default: |
| 34 | require("badsubmit.php"); |
| 35 | break; |
| 36 | } |
| 37 | ?> |