PHP Classes

File: familytree/apps/frontend/views/templates/header.php

Recommend this page to a friend!
  Classes of Ssaurz Acharya   FedUni PHP Family Tree App   familytree/apps/frontend/views/templates/header.php   Download  
File: familytree/apps/frontend/views/templates/header.php
Role: Example script
Content type: text/plain
Description: Example script
Class: FedUni PHP Family Tree App
Manage and display a tree of family people
Author: By
Last change:
Date: 2 years ago
Size: 1,366 bytes
 

Contents

Class file image Download
<?php
$auth
= Registry::getObject("authentication");
?>
<!doctype html>
<html lang="en">
    <head>
        <meta charset="utf-8" />
        <title>
            <?php echo htmlentities($title); ?>
</title>
        <link rel="stylesheet" type="text/css" href="http://<?php echo ROOT_URL; ?>apps/frontend/public/css/style.css"/>
        <link href="http://<?php echo ROOT_URL; ?>apps/frontend/public/engine1/style.css" rel="stylesheet" type="text/css" />
         </head>
    <body>
        <div id="body_wrapper">
        <div id="header">
            <div id="header_content">
                <?php if($auth->isLoggedIn()):?>
<div style="float:right;">
                    <form method="post" action="http://localhost/familytree/logout">
                    <input type="submit" value="Logout" id="logout_btn" name="logout_btn"/>
                </form>
                </div>
                <?php endif; ?>
<div>
                    <a href="http://localhost/familytree" style="font-family:Arial;color:#fff;text-decoration:none;"><h2 style="font-family:Arial;color:#fff;">Family Tree</h2></a>
                </div>
                <div style="clear:both;"></div>
            </div>
            <!--end header_content-->
        </div>
            <!--end header-->