$title = '时间轴';
include 'header.php';
$sp->table_name = "tools_log";
$time_logs=$sp->findall(array('state'=>'0'),"id desc","*");
// 分页模块
include 'function/page.class.php';
//每页输出数量
$pagenum = '6';
//总数除以分页数
$numss = ceil(count($time_logs) / $pagenum);
//当前分页数
$page = is_numeric(getParam('page'))?getParam('page'):'1';
$fy = $page-1;
$fys = $fy*$pagenum;
$time_log_page=$sp->findall(array('state'=>'0'),"id desc","*","{$fys},{$pagenum}");
?>
/*用户头像的调整*/
.avatar{float: left;margin: 6px 10px 0 0;}
/*内容主体的调整*/
.comment-info{width: 100%;border-bottom: #eee 1px solid;margin-bottom: 5px;padding: 5px 0 0;}
时间轴
一键复制
编辑
Web IDE
原始数据
按行查看
历史
本文介绍了如何通过时间轴形式展示工具日志,包括状态为0的记录,采用分页功能,每页显示6条数据,并详细展示了用户头像调整和内容布局。

被折叠的 条评论
为什么被折叠?



