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

<!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" />
    <style type="text/css">
        .auto-style1 {
            height: 21px;
        }
    </style>
</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> >> <a href="surveylist.aspx">问卷调查列表</a> >> 设置选项
                </td>
            </tr>
        </table>
        <table class="dh3" cellpadding="0" cellspacing="0" border="0" align="center">
            <tr>
                <td>
                     <a href="setsurveyitem.aspx?surveyid=<%=Request.QueryString["surveyid"].ToString() %>">【添加调查问题】</a>
                </td>
            </tr>
        </table>
        <table align="center" cellpadding="2" cellspacing="1" width="99%" class="border">
            <tr class="title">
                <td class="t1">调查问题
                </td>
                <td>问题类型
                </td>
                <td>添加时间
                </td>
                <td>操作
                </td>
            </tr>
            <asp:Repeater ID="RepSurveyItem" runat="server" OnItemCommand="RepSurveyItem_ItemCommand">
                <ItemTemplate>
                    <tr class="tdMoveTr" onmouseover="this.className='tdMoveTrBg'" onmouseout="this.className='tdMoveTr'">
                        <td align="center" class="t1">
                            <%#Eval("Title")%>
                        </td>
                        <td align="center">
                            <%#Eval("ClassName")%>
                        </td>
                        <td align="center">
                            <%#Eval("AddTime")%>
                        </td>
                        <td align="center">
                            <a href="setsurveyitem.aspx?surveyid=<%=Request.QueryString["surveyid"].ToString() %>&ItemId=<%#Eval("Id") %>">编辑</a> ┊ 
                            <asp:LinkButton ID="LinkButton2" runat="server" CommandName="delete" CommandArgument='<%# Eval("Id") %>' OnClientClick="return confirm('确定移除该条记录吗?')">移除</asp:LinkButton>
                        </td>
                    </tr>
                </ItemTemplate>
            </asp:Repeater>
        </table>
    </form>
</body>
</html>
