more..."; $showfooterimages = 1; $showflash = 1; $headerparam = ""; $headerparam .= ""; include 'frame_top.php'; # get the latest news $newsfile = "../../news/whats-new.txt"; if ($content = file($newsfile)) { /* Format: 13.4.2007 - School students "Catch a Star"! [information@eso.org] # 0: Date, 1: title, 2: email address, 3: URL */ for ($i=0;$i<20;$i=$i+4) { $link = $content[$i+3]; $linkpos = strpos($link,"http"); $linklen = strrpos($link, ">"); $link = substr($link,$linkpos,$linklen-$linkpos); # convert old links if (!strpos($link,"/public/outreach/")) { $link = str_replace('/outreach/','/public/outreach/',$link); } if (strpos($link,"/public/outreach/")) $currentpr[] = $link; $text = $content[$i+1]; $text = preg_replace('/ +?- +?/','',$text); # make array for lookup with photo of the week $pr_id = getPRID($link); $pr_array[$pr_id] = $text; $prout .= "
  • ".$text." (".trim($content[$i]).")
  • "; } } $currentpr = $currentpr[0]; #################################### # set picture of the week by hand: # #################################### # $pictureoftheweek = "archives/images/penitents-icon.jpg"; $pow_more_link = "archives/penitents.html"; $imagetext = "The White Penitents"; # #################################### # or give just number of pr # #################################### # #$curnum=55; #$imagetext = "The Tinker Bell Triplet"; # #################################### if (!$pictureoftheweek) { if (!$curnum) { $curnum = getPRID($currentpr); } if (!$imagetext) $imagetext = $pr_array[$curnum]; # get the image $cururl = dirname($currentpr)."/images/"; $pos0 = strpos($cururl,"outreach"); $curdir = substr($cururl, $pos0); #find icon image with that combination $aimages = get_files($curdir, "jpg",$curnum.".+icon"); #just take the first one if ($aimages) { sort ($aimages); $pictureoftheweek = $aimages[0]; } $afiles = get_files($curdir."../", "html", "pr".".+".$curnum); if ($afiles) { sort ($afiles); $pow_more_link = $afiles[0]; } # echo ""; } # echo $pictureoftheweek; ?>

    Welcome to ESO

    ESO is the intergovernmental European Organisation for Astronomical Research in the Southern Hemisphere. On behalf of its thirteen member states ESO operates a suite of the world's most advanced ground-based astronomical telescopes located at the La Silla Paranal Observatory in the Atacama desert in Chile. The ESO Headquarters are situated in Garching near Munich, Germany.

    Latest News

    Lange Nacht der Wissenschaft Long Night of Science / Lange Nacht der Wissenschaft
    13 October 2007, 18:00 - 24:00 hours

    */ ?>

    Announcements

    AAS Star Visit our stand at the AAS, Austin TX, USA

    Catch a Star!

    Catch a Star!
    Deadline is 29 February 2008. More...


    Image of the Week

    more..."; } ?>
    Archive

    ALMA Trailer - a florilege of ALMA related items
    Watch the movie in better quality


      */ ?>