📄 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<div align=\"center\" class=\"Big1\">\r\n<b>\r\n <input type=\"checkbox\" name=\"CHECK1\" class=\"BigButton\" onclick=\"flow_view();\" checked> 表单 \r\n <input type=\"checkbox\" name=\"CHECK2\" class=\"BigButton\" onclick=\"flow_view();\" checked> 签办意见 \r\n <input type=\"checkbox\" name=\"";
echo "CHECK3\" class=\"BigButton\" onclick=\"flow_view();\" checked> 流程图 \r\n <input type=\"button\" value=\"打印\" class=\"BigButton\" onclick=\"parent.form_view.myprint();\" title=\"打印该页面\"> \r\n <input type=\"button\" value=\"复制全文\" class=\"BigButton\" onclick=\"copy_form();\" title=\"复制全文至剪贴版,可粘贴至word并调整格式打印(先打开word再复制)\"> &";
echo "nbsp;\r\n <input type=\"button\" value=\"关闭\" class=\"BigButton\" onClick=\"parent.close();\" title=\"关闭\">\r\n</b>\r\n</div>\r\n</body>\r\n</html>";
?>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -