Changeset 40428 for trunk/ippMonitor
- Timestamp:
- May 15, 2018, 9:58:14 AM (8 years ago)
- File:
-
- 1 edited
-
trunk/ippMonitor/raw/czartool_labels_old.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippMonitor/raw/czartool_labels_old.php
r40358 r40428 349 349 echo $table; 350 350 echo "<tr>"; 351 createTableTitle("Status of last night's data", 3);351 createTableTitle("Status of last night's data", 4); 352 352 echo "<tr>"; 353 353 createTableColumnHeader("Exposure type"); 354 createTableColumnHeader("At summit ");354 createTableColumnHeader("At summit (OK)"); 355 355 createTableColumnHeader("Registered at MHPCC"); 356 createTableColumnHeader("At summit (Dropped)"); 356 357 357 358 $msg = "No science images taken since $date"; … … 360 361 while ($qry->fetchInto($expType)) { 361 362 363 # $sql = "SELECT COUNT(*) FROM summitExp WHERE dateobs > '$date' AND exp_type = '$expType[0]' and status != 'drop'"; 362 364 $sql = "SELECT COUNT(*) FROM summitExp WHERE dateobs > '$date' AND exp_type = '$expType[0]'"; 363 365 $qry2 = $projectdb->query($sql); 364 366 $qry2->fetchInto($summit); 367 368 # $sql = "SELECT COUNT(*) FROM summitExp JOIN rawExp ON summitExp.exp_name = rawExp.exp_name WHERE summitExp.dateobs > '$date' AND summitExp.exp_type = '$expType[0]' AND summitExp.status != 'drop'"; 365 369 $sql = "SELECT COUNT(*) FROM summitExp JOIN rawExp ON summitExp.exp_name = rawExp.exp_name WHERE summitExp.dateobs > '$date' AND summitExp.exp_type = '$expType[0]'"; 366 370 $qry2 = $projectdb->query($sql); 367 371 $qry2->fetchInto($mhpcc); 368 372 373 $sql = "SELECT COUNT(*) FROM summitExp WHERE dateobs > '$date' AND exp_type = '$expType[0]'"; 374 $qry2 = $projectdb->query($sql); 375 $qry2->fetchInto($dropped); 376 369 377 echo "<tr>"; 370 378 … … 374 382 echo "<td>$expType[0]</td>"; 375 383 echo "<td>$summit[0]</td>"; 376 377 384 createFormattedTableCell("", "", $mhpcc[0], $error, 0); 385 echo "<td>$dropped[0]</td>"; 378 386 379 387 echo "</tr>";
Note:
See TracChangeset
for help on using the changeset viewer.
