  <%@ Control Language="C#" %>
<%@ Import Namespace="Spaces" %>

    <FORM  name=""  action=""  method=post>
<xiaoxiao:view id="RSSAuthorNormalView" class="viewActive">
<script src="<%=Globals.ApplicationPath %>/include/rss.js"></script>

                       <div id="ssdfsdfsf">
    <table style="width: 100%" class="pheader" height="22" cellspacing="0" border="0">
        <tbody>
            <tr>
                <td class="mod_tlc" nowrap width="6">
                    &nbsp;</td>
                <td class="modhead" width="100%">
                    <table style="width: 100%" class="fixedTable partheader" cellspacing="0" width="100%">
                        <tbody>
                            <tr>
                                <td id="" class="bold ellipse partDetail" nowrap>
                                    <div class="ellipse">
                                       <asp:Literal ID="modTitle" runat="server"></asp:Literal> </div>
                                </td>
                                <td class="partBuffer" nowrap align="right">
                               
                                </td>
                            </tr>
                        </tbody>
                    </table>
                </td>
                <td class="mod_trc" nowrap width="6">
                    &nbsp;</td>
            </tr>
        </tbody>
    </table>
    <div id="sdfsf">
        <table class="subnav" height="22" cellspacing="0" width="100%" border="0">
            <tbody>
                <tr>
                    <td id="subNavHeader" class="sep" align="right">
                       
                        <nobr>
                            <span id="subheaditem2" name="subheaditem2"><a href="javascript:;" onclick="page_GetRss_<%=modRssID.Text %>();return false;"
                                href="">
                                刷新</a></span></nobr></td>
                </tr>
            </tbody>
        </table>
    </div>
</div>
<table id="AuthorNormalRss" class="partsmb" cellspacing="4">
    <tbody>
        <tr>
            <td width="100%">
                <table class="rssViewContentTbl" width="100%" border="0">
                    <tbody>
                        <tr>
                            <td class="contentRssContainer" colspan="3">
                            <div style="display:none">
                             <asp:Literal ID="modRssID" runat="server"></asp:Literal>
                             <asp:Literal ID="RssUrlAddress" runat="server"></asp:Literal></div>
                                <script  language=javascript>
                                var rssRead<%=modRssID.Text %>Count=0;
                                function page_GetRss_<%=modRssID.Text %>()
                                {
                                
                                $('div_showRss<%=modRssID.Text %>').innerHTML='';
                                 contentRss<%=modRssID.Text %>.style.display='block';
                                Request.sendGET('<%=RssUrlAddress.Text %>',displayRSSFeed<%=modRssID.Text %>);
                                
                               // $('div_showRss<%=modRssID.Text %>').appendChild(createRssViewTable(feedData<%=modRssID.Text %>));
                                contentRss<%=modRssID.Text %>.style.display='none';
                                rssRead<%=modRssID.Text %>Count++;
                               
                                }
                              
AddObjEvent(window, 'load',function(){setTimeout(page_GetRss_<%=modRssID.Text %>,100)});

//var feedData<%=modRssID.Text %>=null;
function displayRSSFeed<%=modRssID.Text %>(response)
 {
        if (!response||response== null || response.documentElement==null || response.documentElement.nodeName=="parsererror") 
        {  
          $('div_showRss<%=modRssID.Text %>').appendChild(createRssErrTable());
        }else{
        $('div_showRss<%=modRssID.Text %>').appendChild(createRssViewTable(new Feed(response)));
        }
  }
                                </script>
                                <div id="div_showRss<%=modRssID.Text %>"></div>
                              <span id="contentRss<%=modRssID.Text %>" class="contentRss">
 <img src='<%=Globals.GetSkinPath() %>/images/animated_loading.gif' alt='loading...' class='SN_LOADING_IMG' />
 正在加载...
 </span>
                            </td>
                        </tr>
                    </tbody>
                </table>
            </td>
        </tr>
    </tbody>
</table>
                       
                       </xiaoxiao:view>
                       <xiaoxiao:view class="" OrientationPref="NarrowPart" >
    <div id="xvxcv">
    <table style="width: 100%" class="pheader" height="22" cellspacing="0" border="0">
        <tbody>
            <tr>
                <td class="mod_tlc" nowrap width="6">
                    &nbsp;</td>
                <td class="modhead" width="100%" >
                    <table style="width: 100%" class="fixedTable partheader" cellspacing="0" width="100%">
                        <tbody>
                            <tr>
                                <td id="TD1" class="bold ellipse partDetail" nowrap>
                                    <div class="ellipse">
                                        RSS 源</div>
                                </td>
                                <td class="partBuffer" nowrap align="right">
                                </td>
                            </tr>
                        </tbody>
                    </table>
                </td>
                <td class="mod_trc" nowrap width="6">
                    &nbsp;</td>
            </tr>
        </tbody>
    </table>
</div>
<table id="RSSPartPlaceHolderNormal" class="partsmb fixedTable" cellspacing="8">
    <tbody>
        <tr>
            <td>
                <div>
                    若要保存模块布局并查看 RSS 源，请单击<b>保存</b></div>
            </td>
        </tr>
    </tbody>
</table>
                       </xiaoxiao:view>
                       
                       <INPUT 
                        id="RemoveItrsspart:87eb62cd" type=hidden 
                        name="RemoveItrsspart:87eb62cd" /> 
                        </FORM>
                        <SCRIPT language="javascript" >
 function removeIt(id)
 {
 document.getElementById("RemoveIt"+id).value=id;
 var o=document.getElementsByName("rssSettingForm"+id);
 if(o && o.length == 1)
 o[0].submit();
 };
 </SCRIPT>
                     
