<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head><title><!--{$UUDEV_PAGE_TITLE}--></title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<!--{include file=elements/header.css.html}-->
<!--{include file=elements/header.js.html type=common}-->
</head>
<body>
<div id="outside">
	<!--{include file=frame/top.html}-->
	<div id="mainareaContent">
		<!--{include file=frame/left.html}-->
		<div id="rightContent">
			<div id="topContent">
				<div class="sitmap">
					<span class="r"><!--{include file="elements/uuadvad.html"}--></span>模块管理&nbsp;&gt;&nbsp;音乐模块&nbsp;&gt;&nbsp;专辑管理
				</div>
			</div>
			<div class="tabcontent">
				<a href="index.php?r=Music.musiclist" class="link">内管管理</a>
				<a href="index.php?r=SiteSet.musicset" class="link">属性设置</a>
				<a href="index.php?r=Music.musicListLayout" class="link">列表页布局</a>
					<a href="index.php?r=Music.musicPageLayout" class="link">内容页布局</a>
				<a href="index.php?r=Music.categorylist" class="link">风格</a>
				<a href="index.php?r=Music.languagelist" class="link">语种</a>
				<a href="index.php?r=Music.singerarealist" class="link">地区</a>
				<a href="index.php?r=Music.singerlist" class="link">歌手</a>
				<a href="index.php?r=Music.albumlist" class="nolink">专辑</a>
			</div>
			<div id="secrightContent">
				<div class="tableContent2">
					<form name="searchForm" action="index.php" method="get" onSubmit="setDisabled('button', window.document);">
						<input type="hidden" name="r" value="Music.albumlist"/>
						<input type="hidden" id="orderby" name="orderby" value="<!--{$orderby}-->"/>
						<div class="searchbar">
							专辑名&nbsp;<input type="text" class="text" name="album_name" value="<!--{$album_name}-->"/>
							&nbsp;歌手姓名&nbsp;<input type="text" class="text" name="singer_name" value="<!--{$singer_name}-->"/>
							&nbsp;<button type="submit" class="but2font">查询</button>
						</div>
					</form>
					<div class="operation">
						<button type="button" class="but2font" onClick="window.location.href='index.php?r=Music.addalbum&returnParams=<!--{$returnParams}-->'">新增</button>
						<button type="button" class="but2font" onClick="batchOperate('index.php?r=Music.deletealbum&returnParams=<!--{$returnParams}-->', 'recordId', 'ids', '确定删除？')">删除</button>
					</div>
					<table class="tbl_list" cellpadding="0" cellspacing="0" width="100%" border="0">
						<tr class="thead">
							<td width="5%"><input type="checkbox" class="checkall"/></td>
							<td width="20%">专辑名</td>
							<td width="25%">封面</td>
							<td width="15%">歌手</td>
							<td width="10%">
								<!--{if $orderby eq click_count0}-->
								<a class="link" onClick="$('#orderby').val('click_count1');document.forms['searchForm'].submit();">人气↑</a>
								<!--{elseif $orderby eq click_count1}-->
								<a class="link" onClick="$('#orderby').val('click_count0');document.forms['searchForm'].submit();">人气↓</a>
								<!--{else}-->
								<a class="link" onClick="$('#orderby').val('click_count0');document.forms['searchForm'].submit();">人气↓</a><!--{/if}-->
							</td>
							<td width="15%">发布时间</td>
							<td width="10%">操作</td>
						</tr>
						<!--{foreach from=$datalist item=item name=list}-->
						<tr onMouseOver="chgTrColor(this)" onMouseOut="chgTrColor(this)">
							<td><input type="checkbox" name="recordId" value="<!--{$item.id}-->"/></td>
							<td><a href="index.php?r=Music.editalbum&id=<!--{$item.id}-->&returnParams=<!--{$returnParams}-->"><!--{$item.album_name}--></a></td>
							<td><img src="<!--{$item.cover_img_url}-->"/></td>
							<td><!--{$item.singer_name}--></td>
							<td><!--{$item.click_count}--></td>
							<td><!--{$item.publish_date}--></td>
							<td><a href="index.php?r=Music.editalbum&id=<!--{$item.id}-->&returnParams=<!--{$returnParams}-->">修改</a></td>
						</tr>
						<!--{foreachelse}-->
						<tr><td colspan="7">没有对应数据</td></tr>
						<!--{/foreach}-->
					</table>
					<div class="operation">
						<button type="button" class="but2font" onClick="window.location.href='index.php?r=Music.addalbum&returnParams=<!--{$returnParams}-->'">新增</button>
						<button type="button" class="but2font" onClick="batchOperate('index.php?r=Music.deletealbum&returnParams=<!--{$returnParams}-->', 'recordId', 'ids', '确定删除？')">删除</button>
					</div>
					<div class="page"><!--{$pager}--></div>
				</div>
			</div>
		</div>
	</div>
</div>
</body>
</html>