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

📄 masterpage.master

📁 简单的cI真的是很简单 你想要就下载吧
💻 MASTER
字号:
<%@ Master Language="C#" AutoEventWireup="true" CodeFile="MasterPage.master.cs" Inherits="MasterPage" %>

<!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>MasterPage</title>
    <asp:ContentPlaceHolder ID="head" runat="server">
    </asp:ContentPlaceHolder>
    <link href="../App_Themes/Style/Style.css" rel="stylesheet" type="text/css" />
    <script language="JavaScript">
    function showWindow(){
        var path;
        var orderID=document.getElementById("txtSearchItemOrderID").value;
        if(orderID.length>1)
        {
            path = "../../Web/Order/PO07.aspx?OrderID=" + orderID;//document.aspnetForm.txtSearchItemOrderID.value;
            if(confirm("确认编辑"+orderID+"号订单?"))
            {
               showModalDialog(path, null, 'dialogHeight:600px;center:yes;status:yes');
            }
        }
    }
    
            var timerID = null;
            var timerRunning = false;
            function stopclock (){
                    if(timerRunning)
                            clearTimeout(timerID);
                    timerRunning = false;
            }
            function showtime () {
                    var now = new Date();
                    var hours = now.getHours();
                    var minutes = now.getMinutes();
                    var seconds = now.getSeconds();
                    var timeValue="";
                    if(hours>0&&hours<5)
                       timeValue="凌晨 ";
                    if(hours>5&&hours<9)
                       timeValue="早上 ";
                    if(hours>9&&hours<12)
                        timeValue="上午 ";
                    if(hours>12&&hours<18)
                        timeValue="下午";
                    if(hours>18&&hours<24)
                        timeValue="晚上 ";
                    timeValue +=((hours >12) ? hours -12 :hours);
                    timeValue += ((minutes < 10) ? ":0" : ":") + minutes;
                    timeValue += ((seconds < 10) ? ":0" : ":") + seconds;
                    window.status = timeValue;
                    //timeNow.innerText=timeValue;
	            //document.getElementById("time").innerText = timeValue;
	            document.getElementById("timeNow").innerText = timeValue;
                    timerID = setTimeout("showtime()",1000);
                    timerRunning = true;
            }
            function startclock () {
                    stopclock();
                    showtime();
            }
    </script>
</head>
<body bgcolor="#ffffff" leftmargin="0" background="bg2.gif" topmargin="0" onload="startclock()">
    <form id="form1" runat="server">
    <table width="85%" height="450px" align="center">
        <tr>
            <td style="height: 130px; width: 100%" colspan="3" class="header_footer">
                <table width="100%">
                    <tr>
                        <td rowspan="2">
                            <asp:Image ID="Image1" runat="server" ImageUrl="~/Image/ws_01.gif" Width="229px"
                                Height="106px" />
                        </td>
                        <td width="80%" align="left" valign="bottom">
                            <asp:PlaceHolder ID="PlaceHolderMenu" runat="server"></asp:PlaceHolder>
                            &nbsp;&nbsp;&nbsp;&nbsp;
                        </td>
                    </tr>
                    <tr>
                        <td width="80%" height="20%" align="left" valign="bottom" style="text-align: right">
                            <asp:Panel ID="Panel_Admin" runat="server">
                                <span>订单号:</span>
                                <input type ="text" id = "txtSearchItemOrderID" name = "txtSearchItemOrderID"  
                                    width="100" tabindex="1" />
                                <input type="button"onclick="showWindow()" value ="编辑订单" width="60" 
                                    tabindex="1" />
                            </asp:Panel>
                        </td>
                    </tr>
                </table>
            </td>
        </tr>
        <tr class="header_footer">
            <td style="height: 25px; width: 50%; text-align: left;" align="right">
                
                        现在时间是:<span id=timeNow></span>
                        &nbsp;&nbsp; 您好,<asp:Label ID="lblUserName" Text="请在Page_Load()中加入:Master.UserData = UserData;"
                            runat="server"></asp:Label>
                        &nbsp;&nbsp;欢迎进入本站
            </td>
            <td style="height: 25px; width: 10%">
            </td>
            <td style="height: 25px; width: 20%; text-align: center;" align="left">
                <asp:LinkButton ID="LinkBtnLogOff" runat="server" OnClick="LinkBtnLogOff_Click">注销</asp:LinkButton>
            </td>
        </tr>
        <tr>
            <td colspan="3" valign="top" style="height: 80%">
                <asp:ContentPlaceHolder ID="CenterPlaceHolder" runat="server">
                </asp:ContentPlaceHolder>
            </td>
        </tr>
        <tr>
            <td style="height: 80px; width: 100%" colspan="3" class="header_footer" align="center">
                Copy@Right Wicresoft JPO Vinci
            </td>
        </tr>
    </table>
    </form>
</body>
</html>

⌨️ 快捷键说明

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