-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathwelcome.php
80 lines (43 loc) · 1.7 KB
/
welcome.php
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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
<?php include_once __DIR__ . "/assets/php/app.php" ?>
<?php include_once __DIR__ . "/assets/php/admin.php" ?>
<?php require_once 'assets/pages/head.php' ?>
<title>Installation Guide Of NFSFU-ECOMM v1.0.4-alpha </title>
<style>
.guide a
{
color: var(--green-color) !important;
}
</style>
</head>
<body>
<div class="container-fluid">
<?php require_once 'assets/pages/navigation.php' ?>
<div class="contents container-fluid">
<?php require_once 'assets/pages/sidebar.php' ?>
<div class="page-contents">
<section class="product-category">
<div class="heading ">
<div class="details">
<h2> <i class="fas fa-info-circle"></i> ~ Installation Guide</h2>
</div>
</div>
<div class="guide" id="guide">
</div>
</section>
</div>
</div>
</div>
<script src="assets/lib/marked_3.3.0.min.js"></script>
<script>
const container = document.getElementById("guide");
fetch('ReadMe.md')
.then(resp => resp.text())
.then(data => {
const htmlContents = marked(data);
container.innerHTML = htmlContents;
})
.catch(error => {
container.innerHTML = "<center><h1>AN ERROR OCCURED. KINDLY RELOAD THE PAGE. IF THIS MESSAGE CI+ONTINUE KINDLY CONTACT ME.</h1></center>";
});
</script>
<?php require_once 'assets/pages/footer.php' ?>