Dmod.asp 3.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  2. <html xmlns="http://www.w3.org/1999/xhtml">
  3. <head>
  4. <meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
  5. <title>网站后台管理登陆</title>
  6. <meta name="Keywords" content="网站后台管理系统,网站内容管理系统,asp网站后台管理系统,西安网站建设,
  7. 西安网络公司" />
  8. <meta name="web designner" content="">
  9. <link rel="stylesheet" type="text/css" href="../bdcommx/css.css">
  10. </head>
  11. <!--#include file="../bdcommx/connxyz.asp"-->
  12. <%
  13. call log_chk()
  14. %>
  15. <body>
  16. <%if request("act")="mod" then
  17. Set rs1= Server.CreateObject ("ADODB.RecordSet")
  18. sql="select * from bdkhdg where dg_id="&request("thex")&""
  19. rs1.open sql,conn,1,3
  20. rs1("dg_hf")=request("hfnote")
  21. rs1("dg_open")=request("Online")
  22. rs1.update
  23. rs1.close
  24. set rs1=nothing
  25. call GoUrl("Dmod.asp?thex="&request("thex")&"","提交成功!")
  26. end if
  27. %>
  28. <table width="100%" height="42" border="0" cellpadding="0" cellspacing="0"><tr>
  29. <td width="18" height="42" align="center" background="../images/top_bg2.jpg"><img src="../images/dian.gif" width="10" height="10" /></td>
  30. <td background="../images/top_bg2.jpg" class="hui12">后台管理:&gt;&gt; 订单查看处理</td>
  31. </tr>
  32. </table>
  33. <table width="95%" border="0" align="center" cellpadding="5" cellspacing="1" class="tab_bdr">
  34. <form name="myform" method="post" action="?act=mod">
  35. <%dim thex
  36. thex=request("thex")
  37. Set rs1= Server.CreateObject ("ADODB.RecordSet")
  38. sql="select * from bdkhdg where dg_id="&thex&" order by dg_time desc"
  39. rs1.open sql,conn,1,3
  40. %><tr>
  41. <td height="30" colspan="4" align="center" class="tab_bdr" background="../images/bg2.jpg"><strong>订单查看处理</strong></td>
  42. </tr>
  43. <tr>
  44. <td width="16%" height="26" align="right" class="NcB_bg">产品名称:</td>
  45. <td width="50%" align="left" class="NcB_bg"><%=rs1("cp_name")%>
  46. <input name="thex" type="hidden" id="thex" value="<%=rs1(0)%>" /></td>
  47. <td width="13%" align="right" class="NcB_bg">提交日期:</td>
  48. <td width="21%" align="left" class="NcB_bg"><%=rs1("dg_time")%></td>
  49. </tr> <tr>
  50. <td width="16%" height="26" align="right" class="NcB_bg">姓名:</td>
  51. <td align="left" class="NcB_bg"><font color="red"><%=rs1("kh_name")%></font></td>
  52. <td align="right" class="NcB_bg">电话:</td>
  53. <td align="left" class="NcB_bg"><%=rs1("kh_tel")%></td>
  54. </tr>
  55. <tr>
  56. <td width="16%" height="26" align="right" class="NcB_bg">地址:</td>
  57. <td align="left" class="NcB_bg"><%=rs1("kh_address")%></td>
  58. <td align="right" class="NcB_bg">订购数量:</td>
  59. <td align="left" class="NcB_bg"><%=rs1("cp_sl")%></td>
  60. </tr>
  61. <tr>
  62. <td width="16%" height="26" align="right" class="NcB_bg">说明:</td>
  63. <td colspan="3" align="left" class="NcB_bg"><%=rs1("kh_note")%></td>
  64. </tr> <tr>
  65. <td width="16%" height="26" align="right" class="NcB_bg">处理说明:</td>
  66. <td colspan="3" align="left" class="NcB_bg">
  67. <textarea name="hfnote" cols="70" rows="8" id="hfnote"><%=rs1("dg_hf")%></textarea></td>
  68. </tr> <tr>
  69. <td width="16%" height="26" align="right" class="NcB_bg">是否隐藏:</td>
  70. <td colspan="3" align="left" class="NcB_bg"><input name="Online" type="radio" value="0" <%if rs1("dg_open")=0 then%>checked="checked"<%end if%>>
  71. 未处理
  72. <input type="radio" name="Online" value="1" <%if rs1("dg_open")=1 then%>checked="checked"<%end if%>/>
  73. 已处理 </td>
  74. </tr> <tr>
  75. <td width="16%" height="26" align="right" class="NcB_bg">&nbsp;</td>
  76. <td colspan="3" align="left" class="NcB_bg"><input type="submit" name="Submit" value="处理订单" /></td>
  77. </tr>
  78. <%
  79. rs1.close
  80. set rs1=nothing
  81. %>
  82. </form>
  83. </table>
  84. </body>
  85. </html>