<%@ Page Language="C#" AutoEventWireup="true" CodeFile="newadd.aspx.cs" Inherits="WTOSYSadmin_news_newadd"
    ValidateRequest="false" %>

<%@ Register TagPrefix="dntb" Namespace="DotNetTextBox" Assembly="DotNetTextBox" %>
<!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">
    <link href="../css/neiye.css" rel="stylesheet" type="text/css" />
    <link href="../css/style.css" rel="stylesheet" type="text/css" />
    <link href="system_dntb/skin/xp/toolbar.css" rel="stylesheet" type="text/css" />

    <script src="../scripts/common.js" type="text/javascript"></script>

    <script src="../scripts/engine.js" type="text/javascript"></script>

</head>
<body>
    <div class="tright">
        <li><a href="#">
            <asp:Label ID="title" runat="server" Text="Label"></asp:Label></a></li>
    </div>
    <form id="theForm" runat="server">
        <div>
            <table border="0" cellpadding="0" cellspacing="0" style="width: 100%; height: 38%">
                <tr>
                    <td rowspan="3" valign="top">
                        <br />
                        <table width="100%" border="0" cellspacing="0" cellpadding="0" style="height: 442px">
                            <tr>
                                <td style="width: 161px; height: 17px">
                                    <div align="right">
                                        文章类别名称：</div>
                                </td>
                                <td style="height: 17px">
                                    <div align="left">
                                        <table border="0" cellpadding="0" cellspacing="0" style="width: 100%; height: 100%">
                                            <tr>
                                                <td align="left" style="width: 37px; height: 22px">
                                                    <asp:DropDownList ID="lbname" runat="server">
                                                    </asp:DropDownList></td>
                                                <td align="right" style="width: 223px; height: 22px">
                                                    发布：<asp:RadioButton ID="y" runat="server" GroupName="isfp" Text="是" Checked="True" />
                                                    <asp:RadioButton ID="n" runat="server" GroupName="isfp" Text="否" />
                                                </td>
                                                <td align="center" style="height: 22px">
                                                    <asp:LinkButton ID="addedit" runat="server" CssClass="btn">提交</asp:LinkButton>
                                                    <asp:LinkButton ID="LinkButton2" runat="server" CssClass="btn" PostBackUrl="~/SYSadmin/news/newsmag.aspx">返回</asp:LinkButton>
                                                </td>
                                            </tr>
                                        </table>
                                    </div>
                                </td>
                            </tr>
                            <tr>
                                <td style="height: 2px; width: 161px;">
                                    <div align="right">
                                        文章标题：</div>
                                </td>
                                <td style="height: 2px">
                                    <div align="left">
                                        <table border="0" cellpadding="0" cellspacing="0" style="width: 100%; height: 100%">
                                            <tr>
                                                <td align="left" style="width: 70px; height: 22px">

                                                    <script src="../js/dropdownlist.js"></script>

                                                </td>
                                                <td align="left" colspan="2" style="height: 22px">
                                                    &nbsp;<asp:TextBox ID="newstitle" runat="server" Width="225px"></asp:TextBox>&nbsp;
                                                    <input id="pic" runat="server" type="hidden" />
                                                    <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="newstitle"
                                                        Display="Dynamic" ErrorMessage="* 不能为空"></asp:RequiredFieldValidator></td>
                                            </tr>
                                        </table>
                                    </div>
                                </td>
                            </tr>
                            <tr>
                                <td align="right" style="width: 161px">
                                    转移链接：</td>
                                <td>
                                    <asp:TextBox ID="churl" runat="server" Width="392px"></asp:TextBox>&nbsp;
                                    <asp:CheckBox ID="ischange" runat="server" Text="转移" />
                                    (用于转向链接)</td>
                            </tr>
                            <tr>
                                <td align="right" style="width: 161px">
                                    文章来源：</td>
                                <td>
                                    <asp:TextBox ID="newsource" runat="server" Width="180px"></asp:TextBox>
                                    文章作者：<asp:TextBox ID="Author" runat="server" Width="180px"></asp:TextBox>
                                </td>
                            </tr>
                            
                            <%--Add by Firgray.XL (Friday,February 05,2009)--%>
                            <tr>
                                <td align="right">
                                    展示图片：
                                </td>
                                <td align="left">
                                    <asp:TextBox ID="news_showpics" runat="server" Width="180px"></asp:TextBox>
                                    <input type="button" name="uploadshowpics" value="上传展示图片" onclick="Uploadfile('news_showpics', 'news_showpics');" />
                                    <a style="color:#999">(如果留空则默认为文字样式)</a></td>
                            </tr>
                            <tr>
                                <td align="right">
                                    新闻图片集：
                                </td>
                                <td align="left">
                                    <input type="hidden" id="news_pics" runat="server" value="" />
                                    <input type="button" name="uploadpics" value="上传图片集" onclick="Uploadfile('news_pics', 'news_pics');" /> <a style="color:#999">(请勿刷新页面，否则图片集将丢失)</a><br />
                                    <iframe id="picslist" src="about:blank" style="width:500px;height:85px;display:none" scrolling="no" frameborder="0"></iframe>
                                </td>
                                <td align="left">
                                </td>
                            </tr>
                            <%--Add by Firgray.XL (Friday,February 05,2009)--%>
                            
                            <tr>
                                <td align="right" style="height: 169px; width: 161px;">
                                    内容：</td>
                                <td style="height: 169px" valign="top">
                                    <dntb:WebEditor ID="Content" Skin="skin/xp/" runat="server" Width="600px"></dntb:WebEditor>
                                </td>
                            </tr>
                        </table>
                    </td>
                </tr>
            </table>
        </div>
    </form>
</body>
</html>
