<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gbk" />
<title>网站收藏记录管理</title>
<LINK href="<?=base_url()?>csdj/admin/images/admin.css" type="text/css" rel="stylesheet">
<SCRIPT type="text/javascript" src="<?=base_url()?>csdj/admin/js/admin.js"></script>
</head>
<BODY style="margin:2px">
 
	<table align="center" border="1" cellspacing="0" cellpadding="5" bordercolor="#A2DAE7" width="100%" style="border-collapse:collapse;">
	<form name=form method=post action="<?=site_url('admin/fav/pldel/')?>">
	<tr>
   		<td align="center" height="20" colspan="5" class="title">收藏记录管理 — <select OnChange="location.href='<?=site_url('admin/fav/index/')?>?sid='+this.value" style='width:140px'><option value=''>快速查找模型项目</option><option value="1">歌曲</option><option value="2">视频</option></select></td>
	</tr>
	<tr align="center">
		<td width="5%">选中</td>  
		<td width="*">名称</td>
		<td width="8%">模型</td>
		<td width="12%">会员</td>
		<td width="18%">时间</td>
	</tr>
<?php
 if(empty($fav)) echo '<tr align="center"><td colspan="5" align="center">当前没有记录!</td></tr>';
 foreach ($fav as $row) { 
?>
	<tr>
		<td align="center"><input type=checkbox Name="CS_ID[]" Value="<?=$row->CS_ID?>"></td>
		<td>
<?php
if($row->CS_SID==1){
       echo '[<a href="'.$this->CsdjSkins->LinkUrl('lists','dance','id',$row->CS_CID,$row->CS_DID).'" target="_blank">'.$this->CsdjSkins->getclass($row->CS_CID).'</a>]
             <a href="'.$this->CsdjSkins->LinkUrl('play','dance','id',$row->CS_CID,$row->CS_DID).'" target="_blank">'.$row->CS_Name.'</a>
            ';
}else{
       echo '[<a href="'.$this->CsdjSkins->LinkUrl('lists','vod','id',$row->CS_CID,$row->CS_DID).'" target="_blank">'.$this->CsdjSkins->getclass($row->CS_CID,'vlist').'</a>]
             <a href="'.$this->CsdjSkins->LinkUrl('show','vod','id',$row->CS_CID,$row->CS_DID).'" target="_blank">'.$row->CS_Name.'</a>
            ';
}
?>
                </td>
		<td align="center">
<?php
if($row->CS_SID==1){
           echo '歌曲';
}else{
           echo '视频';
}
?>
                </td>
		<td align="center"><a href="<?=$this->CsdjSkins->userlink('index',$this->CsdjSkins->getuser('uid',$row->CS_User,2),$row->CS_User)?>" target="_blank"><?=$row->CS_User?></a></td>
		<td align="center"><?=$row->CS_AddTime?></td>
	</tr>
<?php } ?>
	<tr>
		<td colspan="5">
		<span style="float:right;">收藏记录：<?=$nums?>&nbsp;&nbsp;<?=$pages?></span>
		<input type="checkbox" name="chkall" onclick="CheckAll(this.form)" value="ON">选中本页 
		<input type="submit" class="italk-st" name="put" value="批量删除" onClick="return confirm('确定删除选中的下载吗?');" class="button"> </td>
	</tr></form> 
</table>
</body>
</html>

