1 Star 0 Fork 3

MyWZJ/基于php的学生成绩管理系统(后台)

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
index.php 2.14 KB
一键复制 编辑 原始数据 按行查看 历史
友人A 提交于 2023-04-09 10:12 . 已完成
<?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>&copy; 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>
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
PHP
1
https://gitee.com/mywzj/phpstudent.git
git@gitee.com:mywzj/phpstudent.git
mywzj
phpstudent
基于php的学生成绩管理系统(后台)
master

搜索帮助

23e8dbc6 1850385 7e0993f3 1850385