📄 detail.php
字号:
<?
include_once("inc/auth.php");
?>
<html>
<head>
<title>交往详细资料 </title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
</head>
<?
$query = "SELECT * from CONTACT where CONTACT_ID=$CONTACT_ID";
$cursor= exequery($connection,$query);
if($ROW=mysql_fetch_array($cursor))
{
$CUSTOMER_ID1=$ROW["CUSTOMER_ID"];
$CONTACT_DATE1=$ROW["CONTACT_DATE"];
$CONTACT_DATE1=strtok($CONTACT_DATE1," ");
$CONTACT_CONTENT1=$ROW["CONTACT_CONTENT"];
$LINKMAN_NAME1=$ROW["LINKMAN_NAME"];
$MEMO1=$ROW["MEMO"];
$query = "SELECT CUSTOMER_NAME from CUSTOMER where CUSTOMER_ID='$CUSTOMER_ID1'";
$cursor= exequery($connection,$query);
if($ROW=mysql_fetch_array($cursor))
$CUSTOMER_NAME=$ROW["CUSTOMER_NAME"];
$CUSTOMER_NAME=str_replace("<","<",$CUSTOMER_NAME);
$CUSTOMER_NAME=str_replace(">",">",$CUSTOMER_NAME);
$CUSTOMER_NAME=stripslashes($CUSTOMER_NAME);
$CONTACT_DATE1=str_replace("<","<",$CONTACT_DATE1);
$CONTACT_DATE1=str_replace(">",">",$CONTACT_DATE1);
$CONTACT_DATE1=stripslashes($CONTACT_DATE1);
$CONTACT_CONTENT1=str_replace("<","<",$CONTACT_CONTENT1);
$CONTACT_CONTENT1=str_replace(">",">",$CONTACT_CONTENT1);
$CONTACT_CONTENT1=stripslashes($CONTACT_CONTENT1);
$LINKMAN_NAME1=str_replace("<","<",$LINKMAN_NAME1);
$LINKMAN_NAME1=str_replace(">",">",$LINKMAN_NAME1);
$LINKMAN_NAME1=stripslashes($LINKMAN_NAME1);
$MEMO1=str_replace("<","<",$MEMO1);
$MEMO1=str_replace(">",">",$MEMO1);
$MEMO1=stripslashes($MEMO1);
}
?>
<body class="bodycolor" topmargin="5">
<table border="0" width="100%" cellspacing="0" cellpadding="3" class="small">
<tr>
<td class="Big"><img src="/images/edit.gif" WIDTH="22" HEIGHT="20" align="absmiddle"><span class="big3"> 交往详细信息</span>
</td>
</tr>
</table>
<table border="0" cellspacing="1" width="450" class="small" bgcolor="#000000" cellpadding="3" align="center" >
<form name="form1">
<tr>
<td nowrap class="TableData">客户名称: </td>
<td class="TableData">
<?=$CUSTOMER_NAME?>
</td>
</tr>
<tr>
<td nowrap class="TableData">交往日期: </td>
<td nowrap class="TableData">
<?=$CONTACT_DATE1?>
</td>
</tr>
<tr>
<td nowrap class="TableData" width="120">交往内容:</td>
<td nowrap class="TableData">
<?=$CONTACT_CONTENT1?>
</td>
</tr>
<tr>
<td nowrap class="TableData">联系人: </td>
<td nowrap class="TableData">
<?=$LINKMAN_NAME1?>
</td>
</tr>
<tr>
<td nowrap class="TableData">备注: </td>
<td nowrap class="TableData">
<?=$MEMO1?>
</td>
</tr>
<tr align="center" class="TableControl">
<td colspan="2">
<input type="button" value="关闭" class="BigButton" onClick="javascript:window.close();">
</td>
</tr>
</form>
</table>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -