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-word-jezyki.php
<?php
declare(strict_types=1);
require_once dirname(__DIR__).'/includes/tklm_word_v5.php';
require_admin_role();
$id=filter_input(INPUT_GET,'menu_id',FILTER_VALIDATE_INT);
if (!$id) {http_response_code(400);exit('Podaj numer karty w menu_id.');}
try {[$menu,$cats]=tklm_v5_rows((int)$id);} catch(Throwable $e) {http_response_code(404);exit('Nie znaleziono karty.');}
render_admin_header('Word i PDF — Polana');
?>
<div class="form-card" style="max-width:1000px">
<h1>Word i PDF — <?=e((string)$menu['name'])?> (#<?=(int)$id?>)</h1>
<p><a class="btn btn-primary" href="/admin/tklm-translate-menu-v8.php?menu_id=<?=$id?>">Przetłumacz brakujące PL → EN</a></p>
<p>Wszystkie eksporty używają logo <code>/assets/img/logo.png</code>. PDF jest generowany lokalnie w przeglądarce i pobierany jako plik A4.</p>
<div style="display:flex;gap:8px;flex-wrap:wrap;margin:15px 0">
<a class="btn btn-primary" href="/admin/tklm-word-export-v5.php?menu_id=<?=$id?>&amp;lang=pl">Word PL ↓</a>
<a class="btn btn-light" target="_blank" rel="noopener" href="/admin/tklm-pdf-export-v6.php?menu_id=<?=$id?>&amp;lang=pl&amp;download=1">PDF PL ↓</a>
<?=tklm_v5_word_buttons((int)$id)?>
</div>
<?php foreach(['en','de','es'] as $lang): $s=tklm_v5_status((int)$id,$lang); ?>
<p><strong><?=strtoupper($lang)?></strong>: <?=(int)$s['present']?>/<?=(int)$s['required']?> wymaganych pól. <?= $s['ready']?'Gotowe':($s['available']?'Niepełne — roboczy Word/PDF':'Brak tłumaczeń — przyciski ukryte') ?></p>
<?php endforeach; ?>
<p><a href="/admin/menus.php">← Powrót do listy kart</a></p>
</div>
<?php render_admin_footer(); ?>

Youez - 2016 - github.com/yon3zu
LinuXploit