AlternC/bureau/admin/head.php

64 lines
2.9 KiB
PHP
Raw Normal View History

<?php
/*
----------------------------------------------------------------------
AlternC - Web Hosting System
Copyright (C) 2000-2012 by the AlternC Development Team.
https://alternc.org/
----------------------------------------------------------------------
LICENSE
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License (GPL)
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
To read the license please visit http://www.gnu.org/copyleft/gpl.html
----------------------------------------------------------------------
Purpose of file: Main header of all html files
----------------------------------------------------------------------
*/
if (!$charset) $charset="UTF-8";
@header("Content-Type: text/html; charset=$charset");
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php echo $lang; ?>" lang="<?php echo $lang; ?>">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=<?php echo $charset; ?>" />
<title><?php __("AlternC Control Panel"); ?></title>
2009-09-08 05:29:38 +00:00
<link rel="stylesheet" href="styles/style.css" type="text/css" />
<link rel="stylesheet" href="js/jquery_ui/css/smoothness/jquery-ui-1.8.23.custom.css" type="text/css" />
2013-01-30 15:27:43 +00:00
<link rel="stylesheet" href="styles/style-empty.css" type="text/css" title="Default - Desktop TNG"/>
<link rel="alternate stylesheet" href="styles/style-bluedesktop10.css" type="text/css" title="Blue Desktop 1.0" />
2012-11-08 19:59:17 +00:00
<link rel="alternate stylesheet" href="styles/style-hw.css" type="text/css" title="Halloween" />
2012-08-22 14:46:35 +00:00
<link rel="Shortcut Icon" href="favicon.ico" type="image/ico" />
2012-08-22 14:48:23 +00:00
<link rel="icon" href="favicon.ico" type="image/ico" />
<script src="js/alternc.js" type="text/javascript" ></script>
<script src="js/jquery.min.js" type="text/javascript"></script>
2012-08-22 07:55:21 +00:00
<script src="js/jquery_ui/js/jquery-ui-1.8.23.custom.min.js" type="text/javascript"></script>
2009-09-08 05:29:38 +00:00
</head>
<body>
<?
2012-10-16 14:50:16 +00:00
if ($isinvited && isset($oldid) && !empty($oldid) && $oldid!=$cuid ) {
echo "<div align=center><p class='error'>";
__("Administrator session. you may <a href='adm_login.php'>return to your account</a> or <a href='adm_cancel.php'>cancel this feature</a>.");
if ($oldid == 2000) echo ' '._("You can also <a href='adm_update_domains.php'>apply changes</a>."); // Yes, hardcoded uid. We will rewrite permissions another day
echo "</p></div>";
}
?>
2009-09-08 05:29:38 +00:00
<div id="global">
<table>
<tr>
<td id="tdMenu"><div id="menu"><?php include_once("menu.php"); ?></div></td>
<td id="tdContent"><div id="content">