\n"; print "\n"; print " "; print "

".__("Welcome to the AUR! If you're a newcomer, you may want to read the %hGuidelines%h.", array('', ''))."

"; print "

".__("If you have feedback about the AUR, please leave it in %hFlyspray%h.", array('', ''))."

"; print "

".__("Though we can't vouch for their contents, we provide a %hlist of user repositories%h for your convenience.", array('', ''))."

"; #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 "".__("Latest Packages:")."(rss)
\n"; while ($row = mysql_fetch_assoc($result)) { print " "; print $row["Name"]."
\n"; } #print __("This is where the intro text will go."); #print __("For now, it's just a place holder."); #print __("It's more important to get the login functionality finished."); #print __("After that, this can be filled in with more meaningful text."); print " "; # XXX Is this the proper way to add some spacing between table cells? # print "   "; print " \n"; if (!isset($_COOKIE["AURSID"])) { # the user is not logged in, give them login widgets # if ($login_error) { print "" . $login_error . "
\n"; } print "\n"; print "\n"; print "\n"; print ""; print ""; print "\n"; print "\n"; print ""; print ""; print "\n"; print "\n"; print ""; print "\n"; print "\n"; print "
".__("Username:")."
".__("Password:")."
 
"; print "
\n"; } else { print __("Logged-in as: %h%s%h", array("", username_from_sid($_COOKIE["AURSID"]), "")); } print " "; print "\n"; print "\n"; html_footer("Version 1.0.3 \$Id$"); # vim: ts=2 sw=2 noet ft=php ?>