1 <?php
echo '<?xml version="1.0" encoding="UTF-8"?>'; ?
>
2 <!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
3 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
4 <html xmlns
="http://www.w3.org/1999/xhtml"
5 xml
:lang
="<?php print htmlspecialchars($LANG, ENT_QUOTES) ?>" lang
="<?php print htmlspecialchars($LANG, ENT_QUOTES) ?>">
7 <title
>AUR (<?php
print htmlspecialchars($LANG); ?
>)<?php
if ($title != "") { print " - " . htmlspecialchars($title); } ?
></title
>
8 <link rel
='stylesheet' type
='text/css' href
='css/fonts.css' />
9 <link rel
='stylesheet' type
='text/css' href
='css/containers.css' />
10 <link rel
='stylesheet' type
='text/css' href
='css/arch.css' />
11 <link rel
='stylesheet' type
='text/css' href
='css/archweb.css' />
12 <link rel
='stylesheet' type
='text/css' href
='css/aur.css' />
13 <link rel
='shortcut icon' href
='images/favicon.ico' />
14 <link rel
='alternate' type
='application/rss+xml' title
='Newest Packages RSS' href
='rss.php' />
15 <meta http
-equiv
="Content-Type" content
="text/html; charset=UTF-8" />
18 <div id
="archnavbar" class="anb-aur">
19 <div id
="archnavbarlogo"><h1
><a href
="/" title
="Return to the main page">Arch Linux
</a
></h1
></div
>
20 <div id
="archnavbarmenu">
21 <ul id
="archnavbarlist">
22 <li id
="anb-home"><a href
="http://www.archlinux.org/" title
="Arch news, packages, projects and more">Home
</a
></li
>
23 <li id
="anb-packages"><a href
="http://www.archlinux.org/packages/" title
="Arch Package Database">Packages
</a
></li
>
24 <li id
="anb-forums"><a href
="https://bbs.archlinux.org/" title
="Community forums">Forums
</a
></li
>
25 <li id
="anb-wiki"><a href
="https://wiki.archlinux.org/" title
="Community documentation">Wiki
</a
></li
>
26 <li id
="anb-bugs"><a href
="https://bugs.archlinux.org/" title
="Report and track bugs">Bugs
</a
></li
>
27 <li id
="anb-aur"><a href
="/" title
="Arch Linux User Repository">AUR
</a
></li
>
28 <li id
="anb-download"><a href
="http://www.archlinux.org/download/" title
="Get Arch Linux">Download
</a
></li
>
31 </div
><!-- #archnavbar -->
35 <form method
="get" action
="<?php echo htmlspecialchars($_SERVER["PHP_SELF
"], ENT_QUOTES) ?>">
38 <select name
="setlang" id
="id_setlang">
40 reset($SUPPORTED_LANGS);
41 foreach ($SUPPORTED_LANGS as $lang => $lang_name) {
43 print '<option value="' . strtolower($lang) . '"' .
44 ($lang == $LANG ?
' selected="selected"' : '') .
45 '>' . strtolower($lang) . "</option>\n";
49 <input type
="submit" value
="Go" />
54 <div id
="archdev-navbar">
56 <li
><a href
="index.php">AUR
<?php
print __("Home"); ?
></a
></li
>
57 <li
><a href
="packages.php"><?php
print __("Packages"); ?
></a
></li
>
58 <?php
if (isset($_COOKIE['AURSID'])): ?
>
59 <li
><a href
="packages.php?SeB=m&K=<?php print username_from_sid($_COOKIE["AURSID
"]); ?>"><?php
print __("My Packages"); ?
></a
></li
>
60 <li
><a href
="pkgsubmit.php"><?php
print __("Submit"); ?
></a
></li
>
61 <li
><a href
="account.php"><?php
print __("Accounts"); ?
></a
></li
>
62 <?php
if (check_user_privileges()): ?
><li
><a href
="tu.php"><?php
print __("Trusted User"); ?
></a
></li
><?php
endif; ?
>
63 <li
><a href
="logout.php"><?php
print __("Logout"); ?
></a
></li
>
65 <li
><a href
="account.php"><?php
print __("Register"); ?
></a
></li
>
66 <li
><a href
="login.php"><?php
print __("Login"); ?
></a
></li
>
69 </div
><!-- #archdev-navbar -->
70 <!-- Start of main content
-->