Ignore:
Timestamp:
11/11/08 11:50:31 (16 years ago)
Author:
Daniela Dorner
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars/datacenter/db
Files:
2 added
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/datacenter/db/datasetinfo-aio.php

    r9150 r9154  
    4646                    $query0 .= ", CONCAT('<A&ws;HREF=\"http://www.astro.uni-wuerzburg.de/datacenter/datasets/' , LEFT(LPAD(CONCAT(DataSets.fDataSetNumber, '.'), 9,'0'),5), '/dataset', LPAD(CONCAT(DataSets.fDataSetNumber , '.txt'), 12,'0') , '\">f</A>' ";
    4747                    $query0 .= ", '&nbsp;<A&ws;HREF=\"tabs.php?t=ganymed&n=' , fDataSetNumber, '\">g</A>'";
     48                    $query0 .= ", '&nbsp;<A&ws;HREF=\"tabs.php?t=gplotdb&n=' , fDataSetNumber, '\">pdb</A>'";
    4849//                    $query0 .= ", '&nbsp;<A&ws;HREF=\"ganymed.php?fDataSetNo=', DataSets.fDataSetNumber, '\">i</A>' ";
    4950                    $query0 .= ") as 'Links'";
  • trunk/MagicSoft/Mars/datacenter/db/tabs.php

    r9150 r9154  
    1111     "signal"  => "/callisto/",
    1212     "ganymed" => "/ganymed/",
     13     "gplotdb" => "/ganymed/",
    1314     "db"      => "/plotdb/",
    1415     "status"  => "/status/",
     
    2324     "signal"  => "signal",
    2425     "ganymed" => "ganymed",
     26     "gplotdb" => "plotdb",
    2527     "db"      => "plotdb",
    2628     "status"  => "plotstat",
     
    3537     "signal"  => "signal",
    3638     "ganymed" => "ganymed",
     39     "gplotdb" => "gplotdb",
    3740     "db"      => "plotdb",
    3841     "status"  => "status",
     
    4952   $path = $htpath.$paths[$type];
    5053   if ($number>0)
    51       $path = sprintf($path."%04d/%08d/", $number/10000, $number);
     54       if ($type=="ganymed" || $type=="gplotdb")
     55           $path = sprintf($path."%05d/%08d/", $number/1000, $number);
     56       else
     57           $path = sprintf($path."%04d/%08d/", $number/10000, $number);
    5258?>
    5359<?
Note: See TracChangeset for help on using the changeset viewer.