You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

149 lines
6.4 KiB
PHP

<!DOCTYPE html>
<html lang="zh-CN" element::-webkit-scrollbar {display:none}>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title><?php echo $conf['title']?></title>
<meta name="keywords" content="<?php echo $conf['keywords']?>">
<meta name="description" content="<?php echo $conf['description']?>">
<meta name="author" content="LyLme">
<link rel="icon" href="<?php echo $conf['logo']?>" type="image/x-icon">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-touch-fullscreen" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black">
<meta name="full-screen" content="yes">
<meta name="browsermode" content="application">
<meta name="x5-fullscreen" content="true">
<meta name="x5-page-mode" content="app">
<meta name="lsvn" content="<?php echo base64_encode($conf['version'])?>">
<script src="https://lf6-cdn-tos.bytecdntp.com/cdn/expire-2-M/jquery/3.5.1/jquery.min.js" type="application/javascript"></script>
<link href="https://lf6-cdn-tos.bytecdntp.com/cdn/expire-1-M/bootstrap/4.5.3/css/bootstrap.min.css" type="text/css" rel="stylesheet">
<link rel="stylesheet" href="<?php echo $templatepath;?>/css/style.css?v=20220611" type="text/css">
<link rel="stylesheet" href="<?php echo $templatepath;?>/css/font.css" type="text/css">
<link rel="stylesheet" href="<?php echo $templatepath;?>/css/tag.css?v=20220611" type="text/css">
</head>
<body onload="FocusOnInput()"><div class="banner-video">
<?php if(!empty(background())){ echo '<img src="'.background().'">';}?>
<div class="bottom-cover" style="background-image: linear-gradient(rgba(255, 255, 255, 0) 0%, rgb(244 248 251 / 0.6) 50%, rgb(244 248 251) 100%);">
</div>
</div>
<div class="box">
<div class="change-type">
<div class="type-left" id="type-left">
<ul>
<li data-lylme="search"><a>搜索</a><span></span></li>
<?php
$groups = $DB->query("SELECT * FROM `lylme_groups` ORDER BY `group_order` ASC"); // 获取分类
while ($group = $DB->fetch($groups)) { //循环所有分组
echo '<li data-lylme="group_'. $group["group_id"] . '"><a>'. $group["group_name"] . '</a><span></span></li>'."\n";
}
?>
</ul>
</div>
</div>
</div>
<!--topbar开始-->
<nav class="navbar navbar-expand-lg navbar-light fixed-top" style="position: absolute; z-index: 10000;">
<!--<a class="navbar-brand" href="/"><img src="./assets/img/logo.png" height="25" title="LyLme_Spage"></a>-->
<button class="navbar-toggler collapsed" style="border: none; outline: none;"type="button" data-toggle="collapse" data-target="#navbarsExample05" aria-controls="navbarsExample05" aria-expanded="false" aria-label="Toggle navigation">
<svg class="icon" width="200" height="200"><use xlink:href="#icon-menus"></use></svg>
</button>
<div class="type-right" >
<svg t="1651476001599" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="6329" width="200" height="200"><path d="M512 491.52l286.72-286.72-522.24 174.08L512 491.52zM137.216 337.92L866.304 96.256c16.384-6.144 34.816 4.096 40.96 20.48 2.048 6.144 2.048 14.336 0 20.48L665.6 866.304c-6.144 16.384-24.576 26.624-40.96 20.48-8.192-2.048-14.336-8.192-18.432-16.384L450.56 552.96 133.12 399.36c-16.384-8.192-22.528-26.624-14.336-43.008 2.048-8.192 10.24-14.336 18.432-18.432z" fill="#304ECE" p-id="6330"></path></svg>
</div>
<div class="collapse navbar-collapse" id="navbarsExample05">
<ul class="navbar-nav mr-auto">
<?php
$tagslists = $DB->query("SELECT * FROM `lylme_tags`");
while ($taglists = $DB->fetch($tagslists)) {
echo '<li class="nav-item"><a class="nav-link" href="' . $taglists["tag_link"] . '"';
if ($taglists["tag_target"] == 1) echo ' target="_blant"';
echo '>' . $taglists["tag_name"] . '</a></li>
';
}
if ($conf['tq'] != 'false') {
echo '<div id="he-plugin-simple"></div>
<script src="https://widget.qweather.net/simple/static/js/he-simple-common.js?v=2.0"></script>';
}
?>
</ul>
<div id="main">
<div id="show_date"></div>
<div id="show_time"></div>
</div>
</div>
</nav>
<!--topbar结束-->
<div class="container" style="margin-top:10vh; position: relative; z-index: 100;">
<?php
echo $conf['home-title'];
if ($conf['yan'] == 'true') {
echo '<p class="content">' . yan().'</p>';
}
?>
<!--搜索开始-->
<div id="search" class="s-search">
<div id="search-list" class="hide-type-list">
<div class="search-group group-a s-current" style=" margin-top: 50px;">
<ul class="search-type">
<?php
$soulists = $DB->query("SELECT * FROM `lylme_sou` ORDER BY `lylme_sou`.`sou_order` ASC");
while ($soulist = $DB->fetch($soulists)) {
if ($soulist["sou_st"] == 1) {
echo ' <li>
<input hidden="" checked="" type="radio" name="type" id="type-' . $soulist["sou_alias"] . '" value="';
if (checkmobile()&& !empty($soulist["sou_waplink"])) {
echo $soulist["sou_waplink"];
} else {
echo $soulist["sou_link"];
}
echo '"data-placeholder="' . $soulist["sou_hint"] . '">
<label for="type-' . $soulist["sou_alias"] . '" style="font-weight:600">
<a href=' . $soulist["sou_homepage"] . '>' . $soulist["sou_icon"] . '</a>
<span style="color:' . $soulist["sou_color"] . '">
' . $soulist["sou_name"] . '</span>
</label>
</li>
';
}
}
?>
</ul>
</div>
</div>
<form action="https://www.baidu.com/s?wd=" method="get" target="_blank"
id="super-search-fm">
<input type="text" id="search-text" placeholder="百度一下,你就知道" style="outline:0"
autocomplete="off">
<button class="submit" type="submit">
<svg style="width: 22px; height: 22px; margin: 0 20px 0 20px; color: #fff;"
class="icon" aria-hidden="true">
<use xlink:href="#icon-sousuo">
</use>
</svg>
<span>
</button>
<ul id="word" style="display: none;">
</ul>
</form>
<div class="set-check hidden-xs">
<input type="checkbox" id="set-search-blank" class="bubble-3" autocomplete="off">
</div>
</div>
<?php
include "list.php";
include "footer.php";
?>