📄 control.php
字号:
<?php
include_once( "../auth1.php" );
include_once( "inc/auth.php" );
$connection = openconnection( );
$query = "SELECT * from IK_APP where APP_ID={$APP_ID}";
$cursor = exequery( $connection, $query );
if ( $ROW = mysql_fetch_array( $cursor ) )
{
$APP_RETURN = $ROW['APP_RETURN'];
}
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\r\n";
echo "<s";
echo "cript>\r\nfunction html_query()\r\n{\r\n parent.form_view.form1.action=\"search.php\";\r\n parent.form_view.form1.target=\"_parent\";\r\n parent.form_view.form1.submit();\r\n}\r\n\r\nfunction html_report()\r\n{\r\n parent.form_view.form1.action=\"html_report.php\";\r\n parent.form_view.form1.target=\"_blank\";\r\n parent.form_view.form1.submit();\r\n}\r\n\r\nfunction word_report()\r\n{\r\n parent.form_view.form1.action=\"word_report";
echo ".php\";\r\n parent.form_view.form1.target=\"_blank\";\r\n parent.form_view.form1.submit();\r\n}\r\n\r\nfunction excel_report()\r\n{\r\n parent.form_view.form1.action=\"excel_report.php\";\r\n parent.form_view.form1.target=\"_blank\";\r\n parent.form_view.form1.submit();\r\n}\r\n</script>\r\n</head>\r\n\r\n<body class=\"bodycolor\" topmargin=\"7\">\r\n<center>\r\n <input type=\"button\" value=\"查询\" class=\"BigButton\" name=\"submit\" onclick=\"";
echo "html_query();\" title=\"查询/列表\"> \r\n <input type=\"button\" value=\"HTML报表\" class=\"BigButton\" onclick=\"html_report();\" title=\"生成HTML报表\"> \r\n <input type=\"button\" value=\"WORD报表\" class=\"BigButton\" onclick=\"word_report();\" title=\"生成WORD报表\"> \r\n <input type=\"button\" value=\"Excel报表\" class=\"BigButton\" onclick=\"excel_report(";
echo ");\" title=\"生成Excel报表\"> \r\n <input type=\"button\" value=\"返回\" class=\"BigButton\" onClick=\"parent.location='";
echo $APP_RETURN;
echo "';\" title=\"返回\">\r\n</center>\r\n</body>\r\n</html>";
?>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -