@@ -53,7 +53,7 @@ |
||
| 53 | 53 | echo"<td style='text-align:center;'>$r[aktif]</td>"; |
| 54 | 54 | echo" <td style='text-align:center;'>"; |
| 55 | 55 | |
| 56 | - if ($r_edit == 'Y') { |
|
| 56 | + if ($r_edit=='Y') { |
|
| 57 | 57 | echo"<a class='thickbox' href='modul/mod_$module/form_$module.php?id_poli=$r[id_poli]&id_module=$id&width=720&height=560&module=$module&TB_iframe=true' title='Update $nmmodule'><span class='icon'><i class='fa fa-pencil'></i></span></a>"; |
| 58 | 58 | } |
| 59 | 59 | |
@@ -73,7 +73,7 @@ discard block |
||
| 73 | 73 | echo"<td>$r[kategori]</td>"; |
| 74 | 74 | echo" <td style='text-align:center;'>"; |
| 75 | 75 | |
| 76 | - if ($r_edit == 'Y') { |
|
| 76 | + if ($r_edit=='Y') { |
|
| 77 | 77 | //if ($status == '0') { |
| 78 | 78 | echo"<a class='thickbox' href='modul/mod_$module/form_$module.php?id_kunjungan_berobat=$r[id_kunjungan_berobat]&id_module=$id&width=720&height=560&module=$module&TB_iframe=true' title='Update $nmmodule'><span class='icon'><i class='fa fa-pencil'></i></span></a>"; |
| 79 | 79 | // } else { |
@@ -81,7 +81,7 @@ discard block |
||
| 81 | 81 | // } |
| 82 | 82 | } |
| 83 | 83 | |
| 84 | - if ($r_delete == 'Y') { |
|
| 84 | + if ($r_delete=='Y') { |
|
| 85 | 85 | //if ($status == '0') { |
| 86 | 86 | echo"<a href='modul/mod_$module/aksi_$module.php?module=$module&act=hapus&id=$r[id_kunjungan_berobat]&id_module=$id' onClick=\"return confirm('Delete this record ?')\" title='Delete $nmmodule'><span class='icon'><i class='fa fa-trash'></i></span></a>"; |
| 87 | 87 | |
@@ -102,10 +102,10 @@ discard block |
||
| 102 | 102 | <select name="jenis_transaksi" class="form-control"> |
| 103 | 103 | <?php |
| 104 | 104 | $query = mysql_query('SELECT * FROM jenis_transaksi ORDER BY id_jenis_transaksi'); |
| 105 | - if ($query && mysql_num_rows($query) > 0) { |
|
| 105 | + if ($query && mysql_num_rows($query)>0) { |
|
| 106 | 106 | while ($row = mysql_fetch_object($query)) { |
| 107 | 107 | echo '<option value="'.$row->id_jenis_transaksi.'"'; |
| 108 | - if ($row->id_jenis_transaksi == '1') { |
|
| 108 | + if ($row->id_jenis_transaksi=='1') { |
|
| 109 | 109 | echo ' selected'; |
| 110 | 110 | } |
| 111 | 111 | echo '>'.$row->jenis_transaksi.'</option>'; |
@@ -142,7 +142,7 @@ discard block |
||
| 142 | 142 | </form> |
| 143 | 143 | |
| 144 | 144 | </div> |
| 145 | - <?php for ($i = 0; $i <= 20; $i++) { |
|
| 145 | + <?php for ($i = 0; $i<=20; $i++) { |
|
| 146 | 146 | ?> |
| 147 | 147 | <br /> |
| 148 | 148 | <?php |
@@ -94,12 +94,12 @@ discard block |
||
| 94 | 94 | <option>--Pilih Pasien--</option> |
| 95 | 95 | <?php |
| 96 | 96 | $query = mysql_query('SELECT * FROM pasien ORDER BY nama'); |
| 97 | - if ($query && mysql_num_rows($query) > 0) { |
|
| 97 | + if ($query && mysql_num_rows($query)>0) { |
|
| 98 | 98 | while ($row = mysql_fetch_object($query)) { |
| 99 | 99 | $pasien = $row->ktp.'-'.$row->nama; |
| 100 | 100 | |
| 101 | 101 | echo '<option value="'.$row->id_pasien.'"'; |
| 102 | - if ($row->id_pasien == @$data->id_pasien) { |
|
| 102 | + if ($row->id_pasien==@$data->id_pasien) { |
|
| 103 | 103 | echo ' selected'; |
| 104 | 104 | } |
| 105 | 105 | echo '>'.$pasien.'</option>'; |
@@ -148,7 +148,7 @@ discard block |
||
| 148 | 148 | </form> |
| 149 | 149 | |
| 150 | 150 | </div> |
| 151 | - <?php for ($i = 0; $i <= 20; $i++) { |
|
| 151 | + <?php for ($i = 0; $i<=20; $i++) { |
|
| 152 | 152 | ?> |
| 153 | 153 | <br /> |
| 154 | 154 | <?php |
@@ -6,7 +6,7 @@ discard block |
||
| 6 | 6 | |
| 7 | 7 | <script type="text/javascript"> |
| 8 | 8 | |
| 9 | -<?php for ($i = 1; $i <= 100; $i++) { |
|
| 9 | +<?php for ($i = 1; $i<=100; $i++) { |
|
| 10 | 10 | ?> |
| 11 | 11 | |
| 12 | 12 | function Getstatus<?php echo $i; ?>(str) {
|
@@ -26,7 +26,7 @@ discard block |
||
| 26 | 26 | |
| 27 | 27 | |
| 28 | 28 | |
| 29 | -<?php for ($i = 1; $i <= 100; $i++) { |
|
| 29 | +<?php for ($i = 1; $i<=100; $i++) { |
|
| 30 | 30 | ?> |
| 31 | 31 | |
| 32 | 32 | <script> |
@@ -90,7 +90,7 @@ discard block |
||
| 90 | 90 | |
| 91 | 91 | default: |
| 92 | 92 | |
| 93 | -if ($_SESSION['outlet'] == '0') { |
|
| 93 | +if ($_SESSION['outlet']=='0') { |
|
| 94 | 94 | $d_outlet = '%'; |
| 95 | 95 | } else { |
| 96 | 96 | $d_outlet = $_SESSION['outlet']; |
@@ -99,7 +99,7 @@ discard block |
||
| 99 | 99 | if ($_GET['ioutlet']) { |
| 100 | 100 | $outlet = $_GET['ioutlet']; |
| 101 | 101 | } else { |
| 102 | - if ($_SESSION['outlet'] == '0') { |
|
| 102 | + if ($_SESSION['outlet']=='0') { |
|
| 103 | 103 | $outlet = '1'; |
| 104 | 104 | } else { |
| 105 | 105 | $outlet = $_SESSION['outlet']; |
@@ -108,7 +108,7 @@ discard block |
||
| 108 | 108 | |
| 109 | 109 | $query = mysql_query('SELECT * FROM periode '); |
| 110 | 110 | |
| 111 | -if ($query && mysql_num_rows($query) == 1) { |
|
| 111 | +if ($query && mysql_num_rows($query)==1) { |
|
| 112 | 112 | $data = mysql_fetch_object($query); |
| 113 | 113 | } |
| 114 | 114 | |
@@ -182,11 +182,11 @@ discard block |
||
| 182 | 182 | |
| 183 | 183 | $query = mysql_query("SELECT * FROM outlet where id_outlet like '$d_outlet' ORDER BY id_outlet"); |
| 184 | 184 | |
| 185 | - if ($query && mysql_num_rows($query) > 0) { |
|
| 185 | + if ($query && mysql_num_rows($query)>0) { |
|
| 186 | 186 | while ($row = mysql_fetch_object($query)) { |
| 187 | 187 | echo '<option value="'.$row->id_outlet.'"'; |
| 188 | 188 | |
| 189 | - if ($row->id_outlet == $outlet) { |
|
| 189 | + if ($row->id_outlet==$outlet) { |
|
| 190 | 190 | echo ' selected'; |
| 191 | 191 | } |
| 192 | 192 | |
@@ -210,11 +210,11 @@ discard block |
||
| 210 | 210 | |
| 211 | 211 | $query = mysql_query('SELECT * FROM status ORDER BY id_status'); |
| 212 | 212 | |
| 213 | - if ($query && mysql_num_rows($query) > 0) { |
|
| 213 | + if ($query && mysql_num_rows($query)>0) { |
|
| 214 | 214 | while ($row = mysql_fetch_object($query)) { |
| 215 | 215 | echo '<option value="'.$row->id_status.'"'; |
| 216 | 216 | |
| 217 | - if ($row->id_status == $status) { |
|
| 217 | + if ($row->id_status==$status) { |
|
| 218 | 218 | echo ' selected'; |
| 219 | 219 | } |
| 220 | 220 | |
@@ -287,13 +287,13 @@ discard block |
||
| 287 | 287 | |
| 288 | 288 | $pj = mysql_num_rows($pjSQL); |
| 289 | 289 | |
| 290 | - if ($iprd == $prd) { |
|
| 290 | + if ($iprd==$prd) { |
|
| 291 | 291 | $disabled = ''; |
| 292 | 292 | } else { |
| 293 | 293 | $disabled = 'disabled'; |
| 294 | 294 | } |
| 295 | 295 | |
| 296 | - if ($pj == 0) { |
|
| 296 | + if ($pj==0) { |
|
| 297 | 297 | $disabled1 = 'disabled'; |
| 298 | 298 | } else { |
| 299 | 299 | $disabled1 = ''; |
@@ -443,11 +443,11 @@ discard block |
||
| 443 | 443 | |
| 444 | 444 | $query = mysql_query('SELECT * FROM status ORDER BY id_status'); |
| 445 | 445 | |
| 446 | - if ($query && mysql_num_rows($query) > 0) { |
|
| 446 | + if ($query && mysql_num_rows($query)>0) { |
|
| 447 | 447 | while ($row = mysql_fetch_object($query)) { |
| 448 | 448 | echo '<option value="'.$row->id_status.'"'; |
| 449 | 449 | |
| 450 | - if ($row->id_status == $r[status_diskon]) { |
|
| 450 | + if ($row->id_status==$r[status_diskon]) { |
|
| 451 | 451 | echo ' selected'; |
| 452 | 452 | } |
| 453 | 453 | |
@@ -53,7 +53,7 @@ |
||
| 53 | 53 | echo"<td style='text-align:center;'>$r[aktif]</td>"; |
| 54 | 54 | echo" <td style='text-align:center;'>"; |
| 55 | 55 | |
| 56 | - if ($r_edit == 'Y') { |
|
| 56 | + if ($r_edit=='Y') { |
|
| 57 | 57 | echo"<a class='thickbox' href='modul/mod_$module/form_$module.php?id_kategori=$r[id_kategori]&id_module=$id&width=720&height=560&module=$module&TB_iframe=true' title='Update $nmmodule'><span class='icon'><i class='fa fa-pencil'></i></span></a>"; |
| 58 | 58 | } |
| 59 | 59 | |
@@ -53,7 +53,7 @@ |
||
| 53 | 53 | echo"<td style='text-align:center;'>$r[aktif]</td>"; |
| 54 | 54 | echo" <td style='text-align:center;'>"; |
| 55 | 55 | |
| 56 | - if ($r_edit == 'Y') { |
|
| 56 | + if ($r_edit=='Y') { |
|
| 57 | 57 | echo"<a class='thickbox' href='modul/mod_$module/form_$module.php?id_satuan=$r[id_satuan]&id_module=$id&width=720&height=560&module=$module&TB_iframe=true' title='Update $nmmodule'><span class='icon'><i class='fa fa-pencil'></i></span></a>"; |
| 58 | 58 | } |
| 59 | 59 | |
@@ -125,7 +125,7 @@ |
||
| 125 | 125 | </form> |
| 126 | 126 | |
| 127 | 127 | </div> |
| 128 | - <?php for ($i = 0; $i <= 20; $i++) { |
|
| 128 | + <?php for ($i = 0; $i<=20; $i++) { |
|
| 129 | 129 | ?> |
| 130 | 130 | <br /> |
| 131 | 131 | <?php |
@@ -125,7 +125,7 @@ |
||
| 125 | 125 | </form> |
| 126 | 126 | |
| 127 | 127 | </div> |
| 128 | - <?php for ($i = 0; $i <= 20; $i++) { |
|
| 128 | + <?php for ($i = 0; $i<=20; $i++) { |
|
| 129 | 129 | ?> |
| 130 | 130 | <br /> |
| 131 | 131 | <?php |