| 17 | | $i = rand(0, 99); |
|---|
| 18 | | $j = $i+1; |
|---|
| 19 | | echo "<table cellpadding=8 cellspacing=0> |
|---|
| 20 | | <tr><td class=heading> |
|---|
| 21 | | <center> |
|---|
| 22 | | <span class=section_title>Computing power</span> |
|---|
| 23 | | <br> |
|---|
| 24 | | <a class=heading href=chart_list.php><b>Top 100</a> |
|---|
| 25 | | · <a class=heading href=http://boinc.netsoft-online.com/e107_plugins/boinc/u_rank.php?list=tc_p1c1><b>Single-computer</a> |
|---|
| 26 | | · <a class=heading href=http://boinc.netsoft-online.com/e107_plugins/boinc/bu_rankselect.php><b>Other lists</a> |
|---|
| 27 | | </center> |
|---|
| 28 | | </td></tr> |
|---|
| 29 | | <tr><td> |
|---|
| 30 | | "; |
|---|
| 31 | | show_totals(); |
|---|
| 32 | | include("piecharts/$i.html"); |
|---|
| 33 | | echo "</td></tr></table>"; |
|---|
| | 17 | $i = rand(0, 99); |
|---|
| | 18 | $j = $i+1; |
|---|
| | 19 | echo " |
|---|
| | 20 | <table cellpadding=\"8px\" style=\"border-spacing: 0px\"> |
|---|
| | 21 | <tr><td class=\"heading\" style=\"text-align: center\"> |
|---|
| | 22 | <span class=\"section_title\">Computing power</span> |
|---|
| | 23 | <br/> |
|---|
| | 24 | <a class=\"heading\" href=\"chart_list.php\">Top 100</a> |
|---|
| | 25 | · <a class=\"heading\" href=\"http://boinc.netsoft-online.com/e107_plugins/boinc/u_rank.php?list=tc_p1c1\">Single-computer</a> |
|---|
| | 26 | · <a class=\"heading\" href=\"http://boinc.netsoft-online.com/e107_plugins/boinc/bu_rankselect.php\">Other lists</a> |
|---|
| | 27 | </td></tr> |
|---|
| | 28 | <tr><td> |
|---|
| | 29 | "; |
|---|
| | 30 | show_totals(); |
|---|
| | 31 | include("piecharts/$i.html"); |
|---|
| | 32 | echo "</td></tr></table>"; |
|---|
| 37 | | $fn = "boinc_state.xml"; |
|---|
| 38 | | if (!file_exists($fn) || filemtime($fn) < time()-86400) { |
|---|
| 39 | | $x = file_get_contents("http://www.boincstats.com/xml/boinc_state.php"); |
|---|
| 40 | | if ($x) { |
|---|
| 41 | | $f = fopen($fn, "w"); |
|---|
| 42 | | fwrite($f, $x); |
|---|
| 43 | | } else return; |
|---|
| 44 | | } |
|---|
| 45 | | $x = file_get_contents($fn); |
|---|
| 46 | | $users = parse_element($x, "<participants_active>"); |
|---|
| 47 | | $hosts = parse_element($x, "<hosts_active>"); |
|---|
| 48 | | $credit_day = parse_element($x, "<credit_day>"); |
|---|
| 49 | | $users = number_format($users); |
|---|
| 50 | | $hosts = number_format($hosts); |
|---|
| | 36 | $fn = "boinc_state.xml"; |
|---|
| | 37 | if (!file_exists($fn) || filemtime($fn) < time()-86400) { |
|---|
| | 38 | $x = file_get_contents("http://www.boincstats.com/xml/boinc_state.php"); |
|---|
| | 39 | if ($x) { |
|---|
| | 40 | $f = fopen($fn, "w"); |
|---|
| | 41 | fwrite($f, $x); |
|---|
| | 42 | } else return; |
|---|
| | 43 | } |
|---|
| | 44 | $x = file_get_contents($fn); |
|---|
| | 45 | $users = parse_element($x, "<participants_active>"); |
|---|
| | 46 | $hosts = parse_element($x, "<hosts_active>"); |
|---|
| | 47 | $credit_day = parse_element($x, "<credit_day>"); |
|---|
| | 48 | $users = number_format($users); |
|---|
| | 49 | $hosts = number_format($hosts); |
|---|
| 52 | | $teraflops = number_format($credit_day/100000, 2); |
|---|
| 53 | | echo "Active: $users volunteers, $hosts computers. |
|---|
| 54 | | <br>24-hour average: $teraflops TeraFLOPS. |
|---|
| 55 | | <hr size=1 width=80%> |
|---|
| 56 | | "; |
|---|
| | 51 | $teraflops = number_format($credit_day/100000, 2); |
|---|
| | 52 | echo "Active: $users volunteers, $hosts computers. |
|---|
| | 53 | <br/>24-hour average: $teraflops TeraFLOPS. |
|---|
| | 54 | <hr size=\"1\" style=\"width: 80%\"> |
|---|
| | 55 | "; |
|---|
| 60 | | require_once("boinc_news.php"); |
|---|
| 61 | | require_once("../html/inc/news.inc"); |
|---|
| 62 | | echo " |
|---|
| 63 | | <table border=0 cellpadding=8> |
|---|
| 64 | | <tr><td class=heading> |
|---|
| 65 | | <center> |
|---|
| 66 | | <span class=section_title>News</span> |
|---|
| 67 | | </center> |
|---|
| 68 | | <br> |
|---|
| 69 | | "; |
|---|
| 70 | | $nnews_items = 6; |
|---|
| 71 | | show_news($project_news, $nnews_items); |
|---|
| 72 | | if (count($project_news) > $nnews_items) { |
|---|
| 73 | | echo "<a href=old_news.php>... more</a>\n"; |
|---|
| 74 | | } |
|---|
| | 59 | require_once("boinc_news.php"); |
|---|
| | 60 | require_once("../html/inc/news.inc"); |
|---|
| | 61 | echo " |
|---|
| | 62 | <table cellpadding=\"8px\" style=\"border: 0px\"> |
|---|
| | 63 | <tr><td class=\"heading\"> |
|---|
| | 64 | <span class=\"section_title\" style=\"text-align: center\">News</span> |
|---|
| | 65 | <br/> |
|---|
| | 66 | "; |
|---|
| | 67 | $nnews_items = 6; |
|---|
| | 68 | show_news($project_news, $nnews_items); |
|---|
| | 69 | if (count($project_news) > $nnews_items) { |
|---|
| | 70 | echo "<a href=\"old_news.php\">... more</a>\n"; |
|---|
| | 71 | } |
|---|
| 84 | | echo " |
|---|
| 85 | | <tr><td class=heading> |
|---|
| 86 | | <center> |
|---|
| 87 | | <span class=section_title>".tr(HOME_HEADING1)."</span> |
|---|
| 88 | | <br> |
|---|
| 89 | | <a class=heading href=download.php><b>".tr(HOME_DOWNLOAD)."</b></a> |
|---|
| 90 | | · <a class=heading href=/wiki/BOINC_Help><b>Help</b></a> |
|---|
| 91 | | · <a class=heading href=wiki/User_manual><b><nobr>Documentation</nobr></b></a> |
|---|
| 92 | | </center> |
|---|
| 93 | | </td></tr> |
|---|
| 94 | | <tr><td> |
|---|
| 95 | | <p> |
|---|
| 96 | | ".sprintf(tr(HOME_P1), "<ol> <li> <a href=projects.php><b>", "</b></a>", "<li> <a href=download.php><b>", "</b></a>", "<li> <b>", "</b>")." |
|---|
| 97 | | </ol> |
|---|
| 98 | | <p> |
|---|
| 99 | | ".sprintf(tr(HOME_P2), "<a href=trac/wiki/AccountManagers>", "</a>", "<a href=http://www.gridrepublic.org>", "</a>", "<a href=http://bam.boincstats.com/>", "</a>")." |
|---|
| 100 | | </td></tr> |
|---|
| 101 | | "; |
|---|
| | 80 | echo " |
|---|
| | 81 | <tr><td class=\"heading\" style=\"text-align: center\"> |
|---|
| | 82 | <span class=\"section_title\">".tr(HOME_HEADING1)."</span> |
|---|
| | 83 | <br/> |
|---|
| | 84 | <a class=\"heading\" href=\"download.php\">".tr(HOME_DOWNLOAD)."</a> |
|---|
| | 85 | · <a class=\"heading\" href=\"wiki/index.php/BOINC_Help\">Help</a> |
|---|
| | 86 | · <a class=\"heading\" href=\"wiki/index.php/User_Manual\"><nobr>Documentation</nobr></a> |
|---|
| | 87 | </td></tr> |
|---|
| | 88 | <tr><td> |
|---|
| | 89 | <p> |
|---|
| | 90 | ".sprintf(tr(HOME_P1), "<ol><li><a href=\"projects.php\">", "</a>", "<li><a href=\"download.php\">", "</a>", "<li><b>", "</b>")." |
|---|
| | 91 | </ol></p> |
|---|
| | 92 | <p> |
|---|
| | 93 | ".sprintf(tr(HOME_P2), "<a href=\"wiki/AccountManagers\">", "</a>", "<a href=\"http://www.gridrepublic.org\">", "</a>", "<a href=\"http://bam.boincstats.com/\">", "</a>")." |
|---|
| | 94 | </p></td></tr> |
|---|
| | 95 | "; |
|---|
| 105 | | echo " |
|---|
| 106 | | <tr><td class=heading> |
|---|
| 107 | | <center> |
|---|
| 108 | | <span class=section_title>Compute with BOINC</span> |
|---|
| 109 | | <br> |
|---|
| 110 | | <a class=heading href=trac/wiki/CreateProjectOutline>Documentation</a> |
|---|
| 111 | | · <a class=heading href=trac/wiki/ServerUpdates>Updates</a> |
|---|
| 112 | | · <a class=heading href=trac/wiki/ConferenceList>Conferences</a> |
|---|
| 113 | | </center> |
|---|
| 114 | | </td></tr> |
|---|
| 115 | | <tr><td> |
|---|
| 116 | | <b>Scientists</b>: |
|---|
| 117 | | use BOINC to create a |
|---|
| 118 | | <a href=volunteer.php>volunteer computing project</a>, |
|---|
| 119 | | giving you the computing power of thousands of CPUs. |
|---|
| 120 | | <br> |
|---|
| 121 | | <b>Universities</b>: use BOINC to create a |
|---|
| 122 | | <a href=trac/wiki/VirtualCampusSupercomputerCenter>Virtual Campus Supercomputing Center</a>. |
|---|
| 123 | | <br> |
|---|
| 124 | | <b>Companies</b>: |
|---|
| 125 | | use BOINC for <a href=dg.php>desktop Grid computing</a>. |
|---|
| 126 | | <br> |
|---|
| 127 | | And check out: |
|---|
| 128 | | <ul> |
|---|
| 129 | | <li> <a href=trac/wiki/BoltIntro>Bolt</a> (software for web-based education and training)</a> |
|---|
| 130 | | <li> <a href=trac/wiki/BossaIntro>Bossa</a> (software for distributed thinking projects)</a> |
|---|
| 131 | | </ul> |
|---|
| 132 | | </td></tr> |
|---|
| 133 | | "; |
|---|
| | 99 | echo " |
|---|
| | 100 | <tr><td class=\"heading\" style=\"text-align: center\"> |
|---|
| | 101 | <span class=\"section_title\">Compute with BOINC</span> |
|---|
| | 102 | <br/> |
|---|
| | 103 | <a class=\"heading\" href=\"trac/wiki/CreateProjectOutline\">Documentation</a> |
|---|
| | 104 | · <a class=\"heading\" href=\"trac/wiki/ServerUpdates\">Updates</a> |
|---|
| | 105 | · <a class=\"heading\" href=\"trac/wiki/ConferenceList\">Conferences</a> |
|---|
| | 106 | </td></tr> |
|---|
| | 107 | <tr><td> |
|---|
| | 108 | <b>Scientists</b>: use BOINC to create a <a href=\"trac/wiki/VolunteerComputing\">volunteer computing project</a>, giving you the computing power of thousands of CPUs. |
|---|
| | 109 | <br/> |
|---|
| | 110 | <b>Universities</b>: use BOINC to create a <a href=\"trac/wiki/VirtualCampusSupercomputerCenter\">Virtual Campus Supercomputing Center</a>. |
|---|
| | 111 | <br/> |
|---|
| | 112 | <b>Companies</b>: use BOINC for <a href=\"trac/wiki/DesktopGrid\">desktop Grid computing</a>. |
|---|
| | 113 | <br/> |
|---|
| | 114 | And check out: |
|---|
| | 115 | <ul> |
|---|
| | 116 | <li><a href=\"trac/wiki/BoltIntro\">Bolt</a> (software for web-based education and training)</li> |
|---|
| | 117 | <li><a href=\"trac/wiki/BossaIntro\">Bossa</a> (software for distributed thinking projects)</li> |
|---|
| | 118 | </ul> |
|---|
| | 119 | </td></tr> |
|---|
| | 120 | "; |
|---|
| 137 | | echo " |
|---|
| 138 | | <tr><td class=heading> |
|---|
| 139 | | <center> |
|---|
| 140 | | <span class=section_title>The BOINC project</span> |
|---|
| 141 | | </center> |
|---|
| 142 | | </td></tr> |
|---|
| 143 | | <tr><td> |
|---|
| 144 | | <ul> |
|---|
| 145 | | <li> <a href=trac/wiki/BoincIntro/>Overview</a> |
|---|
| 146 | | <li> <a href=trac/wiki/ProjectPeople>Personnel and contributors</a> |
|---|
| 147 | | <li> <a href=trac/wiki/SoftwareDevelopment>Software development</a> |
|---|
| 148 | | <li> <a href=email_lists.php>Email lists</a> |
|---|
| 149 | | <li> <a href=dev/>Message boards</a> |
|---|
| 150 | | <li> <a href=trac/wiki/BoincEvents>Events</a> |
|---|
| 151 | | <li> <a href=http://boinc.berkeley.edu/trac/wiki/BoincPapers>Papers and talks</a> on BOINC |
|---|
| 152 | | <li> <a href=trac/wiki/TranslateIntro>Translation</a> of web and GUI text |
|---|
| 153 | | <li> <a href=logo.php>Logos and graphics</a> |
|---|
| 154 | | </ul> |
|---|
| 155 | | <br> |
|---|
| 156 | | </td></tr> |
|---|
| 157 | | "; |
|---|
| | 124 | echo " |
|---|
| | 125 | <tr><td class=\"heading\" style=\"text-align: center\"> |
|---|
| | 126 | <span class=\"section_title\">The BOINC project</span> |
|---|
| | 127 | </td></tr> |
|---|
| | 128 | <tr><td> |
|---|
| | 129 | <ul> |
|---|
| | 130 | <li><a href=\"trac/wiki/BoincIntro\">Overview</a></li> |
|---|
| | 131 | <li><a href=\"trac/wiki/ProjectPeople\">Personnel and contributors</a></li> |
|---|
| | 132 | <li><a href=\"trac/wiki/SoftwareDevelopment\">Software development</a></li> |
|---|
| | 133 | <li><a href=\"email_lists.php\">Email lists</a></li> |
|---|
| | 134 | <li><a href=\"dev/\">Message boards</a></li> |
|---|
| | 135 | <li><a href=\"trac/wiki/BoincEvents\">Events</a></li> |
|---|
| | 136 | <li><a href=\"trac/wiki/BoincPapers\">Papers and talks</a> on BOINC</li> |
|---|
| | 137 | <li><a href=\"trac/wiki/TranslateIntro\">Translation</a> of web and GUI text</li> |
|---|
| | 138 | <li><a href=\"logo.php\">Logos and graphics</a></li> |
|---|
| | 139 | </ul> |
|---|
| | 140 | <br/> |
|---|
| | 141 | </td></tr> |
|---|
| | 142 | "; |
|---|
| 163 | | <img align=left hspace=8 src=nsf.gif> |
|---|
| 164 | | BOINC is supported by the |
|---|
| 165 | | <a href=http://nsf.gov>National Science Foundation</a> |
|---|
| 166 | | through awards SCI-0221529, SCI-0438443, SCI-0506411, |
|---|
| 167 | | PHY/0555655, and OCI-0721124. |
|---|
| 168 | | <span class=note> |
|---|
| 169 | | Any opinions, findings, and conclusions or recommendations expressed in |
|---|
| 170 | | this material are those of the author(s) |
|---|
| 171 | | and do not necessarily reflect the views of the National Science Foundation. |
|---|
| | 148 | <img src=\"nsf.gif\" align=\"left\" style=\"padding: 8px\" alt=\"National Science Foundation\"> |
|---|
| | 149 | BOINC is supported by the <a href=\"http://nsf.gov\">National Science Foundation</a> |
|---|
| | 150 | through awards SCI-0221529, SCI-0438443, SCI-0506411, PHY/0555655, and OCI-0721124. |
|---|
| | 151 | <span class=\"note\"> |
|---|
| | 152 | Any opinions, findings, and conclusions or recommendations expressed in this material |
|---|
| | 153 | are those of the author(s) and do not necessarily reflect the views of the National Science Foundation. |
|---|
| 178 | | echo " |
|---|
| 179 | | <table><tr><td> |
|---|
| 180 | | <form name=language method=get action=set_language.php> |
|---|
| 181 | | <select class=selectbox name=lang onchange=\"javascript: submit()\"> |
|---|
| 182 | | <option value=auto selected=\"selected\">-- language -- |
|---|
| 183 | | <option value=auto>Browser default |
|---|
| 184 | | <option value=ar>Ø§ÙØ¹Ø±ØšÙØ© |
|---|
| 185 | | <option value=be>ÐелаÑÑÑÐºÑ |
|---|
| 186 | | <option value=bg>ÐÑлгаÑÑкО |
|---|
| 187 | | <option value=ca>Català |
|---|
| 188 | | <option value=de>Deutsch |
|---|
| 189 | | <option value=en>English |
|---|
| 190 | | <option value=es>Español |
|---|
| 191 | | <option value=fr>Français |
|---|
| 192 | | <option value=ja>æ¥æ¬èª |
|---|
| 193 | | <option value=lt>Lietuvių |
|---|
| 194 | | <option value=nl>Nederlands |
|---|
| 195 | | <option value=pl>Polski |
|---|
| 196 | | <option value=pt_BR>Português - Brasil |
|---|
| 197 | | <option value=ru>Ð ÑÑÑкОй |
|---|
| 198 | | <option value=sk>SlovenÄina |
|---|
| 199 | | <option value=tr>TÌrkçe |
|---|
| 200 | | <option value=zh_CN>ç®äœäžæ |
|---|
| 201 | | </select> |
|---|
| 202 | | </form> |
|---|
| 203 | | <script> |
|---|
| 204 | | document.language.lang.selectedIndex=0; |
|---|
| 205 | | </script> |
|---|
| 206 | | </td></tr></table> |
|---|
| 207 | | "; |
|---|
| | 160 | echo " |
|---|
| | 161 | <table><tr><td> |
|---|
| | 162 | <form name=\"language\" method=\"get\" action=\"set_language.php\"> |
|---|
| | 163 | <select class=\"selectbox\" name=\"lang\" onchange=\"javascript: submit()\"> |
|---|
| | 164 | <option value=\"auto\" selected=\"selected\">Change language</option> |
|---|
| | 165 | <option value=\"auto\">Browser default</option> |
|---|
| | 166 | <option value=\"ar\">Ø§ÙØ¹Ø±ØšÙØ©</option> |
|---|
| | 167 | <option value=\"be\">ÐелаÑÑÑкÑ</option> |
|---|
| | 168 | <option value=\"bg\">ÐÑлгаÑÑкО</option> |
|---|
| | 169 | <option value=\"ca\">Català </option> |
|---|
| | 170 | <option value=\"de\">Deutsch</option> |
|---|
| | 171 | <option value=\"en\">English</option> |
|---|
| | 172 | <option value=\"es\">Español</option> |
|---|
| | 173 | <option value=\"fr\">Français</option> |
|---|
| | 174 | <option value=\"ja\">æ¥æ¬èª</option> |
|---|
| | 175 | <option value=\"lt\">Lietuvių</option> |
|---|
| | 176 | <option value=\"nl\">Nederlands</option> |
|---|
| | 177 | <option value=\"pl\">Polski</option> |
|---|
| | 178 | <option value=\"pt_BR\">Português - Brasil</option> |
|---|
| | 179 | <option value=\"ru\">Ð ÑÑÑкОй</option> |
|---|
| | 180 | <option value=\"sk\">SlovenÄina</option> |
|---|
| | 181 | <option value=\"tr\">TÌrkçe</option> |
|---|
| | 182 | <option value=\"zh_CN\">ç®äœäžæ</option> |
|---|
| | 183 | </select> |
|---|
| | 184 | </form> |
|---|
| | 185 | <script> |
|---|
| | 186 | document.language.lang.selectedIndex=0; |
|---|
| | 187 | </script> |
|---|
| | 188 | </td></tr></table> |
|---|
| | 189 | "; |
|---|
| 216 | | <head> |
|---|
| 217 | | <link rel=\"shortcut icon\" href=\"logo/favicon.gif\"> |
|---|
| 218 | | <link rel=\"stylesheet\" type=text/css href=white.css> |
|---|
| 219 | | <title>BOINC</title> |
|---|
| 220 | | <meta name=description content=\"BOINC is an open-source software platform for computing using volunteered resources\"> |
|---|
| 221 | | <meta name=keywords content=\"distributed scientific computing supercomputing grid SETI@home public computing volunteer computing \"> |
|---|
| 222 | | </head> |
|---|
| 223 | | <body bgcolor=#ffffff> |
|---|
| 224 | | <table width=100% border=0><tr><td valign=top> |
|---|
| 225 | | <img hspace=20 vspace=6 align=left src=logo/www_logo.gif> |
|---|
| 226 | | </td><td align=center> |
|---|
| 227 | | <span class=subtitle> |
|---|
| 228 | | ".sprintf(tr(HOME_BOINC_DESC), '<a href=volunteer.php><nobr>', '</nobr></a>', '<a href=dg.php><nobr>', '</nobr></a>')." |
|---|
| 229 | | </span> |
|---|
| 230 | | <table><tr><td> |
|---|
| | 198 | <head> |
|---|
| | 199 | <link rel=\"shortcut icon\" href=\"logo/favicon.gif\"> |
|---|
| | 200 | <link rel=\"stylesheet\" type=\"text/css\" href=\"white.css\"> |
|---|
| | 201 | <title>BOINC</title> |
|---|
| | 202 | <meta name=\"description\" content=\"BOINC is an open-source software platform for computing using volunteered resources\"> |
|---|
| | 203 | <meta name=\"keywords\" content=\"distributed scientific computing supercomputing grid SETI@home public computing volunteer computing \"> |
|---|
| | 204 | </head> |
|---|
| | 205 | <body> |
|---|
| | 206 | <table style=\"width: 100%; border: 0px\"><tr> |
|---|
| | 207 | <td style=\"vertical-align: top; text-align: left\"> |
|---|
| | 208 | <img src=\"logo/www_logo.gif\" style=\"padding: 20px 6px\" alt=\"BOINC logo\"> |
|---|
| | 209 | </td><td style=\"text-align: center\"> |
|---|
| | 210 | <span class=\"subtitle\"> |
|---|
| | 211 | ".sprintf(tr(HOME_BOINC_DESC), '<a href=\"trac/wiki/VolunteerComputing\"><nobr>', '</nobr></a>', '<a href=\"trac/wiki/DesktopGrid\"><nobr>', '</nobr></a>')." |
|---|
| | 212 | </span> |
|---|
| | 213 | <table><tr><td> |
|---|