加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
little.php 1.84 KB
一键复制 编辑 原始数据 按行查看 历史
Ki 提交于 2022-12-22 20:30 . Like_Girl V5.0.0
<?php
include_once 'admin/connect.php';
$time = gmdate("Y-m-d", time() + 8 * 3600);
$article = "select * from article order by id desc";
$resarticle = mysqli_query($connect, $article);
?>
<!DOCTYPE html>
<html>
<head>
<?php
include_once 'head.php';
?>
<meta charset="utf-8"/>
<title><?php echo $text['title'] ?><?php echo $text['card1'] ?></title>
</head>
<body>
<div id="pjax-container">
<div class="central">
<div class="title">
<h1>有人愿意听你碎碎念念也很浪漫</h1>
</div>
<div class="row central central-800">
<?php
while ($info = mysqli_fetch_array($resarticle)) {
?>
<div class="card col-lg-12 col-md-12 col-sm-12 col-sm-x-12 <?php if ($text['Animation'] == "1") { ?>animated bounceIn delay-03s<?php } ?>">
<div class="little_texts">
<a href="page.php?id=<?php echo $info['id'] ?>">
<div class="top-title"><?php echo $info['articletitle'] ?>
<svg class="little_icon" aria-hidden="true">
<use xlink:href="#icon-zhankai"></use>
</svg>
</div>
</a>
<div class="info">
<span>
<svg class="little_icon" aria-hidden="true">
<use xlink:href="#icon-shoucang"></use>
</svg>
<?php echo $info['articlename'] ?> <i>记录于</i> <?php echo $info['articletime'] ?></span>
</div>
</div>
</div>
<?php
}
?>
</div>
</div>
</div>
<?php
include_once 'footer.php';
?>
</body>
</html>
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化