Add files via upload
This commit is contained in:
40
Last_ui/overwrite/view/htm/forum.htm
Normal file
40
Last_ui/overwrite/view/htm/forum.htm
Normal file
@@ -0,0 +1,40 @@
|
||||
<?php include _include(APP_PATH.'view/htm/header.inc.htm');?>
|
||||
|
||||
<!--{hook forum_start.htm}-->
|
||||
|
||||
<div class="row">
|
||||
<div class="col-lg-12 main">
|
||||
|
||||
<div class="card card-threadlist">
|
||||
<div class="card-header d-flex justify-content-between">
|
||||
<div style="width:100%"><h4 style="margin-bottom: 0"><center><?php echo $forum['name'];?></center></h4></div>
|
||||
</div>
|
||||
<div class="card-body">
|
||||
<ul class="list-unstyled threadlist mb-0">
|
||||
<!--{hook forum_threadlist_before.htm}-->
|
||||
<?php include _include(APP_PATH.'view/htm/thread_list.inc.htm');?>
|
||||
<!--{hook forum_threadlist_after.htm}-->
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<?php include _include(APP_PATH.'view/htm/thread_list_mod.inc.htm');?>
|
||||
|
||||
<!--{hook forum_page_before.htm}-->
|
||||
<nav class="my-3"><ul class="pagination justify-content-center flex-wrap"><?php echo $pagination; ?></ul></nav>
|
||||
<!--{hook forum_page_after.htm}-->
|
||||
</div>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
<!--{hook forum_end.htm}-->
|
||||
|
||||
<?php include _include(APP_PATH.'view/htm/footer.inc.htm');?>
|
||||
|
||||
<script>
|
||||
$('li[data-active="fid-<?php echo $fid;?>"]').addClass('active');
|
||||
</script>
|
||||
|
||||
<!--{hook forum_js.htm}-->
|
63
Last_ui/overwrite/view/htm/header.inc.htm
Normal file
63
Last_ui/overwrite/view/htm/header.inc.htm
Normal file
@@ -0,0 +1,63 @@
|
||||
<?php $conf = G('conf');?>
|
||||
<?php $header = G('header');?>
|
||||
<?php $user = G('user');?>
|
||||
<?php $uid = G('uid');?>
|
||||
<?php $gid = G('gid');?>
|
||||
<?php $fid = G('fid');?>
|
||||
<?php $tid = G('tid');?>
|
||||
<?php $pid = G('pid');?>
|
||||
<?php $route = G('route');?>
|
||||
<?php $forumlist_show = G('forumlist_show');?>
|
||||
<?php $static_version = $conf['static_version'];?>
|
||||
<!--{hook header_start.htm}-->
|
||||
<!DOCTYPE html>
|
||||
<html lang="<?php echo $conf['lang'];?>">
|
||||
<head>
|
||||
|
||||
<?php echo defined('BASE_HREF') ? '<base href="'.BASE_HREF.'" />' : '' ;?>
|
||||
|
||||
<!--{hook header_meta_before.htm}-->
|
||||
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
|
||||
<?php if(!empty($header['keywords'])) { ?>
|
||||
<meta name="keywords" content="<?php echo strip_tags($header['keywords']);?>" />
|
||||
<?php } ?>
|
||||
|
||||
<meta name="description" content="<?php echo strip_tags($header['description']);?>" />
|
||||
<meta name="renderer" content="webkit">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1" >
|
||||
|
||||
<title><?php echo $header['title'];?></title>
|
||||
|
||||
<!--{hook header_link_before.htm}-->
|
||||
|
||||
<link rel="shortcut icon" href="<?php echo $conf['view_url'];?>img/favicon.ico" />
|
||||
<link rel="icon" sizes="32x32" href="<?php echo $conf['view_url'];?>img/favicon.ico">
|
||||
<link rel="Bookmark" href="<?php echo $conf['view_url'];?>img/favicon.ico" />
|
||||
|
||||
<!--{hook header_bootstrap_before.htm}-->
|
||||
<?php $bootstrap_css = !empty($bootstrap_css) ? $bootstrap_css : $conf['view_url']."css/bootstrap.css".$static_version; ?>
|
||||
<link rel="stylesheet" href="<?php echo $bootstrap_css;?>">
|
||||
<!--{hook header_bootstrap_after.htm}-->
|
||||
|
||||
<!--{hook header_bootstrap_bbs_before.htm}-->
|
||||
<?php $bootstrap_bbs_css = !empty($bootstrap_bbs_css) ? $bootstrap_bbs_css : $conf['view_url']."css/bootstrap-bbs.css".$static_version; ?>
|
||||
<link rel="stylesheet" href="<?php echo $bootstrap_bbs_css;?>">
|
||||
<!--{hook header_bootstrap_bbs_after.htm}-->
|
||||
|
||||
<!--{hook header_link_after.htm}-->
|
||||
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
||||
<!--{hook header_body_start.htm}-->
|
||||
|
||||
<?php include _include(APP_PATH.'view/htm/header_nav.inc.htm');?>
|
||||
|
||||
<main id="body">
|
||||
<div class="container">
|
||||
|
||||
<!--{hook body_start.htm}-->
|
89
Last_ui/overwrite/view/htm/header_nav.inc.htm
Normal file
89
Last_ui/overwrite/view/htm/header_nav.inc.htm
Normal file
@@ -0,0 +1,89 @@
|
||||
<style>
|
||||
/** 始终显示 **/
|
||||
@media (min-width: 992px){
|
||||
.navbar-expand-lg .navbar-toggler { display: block !important; }
|
||||
.hidden-lg { display: inline-block !important; }
|
||||
.hidden-md { display: none !important; }
|
||||
|
||||
#nav { padding-top: 1.5rem; padding-left: 0.5rem; }
|
||||
#nav > ul:first-child > li:not(:first-child) { padding-left: 3rem; }
|
||||
#nav > ul > li > a.nav-link { border-bottom: 1px solid rgba(134, 142, 150, 0.3); }
|
||||
}
|
||||
|
||||
@media (min-width: 768px){
|
||||
.d-md-none { display: inline-block !important;}
|
||||
}
|
||||
|
||||
</style>
|
||||
|
||||
<!--
|
||||
轻论坛导航:默认头部
|
||||
Bootstrap 4.0 推荐的 PC/Mobile 公共写法
|
||||
优点:公用性强
|
||||
缺点:结构稍微有点复杂
|
||||
-->
|
||||
|
||||
<!--{hook header_nav_start.htm}-->
|
||||
<header class="navbar navbar-expand-lg navbar-dark bg-dark" id="header">
|
||||
<div class="container">
|
||||
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#nav" aria-controls="navbar_collapse" aria-expanded="false" aria-label="<?php echo lang('toggler_menu');?>">
|
||||
<span class="navbar-toggler-icon"></span>
|
||||
</button>
|
||||
|
||||
<!--{hook header_nav_logo_before.htm}-->
|
||||
|
||||
<a class="navbar-brand text-truncate" href="<?php echo $header['mobile_link'];?>">
|
||||
<img src="<?php echo $conf['logo_mobile_url'];?>" class="logo-2">
|
||||
<!--
|
||||
<?php if($header['mobile_title']) { ?>
|
||||
<span class="hidden-lg"><?php echo $header['mobile_title'];?></span>
|
||||
<?php } ?>
|
||||
-->
|
||||
</a>
|
||||
|
||||
<!--{hook header_nav_logo_after.htm}-->
|
||||
|
||||
<?php if(empty($uid)) { ?>
|
||||
<a class="navbar-brand hidden-lg" href="<?php echo url('user-login');?>" aria-label="<?php echo lang('login');?>"> <i class="icon-user icon"></i></a>
|
||||
<?php } else { ?>
|
||||
<a class="navbar-brand hidden-lg" href="<?php echo url("thread-create-$fid");?>" aria-label="<?php echo lang('thread_create');?>"><i class="icon-edit icon"></i></a>
|
||||
<?php } ?>
|
||||
|
||||
<!--{hook header_nav_user_icon_after.htm}-->
|
||||
|
||||
<div class="collapse navbar-collapse" id="nav">
|
||||
<!-- 左侧:版块 -->
|
||||
<ul class="navbar-nav mr-auto">
|
||||
<!--{hook header_nav_forum_start.htm}-->
|
||||
<li class="nav-item home" fid="0" data-active="fid-0"><a class="nav-link" href="."><i class="icon-home d-md-none"></i> <?php echo lang('index_page');?></a></li>
|
||||
<!--{hook header_nav_home_link_after.htm}-->
|
||||
<?php foreach($forumlist_show as $_forum) { ?>
|
||||
<!--{hook header_nav_forumlist_loop_start.htm}-->
|
||||
<li class="nav-item" fid="<?php echo $_forum['fid'];?>" data-active="fid-<?php echo $_forum['fid'];?>">
|
||||
<a class="nav-link" href="<?php echo url("forum-$_forum[fid]");?>"><i class="icon-circle-o d-md-none"></i> <?php echo $_forum['name'];?></a>
|
||||
</li>
|
||||
<!--{hook header_nav_forumlist_loop_end.htm}-->
|
||||
<?php } ?>
|
||||
<!--{hook header_nav_forum_end.htm}-->
|
||||
</ul>
|
||||
<!-- 右侧:用户 -->
|
||||
<ul class="navbar-nav">
|
||||
<!--{hook header_nav_user_start.htm}-->
|
||||
<?php if(empty($uid)) { ?>
|
||||
<li class="nav-item"><a class="nav-link" href="<?php echo url('user-login');?>"><i class="icon-user"></i> <?php echo lang('login');?></a></li>
|
||||
<!--<li class="nav-item"><a class="nav-link" href="<?php echo url('user-create');?>"><?php echo lang('register');?></a></li>-->
|
||||
<?php } else { ?>
|
||||
<li class="nav-item username"><a class="nav-link" href="<?php echo url('my');?>"><img class="avatar-1" src="<?php echo $user['avatar_url'];?>"> <?php echo $user['username'];?></a></li>
|
||||
<!-- 管理员 -->
|
||||
<?php if($gid == 1) { ?>
|
||||
<li class="nav-item"><a class="nav-link" href="admin/"><i class="icon-home"></i> <?php echo lang('admin_page');?></a></li>
|
||||
<?php } ?>
|
||||
<!--{hook header_nav_admin_page_after.htm}-->
|
||||
<li class="nav-item"><a class="nav-link" href="<?php echo url('user-logout');?>"><i class="icon-sign-out"></i> <?php echo lang('logout');?></a></li>
|
||||
<?php } ?>
|
||||
<!--{hook header_nav_user_end.htm}-->
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</header>
|
||||
<!--{hook header_nav_end.htm}-->
|
50
Last_ui/overwrite/view/htm/index.htm
Normal file
50
Last_ui/overwrite/view/htm/index.htm
Normal file
@@ -0,0 +1,50 @@
|
||||
<?php include _include(APP_PATH.'view/htm/header.inc.htm');?>
|
||||
|
||||
<!--{hook index_start.htm}-->
|
||||
|
||||
<div class="row">
|
||||
<div class="col-lg-12 main">
|
||||
<!--{hook index_main_start.htm}-->
|
||||
<div class="card card-threadlist">
|
||||
|
||||
<div class="card-header d-flex justify-content-between">
|
||||
<div style="width:100%"><h4 style="margin-bottom: 0"><center>环保公示</center></h4></div>
|
||||
</div>
|
||||
|
||||
<!--
|
||||
<div class="card-header">
|
||||
<ul class="nav nav-tabs card-header-tabs">
|
||||
<li class="nav-item">
|
||||
<a class="nav-link <?php echo $active == 'default' ? 'active' : '';?>" href="./<?php echo url("$route");?>"><?php echo lang('new_thread');?></a>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
-->
|
||||
<div class="card-body">
|
||||
<ul class="list-unstyled threadlist mb-0">
|
||||
<!--{hook index_threadlist_before.htm}-->
|
||||
<?php include _include(APP_PATH.'view/htm/thread_list.inc.htm');?>
|
||||
<!--{hook index_threadlist_after.htm}-->
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<?php include _include(APP_PATH.'view/htm/thread_list_mod.inc.htm');?>
|
||||
|
||||
<!--{hook index_page_before.htm}-->
|
||||
<nav class="my-3"><ul class="pagination justify-content-center flex-wrap"><?php echo $pagination; ?></ul></nav>
|
||||
<!--{hook index_page_end.htm}-->
|
||||
</div>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
<!--{hook index_end.htm}-->
|
||||
|
||||
<?php include _include(APP_PATH.'view/htm/footer.inc.htm');?>
|
||||
|
||||
<script>
|
||||
$('li[data-active="fid-0"]').addClass('active');
|
||||
</script>
|
||||
|
||||
<!--{hook index_js.htm}-->
|
216
Last_ui/overwrite/view/htm/thread.htm
Normal file
216
Last_ui/overwrite/view/htm/thread.htm
Normal file
@@ -0,0 +1,216 @@
|
||||
<?php include _include(APP_PATH.'view/htm/header.inc.htm');?>
|
||||
|
||||
<!--{hook thread_start.htm}-->
|
||||
|
||||
<div class="row">
|
||||
<div class="col-lg-12 main">
|
||||
<!-- 移除索引 -->
|
||||
|
||||
<!-- 增加标题
|
||||
<div class="card card-thread">
|
||||
<div class="card-body">
|
||||
<center><h2 style="margin-bottom: 0"><?php echo $forum['name']; ?></h2></center>
|
||||
</div>
|
||||
</div>
|
||||
-->
|
||||
|
||||
<div class="card card-thread">
|
||||
<!-- -->
|
||||
<div class="card-header d-flex justify-content-between">
|
||||
<div style="width:100%"><h4 style="margin-bottom: 0"><center><?php echo $forum['name'];?>详情</center></h4></div>
|
||||
</div>
|
||||
|
||||
<div class="card-body">
|
||||
<div class="media">
|
||||
<!-- 移除头像 -->
|
||||
<div class="media-body">
|
||||
<!--{hook thread_subject_before.htm}-->
|
||||
<h4 class="break-all">
|
||||
<!--{hook thread_subject_start.htm}-->
|
||||
<?php echo $thread['subject'];?>
|
||||
<!--{hook thread_subject_end.htm}-->
|
||||
</h4>
|
||||
<!--{hook thread_subject_after.htm}-->
|
||||
<div class="d-flex justify-content-between small">
|
||||
<!-- 移除用户名 时间 观看次数
|
||||
<div>
|
||||
<span class="username">
|
||||
<a href="<?php echo url("user-$thread[uid]");?>" class="text-muted font-weight-bold"><?php echo $thread['username'];?></a>
|
||||
</span>
|
||||
<span class="date text-grey ml-2"><?php echo $thread['create_date_fmt'];?></span>
|
||||
<span class="text-grey ml-2"><i class="icon-eye"></i> <?php echo $thread['views'];?></span>
|
||||
|
||||
</div>
|
||||
-->
|
||||
<div>
|
||||
<!--{hook thread_update_before.htm}-->
|
||||
<?php if($allowupdate || $first['allowupdate']) { ?>
|
||||
<a href="<?php echo url("post-update-$thread[firstpid]");?>" class="text-grey mr-2 post_update"><i class="icon-edit"></i> <?php echo lang('edit');?></a>
|
||||
<?php } ?>
|
||||
|
||||
<?php if($allowdelete || $first['allowdelete']) { ?>
|
||||
<a data-href="<?php echo url("post-delete-$thread[firstpid]");?>" href="javascript:void(0);" class="text-grey post_delete" isfirst="1"><i class="icon-remove"></i> <?php echo lang('delete');?></a>
|
||||
<?php } ?>
|
||||
<!--{hook thread_delete_after.htm}-->
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<hr />
|
||||
<p>
|
||||
<span class="date text-grey"><?php echo $thread['username'];?></span><br>
|
||||
<span class="date text-grey"><?php echo date('Y-m-d H:i:s', $thread['create_date']); ?></span>
|
||||
</p>
|
||||
|
||||
<div class="message break-all" isfirst="1">
|
||||
<?php if($page == 1) { ?>
|
||||
|
||||
<!--{hook thread_message_before.htm}-->
|
||||
<?php echo $first['message_fmt'];?>
|
||||
<!--{hook thread_message_after.htm}-->
|
||||
|
||||
<?php echo post_file_list_html($first['filelist']);?>
|
||||
<!--{hook thread_filelist_after.htm}-->
|
||||
|
||||
<?php } else { ?>
|
||||
|
||||
<!--{hook thread_message_more_before.htm}-->
|
||||
<p><a href="<?php echo url("thread-$tid");?>"><?php echo lang('view_thread_message');?></a></p>
|
||||
<!--{hook thread_message_more_after.htm}-->
|
||||
|
||||
<?php } ?>
|
||||
</div>
|
||||
|
||||
<!--{hook thread_plugin_before.htm}-->
|
||||
<div class="plugin d-flex justify-content-center mt-3">
|
||||
<!--{hook thread_plugin_body.htm}-->
|
||||
</div>
|
||||
<!--{hook thread_plugin_after.htm}-->
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- 移除回复列表 -->
|
||||
|
||||
<div class="d-none threadlist"><input type="checkbox" name="modtid" value="<?php echo $thread['tid']; ?>" checked /></div>
|
||||
<?php include _include(APP_PATH.'view/htm/thread_list_mod.inc.htm');?>
|
||||
|
||||
<?php if($pagination) { ?>
|
||||
<nav><ul class="pagination my-4 justify-content-center flex-wrap"><?php echo $pagination; ?></ul></nav>
|
||||
<?php }?>
|
||||
|
||||
<!--{hook thread_page_after.htm}-->
|
||||
|
||||
<a role="button" class="btn btn-secondary btn-block xn-back col-lg-6 mx-auto mb-3" href="javascript:history.back();"><?php echo lang('back');?></a>
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
<!--{hook thread_end.htm}-->
|
||||
|
||||
<?php include _include(APP_PATH.'view/htm/footer.inc.htm');?>
|
||||
|
||||
<script>
|
||||
var jform = $('#quick_reply_form');
|
||||
var jsubmit = $('#submit');
|
||||
jform.on('submit', function() {
|
||||
jform.reset();
|
||||
jsubmit.button('loading');
|
||||
var postdata = jform.serialize();
|
||||
$.xpost(jform.attr('action'), postdata, function(code, message) {
|
||||
if(code == 0) {
|
||||
var s = '<ul>'+message+'</ul>';
|
||||
var jli = $(s).find('li');
|
||||
jli.insertBefore($('.postlist > .post').last());
|
||||
jsubmit.button('reset');
|
||||
$('#message').val('');
|
||||
|
||||
// 楼层 +1
|
||||
var jfloor = $('#newfloor');
|
||||
jfloor.html(xn.intval(jfloor.html()) + 1);
|
||||
|
||||
// 回复数 +1
|
||||
var jposts = $('.posts');
|
||||
jposts.html(xn.intval(jposts.html()) + 1);
|
||||
|
||||
} else if(code < 0) {
|
||||
$.alert(message);
|
||||
jsubmit.button('reset');
|
||||
} else {
|
||||
jform.find('[name="'+code+'"]').alert(message).focus();
|
||||
jsubmit.button('reset');
|
||||
}
|
||||
});
|
||||
return false;
|
||||
});
|
||||
|
||||
|
||||
// 缩放图片,适应屏幕大小。
|
||||
function resize_image() {
|
||||
var jmessagelist = $('div.message');
|
||||
var first_width = jmessagelist.width(); // 815 : 746; // 734 746
|
||||
jmessagelist.each(function() {
|
||||
var jdiv = $(this);
|
||||
var maxwidth = jdiv.attr('isfirst') ? first_width : jdiv.width(); // 734 746
|
||||
var jmessage_width = Math.min(jdiv.width(), maxwidth);
|
||||
jdiv.find('img, embed, iframe, video').each(function() {
|
||||
var jimg = $(this);
|
||||
var img_width = this.org_width;
|
||||
var img_height = this.org_height;
|
||||
if(!img_width) {
|
||||
var img_width = jimg.attr('width');
|
||||
var img_height = jimg.attr('height');
|
||||
this.org_width = img_width;
|
||||
this.org_height = img_height;
|
||||
}
|
||||
//var percent = xn.min(100, xn.ceil((img_width / jmessage_width) * 100));
|
||||
if(img_width > jmessage_width) {
|
||||
if(this.tagName == 'IMG') {
|
||||
jimg.width(jmessage_width);
|
||||
jimg.css('height', 'auto');
|
||||
jimg.css('cursor', 'pointer');
|
||||
jimg.on('click', function() {
|
||||
//window.open(jimg.attr('src'));
|
||||
});
|
||||
} else {
|
||||
jimg.width(jmessage_width);
|
||||
var height = (img_height / img_width) * jimg.width();
|
||||
jimg.height(height);
|
||||
}
|
||||
}
|
||||
});
|
||||
});
|
||||
}
|
||||
|
||||
// 对于超宽的表格,加上响应式
|
||||
function resize_table() {
|
||||
$('div.message').each(function() {
|
||||
var jdiv = $(this);
|
||||
jdiv.find('table').addClass('table').wrap('<div class="table-responsive"></div>');
|
||||
});
|
||||
}
|
||||
|
||||
$(function() {
|
||||
resize_image();
|
||||
resize_table();
|
||||
$(window).on('resize', resize_image);
|
||||
});
|
||||
|
||||
// 输入框自动伸缩
|
||||
|
||||
var jmessage = $('#message');
|
||||
jmessage.on('focus', function() {if(jmessage.t) { clearTimeout(jmessage.t); jmessage.t = null; } jmessage.css('height', '8rem'); });
|
||||
jmessage.on('blur', function() {jmessage.t = setTimeout(function() { jmessage.css('height', '2.5rem');}, 1000); });
|
||||
|
||||
$('li[data-active="fid-<?php echo $fid;?>"]').addClass('active');
|
||||
|
||||
</script>
|
||||
|
||||
<?php if($thread['closed'] && ($gid == 0 || $gid > 5)) { ?>
|
||||
<script>
|
||||
jmessage.val('<?php echo lang('thread_has_already_closed');?>').attr('readonly', 'readonly');
|
||||
</script>
|
||||
<?php } ?>
|
||||
<!--{hook thread_js.htm}-->
|
58
Last_ui/overwrite/view/htm/thread_list.inc.htm
Normal file
58
Last_ui/overwrite/view/htm/thread_list.inc.htm
Normal file
@@ -0,0 +1,58 @@
|
||||
<!--{hook thread_list_inc_start.htm}-->
|
||||
|
||||
<?php
|
||||
if($threadlist) {
|
||||
$have_allowtop = 0;
|
||||
foreach($threadlist as &$_thread) {
|
||||
$_thread['allowtop'] = forum_access_mod($_thread['fid'], $gid, 'allowtop');
|
||||
if($_thread['allowtop']) $have_allowtop = 1;
|
||||
}
|
||||
}
|
||||
?>
|
||||
|
||||
<?php if($threadlist) { foreach($threadlist as &$_thread) { ?>
|
||||
<li class="media thread tap <?php echo $_thread['top_class'];?> " data-href="<?php echo url("thread-$_thread[tid]");?>" data-tid="<?php echo $_thread['tid'];?>">
|
||||
<?php if($have_allowtop) { ?>
|
||||
<?php if($_thread['allowtop']) { ?>
|
||||
<input type="checkbox" name="modtid" class="mt-3 mr-2" value="<?php echo $_thread['tid']; ?>" />
|
||||
<?php } ?>
|
||||
|
||||
<?php } ?>
|
||||
|
||||
<!-- 移除头像 -->
|
||||
<!--{hook thread_list_inc_avatar_after.htm}-->
|
||||
|
||||
<div class="media-body" style="margin:.7rem 0 .4rem 0">
|
||||
<div class="subject break-all d-flex justify-content-between">
|
||||
<div>
|
||||
<!--{hook thread_list_inc_top_icon_before.htm}-->
|
||||
<?php if($_thread['top'] > 0) { ?>
|
||||
<i class="icon-top-<?php echo $_thread['top']; ?>"></i>
|
||||
<?php } ?>
|
||||
<!--{hook thread_list_inc_subject_top_after.htm}-->
|
||||
|
||||
<!--{hook thread_list_inc_subject_before.htm}-->
|
||||
<a href="<?php echo url("thread-$_thread[tid]");?>"><?php echo $_thread['subject'];?></a>
|
||||
<!--{hook thread_list_inc_subject_after.htm}-->
|
||||
|
||||
<!--{hook thread_list_inc_filetype_icon_before.htm}-->
|
||||
<?php if($_thread['files'] > 0) { ?><i class="icon small filetype other"></i><?php } ?>
|
||||
<!--{hook thread_list_inc_filetype_icon_after.htm}-->
|
||||
|
||||
<!--{hook thread_list_inc_lock_icon_before.htm}-->
|
||||
<?php if($_thread['closed'] > 0) { ?><i class="icon-lock"></i><?php } ?>
|
||||
<!--{hook thread_list_inc_lock_icon_after.htm}-->
|
||||
</div>
|
||||
<div class="text-muted small">
|
||||
<span class="date text-grey<?php if($_thread['lastuid']) { ?> hidden-sm<?php } ?>"><?php //echo $_thread['create_date_fmt'];?> <?php echo date('Y年m月d日', $_thread['create_date']); ?></span>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</li>
|
||||
<?php }} else { ?>
|
||||
<li>
|
||||
<div><?php echo lang('none');?></div>
|
||||
</li>
|
||||
<?php } ?>
|
||||
<!--{hook thread_list_inc_end.htm}-->
|
Reference in New Issue
Block a user