expubs.php 1.73 KB
Newer Older
Kevin Atkinson's avatar
   
Kevin Atkinson committed
1
<?php
Mike Hibler's avatar
Mike Hibler committed
2
3
4
5
6
7
#
# EMULAB-COPYRIGHT
# Copyright (c) 2008 University of Utah and the Flux Group.
# All rights reserved.
#
#
Kevin Atkinson's avatar
   
Kevin Atkinson committed
8
9
10
11
12
13
14
15
16
17
18
include("pub_defs.php");

$optargs = OptionalPageArguments("printable",  PAGEARG_BOOLEAN);

if (!isset($printable))
    $printable = 0;

$this_user = null;
$isadmin = null;

if (!$printable && LoginStatus()) {
Kevin Atkinson's avatar
   
Kevin Atkinson committed
19
20
    if (!@$HTTPS) {
	# redirect to secure site, otherwise CheckLoginOrDie will fail
Kevin Atkinson's avatar
   
Kevin Atkinson committed
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
	$new_url = "https://$WWWHOST$REQUEST_URI";
	header("Location: $new_url");
	PAGEHEADER("Bibliography");
	echo "<p>Please use $new_url when logged in.</p>";
	PAGEFOOTER();
	return;
    } else {
	$this_user = CheckLoginOrDie();
	$isadmin   = ISADMIN();
    }
}

#
# Standard Testbed Header
#
if ($printable) {
    #
    # Need to spit out some header stuff.
    #
    echo "<html>
          <head>
  	  <link rel='stylesheet' href='../tbstyle-plain.css' type='text/css'>
          </head>
          <body>\n";
} else {
    PAGEHEADER("Bibliography");
    echo "<b><a href=$REQUEST_URI?printable=1>
          Printable version of this document</a></b><br>\n";
}
?>

<p>
This page summarizes publications about Emulab as well as publications
Kevin Atkinson's avatar
   
Kevin Atkinson committed
54
that used Emulab to validate research they present.  
Kevin Atkinson's avatar
   
Kevin Atkinson committed
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
<p>

If you have a publications that used Utah's Emulab to validate your
research please use <a href="submitpub.php">this form</a> to add it.
For other updates or corrections please email 
<a href="mailto:papers@emulab.net">papers@emulab.net</a>.

</p>

<?php

$query_result = GetPubs("`visible`");
echo MakeBibList($this_user, $isadmin, $query_result);

if ($isadmin) {
    echo '<p><a href="deleted_pubs.php">Show Deleted Publications</a></p>';
}

#
# Standard Testbed Footer
# 
if ($printable) {
    echo "</body>
          </html>\n";
}
else {
    PAGEFOOTER();
}
?>