www.gusucode.com > 中网景企业网站管理系统 2008源码程序 > chinese/head.asp
<div id="top"> <% If GetChannelContent(7,"isStop")=0 Then If username="" Then Response.Write("<a href=""users.asp"">用户登录</a>") If isNewUser=1 Then Response.Write("| <a href=""users.asp?action=register"">用户注册</a>") Else Response.Write("您好,"&username&" !<a href=""users.asp"">用户中心</a> | <a href="""&UpDir&"logout.asp"">[退出]</a>") End If If isShop>0 and GetChannelContent(3,"isStop")=0 Then Response.Write(" | <a href=""cart.asp"" class=""red"" target=""_blank"">我的购物车</a>") End If Response.Write(" | <a href=""javascript:window.external.addfavorite('http://"&SiteURL&"','"&SiteName&"')"">加入收藏</a> | <a href=""javascript:void(0);"" onclick=""this.style.behavior='url(#default#homepage)';this.setHomePage('http://"&SiteURL&"');return(false);"" style=""BEHAVIOR: url(#default#homepage)"">设为首页</a>") If Lang=1 or Lang=2 Then Response.Write(" | <a href="""&UpDir&"english/"" target=""_blank"">English</a> ") %> </div> <div id="head"> <div class="logo"><a href="http://www.websys.cn"><img src="<%= UpDir&"images/"&SiteLogo %>" border="0" /></a></div> <div class="nav"> <link href="<%=UpDir%>skin/menu01/menu.css" rel="stylesheet" type="text/css"> <script type="text/JavaScript" src="<%=UpDir%>skin/menu01/menu.js"></script> <div id="qm0" class="qmmc"> <a href="index.asp">首 页</a> <% = GetMenu(0,0)%> </div> <span class="qmclear"> </span> <script type="text/JavaScript">qm_create(0,false,0,500,false)</script> </div> <div class="clearboth"></div> <div class="headbanner" style="background-image: url(<%=UpDir&"images/"&GetBanner(ChannelID,0) %>);"> <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="960" height="166"> <param name="movie" value="<%= UpDir&"images/"&GetBannerFlash(ChannelID,0) %>" /> <param name="quality" value="high" /> <param name="wmode" value="transparent" /> <embed src="<%= UpDir&"images/"&GetBannerFlash(ChannelID,0) %>" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="960" height="166" wmode="transparent"></embed> </object> </div> <div class="shadowleft"></div> <div class="shadowright"></div> <div class="clearboth"></div> </div>