<%@ Page Language="C#" MasterPageFile="MasterPage.Master" AutoEventWireup="true" CodeBehind="VoteRecord.aspx.cs" Inherits="SocoShop.Web.Admin.VoteRecord" %>
<%@ Import Namespace="SocoShop.Business" %>
<%@ Register Assembly="SkyCES.EntLib" Namespace="SkyCES.EntLib" TagPrefix="SkyCES" %>
<asp:Content ID="MasterContent" ContentPlaceHolderID="ContentPlaceHolder" runat="server">
<script type="text/javascript" src="/Admin/Pop/lhgdialog_ex.js"></script>	
<div class="position"><img src="/Admin/Style/Images/PositionIcon.png"  alt=""/>投票记录</div>
<ul class="listHead">	
	<li style="width:5%">ID</li>
    <li style="width:60%; text-align:left;text-indent:8px;">投票选项</li>
    <li style="width:10%">用户</li>
    <li style="width:10%">时间</li>	 
    <li style="width:10%">IP</li>	
    <li style="width:5%">选择</li> 
</ul>
<asp:Repeater ID="RecordList" runat="server">
	<ItemTemplate>
		<ul class="listMain" onmousemove="ChangeColor(this,'#FFFDD7')" onmouseout="ChangeColor(this,'#FFF')">				
			<li style="width:5%"><%# Eval("ID")%></li>
            <li style="width:60%; text-align:left;text-indent:8px;"><%#VoteItemBLL.ReadItemName(Eval("ItemID").ToString(), voteItemList)%></li>
            <li style="width:10%"><%#Eval("UserName")%></li>
            <li style="width:10%"><%# Eval("AddDate") %></li>	 
            <li style="width:10%"><%# Eval("UserIP")%></li>	
            <li style="width:5%"><input type="checkbox" name="SelectID" value="<%# Eval("ID") %>" /></li> 
		</ul>
	</ItemTemplate>
</asp:Repeater> 
<div class="listPage">
    <SkyCES:CommonPager ID="MyPager" runat="server" />
</div>
<div class="action">
    <asp:Button CssClass="button" ID="DeleteButton" Text=" 删 除 " OnClientClick="return checkSelect()" runat="server"  OnClick="DeleteButton_Click"/>&nbsp;<input type="checkbox" name="All" onclick="selectAll(this)" />全选/取消
</div>
</asp:Content>
