Which page would you like to view the highlighted source code of?
login.php | project.php | header.php | gpl | none
header.php:
<?php
/*
----------------------------------------------------------------
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License as
published by the Free Software Foundation; either version 2 of
the License, or (at your option) any later version.
----------------------------------------------------------------
*/
if ($_SESSION['oba_auth'] == false) {
$blog_title = "operation blog authority";
$log = "log in";
$page_l = "login.php";
}
else {
$blog_title = $blogs['title'];
$log = "log out [".$_SESSION['oba_un']."]";
$page_l = "login.php?m=l";
}
if ($_SESSION['oba_un'] == "") {
$title_second = "";
}
else {
$title_second = "[".$_SESSION['oba_un']."]";
}
if ($_SERVER['PHP_SELF'] == "/project.php") {
$span_p = "";
$href_p = " id=\"current\"";
$span_l = " class=\"inactive\"";
$href_l = "";
}
else if ($_SERVER['PHP_SELF'] == "/login.php") {
$span_p = " class=\"inactive\"";
$href_p = "";
$span_l = "";
$href_l = " id=\"current\"";
}
echo "<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.1//EN\" \"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd\">\n";
echo "<html>\n";
echo " <head>\n";
echo " <title>oba ".$page_title." ".$title_second."</title>\n";
echo " <meta http-equiv=\"Content-Type\" content=\"text/html; charset=ISO-8859-1\" />\n";
echo " <link id=\"link\" rel=\"stylesheet\" type=\"text/css\" href=\"ssheet.css\" />\n";
echo " <script src=\"standard.js\" type=\"text/javascript\"></script>";
echo " <script src=\"quicktags.js\" type=\"text/javascript\"></script>";
echo " </head>\n";
echo " <body>\n";
echo " <div id=\"gradient\">\n";
echo " <span style=\"float: right; margin-top: 18px; margin-right: 4px;\"><a href=\"users/".$_SESSION['oba_un']."/index.html\">view your blog</a></span>\n";
echo " <div>\n";
echo " <span class=\"main_header\">".$blog_title."</span>\n";
echo " <span class=\"small_header\"> :: </span>\n";
echo " <span id=\"navlist\">\n";
echo " <span".$span_p."><a href=\"project.php\"".$href_p.">project manager</a></span>\n";
echo " <span class=\"inactive\"><a href=\"/\">roadmap</a></span>\n";
echo " <span class=\"inactive\"><a href=\"#\">link three</a></span>\n";
echo " <span class=\"inactive\"><a href=\"#\">link four</a></span>\n";
echo " <span".$span_l."><a href=\"".$page_l."\"".$href_l.">".$log."</a></span>\n";
echo " </span>\n";
echo " <br /><br />\n";
echo " </div>\n";
echo " </div>\n";
?>