$back = 1; } } elseif ($sessionReal == 'AN') { mainarranger('AN'); $ttlbAN = $ttlb; if ($ttlb == 0) { echo "<br><h3 id='hdesc' class='error'><br>Error</h3>Yes, it is a PDF or Text file."; echo "<br>But, <b>it does not contain any register numbers</b> in it."; echo "<br>Or may be, <b>it does not contain any afternoon session register numbers</b> in it."; echo "<br>'Go back' and try uploading a valid PDF or Text file sent from Anna University."; echo " Or the file containing only Register Numbers in it."; $back = 1; } } } else { mainarranger('none'); $mainarranger = 'none'; $ttlbNone = $ttlb; if ($ttlb == 0) { echo "<br><h3 id='hdesc' class='error'><br>Error</h3>Yes, it is a PDF or Text file."; echo "<br>But, <b>it does not contain any register numbers</b> in it."; echo "<br>'Go back' and try uploading a valid PDF or Text file sent from Anna University."; echo " Or the file containing only Register Numbers in it."; $back = 1; } } } else { echo "<h3 id='hdesc' class='error'>Error</h3>Invalid! Go back and please choose a PDF or Text file."; $back = 1; } if ($back == 1) {
$pdf->myCell($width[$i], $height[2], '', 'BLR'); } detailsprint(); $firsttime = 1; hallwise(); } elseif ($sessionReal == 'FNAN') { mainarranger('FN'); $cursession = 'FN'; arrange(); for ($i = 0; $i < count($header); $i++) { $pdf->myCell($width[$i], $height[2], '', 'BLR'); } detailsprint(); $firsttime = 1; hallwise(); mainarranger('AN'); $cursession = 'AN'; unset($dpt_hal); $dpt_hal = array(); $final_hall = 0; $final_reg = 0; $allhalls = $sessioneHalls2; unset($hall_no); $hall_no; unset($hallwise); $hallwise = array(array(array())); arrange(); for ($i = 0; $i < count($header); $i++) { $pdf->myCell($width[$i], $height[2], '', 'BLR'); } detailsprint();