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

📄 look.asp

📁 医药进销存管理系统 全代码 很详细 可惜没有数据库 可供参考
💻 ASP
字号:
<!--#include file="../include/conn.asp"-->
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link rel="stylesheet" href="/manage/include/style.css" type="text/css">
<%
Id=trim(request.QueryString("Id"))
if Id="" then
  response.write "你想看哪一个药品信息?"
  response.End()
else
set rs=conn.execute("select * from tb_MedicineName where Id="&Id)
function repstr(str)
  if not isNull(str) or len(str)>0 then
   repstr=replace(str,"<br>","<br>")
   repstr=replace(repstr,"&nbsp;","&nbsp;")
   repstr=replace(repstr,"","&nbsp;")
  else
   repstr="没有信息"
  end if
end function
%><style type="text/css">
<!--
body {
	margin-left: 0px;
	margin-top: 0px;
}
.style1 {color: #000000}
-->
</style>
<title>查看详细</title><table width="100%" height="100%" border="0" align="center" cellpadding="0" cellspacing="0">
   <tr>
       <td width="23" bgcolor="#00CC00"></td>
     <td align="center" valign="top">
       <table width="100%" border="0" align="center" cellpadding="0" cellspacing="4">
		       <tr>
		           <td colspan="2">
				     <div align="center">
			           <%if len(rs("img"))>0 then%>
	                     <img src="goodspic/<%=rs("img")%>" width="150" height="150">
                       <%else%>
	                     <img src="/images/nopic.gif" width="150" height="150">
                       <%end if%>
			         </div></td>
               </tr>	
			   <tr>
		         <td width="87" valign="top" bgcolor="#A4E98F" style="word-break:break_all"><div align="right" class="style1">[药品名称]</div></td>
		         <td width="354" valign="top" bgcolor="#F5F5F5"  style="word-break:break_all"><%=rs("yName")%></td>
			   </tr>
		       <tr>
			       <td align="right" valign="top" bgcolor="#A4E98F"  style="word-break:break_all"><span class="style1">[主要成份]</span></td>
			       <td valign="top" bgcolor="#f5f5f5"  style="word-break:break_all"><%=repstr(rs("elements"))%></td>
			   </tr>
			   <tr>
			       <td align="right" valign="top" bgcolor="#A4E98F"  style="word-break:break_all"><span class="style1">[适应症]</span></td>
			       <td valign="top" bgcolor="#F5F5F5"  style="word-break:break_all"><%=repstr(rs("fortill"))%></td>
			   </tr>
		       <tr>
			       <td align="right" valign="top" bgcolor="#A4E98F"  style="word-break:break_all"><span class="style1">[用法用量]</span></td>
			       <td valign="top" bgcolor="#F5F5F5"><%=repstr(rs("usesize"))%></td>
			   </tr>
		       <tr>
			       <td align="right" valign="top" bgcolor="#A4E98F"  style="word-break:break_all"><span class="style1">[详细说明]</span></td>
			       <td valign="top" bgcolor="#F5F5F5"  style="word-break:break_all"><%=repstr(rs("medbook"))%></td>
			   </tr>		   			   
       </table>
	       <p align="center"><input type="button" value="关闭窗口" onClick="window.close();" style="border:1px solid;border-color:000000;background-color:#99CC66"></p></td>
       <td width="24" align="center" valign="middle" bgcolor="#00CC00"></td>
   </tr>
</table>
<%end if%>

⌨️ 快捷键说明

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