<%@ Page Language="C#" AutoEventWireup="true" CodeFile="EditRssList.aspx.cs" Inherits="Admin_AddRssList" %>

<%@ Register Assembly="Controls" Namespace="Spaces.Controls" TagPrefix="Spaces" %>
<%@ 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=utf-8">
    <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"  >
            <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["AddRssRef"]%> </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"  >
                                    <tr>
                                        <td align="right">
                                            <font color="#FF6600"><a href="editPost.aspx"><%=Globals.Text["EditRssList_PublishArtical"]%></a></font>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>
                                            <fieldset>
                                                <legend>&nbsp;<%=Globals.Text["EditRssList_AddRss"]%>&nbsp;</legend>
                                                <div align="right">
                                                    <%=Globals.Text["EditRssList_RssInterface"]%><br>
                                                    <%=Globals.Text["EditRssList_RssTitle"]%><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["EditRssList_OrderPlant"]%></a></td>
                                                                        <td><a href="UserList.aspx"><%=Globals.Text["EditRssList_OrderTemp"]%></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"
                                     >
                                    <tbody>
                                    					 <tr>
                <td colspan="3" align="center" bgcolor="#669900">&nbsp;</td>
            </tr>
                                        <tr bgcolor="#EEF5E2">
                                            <td align="right">
                                                <%=Globals.Text["EditRssList_OrderTitle"]%>
                                            </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["EditRssList_RssAddress"]%></td>
                                            <td align="left">
                                                <asp:TextBox ID="txtRssUrlAddress" runat="server" Width="250px" MaxLength="1024"></asp:TextBox></td>
                                            <td>
                                            </td>
                                        </tr>
                                        <tr bgcolor="#EEF5E2">
                                            <td align="right">
                                                <%=Globals.Text["EditRssList_Count"]%></td>
                                            <td align="left">
                                                <asp:DropDownList ID="dropShowCount" runat="server" Width="250px">
                                                </asp:DropDownList></td>

                                            <script language="javascript">
                     function chkForm()
                     {
                     　var title=$('<%=txtTitle.ClientID %>');
                     　var rss =$('<%= txtRssUrlAddress.ClientID%>');
                     　if(title.value.trim()=='')
                     　{
                     　title.value='<%=Globals.Text["AutoRssSource"] %>';
                    
                     　}
                     　if(rss.value.trim()==''||rss.value=='http://')
                     　{
                     　_error_msg_show('<%=Globals.Text["LostRssAddress"] %>');
                     　return false;
                     　}
                     　return true;
                     }
                                            </script>

                                            <td>
                                                </td>
                                        </tr>
                                        <tr bgcolor="#EEF5E2">
                                            <td align="right">&nbsp;
                                                </td>
                                            <td>
                                                <Spaces:XButton   ID="buttonUpdate" runat="server" ResourceName="btn_Add" OnClick="buttonUpdate_Click"
                                                      Style="background: url(./img/smb_btn_bg.gif)"   OnClientClick="return chkForm()"/>
                                                </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>
                  
                </td>
            </tr>
        </table>
    </form>
</body>
</html>
<asp:literal runat="server" ID="Message"></asp:literal>
