diff --git a/web/html/home.php b/web/html/home.php new file mode 100644 index 00000000..48f5e00a --- /dev/null +++ b/web/html/home.php @@ -0,0 +1,123 @@ + + +
+
+
+

AUR

+

+ ', + '', + '', + '' + ); + ?> +

+

+ ', '', + '', + '' + ); + ?> +

+

+ + +

+

+

+ ', + '', + '', + '' + ); + ?> +

+

+ ', + '', + '', + '' + ); + ?> +

+ +
+ : +
+ +
+
+ +
+ + + + +
+ +
+
+ +
+
+
+
+
+
+ + + " maxlength="35" /> +
+
+
+
+ + + + +
+ +
+
+
+ + + + +
+ +
+
+ +
+ - -
-
-
-

AUR

-

- ', - '', - '', - '' - ); - ?> -

-

- ', '', - '', - '' - ); - ?> -

-

- - -

-

-

- ', - '', - '', - '' - ); - ?> -

-

- ', - '', - '', - '' - ); - ?> -

- -
- : -
- -
-
- -
- - - - -
- -
-
- -
-
-
-
-
-
- - - " maxlength="35" /> -
-
-
-
- - - - -
- -
-
-
- - - - -
- -
-
- -
- 'home.php', + '/index.php' => 'home.php', + '/packages' => 'packages.php', + '/register' => 'account.php', + '/accounts' => 'account.php', + '/login' => 'login.php', + '/logout' => 'logout.php', + '/passreset' => 'passreset.php', + '/rpc' => 'rpc.php', + '/rss' => 'rss.php', + '/submit' => 'pkgsubmit.php', + '/tu' => 'tu.php', + '/voters' => 'voters.php', + '/addvote' => 'addvote.php', +); + +function get_route($path) { + global $ROUTES; + + if (isset($ROUTES[$path])) { + return $ROUTES[$path]; + } else { + return NULL; + } +} + +function get_uri($path) { + global $USE_VIRTUAL_URLS; + global $ROUTES; + + if ($USE_VIRTUAL_URLS) { + return $path; + } else { + return get_route($path); + } +}