// This code is copyrighted material owned by W. D. Bricker, doing business
// as US-Webmasters.com. Copyright 1998-2009 - All rights reserved.
//
// A single license for this code has been granted to
// US-Webmasters.com
//
// for use on site(s):
// US-Webmasters.com and related sites
//
// No other rights are implied nor shall be inferred. This code may
// not be altered, copied or distributed without express permission.
// Violation of these rights will necessitate legal remedial action.
// To get rid of "the Undefined variable: DOCUMENT_ROOT" error:
// The Root Directory:
// This worked in PHP4:
// $RootDir = $RootDir;
// This works in PHP5:
$RootDir = $_SERVER['DOCUMENT_ROOT'];
// $RootDir = $RootDir."/testing";
// Echo "DOCUMENT_ROOT: ".$RootDir."
\n";
// Echo "RootDir: ".$RootDir."
\n";
// We'll need access to the Global Variables:
// include_once("$DOCUMENT_ROOT/include/GlobalVars.php");
// To get rid of: Warning: include_once() [function.include-once]: Unable to access /include/GlobalVars.php in
include_once("$RootDir/include/GlobalVars.php");
// We will be accessing all sorts of functions:
//include_once("$DOCUMENT_ROOT/include/Functs.php");
include_once("$RootDir/include/Functs.php");
// Check to see if the visitor (USER_AGENT) is a spider. If not:
// then do a "session_start"...
// Creates a session or resumes the current one
// based on the current session id that's being passed via a
// request, such as GET, POST, or a COOKIE.
// It's necessary that this be the first PHP command in the file.
If (!ItsASpider())
{
session_start();
// Sets various session variables like ReferringURL and EntryURL
// if they haven't already been set
// include_once("$DOCUMENT_ROOT/include/SetSessionVars.php");
include_once("$RootDir/include/SetSessionVars.php");
}
// This turns on Output Buffering. This seems to be
// necessary because we may be redirecting to a "Thank You" page
// after they submit the form. Speeds things up because
// browser doesn't reload when hitting BACK button.
ob_start();
$PageNameStr="Web Design Principles * US-Webmasters.com";
$PageTitleStr="Web Design Principles, Web Site Design Principles, Authoring Web Pages, Accessible Design, Authoring Web Pages, Cascading Style Sheets" ;
$PageKeywordStr="Web Design Principles, Web Site Design Principles, Authoring Web Pages, Accessible Design, Authoring Web Pages, Cascading Style Sheets, Common Mistakes In Web Design, Good Site Design Practices, HTML Validation, CSS Validation";
$PageDescriptionStr="Web Design Principles * US-Webmasters.com";
$PageCommentStr="Web Design Principle, Web Design Principles, The Principle Of Design, The Principles Of Design, Elements And Principle Of Design, Elements And Principles Of Design, Principle Of Graphic Design, Principles Of Graphic Design, Web Site Design Principle, Web Site Design Principles, Basic Design Principle, Basic Design Principles, Instructional Design Principle, Instructional Design Principles, Design Principle Usability, Design Principles Usability, Design Principle Visual, Design Principles Visual, Web Page Design Principle, Web Page Design Principles, Software Design Principle, Software Design Principles, Accessible Design, Authoring Web Pages, Cascading Style Sheets, Common Mistakes In Web Design, Creating Pages, CSS, CSS Validation, Elements Of Web Design Style, Good Practices, Good Site Design Practices, HTML Syntax, HTML Tags, HTML Validation, Hypertext Markup, Principles Of Web Site Design, Top 10 Mistaeks Web Development, Top Ten Website Design Mistakes, Useability Website Design, Valid HTML For Websites, Web Design Mistakes, Web Design Resources, Web Page Authoring, Web Site Development Information, Web Style Basic Design Principles For Websites, Website Design Practices, Website Design Tools";
$PageRobotsStr="All";
// Notice: Undefined variable: ThisIsDoorway
// IF (!($ThisIsDoorway))
// If not set, then set it to get rid of error message:
If (!IsSet($ThisIsDoorway))
{$ThisIsDoorway=0;}
If ($ThisIsDoorway<>1)
{$PageFirstLineStr="Web Design Principles, Web Site Design Principles, Authoring Web Pages, Accessible Design, Authoring Web Pages, Cascading Style Sheets";}
// Notice: Undefined variable: DOCUMENT_ROOT in:
// include_once("$DOCUMENT_ROOT/include/header.php");
include_once("$RootDir/include/header.php");
?>