├── LICENSE ├── README.md ├── api ├── export_pdf.php ├── getvalidprice.php ├── grafik.php ├── index.php ├── load_netwatch_telegram.php └── user_aktif.php ├── assets ├── css │ ├── animate.css │ ├── grey.css │ ├── helper.css │ ├── less │ │ ├── data-table.less │ │ ├── pagination.less │ │ └── responsive.less │ ├── lib │ │ ├── bootstrap │ │ │ └── bootstrap.min.css │ │ ├── chosen │ │ │ ├── chosen-sprite.png │ │ │ └── chosen.css │ │ └── data-table │ │ │ ├── buttons.bootstrap.min.css │ │ │ ├── buttons.dataTables.min.css │ │ │ └── dataTables.bootstrap.min.css │ ├── mikmos_style.css │ ├── mikmos_style_white.css │ ├── spinners.css │ └── styles │ │ ├── dark │ │ ├── logo-text.png │ │ ├── logo.png │ │ ├── mikmos_style.css │ │ └── user.png │ │ └── white │ │ ├── logo-text.png │ │ ├── logo.png │ │ ├── mikmos_style.css │ │ └── user.png ├── icons │ ├── flag-icon-css │ │ ├── flag-icon.min.css │ │ └── flags │ │ │ ├── en.svg │ │ │ └── id.svg │ └── font-awesome │ │ ├── css │ │ └── font-awesome.min.css │ │ └── fonts │ │ ├── fontawesome-webfont3e6e.eot │ │ ├── fontawesome-webfont3e6e.svg │ │ ├── fontawesome-webfont3e6e.ttf │ │ ├── fontawesome-webfont3e6e.woff │ │ ├── fontawesome-webfont3e6e.woff2 │ │ └── fontawesome-webfontd41d.eot ├── images │ ├── bem.png │ ├── favicon.png │ ├── index.php │ ├── logo-text.png │ ├── logo-text_dark.png │ ├── logo-text_white.png │ ├── logo.png │ ├── logo_dark.png │ ├── logo_white.png │ ├── logoc.png │ ├── seri.jpg │ ├── user.png │ ├── user_dark.png │ └── user_white.png ├── index.php └── js │ ├── custom.min.js │ ├── index.php │ ├── jquery.slimscroll.js │ ├── lib │ ├── bootstrap │ │ ├── css │ │ │ └── bootstrap.min.css │ │ └── js │ │ │ ├── bootstrap.min.js │ │ │ └── popper.min.js │ ├── chosen │ │ ├── chosen.jquery.js │ │ ├── chosen.jquery.min.js │ │ └── jchosen.js │ ├── datatables │ │ ├── cdn.datatables.net │ │ │ └── buttons │ │ │ │ └── 1.2.2 │ │ │ │ └── js │ │ │ │ ├── buttons.flash.min.js │ │ │ │ ├── buttons.html5.min.js │ │ │ │ ├── buttons.print.min.js │ │ │ │ └── dataTables.buttons.min.js │ │ ├── cdn.rawgit.com │ │ │ ├── bpampuch │ │ │ │ └── pdfmake │ │ │ │ │ └── 0.1.18 │ │ │ │ │ └── build │ │ │ │ │ ├── pdfmake.min.js │ │ │ │ │ └── vfs_fonts.js │ │ │ └── google │ │ │ │ └── code-prettify │ │ │ │ └── master │ │ │ │ └── loader │ │ │ │ └── run_prettify2102.js │ │ ├── cdnjs.cloudflare.com │ │ │ └── ajax │ │ │ │ └── libs │ │ │ │ ├── jqueryui-touch-punch │ │ │ │ └── 0.2.3 │ │ │ │ │ └── jquery.ui.touch-punch.min.js │ │ │ │ └── jszip │ │ │ │ └── 2.5.0 │ │ │ │ └── jszip.min.js │ │ ├── datatables-init.js │ │ ├── datatables.min.js │ │ └── index.php │ ├── highcharts │ │ ├── highcharts.js │ │ ├── index.php │ │ └── themes │ │ │ ├── dark-blue.js │ │ │ ├── dark-green.js │ │ │ ├── gray.js │ │ │ ├── grid.js │ │ │ ├── index.php │ │ │ ├── mikmos.js │ │ │ └── skies.js │ ├── index.php │ ├── jquery-ui │ │ ├── index.php │ │ ├── jquery-ui.min.js │ │ └── jquery.ui.touch-punch.min.js │ ├── jquery │ │ ├── index.php │ │ └── jquery.min.js │ └── sticky-kit-master │ │ ├── dist │ │ └── sticky-kit.min.js │ │ └── index.php │ ├── mikmos_script.js │ ├── reload.js │ ├── scripts.js │ └── sidebarmenu.js ├── db ├── index.php ├── ref.txt ├── social.txt ├── update.txt └── versi.xml ├── inc ├── adm │ └── index.php ├── config.php ├── index.php ├── ip_mk │ └── index.php └── lang │ ├── en.php │ ├── id.php │ └── index.php ├── index.php ├── install_mikmos.php ├── lib ├── fpdf │ ├── font │ │ ├── courier.php │ │ ├── courierb.php │ │ ├── courierbi.php │ │ ├── courieri.php │ │ ├── helvetica.php │ │ ├── helveticab.php │ │ ├── helveticabi.php │ │ ├── helveticai.php │ │ ├── symbol.php │ │ ├── times.php │ │ ├── timesb.php │ │ ├── timesbi.php │ │ ├── timesi.php │ │ └── zapfdingbats.php │ └── fpdf.php ├── full.php ├── fungsi.php ├── index.php └── routeros_api.class.php ├── load ├── _backup.php ├── _forgot.php ├── _login.php ├── _voucher_editor.php ├── about.php ├── billing.php ├── blok.php ├── cookies.php ├── dhcp_lease.php ├── disqus.php ├── error.php ├── home.php ├── hosts.php ├── index.php ├── interface.php ├── ipbinding.php ├── list_users.php ├── netwatch.php ├── profile.php ├── scheduler.php ├── script.php ├── t_atas.php ├── t_bawah.php ├── t_menu.php ├── t_menu_adm.php ├── tutorial.php ├── users.php ├── users_active.php ├── users_import.php ├── users_logs.php ├── vouchers.php └── walled_garden.php ├── settings.php ├── status ├── cek.php ├── expire.php └── online.php └── vouchers ├── generate.php ├── images ├── EYTALASE_EYTALASE_logo.png ├── EYTA_EYTALASE_logo.png ├── EY_EYTALASE_logo.png └── index.php ├── index.php ├── prints.php ├── styles ├── DEFAULT.php ├── ORANGE.php ├── SIMPLE4.php └── SIMPLE5.php ├── variable.php ├── views.php └── vouchers.php /README.md: -------------------------------------------------------------------------------- 1 | # MIKMOS cms 2 | 3 | Description of MIKMOS cms 4 | - @author [@Yedin Abu Shafa](https://fb.me/yedin.mikmos.3) - mikmoscms@gmail.com 5 | - @copyright (c) 2018, MIKMOS Team. 6 | - @license https://opensource.org/licenses/gpl-license GNU Public License 7 | - @for AllFiles MIKMOScms 8 | 9 | ---- 10 | ![MIKMOScms](https://image.ibb.co/hJxZDA/Screenshot-2018-10-19-MIKMOS-CMS-Mikrotik-Monitoring-System-2.png) 11 | 12 | ---- 13 | Fitur: 14 | ---- 15 | - Installasi mudah 16 | - Hotspot 17 | - Multi Router Mikrotik 18 | - Generate voucher & print 19 | - Style Template Voucher 20 | - Kirim Notif Telegram 21 | - Backup Mikrotik Kirim ke Email 22 | - Multi Bahasa (Google Translate) 23 | 24 | ---- 25 | Sistem yang dibutuhkan 26 | ---- 27 | Requirements 28 | - OS Linux/Windows 29 | - PHP Version 5.6 atau lebih 30 | - PHP-CURL 31 | - PHP-ZIP 32 | 33 | ---- 34 | MIKMOS Online 35 | ---- 36 | Aplikasi ini dikelola oleh [@Yedin di [facebook](https://fb.me/yedin.mikmos.3) 37 | -------------------------------------------------------------------------------- /api/export_pdf.php: -------------------------------------------------------------------------------- 1 | window.location.replace("./?index=login");'); 12 | } 13 | $API = new RouterosAPI(); 14 | $API->debug = false; 15 | $API->connect($_IPMK, $_POMK, $_USMK, _de(ltrim($_PSMK, __CMS))); 16 | 17 | $pilbl = $_GET['pilbl']; 18 | $pilhr = $_GET['pilhr']; 19 | $getcomment = $_GET['comment']; 20 | if($getcomment!=='all'){$getcomment1 = ' - '.$getcomment;} 21 | 22 | if($pilbl){ 23 | 24 | $mikmosLoad = $API->comm("/system/script/print", array("?owner" => "$pilbl")); 25 | $mikmosTot = count($mikmosLoad); 26 | 27 | for ($i=0; $i<$mikmosTot; $i++){ 28 | $mikmosData = $mikmosLoad[$i]; 29 | $mikmoslits = explode("-|-",$mikmosData['name']); 30 | 31 | if($getcomment==$mikmoslits[7]){ 32 | $bilHRz += $mikmoslits[3]; 33 | }elseif($getcomment=='all'){ 34 | $bilHRz += $mikmoslits[3]; 35 | } 36 | 37 | } 38 | 39 | 40 | // memanggil library FPDF 41 | require('../lib/fpdf/fpdf.php'); 42 | // intance object dan memberikan pengaturan halaman PDF 43 | $pdf = new FPDF('p','mm','A4'); 44 | // membuat halaman baru 45 | $pdf->AddPage(); 46 | $pdf->SetFont('Arial','I',8); 47 | $pdf->Cell(95,5,'Mikmos.my.id',0,0,'L'); 48 | $pdf->Cell(95,5,'Generate '.date("d-M-y h:m:s").'',0,0,'R'); 49 | $pdf->Cell(10,7,'',0,1); 50 | // setting jenis font yang akan digunakan 51 | $pdf->SetFont('Arial','B',16); 52 | // mencetak string 53 | $pdf->Cell(190,7,'Billing Report '.$_RPER.'',0,1,'C'); 54 | $pdf->SetFont('Arial','B',12); 55 | $pdf->Cell(190,7,'Penjualan Pada Bulan '.$pilbl.' '.$getcomment1.'',0,1,'C'); 56 | 57 | // Memberikan space kebawah agar tidak terlalu rapat 58 | $pdf->Cell(10,7,'',0,1); 59 | 60 | $pdf->SetFont('Arial','B',13); 61 | $pdf->Cell(190,7,'Total Pendapatan: '.rupiah($bilHRz),1,1,'R'); 62 | $pdf->Cell(10,1,'',0,1); 63 | $pdf->SetFont('Arial','B',10); 64 | $pdf->Cell(10,6,'No',1,0); 65 | $pdf->Cell(25,6,'Waktu',1,0); 66 | $pdf->Cell(35,6,'Tanggal',1,0); 67 | $pdf->Cell(75,6,'Voucher',1,0); 68 | $pdf->Cell(45,6,'Penjualan',1,1); 69 | 70 | $pdf->SetFont('Arial','',10); 71 | $pdf->Cell(10,1,'',0,1); 72 | $pdf->SetFont('Arial','',10); 73 | 74 | for ($i=0; $i<$mikmosTot; $i++){ 75 | 76 | $regtable = $mikmosLoad[$i]; 77 | $getname = explode("-|-",$regtable['name']); 78 | $getowner = $regtable['owner']; 79 | $tgl = $getname[0]; 80 | $getdy = explode("/",$tgl); 81 | $m = $getdy[0]; 82 | $dy = $m."/".$getdy[1]."/".$getdy[2]; 83 | $ltime = $getname[1]; 84 | $username = $getname[2]; 85 | $price = $getname[3]; 86 | $no = $i+1; 87 | $pdf->Cell(10,6,$no,1,0); 88 | $pdf->Cell(25,6,$ltime,1,0); 89 | $pdf->Cell(35,6,$dy,1,0); 90 | $pdf->Cell(75,6,$username,1,0); 91 | $pdf->Cell(45,6,rupiah($price),1,1); 92 | } 93 | 94 | 95 | $pdf->Output(); 96 | 97 | 98 | } 99 | 100 | 101 | 102 | 103 | 104 | 105 | if($pilhr){ 106 | $mikmosLoad = $API->comm("/system/script/print", array( 107 | "?source" => "$pilhr")); 108 | $mikmosTot = count($mikmosLoad); 109 | 110 | for ($i=0; $i<$mikmosTot; $i++){ 111 | $mikmosData = $mikmosLoad[$i]; 112 | $mikmoslits = explode("-|-",$mikmosData['name']); 113 | if($getcomment==$mikmoslits[7]){ 114 | $bilHRz += $mikmoslits[3]; 115 | }elseif($getcomment=='all'){ 116 | $bilHRz += $mikmoslits[3]; 117 | } 118 | } 119 | 120 | $tgl = $mikmosData[0]; 121 | $getdy = explode("/",$pilhr); 122 | $dy = $getdy[1]." ".ucfirst($getdy[0])." ".$getdy[2]; 123 | 124 | // memanggil library FPDF 125 | require('../lib/fpdf/fpdf.php'); 126 | // intance object dan memberikan pengaturan halaman PDF 127 | $pdf = new FPDF('p','mm','A4'); 128 | // membuat halaman baru 129 | $pdf->AddPage(); 130 | $pdf->SetFont('Arial','I',8); 131 | $pdf->Cell(95,5,'Mikmos.my.id',0,0,'L'); 132 | $pdf->Cell(95,5,'Generate '.date("d-M-y h:m:s").'',0,0,'R'); 133 | $pdf->Cell(10,7,'',0,1); 134 | // setting jenis font yang akan digunakan 135 | $pdf->SetFont('Arial','B',16); 136 | // mencetak string 137 | $pdf->Cell(190,7,''.strtoupper('Billing Report ' .$_RPER).'',0,1,'C'); 138 | $pdf->SetFont('Arial','B',12); 139 | $pdf->Cell(190,7,'Pendapatan Pada '.$dy.' '.$getcomment1.'',0,1,'C'); 140 | 141 | // Memberikan space kebawah agar tidak terlalu rapat 142 | $pdf->Cell(10,7,'',0,1); 143 | 144 | $pdf->SetFont('Arial','B',13); 145 | $pdf->Cell(190,7,'Total Pendapatan: '.rupiah($bilHRz),1,1,'R'); 146 | $pdf->Cell(10,1,'',0,1); 147 | $pdf->SetFont('Arial','B',10); 148 | $pdf->Cell(10,6,'No',1,0); 149 | $pdf->Cell(25,6,'Waktu',1,0); 150 | $pdf->Cell(35,6,'Tanggal',1,0); 151 | $pdf->Cell(75,6,'Voucher',1,0); 152 | $pdf->Cell(45,6,'Penjualan',1,1); 153 | 154 | $pdf->SetFont('Arial','',10); 155 | $pdf->Cell(10,1,'',0,1); 156 | $pdf->SetFont('Arial','',10); 157 | 158 | for ($i=0; $i<$mikmosTot; $i++){ 159 | 160 | $regtable = $mikmosLoad[$i]; 161 | $getname = explode("-|-",$regtable['name']); 162 | $getowner = $regtable['owner']; 163 | $tgl = $getname[0]; 164 | $getdy = explode("/",$tgl); 165 | $m = $getdy[0]; 166 | $dy = $m."/".$getdy[1]."/".$getdy[2]; 167 | $ltime = $getname[1]; 168 | $username = $getname[2]; 169 | $price = $getname[3]; 170 | $no = $i+1; 171 | $pdf->Cell(10,6,$no,1,0); 172 | $pdf->Cell(25,6,$ltime,1,0); 173 | $pdf->Cell(35,6,$dy,1,0); 174 | $pdf->Cell(75,6,$username,1,0); 175 | $pdf->Cell(45,6,rupiah($price),1,1); 176 | } 177 | 178 | 179 | $pdf->Output(); 180 | 181 | } 182 | 183 | 184 | 185 | ?> -------------------------------------------------------------------------------- /api/getvalidprice.php: -------------------------------------------------------------------------------- 1 | window.location.replace("./?index=login");'); 11 | } 12 | 13 | $API = new RouterosAPI(); 14 | $API->debug = false; 15 | $KONEK_MK=$API->connect($_IPMK, $_POMK, $_USMK, _de(ltrim($_PSMK, __CMS))); 16 | 17 | $uprofname = $_GET['name']; 18 | if($uprofname != ""){ 19 | $getprofile = $API->comm("/ip/hotspot/user/profile/print", array("?name" => "$uprofname")); 20 | $ponlogin = $getprofile[0]['on-login']; 21 | $getvalid = explode(",",$ponlogin)[3]; 22 | $getperiod = explode(",",$ponlogin)[4]; 23 | $getprice = explode(",",$ponlogin)[2]; 24 | $gettime = explode(",",$ponlogin)[5]; 25 | $getlock = explode(",",$ponlogin)[6]; 26 | if($getlock!==" "){ 27 | $lockUs = "Kunci User : ".$getlock.""; 28 | } 29 | 30 | if(empty($getvalid)){ 31 | $validasi = "Masa Tenggang : Unlimited"; 32 | $validasix = "Masa Aktif : Unlimited"; 33 | }else{ 34 | $validasi = "Masa Tenggang : ".$getvalid.""; 35 | $validasix = "Masa Aktif : ".$getvalid.""; 36 | } 37 | if(empty($gettime)){ 38 | if(empty($gettime)){ 39 | $timelim = $validasix; 40 | }else{ 41 | $timelim = "Masa Aktif : Unlimited"; 42 | $timelimx = ""; 43 | } 44 | }else{ 45 | $timelim = "Masa Aktif : ".$gettime.""; 46 | $timelimx = ""; 47 | } 48 | if(!empty($getperiod)){ 49 | $tenggang = "Masa Hapus : ".$getperiod.""; 50 | } 51 | if($getprice == 0){ 52 | }else{ 53 | if($_LANG == "id"){ 54 | $price = "Harga : ".$curency." ".number_format($getprice,0,",",".").""; 55 | }else{ 56 | $price = "Harga : ".$curency." ".$curency." ".number_format($getprice).""; 57 | } 58 | } 59 | echo ' 60 | 61 | '.$timelim.''.$validasi.''.$tenggang.''.$price.''.$lockUs.' 62 |
'; 63 | echo $timelimx; 64 | } 65 | ?> -------------------------------------------------------------------------------- /api/grafik.php: -------------------------------------------------------------------------------- 1 | window.location.replace("./?index=login");'); 11 | } 12 | ?> 13 | debug = false; 17 | $KONEK = $API->connect($_IPMK, $_POMK, $_USMK, _de(ltrim($_PSMK, __CMS))); 18 | if ($KONEK) { 19 | $rows = array(); 20 | $rows2 = array(); 21 | 22 | $API->write("/interface/monitor-traffic",false); 23 | $API->write("=interface=".$interface,false); 24 | $API->write("=once=",true); 25 | $READ = $API->read(false); 26 | $ARRAY = $API->parseResponse($READ); 27 | if(count($ARRAY)>0){ 28 | $rx = number_format($ARRAY[0]["rx-bits-per-second"]/1024,1); 29 | $tx = number_format($ARRAY[0]["tx-bits-per-second"]/1024,1); 30 | $rows['name'] = 'Tx'; 31 | $rows['data'][] = $tx; 32 | $rows2['name'] = 'Rx'; 33 | $rows2['data'][] = $rx; 34 | }else{ 35 | echo $ARRAY['!trap'][0]['message']; 36 | } 37 | }else{ 38 | echo "La conexion ha fallado. Verifique si el Api esta activo."; 39 | } 40 | $API->disconnect(); 41 | 42 | $result = array(); 43 | array_push($result,$rows); 44 | array_push($result,$rows2); 45 | print json_encode($result, JSON_NUMERIC_CHECK); 46 | 47 | ?> 48 | -------------------------------------------------------------------------------- /api/index.php: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/load_netwatch_telegram.php: -------------------------------------------------------------------------------- 1 | '; 9 | if($_STATTELEG==0){echo ' 10 | TelegramBot Telegram belum diaktfikan
Untuk mengaktifkan Bot Telegram, input Bot telegram
di Menu -> Administrator -> Telegram 11 | 12 | '; 13 | }else{echo ' 14 | Nama Device/AP 15 | 16 | 17 | 18 | '; 19 | 20 | } 21 | echo ""; 22 | } 23 | if($load == "script"){ 24 | echo ''; 25 | echo ' 26 | 29 | 30 | 31 | 34 | '; 35 | echo "
Up Script 27 | 28 |
Down Script 32 | 33 |
"; 36 | } 37 | ?> -------------------------------------------------------------------------------- /api/user_aktif.php: -------------------------------------------------------------------------------- 1 | 10 | debug = false; 14 | $KONEK = $API->connect($_IPMK, $_POMK, $_USMK, _de(ltrim($_PSMK, __CMS))); 15 | if ($KONEK) { 16 | $rows = array(); 17 | $rows2 = array(); 18 | 19 | $ARRAY = $API->comm("/ip/hotspot/active/print", array("?.id"=> "$user",)); 20 | if(count($ARRAY)>0){ 21 | $tx = number_format($ARRAY[0]["packets-in"]/1024,0); 22 | $rx = number_format($ARRAY[0]["packets-out"]/1024,0); 23 | $tx1 =str_replace(',', '', $tx); 24 | $rx1 =str_replace(',', '', $rx); 25 | $rows['name'] = 'IN'; 26 | $rows['data'][] = $tx1; 27 | $rows2['name'] = 'OUT'; 28 | $rows2['data'][] = $rx1; 29 | }else{ 30 | echo $ARRAY['!trap'][0]['message']; 31 | } 32 | }else{ 33 | echo "La conexion ha fallado. Verifique si el Api esta activo."; 34 | } 35 | $API->disconnect(); 36 | 37 | $result = array(); 38 | array_push($result,$rows); 39 | array_push($result,$rows2); 40 | print json_encode($result, JSON_NUMERIC_CHECK); 41 | 42 | ?> 43 | -------------------------------------------------------------------------------- /assets/css/less/data-table.less: -------------------------------------------------------------------------------- 1 | @import "variable.less"; // Variable.less 2 | 3 | .dataTables_wrapper { 4 | padding-top: 10px; 5 | } 6 | 7 | .dt-buttons { 8 | display: inline-block; 9 | margin-bottom: 15px; 10 | padding-top: 5px; 11 | } 12 | 13 | .dt-buttons .dt-button { 14 | background: #1976d2 none repeat scroll 0 0; 15 | border-radius: 4px; 16 | color: #ffffff; 17 | margin-right: 3px; 18 | padding: 5px 15px; 19 | } 20 | 21 | .dt-buttons .dt-button:hover { 22 | background: #2f3d4a none repeat scroll 0 0; 23 | } 24 | 25 | .dataTables_info, 26 | .dataTables_length { 27 | display: inline-block; 28 | } 29 | 30 | .dataTables_length { 31 | margin-top: 10px; 32 | } 33 | 34 | .dataTables_length select { 35 | background-color: transparent; 36 | background-image: linear-gradient(#1976d2, #1976d2), linear-gradient(#b1b8bb, #b1b8bb); 37 | background-position: center bottom, center calc(100% - 1px); 38 | background-repeat: no-repeat; 39 | background-size: 0 2px, 100% 1px; 40 | border: 0 none; 41 | padding-bottom: 5px; 42 | transition: background 0s ease-out 0s; 43 | } 44 | 45 | .dataTables_length select:focus { 46 | background-image: linear-gradient(#1976d2, #1976d2), linear-gradient(#b1b8bb, #b1b8bb); 47 | background-size: 100% 2px, 100% 1px; 48 | box-shadow: none; 49 | outline: medium none; 50 | transition-duration: 0.3s; 51 | } 52 | 53 | .dataTables_filter { 54 | float: right; 55 | margin-top: 10px; 56 | } 57 | 58 | .dataTables_filter input { 59 | background-color: transparent; 60 | background-image: linear-gradient(#1976d2, #1976d2), linear-gradient(#b1b8bb, #b1b8bb); 61 | background-position: center bottom, center calc(100% - 1px); 62 | background-repeat: no-repeat; 63 | background-size: 0 2px, 100% 1px; 64 | border: 0 none; 65 | border-radius: 0; 66 | box-shadow: none; 67 | float: none; 68 | margin-left: 10px; 69 | transition: background 0s ease-out 0s; 70 | } 71 | 72 | .dataTables_filter input:focus { 73 | background-image: linear-gradient(#1976d2, #1976d2), linear-gradient(#b1b8bb, #b1b8bb); 74 | background-size: 100% 2px, 100% 1px; 75 | box-shadow: none; 76 | outline: medium none; 77 | transition-duration: 0.3s; 78 | } 79 | 80 | table.dataTable thead .sorting, 81 | table.dataTable thead .sorting_asc, 82 | table.dataTable thead .sorting_asc_disabled, 83 | table.dataTable thead .sorting_desc, 84 | table.dataTable thead .sorting_desc_disabled { 85 | background: transparent none repeat scroll 0 0; 86 | } 87 | 88 | table.dataTable thead .sorting_asc::after { 89 | content: ""; 90 | cursor: pointer; 91 | font-family: fontawesome; 92 | margin-left: 10px; 93 | } 94 | 95 | table.dataTable thead .sorting_desc::after { 96 | content: ""; 97 | cursor: pointer; 98 | font-family: fontawesome; 99 | margin-left: 10px; 100 | } 101 | 102 | table.dataTable thead .sorting::after { 103 | color: rgba(50, 50, 50, 0.5); 104 | content: ""; 105 | cursor: pointer; 106 | font-family: fontawesome !important; 107 | margin-left: 10px; 108 | } 109 | 110 | .dataTables_wrapper .dataTables_paginate { 111 | float: right; 112 | padding-top: 0.25em; 113 | text-align: right; 114 | } 115 | 116 | .dataTables_wrapper .dataTables_paginate .paginate_button { 117 | border: 1px solid #ddd; 118 | box-sizing: border-box; 119 | color: #67757c; 120 | cursor: pointer; 121 | display: inline-block; 122 | min-width: 1.5em; 123 | padding: 0.5em 1em; 124 | text-align: center; 125 | text-decoration: none; 126 | } 127 | 128 | .dataTables_wrapper .dataTables_paginate .paginate_button.current, 129 | .dataTables_wrapper .dataTables_paginate .paginate_button.current:hover { 130 | background-color: #1976d2; 131 | border: 1px solid #1976d2; 132 | color: #ffffff !important; 133 | } 134 | 135 | .dataTables_wrapper .dataTables_paginate .paginate_button.disabled, 136 | .dataTables_wrapper .dataTables_paginate .paginate_button.disabled:active, 137 | .dataTables_wrapper .dataTables_paginate .paginate_button.disabled:hover { 138 | background: transparent none repeat scroll 0 0; 139 | border: 1px solid #ddd; 140 | box-shadow: none; 141 | color: #67757c; 142 | cursor: default; 143 | } 144 | 145 | .dataTables_wrapper .dataTables_paginate .paginate_button:hover { 146 | background-color: #1976d2; 147 | border: 1px solid #1976d2; 148 | color: white; 149 | } 150 | 151 | .dataTables_wrapper .dataTables_paginate .paginate_button:active { 152 | background-color: #67757c; 153 | outline: medium none; 154 | } 155 | 156 | .dataTables_wrapper .dataTables_paginate .ellipsis { 157 | padding: 0 1em; 158 | } 159 | 160 | .tablesaw-bar .btn-group label { 161 | color: #67757c !important; 162 | } 163 | 164 | .dt-bootstrap { 165 | display: block; 166 | } 167 | 168 | .paging_simple_numbers .pagination .paginate_button { 169 | background: #ffffff none repeat scroll 0 0; 170 | padding: 0; 171 | } 172 | 173 | .paging_simple_numbers .pagination .paginate_button:hover { 174 | background: #ffffff none repeat scroll 0 0; 175 | } 176 | 177 | .paging_simple_numbers .pagination .paginate_button a { 178 | border: 0 none; 179 | padding: 2px 10px; 180 | } 181 | 182 | .paging_simple_numbers .pagination .paginate_button.active a, 183 | .paging_simple_numbers .pagination .paginate_button:hover a { 184 | background: #1976d2 none repeat scroll 0 0; 185 | color: #ffffff; 186 | } -------------------------------------------------------------------------------- /assets/css/less/pagination.less: -------------------------------------------------------------------------------- 1 | .pagination { 2 | > li { 3 | &:first-child { 4 | > a { 5 | border-bottom-left-radius: 4px; 6 | border-top-left-radius: 4px; 7 | } 8 | 9 | > span { 10 | border-bottom-left-radius: 4px; 11 | border-top-left-radius: 4px; 12 | } 13 | } 14 | 15 | &:last-child { 16 | > a { 17 | border-bottom-right-radius: 4px; 18 | border-top-right-radius: 4px; 19 | } 20 | 21 | > span { 22 | border-bottom-right-radius: 4px; 23 | border-top-right-radius: 4px; 24 | } 25 | } 26 | 27 | > a { 28 | color: #263238; 29 | 30 | &:focus { 31 | background-color: #f2f4f8; 32 | } 33 | 34 | &:hover { 35 | background-color: #f2f4f8; 36 | } 37 | } 38 | 39 | > span { 40 | color: #263238; 41 | 42 | &:focus { 43 | background-color: #f2f4f8; 44 | } 45 | 46 | &:hover { 47 | background-color: #f2f4f8; 48 | } 49 | } 50 | } 51 | 52 | > .active { 53 | > a { 54 | background-color: #1976d2; 55 | border-color: #1976d2; 56 | 57 | &:focus { 58 | background-color: #1976d2; 59 | border-color: #1976d2; 60 | } 61 | 62 | &:hover { 63 | background-color: #1976d2; 64 | border-color: #1976d2; 65 | } 66 | } 67 | 68 | > span { 69 | background-color: #1976d2; 70 | border-color: #1976d2; 71 | 72 | &:focus { 73 | background-color: #1976d2; 74 | border-color: #1976d2; 75 | } 76 | 77 | &:hover { 78 | background-color: #1976d2; 79 | border-color: #1976d2; 80 | } 81 | } 82 | } 83 | } 84 | 85 | .pagination-split { 86 | li { 87 | margin-left: 5px; 88 | display: inline-block; 89 | float: left; 90 | 91 | &:first-child { 92 | margin-left: 0; 93 | } 94 | 95 | a { 96 | -moz-border-radius: 4px; 97 | -webkit-border-radius: 4px; 98 | border-radius: 4px; 99 | } 100 | } 101 | } 102 | 103 | .pager { 104 | li { 105 | > a { 106 | -moz-border-radius: 4px; 107 | -webkit-border-radius: 4px; 108 | border-radius: 4px; 109 | color: #263238; 110 | } 111 | 112 | > span { 113 | -moz-border-radius: 4px; 114 | -webkit-border-radius: 4px; 115 | border-radius: 4px; 116 | color: #263238; 117 | } 118 | } 119 | } -------------------------------------------------------------------------------- /assets/css/lib/chosen/chosen-sprite.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikmoscms/mikmos/26f1655ee342c7319dca2f11b6b9177b7a08bc9c/assets/css/lib/chosen/chosen-sprite.png -------------------------------------------------------------------------------- /assets/css/styles/dark/logo-text.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikmoscms/mikmos/26f1655ee342c7319dca2f11b6b9177b7a08bc9c/assets/css/styles/dark/logo-text.png -------------------------------------------------------------------------------- /assets/css/styles/dark/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikmoscms/mikmos/26f1655ee342c7319dca2f11b6b9177b7a08bc9c/assets/css/styles/dark/logo.png -------------------------------------------------------------------------------- /assets/css/styles/dark/user.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikmoscms/mikmos/26f1655ee342c7319dca2f11b6b9177b7a08bc9c/assets/css/styles/dark/user.png -------------------------------------------------------------------------------- /assets/css/styles/white/logo-text.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikmoscms/mikmos/26f1655ee342c7319dca2f11b6b9177b7a08bc9c/assets/css/styles/white/logo-text.png -------------------------------------------------------------------------------- /assets/css/styles/white/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikmoscms/mikmos/26f1655ee342c7319dca2f11b6b9177b7a08bc9c/assets/css/styles/white/logo.png -------------------------------------------------------------------------------- /assets/css/styles/white/user.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikmoscms/mikmos/26f1655ee342c7319dca2f11b6b9177b7a08bc9c/assets/css/styles/white/user.png -------------------------------------------------------------------------------- /assets/icons/flag-icon-css/flag-icon.min.css: -------------------------------------------------------------------------------- 1 | .flag-icon-background{background-repeat:no-repeat;background-position:50%;-webkit-background-size:contain;background-size:contain}.flag-icon{position:relative;display:inline-block;width:1.33333333em;line-height:1em;background-repeat:no-repeat;background-position:50%;-webkit-background-size:contain;background-size:contain}.flag-icon:before{content:"\00a0"}.dropdown-menu .flag-icon{margin-right:5px} 2 | .flag-icon-id{background-image:url(flags/id.svg)}.flag-icon-en{background-image:url(flags/en.svg)} -------------------------------------------------------------------------------- /assets/icons/flag-icon-css/flags/id.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /assets/icons/font-awesome/fonts/fontawesome-webfont3e6e.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikmoscms/mikmos/26f1655ee342c7319dca2f11b6b9177b7a08bc9c/assets/icons/font-awesome/fonts/fontawesome-webfont3e6e.eot -------------------------------------------------------------------------------- /assets/icons/font-awesome/fonts/fontawesome-webfont3e6e.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikmoscms/mikmos/26f1655ee342c7319dca2f11b6b9177b7a08bc9c/assets/icons/font-awesome/fonts/fontawesome-webfont3e6e.ttf -------------------------------------------------------------------------------- /assets/icons/font-awesome/fonts/fontawesome-webfont3e6e.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikmoscms/mikmos/26f1655ee342c7319dca2f11b6b9177b7a08bc9c/assets/icons/font-awesome/fonts/fontawesome-webfont3e6e.woff -------------------------------------------------------------------------------- /assets/icons/font-awesome/fonts/fontawesome-webfont3e6e.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikmoscms/mikmos/26f1655ee342c7319dca2f11b6b9177b7a08bc9c/assets/icons/font-awesome/fonts/fontawesome-webfont3e6e.woff2 -------------------------------------------------------------------------------- /assets/icons/font-awesome/fonts/fontawesome-webfontd41d.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikmoscms/mikmos/26f1655ee342c7319dca2f11b6b9177b7a08bc9c/assets/icons/font-awesome/fonts/fontawesome-webfontd41d.eot -------------------------------------------------------------------------------- /assets/images/bem.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikmoscms/mikmos/26f1655ee342c7319dca2f11b6b9177b7a08bc9c/assets/images/bem.png -------------------------------------------------------------------------------- /assets/images/favicon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikmoscms/mikmos/26f1655ee342c7319dca2f11b6b9177b7a08bc9c/assets/images/favicon.png -------------------------------------------------------------------------------- /assets/images/index.php: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /assets/images/logo-text.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikmoscms/mikmos/26f1655ee342c7319dca2f11b6b9177b7a08bc9c/assets/images/logo-text.png -------------------------------------------------------------------------------- /assets/images/logo-text_dark.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikmoscms/mikmos/26f1655ee342c7319dca2f11b6b9177b7a08bc9c/assets/images/logo-text_dark.png -------------------------------------------------------------------------------- /assets/images/logo-text_white.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikmoscms/mikmos/26f1655ee342c7319dca2f11b6b9177b7a08bc9c/assets/images/logo-text_white.png -------------------------------------------------------------------------------- /assets/images/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikmoscms/mikmos/26f1655ee342c7319dca2f11b6b9177b7a08bc9c/assets/images/logo.png -------------------------------------------------------------------------------- /assets/images/logo_dark.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikmoscms/mikmos/26f1655ee342c7319dca2f11b6b9177b7a08bc9c/assets/images/logo_dark.png -------------------------------------------------------------------------------- /assets/images/logo_white.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikmoscms/mikmos/26f1655ee342c7319dca2f11b6b9177b7a08bc9c/assets/images/logo_white.png -------------------------------------------------------------------------------- /assets/images/logoc.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikmoscms/mikmos/26f1655ee342c7319dca2f11b6b9177b7a08bc9c/assets/images/logoc.png -------------------------------------------------------------------------------- /assets/images/seri.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikmoscms/mikmos/26f1655ee342c7319dca2f11b6b9177b7a08bc9c/assets/images/seri.jpg -------------------------------------------------------------------------------- /assets/images/user.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikmoscms/mikmos/26f1655ee342c7319dca2f11b6b9177b7a08bc9c/assets/images/user.png -------------------------------------------------------------------------------- /assets/images/user_dark.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikmoscms/mikmos/26f1655ee342c7319dca2f11b6b9177b7a08bc9c/assets/images/user_dark.png -------------------------------------------------------------------------------- /assets/images/user_white.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikmoscms/mikmos/26f1655ee342c7319dca2f11b6b9177b7a08bc9c/assets/images/user_white.png -------------------------------------------------------------------------------- /assets/index.php: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /assets/js/custom.min.js: -------------------------------------------------------------------------------- 1 | $(function() { 2 | "use strict"; 3 | $(function() { 4 | $(".preloader").fadeOut(); 5 | }), 6 | 7 | jQuery(document).on("click", ".mega-dropdown", function(i) { 8 | i.stopPropagation(); 9 | }); 10 | 11 | 12 | var i = function() { 13 | (window.innerWidth > 0 ? window.innerWidth : this.screen.width) < 1170 ? ($("body").addClass("mini-sidebar"), 14 | $(".navbar-brand span").hide(), $(".scroll-sidebar, .slimScrollDiv").css("overflow-x", "visible").parent().css("overflow", "visible"), 15 | $(".sidebartoggler i").addClass("ti-menu")) : ($("body").removeClass("mini-sidebar"), 16 | $(".navbar-brand span").show()); 17 | var i = (window.innerHeight > 0 ? window.innerHeight : this.screen.height) - 1; 18 | (i -= 70) < 1 && (i = 1), i > 70 && $(".page-wrapper").css("min-height", i + "px"); 19 | }; 20 | 21 | 22 | $(window).ready(i), $(window).on("resize", i), $(".sidebartoggler").on("click", function() { 23 | $("body").hasClass("mini-sidebar") ? ($("body").trigger("resize"), $(".scroll-sidebar, .slimScrollDiv").css("overflow", "hidden").parent().css("overflow", "visible"), 24 | $("body").removeClass("mini-sidebar"), $(".navbar-brand span").show()) : ($("body").trigger("resize"), 25 | $(".scroll-sidebar, .slimScrollDiv").css("overflow-x", "visible").parent().css("overflow", "visible"), 26 | $("body").addClass("mini-sidebar"), $(".navbar-brand span").hide()); 27 | }), 28 | 29 | 30 | 31 | $(".fix-header .header").stick_in_parent({}), $(".nav-toggler").click(function() { 32 | $("body").toggleClass("show-sidebar"), $(".nav-toggler i").toggleClass("mdi mdi-menu"), 33 | $(".nav-toggler i").addClass("mdi mdi-close"); 34 | }), 35 | 36 | 37 | 38 | $(".search-box a, .search-box .app-search .srh-btn").on("click", function() { 39 | $(".app-search").slideToggle(200); 40 | }), 41 | 42 | 43 | 44 | $(".floating-labels .form-control").on("focus blur", function(i) { 45 | $(this).parents(".form-group").toggleClass("focused", "focus" === i.type || this.value.length > 0); 46 | }).trigger("blur"), $(function() { 47 | for (var i = window.location, o = $("ul#sidebarnav a").filter(function() { 48 | return this.href == i; 49 | }).addClass("active").parent().addClass("active");;) { 50 | if (!o.is("li")) break; 51 | o = o.parent().addClass("in").parent().addClass("active"); 52 | } 53 | }), 54 | 55 | $(function() { 56 | $("#sidebarnav").metisMenu(); 57 | }), 58 | 59 | $(".scroll-sidebar").slimScroll({ 60 | position: "left", 61 | size: "5px", 62 | height: "100%", 63 | color: "#dcdcdc" 64 | }), 65 | 66 | $(".message-center").slimScroll({ 67 | position: "right", 68 | size: "5px", 69 | color: "#dcdcdc" 70 | }), 71 | 72 | $(".aboutscroll").slimScroll({ 73 | position: "right", 74 | size: "5px", 75 | height: "80", 76 | color: "#dcdcdc" 77 | }), 78 | 79 | $(".message-scroll").slimScroll({ 80 | position: "right", 81 | size: "5px", 82 | height: "570", 83 | color: "#dcdcdc" 84 | }), 85 | 86 | $(".chat-box").slimScroll({ 87 | position: "right", 88 | size: "5px", 89 | height: "470", 90 | color: "#dcdcdc" 91 | }), 92 | 93 | $(".slimscrollright").slimScroll({ 94 | height: "100%", 95 | position: "right", 96 | size: "5px", 97 | color: "#dcdcdc" 98 | }), 99 | 100 | 101 | 102 | $("body").trigger("resize"), $(".list-task li label").click(function() { 103 | $(this).toggleClass("task-done"); 104 | }), 105 | 106 | 107 | 108 | $("#to-recover").on("click", function() { 109 | $("#loginform").slideUp(), $("#recoverform").fadeIn(); 110 | }), 111 | 112 | 113 | 114 | $('a[data-action="collapse"]').on("click", function(i) { 115 | i.preventDefault(), $(this).closest(".card").find('[data-action="collapse"] i').toggleClass("ti-minus ti-plus"), 116 | $(this).closest(".card").children(".card-body").collapse("toggle"); 117 | }), 118 | 119 | 120 | 121 | $('a[data-action="expand"]').on("click", function(i) { 122 | i.preventDefault(), $(this).closest(".card").find('[data-action="expand"] i').toggleClass("mdi-arrow-expand mdi-arrow-compress"), 123 | $(this).closest(".card").toggleClass("card-fullscreen"); 124 | }), 125 | 126 | 127 | 128 | $('a[data-action="close"]').on("click", function() { 129 | $(this).closest(".card").removeClass().slideUp("fast"); 130 | }); 131 | }); 132 | -------------------------------------------------------------------------------- /assets/js/index.php: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /assets/js/jquery.slimscroll.js: -------------------------------------------------------------------------------- 1 | !function(e){e.fn.extend({slimScroll:function(i){var o={width:"auto",height:"250px",size:"7px",color:"#000",position:"right",distance:"1px",start:"top",opacity:.4,alwaysVisible:!1,disableFadeOut:!1,railVisible:!1,railColor:"#333",railOpacity:.2,railDraggable:!0,railClass:"slimScrollRail",barClass:"slimScrollBar",wrapperClass:"slimScrollDiv",allowPageScroll:!1,wheelStep:20,touchScrollStep:200,borderRadius:"7px",railBorderRadius:"7px"},s=e.extend(o,i);return this.each(function(){function o(t){if(h){var t=t||window.event,i=0;t.wheelDelta&&(i=-t.wheelDelta/120),t.detail&&(i=t.detail/3);var o=t.target||t.srcTarget||t.srcElement;e(o).closest("."+s.wrapperClass).is(x.parent())&&r(i,!0),t.preventDefault&&!y&&t.preventDefault(),y||(t.returnValue=!1)}}function r(e,t,i){y=!1;var o=e,r=x.outerHeight()-R.outerHeight();if(t&&(o=parseInt(R.css("top"))+e*parseInt(s.wheelStep)/100*R.outerHeight(),o=Math.min(Math.max(o,0),r),o=e>0?Math.ceil(o):Math.floor(o),R.css({top:o+"px"})),v=parseInt(R.css("top"))/(x.outerHeight()-R.outerHeight()),o=v*(x[0].scrollHeight-x.outerHeight()),i){o=e;var a=o/x[0].scrollHeight*x.outerHeight();a=Math.min(Math.max(a,0),r),R.css({top:a+"px"})}x.scrollTop(o),x.trigger("slimscrolling",~~o),n(),c()}function a(e){window.addEventListener?(e.addEventListener("DOMMouseScroll",o,!1),e.addEventListener("mousewheel",o,!1)):document.attachEvent("onmousewheel",o)}function l(){f=Math.max(x.outerHeight()/x[0].scrollHeight*x.outerHeight(),m),R.css({height:f+"px"});var e=f==x.outerHeight()?"none":"block";R.css({display:e})}function n(){if(l(),clearTimeout(p),v==~~v){if(y=s.allowPageScroll,b!=v){var e=0==~~v?"top":"bottom";x.trigger("slimscroll",e)}}else y=!1;return b=v,f>=x.outerHeight()?void(y=!0):(R.stop(!0,!0).fadeIn("fast"),void(s.railVisible&&E.stop(!0,!0).fadeIn("fast")))}function c(){s.alwaysVisible||(p=setTimeout(function(){s.disableFadeOut&&h||u||d||(R.fadeOut("slow"),E.fadeOut("slow"))},1e3))}var h,u,d,p,g,f,v,b,w="
",m=30,y=!1,x=e(this);if(x.parent().hasClass(s.wrapperClass)){var C=x.scrollTop();if(R=x.closest("."+s.barClass),E=x.closest("."+s.railClass),l(),e.isPlainObject(i)){if("height"in i&&"auto"==i.height){x.parent().css("height","auto"),x.css("height","auto");var H=x.parent().parent().height();x.parent().css("height",H),x.css("height",H)}if("scrollTo"in i)C=parseInt(s.scrollTo);else if("scrollBy"in i)C+=parseInt(s.scrollBy);else if("destroy"in i)return R.remove(),E.remove(),void x.unwrap();r(C,!1,!0)}}else if(!(e.isPlainObject(i)&&"destroy"in i)){s.height="auto"==s.height?x.parent().height():s.height;var S=e(w).addClass(s.wrapperClass).css({position:"relative",overflow:"hidden",width:s.width,height:s.height});x.css({overflow:"hidden",width:s.width,height:s.height});var E=e(w).addClass(s.railClass).css({width:s.size,height:"100%",position:"absolute",top:0,display:s.alwaysVisible&&s.railVisible?"block":"none","border-radius":s.railBorderRadius,background:s.railColor,opacity:s.railOpacity,zIndex:90}),R=e(w).addClass(s.barClass).css({background:s.color,width:s.size,position:"absolute",top:0,opacity:s.opacity,display:s.alwaysVisible?"block":"none","border-radius":s.borderRadius,BorderRadius:s.borderRadius,MozBorderRadius:s.borderRadius,WebkitBorderRadius:s.borderRadius,zIndex:99}),D="right"==s.position?{right:s.distance}:{left:s.distance};E.css(D),R.css(D),x.wrap(S),x.parent().append(R),x.parent().append(E),s.railDraggable&&R.bind("mousedown",function(i){var o=e(document);return d=!0,t=parseFloat(R.css("top")),pageY=i.pageY,o.bind("mousemove.slimscroll",function(e){currTop=t+e.pageY-pageY,R.css("top",currTop),r(0,R.position().top,!1)}),o.bind("mouseup.slimscroll",function(e){d=!1,c(),o.unbind(".slimscroll")}),!1}).bind("selectstart.slimscroll",function(e){return e.stopPropagation(),e.preventDefault(),!1}),E.hover(function(){n()},function(){c()}),R.hover(function(){u=!0},function(){u=!1}),x.hover(function(){h=!0,n(),c()},function(){h=!1,c()}),x.bind("touchstart",function(e,t){e.originalEvent.touches.length&&(g=e.originalEvent.touches[0].pageY)}),x.bind("touchmove",function(e){if(y||e.originalEvent.preventDefault(),e.originalEvent.touches.length){var t=(g-e.originalEvent.touches[0].pageY)/s.touchScrollStep;r(t,!0),g=e.originalEvent.touches[0].pageY}}),l(),"bottom"===s.start?(R.css({top:x.outerHeight()-R.outerHeight()}),r(0,!0)):"top"!==s.start&&(r(e(s.start).position().top,null,!0),s.alwaysVisible||R.hide()),a(this)}}),this}}),e.fn.extend({slimscroll:e.fn.slimScroll})}(jQuery); -------------------------------------------------------------------------------- /assets/js/lib/chosen/jchosen.js: -------------------------------------------------------------------------------- 1 | $(function() { 2 | 3 | // show current input values 4 | $('select.selectized,input.selectized', $wrapper).each(function() { 5 | var $container = $('
').addClass('value').html('Current Value: '); 6 | var $value = $('').appendTo($container); 7 | var $input = $(this); 8 | var update = function(e) { $value.text(JSON.stringify($input.val())); } 9 | 10 | $(this).on('change', update); 11 | update(); 12 | 13 | $container.insertAfter($input); 14 | }); 15 | }); -------------------------------------------------------------------------------- /assets/js/lib/datatables/cdn.datatables.net/buttons/1.2.2/js/buttons.print.min.js: -------------------------------------------------------------------------------- 1 | (function(f){"function"===typeof define&&define.amd?define(["jquery","datatables.net","datatables.net-buttons"],function(e){return f(e,window,document)}):"object"===typeof exports?module.exports=function(e,c){e||(e=window);if(!c||!c.fn.dataTable)c=require("datatables.net")(e,c).$;c.fn.dataTable.Buttons||require("datatables.net-buttons")(e,c);return f(c,e,e.document)}:f(jQuery,window,document)})(function(f,e,c){var i=f.fn.dataTable,h=c.createElement("a");i.ext.buttons.print={className:"buttons-print", 2 | text:function(b){return b.i18n("buttons.print","Print")},action:function(b,c,i,d){var a=c.buttons.exportData(d.exportOptions),k=function(b,a){for(var c="",d=0,e=b.length;d"+b[d]+"";return c+""},b='';d.header&&(b+=""+k(a.header,"th")+"");for(var b=b+"",l=0,m=a.body.length;l";d.footer&&a.footer&&(b+=""+k(a.footer,"th")+"");var g=e.open("",""), 3 | a=d.title;"function"===typeof a&&(a=a());-1!==a.indexOf("*")&&(a=a.replace("*",f("title").text()));g.document.close();var j=""+a+"";f("style, link").each(function(){var c=j,b=f(this).clone()[0],a;"link"===b.nodeName.toLowerCase()&&(h.href=b.href,a=h.host,-1===a.indexOf("/")&&0!==h.pathname.indexOf("/")&&(a+="/"),b.href=h.protocol+"//"+a+h.pathname+h.search);j=c+b.outerHTML});try{g.document.head.innerHTML=j}catch(n){f(g.document.head).html(j)}g.document.body.innerHTML="

"+a+"

"+ 4 | ("function"===typeof d.message?d.message(c,i,d):d.message)+"
"+b;d.customize&&d.customize(g);setTimeout(function(){d.autoPrint&&(g.print(),g.close())},250)},title:"*",message:"",exportOptions:{},header:!0,footer:!1,autoPrint:!0,customize:null};return i.Buttons}); 5 | -------------------------------------------------------------------------------- /assets/js/lib/datatables/cdnjs.cloudflare.com/ajax/libs/jqueryui-touch-punch/0.2.3/jquery.ui.touch-punch.min.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * jQuery UI Touch Punch 0.2.3 3 | * 4 | * Copyright 2011–2014, Dave Furfero 5 | * Dual licensed under the MIT or GPL Version 2 licenses. 6 | * 7 | * Depends: 8 | * jquery.ui.widget.js 9 | * jquery.ui.mouse.js 10 | */ 11 | !function(a){function f(a,b){if(!(a.originalEvent.touches.length>1)){a.preventDefault();var c=a.originalEvent.changedTouches[0],d=document.createEvent("MouseEvents");d.initMouseEvent(b,!0,!0,window,1,c.screenX,c.screenY,c.clientX,c.clientY,!1,!1,!1,!1,0,null),a.target.dispatchEvent(d)}}if(a.support.touch="ontouchend"in document,a.support.touch){var e,b=a.ui.mouse.prototype,c=b._mouseInit,d=b._mouseDestroy;b._touchStart=function(a){var b=this;!e&&b._mouseCapture(a.originalEvent.changedTouches[0])&&(e=!0,b._touchMoved=!1,f(a,"mouseover"),f(a,"mousemove"),f(a,"mousedown"))},b._touchMove=function(a){e&&(this._touchMoved=!0,f(a,"mousemove"))},b._touchEnd=function(a){e&&(f(a,"mouseup"),f(a,"mouseout"),this._touchMoved||f(a,"click"),e=!1)},b._mouseInit=function(){var b=this;b.element.bind({touchstart:a.proxy(b,"_touchStart"),touchmove:a.proxy(b,"_touchMove"),touchend:a.proxy(b,"_touchEnd")}),c.call(b)},b._mouseDestroy=function(){var b=this;b.element.unbind({touchstart:a.proxy(b,"_touchStart"),touchmove:a.proxy(b,"_touchMove"),touchend:a.proxy(b,"_touchEnd")}),d.call(b)}}}(jQuery); -------------------------------------------------------------------------------- /assets/js/lib/datatables/datatables-init.js: -------------------------------------------------------------------------------- 1 | $(document).ready(function() { 2 | $('#mikmos-tbl-noinfo').DataTable( { 3 | "order": [[ 1, "asc" ]] 4 | } ); 5 | } ); 6 | $(document).ready(function() { 7 | $('#mikmos-tbl-noinfo1').DataTable( { 8 | "order": [[ 0, "asc" ]] 9 | } ); 10 | } ); 11 | $(document).ready(function() { 12 | $('#mikmos-tbl-desc').DataTable( { 13 | "order": [[ 1, "desc" ]] 14 | } ); 15 | } ); 16 | $(document).ready(function() { 17 | $('#mikmos-tbl-desc1').DataTable( { 18 | "order": [[ 0, "desc" ]] 19 | } ); 20 | } ); -------------------------------------------------------------------------------- /assets/js/lib/datatables/index.php: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /assets/js/lib/highcharts/index.php: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /assets/js/lib/highcharts/themes/dark-blue.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Dark blue theme for Highcharts JS 3 | * @author Torstein Hønsi 4 | */ 5 | 6 | Highcharts.theme = { 7 | colors: ["#DDDF0D", "#55BF3B", "#DF5353", "#7798BF", "#aaeeee", "#ff0066", "#eeaaee", 8 | "#55BF3B", "#DF5353", "#7798BF", "#aaeeee"], 9 | chart: { 10 | backgroundColor: { 11 | linearGradient: { x1: 0, y1: 0, x2: 1, y2: 1 }, 12 | stops: [ 13 | [0, 'rgb(48, 48, 96)'], 14 | [1, 'rgb(0, 0, 0)'] 15 | ] 16 | }, 17 | borderColor: '#000000', 18 | borderWidth: 2, 19 | className: 'dark-container', 20 | plotBackgroundColor: 'rgba(255, 255, 255, .1)', 21 | plotBorderColor: '#CCCCCC', 22 | plotBorderWidth: 1 23 | }, 24 | title: { 25 | style: { 26 | color: '#C0C0C0', 27 | font: 'bold 16px "Trebuchet MS", Verdana, sans-serif' 28 | } 29 | }, 30 | subtitle: { 31 | style: { 32 | color: '#666666', 33 | font: 'bold 12px "Trebuchet MS", Verdana, sans-serif' 34 | } 35 | }, 36 | xAxis: { 37 | gridLineColor: '#333333', 38 | gridLineWidth: 1, 39 | labels: { 40 | style: { 41 | color: '#A0A0A0' 42 | } 43 | }, 44 | lineColor: '#A0A0A0', 45 | tickColor: '#A0A0A0', 46 | title: { 47 | style: { 48 | color: '#CCC', 49 | fontWeight: 'bold', 50 | fontSize: '12px', 51 | fontFamily: 'Trebuchet MS, Verdana, sans-serif' 52 | 53 | } 54 | } 55 | }, 56 | yAxis: { 57 | gridLineColor: '#333333', 58 | labels: { 59 | style: { 60 | color: '#A0A0A0' 61 | } 62 | }, 63 | lineColor: '#A0A0A0', 64 | minorTickInterval: null, 65 | tickColor: '#A0A0A0', 66 | tickWidth: 1, 67 | title: { 68 | style: { 69 | color: '#CCC', 70 | fontWeight: 'bold', 71 | fontSize: '12px', 72 | fontFamily: 'Trebuchet MS, Verdana, sans-serif' 73 | } 74 | } 75 | }, 76 | tooltip: { 77 | backgroundColor: 'rgba(0, 0, 0, 0.75)', 78 | style: { 79 | color: '#F0F0F0' 80 | } 81 | }, 82 | toolbar: { 83 | itemStyle: { 84 | color: 'silver' 85 | } 86 | }, 87 | plotOptions: { 88 | line: { 89 | dataLabels: { 90 | color: '#CCC' 91 | }, 92 | marker: { 93 | lineColor: '#333' 94 | } 95 | }, 96 | spline: { 97 | marker: { 98 | lineColor: '#333' 99 | } 100 | }, 101 | scatter: { 102 | marker: { 103 | lineColor: '#333' 104 | } 105 | }, 106 | candlestick: { 107 | lineColor: 'white' 108 | } 109 | }, 110 | legend: { 111 | itemStyle: { 112 | font: '9pt Trebuchet MS, Verdana, sans-serif', 113 | color: '#A0A0A0' 114 | }, 115 | itemHoverStyle: { 116 | color: '#FFF' 117 | }, 118 | itemHiddenStyle: { 119 | color: '#444' 120 | } 121 | }, 122 | credits: { 123 | style: { 124 | color: '#666' 125 | } 126 | }, 127 | labels: { 128 | style: { 129 | color: '#CCC' 130 | } 131 | }, 132 | 133 | navigation: { 134 | buttonOptions: { 135 | symbolStroke: '#DDDDDD', 136 | hoverSymbolStroke: '#FFFFFF', 137 | theme: { 138 | fill: { 139 | linearGradient: { x1: 0, y1: 0, x2: 0, y2: 1 }, 140 | stops: [ 141 | [0.4, '#606060'], 142 | [0.6, '#333333'] 143 | ] 144 | }, 145 | stroke: '#000000' 146 | } 147 | } 148 | }, 149 | 150 | // scroll charts 151 | rangeSelector: { 152 | buttonTheme: { 153 | fill: { 154 | linearGradient: { x1: 0, y1: 0, x2: 0, y2: 1 }, 155 | stops: [ 156 | [0.4, '#888'], 157 | [0.6, '#555'] 158 | ] 159 | }, 160 | stroke: '#000000', 161 | style: { 162 | color: '#CCC', 163 | fontWeight: 'bold' 164 | }, 165 | states: { 166 | hover: { 167 | fill: { 168 | linearGradient: { x1: 0, y1: 0, x2: 0, y2: 1 }, 169 | stops: [ 170 | [0.4, '#BBB'], 171 | [0.6, '#888'] 172 | ] 173 | }, 174 | stroke: '#000000', 175 | style: { 176 | color: 'white' 177 | } 178 | }, 179 | select: { 180 | fill: { 181 | linearGradient: { x1: 0, y1: 0, x2: 0, y2: 1 }, 182 | stops: [ 183 | [0.1, '#000'], 184 | [0.3, '#333'] 185 | ] 186 | }, 187 | stroke: '#000000', 188 | style: { 189 | color: 'yellow' 190 | } 191 | } 192 | } 193 | }, 194 | inputStyle: { 195 | backgroundColor: '#333', 196 | color: 'silver' 197 | }, 198 | labelStyle: { 199 | color: 'silver' 200 | } 201 | }, 202 | 203 | navigator: { 204 | handles: { 205 | backgroundColor: '#666', 206 | borderColor: '#AAA' 207 | }, 208 | outlineColor: '#CCC', 209 | maskFill: 'rgba(16, 16, 16, 0.5)', 210 | series: { 211 | color: '#7798BF', 212 | lineColor: '#A6C7ED' 213 | } 214 | }, 215 | 216 | scrollbar: { 217 | barBackgroundColor: { 218 | linearGradient: { x1: 0, y1: 0, x2: 0, y2: 1 }, 219 | stops: [ 220 | [0.4, '#888'], 221 | [0.6, '#555'] 222 | ] 223 | }, 224 | barBorderColor: '#CCC', 225 | buttonArrowColor: '#CCC', 226 | buttonBackgroundColor: { 227 | linearGradient: { x1: 0, y1: 0, x2: 0, y2: 1 }, 228 | stops: [ 229 | [0.4, '#888'], 230 | [0.6, '#555'] 231 | ] 232 | }, 233 | buttonBorderColor: '#CCC', 234 | rifleColor: '#FFF', 235 | trackBackgroundColor: { 236 | linearGradient: { x1: 0, y1: 0, x2: 0, y2: 1 }, 237 | stops: [ 238 | [0, '#000'], 239 | [1, '#333'] 240 | ] 241 | }, 242 | trackBorderColor: '#666' 243 | }, 244 | 245 | // special colors for some of the 246 | legendBackgroundColor: 'rgba(0, 0, 0, 0.5)', 247 | legendBackgroundColorSolid: 'rgb(35, 35, 70)', 248 | dataLabelsColor: '#444', 249 | textColor: '#C0C0C0', 250 | maskColor: 'rgba(255,255,255,0.3)' 251 | }; 252 | 253 | // Apply the theme 254 | var highchartsOptions = Highcharts.setOptions(Highcharts.theme); 255 | -------------------------------------------------------------------------------- /assets/js/lib/highcharts/themes/dark-green.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Dark blue theme for Highcharts JS 3 | * @author Torstein Hønsi 4 | */ 5 | 6 | Highcharts.theme = { 7 | colors: ["#DDDF0D", "#55BF3B", "#DF5353", "#7798BF", "#aaeeee", "#ff0066", "#eeaaee", 8 | "#55BF3B", "#DF5353", "#7798BF", "#aaeeee"], 9 | chart: { 10 | backgroundColor: { 11 | linearGradient: [0, 0, 250, 500], 12 | stops: [ 13 | [0, 'rgb(48, 96, 48)'], 14 | [1, 'rgb(0, 0, 0)'] 15 | ] 16 | }, 17 | borderColor: '#000000', 18 | borderWidth: 2, 19 | className: 'dark-container', 20 | plotBackgroundColor: 'rgba(255, 255, 255, .1)', 21 | plotBorderColor: '#CCCCCC', 22 | plotBorderWidth: 1 23 | }, 24 | title: { 25 | style: { 26 | color: '#C0C0C0', 27 | font: 'bold 16px "Trebuchet MS", Verdana, sans-serif' 28 | } 29 | }, 30 | subtitle: { 31 | style: { 32 | color: '#666666', 33 | font: 'bold 12px "Trebuchet MS", Verdana, sans-serif' 34 | } 35 | }, 36 | xAxis: { 37 | gridLineColor: '#333333', 38 | gridLineWidth: 1, 39 | labels: { 40 | style: { 41 | color: '#A0A0A0' 42 | } 43 | }, 44 | lineColor: '#A0A0A0', 45 | tickColor: '#A0A0A0', 46 | title: { 47 | style: { 48 | color: '#CCC', 49 | fontWeight: 'bold', 50 | fontSize: '12px', 51 | fontFamily: 'Trebuchet MS, Verdana, sans-serif' 52 | 53 | } 54 | } 55 | }, 56 | yAxis: { 57 | gridLineColor: '#333333', 58 | labels: { 59 | style: { 60 | color: '#A0A0A0' 61 | } 62 | }, 63 | lineColor: '#A0A0A0', 64 | minorTickInterval: null, 65 | tickColor: '#A0A0A0', 66 | tickWidth: 1, 67 | title: { 68 | style: { 69 | color: '#CCC', 70 | fontWeight: 'bold', 71 | fontSize: '12px', 72 | fontFamily: 'Trebuchet MS, Verdana, sans-serif' 73 | } 74 | } 75 | }, 76 | tooltip: { 77 | backgroundColor: 'rgba(0, 0, 0, 0.75)', 78 | style: { 79 | color: '#F0F0F0' 80 | } 81 | }, 82 | toolbar: { 83 | itemStyle: { 84 | color: 'silver' 85 | } 86 | }, 87 | plotOptions: { 88 | line: { 89 | dataLabels: { 90 | color: '#CCC' 91 | }, 92 | marker: { 93 | lineColor: '#333' 94 | } 95 | }, 96 | spline: { 97 | marker: { 98 | lineColor: '#333' 99 | } 100 | }, 101 | scatter: { 102 | marker: { 103 | lineColor: '#333' 104 | } 105 | }, 106 | candlestick: { 107 | lineColor: 'white' 108 | } 109 | }, 110 | legend: { 111 | itemStyle: { 112 | font: '9pt Trebuchet MS, Verdana, sans-serif', 113 | color: '#A0A0A0' 114 | }, 115 | itemHoverStyle: { 116 | color: '#FFF' 117 | }, 118 | itemHiddenStyle: { 119 | color: '#444' 120 | } 121 | }, 122 | credits: { 123 | style: { 124 | color: '#666' 125 | } 126 | }, 127 | labels: { 128 | style: { 129 | color: '#CCC' 130 | } 131 | }, 132 | 133 | 134 | navigation: { 135 | buttonOptions: { 136 | symbolStroke: '#DDDDDD', 137 | hoverSymbolStroke: '#FFFFFF', 138 | theme: { 139 | fill: { 140 | linearGradient: { x1: 0, y1: 0, x2: 0, y2: 1 }, 141 | stops: [ 142 | [0.4, '#606060'], 143 | [0.6, '#333333'] 144 | ] 145 | }, 146 | stroke: '#000000' 147 | } 148 | } 149 | }, 150 | 151 | // scroll charts 152 | rangeSelector: { 153 | buttonTheme: { 154 | fill: { 155 | linearGradient: { x1: 0, y1: 0, x2: 0, y2: 1 }, 156 | stops: [ 157 | [0.4, '#888'], 158 | [0.6, '#555'] 159 | ] 160 | }, 161 | stroke: '#000000', 162 | style: { 163 | color: '#CCC', 164 | fontWeight: 'bold' 165 | }, 166 | states: { 167 | hover: { 168 | fill: { 169 | linearGradient: { x1: 0, y1: 0, x2: 0, y2: 1 }, 170 | stops: [ 171 | [0.4, '#BBB'], 172 | [0.6, '#888'] 173 | ] 174 | }, 175 | stroke: '#000000', 176 | style: { 177 | color: 'white' 178 | } 179 | }, 180 | select: { 181 | fill: { 182 | linearGradient: { x1: 0, y1: 0, x2: 0, y2: 1 }, 183 | stops: [ 184 | [0.1, '#000'], 185 | [0.3, '#333'] 186 | ] 187 | }, 188 | stroke: '#000000', 189 | style: { 190 | color: 'yellow' 191 | } 192 | } 193 | } 194 | }, 195 | inputStyle: { 196 | backgroundColor: '#333', 197 | color: 'silver' 198 | }, 199 | labelStyle: { 200 | color: 'silver' 201 | } 202 | }, 203 | 204 | navigator: { 205 | handles: { 206 | backgroundColor: '#666', 207 | borderColor: '#AAA' 208 | }, 209 | outlineColor: '#CCC', 210 | maskFill: 'rgba(16, 16, 16, 0.5)', 211 | series: { 212 | color: '#7798BF', 213 | lineColor: '#A6C7ED' 214 | } 215 | }, 216 | 217 | scrollbar: { 218 | barBackgroundColor: { 219 | linearGradient: { x1: 0, y1: 0, x2: 0, y2: 1 }, 220 | stops: [ 221 | [0.4, '#888'], 222 | [0.6, '#555'] 223 | ] 224 | }, 225 | barBorderColor: '#CCC', 226 | buttonArrowColor: '#CCC', 227 | buttonBackgroundColor: { 228 | linearGradient: { x1: 0, y1: 0, x2: 0, y2: 1 }, 229 | stops: [ 230 | [0.4, '#888'], 231 | [0.6, '#555'] 232 | ] 233 | }, 234 | buttonBorderColor: '#CCC', 235 | rifleColor: '#FFF', 236 | trackBackgroundColor: { 237 | linearGradient: { x1: 0, y1: 0, x2: 0, y2: 1 }, 238 | stops: [ 239 | [0, '#000'], 240 | [1, '#333'] 241 | ] 242 | }, 243 | trackBorderColor: '#666' 244 | }, 245 | 246 | // special colors for some of the 247 | legendBackgroundColor: 'rgba(0, 0, 0, 0.5)', 248 | legendBackgroundColorSolid: 'rgb(35, 35, 70)', 249 | dataLabelsColor: '#444', 250 | textColor: '#C0C0C0', 251 | maskColor: 'rgba(255,255,255,0.3)' 252 | }; 253 | 254 | // Apply the theme 255 | var highchartsOptions = Highcharts.setOptions(Highcharts.theme); 256 | -------------------------------------------------------------------------------- /assets/js/lib/highcharts/themes/gray.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Gray theme for Highcharts JS 3 | * @author Torstein Hønsi 4 | */ 5 | 6 | Highcharts.theme = { 7 | colors: ["#DDDF0D", "#7798BF", "#55BF3B", "#DF5353", "#aaeeee", "#ff0066", "#eeaaee", 8 | "#55BF3B", "#DF5353", "#7798BF", "#aaeeee"], 9 | chart: { 10 | backgroundColor: { 11 | linearGradient: { x1: 0, y1: 0, x2: 0, y2: 1 }, 12 | stops: [ 13 | [0, 'rgb(96, 96, 96)'], 14 | [1, 'rgb(16, 16, 16)'] 15 | ] 16 | }, 17 | borderWidth: 0, 18 | borderRadius: 15, 19 | plotBackgroundColor: null, 20 | plotShadow: false, 21 | plotBorderWidth: 0 22 | }, 23 | title: { 24 | style: { 25 | color: '#FFF', 26 | font: '16px Lucida Grande, Lucida Sans Unicode, Verdana, Arial, Helvetica, sans-serif' 27 | } 28 | }, 29 | subtitle: { 30 | style: { 31 | color: '#DDD', 32 | font: '12px Lucida Grande, Lucida Sans Unicode, Verdana, Arial, Helvetica, sans-serif' 33 | } 34 | }, 35 | xAxis: { 36 | gridLineWidth: 0, 37 | lineColor: '#999', 38 | tickColor: '#999', 39 | labels: { 40 | style: { 41 | color: '#999', 42 | fontWeight: 'bold' 43 | } 44 | }, 45 | title: { 46 | style: { 47 | color: '#AAA', 48 | font: 'bold 12px Lucida Grande, Lucida Sans Unicode, Verdana, Arial, Helvetica, sans-serif' 49 | } 50 | } 51 | }, 52 | yAxis: { 53 | alternateGridColor: null, 54 | minorTickInterval: null, 55 | gridLineColor: 'rgba(255, 255, 255, .1)', 56 | minorGridLineColor: 'rgba(255,255,255,0.07)', 57 | lineWidth: 0, 58 | tickWidth: 0, 59 | labels: { 60 | style: { 61 | color: '#999', 62 | fontWeight: 'bold' 63 | } 64 | }, 65 | title: { 66 | style: { 67 | color: '#AAA', 68 | font: 'bold 12px Lucida Grande, Lucida Sans Unicode, Verdana, Arial, Helvetica, sans-serif' 69 | } 70 | } 71 | }, 72 | legend: { 73 | itemStyle: { 74 | color: '#CCC' 75 | }, 76 | itemHoverStyle: { 77 | color: '#FFF' 78 | }, 79 | itemHiddenStyle: { 80 | color: '#333' 81 | } 82 | }, 83 | labels: { 84 | style: { 85 | color: '#CCC' 86 | } 87 | }, 88 | tooltip: { 89 | backgroundColor: { 90 | linearGradient: { x1: 0, y1: 0, x2: 0, y2: 1 }, 91 | stops: [ 92 | [0, 'rgba(96, 96, 96, .8)'], 93 | [1, 'rgba(16, 16, 16, .8)'] 94 | ] 95 | }, 96 | borderWidth: 0, 97 | style: { 98 | color: '#FFF' 99 | } 100 | }, 101 | 102 | 103 | plotOptions: { 104 | series: { 105 | shadow: true 106 | }, 107 | line: { 108 | dataLabels: { 109 | color: '#CCC' 110 | }, 111 | marker: { 112 | lineColor: '#333' 113 | } 114 | }, 115 | spline: { 116 | marker: { 117 | lineColor: '#333' 118 | } 119 | }, 120 | scatter: { 121 | marker: { 122 | lineColor: '#333' 123 | } 124 | }, 125 | candlestick: { 126 | lineColor: 'white' 127 | } 128 | }, 129 | 130 | toolbar: { 131 | itemStyle: { 132 | color: '#CCC' 133 | } 134 | }, 135 | 136 | navigation: { 137 | buttonOptions: { 138 | symbolStroke: '#DDDDDD', 139 | hoverSymbolStroke: '#FFFFFF', 140 | theme: { 141 | fill: { 142 | linearGradient: { x1: 0, y1: 0, x2: 0, y2: 1 }, 143 | stops: [ 144 | [0.4, '#606060'], 145 | [0.6, '#333333'] 146 | ] 147 | }, 148 | stroke: '#000000' 149 | } 150 | } 151 | }, 152 | 153 | // scroll charts 154 | rangeSelector: { 155 | buttonTheme: { 156 | fill: { 157 | linearGradient: { x1: 0, y1: 0, x2: 0, y2: 1 }, 158 | stops: [ 159 | [0.4, '#888'], 160 | [0.6, '#555'] 161 | ] 162 | }, 163 | stroke: '#000000', 164 | style: { 165 | color: '#CCC', 166 | fontWeight: 'bold' 167 | }, 168 | states: { 169 | hover: { 170 | fill: { 171 | linearGradient: { x1: 0, y1: 0, x2: 0, y2: 1 }, 172 | stops: [ 173 | [0.4, '#BBB'], 174 | [0.6, '#888'] 175 | ] 176 | }, 177 | stroke: '#000000', 178 | style: { 179 | color: 'white' 180 | } 181 | }, 182 | select: { 183 | fill: { 184 | linearGradient: { x1: 0, y1: 0, x2: 0, y2: 1 }, 185 | stops: [ 186 | [0.1, '#000'], 187 | [0.3, '#333'] 188 | ] 189 | }, 190 | stroke: '#000000', 191 | style: { 192 | color: 'yellow' 193 | } 194 | } 195 | } 196 | }, 197 | inputStyle: { 198 | backgroundColor: '#333', 199 | color: 'silver' 200 | }, 201 | labelStyle: { 202 | color: 'silver' 203 | } 204 | }, 205 | 206 | navigator: { 207 | handles: { 208 | backgroundColor: '#666', 209 | borderColor: '#AAA' 210 | }, 211 | outlineColor: '#CCC', 212 | maskFill: 'rgba(16, 16, 16, 0.5)', 213 | series: { 214 | color: '#7798BF', 215 | lineColor: '#A6C7ED' 216 | } 217 | }, 218 | 219 | scrollbar: { 220 | barBackgroundColor: { 221 | linearGradient: { x1: 0, y1: 0, x2: 0, y2: 1 }, 222 | stops: [ 223 | [0.4, '#888'], 224 | [0.6, '#555'] 225 | ] 226 | }, 227 | barBorderColor: '#CCC', 228 | buttonArrowColor: '#CCC', 229 | buttonBackgroundColor: { 230 | linearGradient: { x1: 0, y1: 0, x2: 0, y2: 1 }, 231 | stops: [ 232 | [0.4, '#888'], 233 | [0.6, '#555'] 234 | ] 235 | }, 236 | buttonBorderColor: '#CCC', 237 | rifleColor: '#FFF', 238 | trackBackgroundColor: { 239 | linearGradient: { x1: 0, y1: 0, x2: 0, y2: 1 }, 240 | stops: [ 241 | [0, '#000'], 242 | [1, '#333'] 243 | ] 244 | }, 245 | trackBorderColor: '#666' 246 | }, 247 | 248 | // special colors for some of the demo examples 249 | legendBackgroundColor: 'rgba(48, 48, 48, 0.8)', 250 | legendBackgroundColorSolid: 'rgb(70, 70, 70)', 251 | dataLabelsColor: '#444', 252 | textColor: '#E0E0E0', 253 | maskColor: 'rgba(255,255,255,0.3)' 254 | }; 255 | 256 | // Apply the theme 257 | var highchartsOptions = Highcharts.setOptions(Highcharts.theme); 258 | -------------------------------------------------------------------------------- /assets/js/lib/highcharts/themes/grid.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Grid theme for Highcharts JS 3 | * @author Torstein Hønsi 4 | */ 5 | 6 | Highcharts.theme = { 7 | colors: ['#058DC7', '#50B432', '#ED561B', '#DDDF00', '#24CBE5', '#64E572', '#FF9655', '#FFF263', '#6AF9C4'], 8 | chart: { 9 | backgroundColor: { 10 | linearGradient: { x1: 0, y1: 0, x2: 1, y2: 1 }, 11 | stops: [ 12 | [0, 'rgb(255, 255, 255)'], 13 | [1, 'rgb(240, 240, 255)'] 14 | ] 15 | }, 16 | borderWidth: 2, 17 | plotBackgroundColor: 'rgba(255, 255, 255, .9)', 18 | plotShadow: true, 19 | plotBorderWidth: 1 20 | }, 21 | title: { 22 | style: { 23 | color: '#000', 24 | font: 'bold 16px "Trebuchet MS", Verdana, sans-serif' 25 | } 26 | }, 27 | subtitle: { 28 | style: { 29 | color: '#666666', 30 | font: 'bold 12px "Trebuchet MS", Verdana, sans-serif' 31 | } 32 | }, 33 | xAxis: { 34 | gridLineWidth: 1, 35 | lineColor: '#000', 36 | tickColor: '#000', 37 | labels: { 38 | style: { 39 | color: '#000', 40 | font: '11px Trebuchet MS, Verdana, sans-serif' 41 | } 42 | }, 43 | title: { 44 | style: { 45 | color: '#333', 46 | fontWeight: 'bold', 47 | fontSize: '12px', 48 | fontFamily: 'Trebuchet MS, Verdana, sans-serif' 49 | 50 | } 51 | } 52 | }, 53 | yAxis: { 54 | minorTickInterval: 'auto', 55 | lineColor: '#000', 56 | lineWidth: 1, 57 | tickWidth: 1, 58 | tickColor: '#000', 59 | labels: { 60 | style: { 61 | color: '#000', 62 | font: '11px Trebuchet MS, Verdana, sans-serif' 63 | } 64 | }, 65 | title: { 66 | style: { 67 | color: '#333', 68 | fontWeight: 'bold', 69 | fontSize: '12px', 70 | fontFamily: 'Trebuchet MS, Verdana, sans-serif' 71 | } 72 | } 73 | }, 74 | legend: { 75 | itemStyle: { 76 | font: '9pt Trebuchet MS, Verdana, sans-serif', 77 | color: 'black' 78 | 79 | }, 80 | itemHoverStyle: { 81 | color: '#039' 82 | }, 83 | itemHiddenStyle: { 84 | color: 'gray' 85 | } 86 | }, 87 | labels: { 88 | style: { 89 | color: '#99b' 90 | } 91 | }, 92 | 93 | navigation: { 94 | buttonOptions: { 95 | theme: { 96 | stroke: '#CCCCCC' 97 | } 98 | } 99 | } 100 | }; 101 | 102 | // Apply the theme 103 | var highchartsOptions = Highcharts.setOptions(Highcharts.theme); 104 | -------------------------------------------------------------------------------- /assets/js/lib/highcharts/themes/index.php: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /assets/js/lib/highcharts/themes/mikmos.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Grid theme for Highcharts JS 3 | * @author Torstein Hønsi 4 | */ 5 | 6 | Highcharts.theme = { 7 | colors: ['#058DC7', '#50B432', '#ED561B', '#DDDF00', '#24CBE5', '#64E572', '#FF9655', '#FFF263', '#6AF9C4'], 8 | chart: { 9 | backgroundColor: { 10 | linearGradient: { x1: 0, y1: 0, x2: 1, y2: 1 }, 11 | stops: [ 12 | [0, 'rgb(255, 255, 255)'], 13 | [1, 'rgb(240, 240, 255)'] 14 | ] 15 | }, 16 | borderWidth: 0, 17 | plotBackgroundColor: 'rgba(255, 255, 255, .0)', 18 | plotShadow: false, 19 | plotBorderWidth: 0 20 | }, 21 | title: { 22 | style: { 23 | color: '#000', 24 | font: 'bold 16px "Trebuchet MS", Verdana, sans-serif' 25 | } 26 | }, 27 | subtitle: { 28 | style: { 29 | color: '#666666', 30 | font: 'bold 12px "Trebuchet MS", Verdana, sans-serif' 31 | } 32 | }, 33 | xAxis: { 34 | gridLineWidth: 1, 35 | lineColor: '#000', 36 | tickColor: '#000', 37 | labels: { 38 | style: { 39 | color: '#000', 40 | font: '11px Trebuchet MS, Verdana, sans-serif' 41 | } 42 | }, 43 | title: { 44 | style: { 45 | color: '#333', 46 | fontWeight: 'bold', 47 | fontSize: '12px', 48 | fontFamily: 'Trebuchet MS, Verdana, sans-serif' 49 | 50 | } 51 | } 52 | }, 53 | yAxis: { 54 | minorTickInterval: 'auto', 55 | lineColor: '#000', 56 | lineWidth: 1, 57 | tickWidth: 1, 58 | tickColor: '#000', 59 | labels: { 60 | style: { 61 | color: '#000', 62 | font: '11px Trebuchet MS, Verdana, sans-serif' 63 | } 64 | }, 65 | title: { 66 | style: { 67 | color: '#333', 68 | fontWeight: 'bold', 69 | fontSize: '12px', 70 | fontFamily: 'Trebuchet MS, Verdana, sans-serif' 71 | } 72 | } 73 | }, 74 | legend: { 75 | itemStyle: { 76 | font: '9pt Trebuchet MS, Verdana, sans-serif', 77 | color: 'black' 78 | 79 | }, 80 | itemHoverStyle: { 81 | color: '#039' 82 | }, 83 | itemHiddenStyle: { 84 | color: 'gray' 85 | } 86 | }, 87 | labels: { 88 | style: { 89 | color: '#99b' 90 | } 91 | }, 92 | 93 | navigation: { 94 | buttonOptions: { 95 | theme: { 96 | stroke: '#CCCCCC' 97 | } 98 | } 99 | } 100 | }; 101 | 102 | // Apply the theme 103 | var highchartsOptions = Highcharts.setOptions(Highcharts.theme); 104 | -------------------------------------------------------------------------------- /assets/js/lib/highcharts/themes/skies.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Skies theme for Highcharts JS 3 | * @author Torstein Hønsi 4 | */ 5 | 6 | Highcharts.theme = { 7 | colors: ["#514F78", "#42A07B", "#9B5E4A", "#72727F", "#1F949A", "#82914E", "#86777F", "#42A07B"], 8 | chart: { 9 | className: 'skies', 10 | borderWidth: 0, 11 | plotShadow: true, 12 | plotBackgroundImage: '/demo/gfx/skies.jpg', 13 | plotBackgroundColor: { 14 | linearGradient: [0, 0, 250, 500], 15 | stops: [ 16 | [0, 'rgba(255, 255, 255, 1)'], 17 | [1, 'rgba(255, 255, 255, 0)'] 18 | ] 19 | }, 20 | plotBorderWidth: 1 21 | }, 22 | title: { 23 | style: { 24 | color: '#3E576F', 25 | font: '16px Lucida Grande, Lucida Sans Unicode, Verdana, Arial, Helvetica, sans-serif' 26 | } 27 | }, 28 | subtitle: { 29 | style: { 30 | color: '#6D869F', 31 | font: '12px Lucida Grande, Lucida Sans Unicode, Verdana, Arial, Helvetica, sans-serif' 32 | } 33 | }, 34 | xAxis: { 35 | gridLineWidth: 0, 36 | lineColor: '#C0D0E0', 37 | tickColor: '#C0D0E0', 38 | labels: { 39 | style: { 40 | color: '#666', 41 | fontWeight: 'bold' 42 | } 43 | }, 44 | title: { 45 | style: { 46 | color: '#666', 47 | font: '12px Lucida Grande, Lucida Sans Unicode, Verdana, Arial, Helvetica, sans-serif' 48 | } 49 | } 50 | }, 51 | yAxis: { 52 | alternateGridColor: 'rgba(255, 255, 255, .5)', 53 | lineColor: '#C0D0E0', 54 | tickColor: '#C0D0E0', 55 | tickWidth: 1, 56 | labels: { 57 | style: { 58 | color: '#666', 59 | fontWeight: 'bold' 60 | } 61 | }, 62 | title: { 63 | style: { 64 | color: '#666', 65 | font: '12px Lucida Grande, Lucida Sans Unicode, Verdana, Arial, Helvetica, sans-serif' 66 | } 67 | } 68 | }, 69 | legend: { 70 | itemStyle: { 71 | font: '9pt Trebuchet MS, Verdana, sans-serif', 72 | color: '#3E576F' 73 | }, 74 | itemHoverStyle: { 75 | color: 'black' 76 | }, 77 | itemHiddenStyle: { 78 | color: 'silver' 79 | } 80 | }, 81 | labels: { 82 | style: { 83 | color: '#3E576F' 84 | } 85 | } 86 | }; 87 | 88 | // Apply the theme 89 | var highchartsOptions = Highcharts.setOptions(Highcharts.theme); 90 | -------------------------------------------------------------------------------- /assets/js/lib/index.php: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /assets/js/lib/jquery-ui/index.php: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /assets/js/lib/jquery-ui/jquery.ui.touch-punch.min.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * jQuery UI Touch Punch 0.2.3 3 | * 4 | * Copyright 2011–2014, Dave Furfero 5 | * Dual licensed under the MIT or GPL Version 2 licenses. 6 | * 7 | * Depends: 8 | * jquery.ui.widget.js 9 | * jquery.ui.mouse.js 10 | */ 11 | !function(a){function f(a,b){if(!(a.originalEvent.touches.length>1)){a.preventDefault();var c=a.originalEvent.changedTouches[0],d=document.createEvent("MouseEvents");d.initMouseEvent(b,!0,!0,window,1,c.screenX,c.screenY,c.clientX,c.clientY,!1,!1,!1,!1,0,null),a.target.dispatchEvent(d)}}if(a.support.touch="ontouchend"in document,a.support.touch){var e,b=a.ui.mouse.prototype,c=b._mouseInit,d=b._mouseDestroy;b._touchStart=function(a){var b=this;!e&&b._mouseCapture(a.originalEvent.changedTouches[0])&&(e=!0,b._touchMoved=!1,f(a,"mouseover"),f(a,"mousemove"),f(a,"mousedown"))},b._touchMove=function(a){e&&(this._touchMoved=!0,f(a,"mousemove"))},b._touchEnd=function(a){e&&(f(a,"mouseup"),f(a,"mouseout"),this._touchMoved||f(a,"click"),e=!1)},b._mouseInit=function(){var b=this;b.element.bind({touchstart:a.proxy(b,"_touchStart"),touchmove:a.proxy(b,"_touchMove"),touchend:a.proxy(b,"_touchEnd")}),c.call(b)},b._mouseDestroy=function(){var b=this;b.element.unbind({touchstart:a.proxy(b,"_touchStart"),touchmove:a.proxy(b,"_touchMove"),touchend:a.proxy(b,"_touchEnd")}),d.call(b)}}}(jQuery); -------------------------------------------------------------------------------- /assets/js/lib/jquery/index.php: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /assets/js/lib/sticky-kit-master/dist/sticky-kit.min.js: -------------------------------------------------------------------------------- 1 | /* 2 | Sticky-kit v1.1.3 | MIT | Leaf Corcoran 2015 | http://leafo.net 3 | */ 4 | (function(){var c,f;c=window.jQuery;f=c(window);c.fn.stick_in_parent=function(b){var A,w,J,n,B,K,p,q,L,k,E,t;null==b&&(b={});t=b.sticky_class;B=b.inner_scrolling;E=b.recalc_every;k=b.parent;q=b.offset_top;p=b.spacer;w=b.bottoming;null==q&&(q=0);null==k&&(k=void 0);null==B&&(B=!0);null==t&&(t="is_stuck");A=c(document);null==w&&(w=!0);L=function(a){var b;return window.getComputedStyle?(a=window.getComputedStyle(a[0]),b=parseFloat(a.getPropertyValue("width"))+parseFloat(a.getPropertyValue("margin-left"))+ 5 | parseFloat(a.getPropertyValue("margin-right")),"border-box"!==a.getPropertyValue("box-sizing")&&(b+=parseFloat(a.getPropertyValue("border-left-width"))+parseFloat(a.getPropertyValue("border-right-width"))+parseFloat(a.getPropertyValue("padding-left"))+parseFloat(a.getPropertyValue("padding-right"))),b):a.outerWidth(!0)};J=function(a,b,n,C,F,u,r,G){var v,H,m,D,I,d,g,x,y,z,h,l;if(!a.data("sticky_kit")){a.data("sticky_kit",!0);I=A.height();g=a.parent();null!=k&&(g=g.closest(k));if(!g.length)throw"failed to find stick parent"; 6 | v=m=!1;(h=null!=p?p&&a.closest(p):c("
"))&&h.css("position",a.css("position"));x=function(){var d,f,e;if(!G&&(I=A.height(),d=parseInt(g.css("border-top-width"),10),f=parseInt(g.css("padding-top"),10),b=parseInt(g.css("padding-bottom"),10),n=g.offset().top+d+f,C=g.height(),m&&(v=m=!1,null==p&&(a.insertAfter(h),h.detach()),a.css({position:"",top:"",width:"",bottom:""}).removeClass(t),e=!0),F=a.offset().top-(parseInt(a.css("margin-top"),10)||0)-q,u=a.outerHeight(!0),r=a.css("float"),h&&h.css({width:L(a), 7 | height:u,display:a.css("display"),"vertical-align":a.css("vertical-align"),"float":r}),e))return l()};x();if(u!==C)return D=void 0,d=q,z=E,l=function(){var c,l,e,k;if(!G&&(e=!1,null!=z&&(--z,0>=z&&(z=E,x(),e=!0)),e||A.height()===I||x(),e=f.scrollTop(),null!=D&&(l=e-D),D=e,m?(w&&(k=e+u+d>C+n,v&&!k&&(v=!1,a.css({position:"fixed",bottom:"",top:d}).trigger("sticky_kit:unbottom"))),ec&&!v&&(d-=l,d=Math.max(c-u,d),d=Math.min(q,d),m&&a.css({top:d+"px"})))):e>F&&(m=!0,c={position:"fixed",top:d},c.width="border-box"===a.css("box-sizing")?a.outerWidth()+"px":a.width()+"px",a.css(c).addClass(t),null==p&&(a.after(h),"left"!==r&&"right"!==r||h.append(a)),a.trigger("sticky_kit:stick")),m&&w&&(null==k&&(k=e+u+d>C+n),!v&&k)))return v=!0,"static"===g.css("position")&&g.css({position:"relative"}),a.css({position:"absolute",bottom:b,top:"auto"}).trigger("sticky_kit:bottom")}, 9 | y=function(){x();return l()},H=function(){G=!0;f.off("touchmove",l);f.off("scroll",l);f.off("resize",y);c(document.body).off("sticky_kit:recalc",y);a.off("sticky_kit:detach",H);a.removeData("sticky_kit");a.css({position:"",bottom:"",top:"",width:""});g.position("position","");if(m)return null==p&&("left"!==r&&"right"!==r||a.insertAfter(h),h.remove()),a.removeClass(t)},f.on("touchmove",l),f.on("scroll",l),f.on("resize",y),c(document.body).on("sticky_kit:recalc",y),a.on("sticky_kit:detach",H),setTimeout(l, 10 | 0)}};n=0;for(K=this.length;n -------------------------------------------------------------------------------- /assets/js/reload.js: -------------------------------------------------------------------------------- 1 | $(document).ready(function(){ var interval = "10000"; setInterval(function() { $("#reloadHome").load("./load/home.php"); }, interval); setInterval(function() { $("#reloadActive").load("./load/users_active.php"); }, interval); setInterval(function() { $("#reloadNetwacth").load("./load/netwatch.php"); }, interval); setInterval(function() { $("#reloadDHCPLease").load("./load/dhcp_lease.php"); }, interval);setInterval(function() { $("#reloadNetwacth").load("./load/netwatch.php"); }, interval); setInterval(function() { $("#reloadInterface").load("./load/interface.php"); }, interval);}); 2 | 3 | -------------------------------------------------------------------------------- /assets/js/scripts.js: -------------------------------------------------------------------------------- 1 | $(function() { 2 | 3 | var i = function() { 4 | (window.innerWidth > 0 ? window.innerWidth : this.screen.width) < 1170 ? ($("body").addClass("mini-sidebar"), 5 | $(".navbar-brand span").hide(), $(".scroll-sidebar, .slimScrollDiv").css("overflow-x", "visible").parent().css("overflow", "visible"), 6 | $(".sidebartoggler i").addClass("ti-menu")) : ($("body").removeClass("mini-sidebar"), 7 | $(".navbar-brand span").show()); 8 | var i = (window.innerHeight > 0 ? window.innerHeight : this.screen.height) - 1; 9 | (i -= 70) < 1 && (i = 1), i > 70 && $(".page-wrapper").css("min-height", i + "px"); 10 | }; 11 | 12 | 13 | $(window).ready(i), $(window).on("resize", i), $(".sidebartoggler").on("click", function() { 14 | $("body").hasClass("mini-sidebar") ? ($("body").trigger("resize"), $(".scroll-sidebar, .slimScrollDiv").css("overflow", "hidden").parent().css("overflow", "visible"), 15 | $("body").removeClass("mini-sidebar"), $(".navbar-brand span").show()) : ($("body").trigger("resize"), 16 | $(".scroll-sidebar, .slimScrollDiv").css("overflow-x", "visible").parent().css("overflow", "visible"), 17 | $("body").addClass("mini-sidebar"), $(".navbar-brand span").hide()); 18 | }), 19 | 20 | 21 | 22 | $(".fix-header .header").stick_in_parent({}), $(".nav-toggler").click(function() { 23 | $("body").toggleClass("show-sidebar"), $(".nav-toggler i").toggleClass("mdi mdi-menu"), 24 | $(".nav-toggler i").addClass("mdi mdi-close"); 25 | }), 26 | 27 | 28 | 29 | $(".search-box a, .search-box .app-search .srh-btn").on("click", function() { 30 | $(".app-search").slideToggle(200); 31 | }), 32 | 33 | 34 | 35 | $(".floating-labels .form-control").on("focus blur", function(i) { 36 | $(this).parents(".form-group").toggleClass("focused", "focus" === i.type || this.value.length > 0); 37 | }).trigger("blur"), $(function() { 38 | for (var i = window.location, o = $("ul#sidebarnav a").filter(function() { 39 | return this.href == i; 40 | }).addClass("active").parent().addClass("active");;) { 41 | if (!o.is("li")) break; 42 | o = o.parent().addClass("in").parent().addClass("active"); 43 | } 44 | }), 45 | 46 | $(function() { 47 | $("#sidebarnav").metisMenu(); 48 | }), 49 | 50 | $(".scroll-sidebar").slimScroll({ 51 | position: "left", 52 | size: "5px", 53 | height: "100%", 54 | color: "#dcdcdc" 55 | }), 56 | 57 | $(".message-center").slimScroll({ 58 | position: "right", 59 | size: "5px", 60 | color: "#dcdcdc" 61 | }), 62 | 63 | $(".aboutscroll").slimScroll({ 64 | position: "right", 65 | size: "5px", 66 | height: "80", 67 | color: "#dcdcdc" 68 | }), 69 | 70 | $(".message-scroll").slimScroll({ 71 | position: "right", 72 | size: "5px", 73 | height: "570", 74 | color: "#dcdcdc" 75 | }), 76 | 77 | $(".chat-box").slimScroll({ 78 | position: "right", 79 | size: "5px", 80 | height: "470", 81 | color: "#dcdcdc" 82 | }), 83 | 84 | $(".slimscrollright").slimScroll({ 85 | height: "100%", 86 | position: "right", 87 | size: "5px", 88 | color: "#dcdcdc" 89 | }), 90 | 91 | 92 | 93 | $("body").trigger("resize"), $(".list-task li label").click(function() { 94 | $(this).toggleClass("task-done"); 95 | }), 96 | 97 | 98 | 99 | $("#to-recover").on("click", function() { 100 | $("#loginform").slideUp(), $("#recoverform").fadeIn(); 101 | }), 102 | 103 | 104 | 105 | $('a[data-action="collapse"]').on("click", function(i) { 106 | i.preventDefault(), $(this).closest(".card").find('[data-action="collapse"] i').toggleClass("ti-minus ti-plus"), 107 | $(this).closest(".card").children(".card-body").collapse("toggle"); 108 | }), 109 | 110 | 111 | 112 | $('a[data-action="expand"]').on("click", function(i) { 113 | i.preventDefault(), $(this).closest(".card").find('[data-action="expand"] i').toggleClass("mdi-arrow-expand mdi-arrow-compress"), 114 | $(this).closest(".card").toggleClass("card-fullscreen"); 115 | }), 116 | 117 | 118 | 119 | $('a[data-action="close"]').on("click", function() { 120 | $(this).closest(".card").removeClass().slideUp("fast"); 121 | }); 122 | }); 123 | -------------------------------------------------------------------------------- /db/index.php: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /db/ref.txt: -------------------------------------------------------------------------------- 1 | 2 | 001|Wiki Mikrotik|https://wiki.mikrotik.com/wiki/ 3 | 002|Nginx Web Server For Windows-1.15.2|http://nginx.org/en/download.html 4 | 003|PHP Version 7.2 (Tested on VPS Ubuntu 18.10)|https://www.ubuntu.com/ 5 | 004|PHP Version 5.6.36 (XAMPP Tested on Windows 7)|https://www.apachefriends.org/download.html 6 | 005|Tested on Termux Android|https://termux.com/ 7 | 006|Template Ela Admin Free|https://colorlib.com/ 8 | 007|jQuery v3.2.0 |https://jquery.com/ 9 | 008|jQuery UI - v1.11.4|https://jqueryui.com 10 | 009|Bootstrap v4.0.0|https://getbootstrap.com 11 | 010|Sticky-kit v1.1.3 |https://leafo.net 12 | 011|DataTables 1.10.13|https://datatables.net 13 | 012|Highcharts JS v6.1.4 |https://highcharts.com 14 | 013|Google Translate |https://translate.google.com 15 | 014|Chosen V.1.1.0 |http://getharvest.com 16 | 015|FPDF V.1.81 (Olivier PLATHEY)|# 17 | 016|Mikho App V.2|# 18 | 017|Mikman App|# -------------------------------------------------------------------------------- /db/social.txt: -------------------------------------------------------------------------------- 1 | 2 | 001|facebook|https://www.facebook.com/groups/272861196848050/ 3 | 002|youtube|https://www.youtube.com/channel/UCLdPKMt8GFaMgw1_BjnRKrg 4 | 003|github|https://github.com/mikmoscms -------------------------------------------------------------------------------- /db/update.txt: -------------------------------------------------------------------------------- 1 | 2 | 022|25/03/19|Bika Ambon|0.2.1|[+]MBS - Mikmos Blok Situs [+]Total Voucher Terjual perBulan & perHari Home/Billing [!]Perbaikan Typo Human Error [!]Netwatch Kostum Up/Down [!]SRSTunnel Perbaikan (Online) 3 | 021|04/03/19|Pancong|0.2.0|[+]Upload Logo Voucher [+]Netwatch diaktifkan lagi [+]Multi Users Login Mikmos Tested (Mikmos Online) [-]TELEGRAM.php file delete [!]Telegram Fixed [!]System Updated 4 | 020|03/02/19|Klepon|0.1.9|[!]Profile Users Update [!]Billing Update [!]Telegram Update pindah penyimpanan Data [!]Admin Users Update (Proses Transisi Multi Users [!]JqueryTable Update [!]Status Cek User utk Login Hotspot [!]Menu Billing Jadi Sub Grafik Billing & Table Billing [+]Theme Dark (free) [+]Report Billing Export PDF [+]Library FPDF [+]Load Export PDF [-]Report Billing Export CSV [-]Netwatch 5 | 019|14/01/19|Kemplang|0.1.8|[!]Perbaikan Billing loading delete [!]Perbaikan Billing Expor csv [+]Multi Bahasa (Google Translate) 6 | 018|03/12/18|Cucur|0.1.7|[!]User Aktif Grafik [!]Billing Grafik & Tanggal [+]User Aktif Load 7 | 017|12/11/18|GetukLindri|0.1.6|[!]Profile (inlcude kostum Telegram) [!]Users [!]Telegram (kostum Telegram by Riza Luky Aditia) [!]Vouchers [!]Lupa Kata Sandi (input no.hp) [!]Billing [+]Billing Grafik Penjualan [+]SRSTunnel (Online) [+]Download (Online) [+]Input Manual Port API Mikrotik (Kostum) 8 | 016|08/11/18|LempukDurian|0.1.5|[!]Logs Aktifitas [!]Installer [!]Billing [!]Fungsi Waktu [+]BEM - Backup Email Mikmos (Email-Scheduler-Script)(Online) [+]Perpanjang Members (khusus users - bukan voucher generate) [+]Download Template Hotspot(Online) [-]Remove Chat Mikmos Support - Menu About 9 | 016|04/11/18|Surabi|0.1.4|[!]Susun Menu [!]Masa Aktif (Limit Uptime) ditambahkan di Profile Users [!]Billing Kostum select [+]Menu Bot Telegram - Untuk Monitoring login/logout users - sinkron ke menu Profil Users [+]Menu Scheduler [+]Theme Multi Style (Online) [+]Disqus Online [+]Chat Mikmos Support - Menu About 10 | 015|22/10/18|Lupis|0.1.3|[!]Perbaikan Loading [!]Perbaikan Billing [+]Show Prefix [+]Grafik Interface Tampil di Dashboard setting Aktif/NonAktif di Menu -> Interface 11 | 014|19/10/18|KulubDangdeur|0.1.2|[!]Support PHP 7.2 (Tested on VPS Ubuntu) [!]Posisi Menu di Susun Ulang [!]Perbaikan Profile [!]Perbaikan Users [!]Perbaikan Input Masa Aktif dari Users ke Profile [!]Perbaikan Get Valid Kostum [!]Perbaikan Installer [!]Perbaikan Fungsi [+]Style CSS Theme Dark (Premium) [+]Show Lock User/Kunci User [+]Reboot Router (Menu -> Pengaturan) [-]Multi Bahasa disable 12 | 013|14/10/18|Jojorong|0.1.1|[!]Perubahan Profile [!]Perubahan Users [!]Perubahan Input Masa Aktif dari Users ke Profile [!]Perbaikan Script Vouchers [!]Get Valid Kostum [!]Perubahan Nama Seri [+]Javascript MikmosScript [-]Hidden Lock User/Kunci User 13 | 012|06/10/18|Ngareuyeh|0.1.0|[!]Perbaikan Info Notif [!]Perubahan Posisi Pengaturan [!]Perubahan Input Ether [+]Menu Monitoring Interface [+]Bahasa [+]Fungsi 14 | 011|03/10/18|SantayBro|0.0.9|[!]Perbaikan Warna Font [!]Perbaikan Users [!]Perbaikan Voucher [!]Perbaikan Billing [!]Ganti Status -cek-expire-online [+]Info Notif [+]Voucher Style simple4 15 | 010|17/09/18|GeberBro|0.0.8|[!]Perubahan Domain mikmos.tk >> mikmos.my.id [!]Perbaikan Profile & Users [!]Perbaikan Status -index-expire-online [!]Ganti Voucher Default [!]Fungsi Error Curl jadi info versi 16 | 009|15/09/18|MikirKeras|0.0.7|[!]Perbaikan Nginx+PHP ext CURL Aktif [!]Perbaikan System [+]Update Online (Syarat CURL aktif) & Offline [+]Menu Netwatch [+]Select Profil di User [+]Migrasi Ke MIKMOScms Sisa Billing dari [+]Lupa Kata Sandi 17 | 008|12/09/18|IsengKita|0.0.6|[+]Menu Upload Update Packing 18 | 007|11/09/18|KopiPagi|0.0.5|[!]Perbaikan Installer[!]Perbaikan Upload Logo[!]Session 19 | 006|09/09/18|KopiPahit|0.0.4|[!]Perbaikan Installer 20 | 005|08/09/18|Pusing|0.0.3|[-]Tested BucketAdmin Dashboard [+]ElaAdmin [+]Tested Menu Cookies [+]Ganti sistem Pengaturan Router & Admin[!]Ganti Icon Lang 21 | 004|04/09/18|3GelasKopi|0.0.2|[-]Folder administrator [+]Folder adm [+]Tested Menu Walled Garden 22 | 003|17/08/18|IsengKu|0.0.1|[+]Tested BucketAdmin Dashboard [-]Themes Admin LTE 3 [+]Tested Multi Bahasa 23 | 002|10/08/18|Iseng2Melanda|Beta|[-]Themes klorofil [+]Themes Admin LTE 3 [+]Tested Menu Hosts [+]Tested Menu IP Binding 24 | 001|01/08/18|IsengIseng|Alpha|[+]Themes klorofil -------------------------------------------------------------------------------- /db/versi.xml: -------------------------------------------------------------------------------- 1 | 2 | MIKMOScms 3 | Bika Ambon 4 | 0.2.1 5 | 25 Maret 2019 -------------------------------------------------------------------------------- /inc/adm/index.php: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /inc/config.php: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /inc/index.php: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /inc/ip_mk/index.php: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /inc/lang/en.php: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /inc/lang/id.php: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /inc/lang/index.php: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /index.php: -------------------------------------------------------------------------------- 1 | window.location.replace("./install.php?install");'); 19 | }else{ 20 | rename ("./install.php", "./install_mikmos.php"); 21 | } 22 | if(!empty($_SESSION['username'])) { 23 | require_once('./inc/adm/'.$_SESSION['level'].'.php'); 24 | if($_SESSION['level']=='ADMIN'){ 25 | require_once('./inc/ip_mk/'.$_ROUTER.'.php'); 26 | $_ROUTER_X = $_ROUTER; 27 | }else{ 28 | require_once('./inc/ip_mk/'.$_AKSES.'.php'); 29 | $_ROUTER_X = $_AKSES; 30 | } 31 | //} 32 | //if($_SESSION['connect']=='connect') { 33 | //require_once('./inc/ip_mk/'.$_ROUTER.'.php'); 34 | $API = new RouterosAPI(); 35 | $API->debug = false; 36 | $API->connect($_IPMK, $_POMK, $_USMK, _de(ltrim($_PSMK, __CMS))); 37 | } 38 | switch($_GET['index']){ 39 | default: 40 | if($_SESSION['connect']=='noconnect') {_e('');} 41 | if(isset($_SESSION['username'])) { 42 | include("load/t_atas.php"); 43 | include("load/t_menu.php"); 44 | $load=$_GET["load"]; 45 | if(!$load){ 46 | include("load/home.php"); 47 | }else{ 48 | if(empty($load)){ 49 | include("load/error.php"); 50 | }else{ 51 | if(file_exists("load/".$load.".php")){ 52 | include("load/".$_GET["load"].".php"); 53 | }else{ 54 | include("load/error.php"); 55 | }}} 56 | include("load/t_bawah.php"); 57 | } else { 58 | _e(''); 59 | } 60 | break; 61 | case'api': 62 | if(isset($_SESSION['username'])) { 63 | $load=$_GET["load"]; 64 | if(empty($load)){ 65 | include("load/error.php"); 66 | }else{ 67 | if(file_exists("api/".$load.".php")){ 68 | include("api/".$_GET["load"].".php"); 69 | }else{ 70 | include("load/error.php"); 71 | }} 72 | } else { 73 | _e(''); 74 | } 75 | break; 76 | case'login': 77 | if(isset($_SESSION['username'])){ 78 | _e(''); 79 | } else { 80 | if(isset($_POST['username']) && isset($_POST['password']) && isset($_POST['level'])) { 81 | require_once('./inc/adm/'.$_POST['level'].'.php'); 82 | if($_POST['username'] == $_USER && $_POST['password'] == _de(ltrim($_PASS, __CMS)) && $_POST['level'] == $_LEVEL) { 83 | $_SESSION['username'] = $_POST['username']; 84 | $_SESSION['password'] = $_POST['password']; 85 | $_SESSION['level'] = $_POST['level']; 86 | if($_SESSION['level']!=='ADMIN'){ 87 | _e(''); 88 | }else{ 89 | _e(''); 90 | 91 | } 92 | $_ceklog = ''; 93 | } elseif($_POST['username'] !== $_USER && $_POST['password'] == _de(ltrim($_PASS, __CMS)) && $_POST['level'] == $_LEVEL) { 94 | $_ceklog = ''; 95 | } elseif($_POST['username'] == $_USER && $_POST['password'] !== _de(ltrim($_PASS, __CMS)) && $_POST['level'] == $_LEVEL) { 96 | $_ceklog = ''; 97 | } elseif($_POST['username'] !== $_USER && $_POST['password'] !== _de(ltrim($_PASS, __CMS)) && $_POST['level'] == $_LEVEL) { 98 | $_ceklog = ''; 99 | }} 100 | include("load/_login.php"); 101 | } 102 | break; 103 | case'forgot': 104 | if(isset($_POST['username']) && isset($_POST['level'])) { 105 | require_once('./inc/adm/'.$_POST['level'].'.php'); 106 | require_once('./inc/ip_mk/'.$_ROUTER.'.php'); 107 | if(($_POST['username'] == $_USER) && ($_POST['hp'] == $_RTEL) && ($_POST['level'] == $_LEVEL)) { 108 | $_ceklog = '

LOGIN

'; 109 | } else { 110 | $_ceklog = '

ULANG

'; 111 | } 112 | } 113 | include("load/_forgot.php"); 114 | break; 115 | case'logout': 116 | include("load/t_atas.php"); 117 | include("load/t_menu.php"); 118 | //if(isset($_SESSION['username'])) { 119 | session_destroy(); 120 | _e(''); 121 | //} 122 | include("load/t_bawah.php"); 123 | break; 124 | case'lang': 125 | include("load/t_atas.php"); 126 | include("load/t_menu.php"); 127 | if(isset($_SESSION['username'])) { 128 | $lang = $_GET['get']; 129 | $mconfig = './inc/config.php'; 130 | $handleconfig = fopen($mconfig, 'w') or die('Cannot open file: '.$mconfig); 131 | $dataconfig = ' 132 | '; 141 | fwrite($handleconfig, $dataconfig); 142 | _e(''); 143 | } 144 | include("load/t_bawah.php"); 145 | break; 146 | case'install_rename': 147 | rename ("./install.php", "./install_mikmos.php"); 148 | session_destroy(); 149 | _e(''); 150 | break; 151 | case'vouchers_style': 152 | include("load/t_atas.php"); 153 | include("load/t_menu_adm.php"); 154 | include("load/_voucher_editor.php"); 155 | include("load/t_bawah.php"); 156 | break; 157 | case'backup': 158 | include("load/t_atas.php"); 159 | include("load/t_menu_adm.php"); 160 | include("load/_backup.php"); 161 | include("load/t_bawah.php"); 162 | break; 163 | } 164 | ?> -------------------------------------------------------------------------------- /lib/fpdf/font/courier.php: -------------------------------------------------------------------------------- 1 | array(0,128),128=>8364,130=>8218,131=>402,132=>8222,133=>8230,134=>array(8224,2),136=>710,137=>8240,138=>352,139=>8249,140=>338,142=>381,145=>array(8216,2),147=>array(8220,2),149=>8226,150=>array(8211,2),152=>732,153=>8482,154=>353,155=>8250,156=>339,158=>382,159=>376,160=>array(160,96)); 10 | ?> 11 | -------------------------------------------------------------------------------- /lib/fpdf/font/courierb.php: -------------------------------------------------------------------------------- 1 | array(0,128),128=>8364,130=>8218,131=>402,132=>8222,133=>8230,134=>array(8224,2),136=>710,137=>8240,138=>352,139=>8249,140=>338,142=>381,145=>array(8216,2),147=>array(8220,2),149=>8226,150=>array(8211,2),152=>732,153=>8482,154=>353,155=>8250,156=>339,158=>382,159=>376,160=>array(160,96)); 10 | ?> 11 | -------------------------------------------------------------------------------- /lib/fpdf/font/courierbi.php: -------------------------------------------------------------------------------- 1 | array(0,128),128=>8364,130=>8218,131=>402,132=>8222,133=>8230,134=>array(8224,2),136=>710,137=>8240,138=>352,139=>8249,140=>338,142=>381,145=>array(8216,2),147=>array(8220,2),149=>8226,150=>array(8211,2),152=>732,153=>8482,154=>353,155=>8250,156=>339,158=>382,159=>376,160=>array(160,96)); 10 | ?> 11 | -------------------------------------------------------------------------------- /lib/fpdf/font/courieri.php: -------------------------------------------------------------------------------- 1 | array(0,128),128=>8364,130=>8218,131=>402,132=>8222,133=>8230,134=>array(8224,2),136=>710,137=>8240,138=>352,139=>8249,140=>338,142=>381,145=>array(8216,2),147=>array(8220,2),149=>8226,150=>array(8211,2),152=>732,153=>8482,154=>353,155=>8250,156=>339,158=>382,159=>376,160=>array(160,96)); 10 | ?> 11 | -------------------------------------------------------------------------------- /lib/fpdf/font/helvetica.php: -------------------------------------------------------------------------------- 1 | 278,chr(1)=>278,chr(2)=>278,chr(3)=>278,chr(4)=>278,chr(5)=>278,chr(6)=>278,chr(7)=>278,chr(8)=>278,chr(9)=>278,chr(10)=>278,chr(11)=>278,chr(12)=>278,chr(13)=>278,chr(14)=>278,chr(15)=>278,chr(16)=>278,chr(17)=>278,chr(18)=>278,chr(19)=>278,chr(20)=>278,chr(21)=>278, 8 | chr(22)=>278,chr(23)=>278,chr(24)=>278,chr(25)=>278,chr(26)=>278,chr(27)=>278,chr(28)=>278,chr(29)=>278,chr(30)=>278,chr(31)=>278,' '=>278,'!'=>278,'"'=>355,'#'=>556,'$'=>556,'%'=>889,'&'=>667,'\''=>191,'('=>333,')'=>333,'*'=>389,'+'=>584, 9 | ','=>278,'-'=>333,'.'=>278,'/'=>278,'0'=>556,'1'=>556,'2'=>556,'3'=>556,'4'=>556,'5'=>556,'6'=>556,'7'=>556,'8'=>556,'9'=>556,':'=>278,';'=>278,'<'=>584,'='=>584,'>'=>584,'?'=>556,'@'=>1015,'A'=>667, 10 | 'B'=>667,'C'=>722,'D'=>722,'E'=>667,'F'=>611,'G'=>778,'H'=>722,'I'=>278,'J'=>500,'K'=>667,'L'=>556,'M'=>833,'N'=>722,'O'=>778,'P'=>667,'Q'=>778,'R'=>722,'S'=>667,'T'=>611,'U'=>722,'V'=>667,'W'=>944, 11 | 'X'=>667,'Y'=>667,'Z'=>611,'['=>278,'\\'=>278,']'=>278,'^'=>469,'_'=>556,'`'=>333,'a'=>556,'b'=>556,'c'=>500,'d'=>556,'e'=>556,'f'=>278,'g'=>556,'h'=>556,'i'=>222,'j'=>222,'k'=>500,'l'=>222,'m'=>833, 12 | 'n'=>556,'o'=>556,'p'=>556,'q'=>556,'r'=>333,'s'=>500,'t'=>278,'u'=>556,'v'=>500,'w'=>722,'x'=>500,'y'=>500,'z'=>500,'{'=>334,'|'=>260,'}'=>334,'~'=>584,chr(127)=>350,chr(128)=>556,chr(129)=>350,chr(130)=>222,chr(131)=>556, 13 | chr(132)=>333,chr(133)=>1000,chr(134)=>556,chr(135)=>556,chr(136)=>333,chr(137)=>1000,chr(138)=>667,chr(139)=>333,chr(140)=>1000,chr(141)=>350,chr(142)=>611,chr(143)=>350,chr(144)=>350,chr(145)=>222,chr(146)=>222,chr(147)=>333,chr(148)=>333,chr(149)=>350,chr(150)=>556,chr(151)=>1000,chr(152)=>333,chr(153)=>1000, 14 | chr(154)=>500,chr(155)=>333,chr(156)=>944,chr(157)=>350,chr(158)=>500,chr(159)=>667,chr(160)=>278,chr(161)=>333,chr(162)=>556,chr(163)=>556,chr(164)=>556,chr(165)=>556,chr(166)=>260,chr(167)=>556,chr(168)=>333,chr(169)=>737,chr(170)=>370,chr(171)=>556,chr(172)=>584,chr(173)=>333,chr(174)=>737,chr(175)=>333, 15 | chr(176)=>400,chr(177)=>584,chr(178)=>333,chr(179)=>333,chr(180)=>333,chr(181)=>556,chr(182)=>537,chr(183)=>278,chr(184)=>333,chr(185)=>333,chr(186)=>365,chr(187)=>556,chr(188)=>834,chr(189)=>834,chr(190)=>834,chr(191)=>611,chr(192)=>667,chr(193)=>667,chr(194)=>667,chr(195)=>667,chr(196)=>667,chr(197)=>667, 16 | chr(198)=>1000,chr(199)=>722,chr(200)=>667,chr(201)=>667,chr(202)=>667,chr(203)=>667,chr(204)=>278,chr(205)=>278,chr(206)=>278,chr(207)=>278,chr(208)=>722,chr(209)=>722,chr(210)=>778,chr(211)=>778,chr(212)=>778,chr(213)=>778,chr(214)=>778,chr(215)=>584,chr(216)=>778,chr(217)=>722,chr(218)=>722,chr(219)=>722, 17 | chr(220)=>722,chr(221)=>667,chr(222)=>667,chr(223)=>611,chr(224)=>556,chr(225)=>556,chr(226)=>556,chr(227)=>556,chr(228)=>556,chr(229)=>556,chr(230)=>889,chr(231)=>500,chr(232)=>556,chr(233)=>556,chr(234)=>556,chr(235)=>556,chr(236)=>278,chr(237)=>278,chr(238)=>278,chr(239)=>278,chr(240)=>556,chr(241)=>556, 18 | chr(242)=>556,chr(243)=>556,chr(244)=>556,chr(245)=>556,chr(246)=>556,chr(247)=>584,chr(248)=>611,chr(249)=>556,chr(250)=>556,chr(251)=>556,chr(252)=>556,chr(253)=>500,chr(254)=>556,chr(255)=>500); 19 | $enc = 'cp1252'; 20 | $uv = array(0=>array(0,128),128=>8364,130=>8218,131=>402,132=>8222,133=>8230,134=>array(8224,2),136=>710,137=>8240,138=>352,139=>8249,140=>338,142=>381,145=>array(8216,2),147=>array(8220,2),149=>8226,150=>array(8211,2),152=>732,153=>8482,154=>353,155=>8250,156=>339,158=>382,159=>376,160=>array(160,96)); 21 | ?> 22 | -------------------------------------------------------------------------------- /lib/fpdf/font/helveticab.php: -------------------------------------------------------------------------------- 1 | 278,chr(1)=>278,chr(2)=>278,chr(3)=>278,chr(4)=>278,chr(5)=>278,chr(6)=>278,chr(7)=>278,chr(8)=>278,chr(9)=>278,chr(10)=>278,chr(11)=>278,chr(12)=>278,chr(13)=>278,chr(14)=>278,chr(15)=>278,chr(16)=>278,chr(17)=>278,chr(18)=>278,chr(19)=>278,chr(20)=>278,chr(21)=>278, 8 | chr(22)=>278,chr(23)=>278,chr(24)=>278,chr(25)=>278,chr(26)=>278,chr(27)=>278,chr(28)=>278,chr(29)=>278,chr(30)=>278,chr(31)=>278,' '=>278,'!'=>333,'"'=>474,'#'=>556,'$'=>556,'%'=>889,'&'=>722,'\''=>238,'('=>333,')'=>333,'*'=>389,'+'=>584, 9 | ','=>278,'-'=>333,'.'=>278,'/'=>278,'0'=>556,'1'=>556,'2'=>556,'3'=>556,'4'=>556,'5'=>556,'6'=>556,'7'=>556,'8'=>556,'9'=>556,':'=>333,';'=>333,'<'=>584,'='=>584,'>'=>584,'?'=>611,'@'=>975,'A'=>722, 10 | 'B'=>722,'C'=>722,'D'=>722,'E'=>667,'F'=>611,'G'=>778,'H'=>722,'I'=>278,'J'=>556,'K'=>722,'L'=>611,'M'=>833,'N'=>722,'O'=>778,'P'=>667,'Q'=>778,'R'=>722,'S'=>667,'T'=>611,'U'=>722,'V'=>667,'W'=>944, 11 | 'X'=>667,'Y'=>667,'Z'=>611,'['=>333,'\\'=>278,']'=>333,'^'=>584,'_'=>556,'`'=>333,'a'=>556,'b'=>611,'c'=>556,'d'=>611,'e'=>556,'f'=>333,'g'=>611,'h'=>611,'i'=>278,'j'=>278,'k'=>556,'l'=>278,'m'=>889, 12 | 'n'=>611,'o'=>611,'p'=>611,'q'=>611,'r'=>389,'s'=>556,'t'=>333,'u'=>611,'v'=>556,'w'=>778,'x'=>556,'y'=>556,'z'=>500,'{'=>389,'|'=>280,'}'=>389,'~'=>584,chr(127)=>350,chr(128)=>556,chr(129)=>350,chr(130)=>278,chr(131)=>556, 13 | chr(132)=>500,chr(133)=>1000,chr(134)=>556,chr(135)=>556,chr(136)=>333,chr(137)=>1000,chr(138)=>667,chr(139)=>333,chr(140)=>1000,chr(141)=>350,chr(142)=>611,chr(143)=>350,chr(144)=>350,chr(145)=>278,chr(146)=>278,chr(147)=>500,chr(148)=>500,chr(149)=>350,chr(150)=>556,chr(151)=>1000,chr(152)=>333,chr(153)=>1000, 14 | chr(154)=>556,chr(155)=>333,chr(156)=>944,chr(157)=>350,chr(158)=>500,chr(159)=>667,chr(160)=>278,chr(161)=>333,chr(162)=>556,chr(163)=>556,chr(164)=>556,chr(165)=>556,chr(166)=>280,chr(167)=>556,chr(168)=>333,chr(169)=>737,chr(170)=>370,chr(171)=>556,chr(172)=>584,chr(173)=>333,chr(174)=>737,chr(175)=>333, 15 | chr(176)=>400,chr(177)=>584,chr(178)=>333,chr(179)=>333,chr(180)=>333,chr(181)=>611,chr(182)=>556,chr(183)=>278,chr(184)=>333,chr(185)=>333,chr(186)=>365,chr(187)=>556,chr(188)=>834,chr(189)=>834,chr(190)=>834,chr(191)=>611,chr(192)=>722,chr(193)=>722,chr(194)=>722,chr(195)=>722,chr(196)=>722,chr(197)=>722, 16 | chr(198)=>1000,chr(199)=>722,chr(200)=>667,chr(201)=>667,chr(202)=>667,chr(203)=>667,chr(204)=>278,chr(205)=>278,chr(206)=>278,chr(207)=>278,chr(208)=>722,chr(209)=>722,chr(210)=>778,chr(211)=>778,chr(212)=>778,chr(213)=>778,chr(214)=>778,chr(215)=>584,chr(216)=>778,chr(217)=>722,chr(218)=>722,chr(219)=>722, 17 | chr(220)=>722,chr(221)=>667,chr(222)=>667,chr(223)=>611,chr(224)=>556,chr(225)=>556,chr(226)=>556,chr(227)=>556,chr(228)=>556,chr(229)=>556,chr(230)=>889,chr(231)=>556,chr(232)=>556,chr(233)=>556,chr(234)=>556,chr(235)=>556,chr(236)=>278,chr(237)=>278,chr(238)=>278,chr(239)=>278,chr(240)=>611,chr(241)=>611, 18 | chr(242)=>611,chr(243)=>611,chr(244)=>611,chr(245)=>611,chr(246)=>611,chr(247)=>584,chr(248)=>611,chr(249)=>611,chr(250)=>611,chr(251)=>611,chr(252)=>611,chr(253)=>556,chr(254)=>611,chr(255)=>556); 19 | $enc = 'cp1252'; 20 | $uv = array(0=>array(0,128),128=>8364,130=>8218,131=>402,132=>8222,133=>8230,134=>array(8224,2),136=>710,137=>8240,138=>352,139=>8249,140=>338,142=>381,145=>array(8216,2),147=>array(8220,2),149=>8226,150=>array(8211,2),152=>732,153=>8482,154=>353,155=>8250,156=>339,158=>382,159=>376,160=>array(160,96)); 21 | ?> 22 | -------------------------------------------------------------------------------- /lib/fpdf/font/helveticabi.php: -------------------------------------------------------------------------------- 1 | 278,chr(1)=>278,chr(2)=>278,chr(3)=>278,chr(4)=>278,chr(5)=>278,chr(6)=>278,chr(7)=>278,chr(8)=>278,chr(9)=>278,chr(10)=>278,chr(11)=>278,chr(12)=>278,chr(13)=>278,chr(14)=>278,chr(15)=>278,chr(16)=>278,chr(17)=>278,chr(18)=>278,chr(19)=>278,chr(20)=>278,chr(21)=>278, 8 | chr(22)=>278,chr(23)=>278,chr(24)=>278,chr(25)=>278,chr(26)=>278,chr(27)=>278,chr(28)=>278,chr(29)=>278,chr(30)=>278,chr(31)=>278,' '=>278,'!'=>333,'"'=>474,'#'=>556,'$'=>556,'%'=>889,'&'=>722,'\''=>238,'('=>333,')'=>333,'*'=>389,'+'=>584, 9 | ','=>278,'-'=>333,'.'=>278,'/'=>278,'0'=>556,'1'=>556,'2'=>556,'3'=>556,'4'=>556,'5'=>556,'6'=>556,'7'=>556,'8'=>556,'9'=>556,':'=>333,';'=>333,'<'=>584,'='=>584,'>'=>584,'?'=>611,'@'=>975,'A'=>722, 10 | 'B'=>722,'C'=>722,'D'=>722,'E'=>667,'F'=>611,'G'=>778,'H'=>722,'I'=>278,'J'=>556,'K'=>722,'L'=>611,'M'=>833,'N'=>722,'O'=>778,'P'=>667,'Q'=>778,'R'=>722,'S'=>667,'T'=>611,'U'=>722,'V'=>667,'W'=>944, 11 | 'X'=>667,'Y'=>667,'Z'=>611,'['=>333,'\\'=>278,']'=>333,'^'=>584,'_'=>556,'`'=>333,'a'=>556,'b'=>611,'c'=>556,'d'=>611,'e'=>556,'f'=>333,'g'=>611,'h'=>611,'i'=>278,'j'=>278,'k'=>556,'l'=>278,'m'=>889, 12 | 'n'=>611,'o'=>611,'p'=>611,'q'=>611,'r'=>389,'s'=>556,'t'=>333,'u'=>611,'v'=>556,'w'=>778,'x'=>556,'y'=>556,'z'=>500,'{'=>389,'|'=>280,'}'=>389,'~'=>584,chr(127)=>350,chr(128)=>556,chr(129)=>350,chr(130)=>278,chr(131)=>556, 13 | chr(132)=>500,chr(133)=>1000,chr(134)=>556,chr(135)=>556,chr(136)=>333,chr(137)=>1000,chr(138)=>667,chr(139)=>333,chr(140)=>1000,chr(141)=>350,chr(142)=>611,chr(143)=>350,chr(144)=>350,chr(145)=>278,chr(146)=>278,chr(147)=>500,chr(148)=>500,chr(149)=>350,chr(150)=>556,chr(151)=>1000,chr(152)=>333,chr(153)=>1000, 14 | chr(154)=>556,chr(155)=>333,chr(156)=>944,chr(157)=>350,chr(158)=>500,chr(159)=>667,chr(160)=>278,chr(161)=>333,chr(162)=>556,chr(163)=>556,chr(164)=>556,chr(165)=>556,chr(166)=>280,chr(167)=>556,chr(168)=>333,chr(169)=>737,chr(170)=>370,chr(171)=>556,chr(172)=>584,chr(173)=>333,chr(174)=>737,chr(175)=>333, 15 | chr(176)=>400,chr(177)=>584,chr(178)=>333,chr(179)=>333,chr(180)=>333,chr(181)=>611,chr(182)=>556,chr(183)=>278,chr(184)=>333,chr(185)=>333,chr(186)=>365,chr(187)=>556,chr(188)=>834,chr(189)=>834,chr(190)=>834,chr(191)=>611,chr(192)=>722,chr(193)=>722,chr(194)=>722,chr(195)=>722,chr(196)=>722,chr(197)=>722, 16 | chr(198)=>1000,chr(199)=>722,chr(200)=>667,chr(201)=>667,chr(202)=>667,chr(203)=>667,chr(204)=>278,chr(205)=>278,chr(206)=>278,chr(207)=>278,chr(208)=>722,chr(209)=>722,chr(210)=>778,chr(211)=>778,chr(212)=>778,chr(213)=>778,chr(214)=>778,chr(215)=>584,chr(216)=>778,chr(217)=>722,chr(218)=>722,chr(219)=>722, 17 | chr(220)=>722,chr(221)=>667,chr(222)=>667,chr(223)=>611,chr(224)=>556,chr(225)=>556,chr(226)=>556,chr(227)=>556,chr(228)=>556,chr(229)=>556,chr(230)=>889,chr(231)=>556,chr(232)=>556,chr(233)=>556,chr(234)=>556,chr(235)=>556,chr(236)=>278,chr(237)=>278,chr(238)=>278,chr(239)=>278,chr(240)=>611,chr(241)=>611, 18 | chr(242)=>611,chr(243)=>611,chr(244)=>611,chr(245)=>611,chr(246)=>611,chr(247)=>584,chr(248)=>611,chr(249)=>611,chr(250)=>611,chr(251)=>611,chr(252)=>611,chr(253)=>556,chr(254)=>611,chr(255)=>556); 19 | $enc = 'cp1252'; 20 | $uv = array(0=>array(0,128),128=>8364,130=>8218,131=>402,132=>8222,133=>8230,134=>array(8224,2),136=>710,137=>8240,138=>352,139=>8249,140=>338,142=>381,145=>array(8216,2),147=>array(8220,2),149=>8226,150=>array(8211,2),152=>732,153=>8482,154=>353,155=>8250,156=>339,158=>382,159=>376,160=>array(160,96)); 21 | ?> 22 | -------------------------------------------------------------------------------- /lib/fpdf/font/helveticai.php: -------------------------------------------------------------------------------- 1 | 278,chr(1)=>278,chr(2)=>278,chr(3)=>278,chr(4)=>278,chr(5)=>278,chr(6)=>278,chr(7)=>278,chr(8)=>278,chr(9)=>278,chr(10)=>278,chr(11)=>278,chr(12)=>278,chr(13)=>278,chr(14)=>278,chr(15)=>278,chr(16)=>278,chr(17)=>278,chr(18)=>278,chr(19)=>278,chr(20)=>278,chr(21)=>278, 8 | chr(22)=>278,chr(23)=>278,chr(24)=>278,chr(25)=>278,chr(26)=>278,chr(27)=>278,chr(28)=>278,chr(29)=>278,chr(30)=>278,chr(31)=>278,' '=>278,'!'=>278,'"'=>355,'#'=>556,'$'=>556,'%'=>889,'&'=>667,'\''=>191,'('=>333,')'=>333,'*'=>389,'+'=>584, 9 | ','=>278,'-'=>333,'.'=>278,'/'=>278,'0'=>556,'1'=>556,'2'=>556,'3'=>556,'4'=>556,'5'=>556,'6'=>556,'7'=>556,'8'=>556,'9'=>556,':'=>278,';'=>278,'<'=>584,'='=>584,'>'=>584,'?'=>556,'@'=>1015,'A'=>667, 10 | 'B'=>667,'C'=>722,'D'=>722,'E'=>667,'F'=>611,'G'=>778,'H'=>722,'I'=>278,'J'=>500,'K'=>667,'L'=>556,'M'=>833,'N'=>722,'O'=>778,'P'=>667,'Q'=>778,'R'=>722,'S'=>667,'T'=>611,'U'=>722,'V'=>667,'W'=>944, 11 | 'X'=>667,'Y'=>667,'Z'=>611,'['=>278,'\\'=>278,']'=>278,'^'=>469,'_'=>556,'`'=>333,'a'=>556,'b'=>556,'c'=>500,'d'=>556,'e'=>556,'f'=>278,'g'=>556,'h'=>556,'i'=>222,'j'=>222,'k'=>500,'l'=>222,'m'=>833, 12 | 'n'=>556,'o'=>556,'p'=>556,'q'=>556,'r'=>333,'s'=>500,'t'=>278,'u'=>556,'v'=>500,'w'=>722,'x'=>500,'y'=>500,'z'=>500,'{'=>334,'|'=>260,'}'=>334,'~'=>584,chr(127)=>350,chr(128)=>556,chr(129)=>350,chr(130)=>222,chr(131)=>556, 13 | chr(132)=>333,chr(133)=>1000,chr(134)=>556,chr(135)=>556,chr(136)=>333,chr(137)=>1000,chr(138)=>667,chr(139)=>333,chr(140)=>1000,chr(141)=>350,chr(142)=>611,chr(143)=>350,chr(144)=>350,chr(145)=>222,chr(146)=>222,chr(147)=>333,chr(148)=>333,chr(149)=>350,chr(150)=>556,chr(151)=>1000,chr(152)=>333,chr(153)=>1000, 14 | chr(154)=>500,chr(155)=>333,chr(156)=>944,chr(157)=>350,chr(158)=>500,chr(159)=>667,chr(160)=>278,chr(161)=>333,chr(162)=>556,chr(163)=>556,chr(164)=>556,chr(165)=>556,chr(166)=>260,chr(167)=>556,chr(168)=>333,chr(169)=>737,chr(170)=>370,chr(171)=>556,chr(172)=>584,chr(173)=>333,chr(174)=>737,chr(175)=>333, 15 | chr(176)=>400,chr(177)=>584,chr(178)=>333,chr(179)=>333,chr(180)=>333,chr(181)=>556,chr(182)=>537,chr(183)=>278,chr(184)=>333,chr(185)=>333,chr(186)=>365,chr(187)=>556,chr(188)=>834,chr(189)=>834,chr(190)=>834,chr(191)=>611,chr(192)=>667,chr(193)=>667,chr(194)=>667,chr(195)=>667,chr(196)=>667,chr(197)=>667, 16 | chr(198)=>1000,chr(199)=>722,chr(200)=>667,chr(201)=>667,chr(202)=>667,chr(203)=>667,chr(204)=>278,chr(205)=>278,chr(206)=>278,chr(207)=>278,chr(208)=>722,chr(209)=>722,chr(210)=>778,chr(211)=>778,chr(212)=>778,chr(213)=>778,chr(214)=>778,chr(215)=>584,chr(216)=>778,chr(217)=>722,chr(218)=>722,chr(219)=>722, 17 | chr(220)=>722,chr(221)=>667,chr(222)=>667,chr(223)=>611,chr(224)=>556,chr(225)=>556,chr(226)=>556,chr(227)=>556,chr(228)=>556,chr(229)=>556,chr(230)=>889,chr(231)=>500,chr(232)=>556,chr(233)=>556,chr(234)=>556,chr(235)=>556,chr(236)=>278,chr(237)=>278,chr(238)=>278,chr(239)=>278,chr(240)=>556,chr(241)=>556, 18 | chr(242)=>556,chr(243)=>556,chr(244)=>556,chr(245)=>556,chr(246)=>556,chr(247)=>584,chr(248)=>611,chr(249)=>556,chr(250)=>556,chr(251)=>556,chr(252)=>556,chr(253)=>500,chr(254)=>556,chr(255)=>500); 19 | $enc = 'cp1252'; 20 | $uv = array(0=>array(0,128),128=>8364,130=>8218,131=>402,132=>8222,133=>8230,134=>array(8224,2),136=>710,137=>8240,138=>352,139=>8249,140=>338,142=>381,145=>array(8216,2),147=>array(8220,2),149=>8226,150=>array(8211,2),152=>732,153=>8482,154=>353,155=>8250,156=>339,158=>382,159=>376,160=>array(160,96)); 21 | ?> 22 | -------------------------------------------------------------------------------- /lib/fpdf/font/symbol.php: -------------------------------------------------------------------------------- 1 | 250,chr(1)=>250,chr(2)=>250,chr(3)=>250,chr(4)=>250,chr(5)=>250,chr(6)=>250,chr(7)=>250,chr(8)=>250,chr(9)=>250,chr(10)=>250,chr(11)=>250,chr(12)=>250,chr(13)=>250,chr(14)=>250,chr(15)=>250,chr(16)=>250,chr(17)=>250,chr(18)=>250,chr(19)=>250,chr(20)=>250,chr(21)=>250, 8 | chr(22)=>250,chr(23)=>250,chr(24)=>250,chr(25)=>250,chr(26)=>250,chr(27)=>250,chr(28)=>250,chr(29)=>250,chr(30)=>250,chr(31)=>250,' '=>250,'!'=>333,'"'=>713,'#'=>500,'$'=>549,'%'=>833,'&'=>778,'\''=>439,'('=>333,')'=>333,'*'=>500,'+'=>549, 9 | ','=>250,'-'=>549,'.'=>250,'/'=>278,'0'=>500,'1'=>500,'2'=>500,'3'=>500,'4'=>500,'5'=>500,'6'=>500,'7'=>500,'8'=>500,'9'=>500,':'=>278,';'=>278,'<'=>549,'='=>549,'>'=>549,'?'=>444,'@'=>549,'A'=>722, 10 | 'B'=>667,'C'=>722,'D'=>612,'E'=>611,'F'=>763,'G'=>603,'H'=>722,'I'=>333,'J'=>631,'K'=>722,'L'=>686,'M'=>889,'N'=>722,'O'=>722,'P'=>768,'Q'=>741,'R'=>556,'S'=>592,'T'=>611,'U'=>690,'V'=>439,'W'=>768, 11 | 'X'=>645,'Y'=>795,'Z'=>611,'['=>333,'\\'=>863,']'=>333,'^'=>658,'_'=>500,'`'=>500,'a'=>631,'b'=>549,'c'=>549,'d'=>494,'e'=>439,'f'=>521,'g'=>411,'h'=>603,'i'=>329,'j'=>603,'k'=>549,'l'=>549,'m'=>576, 12 | 'n'=>521,'o'=>549,'p'=>549,'q'=>521,'r'=>549,'s'=>603,'t'=>439,'u'=>576,'v'=>713,'w'=>686,'x'=>493,'y'=>686,'z'=>494,'{'=>480,'|'=>200,'}'=>480,'~'=>549,chr(127)=>0,chr(128)=>0,chr(129)=>0,chr(130)=>0,chr(131)=>0, 13 | chr(132)=>0,chr(133)=>0,chr(134)=>0,chr(135)=>0,chr(136)=>0,chr(137)=>0,chr(138)=>0,chr(139)=>0,chr(140)=>0,chr(141)=>0,chr(142)=>0,chr(143)=>0,chr(144)=>0,chr(145)=>0,chr(146)=>0,chr(147)=>0,chr(148)=>0,chr(149)=>0,chr(150)=>0,chr(151)=>0,chr(152)=>0,chr(153)=>0, 14 | chr(154)=>0,chr(155)=>0,chr(156)=>0,chr(157)=>0,chr(158)=>0,chr(159)=>0,chr(160)=>750,chr(161)=>620,chr(162)=>247,chr(163)=>549,chr(164)=>167,chr(165)=>713,chr(166)=>500,chr(167)=>753,chr(168)=>753,chr(169)=>753,chr(170)=>753,chr(171)=>1042,chr(172)=>987,chr(173)=>603,chr(174)=>987,chr(175)=>603, 15 | chr(176)=>400,chr(177)=>549,chr(178)=>411,chr(179)=>549,chr(180)=>549,chr(181)=>713,chr(182)=>494,chr(183)=>460,chr(184)=>549,chr(185)=>549,chr(186)=>549,chr(187)=>549,chr(188)=>1000,chr(189)=>603,chr(190)=>1000,chr(191)=>658,chr(192)=>823,chr(193)=>686,chr(194)=>795,chr(195)=>987,chr(196)=>768,chr(197)=>768, 16 | chr(198)=>823,chr(199)=>768,chr(200)=>768,chr(201)=>713,chr(202)=>713,chr(203)=>713,chr(204)=>713,chr(205)=>713,chr(206)=>713,chr(207)=>713,chr(208)=>768,chr(209)=>713,chr(210)=>790,chr(211)=>790,chr(212)=>890,chr(213)=>823,chr(214)=>549,chr(215)=>250,chr(216)=>713,chr(217)=>603,chr(218)=>603,chr(219)=>1042, 17 | chr(220)=>987,chr(221)=>603,chr(222)=>987,chr(223)=>603,chr(224)=>494,chr(225)=>329,chr(226)=>790,chr(227)=>790,chr(228)=>786,chr(229)=>713,chr(230)=>384,chr(231)=>384,chr(232)=>384,chr(233)=>384,chr(234)=>384,chr(235)=>384,chr(236)=>494,chr(237)=>494,chr(238)=>494,chr(239)=>494,chr(240)=>0,chr(241)=>329, 18 | chr(242)=>274,chr(243)=>686,chr(244)=>686,chr(245)=>686,chr(246)=>384,chr(247)=>384,chr(248)=>384,chr(249)=>384,chr(250)=>384,chr(251)=>384,chr(252)=>494,chr(253)=>494,chr(254)=>494,chr(255)=>0); 19 | $uv = array(32=>160,33=>33,34=>8704,35=>35,36=>8707,37=>array(37,2),39=>8715,40=>array(40,2),42=>8727,43=>array(43,2),45=>8722,46=>array(46,18),64=>8773,65=>array(913,2),67=>935,68=>array(916,2),70=>934,71=>915,72=>919,73=>921,74=>977,75=>array(922,4),79=>array(927,2),81=>920,82=>929,83=>array(931,3),86=>962,87=>937,88=>926,89=>936,90=>918,91=>91,92=>8756,93=>93,94=>8869,95=>95,96=>63717,97=>array(945,2),99=>967,100=>array(948,2),102=>966,103=>947,104=>951,105=>953,106=>981,107=>array(954,4),111=>array(959,2),113=>952,114=>961,115=>array(963,3),118=>982,119=>969,120=>958,121=>968,122=>950,123=>array(123,3),126=>8764,160=>8364,161=>978,162=>8242,163=>8804,164=>8725,165=>8734,166=>402,167=>9827,168=>9830,169=>9829,170=>9824,171=>8596,172=>array(8592,4),176=>array(176,2),178=>8243,179=>8805,180=>215,181=>8733,182=>8706,183=>8226,184=>247,185=>array(8800,2),187=>8776,188=>8230,189=>array(63718,2),191=>8629,192=>8501,193=>8465,194=>8476,195=>8472,196=>8855,197=>8853,198=>8709,199=>array(8745,2),201=>8835,202=>8839,203=>8836,204=>8834,205=>8838,206=>array(8712,2),208=>8736,209=>8711,210=>63194,211=>63193,212=>63195,213=>8719,214=>8730,215=>8901,216=>172,217=>array(8743,2),219=>8660,220=>array(8656,4),224=>9674,225=>9001,226=>array(63720,3),229=>8721,230=>array(63723,10),241=>9002,242=>8747,243=>8992,244=>63733,245=>8993,246=>array(63734,9)); 20 | ?> 21 | -------------------------------------------------------------------------------- /lib/fpdf/font/times.php: -------------------------------------------------------------------------------- 1 | 250,chr(1)=>250,chr(2)=>250,chr(3)=>250,chr(4)=>250,chr(5)=>250,chr(6)=>250,chr(7)=>250,chr(8)=>250,chr(9)=>250,chr(10)=>250,chr(11)=>250,chr(12)=>250,chr(13)=>250,chr(14)=>250,chr(15)=>250,chr(16)=>250,chr(17)=>250,chr(18)=>250,chr(19)=>250,chr(20)=>250,chr(21)=>250, 8 | chr(22)=>250,chr(23)=>250,chr(24)=>250,chr(25)=>250,chr(26)=>250,chr(27)=>250,chr(28)=>250,chr(29)=>250,chr(30)=>250,chr(31)=>250,' '=>250,'!'=>333,'"'=>408,'#'=>500,'$'=>500,'%'=>833,'&'=>778,'\''=>180,'('=>333,')'=>333,'*'=>500,'+'=>564, 9 | ','=>250,'-'=>333,'.'=>250,'/'=>278,'0'=>500,'1'=>500,'2'=>500,'3'=>500,'4'=>500,'5'=>500,'6'=>500,'7'=>500,'8'=>500,'9'=>500,':'=>278,';'=>278,'<'=>564,'='=>564,'>'=>564,'?'=>444,'@'=>921,'A'=>722, 10 | 'B'=>667,'C'=>667,'D'=>722,'E'=>611,'F'=>556,'G'=>722,'H'=>722,'I'=>333,'J'=>389,'K'=>722,'L'=>611,'M'=>889,'N'=>722,'O'=>722,'P'=>556,'Q'=>722,'R'=>667,'S'=>556,'T'=>611,'U'=>722,'V'=>722,'W'=>944, 11 | 'X'=>722,'Y'=>722,'Z'=>611,'['=>333,'\\'=>278,']'=>333,'^'=>469,'_'=>500,'`'=>333,'a'=>444,'b'=>500,'c'=>444,'d'=>500,'e'=>444,'f'=>333,'g'=>500,'h'=>500,'i'=>278,'j'=>278,'k'=>500,'l'=>278,'m'=>778, 12 | 'n'=>500,'o'=>500,'p'=>500,'q'=>500,'r'=>333,'s'=>389,'t'=>278,'u'=>500,'v'=>500,'w'=>722,'x'=>500,'y'=>500,'z'=>444,'{'=>480,'|'=>200,'}'=>480,'~'=>541,chr(127)=>350,chr(128)=>500,chr(129)=>350,chr(130)=>333,chr(131)=>500, 13 | chr(132)=>444,chr(133)=>1000,chr(134)=>500,chr(135)=>500,chr(136)=>333,chr(137)=>1000,chr(138)=>556,chr(139)=>333,chr(140)=>889,chr(141)=>350,chr(142)=>611,chr(143)=>350,chr(144)=>350,chr(145)=>333,chr(146)=>333,chr(147)=>444,chr(148)=>444,chr(149)=>350,chr(150)=>500,chr(151)=>1000,chr(152)=>333,chr(153)=>980, 14 | chr(154)=>389,chr(155)=>333,chr(156)=>722,chr(157)=>350,chr(158)=>444,chr(159)=>722,chr(160)=>250,chr(161)=>333,chr(162)=>500,chr(163)=>500,chr(164)=>500,chr(165)=>500,chr(166)=>200,chr(167)=>500,chr(168)=>333,chr(169)=>760,chr(170)=>276,chr(171)=>500,chr(172)=>564,chr(173)=>333,chr(174)=>760,chr(175)=>333, 15 | chr(176)=>400,chr(177)=>564,chr(178)=>300,chr(179)=>300,chr(180)=>333,chr(181)=>500,chr(182)=>453,chr(183)=>250,chr(184)=>333,chr(185)=>300,chr(186)=>310,chr(187)=>500,chr(188)=>750,chr(189)=>750,chr(190)=>750,chr(191)=>444,chr(192)=>722,chr(193)=>722,chr(194)=>722,chr(195)=>722,chr(196)=>722,chr(197)=>722, 16 | chr(198)=>889,chr(199)=>667,chr(200)=>611,chr(201)=>611,chr(202)=>611,chr(203)=>611,chr(204)=>333,chr(205)=>333,chr(206)=>333,chr(207)=>333,chr(208)=>722,chr(209)=>722,chr(210)=>722,chr(211)=>722,chr(212)=>722,chr(213)=>722,chr(214)=>722,chr(215)=>564,chr(216)=>722,chr(217)=>722,chr(218)=>722,chr(219)=>722, 17 | chr(220)=>722,chr(221)=>722,chr(222)=>556,chr(223)=>500,chr(224)=>444,chr(225)=>444,chr(226)=>444,chr(227)=>444,chr(228)=>444,chr(229)=>444,chr(230)=>667,chr(231)=>444,chr(232)=>444,chr(233)=>444,chr(234)=>444,chr(235)=>444,chr(236)=>278,chr(237)=>278,chr(238)=>278,chr(239)=>278,chr(240)=>500,chr(241)=>500, 18 | chr(242)=>500,chr(243)=>500,chr(244)=>500,chr(245)=>500,chr(246)=>500,chr(247)=>564,chr(248)=>500,chr(249)=>500,chr(250)=>500,chr(251)=>500,chr(252)=>500,chr(253)=>500,chr(254)=>500,chr(255)=>500); 19 | $enc = 'cp1252'; 20 | $uv = array(0=>array(0,128),128=>8364,130=>8218,131=>402,132=>8222,133=>8230,134=>array(8224,2),136=>710,137=>8240,138=>352,139=>8249,140=>338,142=>381,145=>array(8216,2),147=>array(8220,2),149=>8226,150=>array(8211,2),152=>732,153=>8482,154=>353,155=>8250,156=>339,158=>382,159=>376,160=>array(160,96)); 21 | ?> 22 | -------------------------------------------------------------------------------- /lib/fpdf/font/timesb.php: -------------------------------------------------------------------------------- 1 | 250,chr(1)=>250,chr(2)=>250,chr(3)=>250,chr(4)=>250,chr(5)=>250,chr(6)=>250,chr(7)=>250,chr(8)=>250,chr(9)=>250,chr(10)=>250,chr(11)=>250,chr(12)=>250,chr(13)=>250,chr(14)=>250,chr(15)=>250,chr(16)=>250,chr(17)=>250,chr(18)=>250,chr(19)=>250,chr(20)=>250,chr(21)=>250, 8 | chr(22)=>250,chr(23)=>250,chr(24)=>250,chr(25)=>250,chr(26)=>250,chr(27)=>250,chr(28)=>250,chr(29)=>250,chr(30)=>250,chr(31)=>250,' '=>250,'!'=>333,'"'=>555,'#'=>500,'$'=>500,'%'=>1000,'&'=>833,'\''=>278,'('=>333,')'=>333,'*'=>500,'+'=>570, 9 | ','=>250,'-'=>333,'.'=>250,'/'=>278,'0'=>500,'1'=>500,'2'=>500,'3'=>500,'4'=>500,'5'=>500,'6'=>500,'7'=>500,'8'=>500,'9'=>500,':'=>333,';'=>333,'<'=>570,'='=>570,'>'=>570,'?'=>500,'@'=>930,'A'=>722, 10 | 'B'=>667,'C'=>722,'D'=>722,'E'=>667,'F'=>611,'G'=>778,'H'=>778,'I'=>389,'J'=>500,'K'=>778,'L'=>667,'M'=>944,'N'=>722,'O'=>778,'P'=>611,'Q'=>778,'R'=>722,'S'=>556,'T'=>667,'U'=>722,'V'=>722,'W'=>1000, 11 | 'X'=>722,'Y'=>722,'Z'=>667,'['=>333,'\\'=>278,']'=>333,'^'=>581,'_'=>500,'`'=>333,'a'=>500,'b'=>556,'c'=>444,'d'=>556,'e'=>444,'f'=>333,'g'=>500,'h'=>556,'i'=>278,'j'=>333,'k'=>556,'l'=>278,'m'=>833, 12 | 'n'=>556,'o'=>500,'p'=>556,'q'=>556,'r'=>444,'s'=>389,'t'=>333,'u'=>556,'v'=>500,'w'=>722,'x'=>500,'y'=>500,'z'=>444,'{'=>394,'|'=>220,'}'=>394,'~'=>520,chr(127)=>350,chr(128)=>500,chr(129)=>350,chr(130)=>333,chr(131)=>500, 13 | chr(132)=>500,chr(133)=>1000,chr(134)=>500,chr(135)=>500,chr(136)=>333,chr(137)=>1000,chr(138)=>556,chr(139)=>333,chr(140)=>1000,chr(141)=>350,chr(142)=>667,chr(143)=>350,chr(144)=>350,chr(145)=>333,chr(146)=>333,chr(147)=>500,chr(148)=>500,chr(149)=>350,chr(150)=>500,chr(151)=>1000,chr(152)=>333,chr(153)=>1000, 14 | chr(154)=>389,chr(155)=>333,chr(156)=>722,chr(157)=>350,chr(158)=>444,chr(159)=>722,chr(160)=>250,chr(161)=>333,chr(162)=>500,chr(163)=>500,chr(164)=>500,chr(165)=>500,chr(166)=>220,chr(167)=>500,chr(168)=>333,chr(169)=>747,chr(170)=>300,chr(171)=>500,chr(172)=>570,chr(173)=>333,chr(174)=>747,chr(175)=>333, 15 | chr(176)=>400,chr(177)=>570,chr(178)=>300,chr(179)=>300,chr(180)=>333,chr(181)=>556,chr(182)=>540,chr(183)=>250,chr(184)=>333,chr(185)=>300,chr(186)=>330,chr(187)=>500,chr(188)=>750,chr(189)=>750,chr(190)=>750,chr(191)=>500,chr(192)=>722,chr(193)=>722,chr(194)=>722,chr(195)=>722,chr(196)=>722,chr(197)=>722, 16 | chr(198)=>1000,chr(199)=>722,chr(200)=>667,chr(201)=>667,chr(202)=>667,chr(203)=>667,chr(204)=>389,chr(205)=>389,chr(206)=>389,chr(207)=>389,chr(208)=>722,chr(209)=>722,chr(210)=>778,chr(211)=>778,chr(212)=>778,chr(213)=>778,chr(214)=>778,chr(215)=>570,chr(216)=>778,chr(217)=>722,chr(218)=>722,chr(219)=>722, 17 | chr(220)=>722,chr(221)=>722,chr(222)=>611,chr(223)=>556,chr(224)=>500,chr(225)=>500,chr(226)=>500,chr(227)=>500,chr(228)=>500,chr(229)=>500,chr(230)=>722,chr(231)=>444,chr(232)=>444,chr(233)=>444,chr(234)=>444,chr(235)=>444,chr(236)=>278,chr(237)=>278,chr(238)=>278,chr(239)=>278,chr(240)=>500,chr(241)=>556, 18 | chr(242)=>500,chr(243)=>500,chr(244)=>500,chr(245)=>500,chr(246)=>500,chr(247)=>570,chr(248)=>500,chr(249)=>556,chr(250)=>556,chr(251)=>556,chr(252)=>556,chr(253)=>500,chr(254)=>556,chr(255)=>500); 19 | $enc = 'cp1252'; 20 | $uv = array(0=>array(0,128),128=>8364,130=>8218,131=>402,132=>8222,133=>8230,134=>array(8224,2),136=>710,137=>8240,138=>352,139=>8249,140=>338,142=>381,145=>array(8216,2),147=>array(8220,2),149=>8226,150=>array(8211,2),152=>732,153=>8482,154=>353,155=>8250,156=>339,158=>382,159=>376,160=>array(160,96)); 21 | ?> 22 | -------------------------------------------------------------------------------- /lib/fpdf/font/timesbi.php: -------------------------------------------------------------------------------- 1 | 250,chr(1)=>250,chr(2)=>250,chr(3)=>250,chr(4)=>250,chr(5)=>250,chr(6)=>250,chr(7)=>250,chr(8)=>250,chr(9)=>250,chr(10)=>250,chr(11)=>250,chr(12)=>250,chr(13)=>250,chr(14)=>250,chr(15)=>250,chr(16)=>250,chr(17)=>250,chr(18)=>250,chr(19)=>250,chr(20)=>250,chr(21)=>250, 8 | chr(22)=>250,chr(23)=>250,chr(24)=>250,chr(25)=>250,chr(26)=>250,chr(27)=>250,chr(28)=>250,chr(29)=>250,chr(30)=>250,chr(31)=>250,' '=>250,'!'=>389,'"'=>555,'#'=>500,'$'=>500,'%'=>833,'&'=>778,'\''=>278,'('=>333,')'=>333,'*'=>500,'+'=>570, 9 | ','=>250,'-'=>333,'.'=>250,'/'=>278,'0'=>500,'1'=>500,'2'=>500,'3'=>500,'4'=>500,'5'=>500,'6'=>500,'7'=>500,'8'=>500,'9'=>500,':'=>333,';'=>333,'<'=>570,'='=>570,'>'=>570,'?'=>500,'@'=>832,'A'=>667, 10 | 'B'=>667,'C'=>667,'D'=>722,'E'=>667,'F'=>667,'G'=>722,'H'=>778,'I'=>389,'J'=>500,'K'=>667,'L'=>611,'M'=>889,'N'=>722,'O'=>722,'P'=>611,'Q'=>722,'R'=>667,'S'=>556,'T'=>611,'U'=>722,'V'=>667,'W'=>889, 11 | 'X'=>667,'Y'=>611,'Z'=>611,'['=>333,'\\'=>278,']'=>333,'^'=>570,'_'=>500,'`'=>333,'a'=>500,'b'=>500,'c'=>444,'d'=>500,'e'=>444,'f'=>333,'g'=>500,'h'=>556,'i'=>278,'j'=>278,'k'=>500,'l'=>278,'m'=>778, 12 | 'n'=>556,'o'=>500,'p'=>500,'q'=>500,'r'=>389,'s'=>389,'t'=>278,'u'=>556,'v'=>444,'w'=>667,'x'=>500,'y'=>444,'z'=>389,'{'=>348,'|'=>220,'}'=>348,'~'=>570,chr(127)=>350,chr(128)=>500,chr(129)=>350,chr(130)=>333,chr(131)=>500, 13 | chr(132)=>500,chr(133)=>1000,chr(134)=>500,chr(135)=>500,chr(136)=>333,chr(137)=>1000,chr(138)=>556,chr(139)=>333,chr(140)=>944,chr(141)=>350,chr(142)=>611,chr(143)=>350,chr(144)=>350,chr(145)=>333,chr(146)=>333,chr(147)=>500,chr(148)=>500,chr(149)=>350,chr(150)=>500,chr(151)=>1000,chr(152)=>333,chr(153)=>1000, 14 | chr(154)=>389,chr(155)=>333,chr(156)=>722,chr(157)=>350,chr(158)=>389,chr(159)=>611,chr(160)=>250,chr(161)=>389,chr(162)=>500,chr(163)=>500,chr(164)=>500,chr(165)=>500,chr(166)=>220,chr(167)=>500,chr(168)=>333,chr(169)=>747,chr(170)=>266,chr(171)=>500,chr(172)=>606,chr(173)=>333,chr(174)=>747,chr(175)=>333, 15 | chr(176)=>400,chr(177)=>570,chr(178)=>300,chr(179)=>300,chr(180)=>333,chr(181)=>576,chr(182)=>500,chr(183)=>250,chr(184)=>333,chr(185)=>300,chr(186)=>300,chr(187)=>500,chr(188)=>750,chr(189)=>750,chr(190)=>750,chr(191)=>500,chr(192)=>667,chr(193)=>667,chr(194)=>667,chr(195)=>667,chr(196)=>667,chr(197)=>667, 16 | chr(198)=>944,chr(199)=>667,chr(200)=>667,chr(201)=>667,chr(202)=>667,chr(203)=>667,chr(204)=>389,chr(205)=>389,chr(206)=>389,chr(207)=>389,chr(208)=>722,chr(209)=>722,chr(210)=>722,chr(211)=>722,chr(212)=>722,chr(213)=>722,chr(214)=>722,chr(215)=>570,chr(216)=>722,chr(217)=>722,chr(218)=>722,chr(219)=>722, 17 | chr(220)=>722,chr(221)=>611,chr(222)=>611,chr(223)=>500,chr(224)=>500,chr(225)=>500,chr(226)=>500,chr(227)=>500,chr(228)=>500,chr(229)=>500,chr(230)=>722,chr(231)=>444,chr(232)=>444,chr(233)=>444,chr(234)=>444,chr(235)=>444,chr(236)=>278,chr(237)=>278,chr(238)=>278,chr(239)=>278,chr(240)=>500,chr(241)=>556, 18 | chr(242)=>500,chr(243)=>500,chr(244)=>500,chr(245)=>500,chr(246)=>500,chr(247)=>570,chr(248)=>500,chr(249)=>556,chr(250)=>556,chr(251)=>556,chr(252)=>556,chr(253)=>444,chr(254)=>500,chr(255)=>444); 19 | $enc = 'cp1252'; 20 | $uv = array(0=>array(0,128),128=>8364,130=>8218,131=>402,132=>8222,133=>8230,134=>array(8224,2),136=>710,137=>8240,138=>352,139=>8249,140=>338,142=>381,145=>array(8216,2),147=>array(8220,2),149=>8226,150=>array(8211,2),152=>732,153=>8482,154=>353,155=>8250,156=>339,158=>382,159=>376,160=>array(160,96)); 21 | ?> 22 | -------------------------------------------------------------------------------- /lib/fpdf/font/timesi.php: -------------------------------------------------------------------------------- 1 | 250,chr(1)=>250,chr(2)=>250,chr(3)=>250,chr(4)=>250,chr(5)=>250,chr(6)=>250,chr(7)=>250,chr(8)=>250,chr(9)=>250,chr(10)=>250,chr(11)=>250,chr(12)=>250,chr(13)=>250,chr(14)=>250,chr(15)=>250,chr(16)=>250,chr(17)=>250,chr(18)=>250,chr(19)=>250,chr(20)=>250,chr(21)=>250, 8 | chr(22)=>250,chr(23)=>250,chr(24)=>250,chr(25)=>250,chr(26)=>250,chr(27)=>250,chr(28)=>250,chr(29)=>250,chr(30)=>250,chr(31)=>250,' '=>250,'!'=>333,'"'=>420,'#'=>500,'$'=>500,'%'=>833,'&'=>778,'\''=>214,'('=>333,')'=>333,'*'=>500,'+'=>675, 9 | ','=>250,'-'=>333,'.'=>250,'/'=>278,'0'=>500,'1'=>500,'2'=>500,'3'=>500,'4'=>500,'5'=>500,'6'=>500,'7'=>500,'8'=>500,'9'=>500,':'=>333,';'=>333,'<'=>675,'='=>675,'>'=>675,'?'=>500,'@'=>920,'A'=>611, 10 | 'B'=>611,'C'=>667,'D'=>722,'E'=>611,'F'=>611,'G'=>722,'H'=>722,'I'=>333,'J'=>444,'K'=>667,'L'=>556,'M'=>833,'N'=>667,'O'=>722,'P'=>611,'Q'=>722,'R'=>611,'S'=>500,'T'=>556,'U'=>722,'V'=>611,'W'=>833, 11 | 'X'=>611,'Y'=>556,'Z'=>556,'['=>389,'\\'=>278,']'=>389,'^'=>422,'_'=>500,'`'=>333,'a'=>500,'b'=>500,'c'=>444,'d'=>500,'e'=>444,'f'=>278,'g'=>500,'h'=>500,'i'=>278,'j'=>278,'k'=>444,'l'=>278,'m'=>722, 12 | 'n'=>500,'o'=>500,'p'=>500,'q'=>500,'r'=>389,'s'=>389,'t'=>278,'u'=>500,'v'=>444,'w'=>667,'x'=>444,'y'=>444,'z'=>389,'{'=>400,'|'=>275,'}'=>400,'~'=>541,chr(127)=>350,chr(128)=>500,chr(129)=>350,chr(130)=>333,chr(131)=>500, 13 | chr(132)=>556,chr(133)=>889,chr(134)=>500,chr(135)=>500,chr(136)=>333,chr(137)=>1000,chr(138)=>500,chr(139)=>333,chr(140)=>944,chr(141)=>350,chr(142)=>556,chr(143)=>350,chr(144)=>350,chr(145)=>333,chr(146)=>333,chr(147)=>556,chr(148)=>556,chr(149)=>350,chr(150)=>500,chr(151)=>889,chr(152)=>333,chr(153)=>980, 14 | chr(154)=>389,chr(155)=>333,chr(156)=>667,chr(157)=>350,chr(158)=>389,chr(159)=>556,chr(160)=>250,chr(161)=>389,chr(162)=>500,chr(163)=>500,chr(164)=>500,chr(165)=>500,chr(166)=>275,chr(167)=>500,chr(168)=>333,chr(169)=>760,chr(170)=>276,chr(171)=>500,chr(172)=>675,chr(173)=>333,chr(174)=>760,chr(175)=>333, 15 | chr(176)=>400,chr(177)=>675,chr(178)=>300,chr(179)=>300,chr(180)=>333,chr(181)=>500,chr(182)=>523,chr(183)=>250,chr(184)=>333,chr(185)=>300,chr(186)=>310,chr(187)=>500,chr(188)=>750,chr(189)=>750,chr(190)=>750,chr(191)=>500,chr(192)=>611,chr(193)=>611,chr(194)=>611,chr(195)=>611,chr(196)=>611,chr(197)=>611, 16 | chr(198)=>889,chr(199)=>667,chr(200)=>611,chr(201)=>611,chr(202)=>611,chr(203)=>611,chr(204)=>333,chr(205)=>333,chr(206)=>333,chr(207)=>333,chr(208)=>722,chr(209)=>667,chr(210)=>722,chr(211)=>722,chr(212)=>722,chr(213)=>722,chr(214)=>722,chr(215)=>675,chr(216)=>722,chr(217)=>722,chr(218)=>722,chr(219)=>722, 17 | chr(220)=>722,chr(221)=>556,chr(222)=>611,chr(223)=>500,chr(224)=>500,chr(225)=>500,chr(226)=>500,chr(227)=>500,chr(228)=>500,chr(229)=>500,chr(230)=>667,chr(231)=>444,chr(232)=>444,chr(233)=>444,chr(234)=>444,chr(235)=>444,chr(236)=>278,chr(237)=>278,chr(238)=>278,chr(239)=>278,chr(240)=>500,chr(241)=>500, 18 | chr(242)=>500,chr(243)=>500,chr(244)=>500,chr(245)=>500,chr(246)=>500,chr(247)=>675,chr(248)=>500,chr(249)=>500,chr(250)=>500,chr(251)=>500,chr(252)=>500,chr(253)=>444,chr(254)=>500,chr(255)=>444); 19 | $enc = 'cp1252'; 20 | $uv = array(0=>array(0,128),128=>8364,130=>8218,131=>402,132=>8222,133=>8230,134=>array(8224,2),136=>710,137=>8240,138=>352,139=>8249,140=>338,142=>381,145=>array(8216,2),147=>array(8220,2),149=>8226,150=>array(8211,2),152=>732,153=>8482,154=>353,155=>8250,156=>339,158=>382,159=>376,160=>array(160,96)); 21 | ?> 22 | -------------------------------------------------------------------------------- /lib/fpdf/font/zapfdingbats.php: -------------------------------------------------------------------------------- 1 | 0,chr(1)=>0,chr(2)=>0,chr(3)=>0,chr(4)=>0,chr(5)=>0,chr(6)=>0,chr(7)=>0,chr(8)=>0,chr(9)=>0,chr(10)=>0,chr(11)=>0,chr(12)=>0,chr(13)=>0,chr(14)=>0,chr(15)=>0,chr(16)=>0,chr(17)=>0,chr(18)=>0,chr(19)=>0,chr(20)=>0,chr(21)=>0, 8 | chr(22)=>0,chr(23)=>0,chr(24)=>0,chr(25)=>0,chr(26)=>0,chr(27)=>0,chr(28)=>0,chr(29)=>0,chr(30)=>0,chr(31)=>0,' '=>278,'!'=>974,'"'=>961,'#'=>974,'$'=>980,'%'=>719,'&'=>789,'\''=>790,'('=>791,')'=>690,'*'=>960,'+'=>939, 9 | ','=>549,'-'=>855,'.'=>911,'/'=>933,'0'=>911,'1'=>945,'2'=>974,'3'=>755,'4'=>846,'5'=>762,'6'=>761,'7'=>571,'8'=>677,'9'=>763,':'=>760,';'=>759,'<'=>754,'='=>494,'>'=>552,'?'=>537,'@'=>577,'A'=>692, 10 | 'B'=>786,'C'=>788,'D'=>788,'E'=>790,'F'=>793,'G'=>794,'H'=>816,'I'=>823,'J'=>789,'K'=>841,'L'=>823,'M'=>833,'N'=>816,'O'=>831,'P'=>923,'Q'=>744,'R'=>723,'S'=>749,'T'=>790,'U'=>792,'V'=>695,'W'=>776, 11 | 'X'=>768,'Y'=>792,'Z'=>759,'['=>707,'\\'=>708,']'=>682,'^'=>701,'_'=>826,'`'=>815,'a'=>789,'b'=>789,'c'=>707,'d'=>687,'e'=>696,'f'=>689,'g'=>786,'h'=>787,'i'=>713,'j'=>791,'k'=>785,'l'=>791,'m'=>873, 12 | 'n'=>761,'o'=>762,'p'=>762,'q'=>759,'r'=>759,'s'=>892,'t'=>892,'u'=>788,'v'=>784,'w'=>438,'x'=>138,'y'=>277,'z'=>415,'{'=>392,'|'=>392,'}'=>668,'~'=>668,chr(127)=>0,chr(128)=>390,chr(129)=>390,chr(130)=>317,chr(131)=>317, 13 | chr(132)=>276,chr(133)=>276,chr(134)=>509,chr(135)=>509,chr(136)=>410,chr(137)=>410,chr(138)=>234,chr(139)=>234,chr(140)=>334,chr(141)=>334,chr(142)=>0,chr(143)=>0,chr(144)=>0,chr(145)=>0,chr(146)=>0,chr(147)=>0,chr(148)=>0,chr(149)=>0,chr(150)=>0,chr(151)=>0,chr(152)=>0,chr(153)=>0, 14 | chr(154)=>0,chr(155)=>0,chr(156)=>0,chr(157)=>0,chr(158)=>0,chr(159)=>0,chr(160)=>0,chr(161)=>732,chr(162)=>544,chr(163)=>544,chr(164)=>910,chr(165)=>667,chr(166)=>760,chr(167)=>760,chr(168)=>776,chr(169)=>595,chr(170)=>694,chr(171)=>626,chr(172)=>788,chr(173)=>788,chr(174)=>788,chr(175)=>788, 15 | chr(176)=>788,chr(177)=>788,chr(178)=>788,chr(179)=>788,chr(180)=>788,chr(181)=>788,chr(182)=>788,chr(183)=>788,chr(184)=>788,chr(185)=>788,chr(186)=>788,chr(187)=>788,chr(188)=>788,chr(189)=>788,chr(190)=>788,chr(191)=>788,chr(192)=>788,chr(193)=>788,chr(194)=>788,chr(195)=>788,chr(196)=>788,chr(197)=>788, 16 | chr(198)=>788,chr(199)=>788,chr(200)=>788,chr(201)=>788,chr(202)=>788,chr(203)=>788,chr(204)=>788,chr(205)=>788,chr(206)=>788,chr(207)=>788,chr(208)=>788,chr(209)=>788,chr(210)=>788,chr(211)=>788,chr(212)=>894,chr(213)=>838,chr(214)=>1016,chr(215)=>458,chr(216)=>748,chr(217)=>924,chr(218)=>748,chr(219)=>918, 17 | chr(220)=>927,chr(221)=>928,chr(222)=>928,chr(223)=>834,chr(224)=>873,chr(225)=>828,chr(226)=>924,chr(227)=>924,chr(228)=>917,chr(229)=>930,chr(230)=>931,chr(231)=>463,chr(232)=>883,chr(233)=>836,chr(234)=>836,chr(235)=>867,chr(236)=>867,chr(237)=>696,chr(238)=>696,chr(239)=>874,chr(240)=>0,chr(241)=>874, 18 | chr(242)=>760,chr(243)=>946,chr(244)=>771,chr(245)=>865,chr(246)=>771,chr(247)=>888,chr(248)=>967,chr(249)=>888,chr(250)=>831,chr(251)=>873,chr(252)=>927,chr(253)=>970,chr(254)=>918,chr(255)=>0); 19 | $uv = array(32=>32,33=>array(9985,4),37=>9742,38=>array(9990,4),42=>9755,43=>9758,44=>array(9996,28),72=>9733,73=>array(10025,35),108=>9679,109=>10061,110=>9632,111=>array(10063,4),115=>9650,116=>9660,117=>9670,118=>10070,119=>9687,120=>array(10072,7),128=>array(10088,14),161=>array(10081,7),168=>9827,169=>9830,170=>9829,171=>9824,172=>array(9312,10),182=>array(10102,31),213=>8594,214=>array(8596,2),216=>array(10136,24),241=>array(10161,14)); 20 | ?> 21 | -------------------------------------------------------------------------------- /lib/full.php: -------------------------------------------------------------------------------- 1 | ".base64_decode("PD9waHAgZnVuY3Rpb24gbWlrbW9zX19lbigkbWlrbW9zLCAkc3RyaW5nKXsgaWYoJG1pa21vcyA9PSAnX01JS01PUycpewkkc3RyaW5nID0gYmFzZTY0X2VuY29kZSgkc3RyaW5nKTsgfWVsc2V7ICRzdHJpbmcgPSBiYXNlNjRfZW5jb2RlKCdUVWxMVFU5VElFSk1RVTVMJyk7IH0JcmV0dXJuICRzdHJpbmc7IH1mdW5jdGlvbiBtaWttb3NfX2RlKCRtaWttb3MsICRzdHJpbmcpIHtpZigkbWlrbW9zID09ICdfTUlLTU9TJyl7JHN0cmluZ3ggPSBzdWJzdHIoJHN0cmluZywzKTskc3RyaW5nID0gYmFzZTY0X2RlY29kZSgkc3RyaW5neCk7fWVsc2V7JHN0cmluZyA9IGJhc2U2NF9kZWNvZGUoJ1RVbExUVTlUSUVKTVFVNUwnKTt9cmV0dXJuICRzdHJpbmc7fT8+")); ?> -------------------------------------------------------------------------------- /lib/index.php: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /load/_voucher_editor.php: -------------------------------------------------------------------------------- 1 | 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 | 37 | 38 | 43 | 44 | 45 | 46 | 47 | 51 | 52 | 53 | 54 | 55 |
Nama Style Voucher
39 | 40 | 41 | 42 |
48 | 49 | 50 |
56 |
57 | 58 | 59 | 60 | 61 | 62 | 63 | window.history.go(-1)'); 82 | echo ' 43 | 44 | 45 | 46 |
47 | 48 | 49 | 50 |
51 |
52 |

53 |

54 |
55 |
56 | write('/system/scheduler/print', false); 60 | $API->write('?=name='.$name.''); 61 | $ARRAY1 = $API->read(); 62 | $regtable = $ARRAY1[0]; 63 | $exp = $regtable['next-run']; 64 | $strd = $regtable['start-date']; 65 | $strt = $regtable['start-time']; 66 | $cek = $regtable['interval']; 67 | $ceklen = strlen(substr($cek,0)); 68 | $cekw = substr($cek, 0,2); 69 | $cekw1 = substr($cekw, 0,1)*7; 70 | $cekd = substr($cek, 2,2); 71 | $cekd1 = substr($cek, 2,1); 72 | if ($ceklen > 3){ 73 | if($_LANG=="id"){ 74 | $cekall = $cekw1 + $cekd1 .__S_title13; 75 | }else{ 76 | $cekall = $cekw1 + $cekd1; 77 | if($cekall > 1){$cekall = $cekw1 + $cekd1 .__S_title13.$s;}else{$cekall = $cekw1 + $cekd1 .__S_title13;} 78 | } 79 | }elseif (substr($cek, -1) == "h"){ 80 | $cek1 = substr($cek, 0,-1); 81 | $cekall = $cek1.__S_title14; 82 | }elseif (substr($cek, -1) == "d"){ 83 | $cek1 = substr($cek, 0,-1); 84 | $cekall = $cek1 .__S_title13; 85 | }elseif (substr($cek, -1) == "w"){ 86 | $cek1 = substr($cek, 0,-1); 87 | $cekall = ($cek1*7); 88 | if($cekall > 1){$cekall = $cekw1 + $cekd1 .__S_title13.$s;}else{$cekall = $cekw1 + $cekd1 .__S_title13;} 89 | }elseif($cekall == ""){ 90 | } 91 | $cekall; 92 | 93 | 94 | $getuser = $API->comm("/ip/hotspot/user/print", array("?name"=> "$name")); 95 | $user = $getuser[0]['name']; 96 | $profile = $getuser[0]['profile']; 97 | $uptime = formatDTM($getuser[0]['uptime']); 98 | $getbyteo = $getuser[0]['bytes-out']; 99 | $byteo = formatBytes2($getbyteo, 2); 100 | $limitup = $getuser[0]['limit-uptime']; 101 | $limitbyte = $getuser[0]['limit-bytes-total']; 102 | if($limitbyte == ""){$dataleft = "Unlimited";}else{$dataleft = formatBytes2($limitbyte-$getbyteo,2);} 103 | } 104 | if($user == "" || $exp == ""){ 105 | echo "

User $name ".__S_title9."

"; 106 | }elseif($limitup == "1s" || $uptime == $limitup || $getbyteo == $limitbyte){ 107 | echo "

User $name ".__S_title10."

"; 108 | } 109 | if($user == "" || $exp == ""){}else{ 110 | ?> 111 | 112 |
113 | 114 | 115 | 116 | 117 | "; 121 | echo ""; 122 | echo ""; 123 | echo ""; 124 | echo ""; 125 | echo ""; 126 | echo ""; 127 | echo ""; 128 | echo ""; 129 | echo ""; 130 | echo ""; 131 | echo ""; 132 | echo ""; 133 | echo ""; 134 | echo ""; 135 | echo ""; 136 | if($limitup == "1s" || $uptime == $limitup || $getbyteo == $limitbyte){ 137 | echo ""; 138 | echo ""; 139 | echo ""; 140 | echo ""; 141 | }else{ 142 | echo ""; 143 | echo ""; 144 | echo ""; 145 | echo ""; 146 | echo ""; 147 | echo ""; 148 | echo ""; 149 | echo ""; 150 | echo ""; 151 | echo ""; 152 | echo ""; 153 | echo ""; 154 | echo ""; 155 | echo ""; 156 | echo ""; 157 | echo ""; 158 | echo ""; 159 | echo ""; 160 | echo ""; 161 | echo ""; 162 | echo ""; 163 | } 164 | } 165 | ?> 166 |
User Details
".__S_title1." $user
".__S_title2." $profile
".__S_title3." $uptime
".__S_title4." $byteo
Status".__S_title16."
".__S_title5." $dataleft
".__S_title6."$cekall
".__S_title7."$strd $strt
".__S_title8."$exp
Status".__S_title15."
167 |
168 |
169 |
170 |
171 | 172 | 173 | 174 | 175 | 176 | 177 | 178 | 179 | -------------------------------------------------------------------------------- /status/expire.php: -------------------------------------------------------------------------------- 1 | debug = false; 18 | $API->connect($_IPMK, $_POMK, $_USMK, _de(ltrim($_PSMK, __CMS))); 19 | 20 | $uname = $_GET['user']; 21 | if($uname != ""){ 22 | $mikmosLoad = $API->comm("/sys/sch/print", array("?name" => "$uname")); 23 | $expx = $mikmosLoad[0]['next-run']; 24 | } 25 | if(empty($expx)){ 26 | $exp = 'Unlimited'; 27 | }else{ 28 | $exp = $expx; 29 | } 30 | ?> 31 | 32 | 33 | 34 | Status Expire 35 | 36 | 37 | 40 | 41 | 42 |
43 | 44 | -------------------------------------------------------------------------------- /status/online.php: -------------------------------------------------------------------------------- 1 | debug = false; 18 | $API->connect($_IPMK, $_POMK, $_USMK, _de(ltrim($_PSMK, __CMS))); 19 | 20 | $mikmosTot = $API->comm("/ip/hotspot/active/print", array( 21 | "count-only" => "",)); 22 | ?> 23 | 24 | 25 | 26 | Jumlah 27 | 28 | 29 | 32 | 33 | 34 |
35 | 36 | -------------------------------------------------------------------------------- /vouchers/generate.php: -------------------------------------------------------------------------------- 1 | vc-17.10.18-teser -------------------------------------------------------------------------------- /vouchers/images/EYTALASE_EYTALASE_logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikmoscms/mikmos/26f1655ee342c7319dca2f11b6b9177b7a08bc9c/vouchers/images/EYTALASE_EYTALASE_logo.png -------------------------------------------------------------------------------- /vouchers/images/EYTA_EYTALASE_logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikmoscms/mikmos/26f1655ee342c7319dca2f11b6b9177b7a08bc9c/vouchers/images/EYTA_EYTALASE_logo.png -------------------------------------------------------------------------------- /vouchers/images/EY_EYTALASE_logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikmoscms/mikmos/26f1655ee342c7319dca2f11b6b9177b7a08bc9c/vouchers/images/EY_EYTALASE_logo.png -------------------------------------------------------------------------------- /vouchers/images/index.php: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /vouchers/index.php: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /vouchers/prints.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Voucher 5 | 6 | 7 | 8 | 16 | 17 | "; 22 | } 23 | $id = $_GET['id']; 24 | $vouchers = $_GET['vouchers']; 25 | $styles = $_GET['styles']; 26 | $v_opsi = $_GET['pilihan']; 27 | $v_qrc = $_GET['qrcode']; 28 | include('../inc/config.php'); 29 | include('../lib/routeros_api.class.php'); 30 | include('../lib/fungsi.php'); 31 | include('../inc/ip_mk/'.$_ROUTER.'.php'); 32 | include('../inc/lang/'.$_LANG.'.php'); 33 | $API = new RouterosAPI(); 34 | $API->debug = false; 35 | $API->connect($_IPMK, $_POMK, $_USMK, _de(ltrim($_PSMK, __CMS))); 36 | $getprofile = $API->comm("/ip/hotspot/user/profile/print", array("?.id" => "$id")); 37 | $profiledetalis = $getprofile[0]; 38 | $pid = $profiledetalis['.id']; 39 | $gpname = $profiledetalis['name']; 40 | $vuser = $API->comm("/ip/hotspot/user/print", array("?.id" => "$id")); 41 | $Totuser = count($vuser); 42 | $usermode = explode('-',$vouchers)[0]; 43 | $user = explode('-',$vouchers)[1]; 44 | $usermode = explode('-',$id)[0]; 45 | $v_profile = $vuser[0]['profile']; 46 | $getprofile = $API->comm("/ip/hotspot/user/profile/print", array("?name" => "$v_profile")); 47 | $ponlogin = $getprofile[0]['on-login']; 48 | $v_valid = explode(",",$ponlogin)[3]; 49 | $getprice = explode(",",$ponlogin)[2]; 50 | if($getprice == 0){ 51 | $v_harga = "0"; 52 | }else{ 53 | $v_harga = number_format($getprice,0,",","."); 54 | } 55 | $v_logo = "../vouchers/images/".$_RLOG.""; 56 | ?> 57 | 58 | 80 | 81 | -------------------------------------------------------------------------------- /vouchers/styles/DEFAULT.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 27 | 28 | 29 | 79 | 80 | 81 |
5 | 6 | 7 | 8 | 11 | 23 | 24 | 25 |
9 | logo 10 | 12 | 13 |
14 | 15 |
16 | 17 | 18 |
19 | Rp. 20 |
21 | 22 |
26 |
30 | 31 | 32 | 33 | 53 | 65 | 66 | 67 | 75 | 76 | 77 |
34 | 35 |
36 | 37 |
MEMBER
38 |
39 |
40 | 41 |
VOUCHER
42 |
43 | 44 |
45 | 46 | 47 |
48 | status/logout:
49 | http:// 50 |
51 | 52 |
54 | 55 |
56 | Aktif
57 | Tenggang
58 | Kuota Unlimted 59 |
60 | 61 | 62 |
qrcode
63 | 64 |
68 | 69 | 70 |
71 | CS: 72 |
73 | 74 |
78 |
82 | -------------------------------------------------------------------------------- /vouchers/styles/ORANGE.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 33 | 34 | 35 | 85 | 86 | 87 |
5 | 6 | 7 | 8 | 17 | 29 | 30 | 31 |
9 | 10 |
11 |
12 |
13 | 14 | 15 | logo 16 |
18 | 19 |
20 | 21 |
22 | 23 | 24 |
25 | Rp. 26 |
27 | 28 |
32 |
36 | 37 | 38 | 39 | 59 | 71 | 72 | 73 | 81 | 82 | 83 |
40 | 41 |
42 | 43 |
MEMBER
44 |
45 |
46 | 47 |
VOUCHER
48 |
49 | 50 |
51 | 52 | 53 |
54 | status/logout:
55 | http:// 56 |
57 | 58 |
60 | 61 |
62 | Aktif
63 | Tenggang
64 | Kuota Unlimted 65 |
66 | 67 | 68 |
qrcode
69 | 70 |
74 | 75 | 76 |
77 | CS: 78 |
79 | 80 |
84 |
88 | -------------------------------------------------------------------------------- /vouchers/styles/SIMPLE4.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 27 | 28 | 29 | 79 | 80 | 81 |
5 | 6 | 7 | 8 | 11 | 23 | 24 | 25 |
9 | logo 10 | 12 | 13 |
14 | 15 |
16 | 17 | 18 |
19 | Rp. 20 |
21 | 22 |
26 |
30 | 31 | 32 | 33 | 53 | 65 | 66 | 67 | 75 | 76 | 77 |
34 | 35 |
36 | 37 |
MEMBER
38 |
39 |
40 | 41 |
VOUCHER
42 |
43 | 44 |
45 | 46 | 47 |
48 | status/logout:
49 | http:// 50 |
51 | 52 |
54 | 55 |
56 | Aktif
57 | Tenggang
58 | Kuota Unlimted 59 |
60 | 61 | 62 |
qrcode
63 | 64 |
68 | 69 | 70 |
71 | CS: 72 |
73 | 74 |
78 |
82 | -------------------------------------------------------------------------------- /vouchers/styles/SIMPLE5.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 12 | 66 | 67 | 68 |
5 | 6 |
7 | 8 |
9 | 10 |
Rp.
11 |
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 | 62 | 63 | 64 |
Paket
Aktif
Tenggang
KuotaUnlimted
UsernamePassword
Voucher
58 | 59 | status/logout: http:// 60 | 61 |
65 |
69 | 70 | 71 | -------------------------------------------------------------------------------- /vouchers/variable.php: -------------------------------------------------------------------------------- 1 | 2 | Logo : 3 | 4 | 5 | Hotspotname : 6 | 7 | 8 | No.HP : 9 | 10 | 11 | Username : 12 | 13 | 14 | Password : 15 | 16 | 17 | Validity : 18 | 19 | 20 | Time Limit : 21 | 22 | 23 | Data Limit : 24 | 25 | 26 | Price : 27 | 28 | 29 | QR Code : 30 | 31 | 32 | Number Voucher: 33 | 34 | 35 | 36 | Pilihan : 37 | $v_pil = "vc" 38 | username=password 39 | 40 | $v_pil = "up" 41 | username&password 42 | -------------------------------------------------------------------------------- /vouchers/views.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Voucher 5 | 6 | 7 | 8 | 16 | 17 | 18 | "; 23 | } 24 | include('../inc/config.php'); 25 | include('../inc/ip_mk/'.$_ROUTER.'.php'); 26 | include('../inc/lang/'.$_LANG.'.php'); 27 | $id = $_GET['id']; 28 | $vouchers = $_GET['vouchers']; 29 | $styles = $_GET['styles']; 30 | $v_opsi = $_GET['pilihan']; 31 | $v_qrc = $_GET['qrcode']; 32 | $v_profile = 'Paket Goceng'; 33 | $v_valid = '7d'; 34 | $v_harga = number_format('5000',0,",","."); 35 | $v_logo = "../vouchers/images/".$_RLOG.""; 36 | $v_dns = $_RDNS; 37 | $v_spot = $_RPER; 38 | $v_hp = $_RTEL; 39 | $v_user = 'Demo'; 40 | $v_pass ='Demo'; 41 | $v_tlimit = '3d'; 42 | $v_dlimit = "1gb"; 43 | // CHart Size 44 | $chs = "80x80"; 45 | // CHart Link 46 | $chl = urlencode("http://$v_dns/login?username=$v_user&password=$v_pass"); 47 | $v_qrcode = 'https://chart.googleapis.com/chart?cht=qr&chs=' . $chs . '&chld=L|0&chl=' . $chl . '&choe=utf-8'; 48 | $v_num = 1; 49 | include "styles/".$styles.".php"; 50 | ?> 51 | 52 | 53 | -------------------------------------------------------------------------------- /vouchers/vouchers.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Voucher 5 | 6 | 7 | 8 | 16 | 17 | "; 22 | } 23 | $id = $_GET['id']; 24 | $vouchers = $_GET['vouchers']; 25 | $styles = $_GET['styles']; 26 | $v_opsi = $_GET['pilihan']; 27 | $v_qrc = $_GET['qrcode']; 28 | include('../inc/config.php'); 29 | include('../lib/routeros_api.class.php'); 30 | include('../lib/fungsi.php'); 31 | include('../inc/ip_mk/'.$_ROUTER.'.php'); 32 | include('../inc/lang/'.$_LANG.'.php'); 33 | $API = new RouterosAPI(); 34 | $API->debug = false; 35 | $API->connect($_IPMK, $_POMK, $_USMK, _de(ltrim($_PSMK, __CMS))); 36 | $getprofile = $API->comm("/ip/hotspot/user/profile/print", array("?.id" => "$id")); 37 | $profiledetalis = $getprofile[0]; 38 | $pid = $profiledetalis['.id']; 39 | $gpname = $profiledetalis['name']; 40 | if($vouchers!=='all'){ 41 | $vuser = $API->comm("/ip/hotspot/user/print", array("?profile" => "$gpname", "?comment" => "$vouchers")); 42 | }else{ 43 | $vuser = $API->comm("/ip/hotspot/user/print", array("?profile" => "$gpname")); 44 | } 45 | $Totuser = count($vuser); 46 | $usermode = explode('-',$vouchers)[0]; 47 | $user = explode('-',$vouchers)[1]; 48 | $usermode = explode('-',$id)[0]; 49 | $v_profile = $vuser[0]['profile']; 50 | 51 | $getprofile = $API->comm("/ip/hotspot/user/profile/print", array("?name" => "$v_profile")); 52 | $ponlogin = $getprofile[0]['on-login']; 53 | $v_valid = explode(",",$ponlogin)[3]; 54 | $getprice = explode(",",$ponlogin)[2]; 55 | if($getprice == 0){ 56 | $v_harga = "0"; 57 | }else{ 58 | 59 | $v_harga = number_format($getprice,0,",","."); 60 | } 61 | $v_logo = "../vouchers/images/".$_RLOG.""; 62 | ?> 63 | 64 | disconnect(); 86 | } 87 | ?> 88 | 89 | --------------------------------------------------------------------------------