📄 index.php
字号:
<?php
include_once( "inc/auth.php" );
include_once( "inc/utility_all.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 language=javascript src=\"/inc/calendar/calendar.js\"></SCRIPT>\r\n";
echo "<S";
echo "CRIPT language=javascript src=\"/inc/calendar/time.js\"></SCRIPT>\r\n";
echo "<S";
echo "CRIPT language=javascript src=\"/inc/common.js\"></SCRIPT>\r\n";
echo "<s";
echo "cript>\r\nfunction CheckForm()\r\n{\r\n\t//开始时间判断\r\n\tvar gettime = document.getElementById('cal_begin_time').value;\r\n\tvar getday = document.getElementById('cal_begin_day').value\r\n\tif(gettime==''){gettime=\"00:00\";}\r\n\tif(getday==''){\r\n\t document.getElementById('BEGIN_DATE').value ='';\r\n\t}else{\r\n\tdocument.getElementById('BEGIN_DATE').value = getday+' '+gettime+':00';\r\n\t}\r\n\t//alert(document.getElementB";
echo "yId('BEGIN_DATE').value);\r\n\t//截止时间判断\r\n\tvar gettime_end = document.getElementById('cal_end_time').value;\r\n\tvar getday_end = document.getElementById('cal_end_day').value\r\n\tdocument.getElementById('END_DATE').value = getday_end+' '+gettime_end+':00'; \r\n return (true);\r\n}\r\nfunction td_calendar(fieldname)\r\n{\r\n myleft=document.body.scrollLeft+event.clientX-event.offsetX-80;\r\n mytop=document.bo";
echo "dy.scrollTop+event.clientY-event.offsetY+140;\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 td_clock(fieldname)\r\n{\r\n myleft=document.body.scrollLeft+event.clientX-event.offsetX-80;\r\n mytop=document.body.scrollTop+event.clie";
echo "ntY-event.offsetY+140;\r\n\r\n window.showModalDialog(\"/inc/clock.php?FIELDNAME=\"+fieldname,self,\"edge:raised;scroll:0;status:0;help:0;resizable:1;dialogWidth:280px;dialogHeight:120px;dialogTop:\"+mytop+\"px;dialogLeft:\"+myleft+\"px\");\r\n}\r\n\r\nfunction clear_user()\r\n{\r\n document.form1.TO_NAME.value=\"\";\r\n document.form1.TO_ID.value=\"\";\r\n}\r\n</script>\r\n";
echo "<s";
echo "cript>\r\nvar menu_id=0;\r\n\r\nfunction setPointer(theRow, thePointerColor,menu_id_over)\r\n{\r\n if(menu_id!=menu_id_over)\r\n theRow.bgColor = thePointerColor;\r\n}\r\n\r\nfunction view_menu1()\r\n{\r\n \r\n location=\"../new\";\r\n menu_id=1;\r\n \r\n}\r\n\r\nfunction view_menu2()\r\n{\r\n location=\"../receive\";\r\n menu_id=2;\r\n \r\n}\r\n\r\nfunction view_menu3()\r\n{\r\n location=\"../send\";\r\n menu_id=3;\r\n \r\n}\r\n\r\nfunctio";
echo "n view_menu4()\r\n{\r\n location=\"../query\";\r\n menu_id=4;\r\n \r\n}\r\n</script>\r\n</head>\r\n<body class=\"bodycolor\" topmargin=\"5\">\r\n";
$CUR_DATE_TIME = date( "Y-m-d H:i:s", time( ) );
$CUR_DATE = date( "Y-m-d", time( ) );
$CUR_TIME = date( "H:i:s", time( ) );
$CUR_TIME_DROP = substr( $CUR_TIME, 0, -3 );
echo "<form action=\"search.php\" name=\"form1\" onSubmit=\"return CheckForm();\">\r\n<table border=\"0\" width=\"100%\" cellspacing=\"1\" cellpadding=\"0\">\r\n <tr class=\"tablehead1\">\r\n <td ><img src=\"/images/menu/sms.gif\" align=\"absmiddle\">短信查询\r\n </td>\r\n </tr>\r\n <tr class=\"tablehead2\"><td>\r\n <input type=\"image\" src=\"/images/button/search.gif\" title=\"短信查询\">\r\n <a href=\"#\" onClick=\"view_menu1()\"><img src=\"/imag";
echo "es/button/sendsms.gif\" border=\"0\" title=\"发送短消息\"></a>\r\n <a href=\"#\" onClick=\"view_menu2()\"><img src=\"/images/button/inceptsms.gif\" border=\"0\" title=\"已接收短信\"></a> \r\n <a href=\"#\" onClick=\"view_menu3()\"><img src=\"/images/button/sendendsms.gif\" border=\"0\" title=\"已发送短信\"></a>\r\n </td>\r\n </tr>\r\n</table>\r\n<br>\r\n<table border=\"0\" width=\"100%\" cellpadding=\"2\" cellspacing=\"1\" class=\"small\">\r\n <tr>\r\n ";
echo " <td nowrap class=\"TableLine2\" width=\"20%\">\r\n ";
echo "<s";
echo "elect name=\"TYPE\">\r\n <option value=\"FROM_ID\">发送人</option>\r\n <option value=\"TO_ID\">收信人</option>\r\n </select> </td>\r\n <td class=\"TableLine1\" width=\"80%\">\r\n <input type=\"hidden\" name=\"TO_ID\" value=\"\">\r\n <textarea cols=23 name=\"TO_NAME\" rows=\"3\" class=\"BigStatic\" wrap=\"yes\" readonly></textarea>\r\n <input type=\"button\" value=\"添 加\" class=\"Sma";
echo "llButton\" onClick=\"LoadWindowUser('TO_ID','TO_NAME','form1')\" title=\"添加用户\" name=\"button\">\r\n <input type=\"button\" value=\"清 空\" class=\"SmallButton\" onClick=\"clear_user()\" title=\"清空用户\" name=\"button\"> </td>\r\n </tr>\r\n <tr>\r\n <td nowrap class=\"TableLine2\">起始日期:</td>\r\n\t\t <td class=\"TableLine1\">\r\n\t\t <input class='Wdate' type=\"text\" name=\"cal_begin_day\" id=\"cal_begin_da";
echo "y\" value=\"\" size=\"12\" maxlength=\"10\" onclick=\"popUpCalendar(document.form1,document.form1.cal_begin_day,'yyyy-mm-dd')\"/>\r\n\t\t\t<input class=\"Wtime\" type=\"text\" name=\"cal_begin_time\" id=\"cal_begin_time\" value=\"\" size=\"12\" maxlength=\"10\" \r\n\t\t\tonclick=\"new CallTime(null,null,0,0,null,null).show(this)\"/>\r\n\t\t\t<input type='hidden' name=\"BEGIN_DATE\">\r\n\t\t </td>\r\n </tr>\r\n <tr>\r\n <td nowrap class=\"Tabl";
echo "eLine2\">截止日期:</td>\r\n\t\t <td class=\"TableLine1\">\r\n\t\t <input class='Wdate' type=\"text\" name=\"cal_end_day\" id=\"cal_end_day\" value=\"";
echo $CUR_DATE;
echo "\" size=\"12\" maxlength=\"10\" onclick=\"popUpCalendar(document.form1,document.form1.cal_end_day,'yyyy-mm-dd')\"/>\r\n\t\t <input class=\"Wtime\" type=\"text\" name=\"cal_end_time\" id=\"cal_end_time\" value=\"";
echo $CUR_TIME_DROP;
echo "\" size=\"12\" maxlength=\"10\" \r\n\t\tonclick=\"new CallTime(null,null,0,0,null,null).show(this)\"/>\r\n\t\t <input type='hidden' name=\"END_DATE\"> \r\n\t\t </td>\r\n </tr>\r\n </table>\r\n</form>\r\n</body>\r\n</html>";
?>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -