-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathview_documentation.php
More file actions
57 lines (39 loc) · 1 KB
/
view_documentation.php
File metadata and controls
57 lines (39 loc) · 1 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
<?php
include("includes/a_config.php");
//error_reporting(0);
?>
<?php
include("includes/conn.php");
include("includes/sessionconfig.php");
?>
<?php
?>
<!DOCTYPE html>
<html>
<head>
<?php include("includes/head-tag-contents.php");?>
<meta charset="utf-8">
<script type="text/javascript" src="js/jquery3.3.1.js"></script>
</head>
<body>
<?php include("includes/design-top.php");?>
<?php include("includes/navigation.php");?>
<?php
$fp = fopen("upload_doc/003-NCB_Bidding_Document.doc", "rb");
$contents_doc = fread($fp, filesize("upload_doc/003-NCB_Bidding_Document.doc"));
fclose($fp);
echo $contents_doc;
?>
<?php include("includes/footer.php");?>
</body>
<script type="text/javascript">
$(window).scroll(function() {
sessionStorage.scrollTop = $(this).scrollTop();
});
$(document).ready(function() {
if (sessionStorage.scrollTop != "undefined") {
$(window).scrollTop(sessionStorage.scrollTop);
}
});
</script>
</html>