Spaces:
Running
Running
Update index.html
Browse files- index.html +164 -356
index.html
CHANGED
|
@@ -1,390 +1,198 @@
|
|
| 1 |
-
|
| 2 |
-
|
| 3 |
<!DOCTYPE html>
|
| 4 |
-
<html lang="en"
|
| 5 |
<head>
|
| 6 |
-
|
| 7 |
-
<script async src="https://www.googletagmanager.com/gtag/js?id=G-G25TN25DB9"></script>
|
| 8 |
-
<script>
|
| 9 |
-
|
| 10 |
-
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
|
| 14 |
-
gtag('config', 'G-G25TN25DB9', {
|
| 15 |
-
'cookie_flags': 'max-age=7200;Secure;SameSite=None'
|
| 16 |
-
});
|
| 17 |
-
</script>
|
| 18 |
-
|
| 19 |
-
|
| 20 |
-
|
| 21 |
<meta charset="UTF-8">
|
| 22 |
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
| 23 |
-
<title>
|
| 24 |
-
<!-- وسم توثيق الدومين الخاص بك -->
|
| 25 |
-
<meta name='dailymotion-domain-verification' content='dmh3lni5nx286s72u' />
|
| 26 |
-
|
| 27 |
<style>
|
| 28 |
-
:root {
|
| 29 |
-
|
| 30 |
-
|
| 31 |
-
|
| 32 |
-
|
| 33 |
-
|
| 34 |
-
}
|
| 35 |
-
|
| 36 |
-
|
| 37 |
-
|
| 38 |
-
|
| 39 |
-
|
| 40 |
-
|
| 41 |
-
|
| 42 |
-
}
|
| 43 |
-
.
|
| 44 |
-
|
| 45 |
-
|
| 46 |
-
|
| 47 |
-
|
| 48 |
-
|
| 49 |
-
|
| 50 |
-
|
| 51 |
-
|
| 52 |
-
|
| 53 |
-
|
| 54 |
-
}
|
| 55 |
-
.
|
| 56 |
-
|
| 57 |
-
.hub-badge {
|
| 58 |
-
background: var(--accent-color);
|
| 59 |
-
color: black;
|
| 60 |
-
padding: 4px 10px;
|
| 61 |
-
border-radius: 4px;
|
| 62 |
-
font-size: 11px;
|
| 63 |
-
display: inline-block;
|
| 64 |
-
margin-bottom: 10px;
|
| 65 |
-
font-weight: bold;
|
| 66 |
-
text-transform: uppercase;
|
| 67 |
-
}
|
| 68 |
-
.secure-badge {
|
| 69 |
-
background: #38bdf8;
|
| 70 |
-
color: black;
|
| 71 |
-
padding: 4px 10px;
|
| 72 |
-
border-radius: 4px;
|
| 73 |
-
font-size: 11px;
|
| 74 |
-
display: inline-block;
|
| 75 |
-
margin-bottom: 10px;
|
| 76 |
-
margin-left: 5px;
|
| 77 |
-
font-weight: bold;
|
| 78 |
-
text-transform: uppercase;
|
| 79 |
-
}
|
| 80 |
-
|
| 81 |
-
h1 { font-size: 24px; color: var(--main-title); margin-top: 5px; line-height: 1.3; }
|
| 82 |
-
#content { font-size: 16px; color: #cbd5e1; margin: 20px 0; white-space: pre-line; }
|
| 83 |
-
|
| 84 |
-
/* تنسيق الروابط المحقونة داخل المقال */
|
| 85 |
-
#content a { color: var(--accent-color); font-weight: bold; text-decoration: underline; }
|
| 86 |
-
|
| 87 |
-
.btn-container { text-align: center; margin: 30px 0; }
|
| 88 |
-
.btn {
|
| 89 |
-
display: inline-block;
|
| 90 |
-
background: linear-gradient(135deg, #00ffcc, #0055ff);
|
| 91 |
-
color: black;
|
| 92 |
-
padding: 16px 45px;
|
| 93 |
-
text-decoration: none;
|
| 94 |
-
border-radius: 50px;
|
| 95 |
-
font-weight: bold;
|
| 96 |
-
font-size: 18px;
|
| 97 |
-
box-shadow: 0 4px 15px rgba(0, 255, 204, 0.4);
|
| 98 |
-
transition: transform 0.2s;
|
| 99 |
-
text-transform: uppercase;
|
| 100 |
-
}
|
| 101 |
-
.btn:hover { transform: scale(1.03); color: black; }
|
| 102 |
-
|
| 103 |
-
.related-box { margin-top: 40px; border-top: 1px solid #1e2535; padding-top: 20px; }
|
| 104 |
-
.related-title { font-size: 18px; color: #fff; margin-bottom: 15px; }
|
| 105 |
-
.grid-games { display: grid; grid-template-columns: 1fr; gap: 12px; }
|
| 106 |
-
@media(min-width: 500px) { .grid-games { grid-template-columns: 1fr 1fr; } }
|
| 107 |
-
.game-card {
|
| 108 |
-
background: #161a26; padding: 15px; border-radius: 8px; text-decoration: none; color: #fff; border: 1px solid #1e2535; display: block;
|
| 109 |
-
}
|
| 110 |
-
.game-card:hover { background: #1e2436; border-color: var(--accent-color); }
|
| 111 |
-
.game-card-title { font-size: 14px; font-weight: 500; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
|
| 112 |
-
.game-card-action { color: var(--accent-color); font-size: 12px; font-weight: bold; margin-top: 8px; display: block; }
|
| 113 |
-
|
| 114 |
-
/* قسم التعليقات الديناميكية الحية */
|
| 115 |
-
.comments-section { margin-top: 40px; background: #0a0b0f; padding: 20px; border-radius: 8px; border: 1px solid #161a26; }
|
| 116 |
-
.comment-item { display: flex; gap: 12px; margin-bottom: 15px; border-bottom: 1px solid #161a26; padding-bottom: 12px; }
|
| 117 |
-
.comment-item:last-child { border: none; margin-bottom: 0; padding-bottom: 0; }
|
| 118 |
-
.avatar { width: 40px; height: 40px; background: #1e2535; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: bold; color: var(--accent-color); font-size: 14px; flex-shrink: 0; text-transform: uppercase; }
|
| 119 |
-
.comment-details { flex: 1; }
|
| 120 |
-
.comment-user { font-weight: bold; font-size: 14px; color: #fff; margin-bottom: 2px; }
|
| 121 |
-
.comment-text { font-size: 13.5px; color: #94a3b8; }
|
| 122 |
-
.comment-text a { color: var(--accent-color); font-weight: bold; text-decoration: underline; }
|
| 123 |
-
.comment-time { font-size: 11px; color: #475569; margin-top: 4px; }
|
| 124 |
-
|
| 125 |
-
/* جدار الحماية والأمان المانع للـ VPN والـ AdBlock */
|
| 126 |
-
#guard-overlay {
|
| 127 |
-
display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%;
|
| 128 |
-
background: rgba(6,7,10,0.99); z-index: 9999999; align-items: center; justify-content: center;
|
| 129 |
-
padding: 20px; box-sizing: border-box; direction: ltr;
|
| 130 |
-
}
|
| 131 |
-
.guard-box {
|
| 132 |
-
max-width: 500px; background: #11141e; padding: 35px; border-radius: 12px;
|
| 133 |
-
text-align: center; border: 2px solid var(--accent-color); box-shadow: 0 0 25px rgba(0,255,204,0.3);
|
| 134 |
-
}
|
| 135 |
-
.guard-box h2 { color: var(--accent-color); margin-top: 0; font-size: 24px; font-weight: bold; }
|
| 136 |
-
.guard-box p { color: #cbd5e1; font-size: 15px; line-height: 1.6; margin: 15px 0 25px 0; }
|
| 137 |
-
.guard-btn {
|
| 138 |
-
background: linear-gradient(135deg, #00ffcc, #0055ff); color: #000; border: none;
|
| 139 |
-
padding: 12px 35px; border-radius: 25px; font-weight: bold; cursor: pointer; font-size: 15px;
|
| 140 |
-
box-shadow: 0 4px 15px rgba(0,255,204,0.4); text-transform: uppercase; display: inline-block; text-decoration: none;
|
| 141 |
-
}
|
| 142 |
</style>
|
| 143 |
</head>
|
| 144 |
<body>
|
| 145 |
-
|
| 146 |
-
|
| 147 |
-
|
| 148 |
-
|
| 149 |
-
|
| 150 |
-
<p id="guard-msg">Our network database requires ad-verification and an unproxied residential connection. Please disable your AdBlocker / VPN / Proxy switcher and refresh to authenticate.</p>
|
| 151 |
-
<a href="#" onclick="window.location.reload(); return false;" class="guard-btn">🔄 RE-ESTABLISH CONNECTION</a>
|
| 152 |
-
</div>
|
| 153 |
-
</div>
|
| 154 |
-
|
| 155 |
-
<div class="header-bar">⚡ SYSTEM STATUS: All Mirror Links & Reward Keys are Live and Fully Operational!</div>
|
| 156 |
-
|
| 157 |
<div class="container">
|
| 158 |
-
<
|
| 159 |
-
<
|
| 160 |
-
|
| 161 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 162 |
|
| 163 |
-
<
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 164 |
|
| 165 |
-
<
|
| 166 |
-
|
| 167 |
-
|
| 168 |
-
|
| 169 |
-
<
|
| 170 |
-
<a id="main-download-btn" href="#" class="btn" target="_blank">⚡ CLAIM REDEEM CODE / ACCESS DOWNLOAD</a>
|
| 171 |
-
</div>
|
| 172 |
-
|
| 173 |
-
<!-- منظومة التعليقات الحية والمثيرة للجدل -->
|
| 174 |
-
<div class="comments-section">
|
| 175 |
-
<div style="font-weight: bold; margin-bottom: 15px; color: #fff; font-size: 15px;">Recent Verified User Activity & Troubleshooting:</div>
|
| 176 |
-
<div id="dynamic-comments-container">
|
| 177 |
-
<!-- جاري تحميل التعليقات ديناميكياً لتجنب كشف البوتات وزيادة ثقة الزائر الأمريكي -->
|
| 178 |
-
</div>
|
| 179 |
-
</div>
|
| 180 |
-
|
| 181 |
-
<!-- المقالات والمواضيع الجانبية ذات الصلة -->
|
| 182 |
-
<div class="related-box" id="related-section">
|
| 183 |
-
<div class="related-title">🎮 Other Trending Community Drops Today:</div>
|
| 184 |
-
<div class="grid-games" id="related-games"></div>
|
| 185 |
-
</div>
|
| 186 |
</div>
|
| 187 |
-
|
| 188 |
-
<
|
| 189 |
-
|
| 190 |
-
<
|
| 191 |
-
|
| 192 |
-
|
| 193 |
-
|
| 194 |
-
<div style="display:flex; font-size:12px; color:#38bdf8; font-weight:bold; margin-bottom:6px; justify-content: space-between;">
|
| 195 |
-
<span id="scan-status">🔍 Initializing secure connection...</span>
|
| 196 |
-
<span id="scan-percentage">0%</span>
|
| 197 |
-
</div>
|
| 198 |
-
<div style="width:100%; height:8px; background:#1e293b; border-radius:4px; overflow:hidden;">
|
| 199 |
-
<div id="scan-bar" style="width:0%; height:100%; background:linear-gradient(90deg, #0284c7, #38bdf8); transition: width 1s linear; border-radius:4px;"></div>
|
| 200 |
-
</div>
|
| 201 |
-
</div>
|
| 202 |
-
|
| 203 |
-
<a id="gateway-link" href="#" style="display:block; background:#1e293b; color:#94a3b8; padding:14px 24px; border-radius:8px; text-decoration:none; font-weight:bold; font-size:15px; border:1px dashed #334155; transition:all 0.3s ease;">
|
| 204 |
-
🔒 Waiting for Cloud Scan...
|
| 205 |
-
</a>
|
| 206 |
-
|
| 207 |
-
<div id="mirror-servers" style="margin-top:20px; border-top:1px dashed #1e293b; padding-top:15px; display:none; animation: fadeIn 0.5s ease;">
|
| 208 |
-
<p style="color:#64748b; font-size:12px; margin-bottom:10px;">Having trouble? Try premium mirror links:</p>
|
| 209 |
-
<div style="display:flex; flex-direction:column; gap:8px;">
|
| 210 |
-
<a class="smart-mirror" href="#" style="color:#38bdf8; font-size:13px; text-decoration:none; font-weight:500;">🌐 Mirror 1: Download via Cloudflare US-East node (High Speed)</a>
|
| 211 |
-
</div>
|
| 212 |
</div>
|
| 213 |
-
</
|
| 214 |
|
| 215 |
<script>
|
| 216 |
-
|
| 217 |
-
|
| 218 |
-
|
| 219 |
-
|
| 220 |
-
|
| 221 |
-
|
| 222 |
-
|
| 223 |
-
|
| 224 |
-
}
|
| 225 |
-
|
| 226 |
-
// 🛡️ 1. كاشف الأدبلوك لفرض جلب المشاهدات الإعلانية
|
| 227 |
-
function checkAdBlock() {
|
| 228 |
-
const bait = document.createElement('div');
|
| 229 |
-
bait.className = 'pub_300x250 ad-box adzone adsbox text-ads ad-server ad-wrapper';
|
| 230 |
-
bait.style = 'position:absolute; top:-999px; left:-999px; width:1px; height:1px;';
|
| 231 |
-
document.body.appendChild(bait);
|
| 232 |
-
setTimeout(() => {
|
| 233 |
-
if (bait.offsetHeight === 0 || window.getComputedStyle(bait).display === 'none') {
|
| 234 |
-
triggerGuard("AdBlock Blocker Alert!", "Our verification cloud infrastructure requires passive ad authentication. Please white-list our platform or turn off Brave Shields/AdBlocker and reload.");
|
| 235 |
-
}
|
| 236 |
-
bait.remove();
|
| 237 |
-
}, 250);
|
| 238 |
-
}
|
| 239 |
-
|
| 240 |
-
// 🛡️ 2. كاشف الـ VPN المطور (Fail-Safe) لحماية الأرباح وعدم تعطيل الزوار الحقيقيين
|
| 241 |
-
function checkVPN() {
|
| 242 |
-
fetch('https://ipapi.co/json/')
|
| 243 |
-
.then(res => res.json())
|
| 244 |
-
.then(data => {
|
| 245 |
-
const browserTimezone = Intl.DateTimeFormat().resolvedOptions().timeZone;
|
| 246 |
-
const ipTimezone = data.timezone;
|
| 247 |
-
if (ipTimezone && browserTimezone && ipTimezone !== browserTimezone) {
|
| 248 |
-
triggerGuard("Proxy / Virtual Tunnel Refused", "Unsafe connection detected. Please close your active VPN software, hosting node, or residential proxies and reload to process data authentication.");
|
| 249 |
-
}
|
| 250 |
-
}).catch(() => {
|
| 251 |
-
// 🔥 تم التعديل هنا: إذا فشل الاتصال بالخدمة أو تم حظر الـ API بواسطة الـ Space أو إضافات المتصفح،
|
| 252 |
-
// يفتح الموقع فوراً وبسلاسة للمستخدم لتفادي الحظر الوهمي وخسارة الـ Traffic الحقيقي.
|
| 253 |
-
console.warn("IP verification endpoint unreachable, running fail-safe bypass mode.");
|
| 254 |
-
});
|
| 255 |
}
|
| 256 |
|
| 257 |
-
document.addEventListener("DOMContentLoaded", function() {
|
| 258 |
-
checkAdBlock();
|
| 259 |
-
checkVPN();
|
| 260 |
|
| 261 |
-
|
| 262 |
-
const
|
| 263 |
-
const
|
| 264 |
-
const
|
| 265 |
-
|
| 266 |
-
const
|
|
|
|
|
|
|
| 267 |
|
| 268 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 269 |
|
| 270 |
-
if (
|
| 271 |
-
|
| 272 |
-
|
| 273 |
-
|
| 274 |
-
|
| 275 |
-
}
|
| 276 |
});
|
| 277 |
-
|
| 278 |
-
|
| 279 |
-
|
| 280 |
-
|
| 281 |
-
|
| 282 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 283 |
|
| 284 |
-
if
|
| 285 |
-
|
| 286 |
-
timerDone = true;
|
| 287 |
-
scanStatus.innerText = "🟢 File verified! Secure Access Granted.";
|
| 288 |
-
scanStatus.style.color = "#22c55e";
|
| 289 |
-
scanPercentage.style.color = "#22c55e";
|
| 290 |
-
gatewayBtn.style.background = "linear-gradient(135deg, #22c55e, #16a34a)";
|
| 291 |
-
gatewayBtn.style.color = "#fff";
|
| 292 |
-
gatewayBtn.style.border = "none";
|
| 293 |
-
gatewayBtn.innerText = "⚡ Download Now (Secure Access)";
|
| 294 |
-
|
| 295 |
-
gatewayBtn.href = originalHref;
|
| 296 |
-
if(mainBtn) mainBtn.href = originalHref;
|
| 297 |
-
mirrorServers.style.display = "block";
|
| 298 |
-
document.querySelectorAll('.smart-mirror').forEach(function(m) { m.href = originalHref; });
|
| 299 |
} else {
|
| 300 |
-
|
|
|
|
|
|
|
| 301 |
}
|
| 302 |
-
|
|
|
|
| 303 |
}
|
|
|
|
| 304 |
|
| 305 |
-
|
| 306 |
-
|
| 307 |
-
|
| 308 |
-
|
| 309 |
-
|
| 310 |
-
.then(res => res.json())
|
| 311 |
-
.then(data => {
|
| 312 |
-
if(!data || data.length === 0) return;
|
| 313 |
-
const item = id ? (data.find(i => String(i.id) === String(id)) || data[0]) : data[0];
|
| 314 |
-
|
| 315 |
-
document.getElementById('title').innerText = item.title;
|
| 316 |
-
document.title = item.title;
|
| 317 |
-
|
| 318 |
-
// حقن نص المقال
|
| 319 |
-
const contentBox = document.getElementById('content');
|
| 320 |
-
contentBox.innerHTML = item.content;
|
| 321 |
-
|
| 322 |
-
// [منشط الإعلانات الذكي]: إجبار المتصفح على تشغيل شفرات إعلانات السيرفر المحقونة ديناميكياً
|
| 323 |
-
const scripts = contentBox.querySelectorAll('script');
|
| 324 |
-
scripts.forEach(oldScript => {
|
| 325 |
-
const newScript = document.createElement('script');
|
| 326 |
-
Array.from(oldScript.attributes).forEach(attr => newScript.setAttribute(attr.name, attr.value));
|
| 327 |
-
newScript.appendChild(document.createTextNode(oldScript.innerHTML));
|
| 328 |
-
oldScript.parentNode.replaceChild(newScript, oldScript);
|
| 329 |
-
});
|
| 330 |
-
|
| 331 |
-
originalHref = item.smart_link || "#";
|
| 332 |
-
if(mainBtn) mainBtn.href = originalHref;
|
| 333 |
-
if(timerDone && gatewayBtn) gatewayBtn.href = originalHref;
|
| 334 |
|
| 335 |
-
|
| 336 |
-
|
| 337 |
-
|
| 338 |
-
|
| 339 |
-
|
| 340 |
-
commentsHtml += `
|
| 341 |
-
<div class="comment-item">
|
| 342 |
-
<div class="avatar">${comment.avatar || comment.user.substring(0,2)}</div>
|
| 343 |
-
<div class="comment-details">
|
| 344 |
-
<div class="comment-user">${comment.user} <span style="color: var(--accent-color); font-size: 11px; font-weight: normal;">• Verified User</span></div>
|
| 345 |
-
<div class="comment-text">${comment.text}</div>
|
| 346 |
-
<div class="comment-time">${comment.time || 'Just now'}</div>
|
| 347 |
-
</div>
|
| 348 |
-
</div>
|
| 349 |
-
`;
|
| 350 |
-
});
|
| 351 |
-
commentsContainer.innerHTML = commentsHtml;
|
| 352 |
|
| 353 |
-
|
| 354 |
-
const commentScripts = commentsContainer.querySelectorAll('script');
|
| 355 |
-
commentScripts.forEach(oldScript => {
|
| 356 |
-
const newScript = document.createElement('script');
|
| 357 |
-
Array.from(oldScript.attributes).forEach(attr => newScript.setAttribute(attr.name, attr.value));
|
| 358 |
-
newScript.appendChild(document.createTextNode(oldScript.innerHTML));
|
| 359 |
-
oldScript.parentNode.replaceChild(newScript, oldScript);
|
| 360 |
-
});
|
| 361 |
-
}
|
| 362 |
|
| 363 |
-
|
| 364 |
-
|
| 365 |
-
|
| 366 |
-
|
| 367 |
-
|
| 368 |
-
|
| 369 |
-
|
| 370 |
-
|
| 371 |
-
|
| 372 |
-
} else {
|
| 373 |
-
document.getElementById('related-section').style.display = 'none';
|
| 374 |
-
}
|
| 375 |
});
|
| 376 |
-
|
| 377 |
-
// 🪝 ميزة خطف زر الرجوع الذكية (Back-Button Hijack) لفرض فتح العرض الترويجي عند التراجع
|
| 378 |
-
setTimeout(function() {
|
| 379 |
-
if (window.history && window.history.pushState) {
|
| 380 |
-
window.history.pushState('forward', null, './#secure-link');
|
| 381 |
-
window.addEventListener('popstate', function() {
|
| 382 |
-
if (originalHref && originalHref !== "#") { window.location.href = originalHref; }
|
| 383 |
-
});
|
| 384 |
-
}
|
| 385 |
-
}, 1500);
|
| 386 |
});
|
| 387 |
</script>
|
| 388 |
-
<style>@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }</style>
|
| 389 |
</body>
|
| 390 |
</html>
|
|
|
|
|
|
|
|
|
|
| 1 |
<!DOCTYPE html>
|
| 2 |
+
<html lang="en">
|
| 3 |
<head>
|
| 4 |
+
<script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-1663795764455088" crossorigin="anonymous"></script>
|
| 5 |
+
<script async src="https://www.googletagmanager.com/gtag/js?id=G-G25TN25DB9"></script>
|
| 6 |
+
<script>
|
| 7 |
+
window.dataLayer = window.dataLayer || [];
|
| 8 |
+
function gtag(){dataLayer.push(arguments);}
|
| 9 |
+
gtag('js', new Date());
|
| 10 |
+
gtag('config', 'G-G25TN25DB9', { 'cookie_flags': 'max-age=7200;Secure;SameSite=None' });
|
| 11 |
+
</script>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 12 |
<meta charset="UTF-8">
|
| 13 |
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
| 14 |
+
<title>Innovation Hub | Live Premium News</title>
|
|
|
|
|
|
|
|
|
|
| 15 |
<style>
|
| 16 |
+
:root { --bg-color: #070a13; --card-bg: #101726; --accent-color: #00ffcc; --text-color: #94a3b8; --main-title: #ffffff; --border-color: #1e293b; }
|
| 17 |
+
body { font-family: system-ui, -apple-system, sans-serif; background: var(--bg-color); color: var(--text-color); margin: 0; padding: 0; line-height: 1.7; }
|
| 18 |
+
.navbar { background: #0b111e; border-bottom: 1px solid var(--border-color); padding: 15px 20px; display: flex; justify-content: space-between; align-items: center; position: sticky; top: 0; z-index: 100; }
|
| 19 |
+
.logo { color: #fff; font-weight: 800; font-size: 20px; text-decoration: none; cursor: pointer; text-transform: uppercase; }
|
| 20 |
+
.logo span { color: var(--accent-color); }
|
| 21 |
+
.nav-links { display: flex; gap: 20px; }
|
| 22 |
+
.nav-links div { color: var(--text-color); font-size: 14px; font-weight: 600; cursor: pointer; }
|
| 23 |
+
.nav-links div:hover { color: var(--accent-color); }
|
| 24 |
+
.container { max-width: 1140px; margin: 30px auto; padding: 0 15px; }
|
| 25 |
+
.hero-title { text-align: center; color: #fff; font-size: 28px; font-weight: 800; margin-bottom: 35px; }
|
| 26 |
+
.articles-grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
|
| 27 |
+
@media(min-width: 768px) { .articles-grid { grid-template-columns: 1fr 1fr; } }
|
| 28 |
+
.article-card { background: var(--card-bg); border: 1px solid var(--border-color); border-radius: 12px; padding: 22px; cursor: pointer; display: flex; flex-direction: column; transition: all 0.2s; }
|
| 29 |
+
.article-card:hover { border-color: var(--accent-color); transform: translateY(-3px); }
|
| 30 |
+
.card-title { font-size: 17px; font-weight: 700; color: #fff; }
|
| 31 |
+
.article-layout-grid { display: grid; grid-template-columns: 1fr; gap: 30px; }
|
| 32 |
+
@media(min-width: 900px) { .article-layout-grid { grid-template-columns: 2fr 1fr; } }
|
| 33 |
+
.main-article-box { background: var(--card-bg); padding: 30px; border-radius: 14px; border: 1px solid var(--border-color); }
|
| 34 |
+
.back-btn { color: var(--accent-color); font-size: 14px; font-weight: bold; cursor: pointer; margin-bottom: 15px; display: inline-block; }
|
| 35 |
+
h1 { font-size: 28px; color: var(--main-title); margin: 5px 0 20px 0; }
|
| 36 |
+
.sidebar-box { background: #0f1624; border: 1px solid var(--border-color); padding: 22px; border-radius: 14px; height: fit-content; }
|
| 37 |
+
.sidebar-title { font-size: 16px; color: #fff; font-weight: 800; margin-bottom: 18px; border-bottom: 2px solid var(--border-color); padding-bottom: 8px; }
|
| 38 |
+
.sidebar-item { padding: 12px 0; border-bottom: 1px solid #1e293b; cursor: pointer; }
|
| 39 |
+
.sidebar-item h4 { margin: 0 0 6px 0; font-size: 14px; color: #cbd5e1; }
|
| 40 |
+
.sidebar-item:hover h4 { color: var(--accent-color); }
|
| 41 |
+
.footer { background: #0b111e; border-top: 1px solid var(--border-color); padding: 25px 20px; text-align: center; margin-top: 60px; font-size: 13px; }
|
| 42 |
+
.footer-links { margin-top: 10px; display: flex; justify-content: center; gap: 15px; }
|
| 43 |
+
.footer-links span { color: var(--accent-color); cursor: pointer; font-weight: 600; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 44 |
</style>
|
| 45 |
</head>
|
| 46 |
<body>
|
| 47 |
+
<nav class="navbar">
|
| 48 |
+
<div class="logo" onclick="navigateTo('')">Innovation Hub</div>
|
| 49 |
+
<div class="nav-links"><div onclick="navigateTo('')">🏠 Home Feed</div></div>
|
| 50 |
+
</nav>
|
| 51 |
+
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 52 |
<div class="container">
|
| 53 |
+
<section id="homepage-sect">
|
| 54 |
+
<h2 class="hero-title">🔥 Latest Premium Coverage</h2>
|
| 55 |
+
|
| 56 |
+
<div style="margin:20px 0;text-align:center;">
|
| 57 |
+
<ins class="adsbygoogle"
|
| 58 |
+
style="display:block"
|
| 59 |
+
data-ad-client="ca-pub-1663795764455088"
|
| 60 |
+
data-ad-slot="1234567890"
|
| 61 |
+
data-ad-format="auto"
|
| 62 |
+
data-full-width-responsive="true"></ins>
|
| 63 |
+
<script>(adsbygoogle = window.adsbygoogle || []).push({});</script>
|
| 64 |
+
</div>
|
| 65 |
+
<div id="articles-grid" class="articles-grid"></div>
|
| 66 |
+
|
| 67 |
+
</section>
|
| 68 |
|
| 69 |
+
<section id="article-layout-sect" class="article-layout-grid" style="display:none;">
|
| 70 |
+
<main class="main-article-box">
|
| 71 |
+
<div class="back-btn" onclick="navigateTo('')">← Back to News</div>
|
| 72 |
+
<h1 id="title">Loading...</h1>
|
| 73 |
+
<div id="featured-image-area"></div>
|
| 74 |
+
<div id="content"></div>
|
| 75 |
+
</main>
|
| 76 |
+
<aside class="sidebar-box">
|
| 77 |
+
<div class="sidebar-title">⚡ Trending Stories</div>
|
| 78 |
+
<div id="sidebar-suggestions"></div>
|
| 79 |
+
</aside>
|
| 80 |
+
</section>
|
| 81 |
|
| 82 |
+
<section id="legal-sect" class="main-article-box" style="display:none;">
|
| 83 |
+
<div class="back-btn" onclick="navigateTo('')">← Back to News</div>
|
| 84 |
+
<h1 id="legal-title">Policy</h1>
|
| 85 |
+
<div id="legal-content" style="color:#e2e8f0;"></div>
|
| 86 |
+
</section>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 87 |
</div>
|
| 88 |
+
|
| 89 |
+
<footer class="footer">
|
| 90 |
+
<p>© 2026 Innovation Hub Syndication Network. All Rights Reserved.</p>
|
| 91 |
+
<div class="footer-links">
|
| 92 |
+
<span onclick="openLegal('about')">About Us</span> |
|
| 93 |
+
<span onclick="openLegal('privacy')">Privacy Policy</span> |
|
| 94 |
+
<span onclick="openLegal('contact')">Contact Us</span>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 95 |
</div>
|
| 96 |
+
</footer>
|
| 97 |
|
| 98 |
<script>
|
| 99 |
+
window.allArticles = [];
|
| 100 |
+
|
| 101 |
+
function executeAdScripts(container){
|
| 102 |
+
container.querySelectorAll("script").forEach(oldScript => {
|
| 103 |
+
const s = document.createElement("script");
|
| 104 |
+
Array.from(oldScript.attributes).forEach(a => s.setAttribute(a.name,a.value));
|
| 105 |
+
s.text = oldScript.text;
|
| 106 |
+
oldScript.parentNode.replaceChild(s, oldScript);
|
| 107 |
+
});
|
| 108 |
+
try {(adsbygoogle = window.adsbygoogle || []).push({});} catch(e){}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 109 |
}
|
| 110 |
|
|
|
|
|
|
|
|
|
|
| 111 |
|
| 112 |
+
function renderPage() {
|
| 113 |
+
const params = new URLSearchParams(window.location.search);
|
| 114 |
+
const articleId = params.get('id');
|
| 115 |
+
const page = params.get('p');
|
| 116 |
+
|
| 117 |
+
const homeSect = document.getElementById('homepage-sect');
|
| 118 |
+
const artLayout = document.getElementById('article-layout-sect');
|
| 119 |
+
const legalSect = document.getElementById('legal-sect');
|
| 120 |
|
| 121 |
+
homeSect.style.display = 'none';
|
| 122 |
+
artLayout.style.display = 'none';
|
| 123 |
+
legalSect.style.display = 'none';
|
| 124 |
+
|
| 125 |
+
if (page) {
|
| 126 |
+
legalSect.style.display = 'block';
|
| 127 |
+
if(page === 'privacy') {
|
| 128 |
+
document.getElementById('legal-title').innerText = "Privacy Policy";
|
| 129 |
+
document.getElementById('legal-content').innerHTML = "<p>Your privacy is important to us. We collect no personal data. Cookies are used only for Google Analytics and Google AdSense optimization to deliver relevant ads and maintain performance standards.</p>";
|
| 130 |
+
} else if(page === 'about') {
|
| 131 |
+
document.getElementById('legal-title').innerText = "About Us";
|
| 132 |
+
document.getElementById('legal-content').innerHTML = "<p>Welcome to Innovation Hub. We deliver real-time automated news coverage spanning tech innovations, financial breakdowns, and world events, verified by our premium syndicate engine.</p>";
|
| 133 |
+
} else if(page === 'contact') {
|
| 134 |
+
document.getElementById('legal-title').innerText = "Contact Us";
|
| 135 |
+
document.getElementById('legal-content').innerHTML = "<p>Have questions or reporting inquiries? Reach out to our technical administration department at support@trend-wave-us.com</p>";
|
| 136 |
+
}
|
| 137 |
+
return;
|
| 138 |
+
}
|
| 139 |
|
| 140 |
+
if (!articleId) {
|
| 141 |
+
homeSect.style.display = 'block';
|
| 142 |
+
let gridHtml = '';
|
| 143 |
+
window.allArticles.forEach(item => {
|
| 144 |
+
gridHtml += `<div class="article-card" onclick="navigateTo('${item.id}')"><div class="card-title">${item.title}</div><span style="color:var(--accent-color); font-size:13px; font-weight:bold; margin-top:15px;">Read Full Story →</span></div>`;
|
|
|
|
| 145 |
});
|
| 146 |
+
document.getElementById('articles-grid').innerHTML = gridHtml || '<p>Loading latest updates...</p>';
|
| 147 |
+
} else {
|
| 148 |
+
artLayout.style.display = (window.innerWidth >= 900) ? 'grid' : 'block';
|
| 149 |
+
const item = window.allArticles.find(i => String(i.id) === String(articleId)) || window.allArticles[0];
|
| 150 |
+
if (item) {
|
| 151 |
+
document.getElementById('title').innerText = item.title;
|
| 152 |
+
document.getElementById('content').innerHTML = item.content;
|
| 153 |
+
executeAdScripts(document.getElementById('content'));
|
| 154 |
+
document.getElementById('featured-image-area').innerHTML = item.image ? `<img src="${item.image}" style="width:100%; max-height:380px; object-fit:cover; border-radius:10px; margin-bottom:20px;">` : '';
|
| 155 |
+
|
| 156 |
+
let suggestions = window.allArticles.filter(i => String(i.id) !== String(item.id)).slice(0, 5);
|
| 157 |
+
let sidebarHtml = '';
|
| 158 |
|
| 159 |
+
if(suggestions.length === 0) {
|
| 160 |
+
sidebarHtml = `<div class="sidebar-item"><h4>Latest Operational Updates on Innovation Hub Network</h4></div><div class="sidebar-item"><h4>Trending Analysis & Featured Insights Hub</h4></div>`;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 161 |
} else {
|
| 162 |
+
suggestions.forEach(s => {
|
| 163 |
+
sidebarHtml += `<div class="sidebar-item" onclick="navigateTo('${s.id}')"><h4>${s.title}</h4></div>`;
|
| 164 |
+
});
|
| 165 |
}
|
| 166 |
+
document.getElementById('sidebar-suggestions').innerHTML = sidebarHtml;
|
| 167 |
+
}
|
| 168 |
}
|
| 169 |
+
}
|
| 170 |
|
| 171 |
+
function navigateTo(id) {
|
| 172 |
+
history.pushState(null, '', id ? `?id=${id}` : window.location.pathname);
|
| 173 |
+
renderPage();
|
| 174 |
+
window.scrollTo({ top: 0, behavior: 'smooth' });
|
| 175 |
+
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 176 |
|
| 177 |
+
function openLegal(p) {
|
| 178 |
+
history.pushState(null, '', `?p=${p}`);
|
| 179 |
+
renderPage();
|
| 180 |
+
window.scrollTo({ top: 0, behavior: 'smooth' });
|
| 181 |
+
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 182 |
|
| 183 |
+
window.onpopstate = renderPage;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 184 |
|
| 185 |
+
document.addEventListener("DOMContentLoaded", function() {
|
| 186 |
+
fetch('data.json?cb=' + Date.now())
|
| 187 |
+
.then(res => res.json())
|
| 188 |
+
.then(data => {
|
| 189 |
+
window.allArticles = data || [];
|
| 190 |
+
renderPage();
|
| 191 |
+
}).catch(() => {
|
| 192 |
+
window.allArticles = [{id:"1", title:"Global Systems Operational Updates & News Hub Feed", content:"<p>System analysis is fully deployed and indexing live data feeds.</p>"}];
|
| 193 |
+
renderPage();
|
|
|
|
|
|
|
|
|
|
| 194 |
});
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 195 |
});
|
| 196 |
</script>
|
|
|
|
| 197 |
</body>
|
| 198 |
</html>
|