⚝
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
/
china-democracyparty.com
/
5
/
view
/
View File Name :
head.php
<?php // 读取 head 表数据 require_once __DIR__ . '/../sql.php'; $sql = "SELECT site_name, keywords, description, icon FROM head LIMIT 1"; $res = $conn->query($sql); $data = $res->fetch_assoc(); // 处理字段 $site_name = htmlspecialchars($data['site_name'] ?? '网站名称'); $keywords = htmlspecialchars($data['keywords'] ?? ''); $description = htmlspecialchars($data['description'] ?? ''); $icon = htmlspecialchars($data['icon'] ?? 'favicon.ico'); ?> <head> <title><?= $site_name ?></title> <!-- Meta --> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <!-- SEO --> <meta name="description" content="<?= $description ?>"> <meta name="keywords" content="<?= $keywords ?>"> <meta name="author" content="<?= $site_name ?>"> <!-- Favicon --> <link rel="shortcut icon" href="<?= $icon ?>"> <!-- FontAwesome JS--> <script defer src="https://use.fontawesome.com/releases/v5.7.1/js/all.js"></script> <!-- Theme CSS --> <link id="theme-style" rel="stylesheet" href="assets/css/theme-1.css"> <!-- 中文字体 --> <link href="https://fonts.googleapis.com/css2?family=Zhi+Mang+Xing&display=swap" rel="stylesheet"> </head>