source: trunk/www/index.php @ 15495

Last change on this file since 15495 was 15495, checked in by yeled, 15 years ago

really - this works. Too many cooks problem here. I was fixing it on sancho,
but jmpp and matt were backing things out and the cron job was just doing
what it was told.

Russian and Italian don't even use this function but I'm placing it there
anyway.

  • Property svn:eol-style set to native
File size: 2.4 KB
Line 
1  <?php
2    $DOCUMENT_ROOT = $_SERVER['DOCUMENT_ROOT'];
3    include_once("$DOCUMENT_ROOT/includes/common.inc");
4    include_once("$DOCUMENT_ROOT/includes/functions.inc");
5    include_once("$DOCUMENT_ROOT/includes/db_portslisting.inc");
6    print_header('DarwinPorts Home', 'iso-8859-1');
7  ?>
8
9    <div id="content">
10      <h2 class="hdr">Introduction to DarwinPorts</h2>
11
12      <p>The DarwinPorts Project's main goal is to provide an easy way to
13        install various open-source software products on the Darwin OS
14        family (<a href="http://www.opendarwin.org/">OpenDarwin</a>,
15        <a href="http://www.apple.com/macosx/">Mac OS X</a> and
16        <a href="http://developer.apple.com/darwin/projects/darwin/">Darwin</a>)</p>
17<?
18                $result = mysql_query("SELECT count(*) from darwinports.portfiles");
19                if ($result) {
20                        $row = mysql_fetch_array($result);
21                        $count = $row[0];
22                } else {
23                        $count = 0;
24                }
25?>
26      <p>There are currently about <?= $count; ?> completed and usable
27        <a href="/ports/">ports</a>, with more being added on a regular basis.
28        You can track recently added ports by subscribing to the <a
29        href="http://www.opendarwin.org/mailman/listinfo/cvs-darwinports-all">cvs-darwinports-all</a>
30        mailing list.</p>
31       
32      <p>For more information on obtaining and installing DarwinPorts,
33        please see the <a href="/getdp/">Get DarwinPorts</a> section of the
34        site.  Also be sure to check out the <a href="/docs/">documentation</a>,
35        and if you have questions or run into problems, you can get help at our <a
36        href="/help/">help section</a>. The <a href="http://wiki.opendarwin.org/index.php/DarwinPorts">DarwinPorts Wiki</a>
37        is also a good resource for general and miscellaneous help, specially the
38        ongoing <a href="http://wiki.opendarwin.org/index.php/DarwinPorts:FAQ">FAQ</a> effort.</p>
39
40      <p>Bug reports, feature requests, and new ports should be submitted to
41        <a href="http://www.opendarwin.org/bugzilla/">Bugzilla</a>. Please consult
42    the <a href="docs/ch01s05.html#user_bugs">Bug report documentation</a>
43    to improve the processing of your bug report(s).</p>
44
45      <div id="news">
46        <h2 class="hdr">Project News</h2>
47
48        <?php
49          print_headlines();
50        ?>
51
52                <p>You can also browse our <a href="archives.php">news archives</a>.</p>
53       
54      </div>
55    </div>
56  </div>
57
58<?php
59  print_footer();
60?>
Note: See TracBrowser for help on using the repository browser.