📄 control.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\r\n";
echo "<s";
echo "cript Language=\"JavaScript\">\r\nfunction copy_form()\r\n{\r\n parent.form_view.document.execCommand('selectall');\r\n parent.form_view.document.execCommand('copy');\r\n alert(\"表单全文已复制到剪贴板!\");\r\n}\r\n\r\nfunction flow_view()\r\n{\r\n var FLOW_VIEW=\"\";\r\n if(CHECK1.checked)\r\n FLOW_VIEW+=\"1\";\r\n if(CHECK2.checked)\r\n FLOW_VIEW+=\"2\";\r\n if(CHECK3.checked)\r\n FLOW_VIEW+=\"3\";\r\n parent.form_view.";
echo "location=\"print.php?RUN_ID=";
echo $RUN_ID;
echo "&FLOW_ID=";
echo $FLOW_ID;
echo "&FLOW_VIEW=\"+FLOW_VIEW;\r\n}\r\n\r\n</script>\r\n</head>\r\n\r\n<body class=\"bodycolor\" topmargin=\"7\">\r\n<table border=\"0\" width=\"100%\" cellspacing=\"1\" cellpadding=\"5\">\r\n <tr class=\"tablehead1\">\r\n <td >表单\r\n </td>\r\n </tr>\r\n <tr class=\"tablehead2\"><td> <input type=\"image\" src=\"/images/button/printform.gif\" border=\"0\" onclick=\"parent.form_view.myprint();\" title=\"打印该页面\">\r\n <input type=\"image\" src=\"/image";
echo "s/button/copyform.gif\" border=\"0\" onclick=\"copy_form();\" title=\"复制全文至剪贴版,可粘贴至word并调整格式打印(先打开word再复制)\">\r\n <input type=\"image\" src=\"/images/button/shut.gif\" border=\"0\" onClick=\"parent.close();\" title=\"关闭\">\r\n </td></tr></table>\r\n</body>\r\n</html>";
?>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -