📄 fankui.asp
字号:
<!--#include file =conn.asp-->
<!--#include file="admin/ChkURL.asp"-->
<%
if session("baoxiuuser_id")="" then
response.write "<script language=jscript>alert('对不起,您不是本站的注册用户或没有登陆系统!');window.location.href='index.asp';</script>"
response.end
end if
dim rs
baoxiu_id=cint(request("baoxiu_id"))
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
%>
<!--#include file =head.asp-->
<link href="admin/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>
<%
set rs_user=server.createobject("adodb.recordset")
sql="select * from user_reg where user_name='"&session("baoxiuuser_name")&"'"
rs_user.open sql,conn,3,2
%>
<%if rs_user("purview")=1 then%>
<form name="forms" method="post" action="fankui_save.asp?baoxiu_id=<%=baoxiu_id%>" onSubmit="return save_onclick()">
<table width="760" border="0" align="center" cellpadding="0" cellspacing="0" class="tableBorder5">
<tr>
<td align="center" valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td><table width="100%" border="0" cellpadding="5" cellspacing="1" >
<tr >
<td height="30" colspan="2" align="center" ><b>维 修 人 员 反 馈</b></td>
</tr>
<tr >
<td width="17%" height="30" align="right">管理员:</td>
<td height="30" > <span class="style1"><%=rs_user("user_name")%></span></td>
</tr>
<tr>
<td width="17%" height="30" align="right">修复与否:</td>
<td width="83%" height="30" >
<select name="weixiu_zhuangtai" size=1 class=wu id="weixiu_zhuangtai">
<option value="已维修" selected>已维修</option>
<option value="维修中">维修中</option>
</select>
<span class="style1">(请您选择维修状态,默认为已维修!)</span></td>
</tr>
<tr >
<td width="17%" align="right">维修反馈:</td>
<td width="83%" >
<textarea name="weixiu_main" cols="65" rows="10" class="wu"></textarea>
<span class="style1">(不能超过250个字)</span></td>
</tr>
<tr align="center">
<td height="30" colspan="2"><input type="reset" value="返 回" onclick="javascript:history.go(-1)" />
<input name="Submit" type="submit" class="button2" value="发表反馈">
<input type="hidden" name="user_name" value="<%=rs_user("user_name")%>"><input name="Submit" type="reset" class="button2" value="重新填写"></td>
</tr>
</table></td>
</tr>
</table>
</td>
</tr>
</table>
</form>
<%else%>
<script language="javascript">alert("你不是管理员,不能回复!");history.back()</script>
<%end if%>
<!--#include file =bottom.asp-->
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -