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

📄 admin_fankui.asp

📁 ASP+Accesss数据库设备WEB报修
💻 ASP
字号:
<%if session("pass")<>"ok" then 
    Response.Redirect "index.asp"
    Response.End 
  end if
%>
<!--#include file ="conn.asp"-->
<!--#include file="ChkURL.asp"-->
<html>
<head>
<title>后台管理</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link href="style.css" rel="stylesheet" type="text/css">
<SCRIPT language=javascript>
function  save_onclick()
{
  var strTemp = document.forms.weixiu_zhuangtai.value;
  if (strTemp.length == "" )
  {
      alert("请选择维修状态!");
      document.forms.weixiu_zhuangtai.focus();
      return false;
  }
  var strTemp = document.forms.weixiu_main.value;
  if (strTemp.length == "" )
  {
      alert("请输入维修反馈!");
      document.forms.weixiu_main.focus();
      return false;
  }  
}
</SCRIPT>
</head>
<body leftmargin="0" topmargin="0" >
<%
baoxiu_id=cint(request("baoxiu_id"))
dim rs
if baoxiu_id<>"" and baoxiu_id="0" then
	Response.Write "<script>alert('未指定参数');history.back()</script>"
	response.end
else
 set rs=server.createobject("adodb.recordset")
 sql="select *  from baoxiu where baoxiu_id=" & baoxiu_id
 rs.open sql,conn,3,2
 	if rs.eof and rs.bof then
		rs.close
		set rs=nothing
		Response.Write "<script>alert('指定的ID不存在!');history.back()</script>"
		response.end
	end if 
end if
%>
<table width="99%" border="0" align="center" cellpadding="0" cellspacing="1" class="TableBorder"0>
  <tr>
    <td height="30" colspan="2" align="center" class="TableTitle1"><b>维修反馈信息</b></td>
  </tr>
  <tr>
    <td width="100" class="TableRow2" height="25"><strong>管理快捷方式:</strong></td>
    <td class="TableRow2"><a href="Admin_system.asp">网站信息设置</a> | <a href="admin_baoxiu_list.asp" target="main">报修管理</a></td>
  </tr>
</table>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td height="20"></td>
  </tr>
</table>
<table width="100%" border="0" align="center" cellpadding="0" cellspacing="0" class="TableBorder">
      <tr>
        <td align="center" valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="0">
              <form name="forms" method="post" action="admin_fankui_save.asp?baoxiu_id=<%=baoxiu_id%>"  onSubmit="return save_onclick()">
                <tr>
                  <td><table width="100%" border="0" cellpadding="0" cellspacing="1">
                  <tr>
                        <td height="25" colspan="2" align="center" bgcolor="#00CCFF" class="TableTitle1">维修人员反馈</td>
                    </tr>
                      <tr>
                        <td width="17%" height="25" align="right" class="TableRow2">管理员:</td>
                        <td height="25" class="TableRow2"><font color="#0000FF">admin</font></td>
                      </tr>
                      <tr >
                        <td width="17%" height="25" align="right" class="TableRow2">维修状态:</td>
                        <td width="83%" height="25"  class="TableRow2">
                          <select name="weixiu_zhuangtai" size=1 class=wu id="weixiu_zhuangtai">
                            <option value="已维修">已维修</option>
                            <option value="维修中">维修中</option>
                          </select>
                          <font color="#ff0000">(请您选择维修状态,默认为已维修!)</font>
                        </td>
                    </tr>
                      <tr>
                        <td width="17%" height="25" align="right" class="TableRow2">维修反馈:</td>
                        <td width="83%" height="25" class="TableRow2"><textarea name="weixiu_main" cols="65" rows="10" class="wu"></textarea>
                        <span class="style1">(不能超过250个字)</span></td>
                    </tr>
                      <tr align="center" bgcolor="#D9F0FF">
                        <td height="25" colspan="2" class="TableRow2"> 
                          <input name="Submit" type="submit" class="button2" value="发表反馈">
                          <input type="hidden" name="user_name" value="admin"><input name="Submit" type="reset" class="button2" value="重新填写"></td>
                      </tr>
                  </table>
                  </td>
                </tr>
              </form>
          </table>
          </td>
      </tr>
</table>
<!--#include file ="copyright.asp"-->
</body>
</html>

⌨️ 快捷键说明

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