📄 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 IsNumber(str)\r\n{\r\n return str.match(/^[0-9]*\$/)!=null;\r\n}\r\n\r\nfunction IsValidEmail(str)\r\n{\r\n var re = /@/;\r\n return str.match(re)!=null;\r\n}\r\n\r\nfunction CheckForm()\r\n{\r\n if (document.form1.POSTALCODE.value!=\"\"&&!IsNumber(document.form1.POSTALCODE.value))\r\n { alert(\"邮编只能是数字!\");\r\n return (false);\r\n }\r\n \r\n return (true);\r\n}\r\nfunction LoadWindow()\r\n{\r\n URL=";
echo "\"/general/sale_manage/crm/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\r\nfunction LoadWindow2()\r\n{\r\n URL=\"/module/";
echo "user_select_single\";\r\n loc_x=document.body.scrollLeft+event.clientX-event.offsetX-100;\r\n loc_y=document.body.scrollTop+event.clientY-event.offsetY+200;\r\n window.showModalDialog(URL,self,\"edge:raised;scroll:0;status:0;help:0;resizable:1;dialogWidth:350px;dialogHeight:300px;dialogTop:\"+loc_y+\"px;dialogLeft:\"+loc_x+\"px\");\r\n}\r\n</script>\r\n</head>\r\n\r\n<body class=\"bodycolor\" topmargin=\"5\">\r\n\r\n<table borde";
echo "r=\"0\" width=\"100%\" cellspacing=\"0\" cellpadding=\"3\" class=\"small\">\r\n <tr>\r\n <td class=\"Big\"><img src=\"/images/menu/sale_manage.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\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\" onsubmit=\"return CheckForm();\"> \r\n <tr>\r\n <td nowrap class=\"TableContent\">销售员: </td>\r\n <td nowrap class=\"TableData\">\r\n <input ty";
echo "pe=\"text\" name=\"TO_NAME\" size=\"10\" class=\"BigStatic\" readonly value=\"\"> \r\n <input type=\"button\" value=\"选择\" class=\"SmallButton\" onClick=\"LoadWindow2()\" title=\"指定销售员\" name=\"button\">\r\n <input type=\"hidden\" name=\"TO_ID\" value=\"\">\r\n </td>\r\n </tr>\r\n <tr>\r\n <td nowrap class=\"TableContent\">是否为共享客户: </td>\r\n <td nowrap class=\"TableData\">\r\n ";
echo "<s";
echo "elect name=\"SHARE\" class=\"BigSelect\">\r\n <option value=\"\">所有</option>\r\n <option value=\"1\">是</option>\r\n <option value=\"0\">否</option>\r\n </select>\r\n </td>\r\n </tr>\r\n <tr>\r\n <td nowrap class=\"TableContent\">客户名称: </td>\r\n <td nowrap class=\"TableData\">\r\n <input type=\"text\" name=\"CUSTOMER_NAME\" class=\"BigInput\" size=\"33\" maxlength=\"100\"> \r\n </td>\r\n </tr>\r\n ";
echo " <tr>\r\n <td nowrap class=\"TableContent\">电话: </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=\"TableContent\">传真: </td>\r\n <td nowrap class=\"TableData\">\r\n <input type=\"text\" name=\"FAX_NO\" class=\"BigInput\" size=\"33\" maxlength=\"100\"> \r\n </td>\r\n </tr>\r\n ";
echo " <tr>\r\n <td nowrap class=\"TableContent\">网址: </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=\"TableContent\">电子邮件: </td>\r\n <td nowrap class=\"TableData\">\r\n <input type=\"text\" name=\"EMAIL\" class=\"BigInput\" size=\"33\" maxlength=\"100\"> \r\n </td>\r\n ";
echo " </tr>\r\n <tr>\r\n <td nowrap class=\"TableContent\">地址: </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=\"TableContent\">邮政编码: </td>\r\n <td nowrap class=\"TableData\">\r\n <input type=\"text\" name=\"POSTALCODE\" class=\"BigInput\" size=\"33\" maxlength=\"25\"> ";
echo "\r\n </td>\r\n </tr>\r\n <tr>\r\n <td nowrap class=\"TableContent\">产品: </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 + -