Example #1
0
function build_bootstrap()
{
    show_run('Building bootstrap', 'vendor/sensio/distribution-bundle/Sensio/Bundle/DistributionBundle/Resources/bin/build_bootstrap.php');
}
Example #2
0
    echo "Time:       <input type=text size=20 name=\"start_time\" value=\"{$start_time}\"><br>";
    echo "Hares:      <input type=text size=50 maxlength=50 name=\"hares\" value=\"{$hares}\"><br>";
    echo "Location:   <input type=text size=60 maxlength=500 name=\"location\" value=\"{$location}\"><br>";
    echo "On On:      <input type=text size=60 maxlength=500 name=\"On_On_location\" value=\"{$On_On_location}\"><br>";
    echo "Comments:   <input type=text size=60 maxlength=500 name=\"comments\" value=\"{$comments}\"><br>";
    echo "Directions: <input type=text size=60 maxlength=500 name=\"directions\" value=\"{$directions}\"><br>";
    echo "Map:        <input type=text size=60 maxlength=500 name=\"run_map\" value=\"{$run_map}\"><br>";
    echo "Hash:       <input type=text size=12 maxlength=50 name=\"hash\" value=\"{$Hash}\"><br>";
    echo "<br>";
    echo "<input type=\"Submit\" name=\"function\" value=\"update\">";
    echo "<input type=\"Submit\" name=\"function\" value=\"delete\">";
    echo "<input type=\"Reset\" value=\"cancel\">";
    print '</form>';
    echo "</pre>";
    mysql_close();
    mysql_free_result($result);
}
/*
 * Now this is where the program actually starts. First we see if we were called with a 
 * run number and what we're supposed to do (ie function value)
 */
$function = $_POST['function'];
$run = $_POST['run'];
if (!$function) {
    show_run();
} elseif ($function == "delete") {
    delete_run();
} elseif ($function = "update") {
    update_run();
}
include 'sfh3_footer.html';
Example #3
0
function rebuildBootstrap()
{
    show_run("Building bootstrap", "vendor/bundles/Sensio/Bundle/DistributionBundle/Resources/bin/build_bootstrap.php");
}
Example #4
0
        if ($qstat_reduce != "yes") {
            $out = exec("./gexml -u {$owner} {$jobstatflag} {$queueflag} -o /tmp/{$token}.xml");
            show_pend("", $owner, $queue);
            exec("rm /tmp/{$token}.xml");
        } else {
            show_pend($qstat, $owner, $queue);
        }
        break;
    default:
        $jobstatflag = "-s r";
        if ($qstat_reduce != "yes") {
            $out = exec("./gexml -u {$owner} {$jobstatflag} {$queueflag} -o /tmp/{$token}.xml");
            show_run("", $owner, $queue);
            exec("rm /tmp/{$token}.xml");
        } else {
            show_run($qstat, $owner, $queue);
        }
        $jobstatflag = "-s p";
        if ($qstat_reduce != "yes") {
            $out = exec("./gexml -u {$owner} {$jobstatflag} {$queueflag} -o /tmp/{$token}.xml");
            show_pend("", $owner, $queue);
            exec("rm /tmp/{$token}.xml");
        } else {
            show_pend($qstat, $owner, $queue);
        }
        break;
}
?>
	  

      </td>
Example #5
0
}
switch ($jobstat) {
    case "r":
        $jobstatflag = "-s r";
        $out = exec("./gexml -u {$owner} {$jobstatflag} {$queueflag} -o /tmp/{$token}.xml");
        show_run("/tmp/{$token}.xml", $owner);
        break;
    case "p":
        $jobstatflag = "-s p";
        $out = exec("./gexml -u {$owner} {$jobstatflag} {$queueflag} -o /tmp/{$token}.xml");
        show_pend("/tmp/{$token}.xml", $owner);
        break;
    default:
        $jobstatflag = "-s r";
        $out = exec("./gexml -u {$owner} {$jobstatflag} {$queueflag} -o /tmp/{$token}.xml");
        show_run("/tmp/{$token}.xml", $owner);
        $jobstatflag = "-s p";
        $out = exec("./gexml -u {$owner} {$jobstatflag} {$queueflag} -o /tmp/{$token}.xml");
        show_pend("/tmp/{$token}.xml", $owner);
        break;
}
?>
	  

      </td>
    </tr>
<?php 
include "bottom.php";
?>
  </tbody>
</table>