<!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>
		<link rel="stylesheet" href="/static/web/css/font-awesome.min.css">
		<link rel="stylesheet" href="/static/web/css/bootstrap.min.css">
		<link rel="stylesheet" href="/static/web/css/style.css">
	</head>
	<body>
		<?php obtaintheme('top.htm');?>
		<main class="container py-3">
			<div class="row">
				<?php
				$_menu_stow = true;
				?>
				<?php include(DEDEMEMBER."/templets/menu.htm");?>
				<div class="col-md-9">
					<div class="pannel-main-container shadow-sm rounded">
						<ul class="nav mb-3">
							<li class="nav-item"><a href="<?php echo $cfg_memberurl;?>/mystow.php" class="nav-link <?php echo $rank==='' ? 'active' : '';?>">我的收藏</a></li>
							<li class="nav-item"><a href="<?php echo $cfg_memberurl;?>/mystow.php?rank=top" class="nav-link <?php echo $rank==='top' ? 'active' : '';?>">收藏排行</a></li>
						</ul>
						<table class="table">
							<tbody>
								<thead>
									<tr>
										<th width="8%">#</th>
										<th>标题</th>
										<th width="26%">收藏时间</th>
										<th width="26%">操作</th>
									</tr>
								</thead>
								{dede:datalist}
								<tr>
									<td>{dede:field.aid/}</td>
									<td>{dede:field.title/}</td>
									<td><?php echo MyDate('Y-m-d H:i:s', $fields['addtime']);?></td>
									<td>
										<a href="<?php echo $cfg_phpurl;?>/recommend.php?type={dede:field.type/}&aid={dede:field.aid/}" class="btn btn-success btn-sm">推荐</a>
									 	<a href="archives_do.php?dopost=delStow&type={dede:field.type/}&aid={dede:field.aid/}" class="btn btn-danger btn-sm">删除</a>
									</td>
								</tr>
								{/dede:datalist}
							</tbody>
						</table>
						{dede:pagelist listitem='info,index,end,pre,next,pageno' listsize='1'/}
					</div>
				</div>
			</div>
		</main>
		<?php obtaintheme('foot.htm');?>
	</body>
</html>