"; print"
". NEWLINE; print"
". NEWLINE; html_print_tests_filter( $project_id, $filter_manual_auto, $filter_test_type, $filter_ba_owner, $filter_qa_owner, $filter_tester, $filter_area_tested, $filter_test_status, $filter_priority, $filter_per_page, $filter_search); print"
". NEWLINE; $g_timer->mark_time( "Load rows to display on page from db into memory" ); $row = test_filter_rows( $project_id, $filter_manual_auto, $filter_ba_owner, $filter_qa_owner, $filter_tester, $filter_test_type, $filter_area_tested, $filter_test_status, $filter_priority, $filter_per_page, $filter_search, $order_by, $order_dir, $page_number, $csv_name="tests"); print"
". NEWLINE; $g_timer->mark_time( "Finished load rows to display on page from db into memory" ); if( $row ) { print"
". NEWLINE; #print"". NEWLINE; print"
". NEWLINE; print"".NEWLINE; print"". NEWLINE; print"". NEWLINE; print"". NEWLINE; # html_tbl_print_header( lang_get('test_id'), TEST_ID, $order_by, $order_dir ); # html_tbl_print_header( lang_get('man_auto') ); # html_tbl_print_header( lang_get('file_type') ); # html_tbl_print_header( lang_get('autopass'), TEST_AUTO_PASS, $order_by, $order_dir ); # html_tbl_print_header( lang_get('test_name'), TEST_NAME, $order_by, $order_dir ); # html_tbl_print_header( lang_get('ba_owner'), TEST_BA_OWNER, $order_by, $order_dir ); # html_tbl_print_header( lang_get('qa_owner'), TEST_QA_OWNER, $order_by, $order_dir ); # html_tbl_print_header( lang_get('tester'), TEST_TESTER, $order_by, $order_dir ); # html_tbl_print_header( lang_get('testtype'), TEST_TESTTYPE, $order_by, $order_dir ); # html_tbl_print_header( lang_get('area_tested'), TEST_AREA_TESTED, $order_by, $order_dir ); # html_tbl_print_header( lang_get('test_status'), TEST_STATUS, $order_by, $order_dir ); # html_tbl_print_header( lang_get('priority'), TEST_PRIORITY, $order_by, $order_dir ); html_tbl_print_sortable_header( lang_get('test_id'),TEST_ID,$order_by,$order_dir ); html_tbl_print_sortable_header( lang_get('man_auto') ); html_tbl_print_sortable_header( lang_get('file_type') ); html_tbl_print_sortable_header( lang_get('autopass'),TEST_AUTO_PASS,$order_by,$order_dir ); html_tbl_print_sortable_header( lang_get('test_name'),TEST_NAME,$order_by,$order_dir ); html_tbl_print_sortable_header( lang_get('ba_owner'),TEST_BA_OWNER,$order_by,$order_dir ); html_tbl_print_sortable_header( lang_get('qa_owner'),TEST_QA_OWNER,$order_by,$order_dir ); html_tbl_print_sortable_header( lang_get('tester'),TEST_TESTER,$order_by,$order_dir ); html_tbl_print_sortable_header( lang_get('testtype'),TEST_TESTTYPE,$order_by,$order_dir ); html_tbl_print_sortable_header( lang_get('area_tested'),TEST_AREA_TESTED,$order_by,$order_dir ); html_tbl_print_sortable_header( lang_get('test_status'),TEST_STATUS,$order_by,$order_dir ); html_tbl_print_sortable_header( lang_get('priority'),TEST_PRIORITY,$order_by,$order_dir ); print"". NEWLINE; $g_timer->mark_time( "Outputting main html table to browser" ); $row_style = ''; print"".NEWLINE; print"".NEWLINE; foreach( $row as $row_test_detail ) { $test_id = $row_test_detail[TEST_ID]; //$test_version_id = $row_test_detail[TEST_VERS_ID]; $test_name = $row_test_detail[TEST_NAME]; $ba_owner = $row_test_detail[TEST_BA_OWNER]; $qa_owner = $row_test_detail[TEST_QA_OWNER]; $tester = $row_test_detail[TEST_TESTER]; $test_type = $row_test_detail[TEST_TESTTYPE]; $manual = $row_test_detail[TEST_MANUAL]; $automated = $row_test_detail[TEST_AUTOMATED]; $area_tested = $row_test_detail[TEST_AREA_TESTED]; $autopass = $row_test_detail[TEST_AUTO_PASS]; $test_status = $row_test_detail[TEST_STATUS]; $priority = $row_test_detail[TEST_PRIORITY]; $display_test_id = util_pad_id($test_id); if($row_test_detail[TEST_AUTO_PASS]=="Y") { $autopass = "Yes"; } else { $autopass = "No"; } $filename = test_get_filename($test_id); #$row_style = html_tbl_alternate_bgcolor($row_style); #print"". NEWLINE; $row_style =html_tbl_alternate_bgcolor($row_style); print"". NEWLINE; print"". NEWLINE; print"". NEWLINE; //$detail_url = $detail_page ."?test_id=". $test_id ."&test_version_id=". $test_version_id; $detail_url = $detail_page ."?test_id=". $test_id ."&project_id=". $project_id; print"". NEWLINE; print"". NEWLINE; print"". NEWLINE; print"". NEWLINE; print"". NEWLINE; print"". NEWLINE; print"". NEWLINE; print"". NEWLINE; print"". NEWLINE; print"". NEWLINE; print"". NEWLINE; print"". NEWLINE; print"". NEWLINE; } $g_timer->mark_time( "Finished outputting main html table to browser" ); print"".NEWLINE; print"
$display_test_id".html_print_testtype_icon( $manual, $automated )."".html_file_type( $filename )."$autopass$test_name$ba_owner$qa_owner$tester$test_type$area_tested$test_status$priority
". NEWLINE; print"
". NEWLINE; if( session_use_javascript() ) { //print"Select All  "; print"". NEWLINE; print"". NEWLINE; } print""; print" "; print""; } else { html_no_records_found_message( lang_get('no_tests') ); } print"
". NEWLINE; html_print_footer(); # --------------------------------------------------------------------- # $Log: test_page.php,v $ # Revision 1.10 2008/08/04 06:54:58 peter_thal # added sorting function to several tables # # Revision 1.9 2008/07/09 07:13:26 peter_thal # added direct linking of test detail by adding project_id link parameter # added automated project switching if necessary # # Revision 1.8 2008/01/22 08:19:15 cryobean # bugfixes # # Revision 1.7 2007/11/19 08:59:00 cryobean # bugfixes # # Revision 1.6 2007/11/15 12:58:48 cryobean # bugfixes # # Revision 1.5 2007/02/12 07:16:35 gth2 # adding email functionality on test update - gth # # Revision 1.4 2007/02/03 10:26:19 gth2 # no message # # Revision 1.3 2006/08/05 22:09:13 gth2 # adding NEWLINE constant to support multiple OS newline chars - gth # # Revision 1.2 2006/02/24 11:36:04 gth2 # update to div - class=div-c not working in firefox - gth # # Revision 1.1.1.1 2005/11/30 23:00:58 gth2 # importing initial version - gth # # --------------------------------------------------------------------- ?>