杂志目录(页面部分)
发表于:2007-06-30来源:作者:点击数:
标签:
%@ Page language=c# Codebehind=showIssueCat.aspx.cs AutoEventWireup=false Inherits=cj168.Web.showIssueCat % %@ Register TagPrefix=cj168 TagName=Header Src=modules/Header.ascx % %@ Register TagPrefix=cj168 TagName=Footer Src=modules/Footer.a
<%@ Page language="c#" Codebehind="showIssueCat.aspx.cs" AutoEventWireup="false" Inherits="cj168.Web.showIssueCat" %>
<%@ Register TagPrefix="cj168" TagName="Header" Src="modules/Header.ascx" %>
<%@ Register TagPrefix="cj168" TagName="Footer" Src="modules/Footer.ascx" %>
<!DOCTYPE HTML PUBLIC "-//W3C//D
TD HTML 4.0 Transitional//EN" >
<HTML>
<HEAD>
<title>阅读期刊</title>
<meta name="GENERATOR" Content="Microsoft Visual Studio 7.0">
<meta name="CODE_LANGUAGE" Content="C#">
<meta name="vs_defaultClientScript" content="
JavaScript (ECMAScript)">
<meta name="vs_targetSchema" content="http://schemas.microsoft.com/intellisense/ie5">
<style>
.Cat1 {
FONT-WEIGHT: 700; FONT-SIZE: 10.5pt; COLOR: #8b0000
}
.Cat2 {
FONT-WEIGHT: 700; FONT-SIZE: 9pt; COLOR: #ff0000
}
.Cat3 {
FONT-WEIGHT: 700; FONT-SIZE: 9pt; COLOR: #000000
}
.Cat4 {
FONT-WEIGHT: 700; FONT-SIZE: 9pt; COLOR: #808080
}
.Quotation {font-size:14px;line-height:14pt; width:60%; z-index:1;top:0px;background-color: #ffffff; border:1px solid #000000;border-style: dotted;padding:5px 5px 5px 5px;margin:5px 5px 5px 20px}
.MainHeader1 {padding:5px 0px 0px 0px ;position:absolute;text-align:center;width:100%;height:25px;left:0px;line-height:30px;font-size:24px;font-weight:bolder;filter:Shadow(Color=#c0c0c0,Direction=135);}
.MainHeader {padding:5px 0px 10px 0px ;text-align:center;width:100%;height:25px;left:0px;line-height:30px;font-size:24px;font-weight:bolder;filter:Shadow(Color=#c0c0c0,Direction=135);}
.SubHeader {font-size:16px;text-align:center;padding:5px 0px 5px 0px}
.Company {font-size:16px;text-align:center;padding:0px 0px 5px 0px}
.PageNo {text-align:right;font-size:9pt;padding:0px 50px 0px 0px}
.ViewPoint {font-size:14px;line-height:14pt;text-align:left;width:90%;z-index:1;top:0px;background-color: #e5e5e5; border:1px solid #000000;border-style: solid;padding:5px 5px 5px 5px;margin:0px 30px 0px 30px}
.Content {font-size:16px}
</style>
</HEAD>
<body MS_POSITIONING="GridLayout" topmargin="5">
<form id="showIssueCat" method="post" runat="server">
<table width="100%">
<tr>
<
td>
<cj168:Header ID="Header1" runat="server" />
</td>
</tr>
</table>
<table width="100%">
<tr>
<td>
<asp:Label id="lbMagInfo" runat="server"></asp:Label>
</td>
</tr>
</table>
<table>
<tr>
<td valign="top">
<table cellSpacing="2" cellPadding="0" width="100%" border="0">
<TBODY>
<tr>
<td>
<asp:DataList enableViewState="false" id="datalistMagCat" runat="server" RepeatColumns="1" Width="250" BorderColor="black" BorderWidth="1" GridLines="Both" CellPadding="3" Font-Name="Verdana" Font-Size="8pt" HeaderStyle-BackColor="#aaaadd" AlternatingItemStyle-BackColor="#ffffff" SelectedItemStyle-BackColor="yellow">
<HeaderTemplate>
<div align="center">
<asp:adRotator AdvertisementFile="advs/advs.xml" runat="server" BorderColor="#000000" BorderWidth="0" ID="Adrotator1" Target="_blank"></asp:adRotator>
</div>
</HeaderTemplate>
<ItemTemplate>
<span id="lbCatTitleLevel1" class="cat1">
<%# DataBinder.Eval(Container.DataItem, "CatTitle")%>
</span>
<!--Start:Mag Sub Cat Level 1-->
<asp:DataList enableViewState="false" id="datalistTest" datasource=@#<%# ShowSubCat((int)DataBinder.Eval(Container.DataItem,"MagID"),(int)DataBinder.Eval(Container.DataItem,"MagYear"), (int)DataBinder.Eval(Container.DataItem,"YearIssue"), (int)DataBinder.Eval(Container.DataItem,"CatID"))%>@# runat="server" RepeatColumns="1" Width="100%" BorderColor="black" BorderWidth="0" GridLines="Both" CellPadding="3" Font-Name="Verdana" Font-Size="8pt" HeaderStyle-BackColor="#aaaadd" AlternatingItemStyle-BackColor="#ffffff" SelectedItemStyle-BackColor="yellow">
<AlternatingItemStyle BackColor="#ffffff"></AlternatingItemStyle>
<ItemTemplate>
<span id="lbCatTitleLevel2" class="cat2">
<%# DataBinder.Eval(Container.DataItem, "CatTitle")%>
</span>
<!--Start:Mag Sub Cat Level 2-->
<asp:DataList enableViewState="false" id="Datalist1" datasource=@#<%# ShowSubCat((int)DataBinder.Eval(Container.DataItem,"MagID"),(int)DataBinder.Eval(Container.DataItem,"MagYear"), (int)DataBinder.Eval(Container.DataItem,"YearIssue"), (int)DataBinder.Eval(Container.DataItem,"CatID"))%>@# runat="server" RepeatColumns="1" Width="100%" BorderColor="black" BorderWidth="0" GridLines="Both" CellPadding="3" Font-Name="Verdana" Font-Size="8pt" HeaderStyle-BackColor="#aaaadd" AlternatingItemStyle-BackColor="#ffffff" SelectedItemStyle-BackColor="yellow">
<AlternatingItemStyle BackColor="#ffffff"></AlternatingItemStyle>
<ItemTemplate>
<span id="lbCatTitleLevel3" class="cat3">
<%# DataBinder.Eval(Container.DataItem, "CatTitle")%>
</span>
<!--Start:Mag Art Title Level 3-->
<asp:DataList enableViewState="true" id="datalistShowMagArtTitleLevel3" datasource=@#<%# ShowMagArtTitle((int)DataBinder.Eval(Container.DataItem, "ciID"))%>@# runat="server" RepeatColumns="1" Width="100%" BorderColor="black" BorderWidth="0" GridLines="Both" CellPadding="3" Font-Name="Verdana" Font-Size="8pt" HeaderStyle-BackColor="#aaaadd" AlternatingItemStyle-BackColor="#ffffff" SelectedItemStyle-BackColor="yellow">
<ItemTemplate>
<asp:LinkButton id="lbArtTitleL3" runat="server" Text=@#<%# DataBinder.Eval(Container.DataItem, "MainHeader")%>@# TabIndex=@#<%# (int)DataBinder.Eval(Container.DataItem, "txtID") %>@# OnClick=@#ArtTitleLinkButton_Click@# CommandName="select" />
</ItemTemplate>
<SelectedItemStyle Font-Bold="True"></SelectedItemStyle>
</asp:DataList>
<!--End:Mag Art Title Level 3-->
</ItemTemplate>
</asp:DataList>
<!--End:Mag Sub Cat Level 2-->
<!--Start:Mag Art Title Level 2-->
<asp:DataList id="datalistShowMagArtTitleLevel2" runat="server" SelectedItemStyle-BackColor="yellow" AlternatingItemStyle-BackColor="#ffffff" HeaderStyle-BackColor="#aaaadd" Font-Size="8pt" Font-Name="Verdana" CellPadding="3" GridLines="Both" BorderWidth="0" BorderColor="black" Width="100%" RepeatColumns="1" enableViewState="false" datasource=@#<%# ShowMagArtTitle((int)DataBinder.Eval(Container.DataItem, "ciID"))%>@#>
<ItemTemplate>
<asp:LinkButton id="Linkbutton1" runat="server" Text=@#<%# DataBinder.Eval(Container.DataItem, "MainHeader")%>@# TabIndex=@#<%# (int)DataBinder.Eval(Container.DataItem, "txtID") %>@# OnClick=@#ArtTitleLinkButton_Click@# CommandName="select" />
</ItemTemplate>
<SelectedItemStyle Font-Bold="True"></SelectedItemStyle>
</asp:DataList>
<!--End:Mag Art Title Level 2-->
</ItemTemplate>
</asp:DataList>
<!--End:Mag Sub Cat Level 1-->
<!--Start:Mag Art Title Level 1-->
<asp:DataList id="datalistShowMagArtTitleLevel1" runat="server" SelectedItemStyle-BackColor="yellow" AlternatingItemStyle-BackColor="#ffffff" HeaderStyle-BackColor="#aaaadd" Font-Size="8pt" Font-Name="Verdana" CellPadding="3" GridLines="Both" BorderWidth="0" BorderColor="black" Width="100%" RepeatColumns="1" enableViewState="false" datasource=@#<%# ShowMagArtTitle((int)DataBinder.Eval(Container.DataItem, "ciID"))%>@#>
<ItemTemplate>
<asp:LinkButton id="Linkbutton2" runat="server" Text=@#<%# DataBinder.Eval(Container.DataItem, "MainHeader")%>@# TabIndex=@#<%# (int)DataBinder.Eval(Container.DataItem, "txtID") %>@# OnClick=@#ArtTitleLinkButton_Click@# CommandName="select" />
</ItemTemplate>
<SelectedItemStyle Font-Bold="True"></SelectedItemStyle>
</asp:DataList>
<!--End:Mag Art Title Level 1-->
</ItemTemplate>
</asp:DataList>
</td>
</tr>
</TBODY>
</table>
</td>
<td valign="top">
<table>
<tr>
<td>
<asp:Label ID="lbArtQuotation" Runat="server"></asp:Label>
</td>
</tr>
<tr>
<td align="center">
<asp:Label ID="lbArtMainHeader" Runat="server" Font-Bold="True"></asp:Label>
</td>
</tr>
<tr>
<td align="center">
<asp:Label ID="lbArtSubHeader" Runat="server"></asp:Label>
</td>
</tr>
<tr>
<td align="right">
<asp:Label ID="lbArtPageNo" Runat="server" Font-Bold="True"></asp:Label>
</td>
</tr>
<tr>
<td align="center">
<asp:Label ID="lbArtViewPoint" Runat="server"></asp:Label>
</td>
</tr>
<tr>
<td>
</td>
</tr>
<tr>
<td>
<asp:Label ID="lbArtContent" Runat="server"></asp:Label>
</td>
</tr>
</table>
</td>
</tr>
</table>
<table width="100%">
<tr>
<td>
<cj168:Footer ID="Footer1" runat="server" />
</td>
</tr>
</table>
</form>
</TR></TBODY></TABLE></FORM>
</body>
</HTML>
</asp:DataList></TR></TBODY></TABLE></FORM> </BODY></HTML>
原文转自:http://www.ltesting.net