public_2code_2tce__show__result__user_8php

It appears that you are using AdBlocking software. The cost of running this website is covered by advertisements. If you like it please feel free to a small amount of money to secure the future of this website.
tce_show_result_user.php File Reference

Namespaces

 com\tecnick\tcexam\public
 TCExam Public Area.
 

Variables

 $pagelevel = K_AUTH_PUBLIC_TEST_RESULTS
 
 $thispage_title = $l[’t_test_results’]
 
 $user_id = intval($_SESSION[‘session_user_id’])
 
if(isset($_REQUEST[‘testuser_id’]) AND($_REQUEST[‘testuser_id’] > 0)) else
 
 exit
 
 $checkid = 0
 
 $sqlt = ‘SELECT testuser_user_id FROM ‘.K_TABLE_TEST_USER.’ WHERE testuser_test_id=‘.$test_id.’ AND testuser_id=‘.$testuser_id.”
 
if($user_id!=$checkid) $userdata = F_getUserData($user_id)
 
 $teststat = F_getTestStat($test_id, 0, $user_id, 0, 0, $testuser_id)
 
 $teststat [‘testinfo’] = F_getUserTestStat($test_id, $user_id, $testuser_id)
 
 $test_id = $teststat[‘testinfo’][‘test_id’]
 
 $usr_all = htmlspecialchars($userdata[‘user_lastname’].’ ‘.$userdata[‘user_firstname’].’ - ‘.$userdata[‘user_name’].“, ENT_NOQUOTES, $l[‘a_meta_charset’])
 
 $test_all = ‘<strong>’.htmlspecialchars($teststat[‘testinfo’][‘test_name’], ENT_NOQUOTES, $l[‘a_meta_charset’]).’</strong><br />’.K_NEWLINE
 
 $time_diff = gmdate(‘H:i:s’, $time_diff)
 
 $passmsg = “
 
 $score_right_all = $teststat[‘qstats’][‘right’].’ / ‘.$teststat[‘qstats’][‘recurrence’].’ (‘.$teststat[‘qstats’][‘right_perc’].‘%)’
 
 if (F_getBoolean($teststat[‘testinfo’][‘test_report_to_users’]))
 

Detailed Description

Display test results to the current user.

Variable Documentation

$checkid = 0

$passmsg = “

$score_right_all = $teststat[‘qstats’][‘right’].’ / ‘.$teststat[‘qstats’][‘recurrence’].’ (‘.$teststat[‘qstats’][‘right_perc’].‘%)’

$sqlt = ‘SELECT testuser_user_id FROM ‘.K_TABLE_TEST_USER.’ WHERE testuser_test_id=‘.$test_id.’ AND testuser_id=‘.$testuser_id.”

$test_all = ‘<strong>’.htmlspecialchars($teststat[‘testinfo’][‘test_name’], ENT_NOQUOTES, $l[‘a_meta_charset’]).’</strong><br />’.K_NEWLINE

$test_id = $teststat[‘testinfo’][‘test_id’]

$teststat = F_getTestStat($test_id, 0, $user_id, 0, 0, $testuser_id)

$teststat[‘testinfo’] = F_getUserTestStat($test_id, $user_id, $testuser_id)

$thispage_title = $l[’t_test_results’]

$time_diff = gmdate(‘H:i:s’, $time_diff)

$user_id = intval($_SESSION[‘session_user_id’])

if ($user_id!=$checkid) $userdata = F_getUserData($user_id)

$usr_all = htmlspecialchars($userdata[‘user_lastname’].’ ‘.$userdata[‘user_firstname’].’ - ‘.$userdata[‘user_name’].“, ENT_NOQUOTES, $l[‘a_meta_charset’])

if ($teststat[‘testinfo’][‘test_score_threshold’] > 0) if ($teststat[‘testinfo’][‘test_max_score’] > 0) else
Initial value:
{
header('Location: index.php')
exit

if(F_getBoolean($teststat[‘testinfo’][‘test_report_to_users’]))

 

© 2004-2017 – Nicola Asuni - Tecnick.com - All rights reserved.
about - disclaimer - privacy