📄 khzl_zlsc_com_2.asp
字号:
<!--#include file="other/customer.inc" -->
<SCRIPT LANGUAGE="JavaScript">
function openFrameless(aaa)
{
var bbb="khzl_link_more.asp?id="+aaa
NFW =window.open(bbb,"","fullscreen");//打开一个窗口为满屏显示
NFW.resizeTo(620,450);//改变窗口大小
NFW.moveTo(200,100);//移动窗口
}
function openFrameless1(aaa)
{
var bbb="link_more_sc.asp?id="+aaa
NFW =window.open(bbb,"","fullscreen");//打开一个窗口为满屏显示
NFW.resizeTo(420,500);//改变窗口大小
NFW.moveTo(200,100);//移动窗口
}
</SCRIPT>
<%
' 将数据中的单引号改成两个单引号,并且在前后加上单引号
Function SqlStr( data )
SqlStr = "'" & Replace( data, "'", "''" ) & "'"
End Function
id=request.querystring("id")
id1=clng(id)
'与数据库*.mdb建立连接
Set conn = Server.CreateObject("ADODB.Connection")
conn.open "driver={Microsoft Access Driver (*.mdb)};pwd=webcool_2000;dbq=" & Server.MapPath("../database/customer.mdb")
Set rs = Server.CreateObject("ADODB.Recordset")
sql = "SELECT * FROM company where id="&id1
'发送一条SQL的指令
rs.Open sql, conn, 3
%>
<html>
<head>
<title>『晨景软体』-客户资源管理系统 </title>
<meta http-equiv="Content-Type" content="text/html;">
<!-- Fireworks 4.0 Dreamweaver 4.0 target. Created Tue May 22 15:23:40 GMT+0800 (?D1ú±ê×?ê±??) 2001-->
<style>
.drag{position:relative;cursor:hand}
</style>
<script language="JavaScript">
var dragapproved=false
var eventsource,x,y
function move()
{
if (event.button==1&&dragapproved) //改变被拖动元素在页面上的位置
{
self.moveBy (event.clientX-x,event.clientY-y); //改变窗体位置
return false
}
}
function drags()
{
if (!document.all)
return
if (event.srcElement.className=="drag") //捕捉鼠标当前位置
{
dragapproved=true//确信当前鼠标是按下
x=event.clientX//鼠标当前位置
y=event.clientY//鼠标当前位置
document.onmousemove=move//调动move函数
}
}
document.onmousedown=drags //鼠标左键按下时,准备拖动
document.onmouseup=new Function("dragapproved=false")//鼠标左键放开时,拖动停止
<!--
function MM_reloadPage(init) { //reloads the window if Nav4 resized
if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);
// -->
</script>
<link rel="stylesheet" href="other/customer.css">
</head>
<body bgcolor="#000000" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<table border="0" cellpadding="0" cellspacing="0" width="374" height="194">
<!-- fwtable fwsrc="无标题" fwbase="khzl_zltj_jb(2).gif" fwstyle="Dreamweaver" fwdocid = "742308039" fwnested="0" -->
<form name="form" action="khzl_zlxg_com_1.asp" method="post">
<tr>
<td width="17"><img src="images/spacer.gif" width="4" height="1" border="0"></td>
<td width="411"><img src="images/spacer.gif" width="411" height="1" border="0"></td>
<td width="4"><img src="images/spacer.gif" width="4" height="1" border="0"></td>
<td width="1"><img src="images/spacer.gif" width="1" height="1" border="0"></td>
</tr>
<tr class="title">
<td colspan="3" background="images/khzl_zltj_jb(2)_r1_c1.gif">
<div id="Layer1" style="position:absolute; width:19px; height:14px; z-index:3; left: 397px; top: 6px"><a href="javascript:window.close()"><img src="images/xx.gif" width="13" height="13" border="0"></a></div> 『晨景软体』-客户公司基本基本信息</td>
<td width="1"><img src="images/spacer.gif" width="1" height="25" border="0"></td>
</tr>
<tr>
<td rowspan="2" width="17"><img name="khzl_zltj_jb2_r2_c1" src="images/khzl_zltj_jb(2)_r2_c1.gif" width="4" height="474" border="0"></td>
<td bgcolor="#cdd5e4" width="411" height="450">
<table width="400" border="0" height="437" cellpadding="0" cellspacing="0" class="small" align="right">
<tr>
<td width="18%" height="20" class="small">
<div align="left"><font size="2" class="small">公司简称: </font></div>
</td>
<td height="20" width="25%" class="small"><font size="2">
<input type="text" name="index_1" size="16" style="background-color: #cdd5e4; border-left: 0 solid #B9B9B9; border-right: 0 solid #B9B9B9; border-top: 0 solid #B9B9B9; border-bottom: 1 solid #B9B9B9" value="<%=rs("index")%>" disabled class="small">
</font></td>
<td height="20" width="19%" class="small"><font size="2" class="small">索 引 码:</font></td>
<td height="20" width="38%" class="small"><font size="2">
<input type="text" name="search_1" size="16" style="background-color: #cdd5e4; border-left: 0 solid #B9B9B9; border-right: 0 solid #B9B9B9; border-top: 0 solid #B9B9B9; border-bottom: 1 solid #B9B9B9" value="<%=rs("search")%>" disabled class="small">
</font></td>
</tr>
<tr>
<td height="20" width="18%" class="small"><font size="2" class="small">公司电话:</font></td>
<td height="20" width="25%" class="small">
<input type="text" name="comtel" size="16" style="background-color: #cdd5e4; border-left: 0 solid #B9B9B9; border-right: 0 solid #B9B9B9; border-top: 0 solid #B9B9B9; border-bottom: 1 solid #B9B9B9" value="<%=rs("comtel")%>" disabled class="small">
</td>
<td height="20" width="19%" class="small"><font size="2" class="small">公司传真:</font></td>
<td height="20" width="38%" class="small">
<input type="text" name="comfax" size="16" style="background-color: #cdd5e4; border-left: 0 solid #B9B9B9; border-right: 0 solid #B9B9B9; border-top: 0 solid #B9B9B9; border-bottom: 1 solid #B9B9B9" value="<%=rs("comfax")%>" disabled class="small">
</td>
</tr>
<%
'建立联系人对象
SET rs1=CONN.EXECUTE("select * from linkman where siteid='"&cstr(rs("id"))&"' ")
%>
<tr>
<td width="18%" height="36" class="small"><font size="2" class="small">法人代表:</font></td>
<td width="25%" height="36" class="small">
<input type="text" name="comman" size="16" style="background-color: #cdd5e4; border-left: 0 solid #B9B9B9; border-right: 0 solid #B9B9B9; border-top: 0 solid #B9B9B9; border-bottom: 1 solid #B9B9B9" value="<%=rs("comman")%>" disabled class="small">
</td>
<td rowspan="2" height="60" valign="top" colspan="2" class="small">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td class="small" width="30%">
<div align="center">联系人列表</div>
</td>
<td width="70%" class="small">
<div align="center">
<%idno=rs("id")
response.write "<a href='javascript:openFrameless1("&idno&")'>删除...</a>"
%>
</div>
</td>
</tr>
</table>
<table width="75%" border="0" cellspacing="0" cellpadding="0" bgcolor="#616228">
<tr>
<td><img src="images/spacer.gif" width="1" height="1"></td>
</tr>
</table>
<table width="100%" border="0" cellspacing="0" cellpadding="0" align="center">
<tr>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -