-
Notifications
You must be signed in to change notification settings - Fork 3
/
i_proses.php
executable file
·129 lines (83 loc) · 2.52 KB
/
i_proses.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
121
122
123
124
125
126
127
128
129
<?php
session_start();
sleep(1);
require("inc/fungsi.php");
//ambil nilai
$aksi = nosql($_GET['aksi']);
$filenyax = "i_pasien_reg.php";
?>
<style>
a.menuku:hover {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 16px;
color: red;
text-decoration: underline;
}
</style>
<script>
$(document).ready(function(){
$("#step1").on('click', 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');
});
$("#step2").on('click', function(){
$("#iform").load("<?php echo $filenyax;?>?aksi=daftar2");
$('.myimage2').attr('src', 'img/proses21.png');
$('.myimage1').attr('src', 'img/proses1.png');
$('.myimage3').attr('src', 'img/proses3.png');
$('.myimage4').attr('src', 'img/proses4.png');
});
$("#step3").on('click', function(){
$("#iform").load("<?php echo $filenyax;?>?aksi=daftar3");
$('.myimage3').attr('src', 'img/proses31.png');
$('.myimage2').attr('src', 'img/proses2.png');
$('.myimage1').attr('src', 'img/proses1.png');
$('.myimage4').attr('src', 'img/proses4.png');
});
$("#step4").on('click', function(){
$("#iform").load("<?php echo $filenyax;?>?aksi=daftar4");
$('.myimage4').attr('src', 'img/proses41.png');
$('.myimage2').attr('src', 'img/proses2.png');
$('.myimage3').attr('src', 'img/proses3.png');
$('.myimage1').attr('src', 'img/proses1.png');
});
})
</script>
<?php
if ($aksi == "1")
{
echo '<img class="myimage1" src="img/proses1.png" height="50" />
<br>
<div align="center">
<a id="step1" href="#" class="menuku">Data Anda<br /><font size="2">Masukan Data Diri Anda dengan Benar</font></a>
</div>';
}
if ($aksi == "2")
{
echo '<img class="myimage2" src="img/proses2.png" height="50" />
<br>
<div align="center">
<a id="step2" href="#" class="menuku">Data Lengkap Pasien<br /><font size="2">Masukan Data Diri</font></a>
</div>';
}
if ($aksi == "3")
{
echo '<img class="myimage3" src="img/proses3.png" height="50" />
<br>
<div align="center">
<a id="step3" href="#" class="menuku">Jenis Pembayaran<br /><font size="2">Inputkan Data Jenis Pembayaran</font></a>
</div>';
}
if ($aksi == "4")
{
echo '<img class="myimage4" src="img/proses4.png" height="50" />
<br>
<div align="center">
<a id="step4" href="#" class="menuku">Invoice Booking<br /><font size="2">Kode Booking Pendaftaran Online</font></a>
</div>';
}
exit();
?>