<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<meta name="viewport" content="width=device-width,initial-scale=1,shrink-to-fit=no">
		<title>会员中心-<?php echo $cfg_webname;?></title>
		<script src="<?php echo $cfg_cmsurl;?>/static/web/js/jquery.min.js"></script>
		<link rel="stylesheet" href="<?php echo $cfg_cmsurl;?>/static/web/css/bootstrap.min.css">
		<link rel="stylesheet" href="<?php echo $cfg_cmsurl;?>/static/web/font/css/font-awesome.min.css">
		<link rel="stylesheet" href="<?php echo $cfg_cmsurl;?>/static/web/css/style.css">
	</head>
	<body class="body-bg">
		<?php pasterTempletDiy('top.htm');?>
		<div class="container py-3">
			<div class="row">
				<?php
				$_menu_home = true;
				?>
				<?php include(DEDEMEMBER."/templets/menu.htm");?>
				<div class="col-md-9">
					<div class="pb-3">
						<div class="pannel-main-container shadow-sm rounded">
							<div class="media-body row">
								<div class="col-12 text-center">
									<img src="<?php echo $cfg_ml->fields['face'];?>" title="<?php echo $cfg_ml->M_LoginID;?>" class="user-logo mb-2">
									<div class="mb-2">
										<h3 class="d-inline-block mr-1 mb-2"><?php echo $cfg_ml->M_LoginID;?></h3>
										<span class="btn btn-outline-success btn-sm"><?php echo $cfg_ml->M_MbType;?></span>
									</div>
									<p class="mb-0">
										<span class="mr-1">积分：<?php echo $cfg_ml->M_Scores;?></span>
										<span class="mr-1">金币：<?php echo $cfg_ml->M_Money;?></span>
										<span>余额：<?php echo $cfg_ml->M_UserMoney;?></span>
									</p>
								</div>
							</div>
						</div>
					</div>
					<div class="py-3">
						<div class="pannel-main-container shadow-sm rounded">
							<div class="media-body">
								<ul class="row row-cols-3 row-cols-sm-4 row-cols-lg-6 row-cols-xl-8 list-unstyled text-center mb-0">
									<li class="col m-pb-1" data-tags="alarm clock">
										<div class="bg-light user-meter rounded mb-2 p-4 py-3"><a href="<?php echo $cfg_memberurl;?>/pm.php?folder=inbox"><i class="fa fa-commenting"></i></a></div>
										<a href="<?php echo $cfg_memberurl;?>/pm.php?folder=inbox">消息管理</a>
									</li>
									<li class="col m-pb-1" data-tags="alarm clock">
										<div class="bg-light user-meter rounded mb-2 p-4 py-3"><a href="<?php echo $cfg_memberurl;?>/content_list.php?channelid=1"><i class="fa fa-file-text"></i></a></div>
										<a href="<?php echo $cfg_memberurl;?>/content_list.php?channelid=1">文档管理</a>
									</li>
									<li class="col" data-tags="space align distribute">
										<div class="bg-light user-meter rounded mb-2 p-4 py-3"><a href="<?php echo $cfg_memberurl;?>/mystow.php"><i class="fa fa-star"></i></a></div>
										<a href="<?php echo $cfg_memberurl;?>/mystow.php">我的收藏</a>
									</li>
									<li class="col m-pb-1" data-tags="alarm clock">
										<div class="bg-light user-meter rounded mb-2 p-4 py-3"><a href="<?php echo $cfg_memberurl;?>/buy.php"><i class="fa fa-credit-card-alt"></i></a></div>
										<a href="<?php echo $cfg_memberurl;?>/buy.php">积分钱包</a>
									</li>
									<li class="col" data-tags="space align distribute">
										<div class="bg-light user-meter rounded mb-2 p-4 py-3"><a href="<?php echo $cfg_memberurl;?>/edit_baseinfo.php"><i class="fa fa fa-pencil-square"></i></a></div>
										<a href="<?php echo $cfg_memberurl;?>/edit_baseinfo.php">资料修改</a>
									</li>
								</ul>
							</div>
						</div>
					</div>
					<div class="py-3">
						<div class="pannel-main-container shadow-sm rounded">
							<div class="media-body">
								<h4>最新文档</h4>
								<div class="card ddcard">
									<ul class="list-group list-group-flush">
										<?php foreach ($archives as $archive) {?>
										<li><a href="<?php echo $archive['htmlurl'];?>" title="<?php echo $archive['title'];?>"><?php echo $archive['title'];?></a></li>
										<?php }?>
									</ul>
								</div>
							</div>
						</div>
					</div>
				</div>
			</div>
		</div>
		<?php pasterTempletDiy('foot.htm');?>
	</body>
</html>