<!--#INCLUDE FILE="../HXINCLUDE/HXINCLUDEHEAD.ASP"-->
<% if WS_S.MemberPriv("WS_PublicAffairsBookView")<>1 then response.Write "<script>alert('对不起,您的权限不够!');window.close();</script>":response.end
  ColumnName="":Tablename="HX_BookMain":WS_BOID=request("WS_BOID")
  if WS_BOID="" or isnull(WS_BOID) or (WS_BOID<>"" and not isnumeric(WS_BOID)) then response.write "<script>alert('非法操作');window.close();</script>":response.end  
  action=request("action"):Orderby=" where WS_BOID="&WS_BOID
  set rs=WS_S.HX_SetRSD(ColumnName,Tablename,Orderby)
  response.write "<head><meta http-equiv='Content-Type' content='text/html; charset=gb2312'><title>图书状态</title><link rel=stylesheet type=text/css href='../HXinclude/HX_Css.css'></head><body topmargin='8' leftmargin='0' bottommargin='0'><table width='500'  border='0' cellspacing='1' cellpadding='0' align=center bgcolor='#613c25'><tr><td colspan='2' bgcolor=FFFBE8><table width='100%'  border='0' cellspacing='0' cellpadding='0'><tr><td height='25' background='../hximages/titleline.gif'><font class='fontmenu'>图书状态</font></td></tr></table><table width='100%'  border='0' cellspacing='1' cellpadding='3' bgcolor=FFFBE8><tr bgcolor='#FFFBE8'><td>本书状态：</td><td colspan='3'>"
  if rs("WS_BookBorrow")=0 then response.write "<font color='#990000'>未出借</font>" else response.write "<font color='#990000'>出借</font>"
  response.write "</td></tr><tr bgcolor='#FFFBE8'><td width='17%'>编　　号：</td><td width='27%'>"&rs("WS_BOOKNUM")&"</td><td width='17%'>书　　名：</td><td width='39%'>"&rs("WS_BOOKName")&"</td></tr><tr bgcolor='#FFFBE8'><td width='17%'>作　　者：</td><td width='27%'>"&rs("WS_BOOKAuthor")&"</td><td width='17%'>单　　价：</td><td width='39%'>"&rs("WS_BOOKPrice")&rs("WS_BookPriceUnit")&"</td></tr><tr bgcolor='#FFFBE8'><td width='17%'>出 版 社：</td><td width='27%'>"&rs("WS_BOOKConcern")&"</td><td width='17%'>出版时间：</td><td width='39%'>"&year(rs("WS_BOOKPublishDate"))&"年"&month(rs("WS_BOOKPublishDate"))&"月"&"</td></tr><tr bgcolor='#FFFBE8'><td width='17%'>内容简介：</td><td colspan='3'>"&rs("WS_BOOKDetail")&"</td></tr>"
  set brs=WS_S.HX_SetRSD(ColumnName,"HX_BookBorrow"," where WS_BOID="&rs("WS_BOID")&" and WS_BookSign=1")
  if brs.recordcount>0 then
  response.write "<tr bgcolor='#F8F9F2'><td width='17%'>借　　者：</td><td width='27%'>"
  Call WS_S.HX_OutUserInfo(brs("WS_BookBorrowMan")):response.write OutName&"</td><td width='17%'>借书时间：</td><td width='39%'>"&WS_S.Format_Time(brs("WS_BookBorrowTime"),2)&"</td></tr>"
  end if
  response.write "<tr bgcolor='#FFFBE8'><td colspan='4' align=right><input name='print' type='button' value=' 打 印 ' onclick='javascript:print();'> <input name='close' type='button' value=' 关 闭 ' onclick='javascript:window.close();'>&nbsp;</td></tr></table></td></tr></table>"
  WS_S.HX_RSClose brs:WS_S.HX_RSClose rs%>
