<div class="clear"></div> <table class="table-bordered-job table-striped table-condensed-job cf" id="example"> <thead> <tr> <th width="12%"> Date </th> <th width="15%"> Training Category </th> <th width="23%"> Title</th> <th width="23%"> Trainer Email</th> <th width="40%"> Brief Description</th> <th width="19%"> Contact</th> </tr> </thead> <tbody> <?php /*..............................Further Training List....................................*/ $user_interest = getUserInterest($conn, $registration_id); $result1 = $conn->query("SELECT * FROM `job_training_list` WHERE admin_id!=0 and status=1"); while ($row1 = $result1->fetch_assoc()) { $mail = getAdminEmail($conn, $row1['admin_id']); $post_date = $row1['post_date']; $date = date('d-m-Y', strtotime($post_date)); ?> <tr> <td data-title="Date"><?php echo $date; ?> </td> <td data-title="Training Category"><?php echo getInterest($conn, $row1['area_of_interest']); ?> </td>
</td> <?php } ?> <td data-title="Designation"><?php echo $row['last_designation']; ?> </td> <td data-title="Location"><?php echo getCityName($conn, $row['city']); ?> </td> <td data-title="Area of Interest"><?php echo getUserInterest($conn, $row['id']); ?> </td> <?php if (isset($_SESSION['registration_id'])) { ?> <?php if (actor_type($conn, $registration_id) == "F") { ?> <td data-title=""> <a href="#" class="showcandidateinterest <?php echo $row['id'] . " " . $registration_id; ?> contact">Contact</a> </td>
<div class="row"> <div class="col-sm-12"> <div class="form-group"> <?php $list_cat = listAll("categories", "ORDER BY categories.order ASC"); while ($rs_cat = mysql_fetch_object($list_cat)) { ?> <p><?php echo $rs_cat->description; ?> </p> <ul class="categories-list-form"> <?php $list_subCat = listAll("categories_event", "WHERE id_cat = '{$rs_cat->id}' ORDER BY description ASC"); while ($rs_subCat = mysql_fetch_object($list_subCat)) { $userCat = getUserInterest($userInfo['id'], $rs_subCat->id); ?> <li class="txtGris"><input name="user_interes[]" id="user_interes" class="user_interes" type="checkbox" value="<?php echo $rs_subCat->id; ?> " <?php if ($userCat == true) { echo 'checked="checked"'; } ?> ><?php echo $rs_subCat->description; ?> </li> <?php }