<%@ Page Language="C#" AutoEventWireup="true" Codebehind="OtherManger.aspx.cs" MasterPageFile="../../MasterPage/Default.Master"  Inherits="LJCMS.Admin.zh.Others.OtherManger" %>

<%@ Register Assembly="FredCK.FCKeditorV2" Namespace="FredCK.FCKeditorV2" TagPrefix="FCKeditorV2" %>
<asp:content id="Content1" contentplaceholderid="PageBody" runat="server">
    <link rel="stylesheet" type="text/css" href="<%=Page.ResolveUrl("~/") %>Admin/inc/FineMessBox/css/subModal.css" />

    <script type="text/javascript" src="<%=Page.ResolveUrl("~/") %>Admin/inc/FineMessBox/js/common.js"></script>

    <script type="text/javascript" src="<%=Page.ResolveUrl("~/") %>Admin/inc/FineMessBox/js/subModal.js"></script>

    <table style="width:100%">
        <tr>
            <td>
                <DataLayerWebControls:HeadMenuWebControls ID="HeadMenuWebControls1" runat="server"
                    HeadTitleTxt="">
                    <DataLayerWebControls:HeadMenuButtonItem ButtonPopedom="List" ButtonUrl="OtherList.aspx"
                        ButtonUrlType="Href" ButtonVisible="True" ButtonName="信息" />
                </DataLayerWebControls:HeadMenuWebControls>
                <DataLayerWebControls:TabOptionWebControls ID="TabOptionWebControls1" runat="server">
                    <DataLayerWebControls:TabOptionItem ID="TabOptionItem1" runat="server" Tab_Name="基本信息">
                        <table width="100%" border="0" cellspacing="1" cellpadding="3" align="center">
                <tr>
                    <td class="table_body">
                        信息分类</td>
                    <td class="table_none">
                        <asp:HiddenField ID="HFOtherClassId" runat ="server" />
                        <asp:TextBox ID="OtherClassId_Input"  runat="server" CssClass="text_input"></asp:TextBox>
                         <input type="button" value="选择分类" id="button3" name="buttonselect" onclick="javascript:ShowDepartID()"
                                        class="cbutton" />
                                    <input type="button" value="清除" onclick="javascript:ClearSelect();" class="cbutton" />
                    
                       </td>
                </tr>

                <tr>
                    <td class="table_body">
                        信息标题</td>
                    <td class="table_none">
                     
                        <asp:TextBox ID="OtherTitle_Input"  runat="server" CssClass="text_input" Width="300px"></asp:TextBox>
                    
                        </td>
                </tr>

                      <tr>
                    <td class="table_body">
                        修改时间</td>
                    <td class="table_none">
                     
                        <asp:TextBox ID="AddDate_Input"  runat="server" CssClass="text_input" onfocus="javascript:HS_setDate(this);"></asp:TextBox>
                    
                     </td>
                </tr>
                <tr>
                    <td class="table_body">
                        信息内容</td>
                    <td class="table_none">
                     
                       <FCKeditorV2:FCKeditor ID="FCKOtherContent" runat ="Server"  Height="500px"></FCKeditorV2:FCKeditor>
                    
                        </td>
                </tr>
                      
            </table>
                    </DataLayerWebControls:TabOptionItem>
                    <DataLayerWebControls:TabOptionItem ID="TabOptionItem2" Tab_Name="搜索优化" runat="server">
                    <table width="100%" border="0" cellspacing="1" cellpadding="3" align="center">
                           <tr>
                    <td class="table_body">
                        关键字</td>
                    <td class="table_none">
                     
                        <asp:TextBox ID="OtherKey_Input"  runat="server" CssClass="text_input"></asp:TextBox>
                    
                     </td>
                </tr>

                <tr>
                    <td class="table_body">
                        描述</td>
                    <td class="table_none">
                     
                        <asp:TextBox ID="OtherDescp_Input"  runat="server" CssClass="text_input"></asp:TextBox>
                    
                    </td>
                </tr>
                </table>
                    </DataLayerWebControls:TabOptionItem>
                </DataLayerWebControls:TabOptionWebControls>
                <table width="100%" border="0" cellspacing="1" cellpadding="3" align="center" id="PostButton"
                    runat="server">
                    <tr>
                        <td align="right">
                            <asp:Button ID="Button1" runat="server" CssClass="button_bak" Text="确定" OnClick="Button1_Click" />
                            <input id="Reset1" class="button_bak" type="reset" value="重填" />
                        </td>
                    </tr>
                </table>
            </td>
        </tr>
    </table>

    <script type="text/javascript">
  rnd.today=new Date(); 

    rnd.seed=rnd.today.getTime(); 

    function rnd() { 

　　　　rnd.seed = (rnd.seed*9301+49297) % 233280; 

　　　　return rnd.seed/(233280.0); 

    }; 

    function rand(number) { 

　　　　return Math.ceil(rnd()*number); 

    }; 

    function ShowDepartID()
        {
            showPopWin('选择信息分类','OtherTree.aspx?'+rand(10000000), 215, 255, AlertClassBox,true,true)
        }
    function AlertClassBox(file_name)
    {
       
             if (file_name!=undefined){
	            var ShValues = file_name.split('||');
	            if (ShValues[1]!=0)
	            {
	                document.all.<%=this.OtherClassId_Input.ClientID %>.value=ShValues[0];
	                document.all.<%=this.HFOtherClassId.ClientID %>.value=ShValues[1];
	            }            
	        }
    }
            function ClearSelect()
        {
   	        document.all.<%=this.OtherClassId_Input.ClientID %>.value="";
            document.all.<%=this.HFOtherClassId.ClientID %>.value="";
        }

   
    </script>

</asp:content>
