1<?php
2
3// Pandora FMS - http://pandorafms.com
4// ==================================================
5// Copyright (c) 2005-2011 Artica Soluciones Tecnologicas
6// Please see http://pandorafms.org for full contribution list
7
8// This program is free software; you can redistribute it and/or
9// modify it under the terms of the GNU General Public License
10// as published by the Free Software Foundation; version 2
11
12// This program is distributed in the hope that it will be useful,
13// but WITHOUT ANY WARRANTY; without even the implied warranty of
14// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15// GNU General Public License for more details.
16
17if (file_exists("images/grafico_llave.png")) {
18	ui_print_page_header (__('You don\'t have access to this page'), "", false, "", true);
19}
20else {
21	echo "<br><br><center><h3>".__('You don\'t have access to this page')."</h3></center>";
22}
23?>
24
25<div id="noaccess" style="width: 500px; height:180px;">
26	<div id="noaccess-title" style=" height: 20px; width: 98%;"><?php echo __('Access to this page is restricted');?></div>
27	<div>
28		<div id="noaccess-image" style="width: 15%;">
29			<?php
30				if (file_exists("images/grafico_llave.png")) {
31					echo html_print_image('images/grafico_llave.png', true, array("alt" => __('No access')));
32				}
33			?>
34		</div>
35		<div id="noaccess-text" style="width: 70%;">
36			<?php echo __('Access to this page is restricted to authorized users only, please contact system administrator if you need assistance. <br/> <br/>
37			Please know that all attempts to access this page are recorded in security logs of Pandora System Database');?>
38		</div>
39	</div>
40</div>
41
42<!-- Container div. ENDS HERE -->
43