Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
24 lines (21 sloc) 564 Bytes
<?php
if (count($_SERVER["argv"]) == 0) {
include "breweries/list.php";
} else {
$cmd = getParamValue("cmd");
$id = getParamValue("id");
$name = getParamValue("name");
$type = getParamValue("type");
if ($cmd == "show") {
include "common/show.php";
} else if ($cmd == "delete") {
include "common/delete.php";
} else if ($cmd == "edit") {
include "breweries/edit.php";
} else if ($cmd == "search") {
include "breweries/search.php";
} else {
echo "<h3>INTERNAL ERROR</H3>";
}
}
?>