noalyss Version-9
anc_balance_double.inc.php
Go to the documentation of this file.
1<?php
2//This file is part of NOALYSS and is under GPL
3//see licence.txt
4/**
5 *@file
6 *@brief Print the crossed balance between 2 plan
7 *@see Anc_Balance_Double
8 */
9if ( ! defined ('ALLOWED') ) die('Appel direct ne sont pas permis');
11$bc->get_request();
12echo '<form method="get">';
13echo $bc->display_form();
14echo '</form>';
15if (isset($_GET['result']))
16{
17 try {
18 $result = $bc->display_html();
19 if ($bc->has_data > 0) {
20 echo $bc->show_button();
21 echo $result;
22 }else
23 {
24 echo '<p class="notice">';
25 echo _('Aucune donnée trouvée');
26 echo '</p>';
27 }
28
29 } catch (Exception $e){
30 alert($e->getMessage());
31 }
32}
33
34?>
alert($p_msg, $buffer=false)
alert in javascript
Definition: ac_common.php:738
$_GET['qcode']
Print the crossed balance between 2 plan.