system: Linux mars.sprixweb.com 3.10.0-1160.119.1.el7.x86_64 #1 SMP Tue Jun 4 14:43:51 UTC 2024 x86_64
<?php
class Display_DInbox
{
function showInbox($inbox)
{
for($i=0;$i<count($inbox);$i++)
{
$output.='
<tr>
<td class="width-10">
<input name="checkbox[]" id="checkbox[]" type="checkbox" value="'.$inbox[$i]['contactus_id'].'" />
</td>
<td class="viewEmail"><span class="label label-success"><i class="fa fa-envelope"></i></span></td>
<td class="viewEmail hidden-xs">'.$inbox[$i]['contactus_name'].'</td>
<td class="viewEmail viewEmail"> <a href="?do=inbox&action=view&id='.$inbox[$i]['contactus_id'].'">'.substr($inbox[$i]['contactus_message'],0,10).'</a></td>
<td class="viewEmail text-right"> '.substr($inbox[$i]['contactus_date'],0,10).'</td>
</tr>';
}
return $output;
}
}
?>