~ubuntu-branches/ubuntu/precise/boinc/precise

« back to all changes in this revision

Viewing changes to doc/index.php

Tags: 6.12.8+dfsg-1
* New upstream release.
* Simplified debian/rules

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
<?php
 
2
 
2
3
$host = $_SERVER["SERVER_NAME"];
3
4
if ($host == "bossa.berkeley.edu") {
4
5
    Header("Location: http://boinc.berkeley.edu/trac/wiki/BossaIntro");
11
12
}
12
13
 
13
14
require_once("docutil.php");
14
 
require_once("translation.inc");
 
15
require_once("../html/inc/translation.inc");
15
16
 
16
17
function show_participant() {
17
18
    $i = rand(0, 99);
19
20
    echo "<table cellpadding=8 cellspacing=0>
20
21
        <tr><td class=heading_right>
21
22
        <center>
22
 
        <span class=section_title>Computing power</span>
 
23
        <span class=section_title>".tra("Computing power")."</span>
23
24
        <br>
24
 
        <a class=heading href=chart_list.php><b>Top 100 volunteers</b></a>
25
 
        &middot; <a class=heading href=\"links.php#stats\"><b>Statistics</b></a>
 
25
        <a class=heading href=chart_list.php><b>".tra("Top 100 volunteers")."</b></a>
 
26
        &middot; <a class=heading href=\"links.php#stats\"><b>".tra("Statistics")."</b></a>
26
27
        </center>
27
28
        </td></tr>
28
29
        <tr><td>
48
49
    $users = number_format($users);
49
50
    $hosts = number_format($hosts);
50
51
 
51
 
    $teraflops = number_format($credit_day/100000, 2);
52
 
    echo "Active: $users volunteers, $hosts computers.
53
 
        <br>24-hour average: $teraflops TeraFLOPS.
 
52
    $teraflops = number_format($credit_day/200000, 2);
 
53
    echo tra("Active:")." $users ".tra("volunteers,")." $hosts ".tra("computers.
 
54
")."        <br>".tra("24-hour average:")." $teraflops ".tra("TeraFLOPS.")."
54
55
        <hr size=1 width=\"80%\">
55
56
    ";
56
57
}
57
58
 
58
59
function show_news_items() {
59
 
    require_once("boinc_news.php");
60
60
    require_once("../html/inc/news.inc");
 
61
    require_once("../html/inc/forum.inc");
61
62
    echo "
62
63
        <table border=0 cellpadding=8>
63
64
        <tr><td class=heading_right>
64
65
        <center>
65
 
        <span class=section_title>News</span>
 
66
        <span class=section_title>".tra("News")."</span>
66
67
        </center>
67
68
    ";
68
 
    $nnews_items = 6;
69
 
    show_news($project_news, $nnews_items);
70
 
    if (count($project_news) > $nnews_items) {
71
 
        echo "<a href=old_news.php>... more</a>\n";
72
 
    }
73
 
 
 
69
    show_news(0, 5);
74
70
    echo "
75
 
        <p><font size=-2>News is available as an
76
 
        <a href=rss_main.php>RSS feed</a> <img src=xml.gif alt=\"RSS logo\"></font>
77
71
        </td></tr></table>
78
72
    ";
79
73
}
82
76
    echo "
83
77
        <tr><td class=heading_left>
84
78
        <center>
85
 
        <span class=section_title>".tr(HOME_HEADING1)."</span>
 
79
        <span class=section_title>".tra("Volunteer")."</span>
86
80
        <br>
87
 
        <a class=heading href=download.php><b>".tr(HOME_DOWNLOAD)."</b></a>
88
 
        &middot; <a class=heading href=\"/wiki/BOINC_Help\"><b>Help</b></a>
89
 
        &middot; <a class=heading href=\"wiki/User_manual\"><b><span class=nobr>Documentation</span></b></a> 
 
81
        <a class=heading href=download.php><b>".tra("Download")."</b></a>
 
82
        &middot; <a class=heading href=\"/wiki/BOINC_Help\"><b>".tra("Help")."</b></a>
 
83
        &middot; <a class=heading href=\"wiki/User_manual\"><b><span class=nobr>".tra("Documentation")."</span></b></a> 
90
84
        </center>
91
85
        </td></tr>
92
86
        <tr><td>
93
87
        <p>
94
 
        ".sprintf(tr(HOME_P1), "<ol> <li> <a href=projects.php><b>", "</b></a>", "<li> <a href=download.php><b>", "</b></a>", "<li> <b>", "</b>")."
 
88
        ".sprintf(
 
89
            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. "),
 
90
            "<ol> <li> <a href=projects.php><b>",
 
91
            "</b></a>",
 
92
            "<li> <a href=download.php><b>",
 
93
            "</b></a>",
 
94
            "<li> <b>",
 
95
            "</b>"
 
96
        )."
95
97
        </ol>
96
98
        <p>
97
 
        ".sprintf(tr(HOME_P2), "<a href=\"trac/wiki/AccountManagers\">", "</a>", "<a href=\"http://www.gridrepublic.org\">", "</a>", "<a href=\"http://bam.boincstats.com/\">", "</a>")."
 
99
        ".sprintf(
 
100
            tra("Or, if you run several projects, try an %saccount manager%s such as %sGridRepublic%s or %sBAM!%s. "),
 
101
            "<a href=\"wiki/Account_managers\">",
 
102
            "</a>",
 
103
            "<a href=\"http://www.gridrepublic.org\">",
 
104
            "</a>",
 
105
            "<a href=\"http://bam.boincstats.com/\">",
 
106
            "</a>"
 
107
        )."
98
108
        </td></tr>
99
109
    ";
100
110
}
103
113
    echo "
104
114
        <tr><td class=heading_left>
105
115
        <center>
106
 
        <span class=section_title>Compute with BOINC</span>
 
116
        <span class=section_title>".tra("Compute with BOINC")."</span>
107
117
        <br>
108
 
        <a class=heading href=\"trac/wiki/ProjectMain\">Documentation</a>
109
 
        &middot; <a class=heading href=\"trac/wiki/ServerUpdates\">Software updates</a>
 
118
        <b><a class=heading href=\"trac/wiki/ProjectMain\">".tra("Documentation")."</a></b>
 
119
        &middot; <b><a class=heading href=\"trac/wiki/ServerUpdates\">".tra("Software updates")."</a></b>
110
120
        </center>
111
121
        </td></tr>
112
122
        <tr><td>
113
123
        <ul>
114
 
        <li><b>Scientists</b>: 
115
 
        use BOINC to create a
116
 
        <a href=volunteer.php>volunteer computing project</a>,
117
 
        giving you the computing power of thousands of CPUs.
118
 
        <li><b>Universities</b>: use BOINC to create a
119
 
        <a href=\"trac/wiki/VirtualCampusSupercomputerCenter\">Virtual Campus Supercomputing Center</a>.
120
 
        <li><b>Companies</b>:
121
 
        use BOINC for <a href=dg.php>desktop Grid computing</a>.
122
 
        </ul>
123
 
        Related software:
124
 
        <ul>
125
 
            <li> <a href=\"http://bolt.berkeley.edu/\">Bolt</a>: middleware for web-based education and training
126
 
            <li> <a href=\"http://bossa.berkeley.edu/\">Bossa</a>: middleware for distributed thinking projects
127
 
        </ul>
 
124
        <li>
 
125
    ",
 
126
    tra("%1Scientists%2: use BOINC to create a %3volunteer computing project%4 giving you the computing power of thousands of CPUs.",
 
127
        "<b>", "</b>", "<a href=volunteer.php>", "</a>"
 
128
    ),
 
129
    "<li>",
 
130
    tra("%1Universities%2: use BOINC to create a %3Virtual Campus Supercomputing Center%4.",
 
131
        "<b>", "</b>",
 
132
        "<a href=\"trac/wiki/VirtualCampusSupercomputerCenter\">", "</a>"
 
133
    ),
 
134
    "<li>",
 
135
    tra("%1Companies%2: use BOINC for %3desktop Grid computing%4.",
 
136
        "<b>", "</b>", "<a href=dg.php>", "</a>"
 
137
    ),
 
138
    " </ul>
128
139
        </td></tr>
129
140
    ";
130
141
}
133
144
    echo "
134
145
        <tr><td class=heading_left>
135
146
        <center>
136
 
        <span class=section_title>The BOINC project</span>
 
147
        <span class=section_title>".tra("The BOINC project")."</span>
137
148
        </center>
138
149
        </td></tr>
139
150
        <tr><td>
140
 
            <ul>
141
 
            <li> Help wanted!
142
 
            <ul>
143
 
                <li> <a href=\"trac/wiki/DevProjects\">Programming</a>
144
 
                <li> <a href=\"trac/wiki/TranslateIntro\">Translation</a>
145
 
                <li> <a href=\"trac/wiki/AlphaInstructions\">Testing</a>
146
 
                <li> <a href=\"trac/wiki/WikiMeta\">Documentation</a>
147
 
            </ul>
148
 
            <li> <a href=\"trac/wiki/SoftwareDevelopment\">Software development</a>
149
 
            <li> <a href=\"trac/wiki/SoftwareAddon\">APIs for add-on software</a>
150
 
            <li> <a href=\"trac/wiki/ProjectPeople\">Personnel and contributors</a>
151
 
            <li> <a href=\"dev/\">Message boards</a>
152
 
            <li> <a href=email_lists.php>Email lists</a>
153
 
            <li> <a href=\"trac/wiki/BoincEvents\">Events</a>
154
 
            <li> <a href=\"trac/wiki/ConferenceList\">Conferences</a>
155
 
            <li> <a href=\"trac/wiki/BoincPapers\">Papers and talks</a>
156
 
            <li> <a href=logo.php>Logos and graphics</a>
157
 
            </ul>
 
151
            <table width=100%><tr><td width=50% valign=top>
 
152
            <ul>
 
153
            <li> <a href=\"dev/\">".tra("Message boards")."</a>
 
154
            <li> <a href=email_lists.php>".tra("Email lists")."</a>
 
155
            <li> <a href=\"trac/wiki/ProjectPeople\">".tra("Personnel and contributors")."</a>
 
156
            <li> <a href=\"trac/wiki/BoincEvents\">".tra("Events")."</a>
 
157
            <li> <a href=\"trac/wiki/BoincPapers\">".tra("Papers and talks")."</a>
 
158
            <li> <a href=\"trac/wiki/ResearchProjects\">".tra("Research projects")."</a>
 
159
            <li> <a href=logo.php>".tra("Logos and graphics")."</a>
 
160
            <li> <a href=\"http://bolt.berkeley.edu/\">Bolt</a> ",tra("and"),  " <a href=\"http://bossa.berkeley.edu/\">Bossa</a>
 
161
            </ul>
 
162
            </td><td valign=top>
 
163
            <ul>
 
164
            <li> ".tra("Help wanted")."
 
165
            <ul>
 
166
                <li> <a href=\"trac/wiki/DevProjects\">".tra("Programming")."</a>
 
167
                <li> <a href=\"trac/wiki/TranslateIntro\">".tra("Translation")."</a>
 
168
                <li> <a href=\"trac/wiki/AlphaInstructions\">".tra("Testing")."</a>
 
169
                <li> <a href=\"trac/wiki/WikiMeta\">".tra("Documentation")."</a>
 
170
                <li> <a href=\"http://boinc.berkeley.edu/wiki/Publicizing_BOINC\">".tra("Publicity")."</a>
 
171
            </ul>
 
172
            <li> <a href=\"trac/wiki/SoftwareDevelopment\">".tra("Software development")."</a>
 
173
            <li> <a href=\"trac/wiki/SoftwareAddon\">".tra("APIs for add-on software")."</a>
 
174
            </ul>
 
175
            </td></tr></table>
158
176
            <br>
159
177
        </td></tr>
160
178
    ";
186
204
        <form name=language method=get action=set_language.php>
187
205
        <select class=selectbox name=lang onchange=\"javascript: submit()\">
188
206
        <option value=auto selected=\"selected\">-- language --
189
 
        <option value=auto>Browser default
190
 
        <option value=ar>العربية
191
 
        <option value=be>Беларускі
192
 
        <option value=bg>Български
193
 
        <option value=ca>Català
194
 
        <option value=cs>Čeština
195
 
        <option value=de>Deutsch
196
 
        <option value=en>English
197
 
        <option value=es>Espa&ntilde;ol
198
 
        <option value=fr>Fran&ccedil;ais
199
 
        <option value=ja>日本語
200
 
        <option value=lt>Lietuvių
201
 
        <option value=nl>Nederlands
202
 
        <option value=pl>Polski
203
 
        <option value=pt_BR>Portugu&ecirc;s - Brasil
204
 
        <option value=ru>Русский
205
 
        <option value=sk>Slovenčina
206
 
        <option value=tr>Türkçe
207
 
        <option value=zh_CN>简体中文
208
 
        </select>
 
207
        <option value=auto>".tra("Browser default")
 
208
        //."<option value=ar>العربية (Arabic)"
 
209
        //."<option value=be>Беларускі (Belarusian)"
 
210
        //."<option value=bg>Българск� (Bulgarian)"
 
211
        ."<option value=ca>Català(Catalan)"
 
212
        ."<option value=cs>Čeština (Czech)"
 
213
        ."<option value=de>Deutsch (German)"
 
214
        ."<option value=en>English"
 
215
        ."<option value=es>Espa&ntilde;ol (Spanish)"
 
216
        ."<option value=fi>Suomi (Finnish)"
 
217
        ."<option value=fr>Fran&ccedil;ais (French)"
 
218
        ."<option value=el>Ελληνικά (Greek)"
 
219
        ."<option value=hu>Magyar (Hungarian)"
 
220
        ."<option value=it>Italiano (Italian)"
 
221
        ."<option value=ja>日本語 (Japanese)"
 
222
        ."<option value=ko>한국어 (Korean)"
 
223
        ."<option value=lt>Lietuvių (Lithuanian)"
 
224
        ."<option value=nl>Nederlands (Dutch)"
 
225
        //."<option value=pl>Polski (Polish)"
 
226
        ."<option value=pt_PT>Portugu&ecirc;s (Portuguese)"
 
227
        //."<option value=pt_BR>Portugu&ecirc;s - Brasil (Portuguese - Brazil)"
 
228
        ."<option value=ru>Русский (Russian)"
 
229
        //."<option value=sk>Slovenčina (Slovakian)"
 
230
        ."<option value=sl> Slovenščina (Slovenian)"
 
231
        ."<option value=tr>Türkçe (Turkish)"
 
232
        ."<option value=zh_CN>简体中文 (Chinese)"
 
233
        ."</select>
209
234
        </form>
210
235
        <script type=\"text/javascript\">
211
236
        document.language.lang.selectedIndex=0;
214
239
    ";
215
240
}
216
241
 
217
 
if (defined("CHARSET")) {
218
 
    header("Content-type: text/html; charset=".tr(CHARSET));
219
 
}
 
242
header("Content-type: text/html; charset=utf-8");
220
243
 
221
244
html_tag();
222
245
echo "
223
 
<head>
224
 
<link rel=\"shortcut icon\" href=\"logo/favicon.gif\">
225
 
<link rel=\"stylesheet\" href=\"white.css\">
226
 
<title>BOINC</title>
227
 
<meta name=description content=\"BOINC is an open-source software platform for computing using volunteered resources\">
228
 
<meta name=keywords content=\"distributed scientific computing supercomputing grid SETI@home public computing volunteer computing \">
229
 
</head>
230
 
<table width=\"100%\" border=0><tr><td valign=top>
231
 
<img hspace=20 vspace=6 align=left src=\"logo/www_logo.gif\" alt=\"BOINC logo\">
232
 
</td><td align=center>
233
 
<span class=\"subtitle\">
234
 
".sprintf(tr(HOME_BOINC_DESC), '<a href=volunteer.php><span class=nobr>', '</span></a>', '<a href=dg.php><span class=nobr>', '</span></a>')."
235
 
</span>
236
 
<table><tr><td>
 
246
    <head>
 
247
    <link rel=\"shortcut icon\" href=\"logo/favicon.gif\">
 
248
    <link rel=\"stylesheet\" type=\"text/css\" href=\"white.css\">
 
249
    <title>BOINC</title>
 
250
    <meta name=description content=\"BOINC is an open-source software platform for computing using volunteered resources\">
 
251
    <meta name=keywords content=\"distributed scientific computing supercomputing grid SETI@home public computing volunteer computing \">
 
252
    </head>
 
253
    <body>
 
254
    <table width=\"100%\" border=0><tr><td valign=top>
 
255
    <img hspace=20 vspace=6 align=left src=\"logo/www_logo.gif\" alt=\"BOINC logo\">
 
256
    </td><td align=center>
 
257
    <span class=\"subtitle\">
 
258
    ".sprintf(tra("Open-source software for %svolunteer computing%s and %sgrid computing%s."), '<a href=volunteer.php><span class=nobr>', '</span></a>', '<a href=dg.php><span class=nobr>', '</span></a>')."
 
259
    </span><br><br>
 
260
    <table><tr><td>
237
261
";
238
262
language_form();
239
263
echo "</td><td>";
240
264
search_form();
241
265
echo "
242
 
</td></tr></table>
243
 
</td></tr></table>
244
 
<table width=\"100%\" border=0 cellspacing=0 cellpadding=4>
245
 
<tr>
246
 
<td valign=top>
247
 
<table width=\"100%\" border=0 cellspacing=0 cellpadding=8>
 
266
    </td></tr></table>
 
267
    </td>
 
268
    <td>
 
269
    <center>
 
270
    <a href=http://www.berkeley.edu>
 
271
    <img src=images/uc_logo.jpg width=107 height=105 title=\"".tra("BOINC is based at The University of California, Berkeley")."\" alt=\"The University of California logo\">
 
272
    </a>
 
273
    </span>
 
274
    </center>
 
275
    </td>
 
276
    </tr></table>
 
277
    <table width=\"100%\" border=0 cellspacing=0 cellpadding=4>
 
278
    <tr>
 
279
    <td valign=top>
 
280
    <table width=\"100%\" border=0 cellspacing=0 cellpadding=8>
248
281
";
249
282
show_participate();
250
283
show_create();
251
284
show_other();
252
285
show_nsf();
253
286
echo "
254
 
</table>
255
 
</td>
 
287
    </table>
 
288
    </td>
256
289
";
257
290
echo " <td valign=top width=390>
258
291
";
261
294
show_news_items();
262
295
 
263
296
echo "
264
 
</td></tr>
265
 
</table>
 
297
    </td></tr>
 
298
    </table>
266
299
";
267
300
 
268
301
page_tail(true, true);