3v4l.org

run code in 300+ PHP versions simultaneously
<?php /** * * @package ucp * @version $Id$ * @copyright (c) 2005 phpBB Group * @license http://opensource.org/licenses/gpl-license.php GNU Public License * */ /** * @ignore */ define('IN_PHPBB', true); $phpbb_root_path = (defined('PHPBB_ROOT_PATH')) ? PHPBB_ROOT_PATH : './'; $phpEx = substr(strrchr(__FILE__, '.'), 1); require($phpbb_root_path . 'common.' . $phpEx); require($phpbb_root_path . 'includes/functions_user.' . $phpEx); require($phpbb_root_path . 'includes/functions_module.' . $phpEx); // Basic parameter data $id = request_var('i', ''); $mode = request_var('mode', ''); if (in_array($mode, array('login', 'logout', 'confirm', 'sendpassword', 'activate'))) { define('IN_LOGIN', true); } // Start session management $user->session_begin(); $auth->acl($user->data); $user->setup('ucp'); // Setting a variable to let the style designer know where he is... $template->assign_var('S_IN_UCP', true); $module = new p_master(); $default = false; // Basic "global" modes switch ($mode) { case 'activate': $module->load('ucp', 'activate'); $module->display($user->lang['UCP_ACTIVATE']); redirect(append_sid("{$phpbb_root_path}index.$phpEx")); break; case 'resend_act': $module->load('ucp', 'resend'); $module->display($user->lang['UCP_RESEND']); break; case 'sendpassword': $module->load('ucp', 'remind'); $module->display($user->lang['UCP_REMIND']); break; case 'register': if ($user->data['is_registered'] || isset($_REQUEST['not_agreed'])) { redirect(append_sid("{$phpbb_root_path}index.$phpEx")); } $module->load('ucp', 'register'); $module->display($user->lang['REGISTER']); break; case 'confirm': $module->load('ucp', 'confirm'); break; case 'login': if ($user->data['is_registered']) { redirect(append_sid("{$phpbb_root_path}index.$phpEx")); } login_box(request_var('redirect', "index.$phpEx")); break; case 'logout': if ($user->data['user_id'] != ANONYMOUS && isset($_GET['sid']) && !is_array($_GET['sid']) && $_GET['sid'] === $user->session_id) { $user->session_kill(); $user->session_begin(); $message = $user->lang['LOGOUT_REDIRECT']; } else { $message = ($user->data['user_id'] == ANONYMOUS) ? $user->lang['LOGOUT_REDIRECT'] : $user->lang['LOGOUT_FAILED']; } meta_refresh(3, append_sid("{$phpbb_root_path}index.$phpEx")); $message = $message . '<br /><br />' . sprintf($user->lang['RETURN_INDEX'], '<a href="' . append_sid("{$phpbb_root_path}index.$phpEx") . '">', '</a> '); trigger_error($message); break; case 'terms': case 'privacy': $message = ($mode == 'terms') ? 'TERMS_OF_USE_CONTENT' : 'PRIVACY_POLICY'; $title = ($mode == 'terms') ? 'TERMS_USE' : 'PRIVACY'; if (empty($user->lang[$message])) { if ($user->data['is_registered']) { redirect(append_sid("{$phpbb_root_path}index.$phpEx")); } login_box(); } $template->set_filenames(array( 'body' => 'ucp_agreement.html') ); // Disable online list page_header($user->lang[$title], false); $template->assign_vars(array( 'S_AGREEMENT' => true, 'AGREEMENT_TITLE' => $user->lang[$title], 'AGREEMENT_TEXT' => sprintf($user->lang[$message], $config['sitename'], generate_board_url()), 'U_BACK' => append_sid("{$phpbb_root_path}ucp.$phpEx", 'mode=login'), 'L_BACK' => $user->lang['BACK_TO_LOGIN'], )); page_footer(); break; case 'delete_cookies': // Delete Cookies with dynamic names (do NOT delete poll cookies) if (confirm_box(true)) { $set_time = time() - 31536000; foreach ($_COOKIE as $cookie_name => $cookie_data) { // Only delete board cookies, no other ones... if (strpos($cookie_name, $config['cookie_name'] . '_') !== 0) { continue; } $cookie_name = str_replace($config['cookie_name'] . '_', '', $cookie_name); // Polls are stored as {cookie_name}_poll_{topic_id}, cookie_name_ got removed, therefore checking for poll_ if (strpos($cookie_name, 'poll_') !== 0) { $user->set_cookie($cookie_name, '', $set_time); } } $user->set_cookie('track', '', $set_time); $user->set_cookie('u', '', $set_time); $user->set_cookie('k', '', $set_time); $user->set_cookie('sid', '', $set_time); // We destroy the session here, the user will be logged out nevertheless $user->session_kill(); $user->session_begin(); meta_refresh(3, append_sid("{$phpbb_root_path}index.$phpEx")); $message = $user->lang['COOKIES_DELETED'] . '<br /><br />' . sprintf($user->lang['RETURN_INDEX'], '<a href="' . append_sid("{$phpbb_root_path}index.$phpEx") . '">', '</a>'); trigger_error($message); } else { confirm_box(false, 'DELETE_COOKIES', ''); } redirect(append_sid("{$phpbb_root_path}index.$phpEx")); break; case 'switch_perm': $user_id = request_var('u', 0); $sql = 'SELECT * FROM ' . USERS_TABLE . ' WHERE user_id = ' . (int) $user_id; $result = $db->sql_query($sql); $user_row = $db->sql_fetchrow($result); $db->sql_freeresult($result); if (!$auth->acl_get('a_switchperm') || !$user_row || $user_id == $user->data['user_id'] || !check_link_hash(request_var('hash', ''), 'switchperm')) { redirect(append_sid("{$phpbb_root_path}index.$phpEx")); } include($phpbb_root_path . 'includes/acp/auth.' . $phpEx); $auth_admin = new auth_admin(); if (!$auth_admin->ghost_permissions($user_id, $user->data['user_id'])) { redirect(append_sid("{$phpbb_root_path}index.$phpEx")); } add_log('admin', 'LOG_ACL_TRANSFER_PERMISSIONS', $user_row['username']); $message = sprintf($user->lang['PERMISSIONS_TRANSFERRED'], $user_row['username']) . '<br /><br />' . sprintf($user->lang['RETURN_INDEX'], '<a href="' . append_sid("{$phpbb_root_path}index.$phpEx") . '">', '</a>'); trigger_error($message); break; case 'restore_perm': if (!$user->data['user_perm_from'] || !$auth->acl_get('a_switchperm')) { redirect(append_sid("{$phpbb_root_path}index.$phpEx")); } $auth->acl_cache($user->data); $sql = 'SELECT username FROM ' . USERS_TABLE . ' WHERE user_id = ' . $user->data['user_perm_from']; $result = $db->sql_query($sql); $username = $db->sql_fetchfield('username'); $db->sql_freeresult($result); add_log('admin', 'LOG_ACL_RESTORE_PERMISSIONS', $username); $message = $user->lang['PERMISSIONS_RESTORED'] . '<br /><br />' . sprintf($user->lang['RETURN_INDEX'], '<a href="' . append_sid("{$phpbb_root_path}index.$phpEx") . '">', '</a>'); trigger_error($message); break; default: $default = true; break; } // We use this approach because it does not impose large code changes if (!$default) { return true; } // Only registered users can go beyond this point if (!$user->data['is_registered']) { if ($user->data['is_bot']) { redirect(append_sid("{$phpbb_root_path}index.$phpEx")); } if ($id == 'pm' && $mode == 'view' && isset($_GET['p'])) { $redirect_url = append_sid("{$phpbb_root_path}ucp.$phpEx?i=pm&p=" . request_var('p', 0)); login_box($redirect_url, $user->lang['LOGIN_EXPLAIN_UCP']); } login_box('', $user->lang['LOGIN_EXPLAIN_UCP']); } // Instantiate module system and generate list of available modules $module->list_modules('ucp'); // Check if the zebra module is set if ($module->is_active('zebra', 'friends')) { // Output listing of friends online $update_time = $config['load_online_time'] * 60; $sql = $db->sql_build_query('SELECT_DISTINCT', array( 'SELECT' => 'u.user_id, u.username, u.username_clean, u.user_colour, MAX(s.session_time) as online_time, MIN(s.session_viewonline) AS viewonline', 'FROM' => array( USERS_TABLE => 'u', ZEBRA_TABLE => 'z' ), 'LEFT_JOIN' => array( array( 'FROM' => array(SESSIONS_TABLE => 's'), 'ON' => 's.session_user_id = z.zebra_id' ) ), 'WHERE' => 'z.user_id = ' . $user->data['user_id'] . ' AND z.friend = 1 AND u.user_id = z.zebra_id', 'GROUP_BY' => 'z.zebra_id, u.user_id, u.username_clean, u.user_colour, u.username', 'ORDER_BY' => 'u.username_clean ASC', )); $result = $db->sql_query($sql); while ($row = $db->sql_fetchrow($result)) { $which = (time() - $update_time < $row['online_time'] && ($row['viewonline'] || $auth->acl_get('u_viewonline'))) ? 'online' : 'offline'; $template->assign_block_vars("friends_{$which}", array( 'USER_ID' => $row['user_id'], 'U_PROFILE' => get_username_string('profile', $row['user_id'], $row['username'], $row['user_colour']), 'USER_COLOUR' => get_username_string('colour', $row['user_id'], $row['username'], $row['user_colour']), 'USERNAME' => get_username_string('username', $row['user_id'], $row['username'], $row['user_colour']), 'USERNAME_FULL' => get_username_string('full', $row['user_id'], $row['username'], $row['user_colour'])) ); } $db->sql_freeresult($result); } // Do not display subscribed topics/forums if not allowed if (!$config['allow_topic_notify'] && !$config['allow_forum_notify']) { $module->set_display('main', 'subscribed', false); } // Do not display signature panel if not authed to do so if (!$auth->acl_get('u_sig')) { $module->set_display('profile', 'signature', false); } // Select the active module $module->set_active($id, $mode); // Load and execute the relevant module $module->load_active(); // Assign data to the template engine for the list of modules $module->assign_tpl_vars(append_sid("{$phpbb_root_path}ucp.$phpEx")); // Generate the page, do not display/query online list $module->display($module->get_page_title(), false); /** * Function for assigning a template var if the zebra module got included */ function _module_zebra($mode, &$module_row) { global $template; $template->assign_var('S_ZEBRA_ENABLED', true); if ($mode == 'friends') { $template->assign_var('S_ZEBRA_FRIENDS_ENABLED', true); } if ($mode == 'foes') { $template->assign_var('S_ZEBRA_FOES_ENABLED', true); } } ?>
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 6, Position 2 = 9
Branch analysis from position: 6
1 jumps found. (Code = 42) Position 1 = 10
Branch analysis from position: 10
2 jumps found. (Code = 43) Position 1 = 41, Position 2 = 45
Branch analysis from position: 41
14 jumps found. (Code = 188) Position 1 = 89, Position 2 = 109, Position 3 = 120, Position 4 = 131, Position 5 = 158, Position 6 = 163, Position 7 = 185, Position 8 = 259, Position 9 = 259, Position 10 = 330, Position 11 = 445, Position 12 = 560, Position 13 = 631, Position 14 = 64
Branch analysis from position: 89
1 jumps found. (Code = 42) Position 1 = 633
Branch analysis from position: 633
2 jumps found. (Code = 43) Position 1 = 635, Position 2 = 636
Branch analysis from position: 635
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 636
2 jumps found. (Code = 43) Position 1 = 640, Position 2 = 688
Branch analysis from position: 640
2 jumps found. (Code = 43) Position 1 = 643, Position 2 = 652
Branch analysis from position: 643
2 jumps found. (Code = 46) Position 1 = 654, Position 2 = 656
Branch analysis from position: 654
2 jumps found. (Code = 46) Position 1 = 657, Position 2 = 660
Branch analysis from position: 657
2 jumps found. (Code = 43) Position 1 = 661, Position 2 = 681
Branch analysis from position: 661
2 jumps found. (Code = 43) Position 1 = 696, Position 2 = 814
Branch analysis from position: 696
1 jumps found. (Code = 42) Position 1 = 806
Branch analysis from position: 806
2 jumps found. (Code = 44) Position 1 = 811, Position 2 = 728
Branch analysis from position: 811
2 jumps found. (Code = 46) Position 1 = 817, Position 2 = 820
Branch analysis from position: 817
2 jumps found. (Code = 43) Position 1 = 821, Position 2 = 826
Branch analysis from position: 821
2 jumps found. (Code = 43) Position 1 = 831, Position 2 = 836
Branch analysis from position: 831
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 836
Branch analysis from position: 826
Branch analysis from position: 820
Branch analysis from position: 728
2 jumps found. (Code = 46) Position 1 = 734, Position 2 = 741
Branch analysis from position: 734
2 jumps found. (Code = 47) Position 1 = 736, Position 2 = 740
Branch analysis from position: 736
2 jumps found. (Code = 43) Position 1 = 742, Position 2 = 744
Branch analysis from position: 742
1 jumps found. (Code = 42) Position 1 = 745
Branch analysis from position: 745
2 jumps found. (Code = 44) Position 1 = 811, Position 2 = 728
Branch analysis from position: 811
Branch analysis from position: 728
Branch analysis from position: 744
2 jumps found. (Code = 44) Position 1 = 811, Position 2 = 728
Branch analysis from position: 811
Branch analysis from position: 728
Branch analysis from position: 740
Branch analysis from position: 741
Branch analysis from position: 814
Branch analysis from position: 681
Branch analysis from position: 660
Branch analysis from position: 656
Branch analysis from position: 652
Branch analysis from position: 688
Branch analysis from position: 109
1 jumps found. (Code = 42) Position 1 = 633
Branch analysis from position: 633
Branch analysis from position: 120
1 jumps found. (Code = 42) Position 1 = 633
Branch analysis from position: 633
Branch analysis from position: 131
2 jumps found. (Code = 47) Position 1 = 134, Position 2 = 137
Branch analysis from position: 134
2 jumps found. (Code = 43) Position 1 = 138, Position 2 = 147
Branch analysis from position: 138
1 jumps found. (Code = 42) Position 1 = 633
Branch analysis from position: 633
Branch analysis from position: 147
Branch analysis from position: 137
Branch analysis from position: 158
1 jumps found. (Code = 42) Position 1 = 633
Branch analysis from position: 633
Branch analysis from position: 163
2 jumps found. (Code = 43) Position 1 = 166, Position 2 = 175
Branch analysis from position: 166
1 jumps found. (Code = 42) Position 1 = 633
Branch analysis from position: 633
Branch analysis from position: 175
Branch analysis from position: 185
2 jumps found. (Code = 46) Position 1 = 190, Position 2 = 193
Branch analysis from position: 190
2 jumps found. (Code = 46) Position 1 = 194, Position 2 = 199
Branch analysis from position: 194
2 jumps found. (Code = 46) Position 1 = 200, Position 2 = 205
Branch analysis from position: 200
2 jumps found. (Code = 43) Position 1 = 206, Position 2 = 214
Branch analysis from position: 206
1 jumps found. (Code = 42) Position 1 = 227
Branch analysis from position: 227
1 jumps found. (Code = 42) Position 1 = 633
Branch analysis from position: 633
Branch analysis from position: 214
2 jumps found. (Code = 43) Position 1 = 219, Position 2 = 223
Branch analysis from position: 219
1 jumps found. (Code = 42) Position 1 = 226
Branch analysis from position: 226
1 jumps found. (Code = 42) Position 1 = 633
Branch analysis from position: 633
Branch analysis from position: 223
1 jumps found. (Code = 42) Position 1 = 633
Branch analysis from position: 633
Branch analysis from position: 205
Branch analysis from position: 199
Branch analysis from position: 193
Branch analysis from position: 259
2 jumps found. (Code = 43) Position 1 = 261, Position 2 = 263
Branch analysis from position: 261
1 jumps found. (Code = 42) Position 1 = 264
Branch analysis from position: 264
2 jumps found. (Code = 43) Position 1 = 267, Position 2 = 269
Branch analysis from position: 267
1 jumps found. (Code = 42) Position 1 = 270
Branch analysis from position: 270
2 jumps found. (Code = 43) Position 1 = 274, Position 2 = 288
Branch analysis from position: 274
2 jumps found. (Code = 43) Position 1 = 277, Position 2 = 286
Branch analysis from position: 277
1 jumps found. (Code = 42) Position 1 = 633
Branch analysis from position: 633
Branch analysis from position: 286
Branch analysis from position: 288
Branch analysis from position: 269
2 jumps found. (Code = 43) Position 1 = 274, Position 2 = 288
Branch analysis from position: 274
Branch analysis from position: 288
Branch analysis from position: 263
2 jumps found. (Code = 43) Position 1 = 267, Position 2 = 269
Branch analysis from position: 267
Branch analysis from position: 269
Branch analysis from position: 259
Branch analysis from position: 330
2 jumps found. (Code = 43) Position 1 = 334, Position 2 = 430
Branch analysis from position: 334
2 jumps found. (Code = 77) Position 1 = 340, Position 2 = 371
Branch analysis from position: 340
2 jumps found. (Code = 78) Position 1 = 341, Position 2 = 371
Branch analysis from position: 341
2 jumps found. (Code = 43) Position 1 = 350, Position 2 = 351
Branch analysis from position: 350
1 jumps found. (Code = 42) Position 1 = 340
Branch analysis from position: 340
Branch analysis from position: 351
2 jumps found. (Code = 43) Position 1 = 365, Position 2 = 370
Branch analysis from position: 365
1 jumps found. (Code = 42) Position 1 = 340
Branch analysis from position: 340
Branch analysis from position: 370
Branch analysis from position: 371
1 jumps found. (Code = 42) Position 1 = 435
Branch analysis from position: 435
1 jumps found. (Code = 42) Position 1 = 633
Branch analysis from position: 633
Branch analysis from position: 371
Branch analysis from position: 430
1 jumps found. (Code = 42) Position 1 = 633
Branch analysis from position: 633
Branch analysis from position: 445
2 jumps found. (Code = 47) Position 1 = 472, Position 2 = 474
Branch analysis from position: 472
2 jumps found. (Code = 47) Position 1 = 475, Position 2 = 479
Branch analysis from position: 475
2 jumps found. (Code = 47) Position 1 = 480, Position 2 = 490
Branch analysis from position: 480
2 jumps found. (Code = 43) Position 1 = 491, Position 2 = 500
Branch analysis from position: 491
2 jumps found. (Code = 43) Position 1 = 515, Position 2 = 524
Branch analysis from position: 515
1 jumps found. (Code = 42) Position 1 = 633
Branch analysis from position: 633
Branch analysis from position: 524
Branch analysis from position: 500
Branch analysis from position: 490
Branch analysis from position: 479
Branch analysis from position: 474
Branch analysis from position: 560
2 jumps found. (Code = 47) Position 1 = 564, Position 2 = 569
Branch analysis from position: 564
2 jumps found. (Code = 43) Position 1 = 570, Position 2 = 579
Branch analysis from position: 570
1 jumps found. (Code = 42) Position 1 = 633
Branch analysis from position: 633
Branch analysis from position: 579
Branch analysis from position: 569
Branch analysis from position: 631
1 jumps found. (Code = 42) Position 1 = 633
Branch analysis from position: 633
Branch analysis from position: 64
2 jumps found. (Code = 44) Position 1 = 66, Position 2 = 89
Branch analysis from position: 66
2 jumps found. (Code = 44) Position 1 = 68, Position 2 = 109
Branch analysis from position: 68
2 jumps found. (Code = 44) Position 1 = 70, Position 2 = 120
Branch analysis from position: 70
2 jumps found. (Code = 44) Position 1 = 72, Position 2 = 131
Branch analysis from position: 72
2 jumps found. (Code = 44) Position 1 = 74, Position 2 = 158
Branch analysis from position: 74
2 jumps found. (Code = 44) Position 1 = 76, Position 2 = 163
Branch analysis from position: 76
2 jumps found. (Code = 44) Position 1 = 78, Position 2 = 185
Branch analysis from position: 78
2 jumps found. (Code = 44) Position 1 = 80, Position 2 = 259
Branch analysis from position: 80
2 jumps found. (Code = 44) Position 1 = 82, Position 2 = 259
Branch analysis from position: 82
2 jumps found. (Code = 44) Position 1 = 84, Position 2 = 330
Branch analysis from position: 84
2 jumps found. (Code = 44) Position 1 = 86, Position 2 = 445
Branch analysis from position: 86
2 jumps found. (Code = 44) Position 1 = 88, Position 2 = 560
Branch analysis from position: 88
1 jumps found. (Code = 42) Position 1 = 631
Branch analysis from position: 631
Branch analysis from position: 560
Branch analysis from position: 445
Branch analysis from position: 330
Branch analysis from position: 259
Branch analysis from position: 259
Branch analysis from position: 185
Branch analysis from position: 163
Branch analysis from position: 158
Branch analysis from position: 131
Branch analysis from position: 120
Branch analysis from position: 109
Branch analysis from position: 89
Branch analysis from position: 45
Branch analysis from position: 9
2 jumps found. (Code = 43) Position 1 = 41, Position 2 = 45
Branch analysis from position: 41
Branch analysis from position: 45
filename:       /in/b3Jad
function name:  (null)
number of ops:  858
compiled vars:  !0 = $phpbb_root_path, !1 = $phpEx, !2 = $id, !3 = $mode, !4 = $user, !5 = $auth, !6 = $template, !7 = $module, !8 = $default, !9 = $message, !10 = $title, !11 = $config, !12 = $set_time, !13 = $cookie_data, !14 = $cookie_name, !15 = $user_id, !16 = $sql, !17 = $result, !18 = $db, !19 = $user_row, !20 = $auth_admin, !21 = $username, !22 = $redirect_url, !23 = $update_time, !24 = $which, !25 = $row
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   14     0  E >   INIT_FCALL                                               'define'
          1        SEND_VAL                                                 'IN_PHPBB'
          2        SEND_VAL                                                 <true>
          3        DO_ICALL                                                 
   15     4        DEFINED                                                  'PHPBB_ROOT_PATH'
          5      > JMPZ                                                     ~27, ->9
          6    >   FETCH_CONSTANT                                   ~28     'PHPBB_ROOT_PATH'
          7        QM_ASSIGN                                        ~29     ~28
          8      > JMP                                                      ->10
          9    >   QM_ASSIGN                                        ~29     '.%2F'
         10    >   ASSIGN                                                   !0, ~29
   16    11        INIT_FCALL                                               'substr'
         12        INIT_FCALL                                               'strrchr'
         13        SEND_VAL                                                 '%2Fin%2Fb3Jad'
         14        SEND_VAL                                                 '.'
         15        DO_ICALL                                         $31     
         16        SEND_VAR                                                 $31
         17        SEND_VAL                                                 1
         18        DO_ICALL                                         $32     
         19        ASSIGN                                                   !1, $32
   17    20        CONCAT                                           ~34     !0, 'common.'
         21        CONCAT                                           ~35     ~34, !1
         22        INCLUDE_OR_EVAL                                          ~35, REQUIRE
   18    23        CONCAT                                           ~37     !0, 'includes%2Ffunctions_user.'
         24        CONCAT                                           ~38     ~37, !1
         25        INCLUDE_OR_EVAL                                          ~38, REQUIRE
   19    26        CONCAT                                           ~40     !0, 'includes%2Ffunctions_module.'
         27        CONCAT                                           ~41     ~40, !1
         28        INCLUDE_OR_EVAL                                          ~41, REQUIRE
   22    29        INIT_FCALL_BY_NAME                                       'request_var'
         30        SEND_VAL_EX                                              'i'
         31        SEND_VAL_EX                                              ''
         32        DO_FCALL                                      0  $43     
         33        ASSIGN                                                   !2, $43
   23    34        INIT_FCALL_BY_NAME                                       'request_var'
         35        SEND_VAL_EX                                              'mode'
         36        SEND_VAL_EX                                              ''
         37        DO_FCALL                                      0  $45     
         38        ASSIGN                                                   !3, $45
   25    39        IN_ARRAY                                                 !3, <array>
         40      > JMPZ                                                     ~47, ->45
   27    41    >   INIT_FCALL                                               'define'
         42        SEND_VAL                                                 'IN_LOGIN'
         43        SEND_VAL                                                 <true>
         44        DO_ICALL                                                 
   31    45    >   INIT_METHOD_CALL                                         !4, 'session_begin'
         46        DO_FCALL                                      0          
   32    47        INIT_METHOD_CALL                                         !5, 'acl'
         48        CHECK_FUNC_ARG                                           
         49        FETCH_OBJ_FUNC_ARG                               $50     !4, 'data'
         50        SEND_FUNC_ARG                                            $50
         51        DO_FCALL                                      0          
   33    52        INIT_METHOD_CALL                                         !4, 'setup'
         53        SEND_VAL_EX                                              'ucp'
         54        DO_FCALL                                      0          
   36    55        INIT_METHOD_CALL                                         !6, 'assign_var'
         56        SEND_VAL_EX                                              'S_IN_UCP'
         57        SEND_VAL_EX                                              <true>
         58        DO_FCALL                                      0          
   38    59        NEW                                              $54     'p_master'
         60        DO_FCALL                                      0          
         61        ASSIGN                                                   !7, $54
   39    62        ASSIGN                                                   !8, <false>
   42    63      > SWITCH_STRING                                            !3, [ 'activate':->89, 'resend_act':->109, 'sendpassword':->120, 'register':->131, 'confirm':->158, 'login':->163, 'logout':->185, 'terms':->259, 'privacy':->259, 'delete_cookies':->330, 'switch_perm':->445, 'restore_perm':->560, ], ->631
   44    64    >   IS_EQUAL                                                 !3, 'activate'
         65      > JMPNZ                                                    ~58, ->89
   51    66    >   IS_EQUAL                                                 !3, 'resend_act'
         67      > JMPNZ                                                    ~58, ->109
   56    68    >   IS_EQUAL                                                 !3, 'sendpassword'
         69      > JMPNZ                                                    ~58, ->120
   61    70    >   IS_EQUAL                                                 !3, 'register'
         71      > JMPNZ                                                    ~58, ->131
   71    72    >   IS_EQUAL                                                 !3, 'confirm'
         73      > JMPNZ                                                    ~58, ->158
   75    74    >   IS_EQUAL                                                 !3, 'login'
         75      > JMPNZ                                                    ~58, ->163
   84    76    >   IS_EQUAL                                                 !3, 'logout'
         77      > JMPNZ                                                    ~58, ->185
  102    78    >   IS_EQUAL                                                 !3, 'terms'
         79      > JMPNZ                                                    ~58, ->259
  103    80    >   IS_EQUAL                                                 !3, 'privacy'
         81      > JMPNZ                                                    ~58, ->259
  137    82    >   IS_EQUAL                                                 !3, 'delete_cookies'
         83      > JMPNZ                                                    ~58, ->330
  184    84    >   IS_EQUAL                                                 !3, 'switch_perm'
         85      > JMPNZ                                                    ~58, ->445
  215    86    >   IS_EQUAL                                                 !3, 'restore_perm'
         87      > JMPNZ                                                    ~58, ->560
         88    > > JMP                                                      ->631
   45    89    >   INIT_METHOD_CALL                                         !7, 'load'
         90        SEND_VAL_EX                                              'ucp'
         91        SEND_VAL_EX                                              'activate'
         92        DO_FCALL                                      0          
   46    93        INIT_METHOD_CALL                                         !7, 'display'
         94        CHECK_FUNC_ARG                                           
         95        FETCH_OBJ_FUNC_ARG                               $60     !4, 'lang'
         96        FETCH_DIM_FUNC_ARG                               $61     $60, 'UCP_ACTIVATE'
         97        SEND_FUNC_ARG                                            $61
         98        DO_FCALL                                      0          
   48    99        INIT_FCALL_BY_NAME                                       'redirect'
        100        INIT_FCALL_BY_NAME                                       'append_sid'
        101        ROPE_INIT                                     3  ~64     !0
        102        ROPE_ADD                                      1  ~64     ~64, 'index.'
        103        ROPE_END                                      2  ~63     ~64, !1
        104        SEND_VAL_EX                                              ~63
        105        DO_FCALL                                      0  $66     
        106        SEND_VAR_NO_REF_EX                                       $66
        107        DO_FCALL                                      0          
   49   108      > JMP                                                      ->633
   52   109    >   INIT_METHOD_CALL                                         !7, 'load'
        110        SEND_VAL_EX                                              'ucp'
        111        SEND_VAL_EX                                              'resend'
        112        DO_FCALL                                      0          
   53   113        INIT_METHOD_CALL                                         !7, 'display'
        114        CHECK_FUNC_ARG                                           
        115        FETCH_OBJ_FUNC_ARG                               $69     !4, 'lang'
        116        FETCH_DIM_FUNC_ARG                               $70     $69, 'UCP_RESEND'
        117        SEND_FUNC_ARG                                            $70
        118        DO_FCALL                                      0          
   54   119      > JMP                                                      ->633
   57   120    >   INIT_METHOD_CALL                                         !7, 'load'
        121        SEND_VAL_EX                                              'ucp'
        122        SEND_VAL_EX                                              'remind'
        123        DO_FCALL                                      0          
   58   124        INIT_METHOD_CALL                                         !7, 'display'
        125        CHECK_FUNC_ARG                                           
        126        FETCH_OBJ_FUNC_ARG                               $73     !4, 'lang'
        127        FETCH_DIM_FUNC_ARG                               $74     $73, 'UCP_REMIND'
        128        SEND_FUNC_ARG                                            $74
        129        DO_FCALL                                      0          
   59   130      > JMP                                                      ->633
   62   131    >   FETCH_OBJ_R                                      ~76     !4, 'data'
        132        FETCH_DIM_R                                      ~77     ~76, 'is_registered'
        133      > JMPNZ_EX                                         ~77     ~77, ->137
        134    >   FETCH_IS                                         ~78     '_REQUEST'
        135        ISSET_ISEMPTY_DIM_OBJ                         0  ~79     ~78, 'not_agreed'
        136        BOOL                                             ~77     ~79
        137    > > JMPZ                                                     ~77, ->147
   64   138    >   INIT_FCALL_BY_NAME                                       'redirect'
        139        INIT_FCALL_BY_NAME                                       'append_sid'
        140        ROPE_INIT                                     3  ~81     !0
        141        ROPE_ADD                                      1  ~81     ~81, 'index.'
        142        ROPE_END                                      2  ~80     ~81, !1
        143        SEND_VAL_EX                                              ~80
        144        DO_FCALL                                      0  $83     
        145        SEND_VAR_NO_REF_EX                                       $83
        146        DO_FCALL                                      0          
   67   147    >   INIT_METHOD_CALL                                         !7, 'load'
        148        SEND_VAL_EX                                              'ucp'
        149        SEND_VAL_EX                                              'register'
        150        DO_FCALL                                      0          
   68   151        INIT_METHOD_CALL                                         !7, 'display'
        152        CHECK_FUNC_ARG                                           
        153        FETCH_OBJ_FUNC_ARG                               $86     !4, 'lang'
        154        FETCH_DIM_FUNC_ARG                               $87     $86, 'REGISTER'
        155        SEND_FUNC_ARG                                            $87
        156        DO_FCALL                                      0          
   69   157      > JMP                                                      ->633
   72   158    >   INIT_METHOD_CALL                                         !7, 'load'
        159        SEND_VAL_EX                                              'ucp'
        160        SEND_VAL_EX                                              'confirm'
        161        DO_FCALL                                      0          
   73   162      > JMP                                                      ->633
   76   163    >   FETCH_OBJ_R                                      ~90     !4, 'data'
        164        FETCH_DIM_R                                      ~91     ~90, 'is_registered'
        165      > JMPZ                                                     ~91, ->175
   78   166    >   INIT_FCALL_BY_NAME                                       'redirect'
        167        INIT_FCALL_BY_NAME                                       'append_sid'
        168        ROPE_INIT                                     3  ~93     !0
        169        ROPE_ADD                                      1  ~93     ~93, 'index.'
        170        ROPE_END                                      2  ~92     ~93, !1
        171        SEND_VAL_EX                                              ~92
        172        DO_FCALL                                      0  $95     
        173        SEND_VAR_NO_REF_EX                                       $95
        174        DO_FCALL                                      0          
   81   175    >   INIT_FCALL_BY_NAME                                       'login_box'
        176        INIT_FCALL_BY_NAME                                       'request_var'
        177        SEND_VAL_EX                                              'redirect'
        178        NOP                                                      
        179        FAST_CONCAT                                      ~97     'index.', !1
        180        SEND_VAL_EX                                              ~97
        181        DO_FCALL                                      0  $98     
        182        SEND_VAR_NO_REF_EX                                       $98
        183        DO_FCALL                                      0          
   82   184      > JMP                                                      ->633
   85   185    >   FETCH_OBJ_R                                      ~100    !4, 'data'
        186        FETCH_DIM_R                                      ~101    ~100, 'user_id'
        187        FETCH_CONSTANT                                   ~102    'ANONYMOUS'
        188        IS_NOT_EQUAL                                     ~103    ~101, ~102
        189      > JMPZ_EX                                          ~103    ~103, ->193
        190    >   FETCH_IS                                         ~104    '_GET'
        191        ISSET_ISEMPTY_DIM_OBJ                         0  ~105    ~104, 'sid'
        192        BOOL                                             ~103    ~105
        193    > > JMPZ_EX                                          ~103    ~103, ->199
        194    >   FETCH_R                      global              ~106    '_GET'
        195        FETCH_DIM_R                                      ~107    ~106, 'sid'
        196        TYPE_CHECK                                  128  ~108    ~107
        197        BOOL_NOT                                         ~109    ~108
        198        BOOL                                             ~103    ~109
        199    > > JMPZ_EX                                          ~103    ~103, ->205
        200    >   FETCH_R                      global              ~110    '_GET'
        201        FETCH_DIM_R                                      ~111    ~110, 'sid'
        202        FETCH_OBJ_R                                      ~112    !4, 'session_id'
        203        IS_IDENTICAL                                     ~113    ~111, ~112
        204        BOOL                                             ~103    ~113
        205    > > JMPZ                                                     ~103, ->214
   87   206    >   INIT_METHOD_CALL                                         !4, 'session_kill'
        207        DO_FCALL                                      0          
   88   208        INIT_METHOD_CALL                                         !4, 'session_begin'
        209        DO_FCALL                                      0          
   89   210        FETCH_OBJ_R                                      ~116    !4, 'lang'
        211        FETCH_DIM_R                                      ~117    ~116, 'LOGOUT_REDIRECT'
        212        ASSIGN                                                   !9, ~117
        213      > JMP                                                      ->227
   93   214    >   FETCH_OBJ_R                                      ~119    !4, 'data'
        215        FETCH_DIM_R                                      ~120    ~119, 'user_id'
        216        FETCH_CONSTANT                                   ~121    'ANONYMOUS'
        217        IS_EQUAL                                                 ~120, ~121
        218      > JMPZ                                                     ~122, ->223
        219    >   FETCH_OBJ_R                                      ~123    !4, 'lang'
        220        FETCH_DIM_R                                      ~124    ~123, 'LOGOUT_REDIRECT'
        221        QM_ASSIGN                                        ~125    ~124
        222      > JMP                                                      ->226
        223    >   FETCH_OBJ_R                                      ~126    !4, 'lang'
        224        FETCH_DIM_R                                      ~127    ~126, 'LOGOUT_FAILED'
        225        QM_ASSIGN                                        ~125    ~127
        226    >   ASSIGN                                                   !9, ~125
   95   227    >   INIT_FCALL_BY_NAME                                       'meta_refresh'
        228        SEND_VAL_EX                                              3
        229        INIT_FCALL_BY_NAME                                       'append_sid'
        230        ROPE_INIT                                     3  ~130    !0
        231        ROPE_ADD                                      1  ~130    ~130, 'index.'
        232        ROPE_END                                      2  ~129    ~130, !1
        233        SEND_VAL_EX                                              ~129
        234        DO_FCALL                                      0  $132    
        235        SEND_VAR_NO_REF_EX                                       $132
        236        DO_FCALL                                      0          
   97   237        CONCAT                                           ~134    !9, '%3Cbr+%2F%3E%3Cbr+%2F%3E'
        238        INIT_FCALL                                               'sprintf'
        239        FETCH_OBJ_R                                      ~135    !4, 'lang'
        240        FETCH_DIM_R                                      ~136    ~135, 'RETURN_INDEX'
        241        SEND_VAL                                                 ~136
        242        INIT_FCALL_BY_NAME                                       'append_sid'
        243        ROPE_INIT                                     3  ~138    !0
        244        ROPE_ADD                                      1  ~138    ~138, 'index.'
        245        ROPE_END                                      2  ~137    ~138, !1
        246        SEND_VAL_EX                                              ~137
        247        DO_FCALL                                      0  $140    
        248        CONCAT                                           ~141    '%3Ca+href%3D%22', $140
        249        CONCAT                                           ~142    ~141, '%22%3E'
        250        SEND_VAL                                                 ~142
        251        SEND_VAL                              

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
157.58 ms | 1428 KiB | 21 Q