<%@ Page Language="C#" MasterPageFile="~/Admin/MasterPage.master" AutoEventWireup="true"
    Inherits="PowerEasy.Module.General.WebSite.Admin.Survey.ShowCountData3" Title="查看统计结果"
    CodeBehind="ShowCountData3.aspx.cs" %>

<asp:Content ID="Content1" ContentPlaceHolderID="CphNavigation" runat="Server">
    <pe:ExtendedSiteMapPath ID="SmpNavigator" SiteMapProvider="AdminMapProvider" runat="server" />
    <table style="width: 100%; margin: 0 auto;" cellpadding="0" cellspacing="0">
        <tr>
            <td id="AdminTabs">
                <ul>
                    <!-- CSS Tabs -->
                    <li><a href='<%="ShowCountData.aspx?SurveyID="+m_SurveyId.ToString()+"&SurveyName="+Server.UrlEncode(Convert.ToString(RequestString("SurveyName"))) %>'>
                        <span>调查结果分析</span></a> </li>
                    <li><a href='<%="ShowCountData.aspx?ShowType=Chart&SurveyID="+m_SurveyId.ToString()+"&SurveyName="+Server.UrlEncode(Convert.ToString(RequestString("SurveyName"))) %>'>
                        <span>图表显示</span></a> </li>
                    <li id="current"><a href='javascript:;'><span>列表式查看</span></a></li>
                    <li><a href='<%="ShowCountData2.aspx?SurveyID="+m_SurveyId.ToString()+"&SurveyName="+Server.UrlEncode(Convert.ToString(RequestString("SurveyName"))) %>'>
                        <span>卡片式查看</span></a></li>
                    <li><a href='<%="ShowCountData4.aspx?SurveyID="+m_SurveyId.ToString()+"&SurveyName="+Server.UrlEncode(Convert.ToString(RequestString("SurveyName"))) %>'>
                        <span>表格式查看</span></a></li>
                    <li><a href='<%="QuestionDetail.aspx?SurveyID="+m_SurveyId.ToString()+"&SurveyName="+Server.UrlEncode(Convert.ToString(RequestString("SurveyName"))) %>'>
                        <span>查看问题的回答详情</span></a></li>
                </ul>
            </td>
        </tr>
    </table>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="CphContent" runat="Server">
    <div style="text-align: center">
        <asp:Repeater ID="DlstSurveyRecord" runat="server">
            <HeaderTemplate>
                <table width="100%" border="0" cellspacing="1" cellpadding="1" class="border">
                    <tr>
            </HeaderTemplate>
            <ItemTemplate>
                <td align="center">
                    <a href='ShowCountData2.aspx?SurveyID=<%=m_SurveyId%>&RecordID=<%#Eval("RecordId")%>'>
                        <%# Eval("IP")%>
                    </a>
                </td>
                <% 
                    i++; %>
                <% if (i % 6 == 0 && i > 1)
                   {%>
                </tr><tr>
                    <%} %>
            </ItemTemplate>
            <FooterTemplate>
                </tr></table>
            </FooterTemplate>
        </asp:Repeater>
        <pe:AspNetPager ID="Pager" runat="server" OnPageChanged="Pager_PageChanged">
        </pe:AspNetPager>
    </div>
</asp:Content>
