mirror of
https://github.com/macports/macports-www.git
synced 2026-07-12 18:20:27 -07:00
layout while bringing the content up to speed with current practices and reality, otherwise sticking to the same website we had back in OpenDarwin days. The one big thing about this commit, though, is that the old ports.php page is again operational, as shown in my local server: http://apollo.homeunix.net/macports/ports.php. Woot! Further discussion of what to do with these sources is needed, however, so I'm not gonna push to host them anywhere for the time being until we have a clearer map of how we should move forward wrt our web presence. git-svn-id: https://svn.macports.org/repository/macports/trunk/www@28303 d073be05-634f-4543-b044-5fe20cf6d1d6
27 lines
489 B
PHP
27 lines
489 B
PHP
<?php
|
|
$DOCUMENT_ROOT = $_SERVER['DOCUMENT_ROOT'];
|
|
include_once("$DOCUMENT_ROOT/it/includes/common.inc");
|
|
include_once("$DOCUMENT_ROOT/it/includes/functions.inc");
|
|
print_header('Archivio delle notizie', 'utf-8');
|
|
?>
|
|
|
|
<div id="content">
|
|
|
|
<h2 class="hdr">Archivio delle notizie</h2>
|
|
<?php
|
|
if (isset($_GET['id'])) {
|
|
print_headline();
|
|
} else {
|
|
print_all_headlines_nonadmin();
|
|
}
|
|
?>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<?php
|
|
print_footer();
|
|
?>
|