include "php/core.php";
// define (WFB, 1);
$store_root = "store";
$path = substr(getenv("PATH_INFO"), 1);
if (file_exists(sprintf("%s/item-%s.php", $store_root, $path))) {
include "store/item-" . $path . ".php";
$role = "store";
} else {
include "store/item-default.php";
$path = "default";
$role = "store";
}
include "php/header.php";
include "php/nav.php";
function item($item, $description) {
global $path;
if ($item == $path) {
?>
echo $description; ?>
} else {
?> echo $description; ?>
}
}
?>
Items |
item("default", "T-shirts");
item("books", "Books (coming soon!)");
?>
- More items coming soon...
|
Online Ordering? |
We'd love to do online ordering, but at the moment the costs are
prohibitive. If you would like to have handy, convenient point-and-click
ordering, the best way for it to happen is to buy so much merchandise
it becomes feasible to spend the money ;-)
|
|
showItem();
?> |
include "php/footer.php";
?>