📄 index.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 LoadWindow()\r\n{\r\n URL=\"/general/crm/customer/query/product_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";
echo ">\r\n</head>\r\n\r\n<body class=\"bodycolor\" topmargin=\"5\">\r\n\r\n";
$connection = openconnection( );
$query = "SELECT COUNT(*) from CUSTOMER";
$cursor = exequery( $connection, $query );
if ( $ROW = mysql_fetch_array( $cursor ) )
{
$CUSTOMER_COUNT = $ROW[0];
}
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/menu/crm.gif\" WIDTH=\"22\" HEIGHT=\"20\" align=\"absmiddle\">";
echo "<s";
echo "pan class=\"big3\"> 客户查询 </span>\r\n </td>\r\n </tr>\r\n</table>\r\n<hr width=\"95%\" height=\"1\" align=\"left\" class=\"big1\">\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 nowrap class=\"TableData";
echo "\">\r\n <input type=\"text\" name=\"CUSTOMER_NAME\" class=\"BigInput\" size=\"33\" maxlength=\"100\"> \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\" class=\"BigInput\" size=\"33\" maxlength=\"100\"> \r\n </td>\r\n </tr>\r\n <tr>\r\n <td nowrap class=\"TableData\">传真: </td>\r\n <td nowrap class=\"TableDat";
echo "a\">\r\n <input type=\"text\" name=\"FAX_NO\" class=\"BigInput\" size=\"33\" maxlength=\"100\"> \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=\"CUSTOMER_WWW\" class=\"BigInput\" size=\"33\" maxlength=\"100\"> \r\n </td>\r\n </tr>\r\n <tr>\r\n <td nowrap class=\"TableData\">电子邮件: </td>\r\n <td nowrap class=\"Tabl";
echo "eData\">\r\n <input type=\"text\" name=\"EMAIL\" class=\"BigInput\" size=\"33\" maxlength=\"100\"> \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=\"CUSTOMER_ADD\" class=\"BigInput\" size=\"33\" maxlength=\"100\"> \r\n </td>\r\n </tr>\r\n <tr>\r\n <td nowrap class=\"TableData\">邮政编码: </td>\r\n <td nowrap class=\"T";
echo "ableData\">\r\n <input type=\"text\" name=\"POSTALCODE\" class=\"BigInput\" size=\"33\" maxlength=\"25\"> \r\n </td>\r\n </tr>\r\n <tr>\r\n <td nowrap class=\"TableData\">产品: </td>\r\n <td class=\"TableData\">\r\n <input type=\"hidden\" name=\"PRODUCT_ID\" value=\"";
echo $PRODUCT_ID;
echo "\">\r\n <input type=\"text\" name=\"PRODUCT_NAME_TYPE\" class=\"BigStatic\" size=\"33\" maxlength=\"100\" readonly > \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=\"TableControl\" colspan=\"2\" align=\"center\">\r\n <input type=\"submit\" value=\"查询\" class=\"BigButton\" title=\"模糊查询\" n";
echo "ame=\"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 + -