You are here
Cruise Load Out
$cruise = $_GET['cruise'];
$vessel = $_GET['vessel'];
$displayNameStart= 'Instrument Load Out:';
if (empty($cruise)) {
$cruise = 'July 2013';
$displayNameStart = 'Example Instrument Load Out:';
}
if (empty($vessel)){
$vessel = 'Oceanus';
$displayNameStart = 'Example Instrument Load Out:';
}
include_once("scripts/db.php");
drupal_add_css("scripts/css/db.css");
drupal_add_js("scripts/javascripts/jquery.tablesorter.min.js");
drupal_add_js("scripts/javascripts/db.js");
$db = connectCMOPDB();
$tableName = "cruise.cruise_loadout where cruise = $1 and vessel = $2 ";
$sql = "SELECT * FROM $tableName";
$result = pg_query_params($db, $sql,array($cruise,$vessel));
$displayName = "$displayNameStart $vessel $cruise";
$hidecolumns = array("vessel","cruise","seabirdcode");
showResult($result, $displayName, $displayName, '', $hidecolumns);
?>