-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathpasien_reg.php
executable file
·120 lines (80 loc) · 2.29 KB
/
pasien_reg.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
107
108
109
110
111
112
113
114
115
116
117
118
119
120
<?php
session_start();
//ambil nilai
require("inc/config.php");
require("inc/fungsi.php");
require("inc/koneksi.php");
$tpl = LoadTpl("template/pasien.html");
nocache;
//nilai
$filenya = "pasien_reg.php";
$filenyax = "i_pasien_reg.php";
$judul = "Formulir Pendaftaran Online";
$judulku = "[$adm_session] ==> $judul";
$juduli = $judul;
//hapus semua sesi...
session_destroy();
session_unset();
//isi *START
ob_start();
//view //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
echo '<div align="center">
<h1>'.$judul.'</h1>
</div>';
?>
<script>
$(document).ready(function(){
$("#iform").load("<?php echo $filenyax;?>?aksi=daftar");
$('.myimage1').attr('src', 'img/proses11.png');
$('.myimage2').attr('src', 'img/proses2.png');
$('.myimage3').attr('src', 'img/proses3.png');
$('.myimage4').attr('src', 'img/proses4.png');
$("#iproses1").load("<?php echo $sumber;?>/i_proses.php?aksi=1");
$("#iproses2").load("<?php echo $sumber;?>/i_proses.php?aksi=2");
$("#iproses3").load("<?php echo $sumber;?>/i_proses.php?aksi=3");
$("#iproses4").load("<?php echo $sumber;?>/i_proses.php?aksi=4");
})
</script>
<table border="0" cellpadding="0" cellspacing="0" width="1100">
<tr valign="top">
<td align="center" bgcolor="white">
<table border="0" cellpadding="0" cellspacing="0">
<tr valign="top">
<td width="250" align="right">
<div id="iproses1">
<img src="img/progress-bar.gif" width="100">
</div>
</td>
<td width="250" align="center">
<div id="iproses2">
<img src="img/progress-bar.gif" width="100">
</div>
</td>
<td width="250" align="center">
<div id="iproses3">
<img src="img/progress-bar.gif" width="100">
</div>
</td>
<td width="250" align="left">
<div id="iproses4">
<img src="img/progress-bar.gif" width="100">
</div>
</td>
</tr>
</table>
</td>
</tr>
</table>
<div id="iform"></div>
<div id="ihasil"></div>
<div id="iproses" style="display:none">
<img src="img/progress-bar.gif" width="100" height="16">
</div>
<?php
//isi
$isi = ob_get_contents();
ob_end_clean();
require("inc/niltpl.php");
//diskonek
exit();
?>