Initial commit
This commit is contained in:
39
_old/version_2/index.php
Executable file
39
_old/version_2/index.php
Executable file
@@ -0,0 +1,39 @@
|
||||
<?php
|
||||
#####################################################
|
||||
# #
|
||||
# written by benjamin ramey #
|
||||
# ben.ramey@gmail.com #
|
||||
# #
|
||||
# best viewed with: #
|
||||
# resolution = 1280x960 #
|
||||
# tab = 4 spaces #
|
||||
# indent = 8 spaces #
|
||||
# #
|
||||
# This file contains: #
|
||||
# index page of bobsleighphotos.com #
|
||||
# #
|
||||
#####################################################################################################################
|
||||
# CODE # COMMENTS #
|
||||
#####################################################################################################################
|
||||
|
||||
##################################################################### FILES TO INCLUDE
|
||||
require 'php/func_ops.php'; # site operation functions
|
||||
require 'php/func_html.php'; # functions to do HTML printing tasks
|
||||
require 'php/func_xml.php'; # functions to handle xml
|
||||
|
||||
require 'php/inc_constants.php'; # php constants
|
||||
require 'php/inc_globals.php'; # global variables
|
||||
|
||||
##################################################################### SWITCHING STATION
|
||||
$page = array_pop($_CMDS); # the first element in the _CMDS array is always
|
||||
# the page to display
|
||||
if(empty($page)) { $page = 'home'; }
|
||||
|
||||
switch($page) {
|
||||
default:
|
||||
include $page.'.php';
|
||||
break;
|
||||
}
|
||||
|
||||
exit;
|
||||
?>
|
||||
Reference in New Issue
Block a user