⚝
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
/
2
/
admin
/
Edit File: settings.php
query("SELECT id FROM settings LIMIT 1")->fetch_assoc(); if($exists){ $stmt = $conn->prepare("UPDATE settings SET site_name=?, hero_text=? WHERE id=?"); $id = (int)$exists['id']; $stmt->bind_param("ssi", $site_name, $hero_text, $id); $stmt->execute(); $stmt->close(); } else { $stmt = $conn->prepare("INSERT INTO settings(site_name, hero_text) VALUES(?,?)"); $stmt->bind_param("ss", $site_name, $hero_text); $stmt->execute(); $stmt->close(); } header("Location: /admin/settings.php"); exit; } $settings = $conn->query("SELECT * FROM settings LIMIT 1")->fetch_assoc() ?: ['site_name'=>'中国自由民主','hero_text'=>'推动自由、民主、法治与人权。']; $page_title = '站点设置'; include __DIR__ . '/../includes/header.php'; ?>
站点设置
站点名称
首页横幅文案
保存
Simpan