Changeset 9154 for trunk/MagicSoft/Mars/datacenter/db
- Timestamp:
- 11/11/08 11:50:31 (16 years ago)
- 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 46 46 $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>' "; 47 47 $query0 .= ", ' <A&ws;HREF=\"tabs.php?t=ganymed&n=' , fDataSetNumber, '\">g</A>'"; 48 $query0 .= ", ' <A&ws;HREF=\"tabs.php?t=gplotdb&n=' , fDataSetNumber, '\">pdb</A>'"; 48 49 // $query0 .= ", ' <A&ws;HREF=\"ganymed.php?fDataSetNo=', DataSets.fDataSetNumber, '\">i</A>' "; 49 50 $query0 .= ") as 'Links'"; -
trunk/MagicSoft/Mars/datacenter/db/tabs.php
r9150 r9154 11 11 "signal" => "/callisto/", 12 12 "ganymed" => "/ganymed/", 13 "gplotdb" => "/ganymed/", 13 14 "db" => "/plotdb/", 14 15 "status" => "/status/", … … 23 24 "signal" => "signal", 24 25 "ganymed" => "ganymed", 26 "gplotdb" => "plotdb", 25 27 "db" => "plotdb", 26 28 "status" => "plotstat", … … 35 37 "signal" => "signal", 36 38 "ganymed" => "ganymed", 39 "gplotdb" => "gplotdb", 37 40 "db" => "plotdb", 38 41 "status" => "status", … … 49 52 $path = $htpath.$paths[$type]; 50 53 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); 52 58 ?> 53 59 <?
Note:
See TracChangeset
for help on using the changeset viewer.