Example #1
0
?>
		<tr class="total_users"><td colspan="9">Total Users: <?php 
echo $total_users;
?>
</td></tr>
		<tr class="report_heading">
   <td>Id User</td>
			<td>Name</td>
			<td>Email</td>
			<td>Status</td>
			<td>Plan</td>
			<td align="center">Action</td>
		</tr>
<?php 
$count = 1;
$do_user->getALL();
while ($do_user->next()) {
    $class = $count % 2 == 0 ? "even" : "odd";
    ?>

    <tr class="<?php 
    echo $class;
    ?>
">
      <td><?php 
    echo $do_user->getData("iduser");
    ?>
</td>
      <td><?php 
    echo $do_user->getData("firstname") . " " . $do_user->getData("middlename") . " " . $do_user->getData("lastname");
    ?>