summaryrefslogtreecommitdiff
path: root/tools/bddb/execute.php
diff options
context:
space:
mode:
Diffstat (limited to 'tools/bddb/execute.php')
-rw-r--r--tools/bddb/execute.php37
1 files changed, 37 insertions, 0 deletions
diff --git a/tools/bddb/execute.php b/tools/bddb/execute.php
new file mode 100644
index 0000000000..7adcfec201
--- /dev/null
+++ b/tools/bddb/execute.php
@@ -0,0 +1,37 @@
+<?php // php pages made with phpMyBuilder <http://kyber.dk/phpMyBuilder> ?>
+<?php
+ // (C) Copyright 2001
+ // Murray Jensen <Murray.Jensen@cmst.csiro.au>
+ // CSIRO Manufacturing Science and Technology, Preston Lab
+
+ if (!isset($serno))
+ $serno = 0;
+ else
+ $serno = intval($serno);
+
+ if (!isset($submit))
+ $submit = "[NOT SET]";
+
+ switch ($submit) {
+
+ case "New":
+ require("new.php");
+ break;
+
+ case "Edit":
+ require("edit.php");
+ break;
+
+ case "Browse":
+ require("browse.php");
+ break;
+
+ case "Log":
+ require("brlog.php");
+ break;
+
+ default:
+ require("badsubmit.php");
+ break;
+ }
+?>