Location: PHPKode > projects > Absolut Engine > absolut-engine-33870/admin/header.php
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">

<head>
<meta http-equiv="content-type" content="text/html; charset=<? echo $ae->charset ?>" />
<meta name="author" content="XHTML + CSS + PHP: Daniel Duris, dusoft[at]staznosti[dot]sk" />
<meta name="author" content="Design: Daniel Duris, dusoft[at]staznosti[dot]sk" />
<meta name="copyright" content="Daniel Duris, 2001-<? echo date("Y"); ?>" />
<meta name="licence" content="GNU General Public Licence" />
<meta name="keywords" content="news publishing system, content management system, cms, news publishing engine, php, mysql, xhtml, css, absolut engine" />
<meta name="description" content="Absolut Engine is a news publishing system developed in PHP and MySQL. Built with web standards in mind." />
<meta name="robots" content="all" />
<title>Absolut Engine news publishing system by Daniel Duris</title>
<style type="text/css">@import "<? echo TEMPDIR; ?>main.css";</style>
<link rel="shortcut icon" type="image/x-icon" href="<? echo TEMPDIR; ?>/images/favicon.ico" />
<script type="text/javascript" src="<? echo TEMPDIR; ?>form.js"></script>
<script type="text/javascript" src="<? echo TEMPDIR; ?>textformat.js"></script>
<?
if ($ae->articleID AND $ae->action=="preview") echo '<script type="text/javascript">preview=window.open(\'../showarticle.php?articleID=',$ae->articleID,'\',\'preview\',\'scrollbars=yes,resizable=yes\');</script>';
?>
</head>

<body>
<? if ($noheader==FALSE): ?>
<div id="header">
<img src="<? echo TEMPDIR; ?>images/toppanel.gif" alt="Absolut Engine news publishing system" class="logo" />
<h1><a href="http://www.absolutengine.com" title="Absolut Engine - news publishing system in PHP/MySQL (www.absolutengine.com)">ABSOLUT ENGINE</a></h1><br>

<?
if ($ae->username AND $ae->session)
{
@$ae->DBQuery("SELECT * FROM ".$ae->table[5]." WHERE ID='".$ae->currentuserID."'");
$ae->DBGetRow();
$listname=$ae->access["fullname"];
echo $ae->textbasic[48],' <strong>',$listname,'</strong>! ';
echo '<strong>',$ae->textbasic[46] ,'</strong> ';
@$ae->DBQuery("SELECT * FROM ".$ae->table[6]);
$online=$ae->rowsnumber;
$i=0;
while ($ae->DBGetRow())
{
$outcome2=$ae->outcome;
$onlineID=$ae->access["userID"];
if ($onlineID AND $onlineID<>$ae->currentuserID)
{
if ($i>0) echo ', ';
@$ae->DBQuery("SELECT fullname FROM ".$ae->table[5]." WHERE ID='$onlineID'");
$ae->DBGetRow();
$onlinename=$ae->access["fullname"];
echo $onlinename;
$i++;
}
$ae->outcome=$outcome2;
}
if ($online>1) echo '.'; else echo $ae->textbasic[47];
}
?>

</div>

<?
if (!$noback)
{
echo '<div class="options">';
echo '<img src="',TEMPDIR,'images/bullet.gif" alt="-"> <a href="',TEMPDIR,'admin.php?username=',$ae->username,'&session=',$ae->session,'">',$ae->textbasic[71],'</a>';
echo '</div>';
}
?>
<? endif; ?>
<span class="clear" />
Return current item: Absolut Engine