📄 title.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_DESC = $ROW['APP_DESC'];
$FORM_ID = $ROW['FORM_ID'];
$APP_RETURN = $ROW['APP_RETURN'];
}
$query = "SELECT * from IK_FORM where FORM_ID={$FORM_ID}";
$cursor = exequery( $connection, $query );
if ( $ROW = mysql_fetch_array( $cursor ) )
{
$TABLE_ID = $ROW['TABLE_ID'];
}
$query = "SELECT * from IK_TABLE where TABLE_ID={$TABLE_ID}";
$cursor = exequery( $connection, $query );
if ( $ROW = mysql_fetch_array( $cursor ) )
{
$TABLE_NAME = $ROW['TABLE_NAME'];
}
$query = "SELECT count(*) from {$TABLE_NAME}";
$cursor = exequery( $connection, $query );
if ( $ROW = mysql_fetch_array( $cursor ) )
{
$COUNT = $ROW[0];
}
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 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=\"5\">\r\n<table border=\"0\" width=\"100%\" cellspacing=\"1\" cellpadding=\"0\">\r\n <tr class=\"tablehea";
echo "d1\">\r\n <td ><img src=\"/images/manage/asset.gif\" align=\"absmiddle\">\r\n ";
echo $APP_DESC;
echo " - (共 ";
echo $COUNT;
echo " 条记录)\r\n </td>\r\n </tr>\r\n <tr class=\"tablehead2\"><td>\r\n <input type=\"image\" src=\"/images/button/search.gif\" border=\"0\" accesskey=\"N\" onclick=\"html_query();\" title=\"查询/列表\">\r\n <input type=\"image\" src=\"/images/button/htmlapp.gif\" border=\"0\" accesskey=\"p\" onclick=\"html_report();\" title=\"生成HTML报表\"> \r\n <input type=\"image\" src=\"/images/button/wordform.gif\" border=\"0\" accesskey=\"W\" onclick=\"wor";
echo "d_report();\" title=\"生成WORD报表\">\r\n <input type=\"image\" src=\"/images/button/excelform.gif\" border=\"0\" accesskey=\"S\" onclick=\"excel_report();\" title=\"未准申请\">\r\n <a href=\"#\" onClick=\"parent.location='";
echo $APP_RETURN;
echo "';\"><img src=\"/images/button/return.gif\" border=\"0\" title=\"返回\"></a>\r\n </td></tr>\r\n</table>\r\n</body>\r\n</html>\r\n";
?>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -