<tbody> <tr> <td width="15%" class="dt"><?php echo $this->lang->line('JobListing Details');?></td> <td width="200" class="dt"> </td> </tr> <tr> <td class="dt1 dt0"><?php echo $this->lang->line('Job');?> <?php echo $this->lang->line('ID');?>:</td> <td class="dt1"><?php echo $job->id; ?></td> </tr> <tr class="odd"> <td class="dt2 dt0"><?php echo $this->lang->line('Job Name');?>:</td> <td class="dt2"><?php echo $job->job_name; ?></td> </tr> <tr> <td class="dt1 dt0"><?php echo $this->lang->line('Status');?>:</td> <?php $status=getCurrentStatus($job->job_status,$job->employee_id,$job->id)?> <td class="dt1"><?php echo '<b style="color:green;">' .$status['status'].'</b>'; if(isset($status['message']))echo $status['message']; ?> </td> </tr> <tr class="odd"> <td class="dt2 dt0"><?php echo $this->lang->line('Budget');?>:</td> <td class="dt2"><?php echo $job->salary; ?></td> </tr> <tr> <td class="dt1 dt0"><?php echo $this->lang->line('Created');?>:</td> <td class="dt1"><?php echo get_datetime($job->created);?></td> </tr> <tr class="odd"> <td class="dt2 dt0"><?php echo $this->lang->line('Closed');?>:</td> <td class="dt2"><?php echo get_datetime($job->enddate);?> (<?php echo '<b style="color:red;">'.days_left($job->enddate,$job->id).'</b>';?>)</td>
// !!! failed to update status $alertHTML = <<<HTML <div class="alert alert-danger" role="alert"> <strong>Oh no!</strong> Could not update the Guru scraper status! </div> HTML; } } else { $alertHTML = <<<HTML <div class="alert alert-danger" role="alert"> <strong>Oh no!</strong> Could not update the Guru scraper status (value not acceptable) </div> HTML; } } $currentStatus = getCurrentStatus(); ?> <!DOCTYPE html> <html> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1"> <link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap.min.css"> <link rel="stylesheet" href="//code.jquery.com/ui/1.11.4/themes/smoothness/jquery-ui.css"> <script src="//ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js"></script> <script src="//code.jquery.com/ui/1.11.4/jquery-ui.js"></script> <script src="//maxcdn.bootstrapcdn.com/bootstrap/3.3.5/js/bootstrap.min.js"></script> <style>
<td class="dt2 dt0"><?php echo $this->lang->line('Job Name'); ?> :</td> <td class="dt2"><?php echo $project->project_name; ?> </td> </tr> <tr> <td class="dt1 dt0"><?php echo $this->lang->line('Status'); ?> :</td> <?php $status = getCurrentStatus($project->project_status, $project->programmer_id, $project->id); ?> <td class="dt1"><?php echo '<b style="color:green;">' . $status['status'] . '</b>'; if (isset($status['message'])) { echo $status['message']; } ?> </td> </tr> </tr> <tr> <td class="dt2 dt0"><?php echo $this->lang->line('Budget'); ?>