<%@ Page Language="C#" MasterPageFile="~/Admin/MasterPage.master" AutoEventWireup="true"
    Inherits="PowerEasy.Module.General.WebSite.Admin.Survey.ShowCountData2" Title="查看统计结果"
    CodeBehind="ShowCountData2.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><a href='<%="ShowCountData3.aspx?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='<%="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="RptShowCountList" runat="server" OnItemDataBound="RptShowCountList_ItemDataBound">
            <ItemTemplate>
                <asp:Repeater ID="RptShowCountData" runat="server">
                    <HeaderTemplate>
                        <table width="100%" border="0" style="text-align: center" cellpadding="2" cellspacing="1"
                            class="border">
                            <tr class="title">
                                <td style="text-align: center" colspan="2" align="center">
                                    <strong>卡片式查看</strong>
                                </td>
                            </tr>
                            <tr class="tdbg">
                                <td style="width: 30%" align="right" class="tdbgleft">
                                    IP：
                                </td>
                                <td align="left">
                                    <asp:Label ID="LblIP" runat="server" Text="IP"></asp:Label>
                                </td>
                            </tr>
                            <tr class="tdbg">
                                <td style="width: 30%" align="right" class="tdbgleft">
                                    提交时间：
                                </td>
                                <td align="left">
                                    <asp:Label ID="LblSubmitTime" runat="server" Text="LblSubmitTime"></asp:Label>
                                </td>
                            </tr>
                    </HeaderTemplate>
                    <ItemTemplate>
                        <tr class="tdbg">
                            <td style="width: 30%" align="right" class="tdbgleft">
                                <%#Eval("QuestionContent")%>
                                ：
                            </td>
                            <td align="left">
                                <asp:Label ID="LblAnswer" runat="server" Text="Label"></asp:Label>
                            </td>
                        </tr>
                    </ItemTemplate>
                    <FooterTemplate>
                        </table>
                    </FooterTemplate>
                </asp:Repeater>
            </ItemTemplate>
        </asp:Repeater>
        <span id="showPage" runat="server">
            <pe:AspNetPager ID="Pager" ShowPageSize="false" runat="server" OnPageChanged="Pager_PageChanged">
            </pe:AspNetPager>
        </span>
        <br />
        <span id="showButton" visible="false" runat="server">
            <asp:Button ID="BtnReturn" runat="server" Text="返回列表" OnClick="BtnReturn_Click" />&nbsp;&nbsp
            <pe:ExtendedButton IsChecked="true" OperateCode="SurveyCreate" ID="BtnDelete" runat="server"
                Text="删除记录" OnClick="BtnDelete_Click" />
        </span>
    </div>
</asp:Content>
