<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html;charset=gb2312" />
<title>专辑音乐列表页</title>
<link rel="stylesheet" href="/templets/images/css.css" />
<link rel="stylesheet" href="/templets/images/style.css" />

<style type="text/css">
body{background:#E9EBEF;}

html{
SCROLLBAR-FACE-COLOR: #eef0f0;
 SCROLLBAR-HIGHLIGHT-COLOR: #eef0f0;
 SCROLLBAR-SHADOW-COLOR: #eef0f0;
 SCROLLBAR-3DLIGHT-COLOR: #eef0f0;
 SCROLLBAR-TRACK-COLOR: #dadcdd;
 SCROLLBAR-DARKSHADOW-COLOR: #eef0f0;
 SCROLLBAR-BASE-COLOR: #eef0f0
}
.gray{
	background:#83867D;
	text-align:center;
	padding:3px 5px 1px 5px;
	border:0;
	color:white;
	font-size:12px;
}
</style>

<script language="javascript">
//获得选中文件的文件名
function getCheckboxItem()
{
	var allSel="";
	if(document.form2.arcID.value) return document.form2.arcID.value;
	for(i=0;i<document.form2.arcID1.length;i++)
	{
		if(document.form2.arcID[i].checked)
		{
			if(allSel=="")
				allSel = document.form2.arcID1[i].value;
			else
				allSel = allSel+document.form2.arcID1[i].value;
		}
	}
	return allSel;	
}
function selAll()
{
	for(i=0;i<document.form2.arcID.length;i++)
	{
		if(!document.form2.arcID[i].checked)
		{
			document.form2.arcID[i].checked=true;
		}
	}
}
function noSelAll()
{
	for(i=0;i<document.form2.arcID.length;i++)
	{
		if(document.form2.arcID[i].checked)
		{
			document.form2.arcID[i].checked=false;
		}
	}
}
function ReturnValue()
{
	if(window.opener.document.<?php echo $f?>.value==""){
		window.opener.document.<?php echo $f?>.value = getCheckboxItem();
	}
	else{
		window.opener.document.<?php echo $f?>.value += getCheckboxItem();
	}
	window.opener=true;
  window.close();
}
</script>
</head>
<body>

           <div class="left_list" style="border:5px solid #EEF0F0; margin:5px 5px 5px 5px;background: #FFFFFF;">
		   <div class="top_banner_ba">
                <form name='form3' action='/member/content_select_list.php?mid=1&f="+fname' method='get'>
        <input type='hidden' name='f' value='<?php echo $f?>'> 
                    <input class="top_banner_ba_input"  type="text" name='keyword' value="找不到需要的歌曲就搜索" onfocus="this.value=''"/>
                    <input class="top_banner_ba_submit" type="image" src="/templets/images/search.gif" />
                </form>		      
</div>

				<form name="form2">
                 {dede:datalist}
				 <?php
$fields['stime'] = GetDateTimeMk($fields['senddate']);
$fields['arcurl'] = GetArcUrl($fields['aid'],$fields['typeid'],$fields['senddate'],$fields['title'],$fields['ismake'],$fields['arcrank'],$fields['namerule'],$fields['typedir'],$fields['money']);
$fields['typeurl'] = GetTypeUrl($fields['typeid'],MfTypedir($fields['typedir']),$fields['isdefault'],$fields['defaultname'],
			$fields['ispart'],$fields['namerule2'],$fields['moresite'],$fields['siteurl'],$fields['sitepath']);
?> 
                    <div class="left_list_a">
                        <div class="left_list_aa"><input name="arcID" type="checkbox" id="arcID" value="" class="np"></div>
                        <div class="left_list_ah">
						<div class="left_list_aba"><a href="{dede:field.arcurl/}" target="_blank"><img src="/templets/skin/icons_1.gif" alt="播放" /></a></div>
	                        <div class="left_list_abb"><a href="{dede:field.arcurl/}" target="_blank">{dede:field.title /}</a></div>
	                        <div class="left_list_abc">{dede:field.typename/}</div>
                        </div>
                        <div class="left_list_ai">
<textarea style="display:none" name="arcID1" id="arcID1">
<div class="speclist1"><a href="{dede:field.arcurl/}" target="_blank">{dede:field.title/}</a>&nbsp;&nbsp;类别: {dede:field.typename/}</div>
<div class="speclist2"><input  name=id[] type=checkbox style="width:15px; height:15px; border:1px solid #FFFFFF" value="{dede:field.aid/}" checked="checked">
</div>
</textarea></div>
                    </div>

           
                    {/dede:datalist}
                <div class="left_flip"> 
&nbsp;
<a href="javascript:selAll()" class="gray"><font color="#FFFFFF">全选</font></a> 
&nbsp;
<a href="javascript:noSelAll()" class="gray"><font color="#FFFFFF">取消</font></a> 
&nbsp;
<a href="javascript:ReturnValue()" class="gray"><font color="#FFFFFF">把选定值加到列表</font></a> 
                </div>
</form>
                <div class="pages1">{dede:pagelist listsize=5/}</DIV>
           
</div>
</body>
</html>