<%@ page language="C#" autoeventwireup="true" masterpagefile="../../MasterPage/Default.Master" inherits="Admin_zh_Abouts_AdminEditAbouts, YBBQYCMS_deploy" theme="Standard" viewStateEncryptionMode="Never" %>

<%@ 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="企业简介管理" headoptxt="查看企业简介" HeadHelpTxt="帮助">
    </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 id="Tr2" runat="server">
                    <td class="table_body">
                        企业简介标题</td>
                    <td class="table_none">
                        <asp:TextBox ID="Title_Input"  runat="server" CssClass="text_input"></asp:TextBox>
                    </td>
            </tr>
            <tr id="Tr4" runat="server">
                       <td class="table_body">
                        添加时间</td>
                    <td class="table_none">
                     
                        <asp:TextBox ID="AddDate_Input"  runat="server" CssClass="text_input" ReadOnly="true" onfocus="javascript:HS_setDate(this);"></asp:TextBox>
                    
                    </td>
            </tr>
            <tr id="Tr1" runat="server">
                       <td class="table_body">
                        静态文件名</td>
                    <td class="table_none">
                        <asp:TextBox ID="FileName_Input"  runat="server" CssClass="text_input">/</asp:TextBox>
                    </td>
            </tr>
            <tr id="Tr6" runat="server">
                       <td class="table_body">
                        模板文件名</td>
                    <td class="table_none">
                        <asp:TextBox ID="TemPlate_Input"  runat="server" CssClass="text_input"></asp:TextBox>
                    </td>
            </tr>
            <tr id="Tr3" runat="server">
                       <td class="table_body">
                        前台菜单组别</td>
                    <td class="table_none">
                        <asp:TextBox ID="Group_Input"  runat="server" CssClass="text_input"></asp:TextBox>
                    </td>
            </tr>
            <tr id="Tr5" runat="server">
                    <td class="table_body">
                        内容</td>
                    <td class="table_none">
                     
                        <FCKeditorV2:FCKeditor ID="AContent_Iput" runat="server" Height="400px">
                        </FCKeditorV2:FCKeditor>
                    
                      </td>
            </tr>
            <tr>
                <td colspan="2">
                </td>
            </tr>
		</table>
        </DataLayerWebControls:TabOptionItem>
        <DataLayerWebControls:TabOptionItem ID="TabOptionItem2" 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:TextBox ID="AboutBigPic_Value" runat="server" CssClass="text_input" Width="300px"></asp:TextBox>
                                    <input id="Buttonb" type="button" runat="server" class="button_bak" value="上传大图" style="cursor: pointer"
                                        onclick="javascript:showPopWin('上传标识图片','../../UploadPic.aspx?'+rand(10000000), 300, 150, AlertMessageBox,true);" />
                                </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="重填" />&nbsp;
                        </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 AlertMessageBox(file_name)
    {
       
          if (file_name!=undefined){
	            var ShValues = file_name.split('||');
	            if (ShValues[1]!=0)
	            {
	                document.all.<%=this.AboutBigPic_Value.ClientID %>.value=ShValues[0];
	            }            
	        }
    }
    </script>
</asp:Content>