<% if request("liuyan")<>"" then If Trim(Request.Form("validatecode"))=Empty Or Trim(Session("cnbruce.com_ValidateCode"))<>Trim(Request.Form("validatecode")) Then response.Write "" response.end end if end if %> <% response.expires=0 response.expiresabsolute=Now()-1 response.addHeader "pragma","no-cache" response.addHeader "cache-control","private" Response.CacheControl="no-cache" if len(Request.querystring("shuyu"))=0 then shuyu1="内科" else shuyu1=Request.querystring("shuyu") end if name=Request.form("name") tel=Request.form("tel") email=Request.form("email") content=Request.form("content") Dim CONN_STRING CONN_STRING = Server.MapPath("..\myfile\database\table.mdb") CONN_STRING = "driver={Microsoft Access Driver (*.mdb)};dbq=" & CONN_STRING set conn=server.createobject("ADODB.connection") set rs=server.createobject("ADODB.recordset") conn.open CONN_STRING if len(name)<>0 then conn.execute "insert into message (姓名,留言,mydate,shuyu) values ('" & name & "-" & tel & "-" & email & "','" & content & "','" & now & "','" & shuyu1 & "')" name="" tel="" email="" content="" end if function keepformat(content) if typename(content)="Null" then keepformat="" else str=replace(content," "," ") keepformat=replace(str,chr(13)+chr(10),"
") end if end function sql = "select * from message where shuyu='"& shuyu1 &"'order by mydate DESC" rs.Open sql,conn,1,1 i=0 do while not rs.eof i=i+1 redim preserve list1(i) list1(i)=rs("姓名") redim preserve list2(i) list2(i)=rs("留言") redim preserve list3(i) list3(i)=rs("mydate") redim preserve list4(i) list4(i)=rs("shuyu") redim preserve list5(i) list5(i)=rs("zhuti") redim preserve list6(i) list6(i)=rs("id") redim preserve list7(i) list7(i)=rs("reid") rs.movenext loop rs.close set rs=nothing if i=0 then %> 武汉市中心医院--就医向导-求医问药



导医查询
门诊指南
住院指南
检查指南
医护公示
点名就医
全景虚拟导航
医院布局图
医院交通图
求医问药
服务收费
联系方式

   
   首页 就医向导  求医问药                                                  求医问药搜索页
(本专栏问题我们会在一周内回复大家,请您选科留言或查看回复)
        医生回复登录处
>

姓名:
电话:
EMAIL:
留言:

 


© 2003 版权所有:武汉市中心医院    
<% else epage=3 if Request.querystring("p")="" then p=1 else p=int(Request.querystring("p")) end if if Request.querystring("p")="0" then p=1 end if if (i/epage)-(i\epage) > 0 then pages= i\epage + 1 else pages= i\epage end if if p > pages then p=pages sp = (p - 1) * epage + 1 ep = sp + epage - 1 if ep > i then ep=i %> 武汉市中心医院--就医向导-求医问药



导医查询
门诊指南
住院指南
检查指南
医护公示
点名就医
全景虚拟导航
医院布局图
医院交通图
求医问药
服务收费
联系方式

   
<% for j = sp to ep temp=split(list1(j),"-") %> <%next%>
   首页 就医向导  求医问药                                                  求医问药搜索页
(本专栏问题我们会在一周内回复大家,请您选科留言或查看回复)
<% if len(keepformat(list7(j)))<>0 then %> <%end if%>
<%=keepformat(list4(j))%>      <%=keepformat(list5(j))%>
<%=temp(0)%>:
(<%=list3(j)%>)
<%=keepformat(list2(j))%>
>
        医生回复登录处
共<%=pages%>页 第<%=p%>页 <%if p=1 then%> 上页 <%else%> 上页 <%end if%> <%if p+1 > pages then%> 下页 <%else%> 下页 <%end if%> > 转到
>

姓名:
电话:
EMAIL:
留言:

 


© 2003 版权所有:武汉市中心医院    
<%else sp = (p - 1) * epage + 1 ep = sp + epage - 1 if ep > i then ep=i %> 武汉市中心医院--就医向导-求医问药



导医查询
门诊指南
住院指南
检查指南
医护公示
点名就医
全景虚拟导航
医院布局图
医院交通图
求医问药
服务收费
联系方式

   
<% for j = sp to ep temp=split(list1(j),"-") %> <%next%>
   首页 就医向导  求医问药                                                  求医问药搜索页
(本专栏问题我们会在一周内回复大家,请您选科留言或查看回复)
<% if len(keepformat(list7(j)))<>0 then %> <%end if%>
<%=keepformat(list4(j))%>      <%=keepformat(list5(j))%>
<%=temp(0)%>:
(<%=list3(j)%>)
<%=keepformat(list2(j))%>
>
 
        医生回复登录处
共<%=pages%>页 第<%=p%>页 <%if p=1 then%> 上页 <%else%> 上页 <%end if%> <%if p+1 > pages then%> 下页 <%else%> 下页 <%end if%> > 转到
>

验证码:   如果看不清验证码,请刷新页面
姓名:
电话:
EMAIL:
留言:

 


© 2003 版权所有:武汉市中心医院    
<%end if%> <%end if%>