Passed
Pull Request — master (#7)
by Saepul
04:54
created
modul/mod_rujukan/rujukan.php 1 patch
Switch Indentation   +26 added lines, -26 removed lines patch added patch discarded remove patch
@@ -2,8 +2,8 @@  discard block
 block discarded – undo
2 2
 <?php
3 3
 switch ($_GET[act]) {
4 4
 
5
-default:
6
-  ?>
5
+    default:
6
+      ?>
7 7
 
8 8
  <div class="">
9 9
                    
@@ -44,35 +44,35 @@  discard block
 block discarded – undo
44 44
                             
45 45
                          <?php
46 46
 
47
-            $tampil = mysql_query('SELECT * FROM rujukan ORDER BY id_rujukan');
47
+                $tampil = mysql_query('SELECT * FROM rujukan ORDER BY id_rujukan');
48 48
 
49
-            $no = 1;
49
+                $no = 1;
50 50
 
51
-            while ($r = mysql_fetch_array($tampil)) {
52
-                if ($r[tipe] == 'R') {
53
-                    $tipe = 'RS/Klinik';
54
-                } else {
55
-                    $tipe = 'Lab';
56
-                }
51
+                while ($r = mysql_fetch_array($tampil)) {
52
+                    if ($r[tipe] == 'R') {
53
+                        $tipe = 'RS/Klinik';
54
+                    } else {
55
+                        $tipe = 'Lab';
56
+                    }
57 57
 
58
-                echo'<tr>';
59
-                echo"<td>$tipe</td>";
60
-                echo"<td>$r[rujukan]</td>";
61
-                echo"<td style='text-align:center;'>$r[aktif]</td>";
62
-                echo" <td  style='text-align:center;'>";
58
+                    echo'<tr>';
59
+                    echo"<td>$tipe</td>";
60
+                    echo"<td>$r[rujukan]</td>";
61
+                    echo"<td style='text-align:center;'>$r[aktif]</td>";
62
+                    echo" <td  style='text-align:center;'>";
63 63
 
64
-                if ($r_edit == 'Y') {
65
-                    echo"<a class='thickbox' href='modul/mod_$module/form_$module.php?id_rujukan=$r[id_rujukan]&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>";
66
-                }
64
+                    if ($r_edit == 'Y') {
65
+                        echo"<a class='thickbox' href='modul/mod_$module/form_$module.php?id_rujukan=$r[id_rujukan]&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>";
66
+                    }
67 67
 
68
-                // if($r_delete == 'Y') {
69
-                // echo"<a href='modul/mod_$module/aksi_$module.php?module=$module&act=hapus&id=$r[id_rujukan]&id_module=$id' onClick=\"return confirm('Hapus data ?')\" title='Delete $nmmodule'><span class='icon'><i class='fa fa-trash'></i></span></a>";
70
-                // }
71
-                echo'</td>';
72
-                echo'</tr>';
73
-                $no++;
74
-            }
75
-                                ?>
68
+                    // if($r_delete == 'Y') {
69
+                    // echo"<a href='modul/mod_$module/aksi_$module.php?module=$module&act=hapus&id=$r[id_rujukan]&id_module=$id' onClick=\"return confirm('Hapus data ?')\" title='Delete $nmmodule'><span class='icon'><i class='fa fa-trash'></i></span></a>";
70
+                    // }
71
+                    echo'</td>';
72
+                    echo'</tr>';
73
+                    $no++;
74
+                }
75
+                                    ?>
76 76
                          </tbody>
77 77
                     </table>
78 78
                   </div>
Please login to merge, or discard this patch.
mod_approval_diskon_penjualan_barang/approval_diskon_penjualan_barang.php 1 patch
Switch Indentation   +91 added lines, -91 removed lines patch added patch discarded remove patch
@@ -86,19 +86,19 @@  discard block
 block discarded – undo
86 86
 
87 87
 
88 88
 
89
-default:  
89
+    default:  
90 90
 
91 91
 
92 92
 
93 93
 
94 94
 
95
-if ($_SESSION['outlet'] == '0') {
95
+    if ($_SESSION['outlet'] == '0') {
96 96
 
97
-  $d_outlet = '%'; 
97
+      $d_outlet = '%'; 
98 98
 
99 99
 }  else {
100 100
 
101
-   $d_outlet = $_SESSION['outlet'];
101
+       $d_outlet = $_SESSION['outlet'];
102 102
 
103 103
 } 
104 104
 
@@ -106,23 +106,23 @@  discard block
 block discarded – undo
106 106
 
107 107
 
108 108
 
109
-if ($_GET['ioutlet']) {
109
+    if ($_GET['ioutlet']) {
110 110
 
111
-  $outlet = $_GET['ioutlet'];   
111
+      $outlet = $_GET['ioutlet'];   
112 112
 
113 113
 } else {
114 114
 
115
-  if ($_SESSION['outlet'] == '0') {
115
+      if ($_SESSION['outlet'] == '0') {
116 116
 
117
-    $outlet = '1';    
117
+        $outlet = '1';    
118 118
 
119
-  }  else {
119
+      }  else {
120 120
 
121
-     $outlet = $_SESSION['outlet'];
121
+         $outlet = $_SESSION['outlet'];
122 122
 
123 123
      
124 124
 
125
-  } 
125
+      } 
126 126
 
127 127
 }
128 128
 
@@ -130,41 +130,41 @@  discard block
 block discarded – undo
130 130
 
131 131
 
132 132
 
133
-$query = mysql_query('SELECT * FROM periode ');
133
+    $query = mysql_query('SELECT * FROM periode ');
134 134
 
135 135
 
136 136
 
137
-if($query && mysql_num_rows($query) == 1){
137
+    if($query && mysql_num_rows($query) == 1){
138 138
 
139
-  $data = mysql_fetch_object($query);
139
+      $data = mysql_fetch_object($query);
140 140
 
141
- }
141
+     }
142 142
 
143 143
   
144 144
 
145
-$iprd  =  $data->periode; 
145
+    $iprd  =  $data->periode; 
146 146
 
147 147
 
148 148
 
149
-if ($_GET['prd']) {
149
+    if ($_GET['prd']) {
150 150
 
151
-  $prd = $_GET['prd'];
151
+      $prd = $_GET['prd'];
152 152
 
153 153
 } else {
154 154
 
155
-  $prd = $prd;
155
+      $prd = $prd;
156 156
 
157 157
 }
158 158
 
159 159
 
160 160
 
161
-if ($_GET['istatus']) {
161
+    if ($_GET['istatus']) {
162 162
 
163
-  $status = $_GET['istatus'];   
163
+      $status = $_GET['istatus'];   
164 164
 
165 165
 } else {
166 166
 
167
-  $status = '0';
167
+      $status = '0';
168 168
 
169 169
    
170 170
 
@@ -172,7 +172,7 @@  discard block
 block discarded – undo
172 172
 
173 173
 
174 174
 
175
-  ?>
175
+      ?>
176 176
 
177 177
 
178 178
 
@@ -226,23 +226,23 @@  discard block
 block discarded – undo
226 226
 
227 227
        <?
228 228
 
229
-         $query = mysql_query("SELECT * FROM outlet where id_outlet like '$d_outlet' ORDER BY id_outlet");
229
+             $query = mysql_query("SELECT * FROM outlet where id_outlet like '$d_outlet' ORDER BY id_outlet");
230 230
 
231
-          if($query && mysql_num_rows($query) > 0){
231
+              if($query && mysql_num_rows($query) > 0){
232 232
 
233
-             while($row = mysql_fetch_object($query)){
233
+                 while($row = mysql_fetch_object($query)){
234 234
 
235
-             echo '<option value="'.$row->id_outlet.'"';
235
+                 echo '<option value="'.$row->id_outlet.'"';
236 236
 
237
-             if($row->id_outlet == $outlet) echo ' selected';
237
+                 if($row->id_outlet == $outlet) echo ' selected';
238 238
 
239
-             echo '>'.$row->outlet.'</option>';
239
+                 echo '>'.$row->outlet.'</option>';
240 240
 
241
-             }
241
+                 }
242 242
 
243
-          }        
243
+              }        
244 244
 
245
-       ?>  
245
+           ?>  
246 246
 
247 247
        </select>        
248 248
 
@@ -256,23 +256,23 @@  discard block
 block discarded – undo
256 256
 
257 257
         <?
258 258
 
259
-          $query = mysql_query('SELECT * FROM status ORDER BY id_status');
259
+              $query = mysql_query('SELECT * FROM status ORDER BY id_status');
260 260
 
261
-           if($query && mysql_num_rows($query) > 0){
261
+               if($query && mysql_num_rows($query) > 0){
262 262
 
263
-              while($row = mysql_fetch_object($query)){
263
+                  while($row = mysql_fetch_object($query)){
264 264
 
265
-              echo '<option value="'.$row->id_status.'"';
265
+                  echo '<option value="'.$row->id_status.'"';
266 266
 
267
-              if($row->id_status == $status) echo ' selected';
267
+                  if($row->id_status == $status) echo ' selected';
268 268
 
269
-              echo '>'.$row->status.'</option>';
269
+                  echo '>'.$row->status.'</option>';
270 270
 
271
-              }
271
+                  }
272 272
 
273
-           }        
273
+               }        
274 274
 
275
-        ?>  
275
+            ?>  
276 276
 
277 277
         </select>        
278 278
 
@@ -328,7 +328,7 @@  discard block
 block discarded – undo
328 328
 
329 329
 
330 330
 
331
-    $pjSQL = mysql_query("SELECT * FROM penjualan_barang_detail 
331
+        $pjSQL = mysql_query("SELECT * FROM penjualan_barang_detail 
332 332
 
333 333
                           WHERE status_diskon = '$status' and prd = '$prd' and disc1 > 0
334 334
 
@@ -338,35 +338,35 @@  discard block
 block discarded – undo
338 338
 
339 339
 
340 340
 
341
-   $pj=mysql_num_rows($pjSQL);
341
+       $pj=mysql_num_rows($pjSQL);
342 342
 
343 343
 
344 344
 
345
-   if ($iprd == $prd) {
345
+       if ($iprd == $prd) {
346 346
 
347
-      $disabled = ''; 
347
+          $disabled = ''; 
348 348
 
349
-    } else {
349
+        } else {
350 350
 
351
-      $disabled = 'disabled';
351
+          $disabled = 'disabled';
352 352
 
353
-    }
353
+        }
354 354
 
355 355
 
356 356
 
357
-    if ($pj == 0) {
357
+        if ($pj == 0) {
358 358
 
359
-      $disabled1 = 'disabled'; 
359
+          $disabled1 = 'disabled'; 
360 360
 
361
-    } else {
361
+        } else {
362 362
 
363
-      $disabled1 = '';
363
+          $disabled1 = '';
364 364
 
365
-    }
365
+        }
366 366
 
367 367
 
368 368
 
369
-    ?>
369
+        ?>
370 370
 
371 371
 
372 372
 
@@ -413,7 +413,7 @@  discard block
 block discarded – undo
413 413
                   <button type="submit"   class="btn btn-success btn-sm   "
414 414
 
415 415
                   <?php echo $disabled?>
416
-
416
+    
417 417
                 <?php echo $disabled1?>
418 418
 
419 419
                   >
@@ -448,7 +448,7 @@  discard block
 block discarded – undo
448 448
 
449 449
 
450 450
 
451
-         $tampil=mysql_query("SELECT b.*,c.customer,a.tanggal 
451
+             $tampil=mysql_query("SELECT b.*,c.customer,a.tanggal 
452 452
 
453 453
                                 , case when b.id_barang = '0' then e.paket else d.barang end as barang 
454 454
 
@@ -492,63 +492,63 @@  discard block
 block discarded – undo
492 492
 
493 493
          
494 494
 
495
-         $no = 1;
495
+             $no = 1;
496 496
 
497 497
          
498 498
 
499
-         while ($r=mysql_fetch_array($tampil)){  
499
+             while ($r=mysql_fetch_array($tampil)){  
500 500
 
501 501
 
502 502
 
503 503
           
504 504
 
505
-          $tgl = date("d/m/y", strtotime($r['tanggal']));
505
+              $tgl = date("d/m/y", strtotime($r['tanggal']));
506 506
 
507 507
 
508 508
 
509 509
              
510 510
 
511
-         echo"<tr>";
511
+             echo"<tr>";
512 512
 
513 513
 
514 514
 
515
-         echo"<td>$tgl </td>";
515
+             echo"<td>$tgl </td>";
516 516
 
517
-         echo"<td>$r[notrans]</td>";
517
+             echo"<td>$r[notrans]</td>";
518 518
 
519
-         echo"<td>$r[customer]</td>";
519
+             echo"<td>$r[customer]</td>";
520 520
 
521
-         echo"<td>$r[barang]</td>";
521
+             echo"<td>$r[barang]</td>";
522 522
 
523
-         echo"<td  style='text-align:right;'>".number_format($r[total],'0','.',',')."</td>";
523
+             echo"<td  style='text-align:right;'>".number_format($r[total],'0','.',',')."</td>";
524 524
 
525
-         echo"<td  style='text-align:right;'>".number_format($r[disc1],'2','.',',')." % | Rp. ".number_format($r[disc_value1],'0','.',',')."</td>";
525
+             echo"<td  style='text-align:right;'>".number_format($r[disc1],'2','.',',')." % | Rp. ".number_format($r[disc_value1],'0','.',',')."</td>";
526 526
 
527
-         echo"<td>";
527
+             echo"<td>";
528 528
 
529
-         ?>
529
+             ?>
530 530
 
531 531
          <select name="status<?php echo $no;?>" class="form-control" onchange="Getstatus<?php echo $no;?>(this.value)">
532 532
 
533 533
         <?
534 534
 
535
-          $query = mysql_query('SELECT * FROM status ORDER BY id_status');
535
+              $query = mysql_query('SELECT * FROM status ORDER BY id_status');
536 536
 
537
-           if($query && mysql_num_rows($query) > 0){
537
+               if($query && mysql_num_rows($query) > 0){
538 538
 
539
-              while($row = mysql_fetch_object($query)){
539
+                  while($row = mysql_fetch_object($query)){
540 540
 
541
-              echo '<option value="'.$row->id_status.'"';
541
+                  echo '<option value="'.$row->id_status.'"';
542 542
 
543
-              if($row->id_status == $r[status_diskon]) echo ' selected';
543
+                  if($row->id_status == $r[status_diskon]) echo ' selected';
544 544
 
545
-              echo '>'.$row->status.'</option>';
545
+                  echo '>'.$row->status.'</option>';
546 546
 
547
-              }
547
+                  }
548 548
 
549
-           }        
549
+               }        
550 550
 
551
-        ?>  
551
+            ?>  
552 552
 
553 553
         </select>        
554 554
 
@@ -558,43 +558,43 @@  discard block
 block discarded – undo
558 558
 
559 559
          <?
560 560
 
561
-         echo"</td>";  
561
+             echo"</td>";  
562 562
 
563
-         echo"<td style='text-align:center;'>";  
563
+             echo"<td style='text-align:center;'>";  
564 564
 
565 565
        
566 566
 
567
-        echo"<input type='hidden' name='id".$no."' value = '$r[id_penjualan_barang_detail]'>";
567
+            echo"<input type='hidden' name='id".$no."' value = '$r[id_penjualan_barang_detail]'>";
568 568
 
569
-        echo"<input type='hidden' name='prd".$no."' value = '$r[prd]'>"; 
569
+            echo"<input type='hidden' name='prd".$no."' value = '$r[prd]'>"; 
570 570
 
571
-        echo"<input type='hidden' name='notrans".$no."' value = '$r[notrans]'>";
571
+            echo"<input type='hidden' name='notrans".$no."' value = '$r[notrans]'>";
572 572
 
573
-        echo"<input type='hidden' name='outlet".$no."' value = '$r[id_outlet]'>"; 
573
+            echo"<input type='hidden' name='outlet".$no."' value = '$r[id_outlet]'>"; 
574 574
 
575
-        echo"<input type='hidden' name='p_status".$no."' id='p_status".$no."' value = '$status'>"; 
575
+            echo"<input type='hidden' name='p_status".$no."' id='p_status".$no."' value = '$status'>"; 
576 576
 
577 577
 
578 578
 
579 579
          
580 580
 
581
-  // echo"<a class='btn btn-default btn-sm' href='?module=$module&id_module=$id_module&id_pemesanan_barang=$r[id_pemesanan_barang]&prd=$prd&outlet=$outlet&act=detail' title='Detail Penarikan Simpanan'><span class='icon'><i class='fa fa-pencil-square-o'></i></span></a>"; 
581
+      // echo"<a class='btn btn-default btn-sm' href='?module=$module&id_module=$id_module&id_pemesanan_barang=$r[id_pemesanan_barang]&prd=$prd&outlet=$outlet&act=detail' title='Detail Penarikan Simpanan'><span class='icon'><i class='fa fa-pencil-square-o'></i></span></a>"; 
582 582
 
583 583
  
584 584
 
585
-         echo"</td>";          
585
+             echo"</td>";          
586 586
 
587 587
 
588 588
 
589
-         echo"</tr>";
589
+             echo"</tr>";
590 590
 
591
-         $no++;            
591
+             $no++;            
592 592
 
593
-         }
593
+             }
594 594
 
595 595
        
596 596
 
597
-         ?>
597
+             ?>
598 598
 
599 599
 
600 600
 
@@ -692,7 +692,7 @@  discard block
 block discarded – undo
692 692
 
693 693
     <?php
694 694
 
695
-break;
695
+    break;
696 696
 
697 697
 }
698 698
 
Please login to merge, or discard this patch.
modul/mod_report_rekam_medis/report_rekam_medis.php 1 patch
Switch Indentation   +31 added lines, -31 removed lines patch added patch discarded remove patch
@@ -56,15 +56,15 @@  discard block
 block discarded – undo
56 56
 <?php
57 57
 switch($_GET[act]){
58 58
 
59
-default:  
59
+    default:  
60 60
 
61
-$fdate   = date("Y-m-01");
62
-$ldate   = date("Y-m-d");
61
+    $fdate   = date("Y-m-01");
62
+    $ldate   = date("Y-m-d");
63 63
 
64
-$prd   = date("Y-m");
64
+    $prd   = date("Y-m");
65 65
 
66
-$userid   = $_SESSION['userid'];  
67
-  ?>
66
+    $userid   = $_SESSION['userid'];  
67
+      ?>
68 68
 
69 69
  <div class="">
70 70
                    
@@ -93,18 +93,18 @@  discard block
 block discarded – undo
93 93
                     <select required name="pasien" class="form-control">
94 94
                      <option>--Pilih Pasien--</option>                
95 95
                         <?php
96
-                          $query = mysql_query('SELECT * FROM pasien ORDER BY nama');
97
-                           if($query && mysql_num_rows($query) > 0){
98
-                              while($row = mysql_fetch_object($query)){
99
-
100
-                                $pasien = $row->ktp.'-'.$row->nama;
101
-
102
-                                 echo '<option value="'.$row->id_pasien.'"';
103
-                                 if($row->id_pasien == @$data->id_pasien) echo ' selected';
104
-                                 echo '>'.$pasien.'</option>';
105
-                              }
106
-                           }        
107
-                    ?>
96
+                              $query = mysql_query('SELECT * FROM pasien ORDER BY nama');
97
+                               if($query && mysql_num_rows($query) > 0){
98
+                                  while($row = mysql_fetch_object($query)){
99
+
100
+                                    $pasien = $row->ktp.'-'.$row->nama;
101
+
102
+                                     echo '<option value="'.$row->id_pasien.'"';
103
+                                     if($row->id_pasien == @$data->id_pasien) echo ' selected';
104
+                                     echo '>'.$pasien.'</option>';
105
+                                  }
106
+                               }        
107
+                        ?>
108 108
                     </select>
109 109
                 </div> 
110 110
 
@@ -129,30 +129,30 @@  discard block
 block discarded – undo
129 129
                 <div class="col-md-9 col-sm-9 col-xs-9 form-group"> 
130 130
                  <label class="control-label">
131 131
                     <?
132
-                    echo"<input type=radio name='printto' value='1' class='flat' checked>&nbsp Preview &nbsp</label>";
133
-                    echo"<input type=radio name='printto' value='2' class='flat'>&nbsp Print</label> ";
134
-                    ?>      
132
+                        echo"<input type=radio name='printto' value='1' class='flat' checked>&nbsp Preview &nbsp</label>";
133
+                        echo"<input type=radio name='printto' value='2' class='flat'>&nbsp Print</label> ";
134
+                        ?>      
135 135
                  </label>             
136 136
                 </div> 
137 137
 
138 138
              <?php
139 139
 
140
-             $module = '?module='.$_GET['module'];          
141
-             $tampil=mysql_query("SELECT id_modul as id FROM modul WHERE link='".$module."'");                       
142
-             $r=mysql_fetch_array($tampil);
140
+                 $module = '?module='.$_GET['module'];          
141
+                 $tampil=mysql_query("SELECT id_modul as id FROM modul WHERE link='".$module."'");                       
142
+                 $r=mysql_fetch_array($tampil);
143 143
 
144
-             echo"<input type='hidden' name='report_id' id='report_id' value=".$r[id].">"; 
145
-             echo"<input type='hidden' name='module' value=".$_GET[module].">";
146
-            ?>
144
+                 echo"<input type='hidden' name='report_id' id='report_id' value=".$r[id].">"; 
145
+                 echo"<input type='hidden' name='module' value=".$_GET[module].">";
146
+                ?>
147 147
             </form>    
148 148
                    
149 149
                 </div>
150 150
                 <?php for($i = 0; $i <= 20; $i++)  { 
151
-                    ?>
152
-                    <br />
151
+                        ?>
152
+                        <br />
153 153
                     <?php
154
-                    }
155
-                    ?>
154
+                        }
155
+                        ?>
156 156
                  </div>
157 157
                    
158 158
                   
Please login to merge, or discard this patch.
modul/mod_report_rekap_harian/report_rekap_harian.php 1 patch
Switch Indentation   +28 added lines, -28 removed lines patch added patch discarded remove patch
@@ -56,15 +56,15 @@  discard block
 block discarded – undo
56 56
 <?php
57 57
 switch($_GET[act]){
58 58
 
59
-default:  
59
+    default:  
60 60
 
61
-$fdate   = date("Y-m-01");
62
-$ldate   = date("Y-m-d");
61
+    $fdate   = date("Y-m-01");
62
+    $ldate   = date("Y-m-d");
63 63
 
64
-$prd   = date("Y-m");
64
+    $prd   = date("Y-m");
65 65
 
66
-$userid   = $_SESSION['userid'];  
67
-  ?>
66
+    $userid   = $_SESSION['userid'];  
67
+      ?>
68 68
 
69 69
  <div class="">
70 70
                    
@@ -101,15 +101,15 @@  discard block
 block discarded – undo
101 101
                 <div class="col-md-9 col-sm-9 col-xs-9 form-group"> 
102 102
                      <select name="jenis_transaksi" class="form-control">
103 103
                         <?php
104
-                          $query = mysql_query('SELECT * FROM jenis_transaksi ORDER BY id_jenis_transaksi');
105
-                           if($query && mysql_num_rows($query) > 0){
106
-                              while($row = mysql_fetch_object($query)){
107
-                              echo '<option value="'.$row->id_jenis_transaksi.'"';
108
-                              if($row->id_jenis_transaksi == '1') echo ' selected';
109
-                              echo '>'.$row->jenis_transaksi.'</option>';
110
-                              }
111
-                           }        
112
-                        ?>  
104
+                              $query = mysql_query('SELECT * FROM jenis_transaksi ORDER BY id_jenis_transaksi');
105
+                               if($query && mysql_num_rows($query) > 0){
106
+                                  while($row = mysql_fetch_object($query)){
107
+                                  echo '<option value="'.$row->id_jenis_transaksi.'"';
108
+                                  if($row->id_jenis_transaksi == '1') echo ' selected';
109
+                                  echo '>'.$row->jenis_transaksi.'</option>';
110
+                                  }
111
+                               }        
112
+                            ?>  
113 113
                         </select>                
114 114
                 </div>
115 115
                
@@ -122,30 +122,30 @@  discard block
 block discarded – undo
122 122
                 <div class="col-md-9 col-sm-9 col-xs-9 form-group"> 
123 123
                  <label class="control-label">
124 124
                     <?php
125
-                    echo"<input type=radio name='printto' value='1' class='flat' checked>&nbsp Preview &nbsp</label>";
126
-                    echo"<input type=radio name='printto' value='2' class='flat'>&nbsp Print</label> ";
127
-                    ?>      
125
+                        echo"<input type=radio name='printto' value='1' class='flat' checked>&nbsp Preview &nbsp</label>";
126
+                        echo"<input type=radio name='printto' value='2' class='flat'>&nbsp Print</label> ";
127
+                        ?>      
128 128
                  </label>             
129 129
                 </div> 
130 130
 
131 131
              <?php
132 132
 
133
-             $module = '?module='.$_GET['module'];          
134
-             $tampil=mysql_query("SELECT id_modul as id FROM modul WHERE link='".$module."'");                       
135
-             $r=mysql_fetch_array($tampil);
133
+                 $module = '?module='.$_GET['module'];          
134
+                 $tampil=mysql_query("SELECT id_modul as id FROM modul WHERE link='".$module."'");                       
135
+                 $r=mysql_fetch_array($tampil);
136 136
 
137
-             echo"<input type='hidden' name='report_id' id='report_id' value=".$r[id].">"; 
138
-             echo"<input type='hidden' name='module' value=".$_GET[module].">";
139
-            ?>
137
+                 echo"<input type='hidden' name='report_id' id='report_id' value=".$r[id].">"; 
138
+                 echo"<input type='hidden' name='module' value=".$_GET[module].">";
139
+                ?>
140 140
             </form>    
141 141
                    
142 142
                 </div>
143 143
                 <?php for($i = 0; $i <= 20; $i++)  { 
144
-                    ?>
145
-                    <br />
144
+                        ?>
145
+                        <br />
146 146
                     <?php
147
-                    }
148
-                    ?>
147
+                        }
148
+                        ?>
149 149
                  </div>
150 150
                    
151 151
                   
Please login to merge, or discard this patch.