<?php

// From file_read_by_phpExel.php
$uniqe_id = $val['uniqe_id'];
$roll = $val['roll'];
$attendance_status = $val['attendance_status'];
$late_time = $val['late_time'];
if (strtoupper($attendance_status) == 'P') {
    $late_time = '';
}
$std_details = $obj->View_students_personal_details_by_uniq_id($uniqe_id);

if (count($std_details) > 0 && $std_details != NULL) {

    $name = $std_details->_full_name;
    $st_id = $std_details->_st_id;
    $section_id = $std_details->_section_id;
    $section_name = $std_details->section_name;
    $medium_id = $std_details->_medium_id;
    $shift_time = $std_details->_shif_time;
	$roll = $std_details->_roll;
	
    $design_details .= '
		<tr class="each-row">
			<td>' . $i . '</t>
			<td>' . $uniqe_id . ' <input type="hidden" value="' . $uniqe_id . '" name="single_uniq_id" class="single_uniq_id" /></td>
			<td>' . $name . '</td>
			<td>' . $roll . '</td>
			<td><input type="text" value="' . strtoupper($attendance_status) . '" name="single_attendance_status" class="single_attendance_status" /></td>
			<td> <input type="text" value="' . trim($late_time, '"') . '" name="single_late_time" class="single_late_time" /></td>
			<td><a class="red remove-this" href="#" style="text-decoration:none;"><i class="icon-trash bigger-130"></i></a></td>
		</tr>
	';

    $i++;
    $valid_id .= ', ' . $uniqe_id . '';
} else {
    $invalid_id .= ', ' . $uniqe_id . '';
}
?>