Default.aspx
资源名称:SunShine.rar [点击查看]
上传用户:tjxpgg
上传日期:2017-05-14
资源大小:2244k
文件大小:4k
源码类别:
SilverLight
开发平台:
ASP/ASPX
- <%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" %>
- <%@ Register Src="Admin/WebUserControl.ascx" TagName="WebUserControl" TagPrefix="uc1" %>
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
- <html>
- <head runat="server">
- <title>无标题文档</title>
- <style type="text/css">
- .top
- {
- height:200px;
- }
- .main
- {
- }
- .font
- {
- height:90px;
- text-align:center;
- }
- .left
- {
- float:left;
- width:180px;
- height:690px;
- padding:0px 0px 20px;
- }
- .right
- {
- }
- </style>
- <script language="javascript">
- function openPage(obj)
- {
- window.open("QALLInfo.aspx?id="+obj,"","height=500,width=500,scrollbars=1 ");
- }
- </script>
- <link href="css/mycss.css" rel="stylesheet" type="text/css" />
- </head>
- <body style="background-image:url('Images/di-souye.gif'); margin:0px 50px 0px 50px">
- <form id="form1" runat="server">
- <div class="top">top
- <div style="z-index: 101; left: 222px; width: 87px; position: absolute; top: 97px;
- height: 28px; border:1px solid #000000"><a href="zhuye.aspx" style="font-size:17px;background-color:White">首 页</a>
- <div style="z-index: 101; left: 104px; width: 87px; position: absolute; top: 0px;
- height: 28px; border:1px solid #000000"><a href="Default.aspx" style="font-size:17px;background-color:White">我的购物车</a>
- <div style="z-index: 101; left: 96px; width: 87px; position: absolute; top: -1px;
- height: 28px; border:1px solid #000000"><a href="Default.aspx" style="font-size:17px;background-color:White">用户登陆</a>
- <div style="z-index: 101; left: 99px; width: 87px; position: absolute; top: -2px;
- height: 28px; border:1px solid #000000"><a href="Admin/AdminLogin.aspx" style="font-size:17px;background-color:White">管理员登陆</a>
- </div>
- </div>
- </div>
- </div>
- </div>
- <div class="main">
- <div class="left" style="text-align:center">
- <br />
- <br />
- <asp:TreeView ID="TreeView1" runat="server" ImageSet="Arrows">
- <ParentNodeStyle Font-Bold="False" />
- <HoverNodeStyle Font-Underline="True" ForeColor="#5555DD" />
- <SelectedNodeStyle Font-Underline="True" ForeColor="#5555DD" HorizontalPadding="0px"
- VerticalPadding="0px" />
- <NodeStyle Font-Names="Verdana" Font-Size="8pt" ForeColor="Black" HorizontalPadding="5px"
- NodeSpacing="0px" VerticalPadding="0px" />
- </asp:TreeView>
- </div>
- <div class="right">
- <br />
- <br />
- <asp:Repeater ID="Repeater1" runat="server">
- <ItemTemplate>
- <table>
- <tr>
- <td rowspan="3">
- <img src='<%# "Image/BookCovers/"+Eval("isbn")+".jpg" %>' style="width: 137px; height: 165px"/></td>
- <td >
- <a href='<%# "QALLInfo.aspx?id="+Eval("id") %>'> <%# Eval("title") %></a></td>
- </tr>
- <tr>
- <td >
- <%# Eval("author") %></td>
- </tr>
- <tr>
- <td >
- <%# Eval("ContentDescription")%></td>
- </tr>
- <tr>
- <td style="text-align: right;" colspan="2">
- <%# Eval("UnitPrice")%></td>
- </tr>
- </table>
- </ItemTemplate>
- </asp:Repeater>
- <uc1:WebUserControl ID="WebUserControl1" runat="server" Column="id" GridViewName="Repeater1"
- PageSize="4" TableName="books" />
- <br />
- <br />
- <br />
- <br />
- <br />
- </div>
- </div>
- <div class="font">
- <hr size="2px" color="#00FF00"/>
- <a class="bottom" href="#">公司简介</a> <a class="bottom" href="#">诚征英才</a>
- <a class="bottom" href="#">网站联盟</a> <a class="bottom" href="#">
- 店中店招商</a> <a class="bottom" href="#">交易条款</a>
- <div class="bcopyright">
- Copyright (C)北大青鸟 2007-2010, All Rights Reserved<img align="absMiddle" hspace="4"
- src="Images/validate.gif" />
- <span style="font-size: 13px; color: #000000">京ICP证666666号</span>
- </div>
- </div>
- </form>
- </body>
- </html>