Source code of filesite.io. https://filesite.io
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

47 lines
1.5 KiB

3 years ago
<?php
//常用方法
require_once __DIR__ . '/../../../../plugins/Html.php';
?><!DocType html>
3 years ago
<html>
<head>
<meta charset="utf-8">
<title><?php echo $pageTitle;?></title>
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1.0, user-scalable=no">
3 years ago
<link rel="icon" type="image/x-icon" href="favicon.ico?v1.0">
<link href="/css/main.css?v.1.1" rel="stylesheet">
<!--for theme manual-->
<link href="/css/github-markdown-light.css" rel="stylesheet">
3 years ago
<link href="/css/manual.css?v<?=Html::getStaticFileVersion('manual.css', 'css')?>" rel="stylesheet">
3 years ago
</head>
<body>
3 years ago
<div class="header">
<a href="/" class="logo">
<img src="/content/machete_icon.png" alt="Logo of FileSite.io" height="34">
FileSite.io
</a>
</div>
3 years ago
<?php
//### Render view file
$viewFile = __DIR__ . '/../' . FSC::$app['controller'] . '/' . $viewName . '.php';
include_once $viewFile;
?>
<div class="footer">
3 years ago
<?php if (!empty(FSC::$app['config']['theme'])) { ?>
Theme name <strong><?php echo FSC::$app['config']['theme']; ?></strong>
<br>
<?php } ?>
3 years ago
&copy;FSC 2022 - execute time: {page_time_cost} ms
</div>
<script src="/js/js.cookie.min.js"></script>
<script src="/js/main.js?v.1.0"></script>
<!--for theme manual-->
3 years ago
<script src="/js/manual.js?v<?=Html::getStaticFileVersion('manual.js', 'js')?>"></script>
3 years ago
</body>
</html>