".tra("Computing power")."
".tra("Top 100 volunteers")." · ".tra("Statistics")."
"; show_totals(); include("piecharts/$i.html"); echo ""; } function show_totals() { $fn = "boinc_state.xml"; if (!file_exists($fn) || filemtime($fn) < time()-86400) { $uid = time(); $x = file_get_contents("http://boincstats.com/en/xml/boincState?uid=$uid"); if ($x) { $f = fopen($fn, "w"); fwrite($f, $x); } else return; } $x = file_get_contents($fn); $users = parse_element($x, ""); $hosts = parse_element($x, ""); $credit_day = parse_element($x, ""); $users = number_format($users); $hosts = number_format($hosts); $petaflops = number_format($credit_day/200000000, 3); echo tra("Active:")." $users ".tra("volunteers,")." $hosts ".tra("computers. ")."
".tra("24-hour average:")." $petaflops ".tra("PetaFLOPS.")."
"; } function show_news_items() { require_once("../html/inc/news.inc"); require_once("../html/inc/forum.inc"); echo "
".tra("News")."
"; show_news(0, 5); echo "
"; } function show_participate() { echo "
".tra("Volunteer")."
".tra("Download")." · ".tra("Help")." · ".tra("Documentation")." · ".tra("Add-ons")." · ".tra("Links")."

".sprintf( tra(" Use the idle time on your computer (Windows, Mac, or Linux) to cure diseases, study global warming, discover pulsars, and do many other types of scientific research. It's safe, secure, and easy: %sChoose%s projects %sDownload%s and run BOINC software %sEnter%s an email address and password. "), "

  1. ", "", "
  2. ", "", "
  3. ", "" )."

".sprintf( tra("Or, if you run several projects, try an %saccount manager%s such as %sGridRepublic%s or %sBAM!%s. "), "", "", "", "", "", "" )." "; } function show_create() { echo "

".tra("Compute with BOINC")."
".tra("Documentation")." · ".tra("Software updates")."
  • ", tra("%1Scientists%2: use BOINC to create a %3volunteer computing project%4 giving you the computing power of thousands of CPUs.", "", "", "", "" ), "
  • ", tra("%1Universities%2: use BOINC to create a %3Virtual Campus Supercomputing Center%4.", "", "", "", "" ), "
  • ", tra("%1Companies%2: use BOINC for %3desktop Grid computing%4.", "", "", "", "" ), "
"; } function show_other() { echo "
".tra("The BOINC project")."

"; } function show_nsf() { echo " \"NSF BOINC is supported by the National Science Foundation through awards SCI-0221529, SCI-0438443, SCI-0506411, PHY/0555655, and OCI-0721124. Any opinions, findings, and conclusions or recommendations expressed in this material are those of the author(s) and do not necessarily reflect the views of the National Science Foundation. "; } // how to add language names: // paste into notepad++, select ANSI format, // then copy/paste into here function language_form() { echo "
"; } header("Content-type: text/html; charset=utf-8"); html_tag(); echo " BOINC
\"BOINC ".sprintf(tra("Open-source software for %svolunteer computing%s and %sgrid computing%s."), '', '', '', '')."

"; language_form(); echo ""; search_form(); echo "
\"The
"; echo "
"; show_participate(); show_create(); show_other(); show_nsf(); echo "
"; show_participant(); show_news_items(); echo "
"; page_tail(true, true); ?>