\n";
}
function db_error_page() {
page_head("Database error");
echo "
Database error
A database error occurred while handling your request.
Please try again later.
If the error persists, please submit a
problem report.
";
page_tail();
}
function date_str($when) {
return date("g:i A, l M j", $when);
}
function time_str($x) {
if ($x == 0) return "---";
return strftime("%T %b %e, %Y", $x);
}
function start_table() {
echo "
";
}
function end_table() {
echo "
\n";
}
function row1($x, $ncols=2) {
echo "
$x
\n";
}
function row2($x, $y) {
if ($x=="") $x=" ";
echo "
$x
$y
\n";
}
function row2_init($x, $y) {
echo "
$x
$y\n";
}
function row3($x, $y, $z) {
echo "
$x
$y
$z
\n";
}
function random_string() {
return md5(uniqid(rand()));
}
function print_country_select($country="None") {
$x = posix_getcwd();
PassThru("$x/country_select '$country'");
}
function print_login_form_aux($next_url, $user) {
echo "