Plugins  LAST
 All Data Structures Files Functions Variables Pages
am_card.php
Go to the documentation of this file.
1 <?php
2 /*
3  * This file is part of NOALYSS.
4  *
5  * NOALYSS is free software; you can redistribute it and/or modify
6  * it under the terms of the GNU General Public License as published by
7  * the Free Software Foundation; either version 2 of the License, or
8  * (at your option) any later version.
9  *
10  * NOALYSS is distributed in the hope that it will be useful,
11  * but WITHOUT ANY WARRANTY; without even the implied warranty of
12  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13  * GNU General Public License for more details.
14  *
15  * You should have received a copy of the GNU General Public License
16  * along with NOALYSS; if not, write to the Free Software
17  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
18 */
19 /* $Revision$ */
20 
21 // Copyright (c) 2002 Author Dany De Bontridder dany@alchimerys.be
22 
23 /*!\file
24  * \brief display a list of card to be paid off, let modify, remove or add
25  * included from index.php
26  */
27 require_once('class_am_card.php');
28 
29 $good=new Am_Card();
30 /* show simply the listing, in the top, there is a button to add
31  * a card, if we click on a card, we get the details and the table of
32  * report
33  */
34 $but= $good->add_card();
35 echo '<div class="content" style="width:80%;margin-left:10%">';
36 echo '<form method="GET">';
37 echo dossier::hidden();
38 echo HtmlInput::hidden('plugin_code',$_REQUEST['plugin_code']);
39 echo HtmlInput::hidden('sa',$_REQUEST['sa']);
40 echo HtmlInput::hidden('ac',$_REQUEST['ac']);
41 $ck=new ICheckBox('all');
42 $ck->selected=(isset ($_GET['all']))?true:false;
43 echo '<p> Tous les biens y compris ceux qui sont complétement amortis '.$ck->input();
44 echo HtmlInput::submit('look','Recherche').'</p>';
45 echo '</form>';
46 echo $but->input();
47 echo $good->listing($ck->selected);
48 
49 echo $but->input();
50 echo '</div>';
$ck
Definition: am_card.php:41
$good
Definition: am_card.php:29
$but
Definition: am_card.php:34
$_REQUEST['sb']
Definition: am_print.php:39