-
Notifications
You must be signed in to change notification settings - Fork 4
/
ongkir.php
106 lines (47 loc) · 1.17 KB
/
ongkir.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
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
<?php
session_start();
ini_set('max_execution_time', 0);
//ambil nilai
require("inc/config.php");
require("inc/fungsi.php");
require("inc/koneksi.php");
$tpl = LoadTpl("template/cp_depan.html");
nocache;
//nilai
$filenya = "ongkir.php";
$judul = "Cek Ongkir";
$judulku = $judul;
$s = nosql($_REQUEST['s']);
//isi *START
ob_start();
?>
<!-- Bootstrap core JavaScript -->
<script src="template/vendor/jquery/jquery.min.js"></script>
<script src="template/vendor/bootstrap/js/bootstrap.bundle.min.js"></script>
<!-- Bootstrap core CSS -->
<link href="template/vendor/bootstrap/css/bootstrap.min.css" rel="stylesheet">
<script type="text/javascript">
$(document).ready(function() {
$('#loading').ajaxStart(function(){
$(this).show();
}).ajaxStop(function(){
$(this).hide();
});
$("#fform").load("i_ongkir.php?aksi=daftar");
});
</script>
<div id="fform">
<img src="img/progress-bar.gif" width="100" height="16">
</div>
<div id="loading" style="display:none">
<img src="img/progress-bar.gif" width="100" height="16">
</div>
<div id="fhasil">
</div>
<?php
//isi
$isi = ob_get_contents();
ob_end_clean();
require("inc/niltpl.php");
exit();
?>