403Webshell
Server IP : 188.114.96.3  /  Your IP : 216.73.216.143
Web Server : Apache
System : Linux sv058.home.net.pl 6.8.2 husak_dirty_pages_fix #1 SMP PREEMPT_DYNAMIC Tue Apr 2 22:06:51 CEST 2024 x86_64
User :  ( 3194769)
PHP Version : 8.5.12
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : OFF
Directory :  /polana/admin/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /polana/admin/tklm-menu-word.php
<?php
declare(strict_types=1);
/** TKLM V6: wszystkie starsze linki z Centrum Menu kieruja do wspolnego eksportera z logo. */
require_once dirname(__DIR__).'/includes/functions.php';
require_admin_role();
$id=filter_input(INPUT_GET,'menu_id',FILTER_VALIDATE_INT);
$lang=strtolower((string)($_GET['lang']??'pl'));
if (!$id || !in_array($lang,['pl','en','de','es'],true)) {
    http_response_code(400);exit('Nieprawidłowa karta albo język.');
}
$query=http_build_query([
  'menu_id'=>(int)$id,'lang'=>$lang,
  'draft'=>(string)($_GET['draft']??'')==='1'?'1':'0',
]);
header('Cache-Control: no-store, private');
header('Location: /admin/tklm-word-export-v5.php?'.$query,true,303);
exit;

Youez - 2016 - github.com/yon3zu
LinuXploit