2 set_include_path(get_include_path() . PATH_SEPARATOR
. '../lib');
3 include_once('aur.inc.php');
4 include_once('pkgbasefuncs.inc.php');
6 $SID = $_COOKIE['AURSID'];
7 $pkgbase_name = htmlspecialchars($_GET['N']);
8 $votes = pkgbase_votes_from_name($pkgbase_name);
10 html_header(__("Voters"));
12 if (has_credential(CRED_PKGBASE_LIST_VOTERS
)):
16 <h2
>Votes
for <a href
="<?= get_pkgbase_uri($pkgbase_name); ?>"><?
= $pkgbase_name ?
></a
></h2
>
19 <?php
while (list($indx, $row) = each($votes)): ?
>
21 <a href
="<?= get_user_uri($row['Username']); ?>"><?
= htmlspecialchars($row['Username']) ?
></a
>
22 <?php
if ($row["VoteTS"] > 0): ?
>
23 (<?
= gmdate("Y-m-d H:i", intval($row["VoteTS"])) ?
>)
34 html_footer(AURWEB_VERSION
);