Nettoyage du code
This commit is contained in:
parent
45f6b5bd3c
commit
f8a3d289f7
@ -23,9 +23,6 @@ require("./pre.inc.php");
|
||||
require("../../don.class.php");
|
||||
require("../../paiement.class.php");
|
||||
|
||||
$db = new Db();
|
||||
|
||||
|
||||
if ($action == 'update')
|
||||
{
|
||||
|
||||
|
||||
@ -23,8 +23,6 @@ require("./pre.inc.php");
|
||||
require("../../don.class.php");
|
||||
require("../../paiement.class.php");
|
||||
|
||||
$db = new Db();
|
||||
|
||||
if ($action == 'add')
|
||||
{
|
||||
|
||||
|
||||
@ -23,9 +23,6 @@ require("./pre.inc.php");
|
||||
|
||||
llxHeader();
|
||||
|
||||
$db = new Db();
|
||||
|
||||
|
||||
$sql = "SELECT sum(d.amount) as somme , d.fk_statut FROM llx_don as d GROUP BY d.fk_statut";
|
||||
|
||||
$result = $db->query($sql);
|
||||
|
||||
@ -23,8 +23,6 @@ require("./pre.inc.php");
|
||||
|
||||
llxHeader();
|
||||
|
||||
$db = new Db();
|
||||
|
||||
if ($sortorder == "") { $sortorder="DESC"; }
|
||||
if ($sortfield == "") { $sortfield="d.datedon"; }
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user