ILIAS  Release_5_0_x_branch Revision 61816
 All Data Structures Namespaces Files Functions Variables Groups Pages
payment.php
Go to the documentation of this file.
1 <?php
2 /* Copyright (c) 1998-2009 ILIAS open source, Extended GPL, see docs/LICENSE */
3 
4 
15 define('ILIAS_MODULE','payment');
16 
17 require_once "include/inc.header.php";
18 
19 switch ($_GET["view"])
20 {
21  case "start_bmf" : require_once "./Services/Payment/classes/class.ilPurchaseBMFGUI.php";
22 
23  $ilCtrl->setTargetScript("payment.php");
24  $ilCtrl->setParameterByClass("ilpurchasebmfgui", "view", "start_bmf");
25  $ilCtrl->getCallStructure("ilpurchasebmfgui");
26 
27  $pa = new ilPurchaseBMFGUI($ilias->account);
28  $ilCtrl->forwardCommand($pa);
29  break;
30 
31  case "conditions" :
32  default : require_once "./Services/Payment/classes/class.ilTermsCondition.php";
33  $pa = new ilTermsCondition($ilias->account);
34  $pa->show();
35  break;
36 }
37 
38 $tpl->show();
39 ?>