panel_biall_net.php 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081
  1. <?php
  2. Lib::loadClass('Router');
  3. class Theme_panel_biall_net extends ThemeDefault {
  4. // function head() { // echo 'html tag inside <head>'
  5. // }
  6. function top() { // first tag after body: top menu or header
  7. include dirname(__FILE__) . '/view/top.php';
  8. }
  9. function footer() { // before </body>
  10. include dirname(__FILE__) . '/view/footer.php';
  11. }
  12. function login($data) {
  13. if (is_array($data) && !empty($data)) {
  14. extract($data);
  15. }
  16. $remindPasswdLink = Router::getRoute('UrlAction_RemindPasswd')->getLink();
  17. include dirname(__FILE__) . '/view/login.php';
  18. }
  19. function remind($data) {
  20. if (is_array($data) && !empty($data)) {
  21. extract($data);
  22. }
  23. $loginLink = Request::getPathUri();
  24. include dirname(__FILE__) . '/view/remind.php';
  25. }
  26. function remindSent($data = []) {
  27. if (is_array($data) && !empty($data)) {
  28. extract($data);
  29. }
  30. include dirname(__FILE__) . '/view/remindSent.php';
  31. }
  32. function remindSetNewPassword($data = []) {
  33. if (is_array($data) && !empty($data)) {
  34. extract($data);
  35. }
  36. $loginLink = Request::getPathUri();
  37. include dirname(__FILE__) . '/view/remindSetNewPass.php';
  38. }
  39. function remindNewPasswordSet($data) {
  40. if (is_array($data) && !empty($data)) {
  41. extract($data);
  42. }
  43. $loginLink = Request::getPathUri();
  44. include dirname(__FILE__) . '/view/remindNewPassSetConfirm.php';
  45. }
  46. function logout($data) {
  47. if (is_array($data) && !empty($data)) {
  48. extract($data);
  49. }
  50. include dirname(__FILE__) . '/view/logout.php';
  51. }
  52. function home($data) { // TODO: home page view
  53. if (is_array($data) && !empty($data)) {
  54. extract($data);
  55. }
  56. $saldo = -123.456;
  57. $nr_konta = "123455789 TODO";
  58. // // USERS2_WINDYKACJA_STATUS.ACCOUNT_NUMBER
  59. // ACCOUNT_NUMBER = Windykacja_FunkcjeL1::bankowy_make_nrach($company['NR_RACH_MASS_PAY'], $user->ID_BILLING_USERS, 0);
  60. // // BILLING_OWNER.NR_RACH_MASS_PAY
  61. include dirname(__FILE__) . '/view/home.php';
  62. }
  63. }