Initial commit

This commit is contained in:
Ben Ramey
2017-03-02 20:30:40 -06:00
commit ab3c6fc8d5
10773 changed files with 515124 additions and 0 deletions

39
_old/version_2/index.php Executable file
View 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;
?>