<h3> <?php echo $job_name; if ($owner && $_SESSION['auth'] == 'yes') { echo get_jobstatus_controls($job_id); } ?> </h3> <?php echo get_results_table($browsers, $runs, $job_id);
function downloadJobStatus($job_id, $view) { echo '<html><head>'; echo '<link rel="stylesheet" href="../css/site.css">'; echo '<script type="text/javascript" src="../js/jquery.js"></script>'; echo '<script type="text/javascript" src="../js/status.js"></script>'; echo '</head><body><div id="main">'; echo get_results_table($browsers, $runs, $job_id); echo '</body></div></html>'; }