<%@ Page Language="C#" AutoEventWireup="True" Inherits="Admin_Model_Showinfo" ValidateRequest="false"
  CodeBehind="Admin_Model_Showinfo.aspx.cs" %>

<%@ Register Src="Memu/InfovrsionControl.ascx" TagName="InfovrsionControl" TagPrefix="uc2" %>
<%@ Register Src="Admin_Model_Menu.ascx" TagName="Menu" TagPrefix="uc3" %>
<html>
<head id="Head1" runat="server">
  <title>模型管理</title>
  <link href="Css/StyleSheet.css" rel="stylesheet" type="text/css" />

  <script type="text/javascript">
  <!--
  function C_ModelName(v){
	  var $ = document.getElementById("ModelName");
	  var $1 = document.getElementById("ModelIs");
	  switch(v){
		  case "1":
			  $.innerHTML = "Ashop_U_";
			  $1.style.display = "block";
			  break;
		  case "2":
			  $.innerHTML = "Ashop_F_";
			  $1.style.display = "none";
			  break;
		  case "0":
			  $.innerHTML = "Ashop_S_";
			  $1.style.display = "none";
			  break;
		  case "3":
			  $.innerHTML = "Ashop_D_";
			  $1.style.display = "none";
			  break;
	  }
  }
  -->
  </script>

</head>
<body topmargin="0">
  <form id="myform" runat="server">
  <div>
    <div style="text-align: center">
      <uc3:Menu ID="Menu1" runat="server" />
      <table border="0" cellpadding="0" cellspacing="2" class="Table" style="width: 98%">
        <tbody>
          <tr>
            <td align="right" class="td" height="25" width="104">
              模型状态：
            </td>
            <td class="td" height="25">
              <asp:RadioButtonList ID="rblChecked" runat="server" RepeatDirection="Horizontal"
                RepeatLayout="Flow">
                <asp:ListItem Value="1" Text="正常" Selected="True"></asp:ListItem>
                <asp:ListItem Value="0" Text="关闭"></asp:ListItem>
              </asp:RadioButtonList>
              <asp:Label ID="labChannelID" runat="server" Text="0" Visible="False"></asp:Label>
            </td>
          </tr>
          <tr>
            <td align="right" class="td" height="25">
              模型名称：
            </td>
            <td class="td" height="25">
              <asp:TextBox ID="txtChannelName" runat="server" Width="150px"></asp:TextBox>
            </td>
          </tr>
          <tr>
            <td align="right" class="td" height="25">
              数据表名称：
            </td>
            <td class="td" height="25">
              <span id="ModelName" runat="server">Ashop_U_</span><asp:TextBox ID="txtChannelTable"
                runat="server" Width="110px"></asp:TextBox>
            </td>
          </tr>
          <tr>
            <td align="right" class="td" height="25">
              模型属性：
            </td>
            <td class="td" height="25">
              <asp:RadioButtonList ID="rblModelOption" runat="server" RepeatDirection="Horizontal">
              </asp:RadioButtonList>
            </td>
          </tr>
          <tr id="ModelIs" runat="server">
            <td align="right" class="td">
              模型选项：
            </td>
            <td class="td">
              <asp:CheckBox ID="cbIsClassTable" runat="server" Text="分类表" Checked="true" />
              <asp:CheckBox ID="cbIsCommentTable" runat="server" Text="评论表" />
            </td>
          </tr>
          <tr>
            <td align="right" class="td" height="25">
              模型描述：
            </td>
            <td class="td" height="25">
              <asp:TextBox ID="txtDescript" runat="server" Height="100px" TextMode="MultiLine"
                Width="200px"></asp:TextBox>
            </td>
          </tr>
          <tr>
            <td class="td" height="25">
            </td>
            <td class="td" height="25">
              <asp:Button ID="btnSave" runat="server" Text="添加模型" OnClick="btnSave_Click" />
            </td>
          </tr>
        </tbody>
      </table>
    </div>
  </div>
  <uc2:InfovrsionControl ID="InfovrsionControl1" runat="server" />
  </form>
</body>
</html>
