Index: trunk/ippMonitor/Makefile
===================================================================
--- trunk/ippMonitor/Makefile	(revision 5881)
+++ trunk/ippMonitor/Makefile	(revision 8929)
@@ -14,4 +14,5 @@
 $(DESTBIN)/ScienceStats.php \
 $(DESTBIN)/DetrendStats.php \
+$(DESTBIN)/RawImfile.php \
 $(DESTBIN)/phptest.php 
 
Index: trunk/ippMonitor/src/RawImfile.php
===================================================================
--- trunk/ippMonitor/src/RawImfile.php	(revision 8929)
+++ trunk/ippMonitor/src/RawImfile.php	(revision 8929)
@@ -0,0 +1,58 @@
+
+<? function maintext () { ?>
+<p>
+Explore the Science results
+</p>
+<? } ?>
+
+<?php 
+
+include 'menu.php';
+
+if ($_SERVER[REQUEST_METHOD] != 'GET') { 
+  menu('Login', 'ipp.css');
+  echo "Invalid Client Request<br>\n";
+  menu_end ();
+  exit ();
+}
+
+checkID ();
+
+menu('Login', 'ipp.css');
+maintext ();
+
+// connect to the database
+require_once('DB.php');
+# $db = DB::connect("mysql://ipp:ipp@alala/ipp");
+$db = DB::connect("mysql://root:*ifarules*@localhost/phpwiki");
+if (DB::iserror($db)) {
+  echo "<b>error accessing database</b><br>\n";
+  echo "<b>tried mysql://root:*ifarules*@localhost/phpwiki</b><br>\n";
+  menu_end();
+}
+
+// query the database
+# $sql = "SELECT exp_id,class_id,exp_type FROM rawImfile LIMIT 20";
+$sql = "SELECT userid,passwd FROM user LIMIT 20";
+$qry = $db->query($sql);
+if (DB::iserror($db)) {
+  echo "<b>error reading rawImfile table</b><br>\n";
+  menu_end();
+}
+
+// list the results
+echo "<table>";
+while ($qry->fetchInto($row)) {
+?>
+<tr>
+<td><?= $row[0] ?></td>
+<td><?= $row[1] ?></td>
+</tr>
+<?php
+
+}
+echo "</table>";
+
+menu_end();
+
+?>
Index: trunk/ippMonitor/src/RawScienceExp.php
===================================================================
--- trunk/ippMonitor/src/RawScienceExp.php	(revision 8929)
+++ trunk/ippMonitor/src/RawScienceExp.php	(revision 8929)
@@ -0,0 +1,58 @@
+
+<? function maintext () { ?>
+<p>
+Raw Science Exposures
+</p>
+<? } ?>
+
+<?php 
+
+include 'menu.php';
+
+if ($_SERVER[REQUEST_METHOD] != 'GET') { 
+  menu('Login', 'ipp.css');
+  echo "Invalid Client Request<br>\n";
+  menu_end ();
+  exit ();
+}
+
+checkID ();
+
+menu('Login', 'ipp.css');
+maintext ();
+
+// connect to the database
+require_once('DB.php');
+# $db = DB::connect("mysql://ipp:ipp@alala/ipp");
+$db = DB::connect("mysql://root:*ifarules*@localhost/phpwiki");
+if (DB::iserror($db)) {
+  echo "<b>error accessing database</b><br>\n";
+  echo "<b>tried mysql://root:*ifarules*@localhost/phpwiki</b><br>\n";
+  menu_end();
+}
+
+// query the database
+# $sql = "SELECT exp_id,class_id,exp_type FROM rawImfile LIMIT 20";
+$sql = "SELECT userid,passwd FROM user LIMIT 20";
+$qry = $db->query($sql);
+if (DB::iserror($db)) {
+  echo "<b>error reading rawImfile table</b><br>\n";
+  menu_end();
+}
+
+// list the results
+echo "<table>";
+while ($qry->fetchInto($row)) {
+?>
+<tr>
+<td><?= $row[0] ?></td>
+<td><?= $row[1] ?></td>
+</tr>
+<?php
+
+}
+echo "</table>";
+
+menu_end();
+
+?>
Index: trunk/ippMonitor/src/ScienceStats.php
===================================================================
--- trunk/ippMonitor/src/ScienceStats.php	(revision 5881)
+++ trunk/ippMonitor/src/ScienceStats.php	(revision 8929)
@@ -23,4 +23,3 @@
 menu_end();
 
-
 ?>
Index: trunk/ippMonitor/src/menu.dat
===================================================================
--- trunk/ippMonitor/src/menu.dat	(revision 5881)
+++ trunk/ippMonitor/src/menu.dat	(revision 8929)
@@ -16,4 +16,5 @@
 menulink  | menuselect	 | link    | Science Stats   		  | ScienceStats.php     
 menulink  | menuselect	 | link    | Detrend Stats   		  | DetrendStats.php     
+menulink  | menuselect	 | link    | Raw Imfile List   		  | RawImfile.php     
 
 menutop   | menutop	 | plain   | foo bar     		  | none            
