3v4l.org

run code in 300+ PHP versions simultaneously
<html> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <link media="screen" rel="stylesheet" href="main.css" type="text/css"> <link media="screen" rel="stylesheet" href="clickmenu.css" type="text/css"> <script type="text/javascript" src="jquery.js"></script> <script type="text/javascript" src="jquery.clickmenu.js"></script> <script language="javascript"> <!-- jQuery.fn.fadeToggle = function(speed, easing, callback) { return this.animate({opacity: 'toggle'}, speed, easing, callback); } $(document).ready(function() { function maketog(id, start_up) { // toggles the slickbox on clicking the noted link if(start_up) { $('#'+id+'_table').hide(); } $('#'+id + ' a').click(function() { $('#'+id+'_table').fadeToggle(400); return false; }); } maketog('info', false); maketog('act', false); maketog('equip', true); maketog('equip2', true); maketog('jewelry', true); maketog('jewelry2', true); maketog('inven', true); maketog('inven2', true); maketog('trunk', true); maketog('trunk2', true); maketog('force', true); maketog('force2', true); //maketog('res', true); maketog('unit', true); maketog('unit2', true); maketog('animus', true); maketog('animus2', true); $('#list').clickMenu(); }); function clear_time() { document.info.time.value= ""; document.info.submit(); } --> </script> <title>RF Log Viewer</title> </head> <body> <?php //**************************************************// //** Set your variables here! Meow **// $basehref = 'http://66.85.166.252/History/jonlogview.php'; //This is the exact URL of this file $path = "D:/History/Item/"; //Where's waldo? or the item files $dir = "D:\\History\\Item"; //Same thing with backslashes $dir2 = $path; $SERVER=''; // server $USER=''; // user $PASS=''; // password $DB_NAME=''; //** Please don't fuck with the stuff after this **// //*************************************************// /* if(empty($_POST['charSerial']) && empty($his)) //this conditional statement gets rid of the 'folders' loading to cut down page load time { //downside is you lose the folders if you're searching or on a character... still pops up first load tho echo "<ul id='list'>"; echo "<li>Folders"; echo "<ul>"; $files = array(); //start at first directory level foreach (new DirectoryIterator($path) as $filename) { $current = (string) $filename; //now traverse second directory level if(strpos($current, '.') === false) { echo "<li>".$current."<ul>"; foreach(new DirectoryIterator($path.$current.'/') as $filename2) { $current2 = (string) $filename2; //now traverse third directory level if(strpos($current2, '.') === false) { echo "<li>".$current2."<ul>"; foreach(new DirectoryIterator($path.$current.'/'.$current2.'/') as $filename3) { $current3 = (string) $filename3; //here we look for $term, must start at position 0 for our char serials(so you don't get 23489_ for a search of 3489_ if(strpos($current3, '.') !== 0) { echo "<li><a href=".$basehref."?his=\\".$filename."\\".$filename2."\\".$filename3.">".$current3."</a></li>"; } } echo "</ul></li>"; } } echo "</ul></li>"; } } echo "</ul></li></ul>"; } */ include 'definitions.php'; include 'functions.php'; //set_time_limit(0); function print_r2($val){ echo '<pre>'; print_r($val); echo '</pre>'; } $LINK = mssql_connect($SERVER,$USER,$PASS); $DB=mssql_select_db($DB_NAME,$LINK) or die(mssql_get_last_message()); if(isset($his)) // We check to see if we have input on the character - If we do then read the character file { if (file_exists($dir.$his)) { if($id = fopen($dir.$his, "r+")) { while(!feof($id)) { $result[]= trim(fgets($id,1000000)); } fclose($id); } else { echo "no file"; } } $times = array(); $levels = array(); $monies = array(); $golds = array(); $points = array(); $experience = array(); for($i = 0; $i < sizeof($result); $i++) { if(strpos($result[$i], "TIME:") !== false) { $times[] = $i; } if(strpos($result[$i], "LV:") !== false) { $levels[] = $i; } if(strpos($result[$i], '$D:') !== false) { if($i < 22) $monies[] = $i; else if(strpos($result[$i - 1], 'XP:') !== false) $monies[] = $i; } if(strpos($result[$i], '$G:') !== false) { if($i < 22) $golds[] = $i; else if(strpos($result[$i - 2], 'XP:') !== false) $golds[] = $i; } if(strpos($result[$i], "PvP:") !== false) { $points[] = $i; } if(strpos($result[$i], "XP:") !== false) { $experience[] = $i; } } $loggedtime = substr($result[$times[1]],6) - substr($result[$times[0]],6); } //Char Name if( empty($result) ) //If no character was loaded { if(empty($_POST['charSerial'])) { echo"<h1>No Character Currently Set</h1>"; //display error message } else { echo"<h1>Search Results</h1>"; } } else //If we have a character file loaded { echo "<h1>".substr($result[0],6)."</h1>"; //display their name } //------------ //Char Info // // //------------ ?> <? //Definitions for searching $serial = $_POST['charSerial']; $month = $_POST['month']; $day1 = $_POST['day1']; $day2 = $_POST['day2']; //Load stuff if(empty($result)) // If no character loaded give notice message { if(empty($serial)) { echo "<div class='content'>"; // This section generates the notice table echo "<h2 id='info'><a href='#'>Meow Meow Meow</a></h2>"; echo "<table class='gen_table' id='info_table'>"; echo "<tbody>"; echo "<tr><td class = 'lable'>Notice</td>"; echo "<td colspan'1'>Please select a character log</td></tr>"; echo"</tbody></table></div>"; //End of the notice table } echo "<div class='content'>"; // This section generates the search table echo "<h2 id='info'><a href='#'>Search</a></h2>"; echo "<table class='gen_table' id='info_table'>"; echo "<tbody>"; echo "<tr><td class = 'lable'>Character Serial</td>"; echo "<td colspan'1'><form action = '".$basehref."' method='post'><input name='charSerial' type='text'/></td></tr>"; echo "<tr><td class = 'lable'>Search Options</td>"; echo "<td colspan'1'></td></tr>"; echo "<tr><td class = 'lable'>Month</td>"; echo "<td colspan'1'>"; echo "<select name='month'><option>all</option><option>01</option><option>02</option><option>03</option><option>04</option>"; echo "<option>05</option><option>06</option><option>07</option><option>08</option><option>09</option>"; echo "<option>10</option><option>11</option><option>12</option></select></td></tr>"; echo "<tr><td class = 'lable'>Day</td>"; echo "<td colspan'1'>"; echo "<select name='day1'><option>all</option><option>01</option><option>02</option><option>03</option><option>04</option>"; echo "<option>05</option><option>06</option><option>07</option><option>08</option><option>09</option>"; echo "<option>10</option><option>11</option><option>12</option><option>13</option><option>14</option>"; echo "<option>15</option><option>16</option><option>17</option><option>18</option><option>19</option>"; echo "<option>20</option><option>21</option><option>22</option><option>23</option><option>24</option>"; echo "<option>25</option><option>26</option><option>27</option><option>28</option><option>29</option>"; echo "<option>30</option><option>31</option></select>"; echo " to "; echo "<select name='day2'><option>all</option><option>01</option><option>02</option><option>03</option><option>04</option>"; echo "<option>05</option><option>06</option><option>07</option><option>08</option><option>09</option>"; echo "<option>10</option><option>11</option><option>12</option><option>13</option><option>14</option>"; echo "<option>15</option><option>16</option><option>17</option><option>18</option><option>19</option>"; echo "<option>20</option><option>21</option><option>22</option><option>23</option><option>24</option>"; echo "<option>25</option><option>26</option><option>27</option><option>28</option><option>29</option>"; echo "<option>30</option><option>31</option></select>"; echo "</td></tr>"; echo "<tr><td class = 'lable'>Search</td>"; echo "<td colspan'1'><input type='submit' /></form></td></tr>"; echo"</tbody></table></div>"; //End of the search table if(empty($serial)) { //do nothing (fucking isset returns a false positive and i fucking hate php so i dont know how to boolean .not. like in fortran) } else { echo "<div class='content'>"; // This section generates the notice table echo "<h2 id='info'><a href='#'>Results for serial: ".$serial."</a></h2>"; echo "<table class='gen_table' id='info_table'>"; echo "<tbody>"; echo "<tr><td class = 'lable'>Date</td><td class = 'lable'>Time</td><td colspan'1'>File</td></tr>"; searchChar($basehref, $dir2, $serial, $month, $day1, $day2); echo"</tbody></table></div>"; //End of the notice table } } else // If character loaded then print out char info { echo "<div class='content'>"; // This section generates the character table echo "<h2 id='info'><a href='#'>Character Information</a></h2>"; echo "<table class='gen_table' id='info_table'>"; echo "<tbody>"; echo "<tr><td class='lable'>Serial</td>"; echo "<td colspan='1'>".substr($result[2],4)."</td></tr>"; echo "<tr><td class='lable'>Account Name (serial)</td>"; echo "<td colspan='1'>".substr($result[3],4)."</td></tr>"; $race1 = substr($result[7],6); echo "<tr><td class='lable'>Race</td>"; echo "<td colspan='1'>".$race[$race1]."</td></tr>"; echo "<tr><td class='lable'>Sex</td>"; echo "<td colspan='1'>".$sex[substr($result[8],5)]."</td></tr>"; echo "<tr><td class='lable'>IP Address</td>"; echo "<td colspan='1'>".substr($result[18],4)."</td></tr>"; echo "<tr><td class='lable'>Minutes Logged In</td>"; echo "<td colspan='1'>".$loggedtime."</td></tr>"; echo "<tr><td class='lable'>Level (LogIn)</td>"; echo "<td colspan='1'>".substr($result[$levels[0]],4)."</td>"; echo "<td class='lable'>Level (LogOut)</td>"; echo "<td colspan='1'>".substr($result[$levels[1]],4)."</td></tr>"; echo "<tr><td class='lable'>Experience (LogIn)</td>"; $xp = substr($result[$experience[0]],4); $temp = strpos($xp,'('); echo "<td colspan='1'>".number_format(substr($xp,0,$temp))." ".substr($xp,$temp)."</td>"; echo "<td class='lable'>Experience (LogOut)</td>"; $xp = substr($result[$experience[1]],4); $temp = strpos($xp,'('); echo "<td colspan='1'>".number_format(substr($xp,0,$temp))." ".substr($xp,$temp)."</td></tr>"; echo "<tr><td class='lable'>PVP Points (LogIn)</td>"; echo "<td colspan='1'>".number_format(substr($result[$points[0]],5))."</td>"; echo "<td class='lable'>PVP Points (LogOff)</td>"; echo "<td colspan='1'>".number_format(substr($result[$points[1]],5))."</td></tr>"; $class1 = substr($result[9],9); echo "<tr><td class='lable'>Current Class</td>"; echo "<td colspan='1'>".$class[$class1]."</td>"; echo "<td class='lable'>Old Class</td>"; $oldclass0 = substr($result[10],11); $temp = strpos($oldclass0,','); $oldclass1 = substr($oldclass0,$temp+4); $temp2 = strpos($oldclass1,','); $oldclass2 = substr($oldclass1,$temp2+4); echo "<td colspan='1'>".substr($result[10],9,2)." ".$class[substr($oldclass0, 0, $temp)]." 1: ".$class[substr($oldclass1, 0, $temp2)]." 2: ".$class[substr($oldclass2, 0)]."</td></tr>"; echo "<tr><td class='lable'>Last Class Grade</td>"; echo "<td colspan='1'>".substr($result[11],16)."</td>"; echo "<td class='lable'>Init Class Count</td>"; echo "<td colspan='1'>".substr($result[12],14)."</td></tr>"; echo "<tr><td class='lable'>Money (LogIn)</td>"; echo "<td colspan='1'>".number_format(substr($result[$monies[0]],4))."</td>"; echo "<td class='lable'>Money (LogOut)</td>"; echo "<td colspan='1'>".number_format(substr($result[$monies[1]],4))."</td></tr>"; echo "<tr><td class='lable'>Gold (LogIn)</td>"; echo "<td colspan='1'>".number_format(substr($result[$golds[0]],4))."</td>"; echo "<td class='lable'>Gold (LogOut)</td>"; echo "<td colspan='1'>".number_format(substr($result[$golds[1]],4))."</td></tr>"; echo"</tbody></table></div>"; //End of the character information table } //-------------- //END CHAR INFO //-------------- ?> <? //---------- //Activity //Display //---------- if(isset($result)) { $tempa = array_keys($result, "============"); ?> <div class="content"> <h2 id="act"><a href="#">Activity During Time Period</a></h2> <table class="gen_table" id="act_table"> <tbody> <? $ind = $tempa[4] + 2; DisplayActivity($result, $ind); ?> </tbody></table></div> <? //---------- //EQUIPMENT //Display //---------- //Format and display output for others to see and pass it along! $tempe = array_keys($result, "EQUIP"); ?> <div class="content"> <h2 id="equip"><a href="#">Equipment (Login)</a></h2> <table class="gen_table" id="equip_table"> <tbody> <? //Login DisplayCommon($result, $tempe[0], 0); ?> </tbody></table></div> <div class="content"> <h2 id="equip2"><a href="#">Equipment (Logout)</a></h2> <table class="gen_table" id="equip2_table"> <tbody> <? //Logout DisplayCommon($result, $tempe[1], 0); ?> </tbody></table></div> <? //------------ //Jewelry/Ammo //Display //------------ $tempj = array_keys($result, "EMBELL"); ?> <div class="content"> <h2 id="jewelry"><a href="#">Jewelry & Ammo (Login)</a></h2> <table class="gen_table" id="jewelry_table"> <tbody> <? //Login DisplayCommon($result, $tempj[0], 1); ?> </tbody></table></div> <div class="content"> <h2 id="jewelry2"><a href="#">Jewelry & Ammo (Logout)</a></h2> <table class="gen_table" id="jewelry2_table"> <tbody> <? //Logout DisplayCommon($result, $tempj[1], 1); ?> </tbody></table></div> <? //------------ //Inventory // // //------------ $tempi = array_keys($result, "INVEN"); //Inventory Display ?> <div class="content"> <h2 id="inven"><a href="#">Inventory (Login)</a></h2> <table class="gen_table" id="inven_table"> <tbody> <? DisplayCommon($result, $tempi[0], 2); ?> </tbody></table></div> <div class="content"> <h2 id="inven2"><a href="#">Inventory (Logout)</a></h2> <table class="gen_table" id="inven2_table"> <tbody> <? DisplayCommon($result, $tempi[1], 2); ?> </tbody></table></div> <? //------------ //Bank // // //------------ $tempt = array(); for($i = 0; $i < sizeof($result); $i++) { if(strpos($result[$i], "TRUNK (") === 0) { $tempt[] = $i; } } //Trunk Display $trunk1 = $result[$tempt[0]]; $trunk2 = $result[$tempt[1]]; $holder1 = strpos($trunk1, "^D:"); $holder2 = strpos($trunk1, ", ^G:"); $holder3 = strpos($trunk1, ")"); $money1 = substr($trunk1, $holder1+3, $holder2-$holder1-3); $gold1 = substr($trunk1, $holder2+5, $holder3-$holder2-5); $holder1 = strpos($trunk2, "^D:"); $holder2 = strpos($trunk2, ", ^G:"); $holder3 = strpos($trunk2, ")"); $money2 = substr($trunk2, $holder1+3, $holder2-$holder1-3); $gold2 = substr($trunk2, $holder2+5, $holder3-$holder2-5); ?> <div class="content"> <h2 id="trunk"><a href="#">Bank (Login) Money: <?echo number_format($money1);?> Gold: <?echo number_format($gold1);?></a></h2> <table class="gen_table" id="trunk_table"> <tbody> <? DisplayCommon($result, $tempt[0], 4); ?> </tbody></table></div> <div class="content"> <h2 id="trunk2"><a href="#">Bank (Logout) Money: <?echo number_format($money2);?> Gold: <?echo number_format($gold2);?></a></h2> <table class="gen_table" id="trunk2_table"> <tbody> <? DisplayCommon($result, $tempt[1], 4); ?> </tbody></table></div> <? //------------ //Force Spells // // //------------ $tempf = array_keys($result, "FORCE"); //Trunk Display ?> <div class="content"> <h2 id="force"><a href="#">Force Spells (Login)</a></h2> <table class="gen_table" id="force_table"> <tbody> <? DisplayCommon($result, $tempf[0], 3); ?> </tbody></table></div> <div class="content"> <h2 id="force2"><a href="#">Force Spells (Logout)</a></h2> <table class="gen_table" id="force2_table"> <tbody> <? DisplayCommon($result, $tempf[1], 3); ?> </tbody></table></div> <? //------------ //Unit // // //------------ if($race1 == 0) { $tempu = array_keys($result, "UNIT"); //MAU Display ?> <div class="content"> <h2 id="unit"><a href="#">Unit (Login)</a></h2> <table class="gen_table" id="unit_table"> <tbody> <? DisplayCommon($result, $tempu[0], 5); ?> </tbody></table></div> <div class="content"> <h2 id="unit2"><a href="#">Unit (Logout)</a></h2> <table class="gen_table" id="unit2_table"> <tbody> <? DisplayCommon($result, $tempu[1], 5); ?> </tbody></table></div> <? } ?> <? //------------ //Animus // // //------------ if($race1 == 1) { $tempu = array_keys($result, "ANIMUS"); //MAU Display ?> <div class="content"> <h2 id="animus"><a href="#">Animus (Login)</a></h2> <table class="gen_table" id="animus_table"> <tbody> <? DisplayCommon($result, $tempu[0], 6); ?> </tbody></table></div> <div class="content"> <h2 id="animus2"><a href="#">Animus (Logout)</a></h2> <table class="gen_table" id="animus2_table"> <tbody> <? DisplayCommon($result, $tempu[1], 6); ?> </tbody></table></div> <? } } ?> </body> </html>
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 47) Position 1 = 23, Position 2 = 27
Branch analysis from position: 23
1 jumps found. (Code = 79) Position 1 = -2
Branch analysis from position: 27
2 jumps found. (Code = 43) Position 1 = 29, Position 2 = 167
Branch analysis from position: 29
2 jumps found. (Code = 43) Position 1 = 34, Position 2 = 61
Branch analysis from position: 34
2 jumps found. (Code = 43) Position 1 = 41, Position 2 = 60
Branch analysis from position: 41
1 jumps found. (Code = 42) Position 1 = 51
Branch analysis from position: 51
2 jumps found. (Code = 44) Position 1 = 56, Position 2 = 42
Branch analysis from position: 56
1 jumps found. (Code = 42) Position 1 = 61
Branch analysis from position: 61
1 jumps found. (Code = 42) Position 1 = 150
Branch analysis from position: 150
2 jumps found. (Code = 44) Position 1 = 153, Position 2 = 69
Branch analysis from position: 153
2 jumps found. (Code = 43) Position 1 = 169, Position 2 = 176
Branch analysis from position: 169
2 jumps found. (Code = 43) Position 1 = 172, Position 2 = 174
Branch analysis from position: 172
1 jumps found. (Code = 42) Position 1 = 175
Branch analysis from position: 175
1 jumps found. (Code = 42) Position 1 = 184
Branch analysis from position: 184
2 jumps found. (Code = 43) Position 1 = 199, Position 2 = 264
Branch analysis from position: 199
2 jumps found. (Code = 43) Position 1 = 201, Position 2 = 208
Branch analysis from position: 201
2 jumps found. (Code = 43) Position 1 = 246, Position 2 = 247
Branch analysis from position: 246
1 jumps found. (Code = 42) Position 1 = 263
Branch analysis from position: 263
1 jumps found. (Code = 42) Position 1 = 569
Branch analysis from position: 569
2 jumps found. (Code = 43) Position 1 = 572, Position 2 = 848
Branch analysis from position: 572
1 jumps found. (Code = 42) Position 1 = 665
Branch analysis from position: 665
2 jumps found. (Code = 44) Position 1 = 668, Position 2 = 655
Branch analysis from position: 668
2 jumps found. (Code = 43) Position 1 = 801, Position 2 = 823
Branch analysis from position: 801
2 jumps found. (Code = 43) Position 1 = 826, Position 2 = 848
Branch analysis from position: 826
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 848
Branch analysis from position: 823
Branch analysis from position: 655
2 jumps found. (Code = 43) Position 1 = 662, Position 2 = 664
Branch analysis from position: 662
2 jumps found. (Code = 44) Position 1 = 668, Position 2 = 655
Branch analysis from position: 668
Branch analysis from position: 655
Branch analysis from position: 664
Branch analysis from position: 848
Branch analysis from position: 247
1 jumps found. (Code = 42) Position 1 = 569
Branch analysis from position: 569
Branch analysis from position: 208
Branch analysis from position: 264
2 jumps found. (Code = 43) Position 1 = 572, Position 2 = 848
Branch analysis from position: 572
Branch analysis from position: 848
Branch analysis from position: 174
1 jumps found. (Code = 42) Position 1 = 184
Branch analysis from position: 184
Branch analysis from position: 176
2 jumps found. (Code = 43) Position 1 = 199, Position 2 = 264
Branch analysis from position: 199
Branch analysis from position: 264
Branch analysis from position: 69
2 jumps found. (Code = 43) Position 1 = 76, Position 2 = 78
Branch analysis from position: 76
2 jumps found. (Code = 43) Position 1 = 85, Position 2 = 87
Branch analysis from position: 85
2 jumps found. (Code = 43) Position 1 = 94, Position 2 = 109
Branch analysis from position: 94
2 jumps found. (Code = 43) Position 1 = 96, Position 2 = 99
Branch analysis from position: 96
1 jumps found. (Code = 42) Position 1 = 109
Branch analysis from position: 109
2 jumps found. (Code = 43) Position 1 = 116, Position 2 = 131
Branch analysis from position: 116
2 jumps found. (Code = 43) Position 1 = 118, Position 2 = 121
Branch analysis from position: 118
1 jumps found. (Code = 42) Position 1 = 131
Branch analysis from position: 131
2 jumps found. (Code = 43) Position 1 = 138, Position 2 = 140
Branch analysis from position: 138
2 jumps found. (Code = 43) Position 1 = 147, Position 2 = 149
Branch analysis from position: 147
2 jumps found. (Code = 44) Position 1 = 153, Position 2 = 69
Branch analysis from position: 153
Branch analysis from position: 69
Branch analysis from position: 149
Branch analysis from position: 140
Branch analysis from position: 121
2 jumps found. (Code = 43) Position 1 = 129, Position 2 = 131
Branch analysis from position: 129
2 jumps found. (Code = 43) Position 1 = 138, Position 2 = 140
Branch analysis from position: 138
Branch analysis from position: 140
Branch analysis from position: 131
Branch analysis from position: 131
Branch analysis from position: 99
2 jumps found. (Code = 43) Position 1 = 107, Position 2 = 109
Branch analysis from position: 107
2 jumps found. (Code = 43) Position 1 = 116, Position 2 = 131
Branch analysis from position: 116
Branch analysis from position: 131
Branch analysis from position: 109
Branch analysis from position: 109
Branch analysis from position: 87
Branch analysis from position: 78
Branch analysis from position: 42
2 jumps found. (Code = 44) Position 1 = 56, Position 2 = 42
Branch analysis from position: 56
Branch analysis from position: 42
Branch analysis from position: 60
1 jumps found. (Code = 42) Position 1 = 150
Branch analysis from position: 150
Branch analysis from position: 61
Branch analysis from position: 167
filename:       /in/XgvGs
function name:  (null)
number of ops:  850
compiled vars:  !0 = $basehref, !1 = $path, !2 = $dir, !3 = $dir2, !4 = $SERVER, !5 = $USER, !6 = $PASS, !7 = $DB_NAME, !8 = $LINK, !9 = $DB, !10 = $his, !11 = $id, !12 = $result, !13 = $times, !14 = $levels, !15 = $monies, !16 = $golds, !17 = $points, !18 = $experience, !19 = $i, !20 = $loggedtime, !21 = $serial, !22 = $month, !23 = $day1, !24 = $day2, !25 = $race1, !26 = $race, !27 = $sex, !28 = $xp, !29 = $temp, !30 = $class1, !31 = $class, !32 = $oldclass0, !33 = $oldclass1, !34 = $temp2, !35 = $oldclass2, !36 = $tempa, !37 = $ind, !38 = $tempe, !39 = $tempj, !40 = $tempi, !41 = $tempt, !42 = $trunk1, !43 = $trunk2, !44 = $holder1, !45 = $holder2, !46 = $holder3, !47 = $money1, !48 = $gold1, !49 = $money2, !50 = $gold2, !51 = $tempf, !52 = $tempu
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    1     0  E >   ECHO                                                     '%3Chtml%3E+++%0A%3Chead%3E+++%0A++%0A%3Cmeta+http-equiv%3D%22Content-Type%22+content%3D%22text%2Fhtml%3B+charset%3Diso-8859-1%22%3E+++%0A%3Clink+media%3D%22screen%22+rel%3D%22stylesheet%22+href%3D%22main.css%22+type%3D%22text%2Fcss%22%3E%0A%3Clink+media%3D%22screen%22+rel%3D%22stylesheet%22+href%3D%22clickmenu.css%22+type%3D%22text%2Fcss%22%3E%0A%3Cscript+type%3D%22text%2Fjavascript%22+src%3D%22jquery.js%22%3E%3C%2Fscript%3E%0A%3Cscript+type%3D%22text%2Fjavascript%22+src%3D%22jquery.clickmenu.js%22%3E%3C%2Fscript%3E%0A%0A%3Cscript+language%3D%22javascript%22%3E%0A%3C%21--%0AjQuery.fn.fadeToggle+%3D+function%28speed%2C+easing%2C+callback%29+%7B%0A+++return+this.animate%28%7Bopacity%3A+%27toggle%27%7D%2C+speed%2C+easing%2C+callback%29%3B%0A%0A%7D%0A%0A%24%28document%29.ready%28function%28%29+%7B%0A%0A%09function+maketog%28id%2C+start_up%29+%7B%0A%09%09%2F%2F+toggles+the+slickbox+on+clicking+the+noted+link%0A%09%09if%28start_up%29+%7B%0A%09%09%09%24%28%27%23%27%2Bid%2B%27_table%27%29.hide%28%29%3B%0A%09%09%7D%0A%09%09%24%28%27%23%27%2Bid+%2B+%27+a%27%29.click%28function%28%29+%7B%0A%09%09%09%24%28%27%23%27%2Bid%2B%27_table%27%29.fadeToggle%28400%29%3B%0A%09%09%09return+false%3B%0A%09%09%7D%29%3B%0A%09%7D%0A%0A%09maketog%28%27info%27%2C+false%29%3B%0A%09maketog%28%27act%27%2C+false%29%3B%0A%09maketog%28%27equip%27%2C+true%29%3B%0A%09maketog%28%27equip2%27%2C+true%29%3B%0A%09maketog%28%27jewelry%27%2C+true%29%3B%0A%09maketog%28%27jewelry2%27%2C+true%29%3B%0A%09maketog%28%27inven%27%2C+true%29%3B%0A%09maketog%28%27inven2%27%2C+true%29%3B%0A%09maketog%28%27trunk%27%2C+true%29%3B%0A%09maketog%28%27trunk2%27%2C+true%29%3B%0A%09maketog%28%27force%27%2C+true%29%3B%0A%09maketog%28%27force2%27%2C+true%29%3B%0A%09%2F%2Fmaketog%28%27res%27%2C+true%29%3B%0A%09maketog%28%27unit%27%2C+true%29%3B%0A%09maketog%28%27unit2%27%2C+true%29%3B%0A%09maketog%28%27animus%27%2C+true%29%3B%0A%09maketog%28%27animus2%27%2C+true%29%3B%0A%09%24%28%27%23list%27%29.clickMenu%28%29%3B+%0A%0A%7D%29%3B%0A%0Afunction+clear_time%28%29+%7B%0A%09document.info.time.value%3D+%22%22%3B%09%0A%09document.info.submit%28%29%3B%0A%7D%0A%0A--%3E%0A%3C%2Fscript%3E%0A%3Ctitle%3ERF+Log+Viewer%3C%2Ftitle%3E+++%0A%3C%2Fhead%3E+++%0A%3Cbody%3E+++%0A++%0A'
   66     1        ASSIGN                                                   !0, 'http%3A%2F%2F66.85.166.252%2FHistory%2Fjonlogview.php'
   67     2        ASSIGN                                                   !1, 'D%3A%2FHistory%2FItem%2F'
   68     3        ASSIGN                                                   !2, 'D%3A%5CHistory%5CItem'
   69     4        ASSIGN                                                   !3, !1
   71     5        ASSIGN                                                   !4, ''
   72     6        ASSIGN                                                   !5, ''
   73     7        ASSIGN                                                   !6, ''
   74     8        ASSIGN                                                   !7, ''
  123     9        INCLUDE_OR_EVAL                                          'definitions.php', INCLUDE
  124    10        INCLUDE_OR_EVAL                                          'functions.php', INCLUDE
  133    11        INIT_FCALL_BY_NAME                                       'mssql_connect'
         12        SEND_VAR_EX                                              !4
         13        SEND_VAR_EX                                              !5
         14        SEND_VAR_EX                                              !6
         15        DO_FCALL                                      0  $63     
         16        ASSIGN                                                   !8, $63
  134    17        INIT_FCALL_BY_NAME                                       'mssql_select_db'
         18        SEND_VAR_EX                                              !7
         19        SEND_VAR_EX                                              !8
         20        DO_FCALL                                      0  $65     
         21        ASSIGN                                           ~66     !9, $65
         22      > JMPNZ_EX                                         ~66     ~66, ->27
         23    >   INIT_FCALL_BY_NAME                                       'mssql_get_last_message'
         24        DO_FCALL                                      0  $67     
         25      > EXIT                                                     $67
         26*       BOOL                                             ~66     <true>
  137    27    >   ISSET_ISEMPTY_CV                                         !10
         28      > JMPZ                                                     ~68, ->167
  139    29    >   INIT_FCALL                                               'file_exists'
         30        CONCAT                                           ~69     !2, !10
         31        SEND_VAL                                                 ~69
         32        DO_ICALL                                         $70     
         33      > JMPZ                                                     $70, ->61
  141    34    >   INIT_FCALL                                               'fopen'
         35        CONCAT                                           ~71     !2, !10
         36        SEND_VAL                                                 ~71
         37        SEND_VAL                                                 'r%2B'
         38        DO_ICALL                                         $72     
         39        ASSIGN                                           ~73     !11, $72
         40      > JMPZ                                                     ~73, ->60
  143    41    > > JMP                                                      ->51
  145    42    >   INIT_FCALL                                               'trim'
         43        INIT_FCALL                                               'fgets'
         44        SEND_VAR                                                 !11
         45        SEND_VAL                                                 1000000
         46        DO_ICALL                                         $75     
         47        SEND_VAR                                                 $75
         48        DO_ICALL                                         $76     
         49        ASSIGN_DIM                                               !12
         50        OP_DATA                                                  $76
  143    51    >   INIT_FCALL                                               'feof'
         52        SEND_VAR                                                 !11
         53        DO_ICALL                                         $77     
         54        BOOL_NOT                                         ~78     $77
         55      > JMPNZ                                                    ~78, ->42
  147    56    >   INIT_FCALL                                               'fclose'
         57        SEND_VAR                                                 !11
         58        DO_ICALL                                                 
         59      > JMP                                                      ->61
  151    60    >   ECHO                                                     'no+file'
  154    61    >   ASSIGN                                                   !13, <array>
  155    62        ASSIGN                                                   !14, <array>
  156    63        ASSIGN                                                   !15, <array>
  157    64        ASSIGN                                                   !16, <array>
  158    65        ASSIGN                                                   !17, <array>
  159    66        ASSIGN                                                   !18, <array>
  160    67        ASSIGN                                                   !19, 0
         68      > JMP                                                      ->150
  162    69    >   INIT_FCALL                                               'strpos'
         70        FETCH_DIM_R                                      ~87     !12, !19
         71        SEND_VAL                                                 ~87
         72        SEND_VAL                                                 'TIME%3A'
         73        DO_ICALL                                         $88     
         74        TYPE_CHECK                                  1018          $88
         75      > JMPZ                                                     ~89, ->78
  164    76    >   ASSIGN_DIM                                               !13
         77        OP_DATA                                                  !19
  166    78    >   INIT_FCALL                                               'strpos'
         79        FETCH_DIM_R                                      ~91     !12, !19
         80        SEND_VAL                                                 ~91
         81        SEND_VAL                                                 'LV%3A'
         82        DO_ICALL                                         $92     
         83        TYPE_CHECK                                  1018          $92
         84      > JMPZ                                                     ~93, ->87
  168    85    >   ASSIGN_DIM                                               !14
         86        OP_DATA                                                  !19
  170    87    >   INIT_FCALL                                               'strpos'
         88        FETCH_DIM_R                                      ~95     !12, !19
         89        SEND_VAL                                                 ~95
         90        SEND_VAL                                                 '%24D%3A'
         91        DO_ICALL                                         $96     
         92        TYPE_CHECK                                  1018          $96
         93      > JMPZ                                                     ~97, ->109
  172    94    >   IS_SMALLER                                               !19, 22
         95      > JMPZ                                                     ~98, ->99
  173    96    >   ASSIGN_DIM                                               !15
         97        OP_DATA                                                  !19
         98      > JMP                                                      ->109
  174    99    >   INIT_FCALL                                               'strpos'
        100        SUB                                              ~100    !19, 1
        101        FETCH_DIM_R                                      ~101    !12, ~100
        102        SEND_VAL                                                 ~101
        103        SEND_VAL                                                 'XP%3A'
        104        DO_ICALL                                         $102    
        105        TYPE_CHECK                                  1018          $102
        106      > JMPZ                                                     ~103, ->109
  175   107    >   ASSIGN_DIM                                               !15
        108        OP_DATA                                                  !19
  177   109    >   INIT_FCALL                                               'strpos'
        110        FETCH_DIM_R                                      ~105    !12, !19
        111        SEND_VAL                                                 ~105
        112        SEND_VAL                                                 '%24G%3A'
        113        DO_ICALL                                         $106    
        114        TYPE_CHECK                                  1018          $106
        115      > JMPZ                                                     ~107, ->131
  179   116    >   IS_SMALLER                                               !19, 22
        117      > JMPZ                                                     ~108, ->121
  180   118    >   ASSIGN_DIM                                               !16
        119        OP_DATA                                                  !19
        120      > JMP                                                      ->131
  181   121    >   INIT_FCALL                                               'strpos'
        122        SUB                                              ~110    !19, 2
        123        FETCH_DIM_R                                      ~111    !12, ~110
        124        SEND_VAL                                                 ~111
        125        SEND_VAL                                                 'XP%3A'
        126        DO_ICALL                                         $112    
        127        TYPE_CHECK                                  1018          $112
        128      > JMPZ                                                     ~113, ->131
  182   129    >   ASSIGN_DIM                                               !16
        130        OP_DATA                                                  !19
  184   131    >   INIT_FCALL                                               'strpos'
        132        FETCH_DIM_R                                      ~115    !12, !19
        133        SEND_VAL                                                 ~115
        134        SEND_VAL                                                 'PvP%3A'
        135        DO_ICALL                                         $116    
        136        TYPE_CHECK                                  1018          $116
        137      > JMPZ                                                     ~117, ->140
  186   138    >   ASSIGN_DIM                                               !17
        139        OP_DATA                                                  !19
  188   140    >   INIT_FCALL                                               'strpos'
        141        FETCH_DIM_R                                      ~119    !12, !19
        142        SEND_VAL                                                 ~119
        143        SEND_VAL                                                 'XP%3A'
        144        DO_ICALL                                         $120    
        145        TYPE_CHECK                                  1018          $120
        146      > JMPZ                                                     ~121, ->149
  190   147    >   ASSIGN_DIM                                               !18
        148        OP_DATA                                                  !19
  160   149    >   PRE_INC                                                  !19
        150    >   COUNT                                            ~124    !12
        151        IS_SMALLER                                               !19, ~124
        152      > JMPNZ                                                    ~125, ->69
  193   153    >   INIT_FCALL                                               'substr'
        154        FETCH_DIM_R                                      ~126    !13, 1
        155        FETCH_DIM_R                                      ~127    !12, ~126
        156        SEND_VAL                                                 ~127
        157        SEND_VAL                                                 6
        158        DO_ICALL                                         $128    
        159        INIT_FCALL                                               'substr'
        160        FETCH_DIM_R                                      ~129    !13, 0
        161        FETCH_DIM_R                                      ~130    !12, ~129
        162        SEND_VAL                                                 ~130
        163        SEND_VAL                                                 6
        164        DO_ICALL                                         $131    
        165        SUB                                              ~132    $128, $131
        166        ASSIGN                                                   !20, ~132
  196   167    >   ISSET_ISEMPTY_CV                                         !12
        168      > JMPZ                                                     ~134, ->176
  198   169    >   FETCH_IS                                         ~135    '_POST'
        170        ISSET_ISEMPTY_DIM_OBJ                         1          ~135, 'charSerial'
        171      > JMPZ                                                     ~136, ->174
  200   172    >   ECHO                                                     '%3Ch1%3ENo+Character+Currently+Set%3C%2Fh1%3E'
        173      > JMP                                                      ->175
  204   174    >   ECHO                                                     '%3Ch1%3ESearch+Results%3C%2Fh1%3E'
        175    > > JMP                                                      ->184
  209   176    >   INIT_FCALL                                               'substr'
        177        FETCH_DIM_R                                      ~137    !12, 0
        178        SEND_VAL                                                 ~137
        179        SEND_VAL                                                 6
        180        DO_ICALL                                         $138    
        181        CONCAT                                           ~139    '%3Ch1%3E', $138
        182        CONCAT                                           ~140    ~139, '%3C%2Fh1%3E'
        183        ECHO                                                     ~140
  219   184    >   ECHO                                                     '%0A%0A%0A'
  224   185        FETCH_R                      global              ~141    '_POST'
        186        FETCH_DIM_R                                      ~142    ~141, 'charSerial'
        187        ASSIGN                                                   !21, ~142
  225   188        FETCH_R                      global              ~144    '_POST'
        189        FETCH_DIM_R                                      ~145    ~144, 'month'
        190        ASSIGN                                                   !22, ~145
  226   191        FETCH_R                      global              ~147    '_POST'
        192        FETCH_DIM_R                                      ~148    ~147, 'day1'
        193        ASSIGN                                                   !23, ~148
  227   194        FETCH_R                      global              ~150    '_POST'
        195        FETCH_DIM_R                                      ~151    ~150, 'day2'
        196        ASSIGN                                                   !24, ~151
  230   197        ISSET_ISEMPTY_CV                                         !12
        198      > JMPZ                                                     ~153, ->264
  232   199    >   ISSET_ISEMPTY_CV                                         !21
        200      > JMPZ                                                     ~154, ->208
  234   201    >   ECHO                                                     '%3Cdiv+class%3D%27content%27%3E'
  235   202        ECHO                                                     '%3Ch2+id%3D%27info%27%3E%3Ca+href%3D%27%23%27%3EMeow+Meow+Meow%3C%2Fa%3E%3C%2Fh2%3E'
  236   203        ECHO                                                     '%3Ctable+class%3D%27gen_table%27+id%3D%27info_table%27%3E'
  237   204        ECHO                                                     '%3Ctbody%3E'
  238   205        ECHO                                                     '%3Ctr%3E%3Ctd+class+%3D+%27lable%27%3ENotice%3C%2Ftd%3E'
  239   206        ECHO                                                     '%3Ctd+colspan%271%27%3EPlease+select+a+character+log%3C%2Ftd%3E%3C%2Ftr%3E'
  240   207        ECHO                                                     '%3C%2Ftbody%3E%3C%2Ftable%3E%3C%2Fdiv%3E'
  243   208    >   ECHO                                                     '%3Cdiv+class%3D%27content%27%3E'
  244   209        ECHO                                                     '%3Ch2+id%3D%27info%27%3E%3Ca+href%3D%27%23%27%3ESearch%3C%2Fa%3E%3C%2Fh2%3E'
  245   210        ECHO                                                     '%3Ctable+class%3D%27gen_table%27+id%3D%27info_table%27%3E'
  246   211        ECHO                                                     '%3Ctbody%3E'
  247   212        ECHO                                                     '%3Ctr%3E%3Ctd+class+%3D+%27lable%27%3ECharacter+Serial%3C%2Ftd%3E'
  248   213        CONCAT                                           ~155    '%3Ctd+colspan%271%27%3E%3Cform+action+%3D+%27', !0
        214        CONCAT                                           ~156    ~155, '%27+method%3D%27post%27%3E%3Cinput+name%3D%27charSerial%27+type%3D%27text%27%2F%3E%3C%2Ftd%3E%3C%2Ftr%3E'
        215        ECHO                                                     ~156
  249   216        ECHO                                                     '%3Ctr%3E%3Ctd+class+%3D+%27lable%27%3ESearch+Options%3C%2Ftd%3E'
  250   217        ECHO                                                     '%3Ctd+colspan%271%27%3E%3C%2Ftd%3E%3C%2Ftr%3E'
  251   218        ECHO                                                     '%3Ctr%3E%3Ctd+class+%3D+%27lable%27%3EMonth%3C%2Ftd%3E'
  252   219        ECHO                                                     '%3Ctd+colspan%271%27%3E'
  253   220        ECHO                                                     '%3Cselect+name%3D%27month%27%3E%3Coption%3Eall%3C%2Foption%3E%3Coption%3E01%3C%2Foption%3E%3Coption%3E02%3C%2Foption%3E%3Coption%3E03%3C%2Foption%3E%3Coption%3E04%3C%2Foption%3E'
  254   221        ECHO                                                     '%3Coption%3E05%3C%2Foption%3E%3Coption%3E06%3C%2Foption%3E%3Coption%3E07%3C%2Foption%3E%3Coption%3E08%3C%2Foption%3E%3Coption%3E09%3C%2Foption%3E'
  255   222        ECHO                                                     '%3Coption%3E10%3C%2Foption%3E%3Coption%3E11%3C%2Foption%3E%3Coption%3E12%3C%2Foption%3E%3C%2Fselect%3E%3C%2Ftd%3E%3C%2Ftr%3E'
  256   223        ECHO                                                     '%3Ctr%3E%3Ctd+class+%3D+%27lable%27%3EDay%3C%2Ftd%3E'
  257   224        ECHO                                                     '%3Ctd+colspan%271%27%3E'
  258   225        ECHO                                                     '%3Cselect+name%3D%27day1%27%3E%3Coption%3Eall%3C%2Foption%3E%3Coption%3E01%3C%2Foption%3E%3Coption%3E02%3C%2Foption%3E%3Coption%3E03%3C%2Foption%3E%3Coption%3E04%3C%2Foption%3E'
  259   226        ECHO                                                     '%3Coption%3E05%3C%2Foption%3E%3Coption%3E06%3C%2Foption%3E%3Coption%3E07%3C%2Foption%3E%3Coption%3E08%3C%2Foption%3E%3Coption%3E09%3C%2Foption%3E'
  260   227        ECHO                                                     '%3Coption%3E10%3C%2Foption%3E%3Coption%3E11%3C%2Foption%3E%3Coption%3E12%3C%2Foption%3E%3Coption%3E13%3C%2Foption%3E%3Coption%3E14%3C%2Foption%3E'
  261   228        ECHO                                                     '%3Coption%3E15%3C%2Foption%3E%3Coption%3E16%3C%2Foption%3E%3Coption%3E17%3C%2Foption%3E%3Coption%3E18%3C%2Foption%3E%3Coption%3E19%3C%2Foption%3E'
  262   229        ECHO                                                     '%3Coption%3E20%3C%2Foption%3E%3Coption%3E21%3C%2Foption%3E%3Coption%3E22%3C%2Foption%3E%3Coption%3E23%3C%2Foption%3E%3Coption%3E24%3C%2Foption%3E'
  263   230        ECHO                                                     '%3Coption%3E25%3C%2Foption%3E%3Coption%3E26%3C%2Foption%3E%3Coption%3E27%3C%2Foption%3E%3Coption%3E28%3C%2Foption%3E%3Coption%3E29%3C%2Foption%3E'
  264   231        ECHO                                                     '%3Coption%3E30%3C%2Foption%3E%3Coption%3E31%3C%2Foption%3E%3C%2Fselect%3E'
  265   232        ECHO                                                     '+to+'
  266   233        ECHO                                                     '%3Cselect+name%3D%27day2%27%3E%3Coption%3Eall%3C%2Foption%3E%3Coption%3E01%3C%2Foption%3E%3Coption%3E02%3C%2Foption%3E%3Coption%3E03%3C%2Foption%3E%3Coption%3E04%3C%2Foption%3E'
  267   234        ECHO                                                     '%3Coption%3E05%3C%2Foption%3E%3Coption%3E06%3C%2Foption%3E%3Coption%3E07%3C%2Foption%3E%3Coption%3E08%3C%2Foption%3E%3Coption%3E09%3C%2Foption%3E'
  268   235        ECHO                                                     '%3Coption%3E10%3C%2Foption%3E%3Coption%3E11%3C%2Foption%3E%3Coption%3E12%3C%2Foption%3E%3Coption%3E13%3C%2Foption%3E%3Coption%3E14%3C%2Foption%3E'
  269   236        ECHO                                                     '%3Coption%3E15%3C%2Foption%3E%3Coption%3E16%3C%2Foption%3E%3Coption%3E17%3C%2Foption%3E%3Coption%3E18%3C%2Foption%3E%3Coption%3E19%3C%2Foption%3E'
  270   237        ECHO                                                     '%3Coption%3E20%3C%2Foption%3E%3Coption%3E21%3C%2Foption%3E%3Coption%3E22%3C%2Foption%3E%3Coption%3E23%3C%2Foption%3E%3Coption%3E24%3C%2Foption%3E'
  271   238        ECHO                                                     '%3Coption%3E25%3C%2Foption%3E%3Coption%3E26%3C%2Foption%3E%3Coption%3E27%3C%2Foption%3E%3Coption%3E28%3C%2Foption%3E%3Coption%3E29%3C%2Foption%3E'
  272   239        ECHO                                                     '%3Coption%3E30%3C%2Foption%3E%3Coption%3E31%3C%2Foption%3E%3C%2Fselect%3E'
  273   240        ECHO                                                     '%3C%2Ftd%3E%3C%2Ftr%3E'
  274   241        ECHO                                                     '%3Ctr%3E%3Ctd+class+%3D+%27lable%27%3ESearch%3C%2Ftd%3E'
  275   242        ECHO                                                     '%3Ctd+colspan%271%27%3E%3Cinput+type%3D%27submit%27+%2F%3E%3C%2Fform%3E%3C%2Ftd%3E%3C%2Ftr%3E'
  276   243        ECHO                                                     '%3C%2Ftbody%3E%3C%2Ftable%3E%3C%2Fdiv%3E'
  278   244        ISSET_ISEMPTY_CV                                         !21
        245      > JMPZ            

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
287.87 ms | 1428 KiB | 30 Q