Browse Source

done lipis

master
azri 4 months ago
parent
commit
14fc8c6e80

+ 2
- 2
details/penternakan_pn_17421_hsd_1950.html View File

@@ -18,7 +18,7 @@
18 18
 
19 19
         <div class=""
20 20
             style="background-color: #1F3F6D; min-height: 50px; display: flex; align-items: center;padding-left: 100px;">
21
-            <h6 style="color: white;margin-right: 1em;" class=""><a style="color: white;" href="../lists/bera.html"><i
21
+            <h6 style="color: white;margin-right: 1em;" class=""><a style="color: white;" href="../lists/lipis.html"><i
22 22
                         class="fas fa-chevron-left"></i></a></h6>
23 23
             <h6 style="color: white;">PN 17421 HSD 1950</h6>
24 24
         </div>
@@ -78,7 +78,7 @@
78 78
 
79 79
         <div class="text-center pt-5 pb-5"
80 80
             style="background-color: white; min-height: 50px; display: flex; justify-content: center; align-items: center; padding-left: 100px;">
81
-            <a href="../pdf_pages/pn_17427_hsd_1950.html" class="button-23 mb-2 mr-2"
81
+            <a href="../pdf_pages/pn_17421_hsd_1950.html" class="button-23 mb-2 mr-2"
82 82
                 style="background-color: #1F9027; color: white; border: none;width: 200px;" role="button"
83 83
                 data-toggle="modal" data-target="#exampleModal">View
84 84
                 PDF</a>

+ 9
- 11
details/penternakan_pn_17427_hsd_1949.html View File

@@ -18,9 +18,9 @@
18 18
 
19 19
         <div class=""
20 20
             style="background-color: #1F3F6D; min-height: 50px; display: flex; align-items: center;padding-left: 100px;">
21
-            <h6 style="color: white;margin-right: 1em;" class=""><a style="color: white;" href="../lists/bera.html"><i
21
+            <h6 style="color: white;margin-right: 1em;" class=""><a style="color: white;" href="../lists/lipis.html"><i
22 22
                         class="fas fa-chevron-left"></i></a></h6>
23
-            <h6 style="color: white;">HSD 10006</h6>
23
+            <h6 style="color: white;">PN 17427 (HSD 1949)</h6>
24 24
         </div>
25 25
 
26 26
         <div class="text-center pt-5"
@@ -41,18 +41,16 @@
41 41
         </div>
42 42
 
43 43
 
44
-
45
-
46 44
         <div class="text-center pt-5"
47 45
             style="background-color: white; display: flex; justify-content: center; align-items: left; padding-left: 100px; margin-top: 250px;">
48 46
             <div style="display: flex; flex-direction: row;">
49 47
                 <div>
50 48
                     <h6 class="pt-1" style="text-align: left;"><span style="font-weight: bold;">Lokasi :</span> <span
51
-                            style="color: #ACACAC;">Bukit Mendi</span></h6>
49
+                            style="color: #ACACAC;">Penjom</span></h6>
52 50
                     <h6 class="pt-1" style="text-align: left;"><span style="font-weight: bold;">Mukim :</span> <span
53
-                            style="color: #ACACAC;">Triang</span></h6>
51
+                            style="color: #ACACAC;">Penjom</span></h6>
54 52
                     <h6 class="pt-1" style="text-align: left;"><span style="font-weight: bold;">Daerah :</span> <span
55
-                            style="color: #ACACAC;">Bera</span></h6>
53
+                            style="color: #ACACAC;">Lipis</span></h6>
56 54
                     <h6 class="pt-1" style="text-align: left;"><span style="font-weight: bold;">Negeri :</span> <span
57 55
                             style="color: #ACACAC;">Pahang Darul Makmum</span></h6>
58 56
                     <h6 class="pt-1" style="text-align: left;"><span style="font-weight: bold;">Skala :</span> <span
@@ -60,15 +58,15 @@
60 58
                 </div>
61 59
                 <div style="margin-left: 100px;">
62 60
                     <h6 class="pt-1" style="text-align: left;"><span style="font-weight: bold;">No. Hak Milik :</span>
63
-                        <span style="color: #ACACAC;">HSD 10006</span>
61
+                        <span style="color: #ACACAC;">PN 17427 (HSD 1949)</span>
64 62
                     </h6>
65 63
                     <h6 class="pt-1" style="text-align: left;"><span style="font-weight: bold;">Keluasan (Ha) :</span>
66
-                        <span style="color: #ACACAC;">30.36</span>
64
+                        <span style="color: #ACACAC;">5.295</span>
67 65
                     </h6>
68 66
                     <h6 class="pt-1" style="text-align: left;"><span style="font-weight: bold;">Kegunaan :</span> <span
69 67
                             style="color: #ACACAC;">Pertanian</span></h6>
70 68
                     <h6 class="pt-1" style="text-align: left;"><span style="font-weight: bold;">Syarat Nyata :</span>
71
-                        <span style="color: #ACACAC;">Ternakan Domestik (Kambing/Lembu/Kerbau/Arnab/Kijang dan Rusa)</span>
69
+                        <span style="color: #ACACAC;">Ternakan Dusun Sahaja (Kampung & Tanaman am)</span>
72 70
                     </h6>
73 71
                     <h6 class="pt-1" style="text-align: left;"><span style="font-weight: bold;"></span> <span
74 72
                             style="color: #ACACAC;"></span></h6>
@@ -78,7 +76,7 @@
78 76
 
79 77
         <div class="text-center pt-5 pb-5"
80 78
             style="background-color: white; min-height: 50px; display: flex; justify-content: center; align-items: center; padding-left: 100px;">
81
-            <a href="../pdf_pages/hsd_10006.html" class="button-23 mb-2 mr-2"
79
+            <a href="../pdf_pages/pn_17427_hsd_1949.html" class="button-23 mb-2 mr-2"
82 80
                 style="background-color: #1F9027; color: white; border: none;width: 200px;" role="button"
83 81
                 data-toggle="modal" data-target="#exampleModal">View
84 82
                 PDF</a>

pdf_pages/pn_17427_hsd_1950.html → pdf_pages/pn_17421_hsd_1950.html View File

@@ -18,9 +18,9 @@
18 18
 
19 19
         <div class=""
20 20
             style="background-color: #1F3F6D; min-height: 50px; display: flex; align-items: center;padding-left: 100px;">
21
-            <h6 style="color: white;margin-right: 1em;" class=""><a style="color: white;" href="../details/penternakan_hsd_10006.html"><i
21
+            <h6 style="color: white;margin-right: 1em;" class=""><a style="color: white;" href="../details/penternakan_pn_17421_hsd_1950.html"><i
22 22
                         class="fas fa-chevron-left"></i></a></h6>
23
-            <h6 style="color: white;">PN 17427 HSD 1950</h6>
23
+            <h6 style="color: white;">PN 17421 (HSD 1950)</h6>
24 24
         </div>
25 25
 
26 26
         <!-- <div class="text-center pt-5"

+ 111
- 0
pdf_pages/pn_17427_hsd_1949.html View File

@@ -0,0 +1,111 @@
1
+<!DOCTYPE html>
2
+<html>
3
+
4
+<head>
5
+    <meta name="viewport" content="initial-scale=1.0, user-scalable=no">
6
+    <meta charset="utf-8">
7
+    <title>KML Click Capture Sample</title>
8
+    <link rel="stylesheet" href="../node_modules/bootstrap/dist/css/bootstrap.min.css">
9
+    <script src="../node_modules/bootstrap/dist/js/bootstrap.min.js" defer></script>
10
+    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/css/all.min.css" integrity="sha512-abc123..." crossorigin="anonymous" />
11
+    <link rel="stylesheet" href="../css/app.css">
12
+
13
+</head>
14
+
15
+<body>
16
+
17
+    <section class="section" style="max-height: 100vh;">
18
+
19
+        <div class=""
20
+            style="background-color: #1F3F6D; min-height: 50px; display: flex; align-items: center;padding-left: 100px;">
21
+            <h6 style="color: white;margin-right: 1em;" class=""><a style="color: white;" href="../details/penternakan_pn_17427_hsd_1949.html"><i
22
+                        class="fas fa-chevron-left"></i></a></h6>
23
+            <h6 style="color: white;">PN 17427 (HSD 1949)</h6>
24
+        </div>
25
+
26
+        <!-- <div class="text-center pt-5"
27
+            style="background-color: white; min-height: 50px; display: flex; justify-content: center; align-items: center; padding-left: 100px;">
28
+            <h5 style="font-weight: 500;">Perbadanan Setiausaha Kejaraan Pahang</h5>
29
+
30
+        </div> -->
31
+
32
+        <div class="text-center pt-1 pb-5"
33
+            style="background-color: white;display: flex; justify-content: center; align-items: center;margin-left: -150px;">
34
+            <div class="pt-5 pb-5" style="width: 600px;height: 100px;">
35
+                <!-- <img style="border-radius: 20px;" src="image.png" alt=""> -->
36
+
37
+                <!-- <div id="capture"></div> -->
38
+                <div id="pdfViewer"></div>
39
+
40
+
41
+
42
+            </div>
43
+        </div>
44
+
45
+
46
+        <script src="../js/jquery-3.7.1.js" defer></script>
47
+
48
+        <script src="../js/pdfjs-viewer.js" defer></script>
49
+        <script src="https://cdnjs.cloudflare.com/ajax/libs/pdf.js/2.6.347/pdf.min.js"
50
+            integrity="sha512-Z8CqofpIcnJN80feS2uccz+pXWgZzeKxDsDNMD/dJ6997/LSRY+W4NmEt9acwR+Gt9OHN0kkI1CTianCwoqcjQ=="
51
+            crossorigin="anonymous" referrerpolicy="no-referrer" defer></script>
52
+
53
+    </section>
54
+
55
+
56
+    <!-- <div id="map"></div> -->
57
+
58
+    <script>
59
+        var map;
60
+        var src = 'https://file.io/t3IwR1hlxwkZ';
61
+
62
+        function initMap() {
63
+            map = new google.maps.Map(document.getElementById('map'), {
64
+                center: new google.maps.LatLng(-19.257753, 146.823688),
65
+                zoom: 2,
66
+                mapTypeId: 'satellite'
67
+            });
68
+
69
+            var kmlLayer = new google.maps.KmlLayer(src, {
70
+                suppressInfoWindows: true,
71
+                preserveViewport: false,
72
+                map: map
73
+            });
74
+        }
75
+
76
+        document.addEventListener('DOMContentLoaded', () => {
77
+            // PDF.js script to render PDF
78
+            const pdfUrl = '../PN_17427_HSD_1949.pdf'; // Replace with your PDF URL
79
+            const pdfjsLib = window['pdfjs-dist/build/pdf'];
80
+            pdfjsLib.GlobalWorkerOptions.workerSrc = 'https://cdnjs.cloudflare.com/ajax/libs/pdf.js/2.6.347/pdf.worker.min.js';
81
+
82
+            pdfjsLib.getDocument(pdfUrl).promise.then(function (pdf) {
83
+                pdf.getPage(1).then(function (page) {
84
+                    const scale = 1.5;
85
+                    const viewport = page.getViewport({ scale });
86
+
87
+                    const canvas = document.createElement('canvas');
88
+                    const context = canvas.getContext('2d');
89
+                    canvas.height = viewport.height;
90
+                    canvas.width = viewport.width;
91
+
92
+                    const renderContext = {
93
+                        canvasContext: context,
94
+                        viewport: viewport
95
+                    };
96
+
97
+                    page.render(renderContext);
98
+                    document.getElementById('pdfViewer').appendChild(canvas);
99
+                });
100
+            });
101
+
102
+        })
103
+
104
+    </script>
105
+    <script async
106
+        src="https://maps.googleapis.com/maps/api/js?key=AIzaSyCj5eAmQOg6IhdABVPCBT6ubZ3Yj_IWejI&callback=initMap">
107
+        </script>
108
+
109
+</body>
110
+
111
+</html>

Loading…
Cancel
Save