Ejemplo n.º 1
0
     echo $dn->Confirmations($db);
     break;
 case "viewConfirmation":
     echo $dn->ViewConfirmation($db, $_GET['idx']);
     break;
 case "cancelConfirmation":
     echo $dn->CancelConfirmation($db, $_POST);
     break;
 case "confirmDonation":
     echo $dn->ConfirmDonation($db, $_POST['idx']);
     break;
 case "config":
     echo $dn->ConfigForm($db);
     break;
 case "addBank":
     echo $dn->addNewBank($db, $_POST['bank_name']);
     break;
 case "depositWays":
     echo $dn->getDepositWays($db, $_GET['bank']);
     break;
 case "addNewWay":
     echo $dn->addNewWay($db, $_POST['way'], $_POST['bank']);
     break;
 case "getWayData":
     echo $dn->getWayData($db, $_GET['way']);
     break;
 case "deleteWay":
     echo $dn->deleteWay($db, $_POST['way']);
     break;
 case "deleteWayData":
     echo $dn->deleteWayData($db, $_POST['wayData']);