where('in_uid', $this->userid)->where('in_id', $id)->find(); $row || exit(include_once dirname(__FILE__) . '/../pack/error/404.php'); $sid = bees_encrypt($row['in_id']); $start_date = SafeRequest("start_date", "get"); $end_date = SafeRequest("end_date", "get"); $starttime = $start_date . ' 00:00:00'; $endtime = $end_date . ' 23:59:59'; $specified = ''; if (!empty($start_date) && !empty($end_date)) { $specified = "addtime>'" . $starttime . "' and addtime<'" . $endtime . "' "; } $total = db('downhistory')->where($specified)->where('appid', $id)->where('uid', $this->userid)->count(); $num = 10; $cpage = isset($_GET['page']) ? $_GET['page'] : 1; $pagenum = ceil($total / $num); $offset = ($cpage - 1) * $num; $result = db('downhistory')->where($specified)->where('appid', $id)->where('uid', $this->userid)->order('addtime desc')->limit($offset, $num)->select(); $start = $offset + 1; $end = $cpage == $pagenum ? $total : $cpage * $num; $next = $cpage == $pagenum ? 0 : $cpage + 1; $prev = $cpage == 1 ? 0 : $cpage - 1; ?> <?php echo $row['in_name'];?>应用详情 - <?php echo IN_NAME;?> static_(); ?> header(); ?>
publish_left(); ?>
publish_top($row); ?>
">
_
">
累计总下载
$value) { ?>
时间 应用名称 版本 大小 浏览次数 下载次数

暂无任何数据

inc_merge(); ?> footer(); ?>