status-butxaques.php
author viric@vicerveza
Thu, 18 May 2006 23:47:03 +0200
changeset 0 c270c8b5ddea
permissions -rw-r--r--
Initial release. Usable.
viric@0
     1
<?php
viric@0
     2
/***** Informació de LOCALE *****/
viric@0
     3
echo setlocale(LC_ALL, 'ca_XX');
viric@0
     4
$textdomain = "butxaques";
viric@0
     5
bindtextdomain($textdomain, "./locale");
viric@0
     6
textdomain($textdomain);
viric@0
     7
bind_textdomain_codeset($textdomain, "utf-8");
viric@0
     8
?>
viric@0
     9
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
viric@0
    10
<html>
viric@0
    11
<head>
viric@0
    12
<title><?php echo _("Control de butxaques")." - ".
viric@0
    13
	_("Estat de les butxaques");?></title>
viric@0
    14
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
viric@0
    15
<META HTTP-EQUIV="CACHE-CONTROL" CONTENT="NO-CACHE">
viric@0
    16
</head>
viric@0
    17
viric@0
    18
<body>
viric@0
    19
<?php
viric@0
    20
echo "<h1 align=center>" . _("Control de butxaques") . "</h1>\n";
viric@0
    21
echo "<h2>" . _("Estat de les butxaques") . "</h2>\n";
viric@0
    22
viric@0
    23
	include("getdb.inc");
viric@0
    24
	include("llistes.inc");
viric@0
    25
viric@0
    26
	// Fem la connexió
viric@0
    27
	$connexio = mysql_connect($mysql_server, $mysql_user,
viric@0
    28
	$mysql_password);
viric@0
    29
	mysql_select_db($mysql_db, $connexio);
viric@0
    30
viric@0
    31
	llistes::StatusButxaques($connexio);
viric@0
    32
viric@0
    33
?>
viric@0
    34
viric@0
    35
viric@0
    36
<p><A HREF="index"><?php echo _("Tornar al menú principal");?></A></p>
viric@0
    37
viric@0
    38
</body>
viric@0
    39
</html>