⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 index.php

📁 极限网络智能办公系统—MYOA26—100%—源程序。
💻 PHP
字号:
<?php

include_once( "inc/auth.php" );
echo "\r\n<html>\r\n<head>\r\n<title>查询联系人 </title>\r\n<meta http-equiv=\"Content-Type\" content=\"text/html; charset=gb2312\">\r\n";
echo "<s";
echo "cript>\r\nfunction td_calendar(fieldname)\r\n{\r\n  myleft=document.body.scrollLeft+event.clientX-event.offsetX-80;\r\n  mytop=document.body.scrollTop+event.clientY-event.offsetY+140;\r\n\r\n  window.showModalDialog(\"/inc/calendar.php?FIELDNAME=\"+fieldname,self,\"edge:raised;scroll:0;status:0;help:0;resizable:1;dialogWidth:280px;dialogHeight:205px;dialogTop:\"+mytop+\"px;dialogLeft:\"+myleft+\"px\");\r\n}\r\nfunction L";
echo "oadWindow()\r\n{\r\n  URL=\"/general/crm/customer/customer_select\";\r\n  loc_x=document.body.scrollLeft+event.clientX-event.offsetX-100;\r\n  loc_y=document.body.scrollTop+event.clientY-event.offsetY+170;\r\n  window.showModalDialog(URL,self,\"edge:raised;scroll:0;status:0;help:0;resizable:1;dialogWidth:320px;dialogHeight:245px;dialogTop:\"+loc_y+\"px;dialogLeft:\"+loc_x+\"px\");\r\n}\r\n</script>\r\n</head>\r\n\r\n<body class";
echo "=\"bodycolor\" topmargin=\"5\">\r\n\r\n";
$connection = openconnection( );
$query = "SELECT COUNT(*) from LINKMAN";
$cursor = exequery( $connection, $query );
if ( $ROW = mysql_fetch_array( $cursor ) )
{
	$LINKMAN_COUNT = $ROW[0];
}
if ( $CUSTOMER_ID2 != "" )
{
	$query = "SELECT CUSTOMER_NAME from CUSTOMER where CUSTOMER_ID={$CUSTOMER_ID2}";
	$cursor = exequery( $connection, $query );
	if ( $ROW = mysql_fetch_array( $cursor ) )
	{
		$CUSTOMER_NAME = $ROW['CUSTOMER_NAME'];
	}
}
echo "\r\n<table border=\"0\" width=\"100%\" cellspacing=\"0\" cellpadding=\"3\" class=\"small\">\r\n  <tr>\r\n    <td class=\"Big\"><img src=\"/images/notify_open.gif\" align=\"absmiddle\">";
echo "<s";
echo "pan class=\"big3\"> 联系人查询 </span>\r\n    </td>\r\n  </tr>\r\n</table>\r\n<br>\r\n<div align=\"center\">\r\n\r\n<table border=\"0\" cellspacing=\"1\" width=\"450\" class=\"small\" bgcolor=\"#000000\" cellpadding=\"3\" align=\"center\" >\r\n  <form action=\"list.php\"  method=\"post\" name=\"form1\" >  \r\n   <tr>\r\n    <td nowrap class=\"TableData\">属于客户: </td>\r\n    <td class=\"TableData\">\r\n      <input type=\"hidden\" name=\"CUSTOMER_ID\" value=\"";
echo $CUSTOMER_ID;
echo "\">\r\n      <input type=\"text\" name=\"CUSTOMER_NAME\" class=\"BigStatic\" size=\"33\" maxlength=\"100\" readonly value=\"";
echo $CUSTOMER_NAME;
echo "\">&nbsp;\r\n      <input type=\"button\" value=\"选 择\" class=\"SmallButton\" onClick=\"LoadWindow()\" title=\"选择客户\" name=\"button\">\r\n    </td>\r\n   </tr>\r\n   <tr>\r\n    <td nowrap class=\"TableData\">姓名: </td>\r\n    <td nowrap class=\"TableData\">\r\n        <input type=\"text\" name=\"LINKMAN_NAME\" class=\"BigInput\" size=\"33\" maxlength=\"100\" value=\"";
echo $LINKMAN_NAME;
echo "\">&nbsp;\r\n    </td>\r\n   </tr>\r\n   <tr>\r\n    <td nowrap class=\"TableData\">生日: </td>\r\n    <td nowrap class=\"TableData\">\r\n        <input type=\"text\" name=\"BIRTHDAY\" class=\"BigInput\" size=\"33\" maxlength=\"10\" value=\"";
echo $BIRTHDAY;
echo "\">&nbsp;\r\n        <img src=\"/images/menu/calendar.gif\" border=\"0\" style=\"cursor:hand\" onclick=\"td_calendar('form1.BIRTHDAY');\">\r\n    </td>\r\n   </tr>\r\n   <tr>\r\n    <td nowrap class=\"TableData\">职位: </td>\r\n    <td nowrap class=\"TableData\">\r\n        <input type=\"text\" name=\"POST_PRIV\" class=\"BigInput\" size=\"33\" maxlength=\"100\" value=\"";
echo $POST_PRIV;
echo "\">&nbsp;\r\n    </td>\r\n   </tr>\r\n   <tr>\r\n    <td nowrap class=\"TableData\">爱好: </td>\r\n    <td nowrap class=\"TableData\">\r\n        <input type=\"text\" name=\"HOBBY\" class=\"BigInput\" size=\"33\" maxlength=\"100\" value=\"";
echo $HOBBY;
echo "\">&nbsp;\r\n    </td>\r\n   </tr>\r\n   <tr>\r\n    <td nowrap class=\"TableData\">工作电话: </td>\r\n    <td nowrap class=\"TableData\">\r\n        <input type=\"text\" name=\"TEL_NO_WORK\" class=\"BigInput\" size=\"33\" maxlength=\"100\" value=\"";
echo $TEL_NO_WORK;
echo "\">&nbsp;\r\n    </td>\r\n   </tr>\r\n   <tr>\r\n    <td nowrap class=\"TableData\">家庭电话: </td>\r\n    <td nowrap class=\"TableData\">\r\n        <input type=\"text\" name=\"TEL_NO_HOME\" class=\"BigInput\" size=\"33\" maxlength=\"100\" value=\"";
echo $TEL_NO_HOME;
echo "\">&nbsp;\r\n    </td>\r\n   </tr>\r\n   <tr>\r\n    <td nowrap class=\"TableData\">手机: </td>\r\n    <td nowrap class=\"TableData\">\r\n        <input type=\"text\" name=\"MOBILE\" class=\"BigInput\" size=\"33\" maxlength=\"100\" value=\"";
echo $MOBILE;
echo "\">&nbsp;\r\n    </td>\r\n   </tr>\r\n   <tr>\r\n    <td nowrap class=\"TableData\">EMAIL: </td>\r\n    <td nowrap class=\"TableData\">\r\n        <input type=\"text\" name=\"EMAIL\" class=\"BigInput\" size=\"33\" maxlength=\"100\" value=\"";
echo $EMAIL;
echo "\">&nbsp;\r\n    </td>\r\n   </tr>\r\n   <tr>\r\n    <td nowrap  class=\"TableControl\" colspan=\"2\" align=\"center\">\r\n        <input type=\"submit\" value=\"查询\" class=\"BigButton\" title=\"模糊查询\" name=\"button\">\r\n    </td>\r\n   </tr>\r\n  </form>\r\n</table>\r\n\r\n</div>\r\n\r\n</body>\r\n</html>";
?>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -