File manager - Edit - /home/autoph/public_html/tasks/viewer/pdf.php
Back
<?php include '../cfg/db.php'; if( $global_user_status === 0 || !isset($_REQUEST['key']) || !$utility_class->isNotEmpty($_REQUEST['key']) || !isset($_REQUEST['value']) || !$utility_class->isNotEmpty($_REQUEST['value'])){ header('Location: '.$global_system_settings['url']); exit; } $decrypted_file_location_json = $utility_class->decrypt($_REQUEST['key'],$_REQUEST['value']); $decrypted_file_location_arr = json_decode($decrypted_file_location_json,true); if(!intval($decrypted_file_location_arr['status'])){ header('Location: '.$global_system_settings['url']); exit; } $token =$decrypted_file_location_arr['value']; ?> <!DOCTYPE html> <html> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>View</title> <!-- Theme style --> <link rel="stylesheet" href="../dist/css/adminlte.min.css"> <style> body { overflow: hidden; /* Hide scrollbars */ } </style> <!-- jQuery --> <script src="../plugins/jquery/jquery.min.js"></script> </head> <body class="hold-transition sidebar-mini text-sm" oncopy='return false' oncut='return false' onselectstart='return false'> <iframe style="border:none; width: 100%;height: 100vh;position: relative;" id="pdf-js-viewer" src="../plugins/pdfjs/web/viewer.html?file=<?php echo $token; ?>" class="embed-responsive-item"></iframe> <script> $(document).ready(function() { }); </script> </body> </html>
| ver. 1.4 |
.
| PHP 7.3.33 | Generation time: 0 |
proxy
|
phpinfo
|
Settings