From f8a3fa0f041ea86261efa9d9bbf807b866e7e0a2 Mon Sep 17 00:00:00 2001 From: Rodolphe Quiedeville Date: Thu, 13 Feb 2003 15:58:52 +0000 Subject: [PATCH] Nouveau fichier --- htdocs/includes/boxes/box_factures.php | 35 ++++++++++++++++++++++++++ mysql/tables/llx_boxes.sql | 32 +++++++++++++++++++++++ mysql/tables/llx_boxes_def.sql | 32 +++++++++++++++++++++++ 3 files changed, 99 insertions(+) create mode 100644 htdocs/includes/boxes/box_factures.php create mode 100644 mysql/tables/llx_boxes.sql create mode 100644 mysql/tables/llx_boxes_def.sql diff --git a/htdocs/includes/boxes/box_factures.php b/htdocs/includes/boxes/box_factures.php new file mode 100644 index 00000000000..612657a65b6 --- /dev/null +++ b/htdocs/includes/boxes/box_factures.php @@ -0,0 +1,35 @@ + + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + * + * $Id$ + * $Source$ + * + */ + +$info_box_head = array(); +$info_box_head[] = array('text' => "Factures"); + +$info_box_contents = array(); +$info_box_contents[0] = array('align' => 'center', + 'text' => "factures0"); + +$info_box_contents[1] = array('align' => 'center', + 'text' => "factures1"); + +new infoBox($info_box_head, $info_box_contents); + +?> diff --git a/mysql/tables/llx_boxes.sql b/mysql/tables/llx_boxes.sql new file mode 100644 index 00000000000..6f457f1daa7 --- /dev/null +++ b/mysql/tables/llx_boxes.sql @@ -0,0 +1,32 @@ +-- ============================================================================ +-- Copyright (C) 2003 Rodolphe Quiedeville +-- +-- This program is free software; you can redistribute it and/or modify +-- it under the terms of the GNU General Public License as published by +-- the Free Software Foundation; either version 2 of the License, or +-- (at your option) any later version. +-- +-- This program is distributed in the hope that it will be useful, +-- but WITHOUT ANY WARRANTY; without even the implied warranty of +-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +-- GNU General Public License for more details. +-- +-- You should have received a copy of the GNU General Public License +-- along with this program; if not, write to the Free Software +-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +-- +-- $Id$ +-- $Source$ +-- +-- =========================================================================== + +-- position : 0-index.php, 1-left, 2-right +-- +-- +create table llx_boxes +( + rowid integer AUTO_INCREMENT PRIMARY KEY, + box_id integer NOT NULL, + position smallint NOT NULL + +); diff --git a/mysql/tables/llx_boxes_def.sql b/mysql/tables/llx_boxes_def.sql new file mode 100644 index 00000000000..472f4191c20 --- /dev/null +++ b/mysql/tables/llx_boxes_def.sql @@ -0,0 +1,32 @@ +-- ============================================================================ +-- Copyright (C) 2003 Rodolphe Quiedeville +-- +-- This program is free software; you can redistribute it and/or modify +-- it under the terms of the GNU General Public License as published by +-- the Free Software Foundation; either version 2 of the License, or +-- (at your option) any later version. +-- +-- This program is distributed in the hope that it will be useful, +-- but WITHOUT ANY WARRANTY; without even the implied warranty of +-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +-- GNU General Public License for more details. +-- +-- You should have received a copy of the GNU General Public License +-- along with this program; if not, write to the Free Software +-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +-- +-- $Id$ +-- $Source$ +-- +-- =========================================================================== + +-- +-- +-- +create table llx_boxes_def +( + rowid integer AUTO_INCREMENT PRIMARY KEY, + name varchar(255) NOT NULL, + file varchar(255) NOT NULL, + note text +);