增加 错误提示

This commit is contained in:
LyLme 2022-03-05 15:21:51 +08:00
parent f1a08963b6
commit 4c9af0dae3

View File

@ -24,13 +24,15 @@ if ($conf['background'] == '') {
<div class="collapse navbar-collapse" id="navbarsExample05">
<ul class="navbar-nav mr-auto">
<?php
$tagslists = mysqli_query($con, "SELECT * FROM `lylme_tags`");
if($tagslists = mysqli_query($con, "SELECT * FROM `lylme_tags`")){
while($taglists = mysqli_fetch_assoc($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>
';
}?>
';}}
else{
echo '<script>alert("网站版本已更新,请前往后台=>检查更新,更新数据库");</script>';}
?>
</ul>
<div id="main">
<div id="show_date"></div>