* @author Nicola Asuni * @since 2004-05-28 */ /** */ require_once '../config/tce_config.php'; $pagelevel = K_AUTH_ADMIN_RESULTS; $thispage_title = $l['t_test_info']; $thispage_description = $l['hp_test_info']; require_once '../../shared/code/tce_authorization.php'; require_once '../code/tce_page_header_popup.php'; echo '<div class="popupcontainer">' . K_NEWLINE; if (isset($_REQUEST['testid']) and $_REQUEST['testid'] > 0) { $test_id = intval($_REQUEST['testid']); // check user's authorization if (!F_isAuthorizedUser(K_TABLE_TESTS, 'test_id', $test_id, 'test_user_id')) { F_print_error('ERROR', $l['m_authorization_denied']); exit; } require_once '../../shared/code/tce_functions_test.php'; echo F_printTestInfo($test_id, true); } echo '<div class="row">' . K_NEWLINE; require_once '../../shared/code/tce_functions_form.php'; echo F_close_button(); echo '</div>' . K_NEWLINE; echo '</div>' . K_NEWLINE; require_once '../code/tce_page_footer_popup.php'; //============================================================+ // END OF FILE //============================================================+
* @since 2010-02-06 */ /** */ require_once '../config/tce_config.php'; $test_id = 0; $pagelevel = K_AUTH_PUBLIC_TEST_EXECUTE; $thispage_title = $l['t_test_info']; $thispage_description = $l['hp_test_info']; require_once '../../shared/code/tce_authorization.php'; require_once '../code/tce_page_header.php'; echo '<div class="popupcontainer">' . K_NEWLINE; if (isset($_REQUEST['testid']) and $_REQUEST['testid'] > 0) { require_once '../../shared/code/tce_functions_test.php'; $test_id = intval($_REQUEST['testid']); echo F_printTestInfo($test_id, false); echo '<br />' . K_NEWLINE; echo '<div class="row">' . K_NEWLINE; // display execute button echo '<a href="tce_test_execute.php?testid=' . $test_id . ''; if (isset($_REQUEST['repeat']) and $_REQUEST['repeat'] == 1) { echo '&repeat=1'; } echo '" title="' . $l['h_execute'] . '" class="xmlbutton">' . $l['w_execute'] . '</a> '; echo '<a href="index.php" title="' . $l['h_cancel'] . '" class="xmlbutton">' . $l['w_cancel'] . '</a>'; echo '</div>' . K_NEWLINE; } echo '</div>' . K_NEWLINE; require_once '../code/tce_page_footer.php'; //============================================================+ // END OF FILE
// See LICENSE.TXT file for more information. //============================================================+ /** * @file * Output test information using popup page headers. * @package com.tecnick.tcexam.public * @author Nicola Asuni * @since 2004-05-28 */ /** */ require_once '../config/tce_config.php'; $pagelevel = K_AUTH_PUBLIC_TEST_INFO; $thispage_title = $l['t_test_info']; $thispage_description = $l['hp_test_info']; require_once '../../shared/code/tce_authorization.php'; require_once '../code/tce_page_header_popup.php'; echo '<div class="popupcontainer">' . K_NEWLINE; if (isset($_REQUEST['testid']) and $_REQUEST['testid'] > 0) { require_once '../../shared/code/tce_functions_test.php'; echo F_printTestInfo(intval($_REQUEST['testid']), false); } echo '<div class="row">' . K_NEWLINE; require_once '../../shared/code/tce_functions_form.php'; echo F_close_button(); echo '</div>' . K_NEWLINE; echo '</div>' . K_NEWLINE; require_once '../code/tce_page_footer_popup.php'; //============================================================+ // END OF FILE //============================================================+