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

<%@ Import Namespace="D.Common" %>
<%@ Import Namespace="D.BLL" %>
<%@ Register Assembly="AspNetPager" Namespace="Wuqi.Webdiyer" TagPrefix="webdiyer" %>
<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title></title>
    <link id="CssName" rel="stylesheet" type="text/css" runat="server" />
    <script language="javascript" src="../../js/Common.js"></script>
    <script src="../../js/lhgdialog/lhgcore.lhgdialog.min.js?self=true&skin=<%=Function.GetCssNameColor()%>" type="text/javascript"></script>
    <script src="../../js/<%=B_Lang.getLang() %>/SelectCheckBox.js" language="javascript"></script>
</head>
<body>
    <form id="form1" runat="server">
        <table class="dh" cellpadding="0" cellspacing="0" border="0" align="center">
            <tr>
                <td>
                    <asp:Image ID="P_Go" runat="server" ImageAlign="AbsMiddle" />
                    您现在的位置：<a href="../info.aspx">后台管理</a> >> 问卷调查列表
                </td>
            </tr>
        </table>
        <table align="center" cellpadding="2" cellspacing="1" width="99%" class="border">
            <tr class="title">
                <td class="t1">Id
                </td>
                <td>名称
                </td>
                <td>英文名称
                </td>
                <td>添加时间
                </td>
                <td>操作
                </td>
            </tr>
            <asp:Repeater ID="RepSurvey" runat="server" OnItemCommand="RepSurvey_ItemCommand">
                <ItemTemplate>
                    <tr class="tdMoveTr" onmouseover="this.className='tdMoveTrBg'" onmouseout="this.className='tdMoveTr'">
                        <td align="center" class="t1">
                            <%#Eval("Id")%>
                        </td>
                        <td align="center">
                            <%#Eval("Name")%>
                        </td>
                        <td align="center">
                            <%#Eval("EnName")%>
                        </td>
                        <td align="center">
                            <%#Eval("AddTime")%>
                        </td>
                        <td align="center">
                            <a href="setsurvey.aspx?id=<%#Eval("Id") %>">编辑</a> ┊ <a href="surveyitemlist.aspx?surveyid=<%#Eval("Id") %>">选项列表</a> ┊ <a href="infolist.aspx?id=<%#Eval("Id") %>">投票记录</a> ┊ <a href="showsurveyresult.aspx?id=<%#Eval("Id") %>">查看结果</a>  ┊ 
                            <asp:LinkButton ID="LinkButton1" runat="server" CommandName="create" CommandArgument='<%# Eval("Id") %>'>生成问卷</asp:LinkButton>
                            ┊ <a href="javascript:WinOpenLhgDialog('HTML调用方式','html.aspx?Id=<%# Eval("Id") %>',800,500,'<%=Function.GetCssName()%>')">HTML调用</a> ┊ 
                            <asp:LinkButton ID="LinkButton2" runat="server" CommandName="delete" CommandArgument='<%# Eval("Id") %>' OnClientClick="return confirm('确定移除该条记录吗?')">移除</asp:LinkButton>
                        </td>
                    </tr>
                </ItemTemplate>
            </asp:Repeater>
        </table>
        <table cellpadding="0" cellspacing="1" class="dh2" align="center">
            <tr>
                <td>
                    <webdiyer:AspNetPager ID="Pager" runat="server" AlwaysShow="True" FirstPageText="首页"
                        LastPageText="尾页" NextPageText="下一页" PageSize="20" HorizontalAlign="Right" PrevPageText="上一页"
                        showinputbox="Never" UrlPageIndexName="p" UrlPaging="True" ShowCustomInfoSection="Left"
                        Width="99%">
                    </webdiyer:AspNetPager>
                </td>
            </tr>
        </table>
    </form>
</body>
</html>
