<%@ page language="C#" autoeventwireup="true" inherits="admin_survey, aoshuosoft" %>

<!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>
    <link rel="stylesheet" type="text/css" href="admin.css" />
</head>
<script language="javascript">
function sy()
{
if(document.getElementById("ms").value=="双语模式")
{
document.getElementById("ms").value="简体中文";
tbt.style.display="";
tbtt.style.display="";
tbttt.style.display="";
tbtttt.style.display="";
tbttttt.style.display="";
tbtttttt.style.display="";
}
else
{
document.getElementById("ms").value="双语模式";
tbt.style.display="none";
tbtt.style.display="none";
tbttt.style.display="none";
tbtttt.style.display="none";
tbttttt.style.display="none";
tbtttttt.style.display="none";
}
}
</script>
<body>
    <form id="form1" runat="server">
    <div>
        <asp:Panel ID="addedit" runat="server" Height="50px" Width="100%">
            <table border="0" cellpadding="3" cellspacing="1" class="adminmaintable">
                <tr>
                    <td class="bt" colspan="2" style="height: 46px; text-align: center">
                        投票调查</td>
                </tr>
                <tr>
                    <td style="width: 111px">
                        模式选择：</td>
                    <td>
                        <input id="ms" onclick="sy()" type="button" value="双语模式" /></td>
                </tr>
                <tr>
                    <td style="width: 111px">
                        调查主题：</td>
                    <td>
                        <asp:TextBox ID="t" runat="server" Width="187px"></asp:TextBox>*</td>
                </tr>
                <tr id="tbt" class="en" style="display: none; width: 111px">
                    <td>
                        调查主题（英文）：</td>
                    <td>
                        <asp:TextBox ID="ent" runat="server" CssClass="entextput" Width="187px"></asp:TextBox></td>
                </tr>
                <tr>
                    <td style="width: 111px">
                        选项(1)：</td>
                    <td>
                        <asp:TextBox ID="tt" runat="server" Width="187px"></asp:TextBox></td>
                </tr>
                <tr id="tbtt" class="en" style="display: none; width: 111px">
                    <td style="width: 111px">
                        选项(1)（英文）：</td>
                    <td>
                        <asp:TextBox ID="entt" runat="server" CssClass="entextput" Width="187px"></asp:TextBox></td>
                </tr>
                <tr>
                    <td>
                        选项(2)：</td>
                    <td>
                        <asp:TextBox ID="ttt" runat="server" Width="187px"></asp:TextBox></td>
                </tr>
                <tr id="tbttt" class="en" style="display: none; width: 111px">
                    <td>
                        选项(2)（英文）：</td>
                    <td>
                        <asp:TextBox ID="enttt" runat="server" CssClass="entextput" Width="187px"></asp:TextBox></td>
                </tr>
                <tr>
                    <td style="width: 111px">
                        选项(3)：</td>
                    <td>
                        <asp:TextBox ID="tttt" runat="server" Width="187px"></asp:TextBox></td>
                </tr>
                <tr id="tbtttt" class="en" style="display: none; width: 111px">
                    <td>
                        选项(3)（英文）：</td>
                    <td>
                        <asp:TextBox ID="entttt" runat="server" CssClass="entextput" Width="187px"></asp:TextBox></td>
                </tr>
                <tr>
                    <td style="width: 111px">
                        选项(4)：</td>
                    <td>
                        <asp:TextBox ID="ttttt" runat="server" Width="187px"></asp:TextBox></td>
                </tr>
                <tr id="tbttttt" class="en" style="display: none; width: 111px">
                    <td>
                        选项(4)（英文）：</td>
                    <td>
                        <asp:TextBox ID="enttttt" runat="server" CssClass="entextput" Width="187px"></asp:TextBox></td>
                </tr>
                <tr>
                    <td style="width: 111px">
                        选项(5)：</td>
                    <td>
                        <asp:TextBox ID="tttttt" runat="server" Width="187px"></asp:TextBox></td>
                </tr>
                <tr id="tbtttttt" class="en" style="display: none; width: 111px">
                    <td>
                        选项(5)（英文）：</td>
                    <td>
                        <asp:TextBox ID="entttttt" runat="server" CssClass="entextput" Width="187px"></asp:TextBox></td>
                </tr>
                <tr>
                    <td colspan="2" style="text-align: center">
                        <asp:Button ID="save" runat="server" OnClick="save_Click" Text="保存设置" />
                        <asp:Button ID="cs" runat="server" OnClick="cs_Click" Text="初始投票数据" /></td>
                </tr>
            </table>
        </asp:Panel>
        </div>
    </form>
</body>
</html>
