<%@ page language="C#" autoeventwireup="true" inherits="vote_index, ZKCMS" enableviewstatemac="false" enableEventValidation="false" viewStateEncryptionMode="Never" %>

<%@ Register Assembly="Pager" Namespace="Wuqi.Webdiyer" TagPrefix="DataPager" %>
<%@ Register TagName="meta" TagPrefix="UC" Src="~/s/include/meta.ascx" %>
<%@ Register TagName="head" TagPrefix="UC" Src="~/s/include/head.ascx" %>
<%@ Register TagName="foot" TagPrefix="UC" Src="~/s/include/foot.ascx" %>
<!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 runat="server">
    <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
    <meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
    <title><%=ZK.config("homepagetitle")%></title><meta name="keywords" content="<%=ZK.config("homepagekeywords") %>" />
    <meta name="description" content="<%=ZK.config("homepagedescription") %>" />
    <UC:meta ID="meta1" runat="server" />
    <style type="text/css">
        .VoteList
        {
        }
        .VoteList .item
        {
            padding:10px 15px;
        }
        .VoteList .item tr
        {
            vertical-align:top;
        }
        .VoteList .item .td1
        {
            width:415px;
        }
        .VoteList .item .td1 img
        {
            width:400px;
            height:100px;
            margin-top:5px;
            padding:1px;
            border:solid 1px #ddd;
            -moz-border-radius: 5px;
            -webkit-border-radius: 5px;
            border-radius: 5px;
        }
        .VoteList .item .td2
        {
        }
        .VoteList .item .td2 .str
        {
            font-size:22px;
            height:30px;
            line-height:30px;
            font-family: 'Microsoft Yahei' , '黑体';
        }
        .VoteList .item .td2 .str a
        {
            color:#06c;
        }
        .VoteList .item .td2 .str a:hover
        {
            color:#f60;
        }
        .VoteList .item .td2 p
        {
            color:#444;
            padding-top:4px;
        }
    </style>
</head>
<body>
    <div class="wrap"><a name="pagetop" id="pagetop"></a><UC:head ID="head1" runat="server" />
        <div class="box pt5">
            <div class="c1">
                <div class="b">
                    <div class="fl"></div>
                    <div class="con">投票活动</div>
                    <div class="fr"></div>
                    <div class="clear"></div>
                </div>
                <div class="v">
                    <asp:Panel ID="Panel_Nodata" runat="server" Visible="false">
                        <div class="tip_nodata" style="">还没有投票活动！</div>
                    </asp:Panel>
                    <asp:Panel ID="Panel_List" runat="server" CssClass="photo_list">
                        <asp:Repeater ID="Repeater1" runat="server">
                            <HeaderTemplate>
                                <div class="VoteList">
                            </HeaderTemplate>
                            <ItemTemplate>
                                <div class="item">
                                    <table border="0" cellpadding="0" cellspacing="0" width="100%">
                                        <tr>
                                            <td class="td1">
                                                <div><a href="/vote/vote<%#Eval("OpenType")%>.aspx?classid=<%#Eval("id")%>" target="_blank"><img src="<%#Eval("thumbnail")%>" alt="<%#Eval("VoteTheme")%>" /></a></div>
                                            </td>
                                            <td class="td2">
                                                <div class="str"><a href="/vote/vote<%#Eval("OpenType")%>.aspx?classid=<%#Eval("id")%>" target="_blank"><%#Eval("VoteTheme")%></a></div>
                                                <p>
                                                    <%#Eval("intro")%></p>
                                            </td>
                                        </tr>
                                    </table>
                                </div>
                            </ItemTemplate>
                            <FooterTemplate>
                                </div>
                            </FooterTemplate>
                        </asp:Repeater>
                    </asp:Panel>
                    <asp:Panel ID="Panel_Turn" runat="server" Visible="false">
                        <div id="DataPager">
                            <table border="0" cellspacing="0" cellpadding="0" style="margin: 0 auto">
                                <tr>
                                    <td>
                                        <DataPager:AspNetPager ID="Pager1" runat="server" OnPageChanged="Pager1_PageChanged" UrlPagingTarget="_self" PageSize="32" UrlPaging="true" FirstPageText="最前页" PrevPageText="上一页" NextPageText="下一页" LastPageText="最后页" PagingButtonSpacing="0" CssClass="turn" CurrentPageButtonClass="turn_on" SubmitButtonClass="pager_but" PageIndexBoxClass="pager_inp" SubmitButtonText="转到" ShowPageIndexBox="Auto" ShowBoxThreshold="0" ShowDisabledButtons="false" NumericButtonCount="6" FirstLastButtonsClass="turn_flpn" PrevNextButtonsClass="turn_flpn">
                                        </DataPager:AspNetPager>
                                    </td>
                                </tr>
                            </table>
                            <div class="clear" style="height: 15px"></div>
                        </div>
                    </asp:Panel>
                </div>
            </div>
        </div>
        <UC:foot ID="foot1" runat="server" />
    </div>
</body>
</html>
