代码拉取完成,页面将自动刷新
同步操作将从 友人A/基于php的学生成绩管理系统(后台) 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
<?php
include_once('config/config.php');
// 调用auth函数
$LoginAdmin = auth();
// 首先判断$_GET里面是否有logout
if (!empty($_GET['logout'])) {
// 判断是否等于1
if ($_GET['logout'] == 1) {
// 删除登录用户信息
setcookie('LoginAdmin', '', time() - 1);
ShowMsg('退出成功', 'login.php');
}
}
?>
<!DOCTYPE html>
<html lang="en">
<head>
<?php include_once './common/meta.php'; ?>
</head>
<body>
<?php include_once './common/header.php' ?>
<?php include_once './common/nav.php' ?>
<div class="content">
<div class="header">
<h1 class="page-title">后台首页</h1>
</div>
<ul class="breadcrumb">
<li><a href="index.php">Home</a> <span class="divider">/</span></li>
<li class="active">Index</li>
</ul>
<div class="home">
<div class="container">
<header class="header">
<h1>学生成绩管理系统</h1>
<p class="subheading">欢迎进入</p>
</header>
</div>
</div>
<div class="container-fluid">
<div class="row-fluid">
<footer>
<hr>
<p>© 2017 <a href="#" target="_blank">copyright</a></p>
</footer>
</div>
</div>
</div>
</body>
</html>
<?php include_once './common/script.php' ?>
<script src='https://api.vvhan.com/api/meihua'></script>
<script src='https://api.vvhan.com/api/snow'></script>
<style>
.home {
background-color: #f2f2f2;
font-family: Arial, sans-serif;
margin: 0;
padding: 0;
}
.home .container {
margin: 0 auto;
max-width: 1200px;
padding: 20px;
}
.home .header {
background-color: #2d3e50;
color: #fff;
padding: 20px;
text-align: center;
}
.home h1 {
margin: 0;
font-size: 48px;
font-weight: bold;
}
.home .subheading {
margin-top: 20px;
color: skyblue;
font-size: 24px;
margin-bottom: 20px;
}
</style>
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。