<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Aboutus.aspx.cs" Inherits="Content" %> <%@ Register Src="~/UserControls/Head.ascx" TagName="HeadControl" TagPrefix="ucHeadControl" %> <%@ Register Src="~/UserControls/BannerControl.ascx" TagName="BannerControl" TagPrefix="ucBannerControl" %> <%@ Register Src="~/UserControls/Link.ascx" TagName="LinkControl" TagPrefix="ucLinkControl" %> <%@ Register Src="~/UserControls/Foot.ascx" TagName="FootControl" TagPrefix="ucFootControl" %> <%@ Register Src="~/UserControls/Category.ascx" TagName="CategoryControl" TagPrefix="ucCategoryControl" %> <%@ Register Src="~/UserControls/Left.ascx" TagName="LeftControl" TagPrefix="ucLeftControl" %> <%@ Register Src="~/UserControls/Contact.ascx" TagName="ContactControl" TagPrefix="ucContactControl" %> <%--fastcontrol 0.1--%> <%@ Register Src="~/UserControls/Top.ascx" TagName="Top" TagPrefix="ucTop" %> <%@ Register Src="~/UserControls/Start.ascx" TagName="Start" TagPrefix="ucStart" %> <%@ Register Src="~/UserControls/End.ascx" TagName="End" TagPrefix="ucEnd" %>
<%=mc.ShowColumnSubName(intClassID) %>
" />
<%showNews(intClassID, 20); %> <%for (int j = 0; j < intNews; j++) { string path = dtblNews.Rows[j]["path"].ToString(); string title = dtblNews.Rows[j]["title"].ToString(); string id = dtblNews.Rows[j]["id"].ToString(); string putdate = dtblNews.Rows[j]["putdate"].ToString(); string url = dtblNews.Rows[j]["url"].ToString(); string keycontent = dtblNews.Rows[j]["keycontent"].ToString(); string content = dtblNews.Rows[j]["content"].ToString(); string keywords = dtblNews.Rows[j]["keywords"].ToString(); int classid = int.Parse(dtblNews.Rows[j]["classid"].ToString()); string columntype = mc.ShowColumnKeyById(classid, "ColumnType"); if (url == "") { if (columntype == "新闻列表") { url = "NewsDetail.aspx?ID=" + id; } else if (columntype == "图片列表") { url = "PicDetail.aspx?ID=" + id; } else { url = "DownloadDetail.aspx?ID=" + id; } } %>
<%=title%>
<%=keywords %>
<%=content %>
<%} %>