<%@ Page Language="C#" AutoEventWireup="true" CodeFile="EditHtmlList.aspx.cs" Inherits="Admin_AddHtmlList" %>
<%@ Import Namespace="Spaces" %>
<!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>
    <meta http-equiv="Content-Type" content="text/html; charset=gb2312">
    <title>控制面板 - 文章管理</title>
    <link href="Admin.css" rel="stylesheet" type="text/css">
     

    <script src="<%=Globals.ApplicationPath %>/Include/js/dialog.js" type="text/javascript"></script>

    <script src="<%=Globals.ApplicationPath %>/Include/js/base.js" type="text/javascript"></script>

</head>
<body>
    <form id="formbill" runat="server" method="post" enctype="multipart/form-data">
        <table width="640" border="0" align="center" cellpadding="0" cellspacing="0" class="black333333_red_noline">
            <tr>
                <td>&nbsp;
                    
                </td>
            </tr>
            <tr>
                <td>
                    <table width="100%" border="0" cellspacing="0" cellpadding="0">
                        <tr>
                            <td width="3" height="3">
                                <img src="img/O_angle_up_left.gif" width="3" height="3"></td>
                            <td bgcolor="#ACD373" width="100%">
                            </td>
                            <td width="3">
                                <img src="img/O_angle_up_right.gif" width="3" height="3"></td>
                        </tr>
                    </table>
                </td>
            </tr>
            <tr>
                <td bgcolor="#acd373" height="30">
                    &nbsp;&nbsp;&nbsp;&nbsp;<font color="#ffffff"><b><%=Globals.Text["LayoutSettings_OrderMenu"]%> </b></font>                </td>
            </tr>
            <tr>
                <td class="form_border">
                    <table width="100%" border="0" cellspacing="0" cellpadding="0">
                        <tr>
                            <td width="20">&nbsp;
                                </td>
                            <td>&nbsp;
                                </td>
                            <td width="20">&nbsp;
                                </td>
                        </tr>
                        <tr>
                            <td>&nbsp;
                                </td>
                            <td>
                                <table width="100%" border="0" cellspacing="0" cellpadding="0" class="black333333_red_noline">
                                    <tr>
                                        <td align="right">
                                            <font color="#FF6600"><a href="editPost.aspx"><%=Globals.Text["EditHtmlList_PublishArtical"]%></a></font>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>
                                            <fieldset>
                                                <legend>&nbsp;<%=Globals.Text["EditHtmlList_UseRss"]%>&nbsp;</legend>
                                                <div align="right">
                                                    <%=Globals.Text["EditHtmlList_RssInterface"]%><br>
                                                    <%=Globals.Text["EditHtmlList_AddRssTitle"]%><br>
                                                    <br>
                                                </div>
                                            </fieldset>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td height="5">
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>
                                        </td>
                                        <tr>
                                            <td>
                                                 <table cellspacing="0" width="100%" class="fixedTable partheader" style="">
                                                            <tr>
                                                                <td id="Td1" class="bold ellipse partDetail" nowrap>
                                                                    <div class='ellipse'>
                                                                        
                                                                        <table>
                                                                        <tr>
                                                                        <td><a href="LayoutSettings.aspx"><%=Globals.Text["EditHtmlList_PersonalPlant"]%></a></td>
                                                                        <td><a href="UserList.aspx"><%=Globals.Text["EditHtmlList_PersonalTemp"]%></a></td>
                                                                     
                                                                        </tr>
                                                                        </table>
                                                                        </div>
                                                                </td>
                                                                <td class="partBuffer" align="right" nowrap>
                                                                </td>
                                                            </tr>
                                                        </table>
                                            </td>
                                        </tr>
                                </table>
                            </td>
                            <td>&nbsp;
                                </td>
                        </tr>
                        <tr>
                            <td>&nbsp;
                                </td>
                            <td>
                                <table width="100%" border="0" cellpadding="3" cellspacing="0" bgcolor="#FFFFFF"
                                    class="black333333_red_noline">
                                    <tbody>
									 <tr>
                <td colspan="3" align="center" bgcolor="#669900">&nbsp;</td>
            </tr>
                                        <tr bgcolor="#EEF5E2">
                                            <td align="right">
                                                <%=Globals.Text["EditHtmlList_PersonalTitle"]%>
                                            </td>
                                            <td align="left">
                                                <asp:TextBox ID="txtTitle" runat="server" Width="250px" MaxLength="120"></asp:TextBox></td>
                                            <td>
                                                &nbsp; &nbsp;&nbsp;
                                            </td>
                                        </tr>
                                        <tr bgcolor="#EEF5E2" id="trPic">
                                            <td align="right">
                                               <%=Globals.Text["EditHtmlList_HTMLcode"]%></td>
                                            <td align="left">
                                                <asp:TextBox ID="txtHtmlCode" runat="server" Width="250px" MaxLength="4000" TextMode="MultiLine" Rows=20></asp:TextBox></td>
                                            <td>
                                            </td>
                                        </tr>
                                        <tr bgcolor="#EEF5E2">
                                            <td align="right">&nbsp;
                                          </td>
                                            <td>
                                                <asp:Button ID="buttonUpdate" runat="server" Text="增 加" OnClick="buttonUpdate_Click"
                                                    CssClass="smb_btn" Style="background: url('./img/smb_btn_bg.gif')" Height="30px" Width="70px"  OnClientClick="return chkForm()"/>
												<script>
												 function chkForm()
												 {
												  var title=$('txtTitle');
												  if(title.value.trim()=='')
												  {
												   alert('请输入HTML块标题！');
												   return false;
												  }
												  // var html=$('txtHtmlCode');
												 }
												</script>	
													
													</td>
                                            <td>
                                            </td>
                                        </tr>
                                    </tbody>
                              </table>
                            </td>
                            <td>&nbsp;
                                </td>
                        </tr>
                    </table>
                </td>
            </tr>
            <tr>
                <td height="30" bgcolor="#E3F0D0" align="center">
                </td>
            </tr>
            <tr>
                <td>
                    <table width="100%" border="0" cellspacing="0" cellpadding="0">
                        <tr>
                            <td width="3">
                                <img src="images/O_angle_down_left.gif" width="3" height="3"></td>
                            <td height="3" background="images/O_angle_bottom.gif" width="100%">
                            </td>
                            <td width="3">
                                <img src="images/O_angle_down_right.gif" width="3" height="3"></td>
                        </tr>
                    </table>
                </td>
            </tr>
        </table>
    </form>
</body>
</html>
<asp:literal runat="server" ID="Message"></asp:literal>
