5 // Mark Huang <mlhuang@cs.princeton.edu>
6 // Copyright (C) 2006 The Trustees of Princeton University
8 // $Id: sites.php 144 2007-03-28 07:52:20Z thierry $ $
12 require_once 'plc_session.php';
15 // Get sorting functions
16 require_once 'plc_sorts.php';
19 require_once 'plc_drupal.php';
20 drupal_set_title('Sites');
21 include 'plc_header.php';
25 <p>The following sites currently host or plan to host <?php echo PLC_NAME; ?> nodes:</p>
32 $sites = $adm->GetSites(array('is_public' => TRUE), array('name', 'url'));
35 foreach ($sites as $site) {
36 $name = htmlspecialchars($site['name']);
40 print "<a href=\"$url\">$name</a>";
53 include 'plc_footer.php';