HEX
Server: Apache/2.4.25 (Debian)
System: Linux server17 4.9.0-19-amd64 #1 SMP Debian 4.9.320-2 (2022-06-30) x86_64
User: web37 (1062)
PHP: 7.4.30
Disabled: show_source, highlight_file, apache_child_terminate, apache_get_modules, apache_note, apache_setenv, virtual, dl, disk_total_space, posix_getpwnam, posix_getpwuid, posix_mkfifo, posix_mknod, posix_setpgid, posix_setsid, posix_setuid, posix_uname, proc_nice, openlog, syslog, pfsockopen
Upload Files
File: /var/www/web37/htdocs/09005/admin/header.php
<?php
require_once "../res/x5engine.php";
require_once "../res/l10n.php";
require_once "../res/x5settings.php";
require_once "checkaccess.php";
?>
<!doctype html>
<html lang="en">
<head>
	<title>WebSite X5 Manager</title>
	<meta charset="UTF-8">
	<title>Document</title>
	<script type="text/javascript" src="../res/jquery.js"></script>
	<script type="text/javascript" src="../res/x5engine.js"></script>
	<script type="text/javascript">x5engine.settings.currentPath = "../";</script>
	<link rel="stylesheet" type="text/css" href="../style/reset.css"/>
	<link rel="stylesheet" type="text/css" href="../style/style.css"/>
	<link rel="stylesheet" type="text/css" href="../style/print.css" media="print"/>
	<link rel="stylesheet" type="text/css" href="template.css"/>
	<style>
	<?php
		// Find the existing star image
		$n = 0;
		while (!file_exists("../images/star0" . ++$n . "-big-empty.png") && $n < 10);
	?>
		.topic-star-container-big { background-image: url("../images/star0<?php echo $n ?>-big-empty.png")}
		.topic-star-fixer-big  { background-image: url("../images/star0<?php echo $n ?>-big-full.png")}
		.topic-star-container-small { background-image: url("../images/star0<?php echo $n ?>-small-empty.png")}
		.topic-star-fixer-small  { background-image: url("../images/star0<?php echo $n ?>-small-full.png")}
	</style>
</head>
<body>
<?php if (isset($logged) && $logged): ?>
	<div id="imNavBar">
<?php if (isset($imSettings['blog'])): ?>
		<a href="blog.php"<?php if (isset($_SERVER['PHP_SELF']) && basename($_SERVER['PHP_SELF']) == "blog.php") echo " class=\"active\""; ?>>Blog</a>
<?php endif; ?>
<?php if (isset($imSettings['guestbooks']) && count($imSettings['guestbooks'])): ?>
		<a href="guestbook.php"<?php if (isset($_SERVER['PHP_SELF']) && basename($_SERVER['PHP_SELF']) == "guestbook.php") echo " class=\"active\""; ?>>Guestbook</a>
<?php endif; ?>
<?php if (isset($imSettings['ecommerce']) && isset($imSettings['ecommerce']['database'])): ?>
		<a href="orders.php"<?php if (isset($_SERVER['PHP_SELF']) && basename($_SERVER['PHP_SELF']) == "orders.php") echo " class=\"active\""; ?>>E-Commerce</a>
<?php endif; ?>
		<a href="website_test.php"<?php if (isset($_SERVER['PHP_SELF']) && basename($_SERVER['PHP_SELF']) == "website_test.php") echo " class=\"active\""; ?>>Test</a>
		<span><a href="login.php?logout">Logout</a></span>
	</div>
<?php endif; ?>