Changeset 7619 for trunk/MagicSoft/Mars/datacenter/db
- Timestamp:
- 03/21/06 03:27:40 (19 years ago)
- Location:
- trunk/MagicSoft/Mars/datacenter/db
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/datacenter/db/ganymed.php
r7578 r7619 132 132 } 133 133 134 function PrintDataSetInfo($result0, $ganymedtabs )134 function PrintDataSetInfo($result0, $ganymedtabsw, $ganymedtabs) 135 135 { 136 136 $numres = mysql_num_rows($result0); … … 232 232 } 233 233 printf("<tr><td colspan=\"6\">\n Plots: "); 234 foreach($ganymedtabs as $key => $element) 234 if ($wobble=='Y') 235 $tabs=$ganymedtabsw; 236 else 237 $tabs=$ganymedtabs; 238 foreach($tabs as $key => $element) 235 239 if (!$key==0) 236 240 printf("<a href=\"http://www.astro.uni-wuerzburg.de/datacenter/ganymed/%s/%s/ganymed%s-tab%s.png\">%s</a> ", $num2, $num, $num, $key, $element); … … 257 261 } 258 262 259 function PrintPage($html, $host, $user, $pw, $db, $ganymedtabs )263 function PrintPage($html, $host, $user, $pw, $db, $ganymedtabsw, $ganymedtabs) 260 264 { 261 265 $db_id = mysql_connect($host, $user, $pw); … … 274 278 { 275 279 if ($html=="1" || $html=="2") 276 PrintDataSetInfo($result0, $ganymedtabs );280 PrintDataSetInfo($result0, $ganymedtabsw, $ganymedtabs); 277 281 else 278 282 PrintText($result0); … … 298 302 header("Content-Disposition: attachment; filename=query-result.txt"); 299 303 300 PrintPage("0", $host, $user, $pw, $db, $ganymedtabs );304 PrintPage("0", $host, $user, $pw, $db, $ganymedtabsw, $ganymedtabs); 301 305 } 302 306 else … … 315 319 { 316 320 if (empty($_GET["fPrintTable"])) 317 PrintPage("1", $host, $user, $pw, $db, $ganymedtabs );318 else 319 PrintPage("2", $host, $user, $pw, $db, $ganymedtabs );321 PrintPage("1", $host, $user, $pw, $db, $ganymedtabsw, $ganymedtabs); 322 else 323 PrintPage("2", $host, $user, $pw, $db, $ganymedtabsw, $ganymedtabs); 320 324 } 321 325 -
trunk/MagicSoft/Mars/datacenter/db/tabs.php
r7613 r7619 1 1 <?php 2 2 3 $ganymedtabs = array ("0", "SourcePos", "PreCut", "FSOff", "PostCut", "VsSize", "HillasExt", "HilSrc", "ImgPar", "NewPar", "HistOff", "FS", "Hist", "MHPhi", "OnTime"); 3 $ganymedtabs = array ("0", "SourcePos", "PreCut", "FSOff", "PostCut", "VsSize", "HillasExt", "HilSrc", "ImgPar", "NewPar", "HistOff", "FS", "Hist", "OnTime"); 4 $ganymedtabsw = array ("0", "SourcePos", "PreCut", "FSOff", "PostCut", "VsSize", "HillasExt", "HilSrc", "ImgPar", "NewPar", "HistOff", "FS", "Hist", "MHPhi", "OnTime"); 4 5 5 6 $startabs = array ("0", "Rate", "EffOnTime", "Cleaned", "UsedPix", "MHHillas", "MHHillasExt", "MHHillasSrc", "MHImagePar", "MHNewImagePar", "MHMuonPar", "MHWeather", "MHPointing", "Curents", "MeanRms");
Note:
See TracChangeset
for help on using the changeset viewer.