It looks like this code:
<td nowrap >
<?=$status_arr[$row;?>
</td>
is on the wrong place.
(It's also wrong so that's why this column is empty)
Try this:
<table width="100%" border="0" cellspacing=1 cellpadding=2>
<form action="tickets.php" method="POST" name='tickets' onSubmit="return checkbox_checker(this,1,0);">
<input type="hidden" name="a" value="mass_process" >
<input type="hidden" name="status" value="<?=$statusss?>" >
<tr><td>
<table width="100%" border="0" cellspacing=0 cellpadding=2 class="dtable" align="center">
<tr>
<?if($canDelete || $canClose) {?>
<th width="8px"> </th>
<?}?>
<th width="70" >
<a href="tickets.php?sort=ID&order=<?=$negorder?><?=$qstr?>" title="Sort By Ticket ID <?=$negorder?>">Ticket</a></th>
<th width="70">
<a href="tickets.php?sort=date&order=<?=$negorder?><?=$qstr?>" title="Sort By Date <?=$negorder?>">Date</a></th>
<th width="280">Subject</th>
<th width="120">
<a href="tickets.php?sort=dept&order=<?=$negorder?><?=$qstr?>" title="Sort By Category <?=$negorder?>">Department</a></th>
<th width="70">
<a href="tickets.php?sort=pri&order=<?=$negorder?><?=$qstr?>" title="Sort By Priority <?=$negorder?>">Priority</a></th>
<th width="180" >From</th>
<th width="150">Progress</th>
</tr>
<?
$class = "row1";
$total=0;
if($tickets_res && ($num=db_num_rows($tickets_res))):
while ($row = db_fetch_array($tickets_res)) {
$tag=$row?'assigned':'openticket';
$flag=null;
if($row)
$flag='locked';
elseif($row)
$flag='assigned';
elseif($row)
$flag='overdue';
$tid=$row;
$subject = Format:($row,40);
if(!strcasecmp($row,'open') && !$row && !$row) {
$tid=sprintf('<b>%s</b>',$tid);
//$subject=sprintf('<b>%s</b>',Format:($row,40)); // Making the subject bold is too much for the eye
}
?>
<tr class="<?=$class?> " id="<?=$row?>">
<?if($canDelete || $canClose) {?>
<td align="center" class="nohover">
<input type="checkbox" name="tids" value="<?=$row?>" onClick="highLight(this.value,this.checked);">
</td>
<?}?>
<td align="center" title="<?=$row?>" nowrap>
<a class="Icon <?=strtolower($row)?>Ticket" title="<?=$row?> Ticket: <?=$row?>"
href="tickets.php?id=<?=$row?>"><?=$tid?></a></td>
<td align="center" nowrap><?=Format:($row)?></td>
<td><a <?if($flag) { ?> class="Icon <?=$flag?>Ticket" title="<?=ucfirst($flag)?> Ticket" <?}?>
href="tickets.php?id=<?=$row?>"><?=$subject?></a>
<?=$row?"<span class='Icon file'> </span>":''?></td>
<td nowrap><?=Format:($row,30)?></td>
<td class="nohover" align="center" style="background-color:<?=$row?>;"><?=$row?></td>
<td nowrap><?=Format:($row,22,strpos($row,'@'))?> </td>
<td nowrap><?=($row) ? $row : ' ';?> <?=($row) ? $row : '';?></td>
<td nowrap ><?=$status_arr[$row;?> </td>
</tr>
<?
$class = ($class =='row2') ?'row1':'row2';
} //end of while.
else: //not tickets found!! ?>
<tr class="<?=$class?>"><td colspan=8><b>Query returned 0 results.</b></td></tr>
<?
endif; ?>
</table>