exec_query('asseses', ['*'], '', '', '', '', "record_id = {$_GET['id']}"); $asses = $assesment_res->fetch_assoc(); $padding = '10px'; $client_res = $db->exec_query('clients', ['*'], '', '', '', '', "record_id = {$asses['clients_id']}", 'ORDER BY clients_name ASC'); $client = $client_res->fetch_assoc(); $candidate_res = $db->exec_query('client_employees', ['*'], '', '', '', '', "record_id = {$asses['client_employees_id']}"); $candidate = $candidate_res->fetch_assoc(); $assesor_res = $db->exec_query('safesure_users', ['*'], '', '', '', '', "record_id = {$asses['safesure_users_id']}"); $assesor = $assesor_res->fetch_assoc(); $date_now = date('Y-m-d H:i', strtotime("+ 2 Hours")); $html = <<< EOF

SAFETY & TRAINING PRACTITIONERS

$asses[asseses_info]

NQF LEVEL: $asses[nqf_level]

Credits : $asses[credits]

$asses[asseses_name]



CANDIDATE NAME

$candidate[client_employees_name]

COY NO

COY NO

ID NO.

$candidate[i_doc_passport]

MINE

$client[clients_name]

ASSESSOR

$assesor[safesure_users_name]

ASSESSOR NO

ASSESSOR NO

ASSESSMENT DATE

$asses[date]

COMPETENT / NYC

$asses[results]

CAND. SIGNATURE

ASSESSOR SIGNATURE

DATE

$date_now

EOF; echo $html; $html = <<< EOF

SAFETY & TRAINING PRACTITIONERS

$asses[asseses_info]

NQF LEVEL: $asses[nqf_level]

Credits : $asses[credits]

$asses[asseses_name]



EOF; $sections_res = $db->exec_query('asseses_sections', ['*'], '', '', '', '', "asseses_id = {$asses['record_id']}"); while ($section = $sections_res->fetch_assoc()) { $html .= " "; $question_res = $db->exec_query('asseses_section_questions', ['*'], '', '', '', '', "asseses_section_id = {$section['record_id']}"); $question_index = 1; $anser_nyc = 0; $anser_c = 0; while ($question = $question_res->fetch_assoc()) { $html .= " "; $anser_c++; } else { $html .= "

"; $anser_nyc++; } $html .= " "; $question_index++; } $html .= <<< EOF

$section[section_name]

C

NYC

COMMENTS

$question_index

$question[question]

"; if ($question['answer'] == 1) { $html .= "

X

X

$question[comment]

TOTAL

$anser_c

$anser_nyc



EOF; } echo $html; $html = <<< EOF

RECOMMENDATIONS FOR IMPROVEMENT RELATED TO OPERATING TECHNIQUES

$asses[notes]
EOF; echo $html; $html = "

ASSESSMENT OUTCME AND FEEDBACK

"; $sections_res = $db->exec_query('asseses_sections', ['*'], '', '', '', '', "asseses_id = {$asses['record_id']}"); while ($section = $sections_res->fetch_assoc()) { $html .= " "; $results = explode("-", $section['subtotal']); $outcome = round($results[1] / $results[0], 2); if ($outcome >= $asses['passmark']) { $html .= ""; } else { $html .= ""; } $html .= " "; } $html .= "

ACTIVITY

COMPETENT

NYC

$section[section_name]

X

X

"; echo $html; $html = "

FINAL ASSESSMENT - ACCEPTANCE

"; if ($asses['results'] == 'C') { $html .= " "; } else { $html .= " "; } $html .= "

RESULT

ASSESSOR’S NAME

ASSESSOR’S SIGNATURE

DATE

C

NYC

$assesor[safesure_users_name]

$asses[date]

X

X

$candidate[client_employees_name]

$asses[date]
"; echo $html; $html = "

ENGINEER SIGN

[SIGNATRUE]

DATE

[date]

"; echo $html; $html = ""; $html = "

$asses[asseses_name]

DECLARATION OF FITNESS

Name/Surname

$candidate[client_employees_name]

ID

$candidate[i_doc_passport]

COY

DATE

$asses[date]

I declare that I am in good health and medically fit to undergo this training session and do not suffer from any of the following conditions:

1

Uncontrolled Epilepsy.

2

Liability to sudden attacks of disabling giddiness of fainting due to Hypertension or any other causes

3

Any form of mental disorder or defect referred to in section 2(1) and classified in (section 3 of the Mental Disorder act 38 of 1916).

4

Addiction to narcotic drugs and/or addiction to excessive intoxicating liquor.

5

Any condition causing poor muscular co-ordination.

6

Uncontrolled Diabetes Mellitus.

7

Any other disease or disability including vision, which is likely to render me incapable of effective operating the class of machine which the certificate of competence referred and without endangering the public or fellow workers.

8

Vision deficiencies or impairment.

I fully understand the above and was under no pressure or obligation to sign this document. Signed at ________________________________ on this __________day of __ _______________20_________


Candidate Signature.

Assessor Signature.

Engineer Signature.

[signature]

CONFORMATION OF TRAINING

I, $candidate[client_employees_name] $candidate[client_employees_surname], hereby confirm that I have received training in theory and practical on ?LDV?. I confirm that I have been given the opportunity to ask questions and that answers given have been satisfactory. I have signed every section of this training evaluation. I further more undertake to carry out my appointed duties applicable to this equipment in a safe manner and to adhere to all safety aspects as required by Codes of Practice and Safe Working Procedures.

Signature of Candidate

Signature of Assessor;

Date:

$asses[date];

"; echo $html;