siteurl = is_ssl() ? str_replace("http://", "https://", $_var_0) : $_var_0;
$_var_1 = db("config")->where("name", "IN_BUILD")->value("value");
if ($_var_1 > IN_BUILD) {
$_var_2 = db("config")->select();
$_var_3 = [" $_var_5) {
if ($_var_5["name"] == "IN_STAT") {
$_var_5["value"] = base64_encode($_var_5["value"]);
}
$_var_3[] = "define('" . $_var_5["name"] . "','" . $_var_5["value"] . "');";
}
$_var_6 = IN_ROOT . "source/system/my.php";
file_put_contents($_var_6, implode("\n", $_var_3));
}
}
function Administrator($_var_7)
{
if (!isAdminLogin()) {
$this->ShowMessage("未登录或登录已过期,请重新登录管理中心!", $_SERVER["PHP_SELF"], "infotitle3", 3000, 0);
}
setcookie("in_adminexpire", $_COOKIE["in_adminexpire"], time() + 36000);
$_var_8 = explode(",", $_COOKIE["in_permission"]);
$_var_9 = false;
for ($_var_10 = 0; $_var_10 < count($_var_8); $_var_10++) {
if ($_var_8[$_var_10] == $_var_7) {
$_var_9 = true;
}
}
if (!$_var_9) {
$this->ShowMessage("权限不够,无法进入此页面!", "?c=body", "infotitle3", 3000, 0);
}
}
function header($exclude = [])
{
if (in_array($this->action, $exclude)) {
return null;
}
?>
where("id", $_var_12["pid"])->find();
return getTitle($_var_13) . " - " . $_var_12["name"];
}
$_var_14 = db("action")->where("c", $_var_11)->where("a", $this->action)->where("pid", "<>", "0")->find();
$_var_15 = IN_NAME . "管理中心 - " . getTitle($_var_14);
if ($_var_14) {
$_var_16 = db("action")->where("pid", $_var_14["pid"])->where("status", "1")->select();
$_var_17 = db("action")->where("pid", $_var_14["id"])->where("status", "1")->select();
if (count($_var_16)) {
?>
start_time = SafeRequest("start_time", "get");
$this->start_time && ($map[] = [$field, ">=", $isInt ? strtotime($this->start_time) . "" : $this->start_time]);
$this->end_time = SafeRequest("end_time", "get");
$_var_20 = strtotime("+1days", strtotime($this->end_time));
$_var_21 = date("Y-m-d", $_var_20);
$this->end_time && ($map[] = [$field, "<=", $isInt ? $_var_20 : $_var_21]);
}
function render($_var_22, $_var_23 = false)
{
if ($_var_22) {
$_var_22 = "";
}
if ($_var_23) {
echo $_var_22;
}
return $_var_22;
}
function footer($exclude = [])
{
if (in_array($this->action, $exclude)) {
return null;
}
$_var_24 = $_var_25 = "";
if (isset($this->start_time)) {
$_var_24 = $this->start_time;
$_var_24 = is_numeric($_var_24) ? date("Y-m-d", $_var_24) : $_var_24;
}
if (isset($this->end_time)) {
$_var_25 = $this->end_time;
$_var_25 = is_numeric($_var_25) ? date("Y-m-d", $_var_25) : $_var_25;
}
?>
应用中心";
$_var_28 = "所有应用";
$_var_29 = "";
$_var_30 = db("plugin")->where("in_type>0")->order("in_addtime desc")->select();
foreach ($_var_30 as $_var_31) {
$_var_29 = $_var_29 . "" . $_var_31["in_name"] . "";
}
return $_var_27 . $_var_28 . $_var_29;
}
function ShowMessage1($in_msg, $in_url, $in_style, $in_time, $in_type)
{
?>提示信息