summaryrefslogtreecommitdiffstats
path: root/web/html/index.php
diff options
context:
space:
mode:
authorpjmattal <pjmattal>2005-06-11 05:35:35 +0200
committerpjmattal <pjmattal>2005-06-11 05:35:35 +0200
commite8f1659b876cd7a0f84777b5e4dcb51241ab7d6f (patch)
tree3a379b2a3041e342f69b3cf9eccb325cf80a18dc /web/html/index.php
parent52d6df0f62987597963c775db930b47a76ef23c8 (diff)
downloadaur-e8f1659b876cd7a0f84777b5e4dcb51241ab7d6f.tar.gz
aur-e8f1659b876cd7a0f84777b5e4dcb51241ab7d6f.tar.xz
modified format of front page update list1.1
Version info for 1.1
Diffstat (limited to 'web/html/index.php')
-rw-r--r--web/html/index.php15
1 files changed, 10 insertions, 5 deletions
diff --git a/web/html/index.php b/web/html/index.php
index 4993e231..da4a351d 100644
--- a/web/html/index.php
+++ b/web/html/index.php
@@ -79,20 +79,25 @@ print "<tr>\n";
print " <td align='left' valign='top'>";
print "<p>".__("Welcome to the AUR! If you're a newcomer, you may want to read the %hGuidelines%h.", array('<a href="guidelines.html">', '</a>'))."</p>";
print "<p>".__("If you have feedback about the AUR, please leave it in %hFlyspray%h.", array('<a href="http://bugs.archlinux.org/index.php?tasks=all&amp;project=2">', '</a>'))."</p>";
-print "<p>".__("Email discussion about the AUR takes place on the %sTUR Users List%s.", array('<a href="http://www.archlinux.org/mailman/listinfo/tur-users">', '<a>'));
+print "<p>".__("Email discussion about the AUR takes place on the %sTUR Users List%s.", array('<a href="http://www.archlinux.org/mailman/listinfo/tur-users">', '</a>'));
print "<p>".__("Though we can't vouch for their contents, we provide a %hlist of user repositories%h for your convenience.", array('<a href="http://wiki2.archlinux.org/index.php/Unofficial%20Repositories">', '</a>'))."</p>";
+print "<br>\n";
+
#Hey, how about listing the newest pacakges? :D
$q = "SELECT * FROM Packages ";
$q.= "WHERE DummyPkg != 1 ";
$q.= "ORDER BY SubmittedTS DESC ";
$q.= "LIMIT 0 , 10";
$result = db_query($q,$dbh);
-print "<span class='f3'>".__("Latest Packages:")."</span><span class='f5'><a href='/rss2.php'>(rss)</a></span><br />\n";
+print '<table cellspacing="2" class="boxSoft"><tr><td class="boxSoftTitle" align="right"><span class="f3">'.__("Recent Updates").'</span> </td> </tr><tr><td class="boxSoft"><table style="width: 100%" cellspacing=0 cellpadding=0>'."\n";
while ($row = mysql_fetch_assoc($result)) {
- print " <span class='f4'><a href='/packages.php?do_Details=1&ID=".intval($row["ID"])."'>";
- print $row["Name"]."</a></span><br />\n";
+ print '<tr><td><span class="f4"><span class="blue">- <a href="/packages.php?do_Details=1&ID='.intval($row["ID"]).'">';
+ print $row["Name"]." ".$row["Version"]."</a></span></span>";
+ #print '<td align="right"><span class="f4">'.intval($row["ModifiedTS"]).'</span></td>';
+ print '</tr>'."\n";
}
+print '</table></td></tr></table>';
#print __("This is where the intro text will go.");
#print __("For now, it's just a place holder.");
@@ -136,6 +141,6 @@ print "</tr>\n";
print "</table>\n";
-html_footer("<b>Version 1.0.3</b> \$Id$");
+html_footer("<b>Version 1.1</b> \$Id$");
# vim: ts=2 sw=2 noet ft=php
?>