Exemplo n.º 1
0
<html>
<head>
<?php 
require_once 'lib/Class_LoginLogic.php';
$TierTwo = new LoginLogic();
try {
    $TierTwo->checkSession();
    $TierTwo->checkPOSTRegisterInfo();
    $TierTwo->getNavBar();
} catch (Exception $e) {
    echo $e->getMessage();
}
?>
<script type="text/javascript" src="script/bootstrap.js"></script>
<script type="text/javascript" src="script/jquery.js"></script>
<script type="text/javascript" src="script/sweetalert.min.js"></script>
<script type="text/javascript" src="script/cookies.js"></script>
<link rel="stylesheet" type="text/css" href="css/bootstrap.css" />
<link rel="stylesheet" type="text/css" href="css/sweetalert.css" />
<link rel="stylesheet" type="text/css" href="css/errorCSS.css" />
<script>
loadCookies();
</script>

<script>
// Uses HTML5 features to save local info from username and password to local computer.

          
// function to show calendar 2

			
Exemplo n.º 2
0
	<link rel="stylesheet" type="text/css" href="css/turnoverStylesheet.css">
	
	
	
	<link rel="icon" type="image/png" href="img/8bmicon.png">
</head>

<!-- WRAPPING BODY IN DIV TO HELP PUSH FOOTER TO BOTTOM OF PAGE -->
<div class="wrapper">
	<body class="">

<?php 
require_once 'lib/Class_LoginLogic.php';
$login = new LoginLogic();
// Check login first
$login->checkSession();
?>

<?php 
$login->getNavBar();
?>
	

		<div class="" id="Header">
			<h1 class="">ISOC Turnover</h1>
			
<!-- Navigation Bar -->	
			<div class="navigation ">
				<ul class="">
					<li class="create"><a href="createTurnover.php">Create</a></li>
					<li class="search"><a href="searchTurnover.php">Search</a></li>
Exemplo n.º 3
0
require 'lib/Class_LoginLogic.php';
$test = new ISOCSupportFormDB_Out();
$test2 = new LoginLogic();
//print_r( $test->getOtherEnvironmentOptions() );
//print_r( $test->getFileEnvironmentOptions() );
//print_r( $test->getStreamEnvironmentOptions() );
//print_r( $test->getJobEnvironmentOptions() );
//print_r( $test->getFileRequestOptions() );
//print_r( $test->getStreamRequestOptions() );
//print_r( $test->getOtherRequestOptions() );
//print_r( $test->getJobRequestOptions() );
//print_r( $test->getMainOptions() );
//print_r( $test->getEmail() );
//session_start();
//print_r($_SESSION);
$test2->checkSession();
echo "Everything is awesome! http://  HTTPHost: {$_SERVER['HTTP_HOST']}  URI: {$_SERVER['REQUEST_URI']}<br />";
print_r($_SESSION);
//echo json_encode($test->getMainOptions() );
/*
function clear()
{
session_unset(); 
session_destroy();
}
*/
?>

<html>
<form method="get" action="logout.php">
    <button type="submit">Clear Session</button>