<%@ page language="C#" autoeventwireup="true" inherits="Survey_SurveyUsera, App_Web_qeytevsw" stylesheettheme="Themes" theme="Themes" %>

<!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">
    <title></title>
    <script type="text/javascript" src="../Js/jquery.js"></script>
      <script src="../js/artDialog3/artDialog.min.js"></script>
      <script>          (function($) { var d = $.dialog.defaults; d.skin = ['chrome']; })(art);</script>
</head>
<body>
  <div id="loading">
        <div style="position: absolute; top: 0px; left: 0px; width: 100%; height: 100%; background-color: #ffffff;
            z-index: 10; filter: alpha(opacity=90); opacity: 0.9;">
        </div>
        <div id="msg_area" style="z-index: 200; left: 289px; position: absolute; top: 202px;">
            <div id="msgPanel" style="z-index: 200;" height="24px" width="100px" bordercolor="#eeeeee"
                borderstyle="Solid" borderwidth="1px">
                <asp:Image ID="img" runat="server" ImageUrl="~/images/loading.gif" />
                <font style="font-size: 9pt;color:Gray;">loading...读取中......</font>
            </div>
        </div>
    </div>
    <form id="form1" runat="server">
    <table cellpadding="0" cellspacing="0" class="table_box">
        <tr>
            <td class="right_bg">
                <span class="right_title">
                    <img src="../Images/homen.gif" class="img_style" />
                    您的当前位置：调查管理 > 调查结果统计 > 查看回答</span>
            </td>
        </tr>
        <tr>
            <td class="r_top_box">
                <table cellspacing="0" cellpadding="5" class="r_top_title_box">
                    <tr>
                        <td id="tab_title" width="50%">
                            调查回答情况<font style="font-size:12px; font-family:宋体;">(当前参与调查人数：<asp:Label ID="lblnum" runat="server" Text="Label" ForeColor="Red"></asp:Label>人)</font>
                        </td>
                        <td align="right">
                            <asp:Button ID="btnfan" runat="server" Text="返 回" OnClick="btnfan_Click" />
                        </td>
                    </tr>
                </table>
            </td>
        </tr>
        <tr>
            <td class="margintop5">
                <table width="100%" cellpadding="0" cellspacing="0" bgcolor="white" align="center">
                    <tr height="30px" class="headerStyle">
                        <td colspan="2" style="width: 100%;" align="left">
                            <span style="padding-right: 20px;">&nbsp;调查主题：<asp:Label ID="lblzhu"
                                runat="server" Text=""></asp:Label></span> <span style="padding-right: 20px; ">
                                    到期时间：<asp:Label ID="lblTime" runat="server" Text=""></asp:Label></span>
                        </td>
                    </tr>
                    <tr>
                        <td class="margintop5">
                            <asp:DataList ID="dataListOne" runat="server" Width="100%" ForeColor="Black" 
                                onitemdatabound="dataListOne_ItemDataBound" SkinID="9" BackColor="White">
                                <ItemTemplate>
                                    <table width="100%" cellpadding="5" cellspacing="0" bgcolor="white" style="border:solid 1px #efefef;">
                                        <tr>
                                            <td align="left" colspan="2" style="background-color:#f5f5f5; font-weight:bold;">
                                                <asp:Label ID="lblID" runat="server" Text='<%# Eval("ID") %>' Visible="false"></asp:Label>
                                                问题名称:<asp:Label ID="lblName" runat="server" Text='<%# Eval("lblName") %>'></asp:Label>(<asp:Label
                                                    ID="lblType" runat="server" Text='<%# Eval("lblType") %>'></asp:Label>)
                                            </td>
                                        </tr>
                                        <tr>
                                            <td colspan="2" align="left">
                                                问题选项：<asp:Label ID="lblCount" runat="server" Text='<%# Eval("lblCount") %>'></asp:Label>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td colspan="2" align="left" style="padding-left: 50px;">
                                                <asp:Label ID="lbltext" runat="server" Text='<%# Eval("text") %>' Visible="false"></asp:Label>
                                               
                                                <%--<asp:Label ID="lblnumber"  runat="server" Text='<%# Eval("count") %>' ></asp:Label>--%>
                                                <asp:Chart ID="ChartCourseType" runat="server" Palette="EarthTones" Height="180px"
                                                    >
                                                  <%--  <Titles>
                                                        <asp:Title Font="微软雅黑, 12pt, style=Bold" ForeColor="26, 59, 105" Name="Title1" Visible="true"
                                                            ShadowColor="32, 0, 0, 0" ShadowOffset="1" Text="选择统计">
                                                        </asp:Title>
                                                    </Titles>--%>
                                                    <Legends>
                                                        <asp:Legend IsTextAutoFit="False" Name="Default" BackColor="Transparent" Font="Trebuchet MS, 8.25pt"
                                                            TitleFont="Microsoft Sans Serif, 8pt, style=Bold">
                                                        </asp:Legend>
                                                        <%--<asp:legend LegendStyle="Row" IsTextAutoFit="False" Alignment="Far"  Name="Legend3" BackColor="Transparent" Font="Trebuchet MS, 8.25pt, style=Bold">
								
								</asp:legend>--%>
                                                    </Legends>
                                                    <ChartAreas>
                                                        <asp:ChartArea Name="ChartArea1">
                                                            <AxisY IntervalAutoMode="VariableCount" LabelAutoFitMinFontSize="5" TextOrientation="Horizontal"
                                                                Title="次数" IsLabelAutoFit="False">
                                                            </AxisY>
                                                            <AxisX IntervalAutoMode="VariableCount" IsLabelAutoFit="False" LabelAutoFitMinFontSize="5"
                                                                Title="月">
                                                            </AxisX>
                                                        </asp:ChartArea>
                                                    </ChartAreas>
                                                </asp:Chart>
                                            </td>
                                        </tr>
                                    </table>
                                </ItemTemplate>
                            </asp:DataList>
                        </td>
                    </tr>
                    <tr>
                        <td colspan="2">
                            <asp:DataList ID="gvAsan" runat="server" OnItemCommand="gvAsan_ItemCommand" DataKeyField="id"
                                Width="100%" SkinID="d_list">
                                <ItemTemplate>
                                    <table width="100%" cellpadding="0" cellspacing="0">
                                        <tr>
                                            <td style="width: 50%">
                                                回答人：
                                                <asp:Label ID="lbluserid" runat="server" Text='<%# Eval("userid") %>'></asp:Label>
                                            </td>
                                            <td style="width: 50%">
                                                <asp:LinkButton ID="lbtAn" runat="server" CommandName="views">查看回答</asp:LinkButton>
                                            </td>
                                        </tr>
                                    </table>
                                </ItemTemplate>
                            </asp:DataList>
                            <div class="nodata" id="divt" runat="server" style="display: none">
                                <img src="../Images/waring_pic01.gif" width="32px" height="32px" class="nodata_img" />
                                <asp:Label ID="lbltext" CssClass="no_found" runat="server" Text="该调查无人回复！" HorizontalAlign="Center"></asp:Label>
                            </div>
                        </td>
                    </tr>
                </table>
            </td>
        </tr>
    </table>
    </form>
     <script type="text/javascript">
         $(document).ready(function() {

             $("#loading").fadeOut();

         });
     
</script>
</body>
</html>
