⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.23
Server IP:
178.33.27.10
Server:
Linux cpanel.dev-unit.com 3.10.0-1160.108.1.el7.x86_64 #1 SMP Thu Jan 25 16:17:31 UTC 2024 x86_64
Server Software:
Apache/2.4.57 (Unix) OpenSSL/1.0.2k-fips
PHP Version:
8.2.11
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
usr
/
share
/
cluebringer
/
webui
/
includes
/
View File Name :
header.php
<?php # Page header # Copyright (C) 2009-2011, AllWorldIT # Copyright (C) 2008, LinuxRulz # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License 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. # # You should have received a copy of the GNU General Public License along # with this program; if not, write to the Free Software Foundation, Inc., # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. include_once("includes/config.php"); # Print out HTML header function printHeader($params = NULL) { global $DB_POSTFIX_DSN; # Pull in params if (!is_null($params)) { if (isset($params['Tabs'])) { $tabs = $params['Tabs']; } if (isset($params['js.onLoad'])) { $jsOnLoad = $params['js.onLoad']; } if (isset($params['Title'])) { $title = $params['Title']; } } ?> <!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> <title>Policyd Web Administration</title> <link rel="stylesheet" type="text/css" href="stylesheet.css" /> <script type="text/javascript" src="tooltips/BubbleTooltips.js"></script> <script type="text/javascript"> window.onload=function(){enableTooltips(null,"img")}; </script> </head> <body<?php if (!empty($jsOnLoad)) { echo " onLoad=\"".$jsOnLoad."\""; } ?>> <table id="maintable"> <tr> <td id="header">Policyd Web Administration</td> </tr> <tr> <td> <table> <tr> <td id="menu"> <img style="margin-top:-1px; margin-left:-1px;" src="images/top2.jpg" alt="" /> <p><a href=".">Home</a></p> <p>Policies</p> <ul> <li><a href="policy-main.php">Main</a></li> <li><a href="policy-group-main.php">Groups</a></li> </ul> <p>Access Control</p> <ul> <li><a href="accesscontrol-main.php">Configure</a></li> </ul> <p>HELO/EHLO Checks</p> <ul> <li><a href="checkhelo-main.php">Configure</a></li> <li><a href="checkhelo-blacklist-main.php">Blacklist</a></li> <li><a href="checkhelo-whitelist-main.php">Whitelist</a></li> </ul> <p>SPF Checks</p> <ul> <li><a href="checkspf-main.php">Configure</a></li> </ul> <p>Greylisting</p> <ul> <li><a href="greylisting-main.php">Configure</a></li> <li><a href="greylisting-whitelist-main.php">Whitelist</a></li> </ul> <p>Quotas</p> <ul> <li><a href="quotas-main.php">Configure</a></li> </ul> <p>Accounting</p> <ul> <li><a href="accounting-main.php">Configure</a></li> </ul> <p>Amavis Integration</p> <ul> <li><a href="amavis-main.php">Configure</a></li> </ul> <?php # Check if postfix DSN is set if (isset($DB_POSTFIX_DSN) && !empty($DB_POSTFIX_DSN)) { ?> <p>Postfix Integration</p> <ul> <li><a href="postfix-transports-main.php">Transports</a></li> <li><a href="postfix-mailboxes-main.php">Mailboxes</a></li> <li><a href="postfix-aliases-main.php">Aliases</a></li> <li><a href="postfix-distgroups-main.php">Distribution Groups</a></li> </ul> <?php } ?> <img style="margin-left:-1px; margin-bottom: -6px" src="images/specs_bottom.jpg" alt="" /> </td> <td class="content"> <table class="content"> <?php # Check if we must display tabs or not if (!empty($tabs)) { ?> <tr><td id="topmenu"><ul> <?php foreach ($tabs as $key => $value) { ?> <li> <a href="<?php echo $value ?>" title="<?php echo $key ?>"> <span><?php echo $key ?></span></a> </li> <?php } ?> </ul></td></tr> <?php } ?> <tr> <td> <?php } # vim: ts=4 ?>