Init 1.0 codes
This commit is contained in:
32
test_footer.php
Normal file
32
test_footer.php
Normal file
@@ -0,0 +1,32 @@
|
||||
<?php
|
||||
// 禁用自动页脚(在引用配置文件之前设置)
|
||||
define('DISABLE_AUTO_FOOTER', true);
|
||||
|
||||
// 引用配置文件
|
||||
require_once 'config.php';
|
||||
?>
|
||||
<!DOCTYPE html>
|
||||
<html lang="zh-CN">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>测试Bootstrap页脚</title>
|
||||
<!-- Bootstrap CSS -->
|
||||
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/css/bootstrap.min.css" rel="stylesheet">
|
||||
<!-- Font Awesome -->
|
||||
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0-beta3/css/all.min.css">
|
||||
</head>
|
||||
<body>
|
||||
<div class="container mt-5">
|
||||
<h1 class="text-center">Bootstrap页脚测试</h1>
|
||||
<p class="text-center mt-4">这是一个测试页面,用于验证在config.php中定义的页脚函数是否正常工作。</p>
|
||||
<p class="text-center">滚动到页面底部查看页脚效果。</p>
|
||||
</div>
|
||||
|
||||
<!-- 调用页脚函数 -->
|
||||
<?php output_bootstrap_footer(); ?>
|
||||
|
||||
<!-- Bootstrap Bundle with Popper -->
|
||||
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/js/bootstrap.bundle.min.js"></script>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user