<table id="example" class="table table-striped" cellspacing="0"> <thead> <tr> <th>No.</th> <th width="15%" align="left"><input type="checkbox" name="chkall" id="chkall" onclick="return checkall('selector[]');"> Select All</th> <th>Project Title</th> <th>Details</th> </tr> </thead> <tbody> <?php $account_username = $_SESSION['ACCOUNT_USERNAME']; $account_type = $_SESSION['ACCOUNT_TYPE']; $project = new Project(); $projectList = $project->ProjectsByConsultant($_SESSION['CONSULTANT_ID']); foreach ($projectList as $list) { echo '<tr>'; echo '<td width="5%" align="center"></td>'; echo '<td width="15%"><input type="checkbox" name="selector[]" id="selector[]" value="' . $list->project_id . '"/>'; echo '<td width="55%" >' . $list->project_name . '</td>'; echo '<td><a href = "index.php?view=view&projectId=' . $list->project_id . '" ><span class="glyphicon glyphicon-list-alt"> </span> View</a></td>'; echo '</tr>'; } ?> </tbody> </table>
<?php $consultant_id = $_GET['con_id']; //echo $consultant_id; $competence = new Competence(); $competenceList = $competence->listOfConsultantCompetence($consultant_id); $project = new Project(); $projectList = $project->ProjectsByConsultant($consultant_id); $consultant = new Consultant(); $consultantList = $consultant->single_consultant($consultant_id); ?> <div class="container"> <div class="row"> <div class="col-md-12 col-xs-12"> <div class="well panel panel-default"> <div class="panel-body"> <div class="row"> <div class="col-xs-12 col-sm-4 text-center"> <img src="img/Hashim.jpg" alt="" class="center-block img-circle img-thumbnail img-responsive"> </div> to upload foto ???? <!--/col--> <div class="col-xs-12 col-sm-8"> <h2><?php echo $_GET['consultant_name']; ?> </h2> <p><strong>Qualification: </strong><?php echo $consultantList->qualification;