2011-02-28 17:53:09 +01:00
|
|
|
<?php
|
2023-06-08 13:19:01 +02:00
|
|
|
// Pandora FMS - https://pandorafms.com
|
2011-02-28 17:53:09 +01:00
|
|
|
// ==================================================
|
2023-06-08 11:53:13 +02:00
|
|
|
// Copyright (c) 2005-2023 Pandora FMS
|
2023-06-08 13:19:01 +02:00
|
|
|
// Please see https://pandorafms.com/community/ for full contribution list
|
2011-02-28 17:53:09 +01:00
|
|
|
// 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 for version 2.
|
|
|
|
// 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.
|
|
|
|
// Login check
|
|
|
|
global $config;
|
|
|
|
|
|
|
|
$get_image_path = get_parameter('get_image_path', 0);
|
|
|
|
|
2019-01-30 16:18:44 +01:00
|
|
|
// skins image checks
|
2013-05-20 18:35:49 +02:00
|
|
|
if ($get_image_path) {
|
2019-01-30 16:18:44 +01:00
|
|
|
$img_src = get_parameter('img_src');
|
|
|
|
$only_src = get_parameter('only_src', 0);
|
|
|
|
|
|
|
|
echo html_print_image($img_src, true, '', $only_src);
|
2011-02-28 17:53:09 +01:00
|
|
|
}
|