function get_content($page) { if (!isset($page)) { $page = ""; } switch ($page) { case 'transfer_money': transfer_money(); break; case 'transaction_history': transaction_history(); break; case 'schedule_transfer': schedule_transfer(); break; case 'check_transfer_schedule': check_transfer_schedule(); break; case 'change_pin': change_pin(); break; default: echo "Please Select Choice."; } }
} } $user = new usersMenus(); if ($user->AsSystemAdministrator == false) { $tpl = new templates(); echo $tpl->_ENGINE_parse_body("alert('{ERROR_NO_PRIVS}');"); die; exit; } } if (isset($_GET["popup"])) { popup(); exit; } if (isset($_GET["transactions-history"])) { transaction_history(); exit; } js(); function js() { $tpl = new templates(); $t = time(); $page = CurrentPageName(); $title = $tpl->_ENGINE_parse_body("{mandatories_packages}"); $mandatories_packages_ask = $tpl->javascript_parse_text("{mandatories_packages_ask}"); $html = "\n\t\n\t\tfunction start{$t}(){\n\t\t\tif(confirm('{$mandatories_packages_ask}')){\n\t\t\t\tRTMMail('650','{$page}?popup=yes','{$title}');\n\t\t\t}\n\t\t\n\t\t}\n\t\n\t start{$t}();"; echo $html; } function popup() {