view file : ps

This commit is contained in:
VE10-Sanjeev 2022-06-18 13:21:10 +05:30
parent fccaa144ed
commit db065fab44

View File

@ -379,9 +379,9 @@ defined('BASEPATH') OR exit('No direct script access allowed');
$iter = 0;
$photo_names = array('selfie_with_person_met' => 'Selfie with person met','satellite1' => 'satellite');
$tot_rows = ceil(count($section2) / 3);
$tot_rows = ceil(count($section9) / 3);
if(count($section2))
if(count($section9))
{
echo '<div id="page_break"></div>';
echo '<table class="scorecard_table"><tr><th class="thlargefont" colspan="10">Photograph`s</th></tr></table><br><table ><tbody>';
@ -397,10 +397,10 @@ defined('BASEPATH') OR exit('No direct script access allowed');
for($i = $from ; $i <= $to; $i++)
{
if(isset($section2[$i]))
if(isset($section9[$i]))
{
echo '<td style="text-align:center;border:1px solid;"> <img src="'.$section2[$i]['img'].'" height = "200" width="200" alt="'.$section2[$i]['img_name'].'"/><br>'.$photo_names [ $section2[$i]['img_name'] ].'</td>';
echo '<td style="text-align:center;border:1px solid;"> <img src="'.$section9[$i]['img'].'" height = "200" width="200" alt="'.$section9[$i]['img_name'].'"/><br>'.$photo_names [ $section9[$i]['img_name'] ].'</td>';
}
//unset($p_key);