index.php 655 B

12345678910111213141516171819
  1. <?php
  2. if (cfr('DAYX')) {
  3. if ($ubillingConfig->getAlterParam('DAYX_ENABLED')) {
  4. if (ubRouting::checkGet('username')) {
  5. $username = ubRouting::get('username');
  6. $fundsflow = new FundsFlow();
  7. show_window('', $fundsflow->getOnlineLeftCount($username, false, $ubillingConfig->getAlterParam('FUNDSFLOW_CONSIDER_VSERVICES')));
  8. show_window('', web_UserControls($username));
  9. } else {
  10. show_error(__('Strange exeption') . ': EX_NO_USERNAME');
  11. }
  12. } else {
  13. show_error(__('This module is disabled'));
  14. }
  15. } else {
  16. show_error(__('You cant control this module'));
  17. }