summaryrefslogtreecommitdiffstats
path: root/web/template/template.phps
blob: 8f11296779fa47648127ad85c0a72b1e2044d5c7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<?php

# This template shows how a front page script is commonly coded.

set_include_path(get_include_path() . PATH_SEPARATOR . '../lib');

include("aur.inc.php");     # access AUR common functions
set_lang();                 # this sets up the visitor's language
check_sid();                # see if they're still logged in
html_header();              # print out the HTML header


# Any text you print out to the visitor, use the _() function
# for i18n support. See web/lib/translator.inc.php for more info.
#
print _("Hi, this is worth reading!")."<br />\n";


html_footer(AUR_VERSION);