EasyImages2.0/libs/header.php

53 lines
1.6 KiB
PHP
Raw Normal View History

2019-05-23 15:12:06 +00:00
<?php
require_once __DIR__ . '/function.php';
echo '<!DOCTYPE html>
2019-05-23 15:12:06 +00:00
<html lang="zh-cn">
<head>
<meta charset="utf-8">
<title>' . $config['title'] . '</title>
2019-05-23 15:12:06 +00:00
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="keywords" content="' . $config['keywords'] . '" />
<meta name="description" content="' . $config['description'] . '" />
<link rel="shortcut icon" href="//' . $_SERVER['HTTP_HOST'] . '/favicon.ico" type="image/x-icon" />
' . static_cdn() . '
2019-05-23 15:12:06 +00:00
<style>
.uploader-files{
min-height:160px;
border-style:dashed;
}
@media screen and (min-width:960px){
.listNum img {
width:268px;
height:268px;
}
}
2019-05-23 15:12:06 +00:00
</style>
</head>
<body class="container">
' . showAD('top') . '
<div class="md-lg-12 header-dividing">
<ul class="nav nav-pills">
<li class="' . getActive('index') . '">
<a href="//' . $_SERVER['HTTP_HOST'] . '/index.php">
<i class="icon icon-home"> 首页</i>
</a>
</li>
<li class="' . getActive('list') . '">
2021-05-08 06:45:29 +00:00
<a href="//' . $_SERVER['HTTP_HOST'] . '/libs/list.php?date='. date('Y/m/d/').'&num='.$config['listNumber'].'">
<i class="icon icon-list"> 广场</i>
<span class="label label-badge label-success">
2021-05-04 14:12:47 +00:00
' . getFileNumber(__DIR__ . '/../' . config_path()) . '</span>
</a>
</li>
<li class="">
<a href="https://github.com/icret/easyImages2.0" target="_blank">
<i class="icon icon-github "> 源码下载</i>
</a>
</li>
</ul>
</div>
2019-05-23 15:12:06 +00:00
<!-- 顶部导航栏END -->
';