⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 masterpage.master

📁 是一个很好的电子商务系统,是用C#语言开发的,能够完成网上购物的功能
💻 MASTER
字号:
<%@ Master Language="C#" AutoEventWireup="true" CodeFile="MasterPage.master.cs" Inherits="MasterPage" %>
<%@ Register Src="UserControls/ProductSearch.ascx" TagName="ProductSearch" TagPrefix="uc1" %>
<%@ Register Src="UserControls/Category.ascx" TagName="Category" TagPrefix="uc2" %>
<%@ Register Src="UserControls/Product.ascx" TagName="Product" TagPrefix="uc3" %>


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>无标题页</title>
     <SCRIPT language="JavaScript">
<!--
var thissize=20
var textfont="隶书"

var textcolor= new Array()
textcolor[0]="0022ff"
textcolor[1]="0022ff"
textcolor[2]="0022ff"
textcolor[3]="111111"
textcolor[4]="222222"
textcolor[5]="333333"
textcolor[6]="444444"
textcolor[7]="555555"
textcolor[8]="666666"
textcolor[9]="777777"
textcolor[10]="888888"
textcolor[11]="999999"
textcolor[12]="aaaaaa"
textcolor[13]="bbbbbb"
textcolor[14]="cccccc"
textcolor[15]="dddddd"
textcolor[16]="eeeeee"
textcolor[17]="ff2200"
textcolor[18]="ff1100"

var message = new Array()
message[0]="电子商务在线欢迎您的光临!"
message[1]="优秀软件开发!"
message[2]="网络应用服务!"
i_message=0

var i_strength=0
var i_message=0
var timer

function glowtext() { 
if(document.all) {
if (i_strength <=17) {
glowdiv.innerText=message[i_message]
document.all.glowdiv.style.filter="glow(color="+textcolor[i_strength]+", strength=4)"
i_strength++
timer=setTimeout("glowtext()",100)
}
else {
clearTimeout(timer)
setTimeout("deglowtext()",1500)
}
} 
}

function deglowtext() { 
if(document.all) {
if (i_strength >=0) {
glowdiv.innerText=message[i_message]
document.all.glowdiv.style.filter="glow(color="+textcolor[i_strength]+", strength=4)"
i_strength--
timer=setTimeout("deglowtext()",100)
}
else {
clearTimeout(timer)
i_message++
if (i_message>=message.length) {i_message=0}
i_strength=0
intermezzo()
}
} 
}

function intermezzo() { 
glowdiv.innerText=""
setTimeout("glowtext()",1000) 
}

//-->


</SCRIPT>
</head>
 <body  onLoad="glowtext()">
    <form id="form1" runat="server">
    <div>
        <table border="0" cellpadding="0" cellspacing="0">
            <tr>
                <td valign="top">
                    <asp:HyperLink ID="HyperLink1" runat="server" ImageUrl="~/images/logo.gif" NavigateUrl="~/Default.aspx" Width="218px">HyperLink</asp:HyperLink>
                    <table border="0" cellpadding="0" cellspacing="0" style="width: 231px; height: 148px">
                        <tr>
                            <td colspan="2" style="height: 19px"> <marquee id="Marquee1" direction="up" scrolldelay="150" scrollamount="2" width="250" onmouseover="this.stop();" onmouseout="this.start();" style="height: 104px"> 
 欢迎来到本网站购物!</marquee>
                            </td>
                        </tr>
                    </table>
                </td>
                <td colspan="2">
                    &nbsp;<table border="0" cellpadding="0" cellspacing="0" style="width: 677px; height: 62px">
                        <tr>
                            <td style="height: 174px;">
                               </td>
                            <td style="height: 174px;">
                                <img src="images/1x1.gif" style="width: 47px; height: 24px" /></td>
                            <td style="height: 174px;">
                                <table border="0" cellpadding="0" cellspacing="0" style="width: 535px; height: 120px;">
                                    <tr>
                                        <td>
                                            <asp:LoginName ID="LoginName1" runat="server" FormatString="Welcome:  {0}" Width="221px" Font-Size="35px" Font-Names="华文行楷" />
                                        </td>
                                        <td style="width: 100px; height: 19px;">
                                        </td>
                                        <td style="width: 100px; height: 19px;">
                                        </td>
                                        <td style="width: 100px; height: 19px;">
                                        </td>
                                    </tr>
                                    <tr>
                                        <td style="width: 187px; height: 19px;">
                                        </td>
                                        <td style="width: 100px; height: 19px;">
                                        </td>
                                        <td style="width: 100px; height: 19px;">
                                        </td>
                                        <td style="width: 100px; height: 19px;">
                                        </td>
                                    </tr>
                                    <tr>
                                        <td align="center" style="height: 105px; width: 187px;">
                                            <img src="images/1x1.gif" style="width: 117px; height: 17px" /><br />
                                            <asp:LoginView ID="LoginView1" runat="server">
                                                <LoggedInTemplate>
                                                    <table border="0" cellpadding="0" cellspacing="0">
                                                        <tr>
                                                            <td style="width: 109px; height: 19px">
                                                                <asp:HyperLink ID="HyperLink3" runat="server" Height="21px" NavigateUrl="~/ShopCartProduct.aspx"
                                                                    Width="79px">Shop Cart</asp:HyperLink></td>
                                                            <td style="width: 100px; height: 19px">
                                                                <asp:HyperLink ID="HyperLink4" runat="server" NavigateUrl="~/OrderHistory.aspx" Width="91px">OrderHistory</asp:HyperLink></td>
                                                        </tr>
                                                    </table>
                                                    <img src="images/1x1.gif" style="width: 177px; height: 7px" />
                                                </LoggedInTemplate>
                                                <RoleGroups>
                                                    <asp:RoleGroup Roles="Admin">
                                                        <ContentTemplate>
                                                            <asp:HyperLink ID="HyperLink5" runat="server" NavigateUrl="~/Admin/Default.aspx">管理员入口:</asp:HyperLink>|
                                                        </ContentTemplate>
                                                    </asp:RoleGroup>
                                                </RoleGroups>
                                            </asp:LoginView>
                                            </td>
                                        <td align="center" style="height: 105px;">
                                            <asp:LoginStatus ID="LoginStatus1" runat="server" LogoutPageUrl="~/Default.aspx" LogoutAction="Redirect" />
                                            |</td>
                                        <td align="center" style="height: 105px;">
                                            设为首页|</td>
                                        <td align="center" style="height: 105px;">
                                            设为收藏夹|</td>
                                    </tr>
                                </table>
                            </td>
                        </tr>
                    </table>
                </td>
            </tr>
            <tr>
                <td valign="top" style="width: 236px; height: 239px;">
                    <table border="0" cellpadding="0" cellspacing="0">
                        <tr>
                            <td style="width: 100px">
                                <uc1:ProductSearch id="ProductSearch1" runat="server">
                                </uc1:ProductSearch>
                                <br />
                            </td>
                        </tr>
                        <tr>
                            <td style="width: 100px; height: 147px">
                                <uc2:Category id="Category1" runat="server">
                                </uc2:Category></td>
                        </tr>
                    </table>
                </td>
                <td valign="top">
                    <asp:ContentPlaceHolder ID="ContentPlaceHolder1" runat="server">
                        <table border="0" cellpadding="0" cellspacing="0" style="width: 534px">
                            <tr>
                                <td style="width: 596px; height: 19px">
                                </td>
                            </tr>
                            <tr>
                                <td align="center" style="font-weight: bolder; font-size: 30px; text-transform: capitalize;
                                    width: 596px; color: lime; font-style: italic; text-decoration: underline">
                                    <img src="images/1x1.gif" style="width: 45px; height: 26px" /><br />
                                    Welcome &nbsp;to &nbsp;our&nbsp; shop&nbsp;<br />
                                    &nbsp; for &nbsp;&nbsp; Computer &nbsp; &nbsp; Accessories</td>
                            </tr>
                            <tr>
                                <td style="width: 596px; height: 19px">
                                </td>
                            </tr>
                        </table>
                        <table border="0" cellpadding="0" cellspacing="0">
                            <tr>
                                <td colspan="2" rowspan="2">
                                </td>
                            </tr>
                            <tr>
                            </tr>
                        </table>
                        <br />
                        <br />
                        
                        
                        
                        
                        
                       
<div id="glowdiv" style="position:absolute;visibility:visible;width:800px;text-align:center; top:10px;left:130px;font-family:隶书;font-size:30pt;color:000000"></div>

                        
                        
                        
                        
                        <br />
                    </asp:ContentPlaceHolder>
                </td>
                <td valign="top" style="height: 239px">
                    <uc3:Product id="Product1" runat="server">
                    </uc3:Product></td>
            </tr>
            <tr>
                <td style="width: 236px">
                </td>
                <td style="width: 613px; font-weight: bolder; font-size: large; color: #00ff00; font-family: 方正姚体; text-decoration: underline;">
                    版权所有: 安徽理工大学理学院信计04-4班 王明涛</td>
                <td>
                </td>
            </tr>
        </table>
    </div>
    </form>
</body>
</html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -