// Global variables
$job_level = array( 'D' => 'Diff', 'I' => 'Incr', 'F' => 'Full' );
- $query .= "SELECT Job.JobId, Job.Name AS Job_name, Job.StartTime, Job.EndTime, Job.Level, Job.JobBytes, Job.JobFiles, Pool.Name, Job.JobStatus, Pool.Name AS Pool_name, Status.JobStatusLong ";
+ $query .= "SELECT Job.JobId, Job.Name AS Job_name, Job.Type, Job.StartTime, Job.EndTime, Job.Level, Job.JobBytes, Job.JobFiles, Pool.Name, Job.JobStatus, Pool.Name AS Pool_name, Status.JobStatusLong ";
$query .= "FROM Job ";
$query .= "LEFT JOIN Pool ON Job.PoolId=Pool.PoolId ";
$query .= "LEFT JOIN Status ON Job.JobStatus = Status.JobStatus ";
<tr>
<td class="tbl_header">Status</td>
<td class="tbl_header">Job ID</td>
- <td class="tbl_header">BackupJob</td>
+ <td class="tbl_header">Name</td>
+ <td class="tbl_header">Type</td>
<td class="tbl_header">Start Time</td>
<td class="tbl_header">End Time</td>
<td class="tbl_header">Elapsed time</td>
<td class="{$job.Job_classe}">
<a href="backupjob-report.php?backupjob_name={$job.job_name}">{$job.job_name}</a>
</td>
+ <td class="{$job.Job_classe}">{$job.type}</td>
<td class="{$job.Job_classe}">{$job.starttime}</td>
<td class="{$job.Job_classe}">{$job.endtime}</td>
<td class="{$job.Job_classe}">{$job.elapsed_time}</td>