Location: PHPKode > projects > EzyBiz > ezybiz/authentication/main.php
<?php

/**
 * 
 *
 * @version $Id: main.php,v 1.1.1.1 2004/08/13 11:19:00 cvsd Exp $
 * @copyright 2003 
 **/
$cfgIndexpage = '/index.php';
$bgImage = 'bg_lock.gif';                 // Choose the background image
$bgRotate = true;                         // Rotate the background image from list
					// (This overrides the $bgImage setting)

/****** Lists ******/
// List of backgrounds to rotate through
$backgrounds[] = 'bg_lock.gif';
$backgrounds[] = 'bg_lock2.gif';
$backgrounds[] = 'bg_gun.gif';


/****** Database ******/
$useDatabase = true;                     // choose between using a database or data as input

// https support
if (getenv("HTTPS") == 'on')
{
	$cfgUrl = 'https://';
}
else
{
	$cfgUrl = 'http://';
}

// include functions and variables
function admEmail()
{
	// create administrators email link
	global $admEmail;
	return("<A HREF='mailto:$admEmail'>$admEmail</A>");
}

// logout first if requested
if (isset($_GET["logout"]))
{ // logout
	include('authentication/logout.php');
}
// loading login check
include('authentication/checklogin.php');


?>
Return current item: EzyBiz