?? top.asp
字號:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<%
If Not Session("passed") Then
Response.Redirect("/manage/default.asp")
End If
%>
<!--#include virtual="/manage/include/conn.asp"-->
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>醫(yī)藥連鎖店管理系統(tǒng)</title>
<link href="/manage/include/style.css" rel="stylesheet" type="text/css">
<style type="text/css">
.style7 {color: #444444}
.style8 {
color: #996600;
font-weight: bold;
}
.style9 {color: #996600}
.style10 {font-size: 12pt}
</style>
<script language="javascript">
function out(){
window.location.href="/manage/login/logout.asp"
}
function viewBBS(idx)
{
window.open('/manage/bbs/bbsList.asp?idx='+idx,'nt','width=600,height=500,scrollbars=yes,left=0,top=0')
}
function del(id){
if (confirm("確定要刪除嗎?")){
window.open("deluser.asp?UserId="+id,"","width=200,height=200");
}
return false;
}
</script>
</head>
<body background="../../images/0.gif" leftmargin="0" topmargin="0">
<table width="100%" border="0" cellpadding="0" cellspacing="0" height="100%">
<tr>
<td width="187" bgcolor="#FFFFFF"><img src="/manage/images/biao.gif" width="158" height="130"></td>
<td colspan="2" bgcolor="#FFFFFF"><img src="../images/banner.jpg" width="800" height="100"></td>
</tr>
<tr bgcolor="#DDDDDD">
<td height="2" colspan="3"></td>
</tr>
<tr>
<td height="100%" align="center" valign="top" style="padding:1px">
<table width="100%" border="0" cellpadding="3" cellspacing="0">
<tr>
<td height="1"></td>
</tr>
<tr>
<td bgcolor="#52CB00">
<table border="0" width="100%" cellpadding="4" cellspacing="0">
<tr>
<td align="left" bgcolor="#52CB00"><strong>用戶ID號:</strong><%=Session("UserID")%></td>
</tr>
<tr>
<td align="left" bgcolor="#52CB00"><strong>用戶名稱:</strong><%=Session("UserName")%></td>
</tr>
<tr>
<td align="center" bgcolor="#52CB00"><span class="style10">您好</span>
<input type="button" style="border:1px solid;border-color:#444444;background:#ffd152"
onClick="out()" value="注 銷"></td>
</tr>
</table> </td>
</tr>
<tr>
<td height="25" align="left">
<img src="/manage/images/borrow.gif"> <a href="/manage/user/changepwd.asp"><strong>My Info</strong></a>
</td>
</tr>
<%If Session("flag")=1 Then%>
<tr>
<td height="25" align="left">
<img src="/manage/images/borrow.gif"> <a href="/manage/bbs/bbsman.asp"><strong>公告管理</strong></a>
</td>
</tr>
<tr>
<td height="25" align="left">
<img src="/manage/images/borrow.gif"> <a href="/manage/kexue/kexue.asp"><strong>科學(xué)養(yǎng)生文章</strong></a>
</td>
</tr>
<%End If%>
<tr>
<td height="1" bgcolor="#999999"></td>
</tr>
<tr>
<td height="30" align="left">
<%
If Session("flag")=1 Then
%>
<img src="/manage/images/borrow.gif"> <span class="style8">連鎖店管理</span></td>
</tr>
<tr>
<td height="20" align="left"> <strong><a href="/manage/user/userlist.asp">連鎖店列表</a></strong></td>
</tr>
<tr>
<td height="20" align="left"> <strong><a href="/manage/user/user.asp">連鎖店添加</a></strong></td>
</tr>
<%
End If
%>
<tr>
<td height="1" bgcolor="#999999"></td>
</tr>
<tr>
<td height="30" align="left">
<strong> <img src="/manage/images/borrow.gif"> <span class="style9">藥品管理</span></strong></td>
</tr>
<tr>
<td height="20">
<div align="left">
<%if Session("flag")<>1 then%>
<a href="/manage/goods/goodsadd.asp"><strong>藥品入庫</strong></a> <br>
<a href="/manage/goods/mygoods.asp"><strong>藥品入庫出庫庫存情況</strong></a>
<%
end if
if Session("flag")<>0 then
%>
<a href="/manage/goods/goodsclass.asp"><strong>類別添加</strong></a><br>
</div></td>
</tr>
<tr>
<td height="20"><div align="left"> <a href="/manage/goods/goodslist.asp"><strong>藥品列表</strong></a></div></td>
</tr>
<tr>
<td height="20"><div align="left"> <a href="/manage/goods/addgoodsname.asp"><strong>藥品添加</strong></a></div>
<%end if %>
</td>
</tr>
<%if Session("flag")<>1 then%>
<tr>
<td height="1" bgcolor="#999999"></td>
</tr>
<tr>
<td height="30" align="left">
<strong> <img src="/manage/images/borrow.gif"> <span class="style9">藥品銷售</span></strong></td>
</tr>
<tr>
<td align="left"> <strong><a href="/manage/goods/salegoods.asp">銷售登記</a></strong></td>
</tr>
<%end if%>
<tr>
<td height="1" bgcolor="#999999"></td>
</tr>
<%if Session("flag")=1 then%>
<tr>
<td height="30" align="left">
<strong> <img src="/manage/images/borrow.gif"> <span class="style9">銷售管理</span></strong></td>
</tr>
<tr>
<td height="30">
<div align="left"><strong> <span class="style7"><a href="/manage/tongji.asp">銷售統(tǒng)計</a></span></strong><br>
</div>
</td>
</tr>
<%end if%>
<%if Session("flag")=1 then%>
<tr>
<td height="30" align="left"><strong>
<span class="style7"><a href="/manage/view.asp">各連鎖店庫存情況</a></span></strong></td>
</tr>
<%end if%>
<%if Session("flag")=1 then%>
<tr>
<td height="30" align="left"><strong>
<span class="style7"><a href="/manage/sort.asp">各連鎖店銷售排行</a></span></strong>
</td>
</tr>
<tr>
<td height="1" bgcolor="#999999"></td>
</tr>
<tr>
<td height="10"><div align="left">
<p><strong><br>
<img src="/manage/images/borrow.gif"> <a href="/manage/bf/DB_bf.asp">數(shù)據(jù)備份</a></strong><br>
</p>
</div></td>
</tr>
<tr>
<td height="10"><div align="left"><strong> <br>
<img src="/manage/images/borrow.gif"> <a href="/manage/bf/DB_hf.asp">數(shù)據(jù)恢復(fù)</a></strong><br>
</div></td>
</tr>
<tr>
<td height="10"><div align="left"><strong> <br>
<img src="/manage/images/borrow.gif"> <a href="/index.asp">返回前臺</a> </strong></div></td>
</tr>
<%end if%>
</table>
</td>
<td width="2" height="500" bgcolor="#DDDDDD"></td>
<td width="831" valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td>
<table width="100%" height="36" border="0" cellpadding="0" cellspacing="0" bordercolor="F5f5f5">
<tr>
<td width="12%">■ 公告事項:</td>
<td width="57%"> <table border=0 cellpadding=2 cellspacing=1 class=bgline width=460>
<tr>
<td bgcolor=white> <img src=/manage/images/arrow.gif> <span id=notice></span></td>
</tr>
</table></td>
<td width="4%" valign="middle">
<table border=0 cellpadding=1 cellspacing=0>
<tr>
<td>
<img src=/manage/images/bt_scrollup.gif onclick="noticeRolling(-1,1)" style="cursor:hand">
</td>
</tr>
<tr>
<td>
<img src=/manage/images/bt_scrolldown.gif onclick="noticeRolling(1,1)" style="cursor:hand">
</td>
</tr>
</table> </td>
<td width="27%" align="center">
<input type=text name=date value="" size=10 maxlength=10 readonly style="border-width:0;background-color:#E9EAFC">
<input type=text name=hour value="" size=12 maxlength=12 readonly style="border-width:0;background-color:#E9EAFC" ID="Text1">
<script language=javascript>
var timerID= null
var timerRunning= false
function stopclock(){
if(timerRunning)
clearTimeout(timerID)
timerRunning= false
}
function startclock(){
stopclock()
showtime()
}
function showtime(){
var now= new Date()
var hours= now.getHours()
var minutes= now.getMinutes()
var seconds= now.getSeconds()
var timeValue= ""+ ((hours> 12)? hours- 12: hours)
timeValue+= ((minutes< 10)? ":0": ":")+ minutes
timeValue+= ((seconds< 10)? ":0": ":")+ seconds
timeValue+= (hours>= 12)? " PM. ": " AM. "
document.all.date.value= <%=year(date)%> +'/'+ <%=month(date)%> + '/'+ <%=day(date)%>
document.all.hour.value= timeValue
timerID= setTimeout("showtime()", 100)
timerRunning= true
}
showtime()
</script>
</td>
</tr>
<tr>
<td colspan="4" height="1"></td>
</tr>
</table>
</td>
</tr>
<tr>
<td align="center" valign="middle">
<%
set rstt = conn.execute("select top 5 idx,title,regDate from tb_NoticeBBS order by idx desc")
i = 0
%>
<script language=javascript>
var rollValue
var arrayNotice= new Array(5)
<%do while not rstt.eof%>
arrayNotice[<%=i%>] = "<a href='#' onclick='viewBBS(<%=rstt("idx")%>)'><%=rstt("title") & "</a> [ " & formatdatetime(rstt("regDate"),2) &" ]" %>"
<%
i = i+1
rstt.movenext
loop
%>
function noticeRolling(moveValue,clickCheck)
{
rollValue= rollValue + moveValue
rollValue=rollValue%<%=i%>
if (rollValue < 0 )
rollValue=1
notice.innerHTML = arrayNotice[rollValue]
if(clickCheck==0)
window.setTimeout("noticeRolling(1,0)",3000)
}
rollValue = 0
window.setTimeout("noticeRolling(1,0)",3000)
</script>
<%
set rst =nothing
conn.close
%>
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -