<?php
	include_once("./zdir.class.php");

	@$file = $_GET['file'];

	$content = $zdir->vtext($file);
?>
<!DOCTYPE html>
<html lang="en" xmlns="http://www.w3.org/1999/xhtml">
<head>
	<meta charset="utf-8" />
	<title>文档查看器</title>
	<meta name="generator" content="EverEdit" />
	<meta name="author" content="" />
	<meta name="keywords" content="" />
	<meta name="description" content="" />
	<link rel='stylesheet' href='https://libs.xiaoz.top/highlight.js/9.12.0/styles/github.min.css'>
	<style type="text/css" media="screen">
		
		code{
			font-family:  Arial,sans-serif;
		}
	</style>
</head>
<body>
<pre><code><?php echo $content; ?>
</code></pre>
	<script src = 'https://libs.xiaoz.top/highlight.js/9.12.0/highlight.min.js'></script>
	<script>hljs.initHighlightingOnLoad();</script>
</body>
</html>
