Пример #1
0
 public static function outputFooterMenu()
 {
     require_once "lib.php";
     UserManagement::InitSession();
     if (isset($_SESSION['User'])) {
         print "<footer><center>&copy; myAarth LLC 2012 | <a href='mailto:contact@myaarth.com'>contact@myaarth.com</a> | <a href='/User/logout.php'>Logout</a></center></footer>";
     } else {
         print "<footer><center>&copy; myAarth 2012 | <a href='mailto:contact@myaarth.com'>contact@myaarth.com</a></center></footer>";
     }
 }
Пример #2
0
<?php

require_once "lib/lib.php";
require_once "lib/presentation.php";
UserManagement::InitSession();
if (isset($_SESSION['User'])) {
    header("Location: tracker.php");
    die;
}
?>
<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="utf-8">
    <title><?php 
Presentation::outputPageTitle();
?>
</title>
    <meta name="description" content="">
    <meta name="author" content="">

    <!-- Le HTML5 shim, for IE6-8 support of HTML elements -->
    <!--[if lt IE 9]>
      <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
    <![endif]-->

	<link rel="stylesheet" href="Style/bootstrap.min.css"/>
	<link rel="stylesheet" href="Style/Main.css"/>
	<script type="text/javascript" src="Script/jquery.min.js"></script>
	<script type="text/javascript" src="Script/bootstrap-modal.js"></script>
	<script type="text/javascript" src="Script/bootstrap-twipsy.js"></script>
Пример #3
0
 public static function DestroySession()
 {
     UserManagement::InitSession();
     session_destroy();
 }