-
Notifications
You must be signed in to change notification settings - Fork 7
/
db.php
1370 lines (1085 loc) · 63.7 KB
/
db.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
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
<!DOCTYPE html>
<?php
require_once "config_sistem.php";
?>
<html><head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<title>DB - Dashboard</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta charset="UTF-8">
<!-- Bootstrap -->
<link href="db_files/bootstrap.css" rel="stylesheet">
<link href="db_files/font-awesome.css" rel="stylesheet">
<link rel="stylesheet" href="db_files/animate.css">
<link type="text/css" rel="stylesheet" media="all" href="db_files/jquery.css">
<link rel="stylesheet" href="db_files/jquery_002.css">
<link rel="stylesheet" href="db_files/bootstrap-checkbox.css">
<link rel="stylesheet" href="db_files/rickshaw.css">
<link rel="stylesheet" href="db_files/morris.css">
<link rel="stylesheet" href="db_files/tabdrop.css">
<link rel="stylesheet" href="db_files/summernote.css">
<link rel="stylesheet" href="db_files/summernote-bs3.css">
<link rel="stylesheet" href="db_files/chosen.css">
<link rel="stylesheet" href="db_files/chosen-bootstrap.css">
<link href="db_files/minimal.css" rel="stylesheet">
<!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
<script src="https://oss.maxcdn.com/libs/respond.js/1.3.0/respond.min.js"></script>
<![endif]-->
<style type="text/css">.jqstooltip { position: absolute;left: 0px;top: 0px;visibility: hidden;background: rgb(0, 0, 0) transparent;background-color: rgba(0,0,0,0.6);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#99000000, endColorstr=#99000000);-ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr=#99000000, endColorstr=#99000000)";color: white;font: 10px arial, san serif;text-align: left;white-space: nowrap;padding: 5px;border: 1px solid white;z-index: 10000;}.jqsfield { color: white;font: 10px arial, san serif;text-align: left;}</style></head>
<body style="position: relative;" class="bg-1"><div id="mmenu" class="right-panel mm-menu mm-horizontal mm-right mm-next"><!-- Nav tabs --><ul id="mm-m0-p0" class="nav nav-tabs nav-justified mm-panel mm-opened mm-current">
<li class="active"><a href="#mmenu-users" data-toggle="tab"><i class="fa fa-users"></i></a></li>
<li class=""><a href="#mmenu-history" data-toggle="tab"><i class="fa fa-clock-o"></i></a></li>
<li class=""><a href="#mmenu-friends" data-toggle="tab"><i class="fa fa-heart"></i></a></li>
<li class=""><a href="#mmenu-settings" data-toggle="tab"><i class="fa fa-gear"></i></a></li>
</ul><!-- Tab panes --><div id="mm-m0-p1" class="tab-content mm-panel">
<div class="tab-pane active" id="mmenu-users">
<h5><strong>Online</strong> Users</h5>
<ul class="users-list">
<li class="online">
<div class="media">
<a class="pull-left profile-photo" href="#">
<img class="media-object" src="db_files/ici-avatar.jpg" alt="">
</a>
<div class="media-body">
<h6 class="media-heading">Ing. Imrich <strong>Kamarel</strong></h6>
<small><i class="fa fa-map-marker"></i> Ulaanbaatar, Mongolia</small>
<span class="badge badge-outline status"></span>
</div>
</div>
</li>
<li class="online">
<div class="media">
<a class="pull-left profile-photo" href="#">
<img class="media-object" src="db_files/arnold-avatar.jpg" alt="">
</a>
<span class="badge badge-red unread">3</span>
<div class="media-body">
<h6 class="media-heading">Arnold <strong>Karlsberg</strong></h6>
<small><i class="fa fa-map-marker"></i> Bratislava, Slovakia</small>
<span class="badge badge-outline status"></span>
</div>
</div>
</li>
<li class="online">
<div class="media">
<a class="pull-left profile-photo" href="#">
<img class="media-object" src="db_files/peter-avatar.jpg" alt="">
</a>
<div class="media-body">
<h6 class="media-heading">Peter <strong>Kay</strong></h6>
<small><i class="fa fa-map-marker"></i> Kosice, Slovakia</small>
<span class="badge badge-outline status"></span>
</div>
</div>
</li>
<li class="online">
<div class="media">
<a class="pull-left profile-photo" href="#">
<img class="media-object" src="db_files/george-avatar.jpg" alt="">
</a>
<div class="media-body">
<h6 class="media-heading">George <strong>McCain</strong></h6>
<small><i class="fa fa-map-marker"></i> Prague, Czech Republic</small>
<span class="badge badge-outline status"></span>
</div>
</div>
</li>
<li class="busy">
<div class="media">
<a class="pull-left profile-photo" href="#">
<img class="media-object" src="db_files/random-avatar1.jpg" alt="">
</a>
<div class="media-body">
<h6 class="media-heading">Lucius <strong>Cashmere</strong></h6>
<small><i class="fa fa-map-marker"></i> Wien, Austria</small>
<span class="badge badge-outline status"></span>
</div>
</div>
</li>
<li class="busy">
<div class="media">
<a class="pull-left profile-photo" href="#">
<img class="media-object" src="db_files/random-avatar2.jpg" alt="">
</a>
<div class="media-body">
<h6 class="media-heading">Jesse <strong>Phoenix</strong></h6>
<small><i class="fa fa-map-marker"></i> Berlin, Germany</small>
<span class="badge badge-outline status"></span>
</div>
</div>
</li>
</ul>
<h5><strong>Offline</strong> Users</h5>
<ul class="users-list">
<li class="offline">
<div class="media">
<a class="pull-left profile-photo" href="#">
<img class="media-object" src="db_files/random-avatar4.jpg" alt="">
</a>
<div class="media-body">
<h6 class="media-heading">Dell <strong>MacApple</strong></h6>
<small><i class="fa fa-map-marker"></i> Paris, France</small>
<span class="badge badge-outline status"></span>
</div>
</div>
</li>
<li class="offline">
<div class="media">
<a class="pull-left profile-photo" href="#">
<img class="media-object" src="db_files/random-avatar5.jpg" alt="">
</a>
<div class="media-body">
<h6 class="media-heading">Roger <strong>Flopple</strong></h6>
<small><i class="fa fa-map-marker"></i> Rome, Italia</small>
<span class="badge badge-outline status"></span>
</div>
</div>
</li>
<li class="offline">
<div class="media">
<a class="pull-left profile-photo" href="#">
<img class="media-object" src="db_files/random-avatar6.jpg" alt="">
</a>
<div class="media-body">
<h6 class="media-heading">Nico <strong>Vulture</strong></h6>
<small><i class="fa fa-map-marker"></i> Kyjev, Ukraine</small>
<span class="badge badge-outline status"></span>
</div>
</div>
</li>
<li class="offline">
<div class="media">
<a class="pull-left profile-photo" href="#">
<img class="media-object" src="db_files/random-avatar7.jpg" alt="">
</a>
<div class="media-body">
<h6 class="media-heading">Bobby <strong>Socks</strong></h6>
<small><i class="fa fa-map-marker"></i> Moscow, Russia</small>
<span class="badge badge-outline status"></span>
</div>
</div>
</li>
<li class="offline">
<div class="media">
<a class="pull-left profile-photo" href="#">
<img class="media-object" src="db_files/random-avatar8.jpg" alt="">
</a>
<div class="media-body">
<h6 class="media-heading">Anna <strong>Opichia</strong></h6>
<small><i class="fa fa-map-marker"></i> Budapest, Hungary</small>
<span class="badge badge-outline status"></span>
</div>
</div>
</li>
</ul>
</div>
<div class="tab-pane" id="mmenu-history">
<h5><strong>Chat</strong> History</h5>
<ul class="history-list">
<li class="online">
<div class="media">
<a class="pull-left profile-photo" href="#">
<img class="media-object" src="db_files/ici-avatar.jpg" alt="">
</a>
<div class="media-body">
<h6 class="media-heading">Ing. Imrich <strong>Kamarel</strong></h6>
<small>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor</small>
<span class="badge badge-outline status"></span>
</div>
</div>
</li>
<li class="busy">
<div class="media">
<a class="pull-left profile-photo" href="#">
<img class="media-object" src="db_files/arnold-avatar.jpg" alt="">
</a>
<span class="badge badge-red unread">3</span>
<div class="media-body">
<h6 class="media-heading">Arnold <strong>Karlsberg</strong></h6>
<small>Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur</small>
<span class="badge badge-outline status"></span>
</div>
</div>
</li>
<li class="offline">
<div class="media">
<a class="pull-left profile-photo" href="#">
<img class="media-object" src="db_files/peter-avatar.jpg" alt="">
</a>
<div class="media-body">
<h6 class="media-heading">Peter <strong>Kay</strong></h6>
<small>Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit </small>
<span class="badge badge-outline status"></span>
</div>
</div>
</li>
</ul>
</div>
<div class="tab-pane" id="mmenu-friends">
<h5><strong>Friends</strong> List</h5>
<ul class="favourite-list">
<li class="online">
<div class="media">
<a class="pull-left profile-photo" href="#">
<img class="media-object" src="db_files/arnold-avatar.jpg" alt="">
</a>
<span class="badge badge-red unread">3</span>
<div class="media-body">
<h6 class="media-heading">Arnold <strong>Karlsberg</strong></h6>
<small><i class="fa fa-map-marker"></i> Bratislava, Slovakia</small>
<span class="badge badge-outline status"></span>
</div>
</div>
</li>
<li class="offline">
<div class="media">
<a class="pull-left profile-photo" href="#">
<img class="media-object" src="db_files/random-avatar8.jpg" alt="">
</a>
<div class="media-body">
<h6 class="media-heading">Anna <strong>Opichia</strong></h6>
<small><i class="fa fa-map-marker"></i> Budapest, Hungary</small>
<span class="badge badge-outline status"></span>
</div>
</div>
</li>
<li class="busy">
<div class="media">
<a class="pull-left profile-photo" href="#">
<img class="media-object" src="db_files/random-avatar1.jpg" alt="">
</a>
<div class="media-body">
<h6 class="media-heading">Lucius <strong>Cashmere</strong></h6>
<small><i class="fa fa-map-marker"></i> Wien, Austria</small>
<span class="badge badge-outline status"></span>
</div>
</div>
</li>
<li class="online">
<div class="media">
<a class="pull-left profile-photo" href="#">
<img class="media-object" src="db_files/ici-avatar.jpg" alt="">
</a>
<div class="media-body">
<h6 class="media-heading">Ing. Imrich <strong>Kamarel</strong></h6>
<small><i class="fa fa-map-marker"></i> Ulaanbaatar, Mongolia</small>
<span class="badge badge-outline status"></span>
</div>
</div>
</li>
</ul>
</div>
<div class="tab-pane pane-settings" id="mmenu-settings">
<h5><strong>Chat</strong> Settings</h5>
<ul class="settings">
<li>
<div class="form-group">
<label class="col-xs-8 control-label">Show Offline Users</label>
<div class="col-xs-4 control-label">
<div class="onoffswitch greensea">
<input name="onoffswitch" class="onoffswitch-checkbox" id="show-offline" checked="checked" type="checkbox">
<label class="onoffswitch-label" for="show-offline">
<span class="onoffswitch-inner"></span>
<span class="onoffswitch-switch"></span>
</label>
</div>
</div>
</div>
</li>
<li>
<div class="form-group">
<label class="col-xs-8 control-label">Show Fullname</label>
<div class="col-xs-4 control-label">
<div class="onoffswitch greensea">
<input name="onoffswitch" class="onoffswitch-checkbox" id="show-fullname" type="checkbox">
<label class="onoffswitch-label" for="show-fullname">
<span class="onoffswitch-inner"></span>
<span class="onoffswitch-switch"></span>
</label>
</div>
</div>
</div>
</li>
<li>
<div class="form-group">
<label class="col-xs-8 control-label">History Enable</label>
<div class="col-xs-4 control-label">
<div class="onoffswitch greensea">
<input name="onoffswitch" class="onoffswitch-checkbox" id="show-history" checked="checked" type="checkbox">
<label class="onoffswitch-label" for="show-history">
<span class="onoffswitch-inner"></span>
<span class="onoffswitch-switch"></span>
</label>
</div>
</div>
</div>
</li>
<li>
<div class="form-group">
<label class="col-xs-8 control-label">Show Locations</label>
<div class="col-xs-4 control-label">
<div class="onoffswitch greensea">
<input name="onoffswitch" class="onoffswitch-checkbox" id="show-location" checked="checked" type="checkbox">
<label class="onoffswitch-label" for="show-location">
<span class="onoffswitch-inner"></span>
<span class="onoffswitch-switch"></span>
</label>
</div>
</div>
</div>
</li>
<li>
<div class="form-group">
<label class="col-xs-8 control-label">Notifications</label>
<div class="col-xs-4 control-label">
<div class="onoffswitch greensea">
<input name="onoffswitch" class="onoffswitch-checkbox" id="show-notifications" type="checkbox">
<label class="onoffswitch-label" for="show-notifications">
<span class="onoffswitch-inner"></span>
<span class="onoffswitch-switch"></span>
</label>
</div>
</div>
</div>
</li>
<li>
<div class="form-group">
<label class="col-xs-8 control-label">Show Undread Count</label>
<div class="col-xs-4 control-label">
<div class="onoffswitch greensea">
<input name="onoffswitch" class="onoffswitch-checkbox" id="show-unread" checked="checked" type="checkbox">
<label class="onoffswitch-label" for="show-unread">
<span class="onoffswitch-inner"></span>
<span class="onoffswitch-switch"></span>
</label>
</div>
</div>
</div>
</li>
</ul>
</div><!-- tab-pane -->
</div><!-- tab-content --></div>
<!-- Preloader -->
<div class="mm-page"><div style="display: none;" class="mask"><div style="display: none;" id="loader"></div></div><div id="wrap">
<!-- Make page fluid -->
<div class="row">
<!-- Fixed navbar -->
<div class="navbar navbar-default navbar-fixed-top navbar-transparent-black mm-fixed-top" role="navigation" id="navbar">
<!-- Branding -->
<!-- Branding end -->
<!-- .nav-collapse -->
<!--/.nav-collapse -->
<BR>
DASHBOARD
</div>
<!-- Fixed navbar end -->
<!-- Page content -->
<div tabindex="5001" style="overflow: hidden; padding-left: 25px;" id="content" class="col-md-12">
<!-- content main container -->
<div class="main">
<!-- cards -->
<div class="row cards">
<div class="card-container col-lg-3 col-sm-6 col-sm-12">
<div class="card card-redbrown hover">
<div class="front">
<div class="media">
<span class="pull-left">
<i class="fa fa-users media-object"></i>
</span>
<div class="media-body">
<small>Jumlah Pelanggan Tetap</small>
<?php
$sql = "select SUM(total_ongkos) from expedisi";
$hasil = mysql_query($sql) or die(mysql_error());
$baris = mysql_fetch_array($hasil);
$jum_user = $baris[0];
?>
<h2 class="media-heading animate-number" data-value="<?php echo $jum_user;?>" data-animation-duration="1500"><?php echo number_format($jum_user);?></h2>
</div>
</div>
<div class="progress-list">
<div class="details">
<div class="title">This month plan %</div>
</div>
<div class="status pull-right bg-transparent-black-1">
<span class="animate-number" data-value="83" data-animation-duration="1500">83</span>%
</div>
<div class="clearfix"></div>
<div class="progress progress-little progress-transparent-black">
<div style="width: 83%;" class="progress-bar animate-progress-bar" data-percentage="83%"></div>
</div>
</div>
</div>
<div class="back">
<a href="index.php?mn=konsumen_ls&getmodule=cG9zL2ludmVudG9yeQ==&box=1" target="_PARENT">
<i class="fa fa-bar-chart-o fa-4x"></i>
<span>Check Summary</span>
</a>
</div>
</div>
</div>
<div class="card-container col-lg-3 col-sm-6 col-sm-12">
<div class="card card-blue hover">
<div class="front">
<div class="media">
<span class="pull-left">
<i class="fa fa-usdrp media-object"></i>
</span>
<div class="media-body">
<small>Total Pendapatan Kotor</small>
<?php
$sql = "select sum(total_ongkos) from expedisi";
$hasil = mysql_query($sql) or die(mysql_error());
$baris = mysql_fetch_array($hasil);
$jum_untung = $baris[0];
?>
<h2 class="media-heading" data-value="<?php echo $jum_untung;?>" data-animation-duration="1500">Rp.<?php echo number_format($jum_untung);?></h2>
</div>
</div>
<div class="progress-list">
<div class="details">
<div class="title">This month plan %</div>
</div>
<div class="status pull-right bg-transparent-black-1">
<span class="animate-number" data-value="100" data-animation-duration="1500">100</span>%
</div>
<div class="clearfix"></div>
<div class="progress progress-little progress-transparent-black">
<div style="width: 100%;" class="progress-bar animate-progress-bar" data-percentage="100%"></div>
</div>
</div>
</div>
<div class="back">
<a href="#">
<i class="fa fa-bar-chart-o fa-4x"></i>
<span>Check Summary</span>
</a>
</div>
</div>
</div>
<div class="card-container col-lg-3 col-sm-6 col-sm-12">
<div class="card card-greensea hover">
<div class="front">
<div class="media">
<span class="pull-left">
<i class="fa fa-shopping-cart media-object"></i>
</span>
<div class="media-body">
<small>Administratif</small>
<?php
$sql = "select sum(biaya_administrasi) from expedisi";
$hasil = mysql_query($sql) or die(mysql_error());
$baris = mysql_fetch_array($hasil);
$jum_sales = $baris[0];
?>
<h2 class="media-heading" data-value="<?php echo ($jum_sales);?>" data-animation-duration="1500"><?php echo number_format($jum_sales);?></h2>
</div>
</div>
<div class="progress-list">
<div class="details">
<div class="title">This month plan %</div>
</div>
<div class="status pull-right bg-transparent-black-1">
<span class="animate-number" data-value="42" data-animation-duration="1500">42</span>%
</div>
<div class="clearfix"></div>
<div class="progress progress-little progress-transparent-black">
<div style="width: 42%;" class="progress-bar animate-progress-bar" data-percentage="42%"></div>
</div>
</div>
</div>
<div class="back">
<a href="#">
<i class="fa fa-bar-chart-o fa-4x"></i>
<span>Check Summary</span>
</a>
</div>
</div>
</div>
<div class="card-container col-lg-3 col-sm-6 col-xs-12">
<div class="card card-slategray hover">
<div class="front">
<div class="media">
<span class="pull-left">
<i class="fa fa-eye media-object"></i>
</span>
<div class="media-body">
<small>Supplier</small>
<?php
$sql = "select COUNT(*) from supplier WHERE status = 1";
$hasil = mysql_query($sql) or die(mysql_error());
$baris = mysql_fetch_array($hasil);
$jum_sales = $baris[0];
?>
<h2 class="media-heading" data-value="<?php echo ($jum_sales);?>" data-animation-duration="1500"><?php echo number_format($jum_sales);?></h2>
</div>
</div>
<div class="progress-list">
<div class="details">
<div class="title">This month plan %</div>
</div>
<div class="status pull-right bg-transparent-black-1">
<span class="animate-number" data-value="25" data-animation-duration="1500">25</span>%
</div>
<div class="clearfix"></div>
<div class="progress progress-little progress-transparent-black">
<div style="width: 25%;" class="progress-bar animate-progress-bar" data-percentage="25%"></div>
</div>
</div>
</div>
<div class="back">
<a href="index.php?mn=supplier_ls&getmodule=cG9zL2ludmVudG9yeQ==&box=1" target="_PARENT">
<i class="fa fa-bar-chart-o fa-4x"></i>
<span>Check Summary</span>
</a>
</div>
</div>
</div>
</div>
<!-- /cards -->
<!-- row -->
<div class="row">
<!-- col 8 -->
<div class="col-lg-8 col-md-12">
<!-- tile -->
<section class="tile transparent">
<!-- tile header -->
<div class="tile-header color transparent-black textured rounded-top-corners">
<h1><strong>Grafik</strong> Penjualan</h1>
<div class="controls">
<a href="#" class="minimize"><i class="fa fa-chevron-down"></i></a>
<a href="#" class="refresh"><i class="fa fa-refresh"></i></a>
<a href="#" class="remove"><i class="fa fa-times"></i></a>
</div>
</div>
<!-- /tile header -->
<!-- tile widget -->
<div class="tile-widget color transparent-black textured">
<div id="statistics-chart" class="chart statistics" style="height: 250px; padding: 0px; position: relative;"><canvas height="250" width="677" style="direction: ltr; position: absolute; left: 0px; top: 0px; width: 677px; height: 250px;" class="flot-base"></canvas><div style="position: absolute; top: 0px; left: 0px; bottom: 0px; right: 0px; font-size: smaller; color: rgb(84, 84, 84);" class="flot-text"><div style="position: absolute; top: 0px; left: 0px; bottom: 0px; right: 0px; display: block;" class="flot-x-axis flot-x1-axis xAxis x1Axis">
<div style="position: absolute; max-width: 56px; top: 225px; font: 300 14px/24px "Roboto","Arial",sans-serif; color: rgb(255, 255, 255); left: 33px; text-align: center;">JAN</div>
<div style="position: absolute; max-width: 56px; top: 225px; font: 300 14px/24px "Roboto","Arial",sans-serif; color: rgb(255, 255, 255); left: 90px; text-align: center;">FEB</div><div style="position: absolute; max-width: 56px; top: 225px; font: 300 14px/24px "Roboto","Arial",sans-serif; color: rgb(255, 255, 255); left: 143px; text-align: center;">MAR</div><div style="position: absolute; max-width: 56px; top: 225px; font: 300 14px/24px "Roboto","Arial",sans-serif; color: rgb(255, 255, 255); left: 201px; text-align: center;">APR</div><div style="position: absolute; max-width: 56px; top: 225px; font: 300 14px/24px "Roboto","Arial",sans-serif; color: rgb(255, 255, 255); left: 256px; text-align: center;">MAY</div><div style="position: absolute; max-width: 56px; top: 225px; font: 300 14px/24px "Roboto","Arial",sans-serif; color: rgb(255, 255, 255); left: 313px; text-align: center;">JUN</div><div style="position: absolute; max-width: 56px; top: 225px; font: 300 14px/24px "Roboto","Arial",sans-serif; color: rgb(255, 255, 255); left: 370px; text-align: center;">JUL</div><div style="position: absolute; max-width: 56px; top: 225px; font: 300 14px/24px "Roboto","Arial",sans-serif; color: rgb(255, 255, 255); left: 424px; text-align: center;">AUG</div><div style="position: absolute; max-width: 56px; top: 225px; font: 300 14px/24px "Roboto","Arial",sans-serif; color: rgb(255, 255, 255); left: 482px; text-align: center;">SEP</div><div style="position: absolute; max-width: 56px; top: 225px; font: 300 14px/24px "Roboto","Arial",sans-serif; color: rgb(255, 255, 255); left: 537px; text-align: center;">OCT</div><div style="position: absolute; max-width: 56px; top: 225px; font: 300 14px/24px "Roboto","Arial",sans-serif; color: rgb(255, 255, 255); left: 592px; text-align: center;">NOV</div><div style="position: absolute; max-width: 56px; top: 225px; font: 300 14px/24px "Roboto","Arial",sans-serif; color: rgb(255, 255, 255); left: 649px; text-align: center;">DEC</div></div><div style="position: absolute; top: 0px; left: 0px; bottom: 0px; right: 0px; display: block;" class="flot-y-axis flot-y1-axis yAxis y1Axis"><div style="position: absolute; top: 199px; font: 300 11px/13px "Roboto","Arial",sans-serif; color: rgb(255, 255, 255); left: 20px; text-align: right;">0</div><div style="position: absolute; top: 166px; font: 300 11px/13px "Roboto","Arial",sans-serif; color: rgb(255, 255, 255); left: 7px; text-align: right;">500</div><div style="position: absolute; top: 133px; font: 300 11px/13px "Roboto","Arial",sans-serif; color: rgb(255, 255, 255); left: 1px; text-align: right;">1000</div><div style="position: absolute; top: 100px; font: 300 11px/13px "Roboto","Arial",sans-serif; color: rgb(255, 255, 255); left: 1px; text-align: right;">1500</div><div style="position: absolute; top: 67px; font: 300 11px/13px "Roboto","Arial",sans-serif; color: rgb(255, 255, 255); left: 1px; text-align: right;">2000</div><div style="position: absolute; top: 34px; font: 300 11px/13px "Roboto","Arial",sans-serif; color: rgb(255, 255, 255); left: 1px; text-align: right;">2500</div><div style="position: absolute; top: 1px; font: 300 11px/13px "Roboto","Arial",sans-serif; color: rgb(255, 255, 255); left: 1px; text-align: right;">3000</div></div></div><canvas height="250" width="677" style="direction: ltr; position: absolute; left: 0px; top: 0px; width: 677px; height: 250px;" class="flot-overlay"></canvas></div>
</div>
<!-- /tile widget -->
<!-- tile body -->
<div class="tile-body color transparent-white rounded-bottom-corners">
</div>
<!-- /tile body -->
</section>
<!-- /tile -->
<!-- tile -->
<section class="tile color transparent-black">
<!-- tile header -->
<div class="tile-header">
<h1><strong>Hutang</strong>- On-Going</h1>
<div class="search">
<input placeholder="Search..." type="text">
</div>
<div class="controls">
<a href="#" class="minimize"><i class="fa fa-chevron-down"></i></a>
<a href="#" class="refresh"><i class="fa fa-refresh"></i></a>
<a href="#" class="remove"><i class="fa fa-times"></i></a>
</div>
</div>
<!-- /tile header -->
<!-- tile body -->
<div class="tile-body no-vpadding">
<div class="table-responsive">
<table class="table table-custom table-sortable nomargin">
<thead>
<tr>
<th class="sortable sort-numeric sort-asc">ID</th>
<th class="sortable sort-alpha">Project</th>
<th class="sortable">Priority</th>
<th class="sortable sort-amount">Status</th>
<th class="text-right">Chart</th>
</tr>
</thead>
<tbody>
<?php
$sql = "select * from hutang";
$hasil = mysql_query($sql) or die(mysql_error());
while($baris = mysql_fetch_array($hasil)){
?>
<tr>
<td>1</td>
<td><?php echo $baris["nama"]; ?> <i class="fa fa-heart"><i class="fa fa-smile-o"> </i> </i></td>
<td class="color-red priority">High priority</td>
<td class="progress-cell">
<div class="progress-info">
<div class="percent"><span class="animate-number" data-value="50" data-animation-duration="1500">50</span>%</div>
</div>
<div class="progress progress-little">
<div style="width: 50%;" class="progress-bar progress-bar-transparent-white animate-progress-bar" data-percentage="50%"></div>
</div>
</td>
<td class="text-right"><span id="projectbar1"><canvas height="20" width="39" style="display: inline-block; width: 39px; height: 20px; vertical-align: top;"></canvas></span></td>
</tr>
<?php } ?>
</tbody>
</table>
</div>
</div>
<!-- /tile body -->
<!-- tile footer -->
<div class="tile-footer text-center">
<ul class="pagination pagination-sm nomargin pagination-custom">
<li class="disabled"><a href="#"><i class="fa fa-angle-double-left"></i></a></li>
<li class="active"><a href="#">1</a></li>
<li><a href="#">2</a></li>
<li><a href="#">3</a></li>
<li><a href="#">4</a></li>
<li><a href="#">5</a></li>
<li><a href="#"><i class="fa fa-angle-double-right"></i></a></li>
</ul>
</div>
<!-- /tile footer -->
</section>
<!-- /tile -->
</div>
<!-- /col 8 -->
<!-- col 4 -->
<div class="col-lg-4 col-md-12 col-sm-12 col-xs-12">
<!-- tile -->
<section class="tile color transparent-black">
<!-- tile header -->
<div class="tile-header">
<h1><strong>Day2Day</strong> Operations</h1>
<div class="controls">
<a href="#" class="minimize"><i class="fa fa-chevron-down"></i></a>
<a href="#" class="refresh"><i class="fa fa-refresh"></i></a>
<a href="#" class="remove"><i class="fa fa-times"></i></a>
</div>
</div>
<!-- /tile header -->
<!-- tile body -->
<div class="tile-body">
<div id="browser-usage" style="height: 230px;" class="morris-chart"><svg style="overflow: hidden; position: relative; left: -0.333313px;" xmlns="http://www.w3.org/2000/svg" width="309" version="1.1" height="230"><desc>Created with Raphaël 2.1.2</desc><defs></defs><path opacity="1" stroke-width="2" d="M154.5,185A70,70,0,0,0,224.4551653642948,117.50496284486826" stroke="#00a3d8" fill="none" style="opacity: 1;"></path><path stroke-width="3" d="M154.5,188A73,73,0,0,0,227.45324387990743,117.6123183953626L259.43274804644216,118.75744426730238A105,105,0,0,1,154.5,220Z" stroke="rgba(0,0,0,0)" fill="#00a3d8" style=""></path><path opacity="0" stroke-width="2" d="M224.4551653642948,117.50496284486826A70,70,0,0,0,179.4407140967063,49.59387811262346" stroke="#2fbbe8" fill="none" style="opacity: 0;"></path><path stroke-width="3" d="M227.45324387990743,117.6123183953626A73,73,0,0,0,180.509601843708,46.79075860316446L190.12959156672326,21.56268301803351A100,100,0,0,1,254.43595052042113,118.57851834981179Z" stroke="rgba(0,0,0,0)" fill="#2fbbe8" style=""></path><path opacity="0" stroke-width="2" d="M179.4407140967063,49.59387811262346A70,70,0,0,0,115.83011872366656,56.65070452803842" stroke="#72cae7" fill="none" style="opacity: 0;"></path><path stroke-width="3" d="M180.509601843708,46.79075860316446A73,73,0,0,0,114.17283809753798,54.150020436382924L99.2573124623808,31.643863611483454A100,100,0,0,1,190.12959156672326,21.56268301803351Z" stroke="rgba(0,0,0,0)" fill="#72cae7" style=""></path><path opacity="0" stroke-width="2" d="M115.83011872366656,56.65070452803842A70,70,0,0,0,97.58468525216037,74.24896385177001" stroke="#d9544f" fill="none" style="opacity: 0;"></path><path stroke-width="3" d="M114.17283809753798,54.150020436382924A73,73,0,0,0,95.14545747725295,72.50249087398872L73.19240750308623,56.78423407395715A100,100,0,0,1,99.2573124623808,31.643863611483454Z" stroke="rgba(0,0,0,0)" fill="#d9544f" style=""></path><path opacity="0" stroke-width="2" d="M97.58468525216037,74.24896385177001A70,70,0,0,0,84.54405113058007,117.48298565825587" stroke="#ffc100" fill="none" style="opacity: 0;"></path><path stroke-width="3" d="M95.14545747725295,72.50249087398872A73,73,0,0,0,81.54593903617635,117.58939932932398L54.56293018654296,118.54712236893695A100,100,0,0,1,73.19240750308623,56.78423407395715Z" stroke="rgba(0,0,0,0)" fill="#ffc100" style=""></path><path opacity="0" stroke-width="2" d="M84.54405113058007,117.48298565825587A70,70,0,0,0,154.47800885178657,184.9999965456385" stroke="#1693a5" fill="none" style="opacity: 0;"></path><path stroke-width="3" d="M81.54593903617635,117.58939932932398A73,73,0,0,0,154.47706637400597,187.99999639759443L154.4685840739808,214.99999506519785A100,100,0,0,1,54.56293018654296,118.54712236893695Z" stroke="rgba(0,0,0,0)" fill="#1693a5" style=""></path><text stroke-width="0.6" transform="matrix(1.6667,0,0,1.6667,-102.9167,-77)" font-weight="800" font-size="15px" fill="#000000" stroke="none" font="10px "Arial"" text-anchor="middle" y="105" x="154.5" style="text-anchor: middle; font: 800 15px "Arial";"><tspan dy="5.5">Vehicles</tspan></text><text stroke-width="0.8142857142857143" transform="matrix(1.2281,0,0,1.2281,-35.2178,-26.3421)" font-size="14px" fill="#000000" stroke="none" font="10px "Arial"" text-anchor="middle" y="125" x="154.5" style="text-anchor: middle; font: 14px "Arial";"><tspan dy="5.5">25</tspan></text></svg></div>
<ul class="inline text-center chart-legend">
<li><span class="badge badge-outline" style="border-color: #00a3d8"></span> Vehicles <small>25%</small>,</li>
<li><span class="badge badge-outline" style="border-color: #1693A5"></span> Electric Utilization <small>25%</small>,</li>
<li><span class="badge badge-outline" style="border-color: #2fbbe8"></span> Motorcycle <small>20%</small>,</li>
<li><span class="badge badge-outline" style="border-color: #72cae7"></span> Visitor <small>15%</small>,</li>
<li><span class="badge badge-outline" style="border-color: #ffc100"></span> Water Utilization <small>10%</small>,</li>
<li><span class="badge badge-outline" style="border-color: #d9544f"></span> Complaint <small>5%</small></li>
</ul>
</div>
<!-- /tile body -->
</section>
<!-- /tile -->
<!-- tile -->
<section class="tile transparent">
<!-- tile header -->
<div class="tile-header color redbrown rounded-top-corners text-center">
<button class="btn pull-left btn-black-transparent" type="button"><i class="fa fa-caret-square-o-down"></i></button>
<h2><strong>Todo</strong> List</h2>
<div class="controls">
<a href="#" class="minimize"><i class="fa fa-chevron-down"></i></a>
<a href="#" class="refresh"><i class="fa fa-refresh"></i></a>
<a href="#" class="remove"><i class="fa fa-times"></i></a>
</div>
</div>
<!-- /tile header -->
<!-- tile body -->
<div class="tile-body color transparent-black rounded-bottom-corners">
<input placeholder="Add new todo..." class="form-control w100p bottommargin" type="text">
<ul class="nolisttypes" id="todolist">
<li>
<div class="checkbox check-transparent">
<input value="1" id="todo-01" type="checkbox">
<label for="todo-01">Civil Works</label>
</div>
</li>
<li>
<div class="checkbox check-transparent">
<input checked="checked" value="1" id="todo-02" type="checkbox">
<label for="todo-02" class="done">Security Check</label>
</div>
</li>
<li>
<div class="checkbox check-transparent">
<input value="1" id="todo-03" type="checkbox">
<label for="todo-03">Space Sizing</label>
</div>
</li>
<li>
<div class="checkbox check-transparent">
<input value="1" id="todo-04" type="checkbox">
<label for="todo-04">Manage Complaints</label>
</div>
</li>
<li>
<div class="checkbox check-transparent">
<input value="1" id="todo-05" type="checkbox">
<label for="todo-05">Contact Tenant</label>
</div>
</li>
<li>
<div class="checkbox check-transparent">
<input value="1" id="todo-06" type="checkbox">
<label for="todo-06">Print Invoice</label>
</div>
</li>
</ul>
</div>
<!-- /tile body -->
</section>
<!-- /tile -->
</div>
<!-- /col 4 -->
</div>
<!-- /row -->
<!-- row -->
<div class="row">
<!-- col 6 -->
<div class="col-md-6">
</div>
<!-- /col 6 -->
<!-- col 6 -->
<div class="col-md-6">
</div>
<!-- /col 6 -->
</div>
<!-- /row -->
</div>
<!-- /content container -->
</div>
<!-- Page content end -->
</div>
<!-- Make page fluid-->
</div></div>
<!--/Preloader -->
<!-- Wrap all page content here -->
<!-- Wrap all page content end -->
<section class="videocontent" id="video"></section>