📄 genjin_editok.asp
字号:
<!--#include file="conn.asp" -->
<%
if session("name")="" or session("dd")="" then
response.write "SORRY <br>"
response.write "数据在携带中出现意外!<br>"
response.write "<a href=login.asp target=_top>回去重来</a>"
response.end
end if
if session("quanxian")="1" then
response.write "SORRY <br>"
response.write "您的权限不够!请勿尝试非法访问!<br>"
response.end
end if
%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<meta name="GENERATOR" content="Microsoft FrontPage 6.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<title>客户管理系统</title>
<%
dim time
'--------------------------------------------------------
title=Request.Form ("title")
kongzhi=session("name")
content=Request.Form ("content")
time=Request.Form ("time")
mclass=session("dd")
cust_s=Request.Form ("cust")
company=Request.Form ("company")
if content="" then content="无注释" end if
%>
<div align="center">
<div align="center">
<table border="0" width="554" id="table2" cellspacing="0" cellpadding="0">
<tr>
<td style="font-family: 宋体,'Arial Narrow','Times New Roman'; font-size: 9pt; line-height: 150%"> </td>
</tr>
<tr>
<td style="font-family: 宋体,'Arial Narrow','Times New Roman'; font-size: 9pt; line-height: 150%">
<font color="#FF0000">修改记录成功!</font></td>
</tr>
<tr>
<td style="font-family: 宋体,'Arial Narrow','Times New Roman'; font-size: 9pt; line-height: 150%"> </td>
</tr>
</table>
</div>
<table border="0" width="554" cellspacing="1" cellpadding="0" height="1" bgcolor="#DADADA" id="table1">
<tr>
<td width="143" bgcolor="#EBEBEB" height="25" align="right" style="font-family: 宋体,'Arial Narrow','Times New Roman'; font-size: 9pt; line-height: 150%">
标题 </td>
<td width="408" bgcolor="#FFFFFF" height="25" style="font-family: 宋体,'Arial Narrow','Times New Roman'; font-size: 9pt; line-height: 150%"> <%=title%></td>
</tr>
<tr>
<td width="143" bgcolor="#EBEBEB" height="25" align="right" style="font-family: 宋体,'Arial Narrow','Times New Roman'; font-size: 9pt; line-height: 150%">
所属单位 </td>
<td width="408" bgcolor="#FFFFFF" height="25" style="font-family: 宋体,'Arial Narrow','Times New Roman'; font-size: 9pt; line-height: 150%"> <%=company%></td>
</tr>
<tr>
<td width="143" bgcolor="#EBEBEB" height="25" align="right" style="font-family: 宋体,'Arial Narrow','Times New Roman'; font-size: 9pt; line-height: 150%">
内容 </td>
<td width="408" bgcolor="#FFFFFF" height="25" style="font-family: 宋体,'Arial Narrow','Times New Roman'; font-size: 9pt; line-height: 150%"> <%=content%></td>
</tr>
<tr>
<td width="143" bgcolor="#EBEBEB" height="25" align="right" style="font-family: 宋体,'Arial Narrow','Times New Roman'; font-size: 9pt; line-height: 150%">
录入人 </td>
<td width="408" bgcolor="#FFFFFF" height="25" style="font-family: 宋体,'Arial Narrow','Times New Roman'; font-size: 9pt; line-height: 150%"> <%=kongzhi%></td>
</tr>
<tr>
<td width="143" bgcolor="#EBEBEB" height="25" align="right" style="font-family: 宋体,'Arial Narrow','Times New Roman'; font-size: 9pt; line-height: 150%">
录入时间 </td>
<td width="408" bgcolor="#FFFFFF" height="25" style="font-family: 宋体,'Arial Narrow','Times New Roman'; font-size: 9pt; line-height: 150%"> <%=time%></td>
</tr>
</table>
</div>
<%
'--------------------------------------------------------
dim rs,sql
set rs=server.createobject("adodb.recordset")
if session("chayue")="0" then
sql="select * from genjin where id="&request("id")&" and vest_m="&session("dd")&" and cust_s="&request("cust")&""
else
sql="select * from genjin where id="&request("id")&" and kongzhi='"&session("name")&"' and vest_m="&session("dd")&" and cust_s="&request("cust")&""
end if
rs.open sql,conn,1,3
'--------------------------------------------------------
rs("title")=title
rs("content")=content
rs("cust_s")=cust_s
rs("vest_m")=mclass
rs("kongzhi")= kongzhi
'--------------------------------------------------------
rs.Update
rs.Close
set rs=nothing
%>
<center> <p><a href="genjin_add.asp?company=<%=company%>&id=<%=cust_s%>&mclass=<%=session("dd")%>&sclass=<%=request("sclass")%>"><font size="2" color="#FF0000">
<span style="text-decoration: none">添加新的跟进记录</span></font></a><font size="2" color="#FF0000">
</font><a href="c_userlist.asp?mclass=<%=session("dd")%>&cust_s=<%=cust_s%>&sclass=<%=request("sclass")%>"><font size="2" color="#FF0000">
<span style="text-decoration: none">返回客户信息</span></font></a></p>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -