<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Set_Article.aspx.cs" Inherits="Csc_aspx_admin_Set_Article" %>
<%@ Import Namespace="D.Common" %>
<%@ Import Namespace="D.BLL" %>
<!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 id="Head1" runat="server">
    <title></title>
    <link id="CssName" rel="stylesheet" type="text/css" runat="server" />
    <script type="text/javascript" src="/js/jquery-1.4.2.min.js"></script>
    <script type="text/javascript" src="/js/date/date.js"></script>
    <script type="text/javascript" src="/js/common.js"></script>
    <script type="text/javascript" src="/js/color.js"></script>
    <script type="text/javascript" src="/js/Linkage.js"></script>
    <script type="text/javascript" src="/js/zh-cn/listbox.js"></script>
    <script type="text/javascript" src="/js/zh-cn/Shop.js"></script>
    <script type="text/javascript" charset="utf-8" src="/editor/ueditor/ueditor.config.js"></script>
    <script type="text/javascript" src="/editor/ueditor/ueditor.all.min.js"></script>
    <script type="text/javascript" language="javascript" src="/js/info/Article.js"></script>
    <script type="text/javascript" language="javascript" src="/js/lhgdialog/lhgcore.lhgdialog.min.js?self=true&skin=<%=Function.GetCssNameColor()%>"></script>
</head>
<body>
    <form id="form1" runat="server"><asp:TextBox ID="FilePicPath" runat="server" style="display:none">user|0</asp:TextBox><asp:ScriptManager ID="ScriptManager1" runat="server"></asp:ScriptManager>
    <table class="dh" cellpadding="0" cellspacing="0" border="0" align="center">
        <tr>
            <td>
                <asp:Image ID="P_Go" runat="server" ImageAlign="AbsMiddle" />
                您现在的位置：<a href="../info.aspx">后台管理</a> >>
                <asp:Literal ID="LitModelName" runat="server"></asp:Literal>
                >>
                <asp:Literal ID="LitSetName" runat="server"></asp:Literal>
            </td>
        </tr>
    </table>
    <table class="border" cellspacing="1" cellpadding="0" width="99%" border="0" align="center">        
        <tr>
<td class="bqleft">标题：</td>
<td class="bqright"><asp:TextBox ID="DianCMS_Title" runat="server" CssClass="in1" style="width:300px" Text=""></asp:TextBox><font color="red">*</font> </td>
</tr>
<tr>
<td class="bqleft">标题颜色：</td>
<td class="bqright"><asp:TextBox ID="DianCMS_Color" runat="server" CssClass="in1" onclick="rcolor(this,true)" title="点击选取颜色"></asp:TextBox> </td>
</tr>
<tr>
<td class="bqleft">作者：</td>
<td class="bqright"><asp:TextBox ID="DianCMS_Author" runat="server" CssClass="in1" style="width:200px" Text=""></asp:TextBox> </td>
</tr>
<tr>
<td class="bqleft">来源：</td>
<td class="bqright"><asp:TextBox ID="DianCMS_Source" runat="server" CssClass="in1" style="width:200px" Text=""></asp:TextBox> </td>
</tr>
<tr>
<td class="bqleft">简介：</td>
<td class="bqright"><asp:TextBox ID="DianCMS_Multiple" runat="server" TextMode="MultiLine" style="height:100px;width:619px;"></asp:TextBox> </td>
</tr>
<tr>
<td class="bqleft">文章属性：</td>
<td class="bqright"><asp:CheckBox ID="DianCMS_IsFocus" runat="server" Text="焦点" /><asp:CheckBox ID="DianCMS_IsHeader" runat="server" Text="头条" /><asp:CheckBox ID="DianCMS_IsTop" runat="server" Text="置顶" /><asp:CheckBox ID="DianCMS_IsTuiJian" runat="server" Text="是否推荐" /></td>
</tr>
<tr>
<td class="bqleft">文章内容：</td>
<td class="bqright">                <asp:TextBox ID="DianCMS_Content" runat="server" TextMode="MultiLine"></asp:TextBox>
                <script type="text/javascript">
                    UE.getEditor('DianCMS_Content', {
                        //这里可以选择自己需要的工具按钮名称
                        toolbars: [['fullscreen', 'Source', '|', 'undo', 'redo', '|','bold', 'italic', 'underline', 'strikethrough', 'superscript', 'subscript', 'removeformat', 'formatmatch', 'autotypeset', 'blockquote', 'pasteplain', '|', 'forecolor', 'backcolor', 'insertorderedlist', 'insertunorderedlist', 'selectall', 'cleardoc', '|','rowspacingtop', 'rowspacingbottom', 'lineheight', '|','customstyle', 'paragraph', 'fontfamily', 'fontsize', '|','directionalityltr', 'directionalityrtl', 'indent', '|','justifyleft', 'justifycenter', 'justifyright', 'justifyjustify', '|', 'touppercase', 'tolowercase', '|','link', 'unlink', 'anchor', '|', 'imagenone', 'imageleft', 'imageright', 'imagecenter', '|','simpleupload','insertimage', 'emotion', 'scrawl', 'insertvideo', 'music', 'attachment', 'map', 'gmap', 'insertframe', 'highlightcode', 'webapp', 'pagebreak', 'template', 'background', '|','horizontal', 'date', 'time', 'spechars', 'snapscreen', 'wordimage', '|','inserttable', 'deletetable', 'insertparagraphbeforetable', 'insertrow', 'deleterow', 'insertcol', 'deletecol', 'mergecells', 'mergeright', 'mergedown', 'splittocells', 'splittorows', 'splittocols', '|','print', 'preview', 'searchreplace', 'help']],
                        initialFrameWidth:'99%',
                        initialFrameHeight:400,
                        serverUrl:'/editor/ueditor/net/controller.ashx?FilePicPath=<%=FilePicPath.Text%>'
                    })
                </script>
 
</td>
</tr>
<tr>
<td class="bqleft">首页图片：</td>
<td class="bqright"><table border="0" cellpadding="0" cellspacing="0"><tr><td><asp:Image ID="DianCMS_ImageText_showpic" ImageUrl="/images/showpic.png" runat="server" Width="100" Height="100" style="cursor:pointer" ToolTip="点我查看大图" onclick="WinOpenLhgDialog('查看图片',this.src,600,400,'')"/></td></tr><tr><td><asp:TextBox ID="DianCMS_ImageText" runat="server" CssClass="in1" style="width:300px;float:left"></asp:TextBox><asp:TextBox ID="DianCMS_ImageText_small" runat="server" CssClass="in1" style="display:none;float:left"></asp:TextBox><input id="DianCMS_ImageText_Btu" type="button" value="上传图片" class="btn" style="float:left" onclick="WinOpenLhgDialog('上传图片','../common/uploadpic.aspx?ControlId=DianCMS_ImageText&FieldId=53',620,280,'')" /><input id="DianCMS_ImageText_Btu_2" type="button" value="从服务器上选择" style="float:left" class="btn" onclick="SelectFile('../common/SelectUploadFile2.aspx?filetype=image&ControlId=DianCMS_ImageText','')" /> </td></tr></table></td>
</tr>
<tr>
<td class="bqleft">评分等级：</td>
<td class="bqright"><asp:DropDownList ID="DianCMS_Star" runat="server"><asp:ListItem Value="0">请选择</asp:ListItem></asp:DropDownList> </td>
</tr><tr>
<td class="bqleft">所属栏目：</td>
<td class="bqright">{D_F_Class}</td>
</tr>

        <tr>
            <td class="bqleft">
            </td>
            <td class="bqright" height="50">
                <asp:button id="Button1" runat="server" text=" 确认 " cssclass="btn" onclick="Button1_Click" OnClientClick="return ReturnIsOk()"/>
            </td>
        </tr>
    </table>
    </form>
</body>
</html>
