File manager - Edit - /home/webapp68.cm.in.th/u68319090024/final/news/summary.html
Back
<!DOCTYPE html> <html lang="th"> <head> <meta charset="UTF-8"> <title>สรุปจำนวนบทความ</title> <style> body { font-family: Arial; background:#f4f4f4; margin:20px; } h1 { text-align:center; color:#333; } .summary-box { background:#fff; max-width:400px; margin:50px auto; padding:20px; border-radius:8px; box-shadow:1px 1px 8px rgba(0,0,0,0.1); text-align:center; } .summary-box p { font-size:1.5em; color:#007BFF; } a { display:inline-block; margin-top:20px; text-decoration:none; background:#007BFF; color:#fff; padding:10px 20px; border-radius:5px; } a:hover { background:#0056b3; } </style> </head> <body> <h1>สรุปจำนวนบทความ</h1> <div class="summary-box"> <p id="total">จำนวนบทความทั้งหมด: 0</p> <a href="index.html">กลับไป Dashboard</a> </div> <script> function updateSummary() { let articles = window.opener ? window.opener.dataStore.articles : []; document.getElementById('total').innerText = "จำนวนบทความทั้งหมด: " + articles.length; } updateSummary(); setInterval(updateSummary, 500); // อัพเดตทุก 0.5 วินาที </script> </body> </html>
| ver. 1.4 |
Github
|
.
| PHP 7.4.33 | Generation time: 0.67 |
proxy
|
phpinfo
|
Settings