您目前尚未登陆,请选择【登陆】或【注册
首页->新闻文章->三层新闻发布管理系统源码>>news2005/Web/Default.aspx>>源码在线查看
温馨提示:代码在线浏览功能只能做为源码浏览参考,如果想更进一步了解该代码请下载:三层新闻发布管理系统源码
当前文件:文件类型 TreeLayerNews/news2005/Web/Default.aspx打开代码结构图
普通视图
		            
1<%@ Page Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="Web_Default" Title="Untitled Page" %> 2<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server"> 3 <table width="200" border="0" cellspacing="0" cellpadding="0"> 4 <tr align="left" valign="top"> 5 <td><table width="500" border="0" cellspacing="0" cellpadding="0"> 6 <tr><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td></tr> 7 <tr> 8 <td style="width: 41px" align="right"><IMG height="30" src="../Web/images/sub.gif" width="31"></td> 9 <td style="width: 1286px"><strong>最新新闻</strong></td> 10 <td align="center" style="width: 166px"><a href="AllNews.aspx">更多...</a></td> 11 </tr> 12 <tr> 13 <td align="right" style="width: 41px"><hr width="100%"> 14 </td> 15 <td style="width: 1286px"><hr width="100%"> 16 </td> 17 <td align="center" style="width: 166px"><hr width="100%"> 18 </td> 19 </tr> 20 </table></td> 21 </tr> 22 23</table> 24<table width="585" border="0" cellspacing="0" cellpadding="0"> 25 <tr> 26 <td style="width: 173px" id="TD1"> 27 &nbsp; 28 <script language="javascript"> 29<!-- 30 31 var focus_width=200 32 var focus_height=183 33 var text_height=0 34 var swf_height = focus_height+text_height 35 36var pics='../Web/Uppic/32611.jpg|../Web/Uppic/47533.jpg|../Web/Uppic/47726.jpg|../Web/Uppic/15650.jpg' 37 38var links=' http://cq.digi.qq.com/a/20070626/000201.htm|http://cq.digi.qq.com/a/20070626/000155.htm|http://cq.digi.qq.com/a/20070628/000430.htm|http://cq.digi.qq.com/zt/2007/chengtai/index.htm' 39 40var texts='新闻系统图片新闻栏目' 41 42 document.write('<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" width="'+ focus_width +'" height="'+ swf_height +'">'); 43 document.write('<param name="allowScriptAccess" value="sameDomain"><param name="movie" value="../Web/images/playswf.swf"><param name=wmode value=transparent><param name="quality" value="high">'); 44 document.write('<param name="menu" value="false"><param name=wmode value="opaque">'); 45 document.write('<param name="FlashVars" value="pics='+pics+'&links='+links+'&texts='+texts+'&borderwidth='+focus_width+'&borderheight='+focus_height+'&textheight='+text_height+'">'); 46 document.write('<embed src="../Web/images/playswf.swf" wmode="opaque" FlashVars="pics='+pics+'&links='+links+'&texts='+texts+'&borderwidth='+focus_width+'&borderheight='+focus_height+'&textheight='+text_height+'" menu="false" bgcolor="#DADADA" quality="high" width="'+ focus_width +'" height="'+ swf_height +'" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />'); 47 document.write('</object>'); 48 49 //--> 50 </script> 51 </td> 52 <td width="75%"> 53 <asp:Repeater ID="RepeaterNew" runat="server"> 54 <ItemTemplate> 55 <table width="100%" border="0" cellpadding="0" cellspacing="0"> 56 <tr> 57 <td height="24" style="BORDER-bottom: #999999 1px dotted"> 58 &nbsp;&nbsp;<span style="font-size:9pt;line-height:15pt"> 59 <a href='ListView.aspx?cid=<%#DataBinder.Eval(Container.DataItem,"id")%>' title="" target="_blank"><%#cutString(DataBinder.Eval(Container.DataItem,"title").ToString(),30)%></a></span> 60 <font color="#999999" >[<%#Convert.ToDateTime(DataBinder.Eval(Container.DataItem,"infotime")).ToShortDateString()%>]</font> <font color="#999999" >(阅读<font color="#FF0000"><%#DataBinder.Eval(Container.DataItem,"hits")%></font>次)</font> 61 </td> 62 </tr> 63 </table> 64 </ItemTemplate> 65 </asp:Repeater> 66 </td> 67 </tr> 68</table> 69<table cellSpacing="0" cellPadding="0" border="0" style="width: 590px"> 70 <tr> 71 <td>&nbsp; 72 &nbsp;<asp:Repeater ID="Repeater1" runat="server" OnItemDataBound="Repeater1_ItemDataBound"> 73 <ItemTemplate> 74 <tr> 75 <td> 76 <table width="100%" border="0" cellpadding="0" cellspacing="0"> 77 <tr> 78 <td width="6%" height="30" rowspan="2"><img src="../Web/images/sub.gif" width="31" height="30"></td> 79 <td width="76%" height="28"> 80 <strong><%#DataBinder.Eval(Container.DataItem,"name")%></strong></td> 81 <td width="18%" align="center"><a href='otype.aspx?sort=<%#DataBinder.Eval(Container.DataItem,"id")%>'>更多...</a></td> 82 </tr> 83 <tr> 84 <td height="2" colspan="2" bgcolor="#6699cc"> 85 </td> 86 </tr> 87 <tr> 88 <td> 89 </td> 90 <td colspan="2"> 91 <asp:repeater id="Repeater2" runat="server"> 92 <ItemTemplate> 93 <table width="100%" border="0" cellpadding="0" cellspacing="0"> 94 <tr><td height="24" style="BORDER-bottom: #999999 1px dotted"> 95&nbsp;<span style="font-size:9pt;line-height:15pt"> 96 <a href='ListView.aspx?cid=<%#DataBinder.Eval(Container.DataItem,"id")%>' title="" target="_blank"><%#cutString(DataBinder.Eval(Container.DataItem,"title").ToString(),30)%></a></span> 97 <font color="#999999" >[<%#Convert.ToDateTime(DataBinder.Eval(Container.DataItem,"infotime")).ToShortDateString()%>]</font> <font color="#999999" >(阅读<font color="#FF0000"><%#DataBinder.Eval(Container.DataItem,"hits")%></font>次)</font> 98 </td></tr> 99 </table> 100 </ItemTemplate> 101 </asp:repeater> 102 </td> 103 </tr> 104 </table> 105 </td> 106 </tr> 107 </ItemTemplate> 108 </asp:Repeater> 109 </td> 110 </tr> 111</table> 112</asp:Content> 113 114
还没有找到您心仪的内容?请用.net源码大搜捕
代码片断 打包下载该项目完整源码:三层新闻发布管理系统源码
51Aspx.com 版权所有 CopyRight © 2000-2008. 京ICP备06046876号