Bmod.asp 3.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980
  1. <%Session.CodePage=65001%>
  2. <html>
  3. <head>
  4. <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  5. <title>BdeCMS网站后台管理登陆</title>
  6. <meta name="Keywords" content="网站后台管理系统,网站内容管理系统,asp网站后台管理系统,西安网站建设,西安网络公司" />
  7. <link rel="stylesheet" type="text/css" href="../bdcommx/css.css">
  8. </head>
  9. <!--#include file="../bdcommx/connxyz.asp"-->
  10. <%call log_chk()%>
  11. <body>
  12. <%if request("act")="mod" then
  13. Set rs1= Server.CreateObject ("ADODB.RecordSet")
  14. sql="select * from bdmessage where mx_id="&request("thex")&""
  15. rs1.open sql,conn,1,3
  16. rs1("mx_hf")=request("hfnote")
  17. rs1("mx_open")=request("Online")
  18. rs1.update
  19. rs1.close
  20. set rs1=nothing
  21. call GoUrl("Bmod.asp?thex="&request("thex")&"","提交成功!")
  22. end if%>
  23. <table width="100%" height="42" border="0" cellpadding="0" cellspacing="0"><tr>
  24. <td width="18" height="42" align="center" background="../images/top_bg2.jpg"><img src="../images/dian.gif" width="10" height="10" /></td>
  25. <td background="../images/top_bg2.jpg" class="hui12">后台管理:&gt;&gt; 查看</td>
  26. </tr>
  27. </table>
  28. <table width="95%" border="0" align="center" cellpadding="5" cellspacing="1" class="tab_bdr">
  29. <form name="myform" method="post" action="?act=mod">
  30. <%dim thex
  31. thex=request("thex")
  32. Set rs1= Server.CreateObject ("ADODB.RecordSet")
  33. sql="select * from bdmessage where mx_id="&thex&" order by mx_time desc"
  34. rs1.open sql,conn,1,3%>
  35. <tr>
  36. <td height="30" colspan="4" align="center" class="tab_bdr" background="../images/bg2.jpg"><strong>查看</strong></td>
  37. </tr>
  38. <tr>
  39. <td width="16%" height="26" align="right" class="NcB_bg">公司名称:</td>
  40. <td width="50%" align="left" class="NcB_bg"><%=rs1("mx_title")%>
  41. <input name="thex" type="hidden" id="thex" value="<%=rs1(0)%>" /></td>
  42. <td width="13%" align="right" class="NcB_bg">日期:</td>
  43. <td width="21%" align="left" class="NcB_bg"><%=rs1("mx_time")%></td>
  44. </tr> <tr>
  45. <td width="16%" height="26" align="right" class="NcB_bg">申请人:</td>
  46. <td align="left" class="NcB_bg"><font color="red"><%=rs1("mx_name")%></font></td>
  47. <td align="right" class="NcB_bg">电话:</td>
  48. <td align="left" class="NcB_bg"><%=rs1("mx_tel")%></td>
  49. </tr> <tr>
  50. <td width="16%" height="26" align="right" class="NcB_bg">通信地址:</td>
  51. <td align="left" class="NcB_bg"><%=rs1("mx_email")%></td>
  52. <td align="right" class="NcB_bg">营业执照号码:</td>
  53. <td align="left" class="NcB_bg"><%=rs1("mx_qq")%></td>
  54. </tr> <tr>
  55. <td width="16%" height="26" align="right" class="NcB_bg">部门/职:</td>
  56. <td colspan="3" align="left" class="NcB_bg"><%=rs1("mx_note")%></td>
  57. </tr>
  58. <tr>
  59. <td width="16%" height="26" align="right" class="NcB_bg">所属行业:</td>
  60. <td colspan="3" align="left" class="NcB_bg">
  61. <%=rs1("mx_hf")%></td>
  62. </tr>
  63. <!-- <tr>
  64. <td width="16%" height="26" align="right" class="NcB_bg">是否隐藏:</td>
  65. <td colspan="3" align="left" class="NcB_bg"><input name="Online" type="radio" value="0" <%if rs1("mx_open")=0 then%>checked="checked"<%end if%>>
  66. 隐藏<input type="radio" name="Online" value="1" <%if rs1("mx_open")=1 then%>checked="checked"<%end if%>/>公开 </td>
  67. </tr>
  68. <tr>
  69. <td width="16%" height="26" align="right" class="NcB_bg">&nbsp;</td>
  70. <td colspan="3" align="left" class="NcB_bg"><input type="submit" name="Submit" value="回复留言" /></td>
  71. </tr>-->
  72. <%rs1.close
  73. set rs1=nothing%>
  74. </form>
  75. </table>
  76. </body>
  77. </html>