Login   Register  
PHP Classes
elePHPant
Icontem

File: phpsecureweb/header.inc.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Bulent Tezcan  >  phpsecureweb  >  phpsecureweb/header.inc.php  >  Download  
File: phpsecureweb/header.inc.php
Role: Application script
Content type: text/plain
Description: displays the heared information
Class: phpsecureweb
Allow users certain rights, login with password.
Author: By
Last change:
Date: 12 years ago
Size: 919 bytes
 

Contents

Class file image Download
<?php
    
/*
    * @author Bulent Tezcan. bulent@greenpepper.ca
    */

    
session_start( );

    include_once 
"securityConfig.inc.php";

    
$pathToCSS "http".($_SERVER["HTTPS"]=="on"?"s":"")
                            .
"://".$_SERVER["HTTP_HOST"]
                            .
CSS_DIRECTORY ."/" .$_SESSION["CSS"].".css";

    
$tableClass $_SESSION["CSS"]."FormTABLE";
    
$FieldCaptionTD $_SESSION["CSS"]."FieldCaptionTD";
    
$DataTD $_SESSION["CSS"]."DataTD";

echo <<<HTML
<html>
<head>
<title> New Document </title>
<meta name="Author" content="">
<meta name="Keywords" content="">
<meta name="Description" content="">
<link rel="stylesheet" type="text/css" href="
$pathToCSS">
</head>

<body>
<table class="
$tableClass" cellspacing="1" cellpadding="4" align="center">
<tr>
    <td class="
$FieldCaptionTD">This is coming from <b><i>header.inc.php.</i></b> You need to modify it to integrate to your site design.</td>
</tr>
</table>
HTML;

?>