aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--web/include/downloads.php30
-rw-r--r--web/include/get.php27
2 files changed, 40 insertions, 17 deletions
diff --git a/web/include/downloads.php b/web/include/downloads.php
new file mode 100644
index 0000000..0f5f5eb
--- /dev/null
+++ b/web/include/downloads.php
@@ -0,0 +1,30 @@
+<?php
+$downloads = array(
+ "windows" => '<h3 class="windows">Windows (x86)</h3>
+ <p>Provides latest patch <tt>pk3</tt> data from
+ id. You need to copy your <tt>pak0.pk3</tt> from the CD-ROM
+ when the installation process is completed.</p>
+ <p><a href="http://www.timedoctor.org/~zakk/ioquake3_setup.exe">
+ Download, Windows x86</a> 26MB.</p><p><em> Thanks to
+ <a href="mailto:phatfil@optusnet.com.au">Philip Nelson</a>.</em></p>',
+
+ "linux" => '<h3 class="linux">Linux (x86, x86_64, PowerPC)</h3>
+ <p>Does not provide latest patch <tt>pk3</tt> data. You must
+ <a href="?page=getadata">download it seperately</a>. When the
+ installation is complete, you need to copy your <tt>pak0.pk3</tt>
+ from the CD-ROM. Execute the <tt>.run</tt> file as root with
+ something like <tt>sh <em>ioquake3-version_etc.run</em></tt></p>
+ <p><a href="http://icculus.org/~zakk/q3run/ioquake3-1.33_SVN629-0.1.i386.run">
+ Download for x86,</a> 2.7MB.</p>
+ <p><a href="http://icculus.org/~zakk/q3run/ioquake3-1.33_SVN629-0.1.x86_64.run">
+ Download for x86_64,</a> 3.4MB.</p>
+ <p><a href="http://icculus.org/~zakk/q3run/ioquake3-1.33_SVN629-0.1.ippc.run">
+ Download for PowerPC,</a> 2.7MB.</p>
+ <p>( Built from Subversion revision 629. )<br />
+ <em>Thanks to <a href="http://angst.cynapses.org/">Lugwig
+ Nussel</a>.</em></p>',
+
+ "mac" => '<h3 class="apple">Mac OS X (Intel &amp; Power)</h3>
+ <p>Coming soon.</p>'
+);
+?>
diff --git a/web/include/get.php b/web/include/get.php
index 01994d5..3165286 100644
--- a/web/include/get.php
+++ b/web/include/get.php
@@ -1,3 +1,4 @@
+
<p class="angryzakk">The Quake 3 engine is open source, this does <strong>not</strong>
mean that Quake 3 Arena the game is free. You must purchase the game to use the data!</p>
<h2>Get icculus.org/quake3</h2>
@@ -9,28 +10,20 @@ isntaller.</p>
<li><a href="?page=get&amp;method=source">Build from source-code</a></li>
</ul>
<?php
-$official ='
+include("downloads.php");
+
+foreach ($downloads as $os => $desc) {
+ $installers .= "<li>$desc</li>\n";
+}
+
+$official ="
<h2>Sanctioned Installers</h2>
<p>We have provided installers for the most popular platforms icculus.org/quake3
supports. These have been tested, and if they do not work you can report bugs to us
about them.</p>
<ul>
- <li>
- <h3 class="windows">Windows</h3>
- <p>There is a <a href="http://www.timedoctor.org/~zakk/ioquake3_setup.exe">
- Windows installer</a> by <a href="mailto:phatfil@optusnet.com.au">Philip Nelson</a>.</p>
- </li>
- <li>
- <h3 class="linux">Linux (x86, x86_64, ppc)</h3>
- <p><a href="ftp://ftp.gwdg.de/pub/linux/suse/ftp.suse.com/people/lnussel/quake3">
- Installers for Linux</a> are provided by Ludwig Nussel, a developer of
- this project. The installers are based upon loki-setup.</p>
- </li>
- <li>
- <h3 class="apple">Mac OS X (Intel &amp; Power)</h3>
- <p>Coming soon.</p>
- </li>
-</ul>';
+ $installers
+</ul>";
$unofficial = '<h2>Using packages for your Operating System</h2>
<p>If you\'re lucky your Operating System provider or someone else using it may have already