mirror of
https://github.com/LyLme/lylme_spage.git
synced 2024-11-17 14:34:08 +08:00
增加 错误提示
This commit is contained in:
parent
f1a08963b6
commit
4c9af0dae3
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user