function show_download($pname) { echo "\n <table cellpadding=10><tr><td valign=top>\n " . tra("BOINC is a program that lets you donate your idle computer time to science projects like SETI@home, Climateprediction.net, Rosetta@home, World Community Grid, and many others. <p> After installing BOINC on your computer, you can connect it to as many of these projects as you like.") . "<p>" . tra("You may run this software on a computer only if you own the computer or have the permission of its owner.") . "<p>"; if ($pname) { download_link($pname, true); } else { list_start(); list_heading_array(array('Computer type', 'Current version ', 'Size')); download_link('win'); download_link('winx64'); download_link('mac'); download_link('macppc'); download_link('linux'); download_link('linuxx64'); download_link('linuxcompat'); end_table(); } echo "\n <p>\n After downloading BOINC you must <b>install</b> it:\n <ul>\n <li> Save the file to disk.\n <li> Double-click on the file icon.\n </ul>\n <p>\n <center>\n <a href=\"wiki/System_requirements\"><span class=nobr>" . tra("System requirements") . "</span></a>\n · <a href=\"wiki/Release_Notes\"><span class=nobr>" . tra("Release notes") . "</span></a>\n · <a href=\"wiki/BOINC_Help\"><span class=nobr>" . tra("Help") . "</span></a>\n · <a href=download_all.php><span class=nobr>" . tra("All versions") . "</span></a>\n · <a href=\"trac/wiki/VersionHistory\">" . tra("Version history") . "</a>\n · <a href=http://boinc.berkeley.edu/wiki/GPU_computing>" . tra("GPU computing") . "</a>\n </center>\n </td>\n <td valign=top>\n "; show_pictures(); echo "\n </td>\n </tr></table>\n "; }
function show_download($pname) { echo "\n <table cellpadding=10><tr><td valign=top>\n " . tra("BOINC is a program that lets you donate your idle computer time to science projects like SETI@home, Climateprediction.net, Rosetta@home, World Community Grid, and many others.") . " " . tra("After installing BOINC on your computer, you can connect it to as many of these projects as you like.") . "<p>" . tra("You may run this software on a computer only if you own the computer or have the permission of its owner.") . "<p>"; if ($pname == 'android') { echo "<b>" . tra("We recommend that you download BOINC from the Google Play Store or Amazon Appstore, not from here.") . " </b>\n "; } if ($pname) { download_link($pname, true); } else { list_start(); list_heading_array(array('Computer type', 'BOINC version ', 'Click to download')); download_link('win'); download_link('winx64'); download_link('mac'); download_link('macppc'); download_link('linux'); download_link('linuxx64'); download_link('linuxcompat'); download_link('android'); list_end(); echo "Linux users: BOINC is available as a package for many Linux distributions. It is available for Linux/ARM as a package for Debian and Ubuntu for ARM, and Raspbian (for Raspberry Pi)."; } if ($pname != 'android') { echo "\n <p>\n After downloading BOINC you must <b>install</b> it:\n typically this means double-clicking on the file icon\n when the download is finished.\n "; } echo "\n <p>\n <center>\n <a href=\"wiki/System_requirements\"><span class=nobr>" . tra("System requirements") . "</span></a>\n · <a href=\"wiki/Release_Notes\"><span class=nobr>" . tra("Release notes") . "</span></a>\n · <a href=\"wiki/BOINC_Help\"><span class=nobr>" . tra("Help") . "</span></a>\n · <a href=download_all.php><span class=nobr>" . tra("All versions") . "</span></a>\n · <a href=\"trac/wiki/VersionHistory\">" . tra("Version history") . "</a>\n · <a href=http://boinc.berkeley.edu/wiki/GPU_computing>" . tra("GPU computing") . "</a>\n </center>\n </td>\n <td valign=top>\n "; show_pictures(); echo "\n </td>\n </tr></table>\n "; }
echo $MAJOR; ?> .php#<?php echo urlencode($v); ?> " class="changelog">Changelog</a>) </h3> <div class="content-box"> <ul> <?php foreach ($a['source'] as $rel) { ?> <li> <?php download_link($rel['filename'], $rel['filename']); ?> <span class="releasedate"><?php echo date('d M Y', strtotime($rel['date'])); ?> </span> <span class="md5sum"><?php echo $rel['md5']; ?> </span> <span class="sha256"><?php echo $rel['sha256']; ?> </span> <?php if (isset($rel['note']) && $rel['note']) {
</tr> </tbody> </table> <table class="styled download"> <tbody> <tr> <td class="os" rowspan="2">Mac OS X</td> <td><?php download_link('GCC', 'universel 32+64-bit (OS X 10.5+)', '5.90', '../../../files/SFML-2.0-osx-gcc-universal.zip'); ?> </td> </tr> <tr> <td><?php download_link('Clang', 'universel 32+64-bit (OS X 10.8+, compatible C++11 et libc++)', '6.05', '../../../files/SFML-2.0-osx-clang-universal.zip'); ?> </td> </tr> <tr> <td class="notice" colspan="3"> Les bibliothèques Mac OS X sont universelles, elles contiennent les versions 32 et 64-bit de SFML et peuvent donc être utilisées indifféremment pour du développement 32 et/ou 64-bit. </td> </tr> </tbody> </table> <table class="styled download"> <tbody> <tr>
?> </td> </tr> <tr> <td colspan="2"><span class="description">Source code</span><a href="../../files/SFML.Net-2.1-sources.zip">Download<span class="size">2.70 MB</span></a></td> </tr> </tbody> </table> <h3>SFML.Net 2.0</h3> <table class="styled download"> <tbody> <tr> <td class="os" rowspan="2">All</td> <td><?php download_link('2.0', 'All compilers', '32-bit', '2.43', '../../files/SFML.Net-2.0-32bits.zip'); ?> </td> <td><?php download_link('2.0', 'All compilers', '64-bit', '2.62', '../../files/SFML.Net-2.0-64bits.zip'); ?> </td> </tr> <tr> <td colspan="2"><span class="description">Source code</span><a href="../../files/SFML.Net-2.0-sources.zip">Download<span class="size">2.69 MB</span></a></td> </tr> </tbody> </table> <?php require "../../footer.php";
<?php require_once "docutil.php"; function download_link() { return "\n <table border=4 cellpadding=10 width=200><tr><td bgcolor=ccccff>\n <a href=xx><font size=4><u>Download</u></font></a>\n <br>Version 5.6.3\n <br>5.8 MB\n </td></tr></table>\n "; } page_head("BOINC: compute for science"); echo "\n<h2>Download BOINC</h2>\n<table width=600 cellpadding=8 border=2>\n<tr>\n <td valign=top><img src=images/ico-win.png> <b>Windows</b></td>\n <td> " . download_link() . " </td>\n</tr>\n<tr>\n <td valign=top><img src=images/ico-osx-uni.png> <b>Mac OS X</b>\n <br>Graphical version</br>\n </td>\n <td> " . download_link() . " </td>\n</tr>\n<tr>\n <td valign=top><img src=images/ico-osx-uni.png> <b>Mac OS X</b>\n <br>Command-line version</br>\n </td>\n <td> " . download_link() . " </td>\n</tr>\n<tr>\n <td valign=top><img src=images/ico-tux.png> <b>Linux</b></td>\n <td> " . download_link() . " </td>\n</tr>\n</table>\n"; page_tail();
</tr> </tbody> </table> <table class="styled download"> <tbody> <tr> <td class="os" rowspan="3">Mac OS X</td> <td><?php download_link('GCC', 'universal 32+64-bit (OS X 10.5+)', '5.63', '../../../files/SFML-2.1-osx-gcc-universal.tar.gz'); ?> </td> </tr> <tr> <td><?php download_link('Clang', 'universal 32+64-bit (OS X 10.8+, compatible with C++11 and libc++)', '5.93', '../../../files/SFML-2.1-osx-clang-universal.tar.gz'); ?> </td> </tr> <tr> <td><span class="description">Templates for Xcode 5</span><a href="../../../files/SFML-2.1-osx-xcode5-template.zip">Download<span class="size">1.16 MB</span></a></td> </tr> <tr> <td class="notice" colspan="3"> Mac OS X libraries are universal, they contain both the 32 and 64-bit versions of SFML and can therefore be used for both 32 and 64-bit builds. </td> </tr> </tbody> </table> <table class="styled download">
the_row(); if ($i % $items_per_slide == 1 && $i != 1) { ++$slides_counter; if ($slides_counter == $slides) { echo '</li><li class="slide last rest_elements_' . $rest_elements . '">'; } else { echo '</li><li class="slide">'; } $p = "first"; } elseif ($i % $items_per_slide == 2) { $p = "second"; } elseif ($i % $items_per_slide == 3) { $p = "third"; } $map_title = get_sub_field('map_title'); $image = get_sub_field('map'); $image_url = $image['url']; echo '<div class="item item_' . $i . ' item_' . $p . '">'; echo '<a href="' . $image_url . '" class="fancybox" rel="gallery_' . $module_counter . '"><img src="' . $image_url . '"></a>'; echo '<h4>' . $map_title . '</h4></div>'; ++$i; } echo '</li></ul>'; if ($has_description == "with_description") { echo '<div class="description">' . $description . '</div>'; } echo download_link(); echo '</div></section>'; } unset($images_url); unset($aspect_ratio);
<tr> <td class="notice" colspan="3"> Si vous possédez un Linux 64-bit alors vous avez la chaîne d'outils 64-bit installée par défaut. Compiler en 32-bit est possible, mais vous aurez à installer des paquets spécifiques et/ou utiliser des options de compilation spécifiques. Télécharger les bibliothèques 64-bit est donc la solution la plus simple si vous utilisez un Linux 64-bit. </td> </tr> </tbody> </table> <table class="styled download"> <tbody> <tr> <td class="os" rowspan="3">Mac OS X</td> <td><?php download_link('Clang', 'universel 32+64-bit (OS X 10.7+, compatible C++11 et libc++)', '6.3', '../../../files/SFML-2.3.1-osx-clang-universal.tar.gz'); ?> </td> </tr> <tr> <td class="notice" colspan="3"> Les bibliothèques Mac OS X sont universelles: elles contiennent les versions 32 et 64-bit de SFML et peuvent donc être utilisées indifféremment pour du développement 32 et/ou 64-bit. </td> </tr> </tbody> </table> <table class="styled download"> <tbody> <tr>
function mk_rel($major, $ver, $date, $announcement, $source, $windows, $museum) { printf("<a id=\"%s\"></a>\n<h2>%1\$s</h2>\n<ul>\n <li>Released: %s</li>\n <li>Announcement: ", ($pos = strpos($ver, " ")) ? substr($ver, 0, $pos) : $ver, $date); if ($announcement) { if (is_array($announcement)) { foreach ($announcement as $ann => $url) { echo '<a href="' . $url . '">' . $ann . '</a> '; } } else { $url = str_replace(".", "_", $ver); echo '<a href="/releases/' . $url . '.php">English</a>'; } } else { echo "None"; } echo "</li>\n"; if ($major != 3) { echo ' <li><a href="/ChangeLog-' . $major . '.php#' . $ver . '">ChangeLog</a></li>'; } echo "\n <li>\n Download:\n"; if (!$museum) { echo "<ul>\n"; foreach (array_merge($source, $windows) as $src) { echo " <li>\n"; if (isset($src['filename'])) { download_link($src["filename"], $src["name"]); echo "<br>\n"; if (isset($src["md5"])) { echo '<span class="md5sum">md5: ' . $src["md5"] . "</span>\n"; } } else { echo '<a href="' . $src['link'] . '">' . $src['name'] . '</a>'; } echo " </li>\n"; } echo "</ul>\n"; } else { foreach ($source as $src) { if (!isset($src["filename"])) { continue; } printf('<a href="http://museum.php.net/php%d/%s">%s</a>' . "\n", $major, $src["filename"], $src["name"]); } foreach ($windows as $src) { printf('<a href="http://museum.php.net/%s/%s">%s</a>' . "\n", $major == 5 ? "php5" : "win32", $src["filename"], $src["name"]); } } echo " </li>\n"; echo " </ul>\n"; }
?> </td> </tr> <tr> <td colspan="2"><span class="description">Code source</span><a href="../../files/SFML.Net-2.1-sources.zip">Télécharger<span class="size">2.70 Mo</span></a></td> </tr> </tbody> </table> <h3>SFML.Net 2.0</h3> <table class="styled download"> <tbody> <tr> <td class="os" rowspan="2">Tous les OS</td> <td><?php download_link('2.0', 'Tous compilateurs', '32-bit', '2.43', '../../files/SFML.Net-2.0-32bits.zip'); ?> </td> <td><?php download_link('2.0', 'Tous compilateurs', '64-bit', '2.62', '../../files/SFML.Net-2.0-64bits.zip'); ?> </td> </tr> <tr> <td colspan="2"><span class="description">Code source</span><a href="../../files/SFML.Net-2.0-sources.zip">Télécharger<span class="size">2.69 Mo</span></a></td> </tr> </tbody> </table> <?php require "../../footer-fr.php";
<td><?php download_link('2.0', 'GCC', '32-bit', '0.51', '../../files/CSFML-2.0-linux-gcc-32bits.tar.bz2'); ?> </td> <td><?php download_link('2.0', 'GCC', '64-bit', '0.48', '../../files/CSFML-2.0-linux-gcc-64bits.tar.bz2'); ?> </td> </tr> <tr> <td class="os" rowspan="2">Mac OS X</td> <td colspan="2"><?php download_link('2.0', 'GCC', 'universal 32+64-bit (OS X 10.5+)', '0.99', '../../files/CSFML-2.0-osx-gcc-universal.zip'); ?> </td> </tr> <tr> <td colspan="2"><?php download_link('2.0', 'Clang', 'universal 32+64-bit (OS X 10.8+, compatible with C++11 and libc++)', '0.99', '../../files/CSFML-2.0-osx-clang-universal.zip'); ?> </td> </tr> <tr> <td class="os">All</td> <td colspan="2"><span class="description">Source code</span><a href="../../files/CSFML-2.0-sources.zip">Download<span class="size">0.25 MB</span></a></td> </tr> </tbody> </table> <?php require "../../footer.php";
(Old stable)</h1> <?php } ?> <h2>Complete Source Code</h2> <ul> <?php foreach ($a["source"] as $rel) { echo " <li>\n "; if (!empty($rel['link'])) { $link = $rel['link']; $name = $rel['name']; echo "<a href='{$link}'>{$name}</a>"; } else { download_link($rel["filename"], $rel["name"]); echo " - {$rel["date"]}<br />\n"; echo " <span class=\"md5sum\">md5: {$rel["md5"]}</span>\n"; isset($rel["note"]) && $rel["note"] ? "<p><strong>Note:</strong>{$rel["note"]}</p>" : ""; } echo " </li>\n"; } ?> </ul> <hr /> <?php } // for ?>
download_link('GCC', '32-bit', '12.9', '../../../files/SFML-1.6-sdk-linux-32.tar.gz'); ?> </td> <td><?php download_link('GCC', '64-bit', '13.0', '../../../files/SFML-1.6-sdk-linux-64.tar.gz'); ?> </td> </tr> </tbody> </table> <table class="styled download"> <tbody> <tr> <td class="os" rowspan="2">Mac OS X</td> <td><?php download_link('GCC', '32-bit', '16.2', '../../../files/SFML-1.6-sdk-macosx-ub32.tar.bz2'); ?> </td> </tr> <tr> <td><?php download_link('GCC', '32+64-bit', '17.9', '../../../files/SFML-1.6-sdk-macosx-ub32%2B64.tar.bz2'); ?> </td> </tr> </tbody> </table> <?php require "../../../footer.php";