Absolut Engine PHP Cross Reference Web Portal Systems

Source: /admin/header.php - 72 lines - 3399 bytes - Summary - Text - Print

   1  <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
   2      "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
   3  <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
   4  
   5  <head>
   6  <meta http-equiv="content-type" content="text/html; charset=<? echo $ae->charset ?>" />
   7  <meta name="author" content="XHTML + CSS + PHP: Daniel Duris, dusoft[at]staznosti[dot]sk" />
   8  <meta name="author" content="Design: Daniel Duris, dusoft[at]staznosti[dot]sk" />
   9  <meta name="author" content="Logo + graphics: Rudolf Hausleitner" />
  10  <meta name="copyright" content="Daniel Duris, 2001-<? echo date("Y"); ?>" />
  11  <meta name="licence" content="GNU General Public Licence" />
  12  <meta name="keywords" content="news publishing system, content management system, cms, news publishing engine, php, mysql, xhtml, css, absolut engine" />
  13  <meta name="description" content="Absolut Engine is a news publishing system developed in PHP and MySQL. Built with web standards in mind." />
  14  <meta name="robots" content="all" />
  15  <title>Absolut Engine news publishing system by Daniel Duris</title>
  16  <style type="text/css">@import "<? echo TEMPDIR; ?>main.css";</style>
  17  <?
  18  if (file_exists(TEMPDIR."additional.css")) echo '<style type="text/css">@import ',TEMPDIR,'"additional.css";</style>';
  19  if (file_exists("additional.css")) echo '<style type="text/css">@import "additional.css";</style>';
  20  ?>
  21  <link rel="shortcut icon" type="image/x-icon" href="<? echo TEMPDIR; ?>images/favicon.ico" />
  22  <script type="text/javascript" src="<? echo TEMPDIR; ?>form.js"></script>
  23  <?
  24  if (file_exists("additional.js")) echo '<script type="text/javascript" src="additional.js"></script>';
  25  if (defined('INCLUDEWYSIWYG') AND $ae->wysiwygeditor)
  26     {
  27     if (file_exists($ae->wysiwygeditor."css/style.css"))
  28        {
  29        echo '<style type="text/css" media="all">@import "',TEMPDIR,$ae->wysiwygeditor,'css/style.css";</style>';
  30        }
  31     if (file_exists($ae->wysiwygeditor."scripts/functions.js"))
  32        {
  33        echo '<script type="text/javascript">';
  34        @include(TEMPDIR.$ae->wysiwygeditor.'scripts/functions.js');
  35        echo '</script>';
  36        }
  37     }
  38  ?>
  39  </head>
  40  
  41  <body>
  42  <div id="header">
  43  <?
  44  if ($ae->username AND $ae->session)
  45     {
  46     $ae->DBQuery("SELECT * FROM ".$ae->table[5]." WHERE ID='".$ae->currentuserID."'");
  47     $ae->DBGetRow();
  48     echo $ae->textbasic[48],' <strong>',$ae->access["fullname"],'</strong>! ';
  49     if ($ae->currentuserposition<=3)
  50        {
  51        echo '<strong>',$ae->textbasic[46] ,'</strong> ';
  52        $ae->DBQuery("SELECT fullname FROM ".$ae->table[6]." AS login LEFT JOIN ".$ae->table[5]." AS users ON login.userID=users.ID WHERE login.userID<>'".$ae->currentuserID."' ORDER BY fullname");
  53        $i=$ae->rowsnumber;
  54        while ($ae->DBGetRow())
  55              {
  56              $i--;
  57              echo $ae->access["fullname"];
  58              if ($i) echo ', ';
  59              }
  60        if (!$ae->rowsnumber) echo $ae->textbasic[47];
  61        else echo '.';
  62        }
  63     echo '<form action="',TEMPDIR,'admin.php" method="post">';
  64     echo '<input type="submit" name="submit" id="submit" value="',$ae->textbasic[67],'" class="button" />';
  65     echo '<input type="hidden" name="username" value="',$ae->username,'" />';
  66     echo '<input type="hidden" name="session" value="',$ae->session,'" />';
  67     echo '<input type="hidden" name="action" value="2" />';
  68     echo '</form>';
  69     }
  70  ?>
  71  
  72  </div>

title

Description

title

Description

title

Description

title

title

Body