3v4l.org

run code in 300+ PHP versions simultaneously
<?php //error_reporting(0); include('conf.php'); $site=$_SERVER['HTTP_HOST']; @mysql_query('set character_set_client="cp1251"'); @mysql_query('set character_set_results="cp1251"'); @mysql_query('set collation_connection="cp1251_general_ci"'); ini_set('session.use_cookies', 'On'); ini_set('session.use_trans_sid', 'Off'); session_set_cookie_params(0, '/'); session_start(); $time=time()+$time_move*3600; $start_time=strtotime($start_data); $work_time=floor(($time-$start_time)/(24*3600)); if($start_time-$time<=0){ if($d_isum!=0){ $d_max=$d_max+$d_isum*floor(($time-$start_time)/($d_itime*3600)); if($d_max>$d_istop){ $d_max=$d_istop; } } } // ======================================== IP ==================================================================================== if(getenv('HTTP_CLIENT_IP') && strcasecmp(getenv('HTTP_CLIENT_IP'),'unknown')) $ip=getenv('HTTP_CLIENT_IP'); elseif(getenv('HTTP_X_FORWARDED_FOR') && strcasecmp(getenv('HTTP_X_FORWARDED_FOR'), 'unknown')) $ip=getenv('HTTP_X_FORWARDED_FOR'); elseif(getenv('REMOTE_ADDR') && strcasecmp(getenv("REMOTE_ADDR"), 'unknown')) $ip=getenv('REMOTE_ADDR'); elseif(!empty($_SERVER['REMOTE_ADDR']) && strcasecmp($_SERVER['REMOTE_ADDR'], 'unknown')) $ip=$_SERVER['REMOTE_ADDR']; else{$ip='unknown';} // ======================================== ÏÅÐÅÕÎÄ ÐÅÔÅÐÀËÀ ==================================================================================== if(!empty($_GET['ref'])){ session_unset(); $_GET['ref']=preg_replace("#[^a-z\_\-0-9]+#i",'',$_GET['ref']); if($_GET['ref']!=''){ $refq=mysql_query("SELECT login FROM users WHERE login='".$_GET['ref']."'"); if(mysql_num_rows($refq)>0){ $refm=mysql_fetch_row($refq); $_SESSION['ref_login']=$refm[0]; } } } // ======================================== ÀÂÒÎÐÈÇÀÖÈß ==================================================================================== define('SID',session_id()); // ÔÓÍÊÖÈß ÂÕÎÄÀ function login($uname,$qiwi){ $q=mysql_query("SELECT uid,login,qiwi,ref FROM users WHERE login='$uname' AND qiwi='$qiwi';"); $user=mysql_fetch_row($q); if(!empty($user)) { session_unset(); $_SESSION['uid']=$user[0]; $_SESSION['login']=$user[1]; $_SESSION['login2']=$user[1]; $_SESSION['qiwi']=$user[2]; $_SESSION['ref']=$user[3]; $_SESSION['can']=1; return true; } else{ return false; } } // ÅÑËÈ ÀÂÒÎÐÈÇÎÂÀÍ, ÁÅÐ¨Ì ÀÍÊÅÒÓ ÈÇ ÑÅÑÑÈÈ if(!empty($_SESSION['uid']) && !empty($_SESSION['login']) && !empty($_SESSION['qiwi']) && isset($_SESSION['ref'])) { define('USER_LOGGED',true); $u_id=$_SESSION['uid']; $u_login=$_SESSION['login']; $u_login=$_SESSION['login2']; $u_qiwi=$_SESSION['qiwi']; $u_ref=$_SESSION['ref']; } else { define('USER_LOGGED',false); } // ÏÐÈ¨Ì ÄÀÍÍÛÕ ÈÇ ÔÎÐÌÛ if (!empty($_POST['login']) && !empty($_POST['qiwi'])) { $_POST['login']=preg_replace("#[^a-z\_\-0-9]+#i",'',$_POST['login']); $_POST['qiwi']=preg_replace('#[^a-zA-Z\-\_0-9]+#','',$_POST['qiwi']); $_POST['qiwi']=md5($_POST['qiwi']); if(login($_POST['login'],$_POST['qiwi'])){ header('Refresh: 0'); exit; } else{ $wrong_lq=1; } } // ======================================== ÎÍËÀÉÍ ÞÇÅÐÛ ============================================================================== function count_online($ip,$time){ if($ip!='unknown'){ $ip=preg_replace("#[^0-9]+#i",'',$ip); $last_time=$time+20*60; $result=mysql_query("SELECT last_time FROM online WHERE ip='$ip'"); if(mysql_num_rows($result)>0){ mysql_query("UPDATE online SET last_time=$last_time WHERE ip='$ip' LIMIT 1"); } else{ mysql_query("INSERT INTO online (ip,last_time) VALUES ('$ip',$last_time)"); } mysql_query('DELETE FROM online WHERE last_time<'.$time); } return mysql_num_rows(mysql_query('SELECT * FROM online')); } $dataq=mysql_query("SELECT * FROM data"); $d=mysql_fetch_row($dataq); $d_users=$d[0]; $d_vklad=$d[1]; $d_popolnenie=$d[2]; $d_vyvod=$d[3]; $d_premod_r=$d[4]; $d_count_r=$d[5]; $d_plus=$d[6]; $d_with=$d[7]; $d_plus_n=$d[8]; $d_with_n=$d[9]; $d_new_u=$d[10]; $free=$d_plus-$d_with-($d_plus*($tocom/100)); if($start_time-$time>0){ $d_vklad=1; $d_popolnenie=1; $d_vyvod=1; } $uu=substr($d_users,-2); $ux1=array(2,3,4,22,23,24,32,33,34,42,43,44,52,53,54,62,63,64,72,73,74,82,83,84,92,93,94); $ux2=array(1,21,31,41,51,61,71,81,91); $ut='Ó÷àñòíèêîâ'; if(in_array($uu,$ux1)){ $ut='Ó÷àñòíèêà'; } elseif(in_array($uu,$ux2)){ $ut='Ó÷àñòíèê'; } ?> <!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml" > <head> <meta http-equiv="content-type" content="text/html; charset=windows-1251" /> <title>Âêëàäû íà 12 è 24 ÷àñà ïîä ïðîöåíòû</title> <link rel="icon" href="images/icon.png" type="image/x-icon" /> <link rel="shortcut icon" href="images/icon.png" type="image/x-icon" /> <link rel="stylesheet" href="css/style.css" type="text/css" /> <link rel="stylesheet" href="css/pages.css" type="text/css" /> <link rel="stylesheet" href="css/cabinet.css" type="text/css" /> <script type="text/javascript" src="js.js"></script> <script type="text/javascript" src="http://vk.com/js/api/share.js?90" charset="windows-1251"></script> </head> <body> <br> <table class="index_top" align="center" cellpadding="0px" cellspacing="0px"> <tr> <td height="105px"></td> <td align="right"></td> </tr> <tr> <td class="index_menu" colspan="2"> <a href="/">Ãëàâíàÿ</a> <a href="/?page=marketing">Ìàðêåòèíã</a> <a href="/?page=faq">Âîïðîñ-Îòâåò</a> <a href="/?page=advert" style="background:none;margin:0;padding:0;margin-top:-5px;">Áàííåðû</a> </td></tr> <tr><td class="index_vklady" colspan="2"></td></tr> <tr><td class="index_center" colspan="2"></td></tr> <tr><td class="index_referalu" colspan="2"> </td></tr> <tr> <td class="index_stat_left"><font color="#ffffff"><?php echo $d_users; ?></font> <font color="#ffffff"><?php echo $ut; ?></font></td> <td class="index_stat_right"> <span class="index_stat_plus"><font color="#ffffff">Ïîïîëíåíî: <?php echo number_format($d_plus,2,'.',','); ?> Ðóá.</font></span> <span class="index_stat_with"><font color="#ffffff">Âûâåëè: <?php echo number_format($d_with,2,'.',','); ?> Ðóá.</font></span> <span class="index_stat_free"><font color="#ffffff">Áàëàíñ: <?php echo number_format($free,2,'.',','); ?> Ðóá.</font></span> </td> </tr> </table> <table class="osnova_table" align="center" cellpadding="0px" cellspacing="0px" width="980px"> <tr> <td class="osnova_left"> <?php if(!USER_LOGGED){ ?> <?php if(!empty($wrong_lq)){ echo '<div class="wrong_lq">Íåâåðíûé ëîãèí-êîøåë¸ê</div>'; } ?> <div class="osnova_title"><font color="#ffffff">Âõîä â àêêàóíò</font></div> <table class="osnova_vhod" cellpadding="0px" cellspacing="0px"> <tr> <td colspan="2"> <form id="enter" action="/" method="POST" style="margin:0;padding:0"> <input class="osnova_vhod_input_login" type="text" name="login" placeholder="Ëîãèí" maxlength="20"> <input class="osnova_vhod_input_qiwi" type="text" name="qiwi" placeholder="Ïàðîëü" maxlength="30"> </form> </td> </tr> <tr> <td><a class="osnova_vhod_registration" href="/?page=registration">Ðåãèñòðàöèÿ</a></td> <td align="right"><a class="osnova_vhod_enter" href="javascript:with(document.getElementById('enter')){ submit(); }">Âîéòè</a></td> </tr> <tr><td colspan="2"><br></td></tr> </table> <?php } else { ?> <div class="osnova_title"><font color="#ffffff">Ëè÷íûé êàáèíåò</font></div> <div class="cabinet"> <a href="/?page=vklady">Ìîè âêëàäû</a> <a href="/?page=popolnit">Ïîïîëíèòü áàëàíñ</a> <a href="/?page=vyvesti">Âûâåñòè äåíüãè</a> <a href="/?page=refs">Ìîè ðåôåðàëû</a> <a href="/logout.php">Âûõîä</a> </div> <?php } ?> <div class="osnova_title"><font color="#ffffff">Ìû â ñîö.ñåòÿõ</font></div> <script type="text/javascript" src="//vk.com/js/api/openapi.js?105"></script> <!-- VK Widget --> <center><div id="vk_groups"></div> <script type="text/javascript"> VK.Widgets.Group("vk_groups", {mode: 0, width: "230", height: "400", color1: 'FFFFFF', color2: 'FF0000', color3: 'FF0000'}, 20003922); </script></center> <br> <div class="osnova_online">Íà ñàéòå: <font color="#778899"><?php echo count_online($ip,$time); ?></font></div> </td> <td class="osnova_right"> <?php $nay=0; if(!empty($_GET['page'])){ $req=$_GET['page']; $req=str_replace('/?page=','',$req); if(in_array($req,$inc)){ $nay=1; include ('pages/'.$req.'.php'); } if(USER_LOGGED && in_array($req,$inc_cab)){ $nay=1; include ('cabinet/'.$req.'.php'); } if(!USER_LOGGED && $req=='registration'){ $nay=1; include ('pages/registration.php'); } } if($nay!=1){ include ('pages/main.php'); } ?> </td> </tr> </table> <table align="center" cellpadding="0px" cellspacing="0px"> <tr><td class="footer"> <div class="podel"> <script type="text/javascript"><!-- document.write(VK.Share.button(false,{type: "round", text: "Ïîäåëèòüñÿ"})); --></script></div> </td></tr> </table>
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 51, Position 2 = 65
Branch analysis from position: 51
2 jumps found. (Code = 43) Position 1 = 53, Position 2 = 65
Branch analysis from position: 53
2 jumps found. (Code = 43) Position 1 = 64, Position 2 = 65
Branch analysis from position: 64
2 jumps found. (Code = 46) Position 1 = 69, Position 2 = 77
Branch analysis from position: 69
2 jumps found. (Code = 43) Position 1 = 78, Position 2 = 83
Branch analysis from position: 78
1 jumps found. (Code = 42) Position 1 = 136
Branch analysis from position: 136
2 jumps found. (Code = 43) Position 1 = 140, Position 2 = 177
Branch analysis from position: 140
2 jumps found. (Code = 43) Position 1 = 156, Position 2 = 177
Branch analysis from position: 156
2 jumps found. (Code = 43) Position 1 = 169, Position 2 = 177
Branch analysis from position: 169
2 jumps found. (Code = 46) Position 1 = 187, Position 2 = 191
Branch analysis from position: 187
2 jumps found. (Code = 46) Position 1 = 192, Position 2 = 196
Branch analysis from position: 192
2 jumps found. (Code = 46) Position 1 = 197, Position 2 = 200
Branch analysis from position: 197
2 jumps found. (Code = 43) Position 1 = 201, Position 2 = 221
Branch analysis from position: 201
1 jumps found. (Code = 42) Position 1 = 225
Branch analysis from position: 225
2 jumps found. (Code = 46) Position 1 = 229, Position 2 = 233
Branch analysis from position: 229
2 jumps found. (Code = 43) Position 1 = 234, Position 2 = 277
Branch analysis from position: 234
2 jumps found. (Code = 43) Position 1 = 271, Position 2 = 276
Branch analysis from position: 271
1 jumps found. (Code = 79) Position 1 = -2
Branch analysis from position: 276
2 jumps found. (Code = 43) Position 1 = 315, Position 2 = 318
Branch analysis from position: 315
2 jumps found. (Code = 43) Position 1 = 331, Position 2 = 333
Branch analysis from position: 331
1 jumps found. (Code = 42) Position 1 = 339
Branch analysis from position: 339
2 jumps found. (Code = 43) Position 1 = 371, Position 2 = 378
Branch analysis from position: 371
2 jumps found. (Code = 43) Position 1 = 375, Position 2 = 376
Branch analysis from position: 375
1 jumps found. (Code = 42) Position 1 = 379
Branch analysis from position: 379
2 jumps found. (Code = 43) Position 1 = 391, Position 2 = 429
Branch analysis from position: 391
2 jumps found. (Code = 43) Position 1 = 405, Position 2 = 409
Branch analysis from position: 405
2 jumps found. (Code = 46) Position 1 = 411, Position 2 = 416
Branch analysis from position: 411
2 jumps found. (Code = 43) Position 1 = 417, Position 2 = 421
Branch analysis from position: 417
2 jumps found. (Code = 46) Position 1 = 424, Position 2 = 426
Branch analysis from position: 424
2 jumps found. (Code = 43) Position 1 = 427, Position 2 = 429
Branch analysis from position: 427
2 jumps found. (Code = 43) Position 1 = 431, Position 2 = 432
Branch analysis from position: 431
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 432
Branch analysis from position: 429
Branch analysis from position: 426
Branch analysis from position: 421
Branch analysis from position: 416
Branch analysis from position: 409
Branch analysis from position: 429
Branch analysis from position: 376
Branch analysis from position: 378
2 jumps found. (Code = 43) Position 1 = 391, Position 2 = 429
Branch analysis from position: 391
Branch analysis from position: 429
Branch analysis from position: 333
2 jumps found. (Code = 43) Position 1 = 338, Position 2 = 339
Branch analysis from position: 338
2 jumps found. (Code = 43) Position 1 = 371, Position 2 = 378
Branch analysis from position: 371
Branch analysis from position: 378
Branch analysis from position: 339
Branch analysis from position: 318
Branch analysis from position: 277
Branch analysis from position: 233
Branch analysis from position: 221
2 jumps found. (Code = 46) Position 1 = 229, Position 2 = 233
Branch analysis from position: 229
Branch analysis from position: 233
Branch analysis from position: 200
Branch analysis from position: 196
Branch analysis from position: 191
Branch analysis from position: 177
Branch analysis from position: 177
Branch analysis from position: 177
Branch analysis from position: 83
2 jumps found. (Code = 46) Position 1 = 87, Position 2 = 95
Branch analysis from position: 87
2 jumps found. (Code = 43) Position 1 = 96, Position 2 = 101
Branch analysis from position: 96
1 jumps found. (Code = 42) Position 1 = 136
Branch analysis from position: 136
Branch analysis from position: 101
2 jumps found. (Code = 46) Position 1 = 105, Position 2 = 113
Branch analysis from position: 105
2 jumps found. (Code = 43) Position 1 = 114, Position 2 = 119
Branch analysis from position: 114
1 jumps found. (Code = 42) Position 1 = 136
Branch analysis from position: 136
Branch analysis from position: 119
2 jumps found. (Code = 46) Position 1 = 123, Position 2 = 130
Branch analysis from position: 123
2 jumps found. (Code = 43) Position 1 = 131, Position 2 = 135
Branch analysis from position: 131
1 jumps found. (Code = 42) Position 1 = 136
Branch analysis from position: 136
Branch analysis from position: 135
2 jumps found. (Code = 43) Position 1 = 140, Position 2 = 177
Branch analysis from position: 140
Branch analysis from position: 177
Branch analysis from position: 130
Branch analysis from position: 113
Branch analysis from position: 95
Branch analysis from position: 77
Branch analysis from position: 65
Branch analysis from position: 65
Branch analysis from position: 65
filename:       /in/mAJr5
function name:  (null)
number of ops:  434
compiled vars:  !0 = $site, !1 = $time, !2 = $time_move, !3 = $start_time, !4 = $start_data, !5 = $work_time, !6 = $d_isum, !7 = $d_max, !8 = $d_itime, !9 = $d_istop, !10 = $ip, !11 = $refq, !12 = $refm, !13 = $u_id, !14 = $u_login, !15 = $u_qiwi, !16 = $u_ref, !17 = $wrong_lq, !18 = $dataq, !19 = $d, !20 = $d_users, !21 = $d_vklad, !22 = $d_popolnenie, !23 = $d_vyvod, !24 = $d_premod_r, !25 = $d_count_r, !26 = $d_plus, !27 = $d_with, !28 = $d_plus_n, !29 = $d_with_n, !30 = $d_new_u, !31 = $free, !32 = $tocom, !33 = $uu, !34 = $ux1, !35 = $ux2, !36 = $ut, !37 = $nay, !38 = $req, !39 = $inc, !40 = $inc_cab
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    4     0  E >   INCLUDE_OR_EVAL                                          'conf.php', INCLUDE
    6     1        FETCH_R                      global              ~42     '_SERVER'
          2        FETCH_DIM_R                                      ~43     ~42, 'HTTP_HOST'
          3        ASSIGN                                                   !0, ~43
    8     4        BEGIN_SILENCE                                    ~45     
          5        INIT_FCALL_BY_NAME                                       'mysql_query'
          6        SEND_VAL_EX                                              'set+character_set_client%3D%22cp1251%22'
          7        DO_FCALL                                      0          
          8        END_SILENCE                                              ~45
    9     9        BEGIN_SILENCE                                    ~47     
         10        INIT_FCALL_BY_NAME                                       'mysql_query'
         11        SEND_VAL_EX                                              'set+character_set_results%3D%22cp1251%22'
         12        DO_FCALL                                      0          
         13        END_SILENCE                                              ~47
   10    14        BEGIN_SILENCE                                    ~49     
         15        INIT_FCALL_BY_NAME                                       'mysql_query'
         16        SEND_VAL_EX                                              'set+collation_connection%3D%22cp1251_general_ci%22'
         17        DO_FCALL                                      0          
         18        END_SILENCE                                              ~49
   13    19        INIT_FCALL                                               'ini_set'
         20        SEND_VAL                                                 'session.use_cookies'
         21        SEND_VAL                                                 'On'
         22        DO_ICALL                                                 
   14    23        INIT_FCALL                                               'ini_set'
         24        SEND_VAL                                                 'session.use_trans_sid'
         25        SEND_VAL                                                 'Off'
         26        DO_ICALL                                                 
   15    27        INIT_FCALL                                               'session_set_cookie_params'
         28        SEND_VAL                                                 0
         29        SEND_VAL                                                 '%2F'
         30        DO_ICALL                                                 
   17    31        INIT_FCALL                                               'session_start'
         32        DO_ICALL                                                 
   19    33        INIT_FCALL                                               'time'
         34        DO_ICALL                                         $55     
         35        MUL                                              ~56     !2, 3600
         36        ADD                                              ~57     $55, ~56
         37        ASSIGN                                                   !1, ~57
   20    38        INIT_FCALL                                               'strtotime'
         39        SEND_VAR                                                 !4
         40        DO_ICALL                                         $59     
         41        ASSIGN                                                   !3, $59
   21    42        INIT_FCALL                                               'floor'
         43        SUB                                              ~61     !1, !3
         44        DIV                                              ~62     ~61, 86400
         45        SEND_VAL                                                 ~62
         46        DO_ICALL                                         $63     
         47        ASSIGN                                                   !5, $63
   24    48        SUB                                              ~65     !3, !1
         49        IS_SMALLER_OR_EQUAL                                      ~65, 0
         50      > JMPZ                                                     ~66, ->65
   25    51    >   IS_NOT_EQUAL                                             !6, 0
         52      > JMPZ                                                     ~67, ->65
   26    53    >   INIT_FCALL                                               'floor'
         54        SUB                                              ~68     !1, !3
         55        MUL                                              ~69     !8, 3600
         56        DIV                                              ~70     ~68, ~69
         57        SEND_VAL                                                 ~70
         58        DO_ICALL                                         $71     
         59        MUL                                              ~72     !6, $71
         60        ADD                                              ~73     !7, ~72
         61        ASSIGN                                                   !7, ~73
   27    62        IS_SMALLER                                               !9, !7
         63      > JMPZ                                                     ~75, ->65
         64    >   ASSIGN                                                   !7, !9
   34    65    >   INIT_FCALL                                               'getenv'
         66        SEND_VAL                                                 'HTTP_CLIENT_IP'
         67        DO_ICALL                                         $77     
         68      > JMPZ_EX                                          ~78     $77, ->77
         69    >   INIT_FCALL                                               'strcasecmp'
         70        INIT_FCALL                                               'getenv'
         71        SEND_VAL                                                 'HTTP_CLIENT_IP'
         72        DO_ICALL                                         $79     
         73        SEND_VAR                                                 $79
         74        SEND_VAL                                                 'unknown'
         75        DO_ICALL                                         $80     
         76        BOOL                                             ~78     $80
         77    > > JMPZ                                                     ~78, ->83
   35    78    >   INIT_FCALL                                               'getenv'
         79        SEND_VAL                                                 'HTTP_CLIENT_IP'
         80        DO_ICALL                                         $81     
         81        ASSIGN                                                   !10, $81
         82      > JMP                                                      ->136
   36    83    >   INIT_FCALL                                               'getenv'
         84        SEND_VAL                                                 'HTTP_X_FORWARDED_FOR'
         85        DO_ICALL                                         $83     
         86      > JMPZ_EX                                          ~84     $83, ->95
         87    >   INIT_FCALL                                               'strcasecmp'
         88        INIT_FCALL                                               'getenv'
         89        SEND_VAL                                                 'HTTP_X_FORWARDED_FOR'
         90        DO_ICALL                                         $85     
         91        SEND_VAR                                                 $85
         92        SEND_VAL                                                 'unknown'
         93        DO_ICALL                                         $86     
         94        BOOL                                             ~84     $86
         95    > > JMPZ                                                     ~84, ->101
   37    96    >   INIT_FCALL                                               'getenv'
         97        SEND_VAL                                                 'HTTP_X_FORWARDED_FOR'
         98        DO_ICALL                                         $87     
         99        ASSIGN                                                   !10, $87
        100      > JMP                                                      ->136
   38   101    >   INIT_FCALL                                               'getenv'
        102        SEND_VAL                                                 'REMOTE_ADDR'
        103        DO_ICALL                                         $89     
        104      > JMPZ_EX                                          ~90     $89, ->113
        105    >   INIT_FCALL                                               'strcasecmp'
        106        INIT_FCALL                                               'getenv'
        107        SEND_VAL                                                 'REMOTE_ADDR'
        108        DO_ICALL                                         $91     
        109        SEND_VAR                                                 $91
        110        SEND_VAL                                                 'unknown'
        111        DO_ICALL                                         $92     
        112        BOOL                                             ~90     $92
        113    > > JMPZ                                                     ~90, ->119
   39   114    >   INIT_FCALL                                               'getenv'
        115        SEND_VAL                                                 'REMOTE_ADDR'
        116        DO_ICALL                                         $93     
        117        ASSIGN                                                   !10, $93
        118      > JMP                                                      ->136
   40   119    >   FETCH_IS                                         ~95     '_SERVER'
        120        ISSET_ISEMPTY_DIM_OBJ                         1  ~96     ~95, 'REMOTE_ADDR'
        121        BOOL_NOT                                         ~97     ~96
        122      > JMPZ_EX                                          ~97     ~97, ->130
        123    >   INIT_FCALL                                               'strcasecmp'
        124        FETCH_R                      global              ~98     '_SERVER'
        125        FETCH_DIM_R                                      ~99     ~98, 'REMOTE_ADDR'
        126        SEND_VAL                                                 ~99
        127        SEND_VAL                                                 'unknown'
        128        DO_ICALL                                         $100    
        129        BOOL                                             ~97     $100
        130    > > JMPZ                                                     ~97, ->135
   41   131    >   FETCH_R                      global              ~101    '_SERVER'
        132        FETCH_DIM_R                                      ~102    ~101, 'REMOTE_ADDR'
        133        ASSIGN                                                   !10, ~102
        134      > JMP                                                      ->136
   42   135    >   ASSIGN                                                   !10, 'unknown'
   47   136    >   FETCH_IS                                         ~105    '_GET'
        137        ISSET_ISEMPTY_DIM_OBJ                         1  ~106    ~105, 'ref'
        138        BOOL_NOT                                         ~107    ~106
        139      > JMPZ                                                     ~107, ->177
   48   140    >   INIT_FCALL                                               'session_unset'
        141        DO_ICALL                                                 
   49   142        INIT_FCALL                                               'preg_replace'
        143        SEND_VAL                                                 '%23%5B%5Ea-z%5C_%5C-0-9%5D%2B%23i'
        144        SEND_VAL                                                 ''
        145        FETCH_R                      global              ~111    '_GET'
        146        FETCH_DIM_R                                      ~112    ~111, 'ref'
        147        SEND_VAL                                                 ~112
        148        DO_ICALL                                         $113    
        149        FETCH_W                      global              $109    '_GET'
        150        ASSIGN_DIM                                               $109, 'ref'
        151        OP_DATA                                                  $113
   50   152        FETCH_R                      global              ~114    '_GET'
        153        FETCH_DIM_R                                      ~115    ~114, 'ref'
        154        IS_NOT_EQUAL                                             ~115, ''
        155      > JMPZ                                                     ~116, ->177
   51   156    >   INIT_FCALL_BY_NAME                                       'mysql_query'
        157        FETCH_R                      global              ~117    '_GET'
        158        FETCH_DIM_R                                      ~118    ~117, 'ref'
        159        CONCAT                                           ~119    'SELECT+login+FROM+users+WHERE+login%3D%27', ~118
        160        CONCAT                                           ~120    ~119, '%27'
        161        SEND_VAL_EX                                              ~120
        162        DO_FCALL                                      0  $121    
        163        ASSIGN                                                   !11, $121
   52   164        INIT_FCALL_BY_NAME                                       'mysql_num_rows'
        165        SEND_VAR_EX                                              !11
        166        DO_FCALL                                      0  $123    
        167        IS_SMALLER                                               0, $123
        168      > JMPZ                                                     ~124, ->177
   53   169    >   INIT_FCALL_BY_NAME                                       'mysql_fetch_row'
        170        SEND_VAR_EX                                              !11
        171        DO_FCALL                                      0  $125    
        172        ASSIGN                                                   !12, $125
   54   173        FETCH_DIM_R                                      ~129    !12, 0
        174        FETCH_W                      global              $127    '_SESSION'
        175        ASSIGN_DIM                                               $127, 'ref_login'
        176        OP_DATA                                                  ~129
   61   177    >   INIT_FCALL                                               'define'
        178        SEND_VAL                                                 'SID'
        179        INIT_FCALL                                               'session_id'
        180        DO_ICALL                                         $130    
        181        SEND_VAR                                                 $130
        182        DO_ICALL                                                 
   86   183        FETCH_IS                                         ~132    '_SESSION'
        184        ISSET_ISEMPTY_DIM_OBJ                         1  ~133    ~132, 'uid'
        185        BOOL_NOT                                         ~134    ~133
        186      > JMPZ_EX                                          ~134    ~134, ->191
        187    >   FETCH_IS                                         ~135    '_SESSION'
        188        ISSET_ISEMPTY_DIM_OBJ                         1  ~136    ~135, 'login'
        189        BOOL_NOT                                         ~137    ~136
        190        BOOL                                             ~134    ~137
        191    > > JMPZ_EX                                          ~134    ~134, ->196
        192    >   FETCH_IS                                         ~138    '_SESSION'
        193        ISSET_ISEMPTY_DIM_OBJ                         1  ~139    ~138, 'qiwi'
        194        BOOL_NOT                                         ~140    ~139
        195        BOOL                                             ~134    ~140
        196    > > JMPZ_EX                                          ~134    ~134, ->200
        197    >   FETCH_IS                                         ~141    '_SESSION'
        198        ISSET_ISEMPTY_DIM_OBJ                         0  ~142    ~141, 'ref'
        199        BOOL                                             ~134    ~142
        200    > > JMPZ                                                     ~134, ->221
   87   201    >   INIT_FCALL                                               'define'
        202        SEND_VAL                                                 'USER_LOGGED'
        203        SEND_VAL                                                 <true>
        204        DO_ICALL                                                 
   88   205        FETCH_R                      global              ~144    '_SESSION'
        206        FETCH_DIM_R                                      ~145    ~144, 'uid'
        207        ASSIGN                                                   !13, ~145
   89   208        FETCH_R                      global              ~147    '_SESSION'
        209        FETCH_DIM_R                                      ~148    ~147, 'login'
        210        ASSIGN                                                   !14, ~148
   90   211        FETCH_R                      global              ~150    '_SESSION'
        212        FETCH_DIM_R                                      ~151    ~150, 'login2'
        213        ASSIGN                                                   !14, ~151
   91   214        FETCH_R                      global              ~153    '_SESSION'
        215        FETCH_DIM_R                                      ~154    ~153, 'qiwi'
        216        ASSIGN                                                   !15, ~154
   92   217        FETCH_R                      global              ~156    '_SESSION'
        218        FETCH_DIM_R                                      ~157    ~156, 'ref'
        219        ASSIGN                                                   !16, ~157
        220      > JMP                                                      ->225
   94   221    >   INIT_FCALL                                               'define'
        222        SEND_VAL                                                 'USER_LOGGED'
        223        SEND_VAL                                                 <false>
        224        DO_ICALL                                                 
   99   225    >   FETCH_IS                                         ~160    '_POST'
        226        ISSET_ISEMPTY_DIM_OBJ                         1  ~161    ~160, 'login'
        227        BOOL_NOT                                         ~162    ~161
        228      > JMPZ_EX                                          ~162    ~162, ->233
        229    >   FETCH_IS                                         ~163    '_POST'
        230        ISSET_ISEMPTY_DIM_OBJ                         1  ~164    ~163, 'qiwi'
        231        BOOL_NOT                                         ~165    ~164
        232        BOOL                                             ~162    ~165
        233    > > JMPZ                                                     ~162, ->277
  100   234    >   INIT_FCALL                                               'preg_replace'
        235        SEND_VAL                                                 '%23%5B%5Ea-z%5C_%5C-0-9%5D%2B%23i'
        236        SEND_VAL                                                 ''
        237        FETCH_R                      global              ~168    '_POST'
        238        FETCH_DIM_R                                      ~169    ~168, 'login'
        239        SEND_VAL                                                 ~169
        240        DO_ICALL                                         $170    
        241        FETCH_W                      global              $166    '_POST'
        242        ASSIGN_DIM                                               $166, 'login'
        243        OP_DATA                                                  $170
  101   244        INIT_FCALL                                               'preg_replace'
        245        SEND_VAL                                                 '%23%5B%5Ea-zA-Z%5C-%5C_0-9%5D%2B%23'
        246        SEND_VAL                                                 ''
        247        FETCH_R                      global              ~173    '_POST'
        248        FETCH_DIM_R                                      ~174    ~173, 'qiwi'
        249        SEND_VAL                                                 ~174
        250        DO_ICALL                                         $175    
        251        FETCH_W                      global              $171    '_POST'
        252        ASSIGN_DIM                                               $171, 'qiwi'
        253        OP_DATA                                                  $175
  102   254        INIT_FCALL                                               'md5'
        255        FETCH_R                      global              ~178    '_POST'
        256        FETCH_DIM_R                                      ~179    ~178, 'qiwi'
        257        SEND_VAL                                                 ~179
        258        DO_ICALL                                         $180    
        259        FETCH_W                      global              $176    '_POST'
        260        ASSIGN_DIM                                               $176, 'qiwi'
        261        OP_DATA                                                  $180
  103   262        INIT_FCALL                                               'login'
        263        FETCH_R                      global              ~181    '_POST'
        264        FETCH_DIM_R                                      ~182    ~181, 'login'
        265        SEND_VAL                                                 ~182
        266        FETCH_R                      global              ~183    '_POST'
        267        FETCH_DIM_R                                      ~184    ~183, 'qiwi'
        268        SEND_VAL                                                 ~184
        269        DO_FCALL                                      0  $185    
        270      > JMPZ                                                     $185, ->276
        271    >   INIT_FCALL                                               'header'
        272        SEND_VAL                                                 'Refresh%3A+0'
        273        DO_ICALL                                                 
        274      > EXIT                                                     
        275*       JMP                                                      ->277
  104   276    >   ASSIGN                                                   !17, 1
  123   277    >   INIT_FCALL_BY_NAME                                       'mysql_query'
        278        SEND_VAL_EX                                              'SELECT+%2A+FROM+data'
        279        DO_FCALL                                      0  $188    
        280        ASSIGN                                                   !18, $188
  124   281        INIT_FCALL_BY_NAME                                       'mysql_fetch_row'
        282        SEND_VAR_EX                                              !18
        283        DO_FCALL                                      0  $190    
        284        ASSIGN                                                   !19, $190
  126   285        FETCH_DIM_R                                      ~192    !19, 0
        286        ASSIGN                                                   !20, ~192
  127   287        FETCH_DIM_R                                      ~194    !19, 1
        288        ASSIGN                                                   !21, ~194
  128   289        FETCH_DIM_R                                      ~196    !19, 2
        290        ASSIGN                                                   !22, ~196
  129   291        FETCH_DIM_R                                      ~198    !19, 3
        292        ASSIGN                                                   !23, ~198
  130   293        FETCH_DIM_R                                      ~200    !19, 4
        294        ASSIGN                                                   !24, ~200
  131   295        FETCH_DIM_R                                      ~202    !19, 5
        296        ASSIGN                                                   !25, ~202
  132   297        FETCH_DIM_R                                      ~204    !19, 6
        298        ASSIGN                                                   !26, ~204
  133   299        FETCH_DIM_R                                      ~206    !19, 7
        300        ASSIGN                                                   !27, ~206
  134   301        FETCH_DIM_R                                      ~208    !19, 8
        302        ASSIGN                                                   !28, ~208
  135   303        FETCH_DIM_R                                      ~210    !19, 9
        304        ASSIGN                                                   !29, ~210
  136   305        FETCH_DIM_R                                      ~212    !19, 10
        306        ASSIGN                                                   !30, ~212
  138   307        SUB                                              ~214    !26, !27
        308        DIV                                              ~215    !32, 100
        309

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
159.52 ms | 1431 KiB | 42 Q