dashboard/settings.php

(开头部分) 23KB

这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。

<?php
include('include/config.inc.php');

$sql = 'SELECT * FROM setting WHERE id=1';
$config = $db->execute_dql($sql);
$config = $config[0];

//更新系统信息
if ($_POST) {
    $title = post('title');
    $keywords = post('keywords');
    $description = post('description');
    $face = post('facebook');
    $email = post('email');
    $tel = post('telephone');
    $copy = post('copy');
    $address = post('address');
    $master = post('master');
    $url = post('url');
    $current_exam = $_POST['exam'];

    $sql = 'UPDATE setting SET master="'.$master.'", facebook="'.$face.'",title="' . $title . '",keywords="' . $keywords . '",description="' . $description . '",email="' . $email . '",tel="' . $tel . '",copyright="' . $copy . '",address="' . $address . '",url="' . $url . '" WHERE id=1';
    $db->execute_dml($sql);
    echo '<script>
        location.href = "settings.php";
    </script>';
}
?>
<!DOCTYPE html>
<html lang="en">
<head>
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
    <meta charset="utf-8" />
    <title>{{SystemTitle}}</title>
    <meta name="description" content="overview &amp; stats" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0" />
    <!-- bootstrap & fontawesome -->
    <link rel="stylesheet" href="assets/css/bootstrap.min.css" />
    <link rel="stylesheet" href="assets/font-awesome-4.5.0/css/font-awesome.min.css" /><!--
		<link rel="stylesheet" href="http://netdna.bootstrapcdn.com/font-awesome/4.0.3/css/font-awesome.min.css" /> -->

    <!-- page specific plugin styles -->


    <!-- ace styles -->
    <link rel="stylesheet" href="assets/css/ace.min.css" />

    <!--[if lte IE 9]>
    <link rel="stylesheet" href="assets/css/ace-part2.min.css" />
    <![endif]-->
    <link rel="stylesheet" href="assets/css/ace-skins.min.css" />
    <link rel="stylesheet" href="assets/css/ace-rtl.min.css" />

    <!--[if lte IE 9]>
    <link rel="stylesheet" href="assets/css/ace-ie.min.css" />
    <![endif]-->

    <!-- inline styles related to this page -->

    <!-- ace settings handler -->
后面还有 584 行代码,购买后查看完整代码

24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明

AI 解读 AI

登录后可用,每次 10 算力,解读结果公开显示在下面。

还没有人解读过这个文件。