<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Modify.aspx.cs" Inherits="K2.Web.Admin.Articles.Modify" %>

<!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><title>
	添加文章
</title><link href="../css/admin.css" type="text/css" rel="stylesheet" charset="utf-8" />
     <link type="text/css" href="../js/msgbox/css/msgbox.css" rel="stylesheet" charset="utf-8" />
    <script type="text/javascript" src="../js/msgbox/script/msgbox.js"></script>
<script src="../js/tab.js" type="text/javascript"></script>
    <link href="../css/tab.css" rel="stylesheet" type="text/css" />
    
 <link rel="stylesheet" href="../editor/themes/default/default.css" />
	<link rel="stylesheet" href="../editor/plugins/code/prettify.css" />
	<script charset="utf-8" src="../editor/kindeditor.js"></script>
	<script charset="utf-8" src="../editor/lang/zh_CN.js"></script>
	<script charset="utf-8" src="../editor/plugins/code/prettify.js"></script>
	<script>
		KindEditor.ready(function(K) {
			var editor1 = K.create('#TxtContent', {
				cssPath : '../editor/plugins/code/prettify.css',
				uploadJson : '../editor/asp.net/upload_json.ashx',
				fileManagerJson : '../editor/asp.net/file_manager_json.ashx',
				allowFileManager : true,
				filterMode: false
			
			});
			prettyPrint();
		});
	</script>


</head>
<body>
    <form id="form1" runat="server">
   <div class="newslistabout">
      
        <div class="nTab4">
            <div class="TabTitle">
                <ul id="myTab1">
                    <li class="active" onclick="nTabs(this,0);"><a href="#">基本信息</a></li>
                    <li class="normal" onclick="nTabs(this,1);"><a href="#">SEO优化</a></li>
                      <li class="normal" onclick="nTabs(this,2);"><a href="#">头部图片</a></li>
                </ul>
            </div>
        </div>
            <div class="TabContent" >
                <div id="myTab1_Content0">
                    <table style="width: 100%; border-bottom: none; border-top: none;float:left;" cellpadding="2"
                        cellspacing="1" class="border">
                        <tr>
                            <td class="tdbg">
                                <table cellspacing="0" cellpadding="0" width="100%" border="0">
                                    <tr>
                                        <td class="td_class">
                                            选择栏目：
                                        </td>
                                        <td height="25">
                                            <asp:DropDownList ID="DDLMenyID" runat="server">
                                            </asp:DropDownList>
                                            提示：如果选择图片类栏目，请添加头部图片。
                                            <asp:Label ID="LblType" runat="server" Text="" Visible="false"></asp:Label>
                                            <asp:Label ID="lblId" runat="server" Text="" Visible="false"></asp:Label>
                                            <asp:Label ID="lblMenuId" runat="server" Text="" Visible="false"></asp:Label>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td class="td_class">
                                            标题：
                                        </td>
                                        <td height="25">
                                        <asp:TextBox ID="TxtTitle" runat="server" MaxLength="126" ValidateGroup="default" description="必填&lt;br/>标题不能为空，长度限制在40个字符以内！" title="标题不能为空，长度限制在40个字符以内！" alt="输入标题正确" style="width:500px;"></asp:TextBox>

                                        </td>
                                        
                                    </tr>
                                   
                                   
                                    <tr>
                                        <td class="td_class" style="vertical-align: top; height: 50px;">
                                            内容：
                                        </td>
                                        <td height="25">
                                            
                                            <asp:TextBox ID="TxtContent" runat="server" rows="2" cols="20" style="width:80%; height:300px;" TextMode="MultiLine" ></asp:TextBox>

                                        </td>
                                    </tr>
                                    <tr>
                                        <td class="td_class">
                                            推荐：
                                        </td>
                                        <td height="25">
                                            <table id="ctl00_ContentPlaceHolder1_radlState" align="left" border="0">
	<tr>
		
        <td><asp:CheckBox ID="CBTui" runat="server"  Checked="false"   /><label for="CBTui">推荐</label></td>
	</tr>
</table>
                                        </td>
                                    </tr>
                                 
                                  
                                  
                                </table>
                            </td>
                        </tr>
                    </table>
                </div>
                <div id="myTab1_Content1" class="none4">
                    <table style="width: 100%; border-bottom: none; border-top: none;float:left;" cellpadding="2"
                        cellspacing="1" class="border">
    
   <tr>
                                        <td class="td_class">
                                            关键字：
                                        </td>
                                        <td height="25">
                                            <asp:TextBox ID="TxtKeyWords" runat="server" maxlength="100" style="width:500px; height:50px;" TextMode="MultiLine"></asp:TextBox>
                                           
                                        </td>
                                    </tr>
                                    <tr>
                                        <td class="td_class">
                                        </td>
                                        <td height="25">
                                            <div class="msgNormal">
                                                请输入关键字以逗号分割，长度限制在100个字符以内！
                                            </div>
                                        </td>
                                    </tr>

                                    <tr id="ctl00_ContentPlaceHolder1_TrSummary">
	<td class="td_class" style="vertical-align: top; height: 50px;">
                                            文章简介：
                                        </td>
	<td height="25">
                                          <asp:TextBox ID="TxtDes" runat="server" maxlength="200" style="width:500px; height:100px;" TextMode="MultiLine"></asp:TextBox>
                                        </td>
</tr>
   <tr>
                                        <td class="td_class">
                                        </td>
                                        <td height="25">
                                            <div class="msgNormal">
                                                请输入文章的简介，长度限制在200个字符以内！
                                            </div>
                                        </td>
                                    </tr>

                                    <tr id="ctl00_ContentPlaceHolder1_Tr1">
	<td class="td_class">
                                            来源：
                                        </td>
	<td height="25">
        <asp:TextBox ID="TxtSource" runat="server"  maxlength="100" style="width:500px;"  ></asp:TextBox>
                                          
                                        </td>
</tr>

         


                           
        
                                </table>
                            </td>
                        </tr>
                    </table>
                </div>
                <div id="myTab1_Content2" tabindex="2" class="none4">
                <table style="width: 100%; border-bottom: none; border-top: none; float: left;" cellpadding="2"
                    cellspacing="1" class="border">
                                               <tr id="ctl00_ContentPlaceHolder1_trImageUrl">
	<td class="td_class" style="margin-top: 10px;">
                                            缩略图:
                                        </td>
	<td height="25" style="padding-left: 5px">
                                         <asp:FileUpload ID="FUHandPic" runat="server" />
                                            <br />
                                        </td>
</tr>

                                    <tr>
                                        <td class="td_class">
                                        </td>
                                        <td height="25">
                                            <asp:Image ID="ImgHandPic" runat="server"  style="height:120px;width:120px;border-width:0px; />
                                            
                                        </td>
                                    </tr>
                
                </table>
            </div>
                <table style="width: 100%; border-top: none;float:left;" cellpadding="2" cellspacing="1" class="border">
                    <tr>
                        <td class="tdbg">
                            <table cellspacing="0" cellpadding="0" width="100%" border="0">
                                <tr>
                                    <td class="td_class">
                                    </td>
                                    <td height="25">
                                       
                                        <asp:Button ID="BtnSave" runat="server" Text="保存" class="adminsubmit_short" 
                                            onclick="BtnSave_Click" />
                                    </td>
                                </tr>
                            </table>
                        </td>
                    </tr>
                </table>
            </div>
    </div>



    </div>
    

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