Index: trunk/ippMonitor/def/histogramBackgroundImage.php
===================================================================
--- trunk/ippMonitor/def/histogramBackgroundImage.php	(revision 28601)
+++ 	(revision )
@@ -1,30 +1,0 @@
-TABLE camRun, chipRun, rawExp, camProcessedExp
-TITLE New histogram background
-FILE  hsitogramBackgroundImage.php
-MENU  ipp.imfiles.dat
-
-WHERE camRun.state = 'full'
-WHERE camRun.chip_id = chipRun.chip_id
-WHERE chipRun.exp_id = rawExp.exp_id
-WHERE camProcessedExp.cam_id = camRun.cam_id
-WHERE camProcessedExp.fault = 0
-
-#    field                size  format  name           show     link to         extras
-FIELD rawExp.exp_name,            5, %s,     Exp Name, 	      restrict
-FIELD rawExp.exp_id,             5, %d,      Exp ID, 	      restrict
-FIELD rawExp.telescope,          10, %s,     Telescope,       restrict
-FIELD rawExp.camera,             10, %s,     Camera, 	      restrict
-FIELD rawExp.dateobs,            19, %T,     Date/Time,       restrict
-FIELD rawExp.ra,                  8, %C,     RA, 	      restrict
-FIELD rawExp.decl,                8, %C,     DEC, 	      restrict
-FIELD rawExp.comment,            65, %s,     Comment, 	      restrict
-FIELD rawExp.object,              8, %s,     Object, 	      restrict
-FIELD rawExp.filter,             10, %s,     FILTER, 	      restrict
-FIELD rawExp.exp_time,            5, %.2f,   exp_time, 	      restrict
-FIELD rawExp.airmass,             5, %.4f,   airmass, 	      restrict
-FIELD rawExp.bg,                  5, %.2f,   backgnd, 	      restrict
-FIELD rawExp.bg_stdev,            5, %.2f,   stdev, 	      restrict
-
-# What to plot
-TOPLOT rawExp.bg
-PLOTTER plotHistogram.php
Index: trunk/ippMonitor/def/image_autocode.php
===================================================================
--- trunk/ippMonitor/def/image_autocode.php	(revision 28601)
+++ 	(revision )
@@ -1,124 +1,0 @@
-<?php 
-
-include 'ipp.php';
-
-$ID = checkID ();
-
-// require an explicit project
-if (! $ID['proj']) { projectform ($ID); }
-
-$db = dbconnect($ID['proj']);
-
-if ($ID['menu']) {
-  $myMenu = $ID['menu'];
-} else {
-  $myMenu = "$MENU";
-}
-
-menu($myMenu, '$TITLE', '$STYLE', $ID['link'], $ID['proj']);
-
-echo "<p> $TITLE </p>";
-
-// set up the form
-echo "<form action=\"$FILE\" method=\"POST\">\n";
-
-$restricted = 0;
-
-// define restrictiosn to the queries
-// ** TABLE RESTRICTIONS **
-
-if ($restricted == 0) {//Don't display anything
-  if ($WHERE == "") {
-    $WHERE = "WHERE (0 > 1)";
-  } else {
-    $WHERE = "WHERE (0 > 1)";
-  }
-}
-
-// get the result table count
-$sql = "SELECT count(*) FROM $TABLE $WHERE";
-
-$qry = $db->query($sql);
-if (dberror($qry)) {
-  echo "<b>error reading $TABLE table count</b><br>\n";
-  echo "<br><small><b> count query : $sql </b></small><br>\n";
-  menu_end();
-}
-if (!$qry->fetchInto($row)) {
-  echo "<b>error reading $TABLE table count</b><br>\n";
-  echo "<br><small><b> count query : $sql </b></small><br>\n";
-  menu_end();
-}
-$nValues = $row[0];
-echo "<b>$nValues match selection</b><br>\n";
-
-if ($row[0]) {
-  menu_end();
-}
-
-$sql = "SELECT $FIELDS FROM $TABLE $WHERE";
-$qry = $db->query($sql);
-
-if (dberror($qry)) {
-  echo "<b>error reading $TABLE table</b><br>\n";
-  echo "<br><small><b> table query : $sql </b></small><br>\n";
-  menu_end();
-}
-
-// ** HEAD CODE **
-
-// ** BUTTON RESTRICTIONS **
-navigate_buttons ($rowStart, $rowLast, $dTABLE, $rowTotal, $buttonLink, $ID, '$FILE');
-
-echo "&nbsp; : &nbsp; or enter start row: <input type=\"text\" name=\"from\" size=\"5\" value=\"$rowStart\">\n";
-
-// set up the table
-echo "<table class=list>\n";
-
-// echo "<tr><td></td>\n"; // first field is a label set below for the query rows only
-// ** TABLE HEADER **
-// echo "</tr>\n";
-
-// query restriction form
-// echo "<tr>\n";
-// echo "<td class=list> <input type=\"text\" name=\"expID\"></td>\n";
-// ** TABLE QUERY **
-// echo "</tr>\n";
-
-// list the results
-while ($qry->fetchInto($row)) {
-  // $link = "$FILE" . "?expID=" . $row[0] . "&" . $ID['link'];
-
-  $class = "list";
-  // ** TD CLASS **
-
-  echo "<tr><td></td>\n";
-  // ** TABLE DATA **
-  echo "</tr>\n";
-}
-
-// query restriction form
-// echo "<tr>\n";
-// echo "<td class=list> <input type=\"text\" name=\"expID\"></td>\n";
-// TABLE QUERY 
-// echo "</tr>\n";
-
-// close the table and form
-echo "</table>\n";
-echo "<input type=\"submit\" name=\"constraints\" value=\"refine search\">\n";
-$pass = $ID['pass'];
-$proj = $ID['proj'];
-$menu = $ID['menu'];
-echo "<input type=\"hidden\" name=\"pass\" value=\"$pass\">\n";
-echo "<input type=\"hidden\" name=\"proj\" value=\"$proj\">\n";
-echo "<input type=\"hidden\" name=\"menu\" value=\"$menu\">\n";
-echo "</form>\n";
-
-// ** TAIL CODE **
-
-echo "<small> WHERE: $WHERE<br><br></small>\n";
-echo "<small> SQL: $sql<br><br></small>\n";
-
-menu_end();
-
-?>
