Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
data_type.php
Go to the documentation of this file. Or view the newest version in sPHENIX GitHub for file data_type.php
1 <form name="datatypeselect" method="post" action="runrange_select.php" target="topright">
2 <center>
3 <p>
4 Select datatype from dropdown list <br>
5  <select name="datatype">
6 
7 <?php
8 
9 //$run_directory = "/phenix/WWW/run/10/online_monitoring/200GeV/";
10 $run_directory = "/common/s6/backup/OnlMon/html/";
11 
12 if( $dh = opendir($run_directory))
13 {
14  while (($file = readdir($dh))!==false)
15  {
16 // echo(" " . $run_directory . " - " . $file . " <br> \n");
17 // Skip '.' and '..'
18  if( $file == '.' || $file == '..') continue;
19  if( is_dir($run_directory.$file) && stristr($file, "data") && !(stristr($file, "reject")) && !(stristr($file, "unknown")))
20  {
21  echo("<option value=\"" . $run_directory.$file . "\">" . $file . "</option>\n");
22  }
23  }
24  closedir($dh);
25 }
26 
27 ?>
28 
29 </select>
30 <br><input type="submit" name="Submit" value="Select">
31 </center>
32 </form>
33 
34