llista-ingressos.php
author viric@vicerveza
Thu, 18 May 2006 23:47:03 +0200
changeset 0 c270c8b5ddea
permissions -rw-r--r--
Initial release. Usable.

<?php
/***** Informació de LOCALE *****/
echo setlocale(LC_ALL, 'ca_XX');
$textdomain = "butxaques";
bindtextdomain($textdomain, "./locale");
textdomain($textdomain);
bind_textdomain_codeset($textdomain, "utf-8");
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<html>
<head>
<title><?php echo _("Control de butxaques")." - ".
	_("Llista d'ingressos/despeses");?></title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<META HTTP-EQUIV="CACHE-CONTROL" CONTENT="NO-CACHE">
</head>

<body>
<?php
echo "<h1 align=center>" . _("Control de butxaques") . "</h1>\n";
echo "<h2>" . _("Llista d'ingressos/despeses") . "</h2>\n";

	include("getdb.inc");
	include("llistes.inc");

	// Fem la connexió
	$connexio = mysql_connect($mysql_server, $mysql_user,
	$mysql_password);
	mysql_select_db($mysql_db, $connexio);

	if (isset($_GET["ordre"]))
		llistes::LlistaIngressos($connexio, $_GET["ordre"]);
	else
		llistes::LlistaIngressos($connexio);

?>


<p><A HREF="index"><?php echo _("Tornar al menú principal");?></A></p>

</body>
</html>