<%@ Control Language="c#" AutoEventWireup="True" Codebehind="AdminTop.ascx.cs" Inherits="DreamerShop.Admin.AdminTop" TargetSchema="http://schemas.microsoft.com/intellisense/ie5"%>
<LINK href="../Images/Admin/theme.css" type="text/css" rel="stylesheet">
<LINK href="../Images/Admin/css.css" type="text/css" rel="stylesheet">
<SCRIPT language="JavaScript">

<!--
function MM_reloadPage(init) {  //reloads the window if Nav4 resized
  if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
    document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
  else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);
// -->
</SCRIPT>
<LINK href="../Images/Admin/css.css" type="text/css" rel="stylesheet">
<SCRIPT language="JavaScript" src="../Images/Admin/JSCookMenu.js" type="text/javascript"></SCRIPT>
<SCRIPT language="JavaScript" src="../Images/Admin/theme.js" type="text/javascript"></SCRIPT>
<SCRIPT language="JavaScript" type="text/javascript">

// open

function openwin(url) { 
	window.showModalDialog(url, "", "dialogHeight:400px; dialogWidth:506px; resizable:no;help:no; status:no;center:yes;scroll:no;"); 
}

function openqus(url) { 
	window.open(url, 'shopquestion', 'width=820,height=500,resizable=1,scrollbars=1,status=no,toolbar=no,location=no,menu=no'); 
}


var myMenu =
[
	<%=mstrPurview1%>
	<%=mstrPurview2%>
	<%=mstrPurview3%>
	<%=mstrPurview4%>
	
];
</SCRIPT>
<TABLE class="p9black" cellSpacing="0" cellPadding="0" width="100%" border="0">
	<TBODY>
		<TR>
			<TD align="center" width="23%" background="../Images/Admin/topbg.gif" height="28">&nbsp;</TD>
			<TD width="56%" background="../Images/Admin/topbg.gif" height="28">
				<TABLE class="p9black" cellSpacing="0" cellPadding="0" width="100%" background="../Images/Admin/menubg.gif"
					border="0">
					<TBODY>
						<TR>
							<TD width="11%"><IMG height="26" src="../Images/Admin/menuleft.gif" width="42"></TD>
							<TD vAlign="baseline" align="center" width="86%">
								<TABLE class="menudottedline" cellSpacing="0" cellPadding="0" width="100%" align="center"
									border="0">
									<TBODY>
										<TR>
											<TD class="menubackgr" align="center">
												<DIV id="myMenuID"></DIV>
												<SCRIPT language="JavaScript" type="text/javascript">
				cmDraw ('myMenuID', myMenu, 'hbr', cmThemeOffice, 'ThemeOffice');
												</SCRIPT>
											</TD>
										</TR>
									</TBODY>
								</TABLE>
							</TD>
							<TD align="right" width="3%"><IMG height="26" src="../Images/Admin/menuright.gif" width="39"></TD>
						</TR>
					</TBODY>
				</TABLE>
			</TD>
			<TD height="28" align="right" background="../Images/Admin/topbg.gif">
				<asp:ImageButton id="ibtExit" runat="server" ImageUrl="../Images/Admin/icon-logout.gif" CausesValidation="False" onclick="ibtExit_Click"></asp:ImageButton>
				<asp:LinkButton id="lbtExit" runat="server" BackColor="Silver" CausesValidation="False" onclick="lbtExit_Click">退出</asp:LinkButton>&nbsp;
			</TD>
		</TR>
	</TBODY>
</TABLE>
<SCRIPT language="JavaScript" type="text/JavaScript">
<!--
function MM_findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function MM_showHideLayers() { //v6.0
	var i,p,v,obj,args=MM_showHideLayers.arguments;
	for (i=0; i<(args.length-2); i+=3)
		if ((obj=MM_findObj(args[i]))!=null)
		{
			v=args[i+2];
			if (obj.style)
			{
				obj=obj.style;
				v = (v=='show')?'visible':(v=='hide')?'hidden':v; 
			}
			obj.visibility=v;
		}
}
//-->
</SCRIPT>
<TABLE height="9" cellSpacing="0" cellPadding="0" width="100%" background="../Images/Admin/menubo.gif"
	border="0">
	<TBODY>
		<TR>
			<TD height="9"><IMG height="9" src="../Images/Admin/spacer.gif" width="778"></TD>
		</TR>
	</TBODY>
</TABLE>
<table width="98%" border="0" cellspacing="0" cellpadding="2" height="24" align="center">
	<tr>
		<td width="0%">&nbsp;
		</td>
		<td width="16%">&nbsp;</td>
		<td width="84%" align="right">
			<table border="0" cellspacing="2" cellpadding="2">
				<tr>
					<%=mstrPurviewLink%>
					
					<td nowrap><a href="AdminMain.aspx"><img src="../Images/Admin/icon-desktop-0.gif" width="20" height="20" border="0">
							返回桌面 </a>
					</td>
				</tr>
			</table>
		</td>
	</tr>
</table>
<table width="100%" border="0" cellspacing="0" cellpadding="0" height="15" class="t-b-border">
	<tr>
		<td bgcolor="#e7e7e7" height="15" width="2%">&nbsp;</td>
		<td bgcolor="#e7e7e7" height="15" width="98%" class="p9black" valign="bottom">登录者：
			<asp:Label id="lbLoginName" runat="server"></asp:Label>
			| 上次登陆时间：
			<asp:Label id="lbLoginTime" Runat="server"></asp:Label>
		</td>
	</tr>
</table>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
	<tr>
		<td><img src="../Images/Admin/spacer.gif" width="778" height="5"></td>
	</tr>
</table>
