mip.php
(开头部分) 4KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
<?php
$first=json_decode(file_get_contents("data/config.json"))->first;
if($first=="1"){
Header("Location: install");
die();
}
require 'function/conn.php';
require 'function/function.php';
$dirx=dirname($_SERVER["SCRIPT_FILENAME"])."/";
$d="mip";
if ($_GET["action"] == "update_dir") {
mysqli_query($conn, "update ".TABLE."config set C_dir='" . splitx(strtolower($_SERVER["PHP_SELF"]), "mip.php",0) . "'");
box("更新成功!", "mip.php", "success");
}
if (substr(strtolower($_SERVER["PHP_SELF"]), -7) == "mip.php" && $C_dir != splitx( strtolower($_SERVER["PHP_SELF"]), "mip.php",0)) {
die("系统检测到您移动了安装目录,是否更新数据库?(<a href='?action=update_dir'>是</a>/否)" . splitx( strtolower($_SERVER["PHP_SELF"]), "mip.php",0));
}
$S_page = $_GET["page"];
if ($_GET["type"] == "") {
$U_type = "index";
} else {
$U_type = $_GET["type"];
}
if(isset($_GET["S_id"])){
$S_id = $_GET["S_id"];
}else{
$S_id = "0";
}
if ($C_close == 1) {
Header("Location: close.html");
die();
}
switch ($U_type) {
case "index":
$page_info = e(d(CreateIndex(a($U_type, 1,"mip"))));
break;
case "contact":
$page_info = e(d(CreateContact(a($U_type, 1,"mip"))));
break;
case "guestbook":
$page_info = e(d(CreateGuestbook(a($U_type, 1,"mip"))));
break;
后面还有 77 行代码,购买后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明
AI 解读
登录后可用,每次 10 积分,解读结果公开显示在下面。
还没有人解读过这个文件。
