manager_edit_list.asp

来自「房地产管理系统 vb写的,很不错!!!!!!!!!!!」· ASP 代码 · 共 309 行 · 第 1/2 页

ASP
309
字号
 
<!--#include file="../inc/conn.asp"--><%'┌─  风云ASP在线  ────────────────────────┐'│                                                                 │'│  作者:赵振波.	http://www.fyasp.com	    				    │'│                                                                 │'│   Q Q:176189168  										   	    │'│                                                                 │'│ Email:fy96@163.com                                             │'│                                                                 │'│ 程序定做,系统开发,网站制作,提供高质量的网络产品、技术和服务!│'│                                                                 │'│                                                                 │'└───────────────────  http://www.fyasp.com ──┘%>
<% 
     if instr(session("manager"),"manager")=0 then
     response.redirect "manage.asp"
     response.end
end if
%>
<html>
<!-- DW6 -->
<head>
<title>后台管理系统</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link rel="stylesheet" href="../ht.css" type="text/css">
<script language="JavaScript" type="text/JavaScript">
<!--
function MM_jumpMenu(targ,selObj,restore){ //v3.0
  eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");
  if (restore) selObj.selectedIndex=0;
}
//-->
</script>
</head>

<body bgcolor="#666666" text="#000000" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<!-- ImageReady Slices (index.psd) -->
<table width="778" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr> 
    <td><img src="../images/ht_01.gif" width=778 height=62 usemap="#Map" border="0"></td>
  </tr>
</table>
<table width="778" border="0" align="center" cellpadding="0" cellspacing="0" background="../images/htbj.gif">
  <tr> 
    <td valign="top" align="left" width="145" height="395">
      <!--#include file="List.asp" -->
    </td>
    <td height="395" align="center" valign="top"> <br> <table width="621" border="0" cellspacing="0" cellpadding="0" height="98">
        <tr> 
          <td align="center" valign="top"> <table width="606" border="0" cellspacing="0" cellpadding="0">
              <tr> 
                <td height="18"><img src="../images/httable_01.gif" width=606 height=17></td>
              </tr>
              <tr> 
                <td background="../images/httable_02.gif" height="34" align="center" valign="top"> 
                  <table width="315" border="0" cellspacing="0" cellpadding="0" height="26">
                    <tr> 
                      <td width="30%"> <div align="center"><a href="manager_add.asp">[增加管理员]</a></div></td>
                      <td width="30%"> <div align="center"><a href="manager_del.asp">[删除管理员]</a></div></td>
                      <td width="30%"> <div align="center"><a href="manager_edit.asp">[修改密码]</a></div></td>
                    </tr>
                  </table>
                  <table width="600" border="0" cellspacing="0" cellpadding="0">
                    <tr> 
                      <td> <hr noshade size="1"> </td>
                    </tr>
                  </table></td>
              </tr>
              <tr> 
                <td background="../images/httable_02.gif" height="268" align="center" valign="top"> 
                  <form method="post" action="manager_edit_ok.asp?id=<%=request("id")%>" name="form1">
                    <div align="center"> 
                      <center>
                        <font color="#FFCCCC"> <font color="#FFCC99">修改管理员密码</font></font><br>
                        <br>
                        <div align="center"> 
                          <center>
                            <%
						  opendataconn
						  id=trim(request("id"))
						  if id<>"" then
						  set rs=server.createobject("adodb.recordset")
						  sql="select * from manager66 where id="&id&""
						  rs.open sql,conn,1,1
						  if not rs.eof then
						  %>
                            <table border="0" width="77%" cellspacing="1" cellpadding="0" height="367">
                              <tr> 
                                <% id=request("id")%>
                                <td width="100%" height="25">只提供管理员修改密码的服务!</td>
                              </tr>
                              <tr> 
                                <td width="100%" height="24">&nbsp; 修改管理员密码: 
                                  <input name="upwd1" type="password" value="<%=trim(rs("pwd"))%>" size="20" maxlength=20> 
                                </td>
                              </tr>
                              <tr> 
                                <td width="100%" height="26">&nbsp; 确认密码: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
                                  <input name="upwd2" type="password" value="<%=trim(rs("pwd"))%>" size="20" maxlength=20> 
                                  <input type="hidden" name=id value=<%=request("id")%>> 
                                </td>
                              </tr>
                              <tr> 
                                <td height="30" class="black"> <%if rs("gonggao")="1" then%> <input name="gonggao" type="checkbox"  class="inputblack" id="gonggao" value="1" checked>
                                  <%else%> <input name="gonggao" type="checkbox"  class="inputblack" id="gonggao" value="1"> 
                                  <%end if%>
                                  公告管理 
                                  <%if rs("news")="1" then%> <input name="news" type="checkbox" id="news" value="1"   class="inputblack" checked> 
                                  <%else%> <input name="news" type="checkbox" id="news" value="1"   class="inputblack"> 
                                  <%end if%>
                                  新闻专区 
                                  <%if rs("ads")="1" then%> <input name="ads" type="checkbox" id="ads" value="1"    class="inputblack" checked> 
                                  <%else%> <input name="ads" type="checkbox" id="ads" value="1"    class="inputblack"> 
                                  <%end if%>
                                  广告管理 
                                  <%if rs("images")="1" then%> <input name="images" type="checkbox" id="images" value="1"    class="inputblack" checked> 
                                  <%else%> <input name="images" type="checkbox" id="images" value="1"    class="inputblack"> 
                                  <%end if%>
                                  图片管理 
                                  <%if rs("ADMIN")="1" then%> <input name="ADMIN" type="checkbox" id="ADMIN" value="1"    class="inputblack" checked> 
                                  <%else%> <input name="ADMIN" type="checkbox" id="ADMIN" value="1"    class="inputblack"> 
                                  <%end if%>
                                  管理员信息</td>
                              </tr>
                              <tr> 
                                <td height="30" class="black"> <%if rs("hyetype")="1" then%> <input name="hyetype" type="checkbox" id="hyetype" value="1"   class="inputblack" checked> 
                                  <%else%> <input name="hyetype" type="checkbox" id="hyetype" value="1"   class="inputblack"> 
                                  <%end if%>
                                  黄页类别 
                                  <%if rs("hyedetail")="1" then%> <input name="hyedetail" type="checkbox" id="hyedetail" value="1" class="inputblack" checked> 
                                  <%else%> <input name="hyedetail" type="checkbox" id="hyedetail" value="1" class="inputblack"> 
                                  <%end if%>
                                  企业黄页 
                                  <%if rs("newhouse")="1" then%> <input name="newhouse" type="checkbox" id="newhouse" value="1"   class="inputblack" checked> 
                                  <%else%> <input name="newhouse" type="checkbox" id="newhouse" value="1"   class="inputblack"> 
                                  <%end if%>
                                  楼盘展示 
                                  <%if rs("sphouse")="1" then%> <input name="Sphouse" type="checkbox" id="Sphouse" value="1"   class="inputblack" checked> 
                                  <%else%> <input name="Sphouse" type="checkbox" id="Sphouse" value="1"   class="inputblack"> 
                                  <%end if%>
                                  视频楼盘管理</td>
                              </tr>
                              <tr> 
                                <td height="30" class="black"> <%if rs("tjhouse")="1" then%> <input name="Tjhouse" type="checkbox" id="Tjhouse" value="1"   class="inputblack" checked> 
                                  <%else%> <input name="Tjhouse" type="checkbox" id="Tjhouse" value="1"   class="inputblack"> 
                                  <%end if%>
                                  推荐楼盘管理 
                                  <%if rs("house")="1" then%> <input name="house" type="checkbox" id="house" value="1"   class="inputblack" checked> 
                                  <%else%> <input name="house" type="checkbox" id="house" value="1"   class="inputblack"> 
                                  <%end if%>
                                  房产信息 
                                  <%if rs("gl_old")="1" then%> <input name="gl_old" type="checkbox" id="gl_old" value="1"   class="inputblack" checked> 

⌨️ 快捷键说明

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