?>
</td>
          <td><?php 
    if (togetjobcounts($row['RecruiterID']) > 0) {
        ?>
<a href="view_recruiterjobs.php?page=viewrct&rid=<?php 
        echo $row['RecruiterID'];
        ?>
" >View Jobs</a><?php 
    } else {
        echo "No Jobs";
    }
    ?>
</td>
          <td><?php 
    echo togetjobcounts($row['RecruiterID']);
    ?>
</td>
          <td><a href="view_recruiterdetails.php?id=<?php 
    echo $row['RecruiterID'];
    ?>
" >View Details</a><!--<a href="edit_category.php?id=<?php 
    echo $row['RecruiterID'];
    ?>
" >Edit</a>--></td>
        </tr>
        <?php 
    $j++;
}
?>
      </table>
<div class="toplink"> <a href="index.php?p=editprofile">Edit Profile</a> // <a href="index.php?p=postjobs">Post Jobs</a> <?php 
if (togetjobcounts($_SESSION['GTUserID']) > 0) {
    ?>
// <a href="index.php?p=viewpostedjobs">View Posted Jobs</a> <?php 
    if (togetjobcountstatus($_SESSION['GTUserID'], '1') > 0) {
        ?>
// <a href="index.php?p=viewjobsstatus&sid=1">Active Jobs[<?php 
        echo togetjobcountstatus($_SESSION['GTUserID'], '1');
        ?>
]</a><?php 
    }
    ?>
 <?php 
    if (togetjobcountstatus($_SESSION['GTUserID'], '0') > 0) {
        ?>
// <a href="index.php?p=viewjobsstatus&sid=0">In-Active Jobs[<?php 
        echo togetjobcountstatus($_SESSION['GTUserID'], '0');
        ?>
]</a> <?php 
    }
}
?>
</div>