_edit_id.asp
来自「适用于网络/信息企业」· ASP 代码 · 共 108 行
ASP
108 行
<!--#include file="../INC/Conn.asp"-->
<!--#include file="inc/Check.asp"-->
<!--#include file="inc/public.asp"-->
<!--#include File="Procedure.asp"-->
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>亿博尔</title>
</head>
<link href="Images/Admin.css" rel="stylesheet" type="text/css">
<body>
<table width="98%" height="40" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td><table width="100%" border="0" align="center" cellpadding="2" cellspacing="1" bgcolor="#D8D8D8">
<tr>
<td height="30" align="left" bgcolor="ffffff"><table width="100%" height="100%" border="0" cellpadding="3" cellspacing="0">
<tr bgcolor="eeeeee">
<td width="5%" align="center"><img src="Images/1.gif" width="13" height="12"></td>
<td width="78%"><span class="style2">管理中心 >>> 全部客户</span></td>
<td width="17%" align="right">
</td>
</tr>
</table></td>
</tr>
</table></td>
</tr>
</table>
<table width="98%" height="90%" border="0" align="center" cellpadding="0" cellspacing="1" bgcolor="#D8D8D8">
<tr>
<td valign="top" bgcolor="ffffff"><table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td align="center" bgcolor="ffffff">
<table width=100% border=0 align='center' cellpadding=3 cellspacing=1 bordercolordark=#ffffff bgcolor="eaeaea">
<td width="3%">
<tr align="left" bgcolor="ffffff">
<td height="20" colspan="3" background="Images/box_bg.gif">客户名称</td>
<td width="15%" height="20" background="Images/box_bg.gif" bgcolor="ffffff">状态
<td width="15%" height="20" background="Images/box_bg.gif" bgcolor="ffffff">联系人</td>
<td width="15%" background="Images/box_bg.gif" bgcolor="ffffff">联系记录</td>
<td width="15%" background="Images/box_bg.gif" bgcolor="ffffff">详细资料</td>
</tr>
<%
SQL = "select top 50 * from Buyer_Info where ok=0"
Set Rs=server.CreateObject("adodb.recordset")
Rs.open SQL,Conn,1,1
IF Rs.Eof and Rs.BOF Then
Response.Write("完成")
Response.End()
End IF
While Not rs.eof
ID = Int(Rs("ID"))
Buyer_ID = makerndid(30)
Do While IsqrRanid(Buyer_ID)
Buyer_ID = makerndid(30)
Loop
Conn.Execute("Update Buyer_Info Set Buyer_ID='"& Buyer_ID &"',ok=1 where ID="& ID &"")
Rs.MoveNext
Wend
rs.close
set rs=nothing
Response.Write("进行中…")
Response.Write("<meta http-equiv=""refresh"" content=""1;url=Edit_ID.asp"">")
%>
</table></td>
</tr>
</table>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td height="24" colspan="3" align="center" valign="middle" background="Images/box_bg_1.gif">
</td>
<td width="51%" height="24" align="right" valign="middle" background="Images/box_bg_1.gif">
</td>
</tr>
</table>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td height="1" bgcolor="#E2E1E1"></td>
</tr>
</table>
</td>
</tr>
</table>
<table width="98%" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td height="6"></td>
</tr>
</table>
</body>
</html>
<script language="javascript">
<!--
function Buyer_State(id){
window.open("Buyer_State.asp?id="+id+"","","width=500,height=300");
}
//-->
</script>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?