<%@ page language="C#" autoeventwireup="true" inherits="admin_Class_Table_add, App_Web_vzvei3tf" smartnavigation="true" %>


<!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 href="images/style.css" rel="stylesheet" type="text/css" />
    <script type="text/javascript" src="http://www.google.com/jsapi"></script>
<script type="text/javascript"> 
gg_load_err =0;
try
{
  google.load("language", "1");
}
catch(e)
{
  gg_load_err =1;
}
 
function gg_translate(g1,g2)
{
  try
  {
    google.language.translate(document.getElementById(g1).value, "zh", "en", function(result)
    {
      if (!result.error)
      {
        document.getElementById(g2).value=result.translation;
      }
    });
  }
  catch(e)
  {
    alert("failed to translate");
  }
}
</script>
</head>
<body>
    <form id="form1" runat="server">
    <div id="frame_Toolbar" class="toolbarBg">
    <div style="float:left"> <a href="javascript:self.history.back();" class="icoBtn_ct"><span class="btnIco btnBack"></span><span class="btnTxt">返回</span></a> <a href="javascript:self.location.reload();" class="icoBtn_ct"><span class="btnIco btnReload"></span><span class="btnTxt">刷新</span></a>&nbsp;
        <span class="split ftSplit" ></span></div>
	<div id="guide" class="light_orange">您现在的位置：<a href="default.aspx">内容管理</a> >> <a href="Class_Table.aspx?Model_id=<%=Request.QueryString["Model_id"].ToString() %>">栏目管理</a><asp:Literal ID="Literal1" runat="server"></asp:Literal></div>
	<div class="pageInfo right light_gray"></div>
    </div>
    <table class="cTable_2 table">
	<tr class="cTitle toolbarBg">
		<td width="25%"><div>添加栏目</div></td>
		<td colspan="2"></td>
	</tr>
	<tr>
		<td class="tRight">上级栏目：</td>
		<td colspan="2">
            <asp:DropDownList ID="DropDownList3" runat="server" AutoPostBack="True" OnSelectedIndexChanged="DropDownList3_SelectedIndexChanged">
            </asp:DropDownList><span id="RequiredFieldValidator1" style="color:Red;">*</span></td>
	</tr>
	<tr>
	  <td class="tRight">列表标题：</td>
	  <td colspan="2"><span style="color:Red;"><asp:TextBox ID="TextBox1" runat="server" MaxLength="100"
              Width="150px"></asp:TextBox>
          <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ControlToValidate="TextBox1"
              ErrorMessage="列表名称不可以为空"></asp:RequiredFieldValidator></span></td>
	  </tr>
	<tr>
		<td class="tRight">栏目图标：</td>
		<td colspan="2">
            <asp:TextBox ID="TextBox2" runat="server" MaxLength="100" Width="150px"></asp:TextBox>
             &nbsp;<input id="Button4" class="button" type="button" value="上传图片"  onClick="window.open('shangchuan.aspx?editname=TextBox2','','status=no,scrollbars=no,top=20,left=110,width=620,height=200');"/>
                </td>
    </tr>
	<tr>
		<td valign="top" class="tRight"><span class="cwTDiv">栏目关键字：</span></td>
		<td colspan="2">
          <div>
              <asp:TextBox ID="TextBox3" runat="server" Height="80px" TextMode="MultiLine" Width="400px"></asp:TextBox></div>		</td>
	</tr>
	<tr>
	  <td valign="top" class="tRight">栏目描述：</td>
	  <td colspan="2">
          <asp:TextBox ID="TextBox4" runat="server" Height="80px" TextMode="MultiLine" Width="400px"></asp:TextBox></td>
	  </tr>
	<tr>
	  <td valign="top" class="tRight">栏目列表模版：</td>
	  <td colspan="2">
          <asp:DropDownList ID="DropDownList1" runat="server">
          </asp:DropDownList></td>
	  </tr>  
	  <tr>
	  <td valign="top" class="tRight">栏目内容模版：</td>
	  <td colspan="2">
          <asp:DropDownList ID="DropDownList2" runat="server">
          </asp:DropDownList></td>
	  </tr>  
	  <tr>
	  <td valign="top" class="tRight">栏目路径：</td>
	  <td colspan="2">
          <asp:TextBox ID="TextBox5" runat="server" MaxLength="100" Width="250px"></asp:TextBox>&nbsp;&nbsp;<asp:Button
              ID="Button2" runat="server" CssClass="button" OnClick="Button2_Click1" Text="转换拼音" />&nbsp;<input type="submit" name="Submit" value="转换英语" class="button"  onclick="gg_translate('TextBox1','TextBox5');return false;"></td>
	  </tr>  
	 
	      </table>
    <div id="cEndToolbar" class="toolbarBg">
      <div class="caButCase">
          <asp:Button ID="Button1" runat="server" CssClass="button" Text="确认操作" OnClick="Button1_Click1" />
		    
	        <input type="reset" name="Submit2" value="清空重填" class="button" />
      </div>
    </div>

    </form>
</body>
</html>


