Просмотр файла script/admin/header.php

Размер файла: 4.59Kb
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>mcGalleryPRO Admin</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css">
<!--
a.lien1:link {  font-family: Verdana, Arial; color: #333333; text-decoration: none}
a.lien1:visited {  font-family: verdana, Arial; color: #333333; text-decoration: none}
a.lien1:hover {  font-family: Verdana, Arial; color: #FFFFFF; text-decoration: none}

a.lien2:link {  font-family: Verdana, Arial; color: #CCCCCC; text-decoration: none}
a.lien2:visited {  font-family: verdana, Arial; color: #CCCCCC; text-decoration: none}
a.lien2:hover {  font-family: Verdana, Arial; color: #FF6600; text-decoration: none}
a.lien2:active {  font-family: Verdana, Arial; color: #FF6600; text-decoration: none}

input, select {  font-family: Arial, Helvetica, sans-serif; font-size: 10px; text-align: center }
textarea {  font-family: Arial, Helvetica, sans-serif; font-size: 10px; text-align: left }
-->
</style>
</head>

<body bgcolor="#EEEEEE" text="black">
<?php
session_start();
if (empty($_SESSION['password']))
{
include "./sess.php";
exit;
}
include './conf.inc.php';
include '../lang/'.$lang_def;
$imG = '<img src="../images/droit.gif" border="0" alt="">';
$imD = '<img src="../images/gauche.gif" border="0" alt="">';

if (ereg('index.php', $PHP_SELF) == TRUE || ereg('detailphoto.php', $PHP_SELF) == TRUE) { $imG1 = $imG; $imD1 = $imD; }
if (ereg('video.php', $PHP_SELF) == TRUE) { $imG2 = $imG; $imD2 = $imD; }
if (ereg('flash.php', $PHP_SELF) == TRUE) { $imG3 = $imG; $imD3 = $imD; }
if (ereg('users.php', $PHP_SELF) == TRUE) { $imG4 = $imG; $imD4 = $imD; }
if (ereg('comments.php', $PHP_SELF) == TRUE) { $imG5 = $imG; $imD5 = $imD; }
if (ereg('stats.php', $PHP_SELF) == TRUE) { $imG6 = $imG; $imD6 = $imD; }
if (ereg('design.php', $PHP_SELF) == TRUE) { $imG7 = $imG; $imD7 = $imD; }
if (ereg('uploadphoto.php', $PHP_SELF) == TRUE) { $imG8 = $imG; $imD8 = $imD; }
if (ereg('install.php', $PHP_SELF) == TRUE) { $imG9 = $imG; $imD9 = $imD; }
if (ereg('news_admin.php', $PHP_SELF) == TRUE) { $imG10 = $imG; $imD10 = $imD; }
if (ereg('help.php', $PHP_SELF) == TRUE) { $imG11 = $imG; $imD11 = $imD; }
?>

<table border="0" width="100%" background="../images/td.gif">
  <tr>
    <td align="center" height="37">
     <a href="../index.php" class="lien2"><img src="../images/home.gif" border="0" alt="Homepage"></a>
    </td>
    <td align="center" height="37"><font face="verdana" size="2"><b>
     <a href="index.php" class="lien2"><?php echo $imG1.' '.$l_Photos.' '.$imD1; ?></b></a></font>
    </td>
    <td align="center" height="37"><font face="verdana" size="2"><b>
     <a href="indexvideo.php" class="lien2"><?php echo $imG2.' '.$l_Videos.' '.$imD2; ?></b></a></font>
    </td>
    <td align="center" height="37"><font face="verdana" size="2"><b>
     <a href="indexflash.php" class="lien2"><?php echo $imG3.' '.$l_Flash.' '.$imD3; ?></b></a></font>
    </td>
    <td align="center" height="37"><font face="verdana" size="2"><b>
     <a href="uploadphoto.php" class="lien2"><?php echo $imG8.' '.$l_Uploads.' '.$imD8; ?></b></a></font>
    </td>
    <td align="center" height="37"><font face="verdana" size="2"><b>
     <a href="users.php" class="lien2"><?php echo $imG4.' '.$l_Members.' '.$imD4; ?></b></a></font>
    </td>
    <td align="center" height="37"><font face="verdana" size="2"><b>
     <a href="comments.php" class="lien2"><?php echo $imG5.' '.$l_Comments.' '.$imD5; ?></b></a></font>
    </td>
    <td align="center" height="37"><font face="verdana" size="2"><b>
     <a href="stats.php" class="lien2"><?php echo $imG6.' '.$l_stats.' '.$imD6; ?></b></a></font>
    </td>
    <td align="center" height="37"><font face="verdana" size="2"><b>
     <a href="news_admin.php" class="lien2"><?php echo $imG10.' '.$l_News.' '.$imD10; ?></b></a></font>
    </td>
    <td align="center" height="37"><font face="verdana" size="2"><b>
     <a href="design.php" class="lien2"><?php echo $imG7.' '.$l_Design.' '.$imD7; ?></b></a></font>
    </td>
    <td align="center" height="37"><font face="verdana" size="2"><b>
     <a href="install.php" class="lien2"><?php echo $imG9; ?> Config <?php echo $imD9; ?></b></a></font>
    </td>
    <td align="center" height="37"><font face="verdana" size="2"><b>
     <a href="help.php" class="lien2"><?php echo $imG11; ?> HELP <?php echo $imD11; ?></b></a></font>
    </td>
    <td align="center" height="37"><font face="verdana" size="2"><b>
     <a href="logout.php" class="lien2"><?php echo $l_logout; ?></b></a></font>
    </td>
   </tr>
</table>
<br>