index.php 605 B

12345678910111213141516171819
  1. <?php
  2. if (cfr('USERPROFILE')) {
  3. $altCfg = $ubillingConfig->getAlter();
  4. if (@$altCfg['USERSIDE_NAV']) {
  5. $usersideUrl = $altCfg['USERSIDE_NAV'];
  6. $userLogin = ubRouting::get('username');
  7. if (!empty($usersideUrl)) {
  8. $userSearchUrl = $usersideUrl . '&core_section=customer_list&action=search_page&search=' . $userLogin;
  9. rcms_redirect($userSearchUrl);
  10. } else {
  11. show_error('USERSIDE_NAV ' . __('is empty'));
  12. }
  13. } else {
  14. show_error(__('This module is disabled'));
  15. }
  16. } else {
  17. show_error(__('Access denied'));
  18. }