📄 pishi_info.asp
字号:
<%@ codepage ="936" %>
<%
if instr(session("flag_fyadmin"),"09")=0 then
response.write "<SCRIPT language=JavaScript>alert('对不起,你没有权限打开此页!');"
response.write"this.location.href='../login.asp';</SCRIPT>"
response.end
end if
%>
<!--#include file="../../inc/config.asp"-->
<!--#include file="../../conn/dbconn2.asp"-->
<LINK href="../css/Style.css" rel=stylesheet type=text/css>
<%
dim sql
dim rs
dim rstype
if not isEmpty(request("id")) then
id=request("id")
else
id=1
end if
set rs=server.createobject("adodb.recordset")
sql="select * from qyml where id="+cstr(id)+""
set rs= Server.CreateObject("ADODB.Recordset")
rs.open sql,conn,1,1
%>
<HTML><HEAD>
<meta http-equiv="Content-Language" content="zh-cn">
<TITLE>站长批示</TITLE>
<META http-equiv=Content-Type content="text/html; charset=gb2312">
<style type="text/css">
<!--
body { font-family: "宋体"; font-size: 9pt}
p { }
table { font-family: "宋体"; font-size: 9pt}
td { font-family: "宋体"; font-size: 9pt; line-height: 14pt; letter-spacing: 0pt}
a:link { text-decoration: none}
a:visited { text-decoration: none}
.unnamed1 { cursor: hand}
a:hover { color: #FF6600; text-decoration: none}
-->
</style>
<SCRIPT language=javascript src="images/zyok.JS"></SCRIPT>
<META content="Microsoft FrontPage 5.0" name=GENERATOR></HEAD>
<BODY text=#000000 bgColor=#ffffff leftMargin=0 topMargin=0 marginheight="0" marginwidth="0" background="images/bg.gif" >
<script LANGUAGE="JavaScript">
function check()
{
if (document.Form1.linkman.value=="")
{
alert("请填写联系人")
document.Form1.linkman.focus()
document.Form1.linkman.select()
return
}
if (document.Form1.company.value=="")
{
alert("请填写公司名称")
document.Form1.company.focus()
document.Form1.company.select()
return
}
if (document.Form1.address.value=="")
{
alert("请填写联系地址")
document.Form1.address.focus()
document.Form1.address.select()
return
}
if (document.Form1.postcode.value=="")
{
alert("请填写邮政编码")
document.Form1.postcode.focus()
document.Form1.postcode.select()
return
}
if (document.Form1.postcode.value=="")
{
alert("请填写邮政编码")
document.Form1.postcode.focus()
document.Form1.postcode.select()
return
}
if (document.Form1.phone.value=="")
{
alert("请填写联系电话")
document.Form1.phone.focus()
document.Form1.phone.select()
return
}
if (document.Form1.email.value=="")
{
alert("请填写电子邮件")
document.Form1.email.focus()
document.Form1.email.select()
return
}
if (document.Form1.content.value=="")
{
alert("反馈信息不能为空")
document.Form1.content.focus()
document.Form1.content.select()
return
}
document.Form1.submit()
}
</SCRIPT>
<form method="POST" action="pishi_save.asp" name="Form1">
<div align="center">
<table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="502" height="397">
<tr>
<td width="510">
<TABLE border=0 cellPadding=3 cellSpacing=4 width="354">
<TBODY>
<TR>
<TD width="78"><FONT color=#ff6600>*</FONT> 联 系 人:</TD>
<TD width="252">
<input type="text" size="33" name="linkman" value=<%=myname%>></TD></TR>
<TR>
<TD width="78"><FONT color=#ff6600>*</FONT> 公司名称:</TD>
<TD width="252">
<input type="text" size="33" name="company" value=<%=Company%>></TD></TR>
<TR>
<TD width="78"><FONT color=#ff6600>*</FONT> 联系地址:</TD>
<TD width="252">
<input type="text" size="33" name="address" value=<%=add%>></TD></TR>
<TR>
<TD width="78"><FONT color=#ff6600>*</FONT> 邮 编:</TD>
<TD width="252">
<input type="text" size="33" name="postcode" value=<%=yb%>></TD></TR>
<TR>
<TD width="78"><FONT color=#ff6600>*</FONT> 电 话:</TD>
<TD width="252">
<input type="text" size="33" name="phone" value=<%=Systemtel%>></TD></TR>
<TR>
<TD width="78"><FONT color=#ff6600>*</FONT> 传 真:</TD>
<TD width="252">
<input type="text" size="33" name="fax" value=<%=fax%>></TD></TR>
<TR>
<TD width="78"><FONT color=#ff6600>*</FONT> 电子邮件:</TD>
<TD width="252">
<input type="text" size="33" name="email" value=<%=email%>></TD></TR>
</TBODY>
</TABLE>
</td>
</tr>
<tr>
<td height=100 width="510" valign="top"> <FONT color=#ff6600>*</FONT> 站长批示: <TEXTAREA cols=66 name=content rows=6 style="border-style: solid; border-width: 1"></TEXTAREA></td>
</tr>
<input type="hidden" name="bookid" value="<%=rs("id")%>">
<tr>
<td align="center" height="20" width="510">
<input type="button" value="确 定" onclick="check()"><IMG height=1 width=80><INPUT name=reset class="smallinput" type="button" value="返 回" onclick=javascript:history.go(-1)>
</td>
</tr>
</table>
</div>
</form>
<%rs.close
set rs=nothing
conn.close
set conn=nothing
%>
</BODY></HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -