llista-moviments.php
changeset 0 c270c8b5ddea
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/llista-moviments.php	Thu May 18 23:47:03 2006 +0200
@@ -0,0 +1,42 @@
+<?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 de moviments");?></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 de moviments") . "</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::LlistaMoviments($connexio, $_GET["ordre"]);
+	else
+		llistes::LlistaMoviments($connexio);
+
+?>
+
+
+<p><A HREF="index"><?php echo _("Tornar al menú principal");?></A></p>
+
+</body>
+</html>