<%@ page language="C#" autoeventwireup="true" inherits="space_blog_do, ZKCMS" enableviewstatemac="false" enableEventValidation="false" viewStateEncryptionMode="Never" %>

<%@ Register TagPrefix="UC" TagName="meta" Src="~/space/meta.ascx" %>
<%@ Register TagPrefix="UC" TagName="topbar" Src="~/space/topbar.ascx" %>
<%@ Register TagPrefix="UC" TagName="head" Src="~/space/head.ascx" %>
<%@ Register TagPrefix="UC" TagName="side" Src="~/space/side.ascx" %>
<%@ Register TagPrefix="UC" TagName="foot" Src="~/space/foot.ascx" %>
<!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">
    <UC:meta ID="meta1" runat="server" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /></head>
<body>
    <form id="form1" runat="server" autocomplete="off">
    <div class="wrap">
        <UC:topbar ID="topbar1" runat="server" />
        <div class="box">
            <UC:head ID="head1" runat="server" />
            <div class="main">
                <div class="hto">
                    <div class="left">
                        <UC:side ID="side1" runat="server" />
                    </div>
                    <div class="right">
                        <div class="c">
                            <div class="b">
                                <div class="fl">
                                    写日志</div>
                                <div class="clear">
                                </div>
                            </div>
                            <div class="v">
                                <style type="text/css">
                                    .self_x1
                                    {
                                        padding: 0 0 15px 18px;
                                    }
                                    .self_x1 strong
                                    {
                                        color: #666;
                                    }
                                    .self_x1 td
                                    {
                                        padding-top: 12px;
                                    }
                                    .self_x1 td td
                                    {
                                        padding-top: 0;
                                        color: #666;
                                    }
                                </style>

                                <script type="text/javascript">
                                function check1(){
                                if(document.getElementById("title").value==""){alert("请输入日志标题！");return false;}
                                else {
                                document.getElementById("Button1").style.display="none";
                                document.getElementById("Button2").style.display="";
                                document.getElementById("Button2").setAttribute("disabled","disabled");
                                }
                                }
                                </script>

                                <div class="self_x1">
                                    <table border="0" cellpadding="0" cellspacing="0">
                                        <tr>
                                            <td>
                                                <strong>发表到：</strong>
                                            </td>
                                            <td>
                                                <table border="0" cellpadding="0" cellspacing="0">
                                                    <tr>
                                                        <td>
                                                            <asp:DropDownList ID="classid" runat="server" Width="200" CssClass="s12">
                                                            </asp:DropDownList>
                                                        </td>
                                                        <td style="padding-left: 10px; padding-top: 4px">
                                                            <a href="#" onclick="window.location='blog_class.aspx?uid=<%=ZK.uid %>&ReturnUrl='+base64en(location.href)">
                                                                (添加管理分类)</a>
                                                        </td>
                                                    </tr>
                                                </table>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td>
                                                <strong>日志标题：</strong><asp:HiddenField ID="HiddenField_AddSwitch" runat="server" Value="0" />
                                            </td>
                                            <td>
                                                <asp:HiddenField ID="if_ReplaceBanword" runat="server" Value="1" />
                                                <asp:TextBox ID="title" runat="server" Width="400" MaxLength="60" CssClass="inp2" onmouseover="document.getElementById('HiddenField_AddSwitch').value='1'"></asp:TextBox>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td>
                                                <strong>内容：</strong>
                                            </td>
                                            <td>
                                                <%@ register assembly="FredCK.FCKeditorV2" namespace="FredCK.FCKeditorV2" tagprefix="FCKeditorV2" %>
                                                <FCKeditorV2:FCKeditor ID="FCKeditor1" runat="server" BasePath="~/s/tool/fck/" Height="500"
                                                    Width="620" ToolbarSet="Edit1">
                                                </FCKeditorV2:FCKeditor>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td>&nbsp;
                                                
                                            </td>
                                            <td>
                                                <table border="0" cellpadding="0" cellspacing="0">
                                                    <tr>
                                                        <td>
                                                            <asp:Button ID="Button1" runat="server" Text="发表" CssClass="but1" OnClick="Button1_OnClick"
                                                                OnClientClick="return check1()" /><input type="button" id="Button2" value="提交中" class="but1"
                                                                    style="display: none" />
                                                        </td>
                                                        <td style="padding-left: 10px">
                                                            <asp:CheckBox ID="istop" runat="server" />
                                                        </td>
                                                        <td>
                                                            <div style="padding-top: 2px; *padding-top: 6px; padding-left: 3px; *padding-left: 0px">
                                                                <label for="istop">
                                                                    置顶显示</label></div>
                                                        </td>
                                                    </tr>
                                                </table>
                                            </td>
                                        </tr>
                                    </table>
                                </div>
                            </div>
                        </div>
                    </div>
                    <div class="clear">
                    </div>
                </div>
            </div>
            <UC:foot ID="foot1" runat="server" />
        </div>
    </div>
    </form>
</body>
</html>
