板块信息代码

大白 3月前 6109

<!-- 板块信息 -->
<div class="card card-foruminfo">
	<div class="card-body">
		<div class="media">
			<div class="mr-3">
				<img src="<?php echo $forum['icon_url'];?>" width="60" height="60"> 
			</div>
			<div class="media-body">
				<div class="online in">
					<span class="text-bold dt"><?php echo $forum['name'];?></span> 
					<span><span class="text-grey">版块主题:</span><b><?php echo $forum['threads'];?></b></span> 
					<span><span class="text-grey">今日主题:</span><b><?php echo $forum['todayposts'];?></b></span> 
					<span><span class="text-grey">今日回帖:</span><b><?php echo $forum['todaythreads'];?></b></span>
				</div>
				<div class="online text-muted" ><?php if($forum['brief']) { ?>  <?php echo $forum['brief'];?><?php  } ?> </div>
				<div class="online text-muted" ><span class="icon-volume-up"></span><?php if($forum['announcement']) { ?>  <?php echo $forum['announcement'];?><?php  } ?></div> 
			<?php if($forum['modlist']) { ?>
				<div class="online">
						<span class="text-grey"><?php echo lang('forum_moderator');?>:</span>
						<?php foreach ($forum['modlist'] as $mod) { ?>
						<a href="<?php echo url("user-$mod[uid]");?>" class="text-muted text-nowrap m-r-xs"><img src="<?php echo $mod['avatar_url'];?>" class="avatar-1 mr-1"><?php echo $mod['username'];?></a>
						<?php } ?>
				</div>
				<?php }?>
			</div>
		</div>
	</div>
</div>
联系我们

QQ咨询

提示:付款请添加备注信息。

最新回复 (0)
返回
发新帖