source: trunk/www/archives.php @ 28393

Last change on this file since 28393 was 28322, checked in by jmpp@…, 13 years ago

Relocate Id fields.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
  • Property svn:mime-type set to text/x-php
File size: 503 bytes
Line 
1  <?php
2    /* $Id: archives.php 28322 2007-08-28 05:56:10Z jmpp@macports.org $ */
3    $DOCUMENT_ROOT = $_SERVER['DOCUMENT_ROOT'];
4    include_once("$DOCUMENT_ROOT/macports/includes/common.inc");
5    include_once("$DOCUMENT_ROOT/macports/includes/news.inc");
6    print_header('MacPorts -- News Archive', 'utf-8');
7  ?>
8
9    <div id="content">
10       
11                <h2 class="hdr">News Archive</h2>
12     <?php
13                if (isset($_GET['id'])) {
14                        print_headline();
15                } else {
16                        print_all_headlines_nonadmin();
17                }
18      ?>
19
20
21      </div>
22    </div>
23  </div>
24
25<?php
26  print_footer();
27?>
Note: See TracBrowser for help on using the repository browser.