From 23cd696b14ebd4943b7479e3c00316a971a8a2d6 Mon Sep 17 00:00:00 2001 From: rhg Date: Tue, 19 May 2020 16:16:36 +0700 Subject: [PATCH] lole --- .htaccess | 6 + application/.htaccess | 6 + application/cache/index.html | 11 + application/config/autoload.php | 135 + application/config/config.php | 522 + application/config/constants.php | 85 + application/config/database.php | 96 + application/config/doctypes.php | 24 + application/config/foreign_chars.php | 103 + application/config/hooks.php | 13 + application/config/index.html | 11 + application/config/memcached.php | 19 + application/config/migration.php | 84 + application/config/mimes.php | 184 + application/config/profiler.php | 14 + application/config/routes.php | 62 + application/config/smileys.php | 64 + application/config/user_agents.php | 214 + application/controllers/Agenda.php | 47 + application/controllers/Blog.php | 128 + application/controllers/Contact.php | 22 + application/controllers/Download.php | 26 + application/controllers/Galeri.php | 21 + application/controllers/Guru.php | 48 + application/controllers/Home.php | 20 + application/controllers/Pengumuman.php | 47 + application/controllers/Profil.php | 14 + application/controllers/Sejarah.php | 14 + application/controllers/Staptu.php | 48 + application/controllers/Visimisi.php | 14 + application/controllers/Welcome.php | 27 + application/controllers/admin/Album.php | 133 + application/controllers/admin/Dashboard.php | 21 + application/controllers/admin/Files.php | 116 + application/controllers/admin/Galeri.php | 140 + application/controllers/admin/Guru.php | 144 + application/controllers/admin/Inbox.php | 24 + application/controllers/admin/Kategori.php | 40 + application/controllers/admin/Komentar.php | 49 + application/controllers/admin/Login.php | 49 + application/controllers/admin/Misi.php | 37 + application/controllers/admin/Pengguna.php | 201 + application/controllers/admin/Pengumuman.php | 42 + application/controllers/admin/Sejarah.php | 37 + application/controllers/admin/Staptu.php | 144 + application/controllers/admin/Tulisan.php | 170 + application/controllers/admin/Visi.php | 37 + application/controllers/elearning/Home.php | 21 + application/controllers/elearning/Login.php | 54 + .../controllers/elearning/Pelajaran.php | 15 + application/controllers/elearning/Upload.php | 40 + application/controllers/index.html | 11 + application/core/index.html | 11 + application/helpers/font/courier.php | 8 + application/helpers/font/courierb.php | 8 + application/helpers/font/courierbi.php | 8 + application/helpers/font/courieri.php | 8 + application/helpers/font/helvetica.php | 19 + application/helpers/font/helveticab.php | 19 + application/helpers/font/helveticabi.php | 19 + application/helpers/font/helveticai.php | 19 + application/helpers/font/symbol.php | 19 + application/helpers/font/times.php | 19 + application/helpers/font/timesb.php | 19 + application/helpers/font/timesbi.php | 19 + application/helpers/font/timesi.php | 19 + application/helpers/font/zapfdingbats.php | 19 + application/helpers/fpdf.css | 21 + application/helpers/fpdf.php | 1804 ++ application/helpers/index.html | 11 + application/helpers/print_rekap_helper.php | 159 + application/hooks/index.html | 11 + application/index.html | 11 + application/language/english/index.html | 11 + application/language/index.html | 11 + application/libraries/Googlemaps.php | 2263 ++ application/libraries/Jsmin.php | 352 + application/libraries/PHPMailerAutoload.php | 49 + application/libraries/class.phpmailer.php | 3966 ++++ application/libraries/class.smtp.php | 1214 + application/libraries/fpdf/font/courier.php | 8 + application/libraries/fpdf/font/courierb.php | 8 + application/libraries/fpdf/font/courierbi.php | 8 + application/libraries/fpdf/font/courieri.php | 8 + application/libraries/fpdf/font/desktop.ini | 4 + application/libraries/fpdf/font/helvetica.php | 19 + .../libraries/fpdf/font/helveticab.php | 19 + .../libraries/fpdf/font/helveticabi.php | 19 + .../libraries/fpdf/font/helveticai.php | 19 + .../libraries/fpdf/font/makefont/cp1250.map | 251 + .../libraries/fpdf/font/makefont/cp1251.map | 255 + .../libraries/fpdf/font/makefont/cp1252.map | 251 + .../libraries/fpdf/font/makefont/cp1253.map | 239 + .../libraries/fpdf/font/makefont/cp1254.map | 249 + .../libraries/fpdf/font/makefont/cp1255.map | 233 + .../libraries/fpdf/font/makefont/cp1257.map | 244 + .../libraries/fpdf/font/makefont/cp1258.map | 247 + .../libraries/fpdf/font/makefont/cp874.map | 225 + .../fpdf/font/makefont/iso-8859-1.map | 256 + .../fpdf/font/makefont/iso-8859-11.map | 248 + .../fpdf/font/makefont/iso-8859-15.map | 256 + .../fpdf/font/makefont/iso-8859-16.map | 256 + .../fpdf/font/makefont/iso-8859-2.map | 256 + .../fpdf/font/makefont/iso-8859-4.map | 256 + .../fpdf/font/makefont/iso-8859-5.map | 256 + .../fpdf/font/makefont/iso-8859-7.map | 250 + .../fpdf/font/makefont/iso-8859-9.map | 256 + .../libraries/fpdf/font/makefont/koi8-r.map | 256 + .../libraries/fpdf/font/makefont/koi8-u.map | 256 + .../libraries/fpdf/font/makefont/makefont.php | 419 + application/libraries/fpdf/font/symbol.php | 19 + application/libraries/fpdf/font/times.php | 19 + application/libraries/fpdf/font/timesb.php | 19 + application/libraries/fpdf/font/timesbi.php | 19 + application/libraries/fpdf/font/timesi.php | 19 + .../libraries/fpdf/font/zapfdingbats.php | 19 + application/libraries/fpdf/fpdf.css | 21 + application/libraries/fpdf/fpdf.php | 1804 ++ .../libraries/fpdf/makefont/cp1250.map | 251 + .../libraries/fpdf/makefont/cp1251.map | 255 + .../libraries/fpdf/makefont/cp1252.map | 251 + .../libraries/fpdf/makefont/cp1253.map | 239 + .../libraries/fpdf/makefont/cp1254.map | 249 + .../libraries/fpdf/makefont/cp1255.map | 233 + .../libraries/fpdf/makefont/cp1257.map | 244 + .../libraries/fpdf/makefont/cp1258.map | 247 + application/libraries/fpdf/makefont/cp874.map | 225 + .../libraries/fpdf/makefont/iso-8859-1.map | 256 + .../libraries/fpdf/makefont/iso-8859-11.map | 248 + .../libraries/fpdf/makefont/iso-8859-15.map | 256 + .../libraries/fpdf/makefont/iso-8859-16.map | 256 + .../libraries/fpdf/makefont/iso-8859-2.map | 256 + .../libraries/fpdf/makefont/iso-8859-4.map | 256 + .../libraries/fpdf/makefont/iso-8859-5.map | 256 + .../libraries/fpdf/makefont/iso-8859-7.map | 250 + .../libraries/fpdf/makefont/iso-8859-9.map | 256 + .../libraries/fpdf/makefont/koi8-r.map | 256 + .../libraries/fpdf/makefont/koi8-u.map | 256 + .../libraries/fpdf/makefont/makefont.php | 373 + .../libraries/fpdf/makefont/ttfparser.php | 289 + application/libraries/index.html | 11 + application/logs/index.html | 11 + application/logs/log-2020-05-14.php | 153 + application/logs/log-2020-05-15.php | 22 + application/logs/log-2020-05-16.php | 40 + application/logs/log-2020-05-17.php | 216 + application/models/M_album.php | 30 + application/models/M_files.php | 36 + application/models/M_galeri.php | 50 + application/models/M_guru.php | 53 + application/models/M_kategori.php | 26 + application/models/M_kontak.php | 23 + application/models/M_login.php | 15 + application/models/M_materi.php | 51 + application/models/M_misi.php | 20 + application/models/M_pengguna.php | 58 + application/models/M_pengumuman.php | 39 + application/models/M_pengunjung.php | 89 + application/models/M_sejarah.php | 20 + application/models/M_siswa.php | 13 + application/models/M_staptu.php | 41 + application/models/M_tulisan.php | 64 + application/models/M_visi.php | 20 + application/models/index.html | 11 + application/third_party/index.html | 11 + application/views/admin/v_add_tulisan.php | 409 + application/views/admin/v_album.php | 449 + application/views/admin/v_dashboard.php | 496 + application/views/admin/v_edit_tulisan.php | 406 + application/views/admin/v_files.php | 501 + application/views/admin/v_galeri.php | 490 + application/views/admin/v_guru.php | 560 + application/views/admin/v_header.php | 107 + application/views/admin/v_inbox.php | 456 + application/views/admin/v_kategori.php | 414 + application/views/admin/v_komentar.php | 491 + application/views/admin/v_login.php | 74 + application/views/admin/v_misi.php | 449 + application/views/admin/v_pengguna.php | 676 + application/views/admin/v_pengumuman.php | 467 + application/views/admin/v_sejarah.php | 452 + application/views/admin/v_staptu.php | 560 + application/views/admin/v_tulisan.php | 373 + application/views/admin/v_visi.php | 452 + application/views/depan/index.html | 9 + application/views/depan/v_agenda.php | 214 + application/views/depan/v_blog.php | 238 + application/views/depan/v_blog_detail.php | 329 + application/views/depan/v_contact.php | 223 + application/views/depan/v_download.php | 190 + application/views/depan/v_galeri.php | 202 + .../views/depan/v_galeri_per_album.php | 196 + application/views/depan/v_guru.php | 177 + application/views/depan/v_home.php | 281 + application/views/depan/v_pengumuman.php | 198 + application/views/depan/v_sejarah.php | 189 + application/views/depan/v_staptu.php | 180 + application/views/depan/v_visimisi.php | 200 + application/views/elearning/v_home_guru.php | 58 + application/views/elearning/v_home_siswa.php | 50 + application/views/elearning/v_login.php | 65 + application/views/elearning/v_pelajaran.php | 71 + application/views/elearning/v_upload.php | 65 + application/views/errors/cli/error_404.php | 8 + application/views/errors/cli/error_db.php | 8 + .../views/errors/cli/error_exception.php | 21 + .../views/errors/cli/error_general.php | 8 + application/views/errors/cli/error_php.php | 21 + application/views/errors/cli/index.html | 11 + application/views/errors/html/error_404.php | 64 + application/views/errors/html/error_db.php | 64 + .../views/errors/html/error_exception.php | 32 + .../views/errors/html/error_general.php | 64 + application/views/errors/html/error_php.php | 33 + application/views/errors/html/index.html | 11 + application/views/errors/index.html | 11 + application/views/index.html | 11 + application/views/welcome_message.php | 89 + assets/bootstrap/css/bootstrap-theme.css | 587 + assets/bootstrap/css/bootstrap-theme.css.map | 1 + assets/bootstrap/css/bootstrap-theme.min.css | 6 + .../bootstrap/css/bootstrap-theme.min.css.map | 1 + assets/bootstrap/css/bootstrap.css | 6757 ++++++ assets/bootstrap/css/bootstrap.css.map | 1 + assets/bootstrap/css/bootstrap.min.css | 6 + assets/bootstrap/css/bootstrap.min.css.map | 1 + .../fonts/glyphicons-halflings-regular.eot | Bin 0 -> 20127 bytes .../fonts/glyphicons-halflings-regular.svg | 288 + .../fonts/glyphicons-halflings-regular.ttf | Bin 0 -> 45404 bytes .../fonts/glyphicons-halflings-regular.woff | Bin 0 -> 23424 bytes .../fonts/glyphicons-halflings-regular.woff2 | Bin 0 -> 18028 bytes assets/bootstrap/js/bootstrap.js | 2377 ++ assets/bootstrap/js/bootstrap.min.js | 7 + assets/bootstrap/js/npm.js | 13 + assets/build/bootstrap-less/mixins.less | 36 + .../build/bootstrap-less/mixins/alerts.less | 14 + .../mixins/background-variant.less | 9 + .../bootstrap-less/mixins/border-radius.less | 21 + .../build/bootstrap-less/mixins/buttons.less | 68 + .../bootstrap-less/mixins/center-block.less | 7 + .../build/bootstrap-less/mixins/clearfix.less | 22 + assets/build/bootstrap-less/mixins/forms.less | 84 + .../bootstrap-less/mixins/gradients.less | 59 + .../bootstrap-less/mixins/grid-framework.less | 102 + assets/build/bootstrap-less/mixins/grid.less | 134 + .../bootstrap-less/mixins/hide-text.less | 21 + assets/build/bootstrap-less/mixins/image.less | 25 + .../build/bootstrap-less/mixins/labels.less | 12 + .../bootstrap-less/mixins/list-group.less | 30 + .../bootstrap-less/mixins/nav-divider.less | 10 + .../mixins/nav-vertical-align.less | 9 + .../build/bootstrap-less/mixins/opacity.less | 8 + .../bootstrap-less/mixins/pagination.less | 24 + .../build/bootstrap-less/mixins/panels.less | 24 + .../bootstrap-less/mixins/progress-bar.less | 10 + .../bootstrap-less/mixins/reset-filter.less | 8 + .../bootstrap-less/mixins/reset-text.less | 18 + .../build/bootstrap-less/mixins/resize.less | 6 + .../mixins/responsive-visibility.less | 21 + assets/build/bootstrap-less/mixins/size.less | 10 + .../bootstrap-less/mixins/tab-focus.less | 9 + .../bootstrap-less/mixins/table-row.less | 28 + .../bootstrap-less/mixins/text-emphasis.less | 9 + .../bootstrap-less/mixins/text-overflow.less | 8 + .../mixins/vendor-prefixes.less | 254 + assets/build/bootstrap-less/variables.less | 841 + assets/build/less/.csslintrc | 23 + assets/build/less/404_500_errors.less | 36 + assets/build/less/AdminLTE.less | 61 + assets/build/less/alerts.less | 47 + assets/build/less/bootstrap-social.less | 172 + assets/build/less/boxes.less | 485 + assets/build/less/buttons.less | 168 + assets/build/less/callout.less | 48 + assets/build/less/carousel.less | 18 + assets/build/less/control-sidebar.less | 289 + assets/build/less/core.less | 173 + assets/build/less/direct-chat.less | 194 + assets/build/less/dropdown.less | 350 + assets/build/less/forms.less | 108 + assets/build/less/fullcalendar.less | 100 + assets/build/less/header.less | 248 + assets/build/less/info-box.less | 75 + assets/build/less/invoice.less | 16 + assets/build/less/labels.less | 28 + assets/build/less/lockscreen.less | 73 + assets/build/less/login_and_register.less | 52 + assets/build/less/mailbox.less | 88 + assets/build/less/miscellaneous.less | 606 + assets/build/less/mixins.less | 315 + assets/build/less/modal.less | 80 + assets/build/less/navs.less | 226 + assets/build/less/print.less | 54 + assets/build/less/products.less | 45 + assets/build/less/profile.less | 31 + assets/build/less/progress-bars.less | 111 + assets/build/less/select2.less | 117 + assets/build/less/sidebar-mini.less | 151 + assets/build/less/sidebar.less | 169 + assets/build/less/skins/_all-skins.less | 13 + assets/build/less/skins/skin-black-light.less | 64 + assets/build/less/skins/skin-black.less | 74 + assets/build/less/skins/skin-blue-light.less | 61 + assets/build/less/skins/skin-blue.less | 58 + assets/build/less/skins/skin-green-light.less | 55 + assets/build/less/skins/skin-green.less | 55 + .../build/less/skins/skin-purple-light.less | 54 + assets/build/less/skins/skin-purple.less | 54 + assets/build/less/skins/skin-red-light.less | 54 + assets/build/less/skins/skin-red.less | 54 + .../build/less/skins/skin-yellow-light.less | 54 + assets/build/less/skins/skin-yellow.less | 54 + assets/build/less/small-box.less | 89 + assets/build/less/social-widgets.less | 78 + assets/build/less/table.less | 71 + assets/build/less/timeline.less | 110 + assets/build/less/users-list.less | 42 + assets/build/less/variables.less | 123 + assets/ckeditor/LICENSE.md | 1420 ++ assets/ckeditor/adapters/jquery.js | 10 + assets/ckeditor/build-config.js | 161 + assets/ckeditor/ckeditor.js | 1035 + assets/ckeditor/config.js | 38 + assets/ckeditor/contents.css | 208 + assets/ckeditor/lang/af.js | 5 + assets/ckeditor/lang/ar.js | 5 + assets/ckeditor/lang/az.js | 5 + assets/ckeditor/lang/bg.js | 5 + assets/ckeditor/lang/bn.js | 5 + assets/ckeditor/lang/bs.js | 5 + assets/ckeditor/lang/ca.js | 5 + assets/ckeditor/lang/cs.js | 5 + assets/ckeditor/lang/cy.js | 5 + assets/ckeditor/lang/da.js | 5 + assets/ckeditor/lang/de-ch.js | 5 + assets/ckeditor/lang/de.js | 5 + assets/ckeditor/lang/el.js | 5 + assets/ckeditor/lang/en-au.js | 5 + assets/ckeditor/lang/en-ca.js | 5 + assets/ckeditor/lang/en-gb.js | 5 + assets/ckeditor/lang/en.js | 5 + assets/ckeditor/lang/eo.js | 5 + assets/ckeditor/lang/es.js | 5 + assets/ckeditor/lang/et.js | 5 + assets/ckeditor/lang/eu.js | 5 + assets/ckeditor/lang/fa.js | 5 + assets/ckeditor/lang/fi.js | 5 + assets/ckeditor/lang/fo.js | 5 + assets/ckeditor/lang/fr-ca.js | 5 + assets/ckeditor/lang/fr.js | 5 + assets/ckeditor/lang/gl.js | 5 + assets/ckeditor/lang/gu.js | 5 + assets/ckeditor/lang/he.js | 5 + assets/ckeditor/lang/hi.js | 5 + assets/ckeditor/lang/hr.js | 5 + assets/ckeditor/lang/hu.js | 5 + assets/ckeditor/lang/id.js | 5 + assets/ckeditor/lang/is.js | 5 + assets/ckeditor/lang/it.js | 5 + assets/ckeditor/lang/ja.js | 5 + assets/ckeditor/lang/ka.js | 5 + assets/ckeditor/lang/km.js | 5 + assets/ckeditor/lang/ko.js | 5 + assets/ckeditor/lang/ku.js | 5 + assets/ckeditor/lang/lt.js | 5 + assets/ckeditor/lang/lv.js | 5 + assets/ckeditor/lang/mk.js | 5 + assets/ckeditor/lang/mn.js | 5 + assets/ckeditor/lang/ms.js | 5 + assets/ckeditor/lang/nb.js | 5 + assets/ckeditor/lang/nl.js | 5 + assets/ckeditor/lang/no.js | 5 + assets/ckeditor/lang/oc.js | 5 + assets/ckeditor/lang/pl.js | 5 + assets/ckeditor/lang/pt-br.js | 5 + assets/ckeditor/lang/pt.js | 5 + assets/ckeditor/lang/ro.js | 5 + assets/ckeditor/lang/ru.js | 5 + assets/ckeditor/lang/si.js | 5 + assets/ckeditor/lang/sk.js | 5 + assets/ckeditor/lang/sl.js | 5 + assets/ckeditor/lang/sq.js | 5 + assets/ckeditor/lang/sr-latn.js | 5 + assets/ckeditor/lang/sr.js | 5 + assets/ckeditor/lang/sv.js | 5 + assets/ckeditor/lang/th.js | 5 + assets/ckeditor/lang/tr.js | 5 + assets/ckeditor/lang/tt.js | 5 + assets/ckeditor/lang/ug.js | 5 + assets/ckeditor/lang/uk.js | 5 + assets/ckeditor/lang/vi.js | 5 + assets/ckeditor/lang/zh-cn.js | 5 + assets/ckeditor/lang/zh.js | 5 + .../plugins/a11yhelp/dialogs/a11yhelp.js | 10 + .../dialogs/lang/_translationstatus.txt | 25 + .../plugins/a11yhelp/dialogs/lang/af.js | 11 + .../plugins/a11yhelp/dialogs/lang/ar.js | 10 + .../plugins/a11yhelp/dialogs/lang/az.js | 11 + .../plugins/a11yhelp/dialogs/lang/bg.js | 10 + .../plugins/a11yhelp/dialogs/lang/ca.js | 12 + .../plugins/a11yhelp/dialogs/lang/cs.js | 12 + .../plugins/a11yhelp/dialogs/lang/cy.js | 11 + .../plugins/a11yhelp/dialogs/lang/da.js | 11 + .../plugins/a11yhelp/dialogs/lang/de-ch.js | 11 + .../plugins/a11yhelp/dialogs/lang/de.js | 11 + .../plugins/a11yhelp/dialogs/lang/el.js | 11 + .../plugins/a11yhelp/dialogs/lang/en-gb.js | 10 + .../plugins/a11yhelp/dialogs/lang/en.js | 10 + .../plugins/a11yhelp/dialogs/lang/eo.js | 12 + .../plugins/a11yhelp/dialogs/lang/es.js | 13 + .../plugins/a11yhelp/dialogs/lang/et.js | 10 + .../plugins/a11yhelp/dialogs/lang/eu.js | 12 + .../plugins/a11yhelp/dialogs/lang/fa.js | 11 + .../plugins/a11yhelp/dialogs/lang/fi.js | 11 + .../plugins/a11yhelp/dialogs/lang/fo.js | 10 + .../plugins/a11yhelp/dialogs/lang/fr-ca.js | 11 + .../plugins/a11yhelp/dialogs/lang/fr.js | 13 + .../plugins/a11yhelp/dialogs/lang/gl.js | 11 + .../plugins/a11yhelp/dialogs/lang/gu.js | 10 + .../plugins/a11yhelp/dialogs/lang/he.js | 10 + .../plugins/a11yhelp/dialogs/lang/hi.js | 10 + .../plugins/a11yhelp/dialogs/lang/hr.js | 11 + .../plugins/a11yhelp/dialogs/lang/hu.js | 11 + .../plugins/a11yhelp/dialogs/lang/id.js | 11 + .../plugins/a11yhelp/dialogs/lang/it.js | 13 + .../plugins/a11yhelp/dialogs/lang/ja.js | 9 + .../plugins/a11yhelp/dialogs/lang/km.js | 10 + .../plugins/a11yhelp/dialogs/lang/ko.js | 10 + .../plugins/a11yhelp/dialogs/lang/ku.js | 11 + .../plugins/a11yhelp/dialogs/lang/lt.js | 10 + .../plugins/a11yhelp/dialogs/lang/lv.js | 11 + .../plugins/a11yhelp/dialogs/lang/mk.js | 11 + .../plugins/a11yhelp/dialogs/lang/mn.js | 10 + .../plugins/a11yhelp/dialogs/lang/nb.js | 11 + .../plugins/a11yhelp/dialogs/lang/nl.js | 12 + .../plugins/a11yhelp/dialogs/lang/no.js | 11 + .../plugins/a11yhelp/dialogs/lang/oc.js | 12 + .../plugins/a11yhelp/dialogs/lang/pl.js | 13 + .../plugins/a11yhelp/dialogs/lang/pt-br.js | 12 + .../plugins/a11yhelp/dialogs/lang/pt.js | 12 + .../plugins/a11yhelp/dialogs/lang/ro.js | 11 + .../plugins/a11yhelp/dialogs/lang/ru.js | 11 + .../plugins/a11yhelp/dialogs/lang/si.js | 10 + .../plugins/a11yhelp/dialogs/lang/sk.js | 11 + .../plugins/a11yhelp/dialogs/lang/sl.js | 11 + .../plugins/a11yhelp/dialogs/lang/sq.js | 11 + .../plugins/a11yhelp/dialogs/lang/sr-latn.js | 10 + .../plugins/a11yhelp/dialogs/lang/sr.js | 10 + .../plugins/a11yhelp/dialogs/lang/sv.js | 11 + .../plugins/a11yhelp/dialogs/lang/th.js | 10 + .../plugins/a11yhelp/dialogs/lang/tr.js | 12 + .../plugins/a11yhelp/dialogs/lang/tt.js | 11 + .../plugins/a11yhelp/dialogs/lang/ug.js | 11 + .../plugins/a11yhelp/dialogs/lang/uk.js | 12 + .../plugins/a11yhelp/dialogs/lang/vi.js | 11 + .../plugins/a11yhelp/dialogs/lang/zh-cn.js | 9 + .../plugins/a11yhelp/dialogs/lang/zh.js | 9 + .../ckeditor/plugins/about/dialogs/about.js | 8 + .../about/dialogs/hidpi/logo_ckeditor.png | Bin 0 -> 13339 bytes .../plugins/about/dialogs/logo_ckeditor.png | Bin 0 -> 6757 bytes .../plugins/clipboard/dialogs/paste.js | 12 + .../plugins/dialog/dialogDefinition.js | 4 + assets/ckeditor/plugins/icons.png | Bin 0 -> 5881 bytes assets/ckeditor/plugins/icons_hidpi.png | Bin 0 -> 20430 bytes .../ckeditor/plugins/image/dialogs/image.js | 44 + .../ckeditor/plugins/image/images/noimage.png | Bin 0 -> 1610 bytes .../ckeditor/plugins/link/dialogs/anchor.js | 7 + assets/ckeditor/plugins/link/dialogs/link.js | 28 + .../ckeditor/plugins/link/images/anchor.png | Bin 0 -> 752 bytes .../plugins/link/images/hidpi/anchor.png | Bin 0 -> 1109 bytes .../magicline/images/hidpi/icon-rtl.png | Bin 0 -> 176 bytes .../plugins/magicline/images/hidpi/icon.png | Bin 0 -> 199 bytes .../plugins/magicline/images/icon-rtl.png | Bin 0 -> 138 bytes .../plugins/magicline/images/icon.png | Bin 0 -> 133 bytes .../plugins/pastefromword/filter/default.js | 43 + assets/ckeditor/plugins/scayt/CHANGELOG.md | 20 + assets/ckeditor/plugins/scayt/LICENSE.md | 28 + assets/ckeditor/plugins/scayt/README.md | 25 + .../ckeditor/plugins/scayt/dialogs/options.js | 19 + .../plugins/scayt/dialogs/toolbar.css | 71 + .../plugins/scayt/skins/moono-lisa/scayt.css | 20 + .../dialogs/lang/_translationstatus.txt | 20 + .../plugins/specialchar/dialogs/lang/af.js | 13 + .../plugins/specialchar/dialogs/lang/ar.js | 13 + .../plugins/specialchar/dialogs/lang/az.js | 10 + .../plugins/specialchar/dialogs/lang/bg.js | 13 + .../plugins/specialchar/dialogs/lang/ca.js | 14 + .../plugins/specialchar/dialogs/lang/cs.js | 13 + .../plugins/specialchar/dialogs/lang/cy.js | 14 + .../plugins/specialchar/dialogs/lang/da.js | 11 + .../plugins/specialchar/dialogs/lang/de-ch.js | 13 + .../plugins/specialchar/dialogs/lang/de.js | 13 + .../plugins/specialchar/dialogs/lang/el.js | 13 + .../plugins/specialchar/dialogs/lang/en-gb.js | 13 + .../plugins/specialchar/dialogs/lang/en.js | 13 + .../plugins/specialchar/dialogs/lang/eo.js | 12 + .../plugins/specialchar/dialogs/lang/es.js | 13 + .../plugins/specialchar/dialogs/lang/et.js | 13 + .../plugins/specialchar/dialogs/lang/eu.js | 13 + .../plugins/specialchar/dialogs/lang/fa.js | 12 + .../plugins/specialchar/dialogs/lang/fi.js | 13 + .../plugins/specialchar/dialogs/lang/fr-ca.js | 10 + .../plugins/specialchar/dialogs/lang/fr.js | 12 + .../plugins/specialchar/dialogs/lang/gl.js | 13 + .../plugins/specialchar/dialogs/lang/he.js | 12 + .../plugins/specialchar/dialogs/lang/hr.js | 13 + .../plugins/specialchar/dialogs/lang/hu.js | 12 + .../plugins/specialchar/dialogs/lang/id.js | 13 + .../plugins/specialchar/dialogs/lang/it.js | 14 + .../plugins/specialchar/dialogs/lang/ja.js | 9 + .../plugins/specialchar/dialogs/lang/km.js | 13 + .../plugins/specialchar/dialogs/lang/ko.js | 10 + .../plugins/specialchar/dialogs/lang/ku.js | 13 + .../plugins/specialchar/dialogs/lang/lt.js | 13 + .../plugins/specialchar/dialogs/lang/lv.js | 13 + .../plugins/specialchar/dialogs/lang/nb.js | 11 + .../plugins/specialchar/dialogs/lang/nl.js | 13 + .../plugins/specialchar/dialogs/lang/no.js | 11 + .../plugins/specialchar/dialogs/lang/oc.js | 12 + .../plugins/specialchar/dialogs/lang/pl.js | 12 + .../plugins/specialchar/dialogs/lang/pt-br.js | 11 + .../plugins/specialchar/dialogs/lang/pt.js | 13 + .../plugins/specialchar/dialogs/lang/ru.js | 13 + .../plugins/specialchar/dialogs/lang/si.js | 13 + .../plugins/specialchar/dialogs/lang/sk.js | 13 + .../plugins/specialchar/dialogs/lang/sl.js | 12 + .../plugins/specialchar/dialogs/lang/sq.js | 13 + .../plugins/specialchar/dialogs/lang/sv.js | 11 + .../plugins/specialchar/dialogs/lang/th.js | 13 + .../plugins/specialchar/dialogs/lang/tr.js | 12 + .../plugins/specialchar/dialogs/lang/tt.js | 13 + .../plugins/specialchar/dialogs/lang/ug.js | 13 + .../plugins/specialchar/dialogs/lang/uk.js | 12 + .../plugins/specialchar/dialogs/lang/vi.js | 14 + .../plugins/specialchar/dialogs/lang/zh-cn.js | 9 + .../plugins/specialchar/dialogs/lang/zh.js | 9 + .../specialchar/dialogs/specialchar.js | 14 + .../ckeditor/plugins/table/dialogs/table.js | 21 + .../plugins/tabletools/dialogs/tableCell.js | 17 + assets/ckeditor/plugins/wsc/LICENSE.md | 28 + assets/ckeditor/plugins/wsc/README.md | 25 + .../ckeditor/plugins/wsc/dialogs/ciframe.html | 66 + .../plugins/wsc/dialogs/tmpFrameset.html | 52 + assets/ckeditor/plugins/wsc/dialogs/wsc.css | 82 + assets/ckeditor/plugins/wsc/dialogs/wsc.js | 92 + assets/ckeditor/plugins/wsc/dialogs/wsc_ie.js | 11 + .../plugins/wsc/skins/moono-lisa/wsc.css | 43 + assets/ckeditor/skins/moono-lisa/dialog.css | 5 + .../ckeditor/skins/moono-lisa/dialog_ie.css | 5 + .../ckeditor/skins/moono-lisa/dialog_ie8.css | 5 + .../skins/moono-lisa/dialog_iequirks.css | 5 + assets/ckeditor/skins/moono-lisa/editor.css | 5 + .../skins/moono-lisa/editor_gecko.css | 5 + .../ckeditor/skins/moono-lisa/editor_ie.css | 5 + .../ckeditor/skins/moono-lisa/editor_ie8.css | 5 + .../skins/moono-lisa/editor_iequirks.css | 5 + assets/ckeditor/skins/moono-lisa/icons.png | Bin 0 -> 5881 bytes .../ckeditor/skins/moono-lisa/icons_hidpi.png | Bin 0 -> 20430 bytes .../skins/moono-lisa/images/arrow.png | Bin 0 -> 191 bytes .../skins/moono-lisa/images/close.png | Bin 0 -> 615 bytes .../skins/moono-lisa/images/hidpi/close.png | Bin 0 -> 1238 bytes .../moono-lisa/images/hidpi/lock-open.png | Bin 0 -> 1071 bytes .../skins/moono-lisa/images/hidpi/lock.png | Bin 0 -> 1062 bytes .../skins/moono-lisa/images/hidpi/refresh.png | Bin 0 -> 1623 bytes .../skins/moono-lisa/images/lock-open.png | Bin 0 -> 511 bytes .../ckeditor/skins/moono-lisa/images/lock.png | Bin 0 -> 506 bytes .../skins/moono-lisa/images/refresh.png | Bin 0 -> 757 bytes .../skins/moono-lisa/images/spinner.gif | Bin 0 -> 2984 bytes assets/ckeditor/skins/moono-lisa/readme.md | 46 + assets/ckeditor/styles.js | 137 + assets/dist/css/AdminLTE.css | 4937 ++++ assets/dist/css/AdminLTE.min.css | 7 + assets/dist/css/skins/_all-skins.css | 1770 ++ assets/dist/css/skins/_all-skins.min.css | 1 + assets/dist/css/skins/skin-black-light.css | 173 + .../dist/css/skins/skin-black-light.min.css | 1 + assets/dist/css/skins/skin-black.css | 158 + assets/dist/css/skins/skin-black.min.css | 1 + assets/dist/css/skins/skin-blue-light.css | 164 + assets/dist/css/skins/skin-blue-light.min.css | 1 + assets/dist/css/skins/skin-blue.css | 139 + assets/dist/css/skins/skin-blue.min.css | 1 + assets/dist/css/skins/skin-green-light.css | 153 + .../dist/css/skins/skin-green-light.min.css | 1 + assets/dist/css/skins/skin-green.css | 131 + assets/dist/css/skins/skin-green.min.css | 1 + assets/dist/css/skins/skin-purple-light.css | 153 + .../dist/css/skins/skin-purple-light.min.css | 1 + assets/dist/css/skins/skin-purple.css | 131 + assets/dist/css/skins/skin-purple.min.css | 1 + assets/dist/css/skins/skin-red-light.css | 153 + assets/dist/css/skins/skin-red-light.min.css | 1 + assets/dist/css/skins/skin-red.css | 131 + assets/dist/css/skins/skin-red.min.css | 1 + assets/dist/css/skins/skin-yellow-light.css | 153 + .../dist/css/skins/skin-yellow-light.min.css | 1 + assets/dist/css/skins/skin-yellow.css | 131 + assets/dist/css/skins/skin-yellow.min.css | 1 + assets/dist/img/avatar.png | Bin 0 -> 8543 bytes assets/dist/img/avatar04.png | Bin 0 -> 14037 bytes assets/dist/img/avatar2.png | Bin 0 -> 8836 bytes assets/dist/img/avatar3.png | Bin 0 -> 9780 bytes assets/dist/img/avatar5.png | Bin 0 -> 8007 bytes assets/dist/img/boxed-bg.jpg | Bin 0 -> 123770 bytes assets/dist/img/boxed-bg.png | Bin 0 -> 43694 bytes assets/dist/img/credit/american-express.png | Bin 0 -> 2205 bytes assets/dist/img/credit/cirrus.png | Bin 0 -> 1593 bytes assets/dist/img/credit/mastercard.png | Bin 0 -> 1593 bytes assets/dist/img/credit/mestro.png | Bin 0 -> 1588 bytes assets/dist/img/credit/paypal.png | Bin 0 -> 2046 bytes assets/dist/img/credit/paypal2.png | Bin 0 -> 1372 bytes assets/dist/img/credit/visa.png | Bin 0 -> 1137 bytes assets/dist/img/default-50x50.gif | Bin 0 -> 184 bytes assets/dist/img/icons.png | Bin 0 -> 1154 bytes assets/dist/img/photo1.png | Bin 0 -> 673900 bytes assets/dist/img/photo2.png | Bin 0 -> 424395 bytes assets/dist/img/photo3.jpg | Bin 0 -> 392079 bytes assets/dist/img/photo4.jpg | Bin 0 -> 1179224 bytes assets/dist/img/user1-128x128.jpg | Bin 0 -> 2879 bytes assets/dist/img/user2-160x160.jpg | Bin 0 -> 7070 bytes assets/dist/img/user3-128x128.jpg | Bin 0 -> 3511 bytes assets/dist/img/user4-128x128.jpg | Bin 0 -> 3477 bytes assets/dist/img/user5-128x128.jpg | Bin 0 -> 6446 bytes assets/dist/img/user6-128x128.jpg | Bin 0 -> 4342 bytes assets/dist/img/user7-128x128.jpg | Bin 0 -> 6434 bytes assets/dist/img/user8-128x128.jpg | Bin 0 -> 5060 bytes assets/dist/js/app.js | 766 + assets/dist/js/app.min.js | 13 + assets/dist/js/demo.js | 340 + assets/dist/js/pages/dashboard.js | 210 + assets/dist/js/pages/dashboard2.js | 274 + .../02c1e914e332866925b1dbfa8b1ffd0c.docx | Bin 0 -> 15191 bytes .../813e7fbb36aaf36f640bb98ead333699.pdf | Bin 0 -> 756825 bytes .../8bb29d4412c303a2063849b655fa23b3.pdf | Bin 0 -> 113155 bytes .../a65b5b74a07ec04393d05d7e3f2f632a.docx | Bin 0 -> 14291 bytes .../201a01e77b09c0850c92928b83256036.png | Bin 0 -> 856 bytes .../3a37ed70593b1412db090a777b7d0ea4.png | Bin 0 -> 856 bytes .../4673c90ce16967c37eb7940f0c580cae.png | Bin 0 -> 856 bytes .../47729a958dcaccd76c2f92a69b5ed14c.png | Bin 0 -> 856 bytes .../549b47a3809f01a46d685b5937b6ca5c.png | Bin 0 -> 856 bytes .../5f9dbb01b2a27046b5e4b24030649dd5.png | Bin 0 -> 856 bytes .../8ae2883fa19236df09c632b0152a55b7.png | Bin 0 -> 856 bytes .../8d32ac8a62caa8887d0bf4fe7ec42a52.png | Bin 0 -> 856 bytes .../b72d776ab1d104f805fb35d2ca6a009e.png | Bin 0 -> 856 bytes .../f238e7f56c521c1eee40811130144d0d.png | Bin 0 -> 856 bytes .../fb9452fc97227830d16389f59b2a5d32.png | Bin 0 -> 856 bytes assets/font-awesome/css/font-awesome.min.css | 4 + assets/font-awesome/fonts/FontAwesome.otf | Bin 0 -> 124988 bytes .../fonts/fontawesome-webfont.eot | Bin 0 -> 76518 bytes .../fonts/fontawesome-webfont.svg | 685 + .../fonts/fontawesome-webfont.ttf | Bin 0 -> 152796 bytes .../fonts/fontawesome-webfont.woff | Bin 0 -> 90412 bytes .../fonts/fontawesome-webfont.woff2 | Bin 0 -> 71896 bytes .../007ddeca66d5219ae515ba8a051c9539.jpg | Bin 0 -> 5800 bytes .../3a39eff4f86fce41877e88e0bd4f9da6.jpg | Bin 0 -> 31498 bytes .../3e66858c12f5d5e27e33b9a384fc21df.png | Bin 0 -> 248555 bytes .../49c6400e27429baaa90cd97f5e964390.png | Bin 0 -> 331300 bytes .../58bcb69608c095d59ad7d8cf10fcaa85.jpg | Bin 0 -> 22821 bytes .../58e92bd7036c3c32da08d60153fe5519.jpg | Bin 0 -> 30479 bytes .../64c825fd7df0e8e2c44475c45e9a0c01.jpg | Bin 0 -> 16347 bytes .../69d55088482488ae085949716dc73af4.jpg | Bin 0 -> 24509 bytes .../6c1a730405879f7bf8a944d9840fdb8f.jpg | Bin 0 -> 27565 bytes .../6c5132cdc3426e670bb35c0ead5acc98.png | Bin 0 -> 275239 bytes .../79a2e2b5461903311d4175f3569f58a8.png | Bin 0 -> 97412 bytes .../8b2e2473bf1abba64e844fe5329ad70e.png | Bin 0 -> 289079 bytes .../8c13410ba5173f451db720ace33548cf.jpeg | Bin 0 -> 31980 bytes .../8f9b9680a2a03d33d9e467bf46b9ce37.jpg | Bin 0 -> 24704 bytes .../ab584bc12f1c00ddb12a7ba54a8d65ca.png | Bin 0 -> 289079 bytes .../af16c5b43de8bd20ecf3d69acb93076f.png | Bin 0 -> 358979 bytes .../b2e11f1e9b9fd5d28bec75433ef34008.jpg | Bin 0 -> 28299 bytes .../bffc5a11261fe45d1ddf10638492e672.png | Bin 0 -> 271741 bytes assets/images/blank.png | Bin 0 -> 40933 bytes .../c8a4963304310237ad60343c75669842.png | Bin 0 -> 113177 bytes .../d2f2fb528d1de3b3fb75533e237e6a86.png | Bin 0 -> 86603 bytes assets/images/logo.png | Bin 0 -> 33517 bytes assets/images/user_blank.png | Bin 0 -> 3878 bytes assets/jquery-ui/AUTHORS.txt | 330 + assets/jquery-ui/LICENSE.txt | 43 + assets/jquery-ui/external/index.html | 10 + assets/jquery-ui/external/jquery/index.html | 10 + assets/jquery-ui/external/jquery/jquery.js | 11008 +++++++++ assets/jquery-ui/images/index.html | 10 + .../images/ui-icons_444444_256x240.png | Bin 0 -> 7006 bytes .../images/ui-icons_555555_256x240.png | Bin 0 -> 7074 bytes .../images/ui-icons_777620_256x240.png | Bin 0 -> 4676 bytes .../images/ui-icons_777777_256x240.png | Bin 0 -> 7013 bytes .../images/ui-icons_cc0000_256x240.png | Bin 0 -> 4632 bytes .../images/ui-icons_ffffff_256x240.png | Bin 0 -> 6313 bytes assets/jquery-ui/index.html | 10 + assets/jquery-ui/jquery-ui.css | 1313 ++ assets/jquery-ui/jquery-ui.js | 18686 ++++++++++++++++ assets/jquery-ui/jquery-ui.min.css | 7 + assets/jquery-ui/jquery-ui.min.js | 13 + assets/jquery-ui/jquery-ui.structure.css | 886 + assets/jquery-ui/jquery-ui.structure.min.css | 5 + assets/jquery-ui/jquery-ui.theme.css | 444 + assets/jquery-ui/jquery-ui.theme.min.css | 5 + assets/jquery-ui/package.json | 74 + .../bootstrap-slider/bootstrap-slider.js | 1576 ++ assets/plugins/bootstrap-slider/slider.css | 282 + assets/plugins/chartjs/Chart.js | 3736 +++ assets/plugins/chartjs/Chart.min.js | 11 + assets/plugins/ckeditor/CHANGES.md | 1758 ++ assets/plugins/ckeditor/LICENSE.md | 1421 ++ assets/plugins/ckeditor/README.md | 39 + assets/plugins/ckeditor/adapters/jquery.js | 10 + assets/plugins/ckeditor/build-config.js | 166 + assets/plugins/ckeditor/ckeditor.js | 1238 + assets/plugins/ckeditor/config.js | 38 + assets/plugins/ckeditor/contents.css | 208 + assets/plugins/ckeditor/lang/af.js | 5 + assets/plugins/ckeditor/lang/ar.js | 5 + assets/plugins/ckeditor/lang/az.js | 5 + assets/plugins/ckeditor/lang/bg.js | 5 + assets/plugins/ckeditor/lang/bn.js | 5 + assets/plugins/ckeditor/lang/bs.js | 5 + assets/plugins/ckeditor/lang/ca.js | 5 + assets/plugins/ckeditor/lang/cs.js | 5 + assets/plugins/ckeditor/lang/cy.js | 5 + assets/plugins/ckeditor/lang/da.js | 5 + assets/plugins/ckeditor/lang/de-ch.js | 5 + assets/plugins/ckeditor/lang/de.js | 5 + assets/plugins/ckeditor/lang/el.js | 5 + assets/plugins/ckeditor/lang/en-au.js | 5 + assets/plugins/ckeditor/lang/en-ca.js | 5 + assets/plugins/ckeditor/lang/en-gb.js | 5 + assets/plugins/ckeditor/lang/en.js | 5 + assets/plugins/ckeditor/lang/eo.js | 5 + assets/plugins/ckeditor/lang/es-mx.js | 5 + assets/plugins/ckeditor/lang/es.js | 5 + assets/plugins/ckeditor/lang/et.js | 5 + assets/plugins/ckeditor/lang/eu.js | 5 + assets/plugins/ckeditor/lang/fa.js | 5 + assets/plugins/ckeditor/lang/fi.js | 5 + assets/plugins/ckeditor/lang/fo.js | 5 + assets/plugins/ckeditor/lang/fr-ca.js | 5 + assets/plugins/ckeditor/lang/fr.js | 5 + assets/plugins/ckeditor/lang/gl.js | 5 + assets/plugins/ckeditor/lang/gu.js | 5 + assets/plugins/ckeditor/lang/he.js | 5 + assets/plugins/ckeditor/lang/hi.js | 5 + assets/plugins/ckeditor/lang/hr.js | 5 + assets/plugins/ckeditor/lang/hu.js | 5 + assets/plugins/ckeditor/lang/id.js | 5 + assets/plugins/ckeditor/lang/is.js | 5 + assets/plugins/ckeditor/lang/it.js | 5 + assets/plugins/ckeditor/lang/ja.js | 5 + assets/plugins/ckeditor/lang/ka.js | 5 + assets/plugins/ckeditor/lang/km.js | 5 + assets/plugins/ckeditor/lang/ko.js | 5 + assets/plugins/ckeditor/lang/ku.js | 5 + assets/plugins/ckeditor/lang/lt.js | 5 + assets/plugins/ckeditor/lang/lv.js | 5 + assets/plugins/ckeditor/lang/mk.js | 5 + assets/plugins/ckeditor/lang/mn.js | 5 + assets/plugins/ckeditor/lang/ms.js | 5 + assets/plugins/ckeditor/lang/nb.js | 5 + assets/plugins/ckeditor/lang/nl.js | 5 + assets/plugins/ckeditor/lang/no.js | 5 + assets/plugins/ckeditor/lang/oc.js | 5 + assets/plugins/ckeditor/lang/pl.js | 5 + assets/plugins/ckeditor/lang/pt-br.js | 5 + assets/plugins/ckeditor/lang/pt.js | 5 + assets/plugins/ckeditor/lang/ro.js | 5 + assets/plugins/ckeditor/lang/ru.js | 5 + assets/plugins/ckeditor/lang/si.js | 5 + assets/plugins/ckeditor/lang/sk.js | 5 + assets/plugins/ckeditor/lang/sl.js | 5 + assets/plugins/ckeditor/lang/sq.js | 5 + assets/plugins/ckeditor/lang/sr-latn.js | 5 + assets/plugins/ckeditor/lang/sr.js | 5 + assets/plugins/ckeditor/lang/sv.js | 5 + assets/plugins/ckeditor/lang/th.js | 5 + assets/plugins/ckeditor/lang/tr.js | 5 + assets/plugins/ckeditor/lang/tt.js | 5 + assets/plugins/ckeditor/lang/ug.js | 5 + assets/plugins/ckeditor/lang/uk.js | 5 + assets/plugins/ckeditor/lang/vi.js | 5 + assets/plugins/ckeditor/lang/zh-cn.js | 5 + assets/plugins/ckeditor/lang/zh.js | 5 + .../plugins/a11yhelp/dialogs/a11yhelp.js | 10 + .../dialogs/lang/_translationstatus.txt | 25 + .../plugins/a11yhelp/dialogs/lang/af.js | 11 + .../plugins/a11yhelp/dialogs/lang/ar.js | 11 + .../plugins/a11yhelp/dialogs/lang/az.js | 11 + .../plugins/a11yhelp/dialogs/lang/bg.js | 11 + .../plugins/a11yhelp/dialogs/lang/ca.js | 13 + .../plugins/a11yhelp/dialogs/lang/cs.js | 12 + .../plugins/a11yhelp/dialogs/lang/cy.js | 11 + .../plugins/a11yhelp/dialogs/lang/da.js | 11 + .../plugins/a11yhelp/dialogs/lang/de-ch.js | 12 + .../plugins/a11yhelp/dialogs/lang/de.js | 13 + .../plugins/a11yhelp/dialogs/lang/el.js | 13 + .../plugins/a11yhelp/dialogs/lang/en-au.js | 11 + .../plugins/a11yhelp/dialogs/lang/en-gb.js | 11 + .../plugins/a11yhelp/dialogs/lang/en.js | 11 + .../plugins/a11yhelp/dialogs/lang/eo.js | 13 + .../plugins/a11yhelp/dialogs/lang/es-mx.js | 13 + .../plugins/a11yhelp/dialogs/lang/es.js | 13 + .../plugins/a11yhelp/dialogs/lang/et.js | 11 + .../plugins/a11yhelp/dialogs/lang/eu.js | 12 + .../plugins/a11yhelp/dialogs/lang/fa.js | 11 + .../plugins/a11yhelp/dialogs/lang/fi.js | 11 + .../plugins/a11yhelp/dialogs/lang/fo.js | 11 + .../plugins/a11yhelp/dialogs/lang/fr-ca.js | 11 + .../plugins/a11yhelp/dialogs/lang/fr.js | 13 + .../plugins/a11yhelp/dialogs/lang/gl.js | 12 + .../plugins/a11yhelp/dialogs/lang/gu.js | 11 + .../plugins/a11yhelp/dialogs/lang/he.js | 11 + .../plugins/a11yhelp/dialogs/lang/hi.js | 11 + .../plugins/a11yhelp/dialogs/lang/hr.js | 11 + .../plugins/a11yhelp/dialogs/lang/hu.js | 12 + .../plugins/a11yhelp/dialogs/lang/id.js | 11 + .../plugins/a11yhelp/dialogs/lang/it.js | 13 + .../plugins/a11yhelp/dialogs/lang/ja.js | 9 + .../plugins/a11yhelp/dialogs/lang/km.js | 11 + .../plugins/a11yhelp/dialogs/lang/ko.js | 10 + .../plugins/a11yhelp/dialogs/lang/ku.js | 11 + .../plugins/a11yhelp/dialogs/lang/lt.js | 11 + .../plugins/a11yhelp/dialogs/lang/lv.js | 12 + .../plugins/a11yhelp/dialogs/lang/mk.js | 11 + .../plugins/a11yhelp/dialogs/lang/mn.js | 11 + .../plugins/a11yhelp/dialogs/lang/nb.js | 12 + .../plugins/a11yhelp/dialogs/lang/nl.js | 12 + .../plugins/a11yhelp/dialogs/lang/no.js | 11 + .../plugins/a11yhelp/dialogs/lang/oc.js | 12 + .../plugins/a11yhelp/dialogs/lang/pl.js | 13 + .../plugins/a11yhelp/dialogs/lang/pt-br.js | 13 + .../plugins/a11yhelp/dialogs/lang/pt.js | 12 + .../plugins/a11yhelp/dialogs/lang/ro.js | 12 + .../plugins/a11yhelp/dialogs/lang/ru.js | 11 + .../plugins/a11yhelp/dialogs/lang/si.js | 10 + .../plugins/a11yhelp/dialogs/lang/sk.js | 11 + .../plugins/a11yhelp/dialogs/lang/sl.js | 11 + .../plugins/a11yhelp/dialogs/lang/sq.js | 12 + .../plugins/a11yhelp/dialogs/lang/sr-latn.js | 12 + .../plugins/a11yhelp/dialogs/lang/sr.js | 12 + .../plugins/a11yhelp/dialogs/lang/sv.js | 11 + .../plugins/a11yhelp/dialogs/lang/th.js | 11 + .../plugins/a11yhelp/dialogs/lang/tr.js | 12 + .../plugins/a11yhelp/dialogs/lang/tt.js | 11 + .../plugins/a11yhelp/dialogs/lang/ug.js | 12 + .../plugins/a11yhelp/dialogs/lang/uk.js | 12 + .../plugins/a11yhelp/dialogs/lang/vi.js | 11 + .../plugins/a11yhelp/dialogs/lang/zh-cn.js | 9 + .../plugins/a11yhelp/dialogs/lang/zh.js | 9 + .../ckeditor/plugins/about/dialogs/about.js | 8 + .../about/dialogs/hidpi/logo_ckeditor.png | Bin 0 -> 12236 bytes .../plugins/about/dialogs/logo_ckeditor.png | Bin 0 -> 5650 bytes .../plugins/clipboard/dialogs/paste.js | 11 + .../plugins/dialog/dialogDefinition.js | 4 + assets/plugins/ckeditor/plugins/icons.png | Bin 0 -> 5881 bytes .../plugins/ckeditor/plugins/icons_hidpi.png | Bin 0 -> 20430 bytes .../ckeditor/plugins/image/dialogs/image.js | 44 + .../ckeditor/plugins/image/images/noimage.png | Bin 0 -> 1610 bytes .../ckeditor/plugins/link/dialogs/anchor.js | 8 + .../ckeditor/plugins/link/dialogs/link.js | 30 + .../ckeditor/plugins/link/images/anchor.png | Bin 0 -> 752 bytes .../plugins/link/images/hidpi/anchor.png | Bin 0 -> 1109 bytes .../magicline/images/hidpi/icon-rtl.png | Bin 0 -> 176 bytes .../plugins/magicline/images/hidpi/icon.png | Bin 0 -> 199 bytes .../plugins/magicline/images/icon-rtl.png | Bin 0 -> 138 bytes .../plugins/magicline/images/icon.png | Bin 0 -> 133 bytes .../plugins/pastefromword/filter/default.js | 58 + .../ckeditor/plugins/scayt/CHANGELOG.md | 20 + .../plugins/ckeditor/plugins/scayt/LICENSE.md | 28 + .../plugins/ckeditor/plugins/scayt/README.md | 81 + .../ckeditor/plugins/scayt/dialogs/dialog.css | 23 + .../ckeditor/plugins/scayt/dialogs/options.js | 32 + .../plugins/scayt/dialogs/toolbar.css | 71 + .../plugins/scayt/skins/moono-lisa/scayt.css | 25 + .../dialogs/lang/_translationstatus.txt | 20 + .../plugins/specialchar/dialogs/lang/af.js | 13 + .../plugins/specialchar/dialogs/lang/ar.js | 13 + .../plugins/specialchar/dialogs/lang/az.js | 10 + .../plugins/specialchar/dialogs/lang/bg.js | 13 + .../plugins/specialchar/dialogs/lang/ca.js | 14 + .../plugins/specialchar/dialogs/lang/cs.js | 13 + .../plugins/specialchar/dialogs/lang/cy.js | 14 + .../plugins/specialchar/dialogs/lang/da.js | 11 + .../plugins/specialchar/dialogs/lang/de-ch.js | 13 + .../plugins/specialchar/dialogs/lang/de.js | 13 + .../plugins/specialchar/dialogs/lang/el.js | 13 + .../plugins/specialchar/dialogs/lang/en-au.js | 13 + .../plugins/specialchar/dialogs/lang/en-ca.js | 13 + .../plugins/specialchar/dialogs/lang/en-gb.js | 13 + .../plugins/specialchar/dialogs/lang/en.js | 13 + .../plugins/specialchar/dialogs/lang/eo.js | 12 + .../plugins/specialchar/dialogs/lang/es-mx.js | 13 + .../plugins/specialchar/dialogs/lang/es.js | 13 + .../plugins/specialchar/dialogs/lang/et.js | 11 + .../plugins/specialchar/dialogs/lang/eu.js | 13 + .../plugins/specialchar/dialogs/lang/fa.js | 12 + .../plugins/specialchar/dialogs/lang/fi.js | 13 + .../plugins/specialchar/dialogs/lang/fr-ca.js | 10 + .../plugins/specialchar/dialogs/lang/fr.js | 12 + .../plugins/specialchar/dialogs/lang/gl.js | 13 + .../plugins/specialchar/dialogs/lang/he.js | 12 + .../plugins/specialchar/dialogs/lang/hr.js | 13 + .../plugins/specialchar/dialogs/lang/hu.js | 12 + .../plugins/specialchar/dialogs/lang/id.js | 13 + .../plugins/specialchar/dialogs/lang/it.js | 14 + .../plugins/specialchar/dialogs/lang/ja.js | 9 + .../plugins/specialchar/dialogs/lang/km.js | 13 + .../plugins/specialchar/dialogs/lang/ko.js | 10 + .../plugins/specialchar/dialogs/lang/ku.js | 13 + .../plugins/specialchar/dialogs/lang/lt.js | 13 + .../plugins/specialchar/dialogs/lang/lv.js | 13 + .../plugins/specialchar/dialogs/lang/nb.js | 11 + .../plugins/specialchar/dialogs/lang/nl.js | 13 + .../plugins/specialchar/dialogs/lang/no.js | 11 + .../plugins/specialchar/dialogs/lang/oc.js | 12 + .../plugins/specialchar/dialogs/lang/pl.js | 12 + .../plugins/specialchar/dialogs/lang/pt-br.js | 11 + .../plugins/specialchar/dialogs/lang/pt.js | 13 + .../plugins/specialchar/dialogs/lang/ro.js | 13 + .../plugins/specialchar/dialogs/lang/ru.js | 13 + .../plugins/specialchar/dialogs/lang/si.js | 13 + .../plugins/specialchar/dialogs/lang/sk.js | 13 + .../plugins/specialchar/dialogs/lang/sl.js | 12 + .../plugins/specialchar/dialogs/lang/sq.js | 13 + .../specialchar/dialogs/lang/sr-latn.js | 13 + .../plugins/specialchar/dialogs/lang/sr.js | 13 + .../plugins/specialchar/dialogs/lang/sv.js | 11 + .../plugins/specialchar/dialogs/lang/th.js | 13 + .../plugins/specialchar/dialogs/lang/tr.js | 12 + .../plugins/specialchar/dialogs/lang/tt.js | 13 + .../plugins/specialchar/dialogs/lang/ug.js | 13 + .../plugins/specialchar/dialogs/lang/uk.js | 12 + .../plugins/specialchar/dialogs/lang/vi.js | 14 + .../plugins/specialchar/dialogs/lang/zh-cn.js | 9 + .../plugins/specialchar/dialogs/lang/zh.js | 9 + .../specialchar/dialogs/specialchar.js | 14 + .../ckeditor/plugins/table/dialogs/table.js | 21 + .../tableselection/styles/tableselection.css | 36 + .../plugins/tabletools/dialogs/tableCell.js | 18 + .../ckeditor/plugins/widget/images/handle.png | Bin 0 -> 220 bytes .../plugins/ckeditor/plugins/wsc/LICENSE.md | 28 + assets/plugins/ckeditor/plugins/wsc/README.md | 80 + .../ckeditor/plugins/wsc/dialogs/ciframe.html | 66 + .../plugins/wsc/dialogs/tmpFrameset.html | 52 + .../ckeditor/plugins/wsc/dialogs/wsc.css | 82 + .../ckeditor/plugins/wsc/dialogs/wsc.js | 91 + .../ckeditor/plugins/wsc/dialogs/wsc_ie.js | 11 + .../plugins/wsc/skins/moono-lisa/wsc.css | 43 + .../plugins/ckeditor/samples/css/samples.css | 1637 ++ .../ckeditor/samples/img/github-top.png | Bin 0 -> 383 bytes .../ckeditor/samples/img/header-bg.png | Bin 0 -> 13086 bytes .../ckeditor/samples/img/header-separator.png | Bin 0 -> 123 bytes assets/plugins/ckeditor/samples/img/logo.png | Bin 0 -> 5634 bytes assets/plugins/ckeditor/samples/img/logo.svg | 13 + .../ckeditor/samples/img/navigation-tip.png | Bin 0 -> 12029 bytes assets/plugins/ckeditor/samples/index.html | 129 + assets/plugins/ckeditor/samples/js/sample.js | 53 + assets/plugins/ckeditor/samples/js/sf.js | 17 + assets/plugins/ckeditor/samples/old/ajax.html | 85 + assets/plugins/ckeditor/samples/old/api.html | 210 + .../ckeditor/samples/old/appendto.html | 59 + .../samples/old/assets/inlineall/logo.png | Bin 0 -> 4283 bytes .../old/assets/outputxhtml/outputxhtml.css | 204 + .../samples/old/assets/posteddata.php | 59 + .../ckeditor/samples/old/assets/sample.jpg | Bin 0 -> 14449 bytes .../old/assets/uilanguages/languages.js | 7 + .../ckeditor/samples/old/datafiltering.html | 508 + .../samples/old/dialog/assets/my_dialog.js | 48 + .../ckeditor/samples/old/dialog/dialog.html | 190 + .../ckeditor/samples/old/divreplace.html | 144 + .../samples/old/enterkey/enterkey.html | 106 + .../assets/outputforflash/outputforflash.fla | Bin 0 -> 85504 bytes .../assets/outputforflash/outputforflash.swf | Bin 0 -> 15571 bytes .../assets/outputforflash/swfobject.js | 19 + .../old/htmlwriter/outputforflash.html | 283 + .../samples/old/htmlwriter/outputhtml.html | 224 + .../plugins/ckeditor/samples/old/index.html | 131 + .../ckeditor/samples/old/inlineall.html | 314 + .../ckeditor/samples/old/inlinebycode.html | 124 + .../ckeditor/samples/old/inlinetextarea.html | 113 + .../plugins/ckeditor/samples/old/jquery.html | 103 + .../samples/old/magicline/magicline.html | 209 + .../ckeditor/samples/old/readonly.html | 76 + .../ckeditor/samples/old/replacebyclass.html | 60 + .../ckeditor/samples/old/replacebycode.html | 59 + .../plugins/ckeditor/samples/old/sample.css | 357 + assets/plugins/ckeditor/samples/old/sample.js | 50 + .../samples/old/sample_posteddata.php | 16 + .../ckeditor/samples/old/tabindex.html | 78 + .../ckeditor/samples/old/toolbar/toolbar.html | 235 + .../plugins/ckeditor/samples/old/uicolor.html | 72 + .../ckeditor/samples/old/uilanguages.html | 122 + .../samples/old/wysiwygarea/fullpage.html | 80 + .../ckeditor/samples/old/xhtmlstyle.html | 234 + .../toolbarconfigurator/css/fontello.css | 55 + .../toolbarconfigurator/font/LICENSE.txt | 10 + .../toolbarconfigurator/font/config.json | 28 + .../toolbarconfigurator/font/fontello.eot | Bin 0 -> 4988 bytes .../toolbarconfigurator/font/fontello.svg | 14 + .../toolbarconfigurator/font/fontello.ttf | Bin 0 -> 4820 bytes .../toolbarconfigurator/font/fontello.woff | Bin 0 -> 2904 bytes .../samples/toolbarconfigurator/index.html | 446 + .../js/abstracttoolbarmodifier.js | 13 + .../js/fulltoolbareditor.js | 9 + .../toolbarconfigurator/js/toolbarmodifier.js | 33 + .../js/toolbartextmodifier.js | 14 + .../lib/codemirror/LICENSE | 19 + .../lib/codemirror/codemirror.css | 325 + .../lib/codemirror/codemirror.js | 288 + .../lib/codemirror/javascript.js | 25 + .../lib/codemirror/neo.css | 36 + .../lib/codemirror/show-hint.css | 38 + .../lib/codemirror/show-hint.js | 16 + .../ckeditor/skins/moono-lisa/dialog.css | 5 + .../ckeditor/skins/moono-lisa/dialog_ie.css | 5 + .../ckeditor/skins/moono-lisa/dialog_ie8.css | 5 + .../skins/moono-lisa/dialog_iequirks.css | 5 + .../ckeditor/skins/moono-lisa/editor.css | 5 + .../skins/moono-lisa/editor_gecko.css | 5 + .../ckeditor/skins/moono-lisa/editor_ie.css | 5 + .../ckeditor/skins/moono-lisa/editor_ie8.css | 5 + .../skins/moono-lisa/editor_iequirks.css | 5 + .../ckeditor/skins/moono-lisa/icons.png | Bin 0 -> 5881 bytes .../ckeditor/skins/moono-lisa/icons_hidpi.png | Bin 0 -> 20430 bytes .../skins/moono-lisa/images/arrow.png | Bin 0 -> 191 bytes .../skins/moono-lisa/images/close.png | Bin 0 -> 615 bytes .../skins/moono-lisa/images/hidpi/close.png | Bin 0 -> 1238 bytes .../moono-lisa/images/hidpi/lock-open.png | Bin 0 -> 1071 bytes .../skins/moono-lisa/images/hidpi/lock.png | Bin 0 -> 1062 bytes .../skins/moono-lisa/images/hidpi/refresh.png | Bin 0 -> 1623 bytes .../skins/moono-lisa/images/lock-open.png | Bin 0 -> 511 bytes .../ckeditor/skins/moono-lisa/images/lock.png | Bin 0 -> 506 bytes .../skins/moono-lisa/images/refresh.png | Bin 0 -> 757 bytes .../skins/moono-lisa/images/spinner.gif | Bin 0 -> 2984 bytes .../ckeditor/skins/moono-lisa/readme.md | 46 + assets/plugins/ckeditor/styles.js | 137 + assets/plugins/ckeditor/vendor/promise.js | 13 + .../datatables/dataTables.bootstrap.css | 372 + .../datatables/dataTables.bootstrap.js | 206 + .../datatables/dataTables.bootstrap.min.js | 8 + .../datatables/extensions/AutoFill/Readme.txt | 38 + .../AutoFill/css/dataTables.autoFill.css | 24 + .../AutoFill/css/dataTables.autoFill.min.css | 1 + .../extensions/AutoFill/examples/columns.html | 644 + .../AutoFill/examples/complete-callback.html | 652 + .../AutoFill/examples/fill-both.html | 641 + .../AutoFill/examples/fill-horizontal.html | 641 + .../extensions/AutoFill/examples/index.html | 66 + .../AutoFill/examples/scrolling.html | 638 + .../extensions/AutoFill/examples/simple.html | 631 + .../AutoFill/examples/step-callback.html | 660 + .../extensions/AutoFill/images/filler.png | Bin 0 -> 1040 bytes .../AutoFill/js/dataTables.autoFill.js | 855 + .../AutoFill/js/dataTables.autoFill.min.js | 22 + .../extensions/ColReorder/License.txt | 20 + .../extensions/ColReorder/Readme.md | 39 + .../ColReorder/css/dataTables.colReorder.css | 14 + .../css/dataTables.colReorder.min.css | 1 + .../ColReorder/examples/alt_insert.html | 637 + .../ColReorder/examples/col_filter.html | 656 + .../ColReorder/examples/colvis.html | 635 + .../ColReorder/examples/fixedcolumns.html | 831 + .../ColReorder/examples/fixedheader.html | 635 + .../extensions/ColReorder/examples/index.html | 74 + .../ColReorder/examples/jqueryui.html | 635 + .../ColReorder/examples/new_init.html | 626 + .../ColReorder/examples/predefined.html | 636 + .../ColReorder/examples/realtime.html | 637 + .../extensions/ColReorder/examples/reset.html | 649 + .../ColReorder/examples/scrolling.html | 632 + .../ColReorder/examples/server_side.html | 192 + .../ColReorder/examples/simple.html | 630 + .../ColReorder/examples/state_save.html | 631 + .../extensions/ColReorder/images/insert.png | Bin 0 -> 1885 bytes .../ColReorder/js/dataTables.colReorder.js | 1372 ++ .../js/dataTables.colReorder.min.js | 26 + .../datatables/extensions/ColVis/License.txt | 20 + .../datatables/extensions/ColVis/Readme.md | 38 + .../ColVis/css/dataTables.colVis.css | 185 + .../ColVis/css/dataTables.colVis.min.css | 1 + .../ColVis/css/dataTables.colvis.jqueryui.css | 41 + .../ColVis/examples/button_order.html | 630 + .../ColVis/examples/exclude_columns.html | 632 + .../ColVis/examples/group_columns.html | 656 + .../extensions/ColVis/examples/index.html | 72 + .../extensions/ColVis/examples/jqueryui.html | 637 + .../extensions/ColVis/examples/mouseover.html | 632 + .../extensions/ColVis/examples/new_init.html | 629 + .../extensions/ColVis/examples/restore.html | 641 + .../extensions/ColVis/examples/simple.html | 627 + .../extensions/ColVis/examples/text.html | 631 + .../ColVis/examples/title_callback.html | 636 + .../ColVis/examples/two_tables.html | 339 + .../ColVis/examples/two_tables_identical.html | 363 + .../extensions/ColVis/js/dataTables.colVis.js | 1123 + .../ColVis/js/dataTables.colVis.min.js | 24 + .../extensions/FixedColumns/License.txt | 20 + .../extensions/FixedColumns/Readme.md | 42 + .../css/dataTables.fixedColumns.css | 25 + .../css/dataTables.fixedColumns.min.css | 1 + .../FixedColumns/examples/bootstrap.html | 819 + .../FixedColumns/examples/col_filter.html | 857 + .../FixedColumns/examples/colvis.html | 833 + .../FixedColumns/examples/css_size.html | 828 + .../FixedColumns/examples/index.html | 74 + .../FixedColumns/examples/index_column.html | 932 + .../examples/left_right_columns.html | 816 + .../FixedColumns/examples/right_column.html | 816 + .../FixedColumns/examples/rowspan.html | 657 + .../examples/server-side-processing.html | 204 + .../FixedColumns/examples/simple.html | 813 + .../FixedColumns/examples/size_fixed.html | 824 + .../FixedColumns/examples/size_fluid.html | 824 + .../FixedColumns/examples/two_columns.html | 810 + .../js/dataTables.fixedColumns.js | 1423 ++ .../js/dataTables.fixedColumns.min.js | 30 + .../extensions/FixedHeader/Readme.txt | 36 + .../css/dataTables.fixedHeader.css | 7 + .../css/dataTables.fixedHeader.min.css | 1 + .../FixedHeader/examples/header_footer.html | 641 + .../FixedHeader/examples/index.html | 69 + .../FixedHeader/examples/simple.html | 637 + .../FixedHeader/examples/top_left_right.html | 236 + .../FixedHeader/examples/two_tables.html | 354 + .../FixedHeader/examples/zIndexes.html | 653 + .../FixedHeader/js/dataTables.fixedHeader.js | 1028 + .../js/dataTables.fixedHeader.min.js | 30 + .../datatables/extensions/KeyTable/Readme.txt | 36 + .../KeyTable/css/dataTables.keyTable.css | 7 + .../KeyTable/css/dataTables.keyTable.min.css | 1 + .../extensions/KeyTable/examples/events.html | 756 + .../extensions/KeyTable/examples/html.html | 627 + .../extensions/KeyTable/examples/index.html | 69 + .../KeyTable/examples/scrolling.html | 637 + .../extensions/KeyTable/examples/simple.html | 631 + .../KeyTable/js/dataTables.keyTable.js | 1175 + .../KeyTable/js/dataTables.keyTable.min.js | 18 + .../extensions/Responsive/License.txt | 20 + .../extensions/Responsive/Readme.md | 0 .../Responsive/css/dataTables.responsive.css | 106 + .../Responsive/css/dataTables.responsive.scss | 149 + .../examples/child-rows/column-control.html | 854 + .../examples/child-rows/custom-renderer.html | 863 + .../child-rows/disable-child-rows.html | 819 + .../Responsive/examples/child-rows/index.html | 72 + .../examples/child-rows/right-column.html | 850 + .../child-rows/whole-row-control.html | 853 + .../examples/display-control/auto.html | 813 + .../examples/display-control/classes.html | 247 + .../display-control/complexHeader.html | 708 + .../examples/display-control/fixedHeader.html | 825 + .../examples/display-control/index.html | 65 + .../display-control/init-classes.html | 215 + .../extensions/Responsive/examples/index.html | 86 + .../examples/initialisation/ajax.html | 210 + .../examples/initialisation/className.html | 812 + .../examples/initialisation/default.html | 822 + .../examples/initialisation/index.html | 65 + .../examples/initialisation/new.html | 821 + .../examples/initialisation/option.html | 820 + .../examples/styling/bootstrap.html | 831 + .../Responsive/examples/styling/compact.html | 816 + .../examples/styling/foundation.html | 822 + .../Responsive/examples/styling/index.html | 57 + .../examples/styling/scrolling.html | 826 + .../Responsive/js/dataTables.responsive.js | 873 + .../js/dataTables.responsive.min.js | 19 + .../datatables/extensions/Scroller/Readme.txt | 43 + .../Scroller/css/dataTables.scroller.css | 44 + .../Scroller/css/dataTables.scroller.min.css | 1 + .../Scroller/examples/api_scrolling.html | 174 + .../Scroller/examples/data/2500.txt | 2502 +++ .../extensions/Scroller/examples/data/ssp.php | 58 + .../extensions/Scroller/examples/index.html | 83 + .../Scroller/examples/large_js_source.html | 182 + .../examples/server-side_processing.html | 220 + .../extensions/Scroller/examples/simple.html | 175 + .../Scroller/examples/state_saving.html | 170 + .../Scroller/images/loading-background.png | Bin 0 -> 1013 bytes .../Scroller/js/dataTables.scroller.js | 1262 ++ .../Scroller/js/dataTables.scroller.min.js | 25 + .../extensions/TableTools/Readme.md | 41 + .../TableTools/css/dataTables.tableTools.css | 361 + .../css/dataTables.tableTools.min.css | 1 + .../extensions/TableTools/examples/ajax.html | 190 + .../TableTools/examples/alter_buttons.html | 637 + .../TableTools/examples/bootstrap.html | 645 + .../TableTools/examples/button_text.html | 669 + .../TableTools/examples/collection.html | 654 + .../TableTools/examples/defaults.html | 634 + .../extensions/TableTools/examples/index.html | 80 + .../TableTools/examples/jqueryui.html | 637 + .../TableTools/examples/multi_instance.html | 638 + .../TableTools/examples/multiple_tables.html | 343 + .../TableTools/examples/new_init.html | 644 + .../TableTools/examples/pdf_message.html | 655 + .../TableTools/examples/plug-in.html | 682 + .../TableTools/examples/select_column.html | 228 + .../TableTools/examples/select_multi.html | 649 + .../TableTools/examples/select_os.html | 649 + .../TableTools/examples/select_single.html | 646 + .../TableTools/examples/simple.html | 633 + .../TableTools/examples/swf_path.html | 639 + .../TableTools/images/collection.png | Bin 0 -> 1166 bytes .../TableTools/images/collection_hover.png | Bin 0 -> 1194 bytes .../extensions/TableTools/images/copy.png | Bin 0 -> 2184 bytes .../TableTools/images/copy_hover.png | Bin 0 -> 2797 bytes .../extensions/TableTools/images/csv.png | Bin 0 -> 1607 bytes .../TableTools/images/csv_hover.png | Bin 0 -> 1854 bytes .../extensions/TableTools/images/pdf.png | Bin 0 -> 4325 bytes .../TableTools/images/pdf_hover.png | Bin 0 -> 2786 bytes .../extensions/TableTools/images/print.png | Bin 0 -> 2123 bytes .../TableTools/images/print_hover.png | Bin 0 -> 2230 bytes .../TableTools/images/psd/collection.psd | Bin 0 -> 25792 bytes .../TableTools/images/psd/copy document.psd | Bin 0 -> 104729 bytes .../TableTools/images/psd/file_types.psd | Bin 0 -> 1090645 bytes .../TableTools/images/psd/printer.psd | Bin 0 -> 119952 bytes .../extensions/TableTools/images/xls.png | Bin 0 -> 1641 bytes .../TableTools/images/xls_hover.png | Bin 0 -> 2061 bytes .../TableTools/js/dataTables.tableTools.js | 3230 +++ .../js/dataTables.tableTools.min.js | 70 + .../TableTools/swf/copy_csv_xls.swf | Bin 0 -> 2232 bytes .../TableTools/swf/copy_csv_xls_pdf.swf | Bin 0 -> 58846 bytes assets/plugins/datatables/images/sort_asc.png | Bin 0 -> 160 bytes .../datatables/images/sort_asc_disabled.png | Bin 0 -> 148 bytes .../plugins/datatables/images/sort_both.png | Bin 0 -> 201 bytes .../plugins/datatables/images/sort_desc.png | Bin 0 -> 158 bytes .../datatables/images/sort_desc_disabled.png | Bin 0 -> 146 bytes .../plugins/datatables/jquery.dataTables.css | 455 + .../plugins/datatables/jquery.dataTables.js | 14951 +++++++++++++ .../datatables/jquery.dataTables.min.css | 1 + .../datatables/jquery.dataTables.min.js | 160 + .../jquery.dataTables_themeroller.css | 416 + .../datepicker/bootstrap-datepicker.js | 1671 ++ assets/plugins/datepicker/datepicker3.css | 790 + .../locales/bootstrap-datepicker.ar.js | 15 + .../locales/bootstrap-datepicker.az.js | 12 + .../locales/bootstrap-datepicker.bg.js | 14 + .../locales/bootstrap-datepicker.ca.js | 14 + .../locales/bootstrap-datepicker.cs.js | 15 + .../locales/bootstrap-datepicker.cy.js | 14 + .../locales/bootstrap-datepicker.da.js | 15 + .../locales/bootstrap-datepicker.de.js | 17 + .../locales/bootstrap-datepicker.el.js | 13 + .../locales/bootstrap-datepicker.es.js | 14 + .../locales/bootstrap-datepicker.et.js | 18 + .../locales/bootstrap-datepicker.fa.js | 17 + .../locales/bootstrap-datepicker.fi.js | 16 + .../locales/bootstrap-datepicker.fr.js | 17 + .../locales/bootstrap-datepicker.gl.js | 11 + .../locales/bootstrap-datepicker.he.js | 15 + .../locales/bootstrap-datepicker.hr.js | 13 + .../locales/bootstrap-datepicker.hu.js | 16 + .../locales/bootstrap-datepicker.id.js | 15 + .../locales/bootstrap-datepicker.is.js | 14 + .../locales/bootstrap-datepicker.it.js | 17 + .../locales/bootstrap-datepicker.ja.js | 15 + .../locales/bootstrap-datepicker.ka.js | 17 + .../locales/bootstrap-datepicker.kk.js | 15 + .../locales/bootstrap-datepicker.kr.js | 13 + .../locales/bootstrap-datepicker.lt.js | 16 + .../locales/bootstrap-datepicker.lv.js | 16 + .../locales/bootstrap-datepicker.mk.js | 15 + .../locales/bootstrap-datepicker.ms.js | 14 + .../locales/bootstrap-datepicker.nb.js | 14 + .../locales/bootstrap-datepicker.nl-BE.js | 17 + .../locales/bootstrap-datepicker.nl.js | 14 + .../locales/bootstrap-datepicker.no.js | 16 + .../locales/bootstrap-datepicker.pl.js | 15 + .../locales/bootstrap-datepicker.pt-BR.js | 15 + .../locales/bootstrap-datepicker.pt.js | 16 + .../locales/bootstrap-datepicker.ro.js | 16 + .../locales/bootstrap-datepicker.rs-latin.js | 14 + .../locales/bootstrap-datepicker.rs.js | 14 + .../locales/bootstrap-datepicker.ru.js | 15 + .../locales/bootstrap-datepicker.sk.js | 15 + .../locales/bootstrap-datepicker.sl.js | 14 + .../locales/bootstrap-datepicker.sq.js | 15 + .../locales/bootstrap-datepicker.sv.js | 16 + .../locales/bootstrap-datepicker.sw.js | 15 + .../locales/bootstrap-datepicker.th.js | 14 + .../locales/bootstrap-datepicker.tr.js | 16 + .../locales/bootstrap-datepicker.ua.js | 15 + .../locales/bootstrap-datepicker.vi.js | 16 + .../locales/bootstrap-datepicker.zh-CN.js | 16 + .../locales/bootstrap-datepicker.zh-TW.js | 17 + .../daterangepicker/daterangepicker.css | 232 + .../daterangepicker/daterangepicker.js | 1542 ++ assets/plugins/daterangepicker/moment.js | 3111 +++ assets/plugins/daterangepicker/moment.min.js | 7 + assets/plugins/fastclick/fastclick.js | 841 + assets/plugins/fastclick/fastclick.min.js | 1 + assets/plugins/flot/excanvas.js | 1427 ++ assets/plugins/flot/excanvas.min.js | 1 + assets/plugins/flot/jquery.colorhelpers.js | 180 + .../plugins/flot/jquery.colorhelpers.min.js | 1 + assets/plugins/flot/jquery.flot.canvas.js | 345 + assets/plugins/flot/jquery.flot.canvas.min.js | 1 + assets/plugins/flot/jquery.flot.categories.js | 190 + .../flot/jquery.flot.categories.min.js | 1 + assets/plugins/flot/jquery.flot.crosshair.js | 176 + .../plugins/flot/jquery.flot.crosshair.min.js | 1 + assets/plugins/flot/jquery.flot.errorbars.js | 353 + .../plugins/flot/jquery.flot.errorbars.min.js | 1 + .../plugins/flot/jquery.flot.fillbetween.js | 226 + .../flot/jquery.flot.fillbetween.min.js | 1 + assets/plugins/flot/jquery.flot.image.js | 241 + assets/plugins/flot/jquery.flot.image.min.js | 1 + assets/plugins/flot/jquery.flot.js | 3137 +++ assets/plugins/flot/jquery.flot.min.js | 2 + assets/plugins/flot/jquery.flot.navigate.js | 346 + .../plugins/flot/jquery.flot.navigate.min.js | 1 + assets/plugins/flot/jquery.flot.pie.js | 817 + assets/plugins/flot/jquery.flot.pie.min.js | 1 + assets/plugins/flot/jquery.flot.resize.js | 60 + assets/plugins/flot/jquery.flot.resize.min.js | 1 + assets/plugins/flot/jquery.flot.selection.js | 360 + .../plugins/flot/jquery.flot.selection.min.js | 1 + assets/plugins/flot/jquery.flot.stack.js | 188 + assets/plugins/flot/jquery.flot.stack.min.js | 1 + assets/plugins/flot/jquery.flot.symbol.js | 71 + assets/plugins/flot/jquery.flot.symbol.min.js | 1 + assets/plugins/flot/jquery.flot.threshold.js | 142 + .../plugins/flot/jquery.flot.threshold.min.js | 1 + assets/plugins/flot/jquery.flot.time.js | 429 + assets/plugins/flot/jquery.flot.time.min.js | 1 + assets/plugins/froala/License.txt | 5 + assets/plugins/froala/README.md | 227 + assets/plugins/froala/bower.json | 92 + assets/plugins/froala/composer.json | 31 + assets/plugins/froala/css/froala_editor.css | 1354 ++ .../plugins/froala/css/froala_editor.min.css | 7 + .../plugins/froala/css/froala_editor.pkgd.css | 3092 +++ .../froala/css/froala_editor.pkgd.min.css | 7 + assets/plugins/froala/css/froala_style.css | 353 + .../plugins/froala/css/froala_style.min.css | 7 + assets/plugins/froala/css/plugins.pkgd.css | 1395 ++ .../plugins/froala/css/plugins.pkgd.min.css | 7 + .../froala/css/plugins/char_counter.css | 49 + .../froala/css/plugins/char_counter.min.css | 7 + .../plugins/froala/css/plugins/code_view.css | 97 + .../froala/css/plugins/code_view.min.css | 7 + assets/plugins/froala/css/plugins/colors.css | 98 + .../plugins/froala/css/plugins/colors.min.css | 7 + .../plugins/froala/css/plugins/draggable.css | 41 + .../froala/css/plugins/draggable.min.css | 7 + .../plugins/froala/css/plugins/emoticons.css | 34 + .../froala/css/plugins/emoticons.min.css | 7 + assets/plugins/froala/css/plugins/file.css | 128 + .../plugins/froala/css/plugins/file.min.css | 7 + .../plugins/froala/css/plugins/fullscreen.css | 77 + .../froala/css/plugins/fullscreen.min.css | 7 + assets/plugins/froala/css/plugins/help.css | 45 + .../plugins/froala/css/plugins/help.min.css | 7 + assets/plugins/froala/css/plugins/image.css | 210 + .../plugins/froala/css/plugins/image.min.css | 7 + .../froala/css/plugins/image_manager.css | 236 + .../froala/css/plugins/image_manager.min.css | 7 + .../froala/css/plugins/line_breaker.css | 38 + .../froala/css/plugins/line_breaker.min.css | 7 + .../froala/css/plugins/quick_insert.css | 72 + .../froala/css/plugins/quick_insert.min.css | 7 + .../froala/css/plugins/special_characters.css | 33 + .../css/plugins/special_characters.min.css | 7 + assets/plugins/froala/css/plugins/table.css | 111 + .../plugins/froala/css/plugins/table.min.css | 7 + assets/plugins/froala/css/plugins/video.css | 198 + .../plugins/froala/css/plugins/video.min.css | 7 + assets/plugins/froala/css/themes/dark.css | 1912 ++ assets/plugins/froala/css/themes/dark.min.css | 7 + assets/plugins/froala/css/themes/gray.css | 1912 ++ assets/plugins/froala/css/themes/gray.min.css | 7 + .../froala/css/third_party/embedly.css | 61 + .../froala/css/third_party/embedly.min.css | 7 + .../froala/css/third_party/font_awesome.css | 33 + .../css/third_party/font_awesome.min.css | 7 + .../froala/css/third_party/image_tui.css | 41 + .../froala/css/third_party/image_tui.min.css | 7 + .../froala/css/third_party/spell_checker.css | 64 + .../css/third_party/spell_checker.min.css | 7 + assets/plugins/froala/editor.jpg | Bin 0 -> 133152 bytes .../froala/html/3rd-party/aviary/index.html | 102 + .../froala/html/3rd-party/bootstrap/grid.html | 111 + .../html/3rd-party/bootstrap/lists.html | 104 + .../html/3rd-party/bootstrap/modal.html | 176 + .../froala/html/3rd-party/code-mirror.html | 86 + .../html/3rd-party/font-awesome-5-css.html | 65 + .../html/3rd-party/font-awesome-5-js.html | 65 + .../froala/html/3rd-party/jquery/mobile.html | 101 + .../html/3rd-party/jquery/ui_modal.html | 304 + .../spell-checker/spell-checker.html | 109 + .../froala/html/3rd-party/tui/index.html | 96 + assets/plugins/froala/html/api/get_html.html | 90 + .../plugins/froala/html/api/init_destroy.html | 124 + .../plugins/froala/html/api/insert_html.html | 102 + .../froala/html/api/live_code_preview.html | 94 + .../froala/html/api/live_content_preview.html | 94 + assets/plugins/froala/html/api/selection.html | 134 + .../froala/html/buttons/custom_buttons.html | 141 + .../froala/html/buttons/custom_dropdown.html | 127 + .../froala/html/buttons/external_button.html | 99 + .../html/buttons/subscript_superscript.html | 90 + .../froala/html/events/blur_focus.html | 101 + .../froala/html/events/content_changed.html | 79 + assets/plugins/froala/html/events/drop.html | 107 + .../froala/html/events/image_removed.html | 96 + .../html/events/initialized_destroy.html | 97 + assets/plugins/froala/html/file_s3_upload.php | 183 + .../froala/html/image/custom_button.html | 109 + .../froala/html/image/default_width.html | 101 + .../froala/html/image/image_styles.html | 112 + .../froala/html/image/insert_base64.html | 111 + .../plugins/froala/html/image_s3_upload.php | 181 + .../froala/html/init_inside_iframe/basic.html | 101 + .../html/init_inside_iframe/content.html | 53 + .../html/init_inside_iframe/inline.html | 104 + .../froala/html/init_on_click/basic.html | 91 + .../froala/html/init_on_click/inline.html | 92 + .../html/init_on_click/two_editors.html | 111 + .../html/initialization/edit_in_popup.html | 39 + .../html/initialization/init_on_button.html | 45 + .../html/initialization/init_on_click.html | 91 + .../html/initialization/init_on_h1.html | 70 + .../html/initialization/init_on_image.html | 46 + .../html/initialization/init_on_link.html | 49 + .../initialization/initialized_event.html | 86 + .../html/international/direction_rtl.html | 108 + .../froala/html/international/language.html | 130 + .../html/international/rtl_ltr_buttons.html | 147 + .../froala/html/link/custom_validation.html | 96 + .../plugins/froala/html/link/link_styles.html | 99 + .../froala/html/link/predefined_links.html | 101 + .../html/misc/scrollable_container.html | 124 + .../misc/scrollable_container_inline.html | 131 + .../froala/html/paragraph_modes/enter_br.html | 102 + .../html/paragraph_modes/enter_div.html | 102 + .../froala/html/paragraph_modes/enter_p.html | 101 + assets/plugins/froala/html/paste/attrs.html | 86 + assets/plugins/froala/html/paste/plain.html | 86 + assets/plugins/froala/html/paste/tags.html | 85 + .../froala/html/plugins/char_counter.html | 55 + .../froala/html/plugins/full_screen.html | 52 + .../froala/html/plugins/line_breaker.html | 108 + .../froala/html/plugins/quick_insert.html | 66 + .../froala/html/popular/disable_edit.html | 123 + .../html/popular/disable_paragraphs.html | 102 + assets/plugins/froala/html/popular/full.html | 300 + .../froala/html/popular/full_page.html | 120 + .../plugins/froala/html/popular/iframe.html | 125 + .../froala/html/popular/init_on_click.html | 109 + .../plugins/froala/html/popular/textarea.html | 82 + .../froala/html/popular/toolbar_buttons.html | 107 + .../froala/html/popular/toolbar_inline.html | 132 + .../froala/html/popular/two_instances.html | 109 + .../plugins/froala/html/popular/z_index.html | 130 + assets/plugins/froala/html/popups/colors.html | 74 + assets/plugins/froala/html/popups/custom.html | 189 + .../plugins/froala/html/popups/emoticons.html | 77 + .../html/styling/adjustable_height.html | 58 + .../froala/html/styling/font_family.html | 79 + .../plugins/froala/html/styling/height.html | 48 + .../plugins/froala/html/styling/inline.html | 67 + .../froala/html/styling/paragraph.html | 76 + .../froala/html/styling/placeholder.html | 57 + assets/plugins/froala/html/styling/width.html | 47 + .../plugins/froala/html/table/cell_style.html | 109 + .../froala/html/table/insert_helper.html | 93 + assets/plugins/froala/html/table/nested.html | 162 + assets/plugins/froala/html/table/resize.html | 94 + assets/plugins/froala/html/table/style.html | 106 + assets/plugins/froala/html/themes/dark.html | 136 + assets/plugins/froala/html/themes/gray.html | 136 + .../plugins/froala/html/toolbar/bottom.html | 289 + .../froala/html/toolbar/bottom_offset.html | 296 + .../plugins/froala/html/toolbar/buttons.html | 104 + .../plugins/froala/html/toolbar/external.html | 112 + .../froala/html/toolbar/external_inline.html | 108 + .../plugins/froala/html/toolbar/inline.html | 132 + .../froala/html/toolbar/inline_selection.html | 97 + .../plugins/froala/html/toolbar/offset.html | 275 + .../froala/html/toolbar/show_selection.html | 90 + .../plugins/froala/html/toolbar/sticky.html | 286 + .../froala/html/typing/keep_format.html | 85 + .../plugins/froala/html/typing/shortcuts.html | 92 + assets/plugins/froala/html/typing/tab.html | 86 + assets/plugins/froala/img/photo1.jpg | Bin 0 -> 305159 bytes assets/plugins/froala/index.html | 308 + assets/plugins/froala/js/froala_editor.min.js | 7 + .../froala/js/froala_editor.pkgd.min.js | 7 + assets/plugins/froala/js/languages/ar.js | 291 + assets/plugins/froala/js/languages/bs.js | 278 + assets/plugins/froala/js/languages/cs.js | 284 + assets/plugins/froala/js/languages/da.js | 276 + assets/plugins/froala/js/languages/de.js | 278 + assets/plugins/froala/js/languages/el.js | 284 + assets/plugins/froala/js/languages/en_ca.js | 222 + assets/plugins/froala/js/languages/en_gb.js | 222 + assets/plugins/froala/js/languages/es.js | 269 + assets/plugins/froala/js/languages/et.js | 278 + assets/plugins/froala/js/languages/fa.js | 278 + assets/plugins/froala/js/languages/fi.js | 278 + assets/plugins/froala/js/languages/fr.js | 278 + assets/plugins/froala/js/languages/he.js | 278 + assets/plugins/froala/js/languages/hr.js | 278 + assets/plugins/froala/js/languages/hu.js | 284 + assets/plugins/froala/js/languages/id.js | 278 + assets/plugins/froala/js/languages/it.js | 278 + assets/plugins/froala/js/languages/ja.js | 278 + assets/plugins/froala/js/languages/ko.js | 278 + assets/plugins/froala/js/languages/ku.js | 271 + assets/plugins/froala/js/languages/me.js | 278 + assets/plugins/froala/js/languages/nb.js | 278 + assets/plugins/froala/js/languages/nl.js | 278 + assets/plugins/froala/js/languages/pl.js | 278 + assets/plugins/froala/js/languages/pt_br.js | 278 + assets/plugins/froala/js/languages/pt_pt.js | 278 + assets/plugins/froala/js/languages/ro.js | 278 + assets/plugins/froala/js/languages/ru.js | 291 + assets/plugins/froala/js/languages/sk.js | 284 + assets/plugins/froala/js/languages/sr.js | 278 + assets/plugins/froala/js/languages/sv.js | 278 + assets/plugins/froala/js/languages/th.js | 278 + assets/plugins/froala/js/languages/tr.js | 278 + assets/plugins/froala/js/languages/uk.js | 278 + assets/plugins/froala/js/languages/vi.js | 219 + assets/plugins/froala/js/languages/zh_cn.js | 278 + assets/plugins/froala/js/languages/zh_tw.js | 278 + assets/plugins/froala/js/plugins.pkgd.min.js | 7 + assets/plugins/froala/js/plugins/align.min.js | 7 + .../froala/js/plugins/char_counter.min.js | 7 + .../froala/js/plugins/code_beautifier.min.js | 7 + .../froala/js/plugins/code_view.min.js | 7 + .../plugins/froala/js/plugins/colors.min.js | 7 + .../froala/js/plugins/draggable.min.js | 7 + .../froala/js/plugins/edit_in_popup.min.js | 7 + .../froala/js/plugins/emoticons.min.js | 7 + .../plugins/froala/js/plugins/entities.min.js | 7 + assets/plugins/froala/js/plugins/file.min.js | 7 + .../froala/js/plugins/font_family.min.js | 7 + .../froala/js/plugins/font_size.min.js | 7 + assets/plugins/froala/js/plugins/forms.min.js | 7 + .../froala/js/plugins/fullscreen.min.js | 7 + assets/plugins/froala/js/plugins/help.min.js | 7 + assets/plugins/froala/js/plugins/image.min.js | 7 + .../froala/js/plugins/image_manager.min.js | 7 + .../froala/js/plugins/inline_class.min.js | 7 + .../froala/js/plugins/inline_style.min.js | 7 + .../froala/js/plugins/line_breaker.min.js | 7 + .../froala/js/plugins/line_height.min.js | 7 + assets/plugins/froala/js/plugins/link.min.js | 7 + assets/plugins/froala/js/plugins/lists.min.js | 7 + .../froala/js/plugins/paragraph_format.min.js | 7 + .../froala/js/plugins/paragraph_style.min.js | 7 + assets/plugins/froala/js/plugins/print.min.js | 7 + .../froala/js/plugins/quick_insert.min.js | 7 + assets/plugins/froala/js/plugins/quote.min.js | 7 + assets/plugins/froala/js/plugins/save.min.js | 7 + .../js/plugins/special_characters.min.js | 7 + assets/plugins/froala/js/plugins/table.min.js | 7 + assets/plugins/froala/js/plugins/url.min.js | 7 + assets/plugins/froala/js/plugins/video.min.js | 7 + .../froala/js/plugins/word_paste.min.js | 7 + .../froala/js/third_party/embedly.min.js | 7 + .../froala/js/third_party/font_awesome.min.js | 7 + .../froala/js/third_party/image_tui.min.js | 7 + .../js/third_party/spell_checker.min.js | 7 + assets/plugins/froala/package.json | 53 + .../jquery.inputmask.date.extensions.js | 488 + .../input-mask/jquery.inputmask.extensions.js | 122 + assets/plugins/input-mask/jquery.inputmask.js | 1627 ++ .../jquery.inputmask.numeric.extensions.js | 177 + .../jquery.inputmask.phone.extensions.js | 50 + .../jquery.inputmask.regex.extensions.js | 169 + .../input-mask/phone-codes/phone-be.json | 45 + .../input-mask/phone-codes/phone-codes.json | 294 + .../plugins/input-mask/phone-codes/readme.txt | 1 + .../ionslider/img/sprite-skin-flat.png | Bin 0 -> 304 bytes .../ionslider/img/sprite-skin-nice.png | Bin 0 -> 694 bytes assets/plugins/ionslider/ion.rangeSlider.css | 149 + .../plugins/ionslider/ion.rangeSlider.min.js | 76 + .../ionslider/ion.rangeSlider.skinFlat.css | 106 + .../ionslider/ion.rangeSlider.skinNice.css | 102 + assets/plugins/jQuery/jquery-2.2.3.min.js | 4 + assets/plugins/jQueryUI/jquery-ui.js | 16617 ++++++++++++++ assets/plugins/jQueryUI/jquery-ui.min.js | 13 + assets/plugins/pace/pace.css | 85 + assets/plugins/pace/pace.js | 935 + assets/plugins/pace/pace.min.css | 1 + assets/plugins/pace/pace.min.js | 2 + assets/plugins/select2/i18n/ar.js | 3 + assets/plugins/select2/i18n/az.js | 3 + assets/plugins/select2/i18n/bg.js | 3 + assets/plugins/select2/i18n/ca.js | 3 + assets/plugins/select2/i18n/cs.js | 3 + assets/plugins/select2/i18n/da.js | 3 + assets/plugins/select2/i18n/de.js | 3 + assets/plugins/select2/i18n/el.js | 3 + assets/plugins/select2/i18n/en.js | 3 + assets/plugins/select2/i18n/es.js | 3 + assets/plugins/select2/i18n/et.js | 3 + assets/plugins/select2/i18n/eu.js | 3 + assets/plugins/select2/i18n/fa.js | 3 + assets/plugins/select2/i18n/fi.js | 3 + assets/plugins/select2/i18n/fr.js | 3 + assets/plugins/select2/i18n/gl.js | 3 + assets/plugins/select2/i18n/he.js | 3 + assets/plugins/select2/i18n/hi.js | 3 + assets/plugins/select2/i18n/hr.js | 3 + assets/plugins/select2/i18n/hu.js | 3 + assets/plugins/select2/i18n/id.js | 3 + assets/plugins/select2/i18n/is.js | 3 + assets/plugins/select2/i18n/it.js | 3 + assets/plugins/select2/i18n/ja.js | 3 + assets/plugins/select2/i18n/km.js | 3 + assets/plugins/select2/i18n/ko.js | 3 + assets/plugins/select2/i18n/lt.js | 3 + assets/plugins/select2/i18n/lv.js | 3 + assets/plugins/select2/i18n/mk.js | 3 + assets/plugins/select2/i18n/ms.js | 3 + assets/plugins/select2/i18n/nb.js | 3 + assets/plugins/select2/i18n/nl.js | 3 + assets/plugins/select2/i18n/pl.js | 3 + assets/plugins/select2/i18n/pt-BR.js | 3 + assets/plugins/select2/i18n/pt.js | 3 + assets/plugins/select2/i18n/ro.js | 3 + assets/plugins/select2/i18n/ru.js | 3 + assets/plugins/select2/i18n/sk.js | 3 + assets/plugins/select2/i18n/sr-Cyrl.js | 3 + assets/plugins/select2/i18n/sr.js | 3 + assets/plugins/select2/i18n/sv.js | 3 + assets/plugins/select2/i18n/th.js | 3 + assets/plugins/select2/i18n/tr.js | 3 + assets/plugins/select2/i18n/uk.js | 3 + assets/plugins/select2/i18n/vi.js | 3 + assets/plugins/select2/i18n/zh-CN.js | 3 + assets/plugins/select2/i18n/zh-TW.js | 3 + assets/plugins/select2/select2.css | 484 + assets/plugins/select2/select2.full.js | 6436 ++++++ assets/plugins/select2/select2.full.min.js | 3 + assets/plugins/select2/select2.js | 5725 +++++ assets/plugins/select2/select2.min.css | 1 + assets/plugins/select2/select2.min.js | 3 + .../plugins/slimScroll/jquery.slimscroll.js | 474 + .../slimScroll/jquery.slimscroll.min.js | 16 + .../timepicker/bootstrap-timepicker.css | 121 + .../timepicker/bootstrap-timepicker.js | 903 + .../timepicker/bootstrap-timepicker.min.css | 10 + .../timepicker/bootstrap-timepicker.min.js | 5 + assets/plugins/toast/jquery.toast.min.css | 135 + assets/plugins/toast/jquery.toast.min.js | 1 + composer.json | 23 + contributing.md | 95 + index.php | 315 + jagajaga.php | 24 + license.txt | 21 + readme.rst | 70 + sekolah.sql | 667 + system/.htaccess | 6 + system/core/Benchmark.php | 133 + system/core/CodeIgniter.php | 559 + system/core/Common.php | 849 + system/core/Config.php | 379 + system/core/Controller.php | 96 + system/core/Exceptions.php | 274 + system/core/Hooks.php | 266 + system/core/Input.php | 895 + system/core/Lang.php | 203 + system/core/Loader.php | 1415 ++ system/core/Log.php | 296 + system/core/Model.php | 76 + system/core/Output.php | 842 + system/core/Router.php | 515 + system/core/Security.php | 1090 + system/core/URI.php | 643 + system/core/Utf8.php | 164 + system/core/compat/hash.php | 254 + system/core/compat/index.html | 11 + system/core/compat/mbstring.php | 149 + system/core/compat/password.php | 251 + system/core/compat/standard.php | 182 + system/core/index.html | 11 + system/database/DB.php | 218 + system/database/DB_cache.php | 221 + system/database/DB_driver.php | 1991 ++ system/database/DB_forge.php | 1030 + system/database/DB_query_builder.php | 2808 +++ system/database/DB_result.php | 665 + system/database/DB_utility.php | 424 + .../database/drivers/cubrid/cubrid_driver.php | 405 + .../database/drivers/cubrid/cubrid_forge.php | 230 + .../database/drivers/cubrid/cubrid_result.php | 177 + .../drivers/cubrid/cubrid_utility.php | 79 + system/database/drivers/cubrid/index.html | 11 + .../database/drivers/ibase/ibase_driver.php | 413 + system/database/drivers/ibase/ibase_forge.php | 251 + .../database/drivers/ibase/ibase_result.php | 161 + .../database/drivers/ibase/ibase_utility.php | 69 + system/database/drivers/ibase/index.html | 11 + system/database/drivers/index.html | 11 + system/database/drivers/mssql/index.html | 11 + .../database/drivers/mssql/mssql_driver.php | 518 + system/database/drivers/mssql/mssql_forge.php | 151 + .../database/drivers/mssql/mssql_result.php | 198 + .../database/drivers/mssql/mssql_utility.php | 77 + system/database/drivers/mysql/index.html | 11 + .../database/drivers/mysql/mysql_driver.php | 494 + system/database/drivers/mysql/mysql_forge.php | 243 + .../database/drivers/mysql/mysql_result.php | 199 + .../database/drivers/mysql/mysql_utility.php | 211 + system/database/drivers/mysqli/index.html | 11 + .../database/drivers/mysqli/mysqli_driver.php | 544 + .../database/drivers/mysqli/mysqli_forge.php | 244 + .../database/drivers/mysqli/mysqli_result.php | 232 + .../drivers/mysqli/mysqli_utility.php | 211 + system/database/drivers/oci8/index.html | 11 + system/database/drivers/oci8/oci8_driver.php | 701 + system/database/drivers/oci8/oci8_forge.php | 187 + system/database/drivers/oci8/oci8_result.php | 229 + system/database/drivers/oci8/oci8_utility.php | 68 + system/database/drivers/odbc/index.html | 11 + system/database/drivers/odbc/odbc_driver.php | 425 + system/database/drivers/odbc/odbc_forge.php | 86 + system/database/drivers/odbc/odbc_result.php | 268 + system/database/drivers/odbc/odbc_utility.php | 63 + system/database/drivers/pdo/index.html | 11 + system/database/drivers/pdo/pdo_driver.php | 329 + system/database/drivers/pdo/pdo_forge.php | 65 + system/database/drivers/pdo/pdo_result.php | 198 + system/database/drivers/pdo/pdo_utility.php | 63 + .../drivers/pdo/subdrivers/index.html | 11 + .../drivers/pdo/subdrivers/pdo_4d_driver.php | 200 + .../drivers/pdo/subdrivers/pdo_4d_forge.php | 217 + .../pdo/subdrivers/pdo_cubrid_driver.php | 209 + .../pdo/subdrivers/pdo_cubrid_forge.php | 230 + .../pdo/subdrivers/pdo_dblib_driver.php | 353 + .../pdo/subdrivers/pdo_dblib_forge.php | 149 + .../pdo/subdrivers/pdo_firebird_driver.php | 279 + .../pdo/subdrivers/pdo_firebird_forge.php | 237 + .../drivers/pdo/subdrivers/pdo_ibm_driver.php | 244 + .../drivers/pdo/subdrivers/pdo_ibm_forge.php | 154 + .../pdo/subdrivers/pdo_informix_driver.php | 309 + .../pdo/subdrivers/pdo_informix_forge.php | 163 + .../pdo/subdrivers/pdo_mysql_driver.php | 374 + .../pdo/subdrivers/pdo_mysql_forge.php | 256 + .../drivers/pdo/subdrivers/pdo_oci_driver.php | 326 + .../drivers/pdo/subdrivers/pdo_oci_forge.php | 176 + .../pdo/subdrivers/pdo_odbc_driver.php | 229 + .../drivers/pdo/subdrivers/pdo_odbc_forge.php | 70 + .../pdo/subdrivers/pdo_pgsql_driver.php | 384 + .../pdo/subdrivers/pdo_pgsql_forge.php | 210 + .../pdo/subdrivers/pdo_sqlite_driver.php | 219 + .../pdo/subdrivers/pdo_sqlite_forge.php | 238 + .../pdo/subdrivers/pdo_sqlsrv_driver.php | 369 + .../pdo/subdrivers/pdo_sqlsrv_forge.php | 149 + system/database/drivers/postgre/index.html | 11 + .../drivers/postgre/postgre_driver.php | 619 + .../drivers/postgre/postgre_forge.php | 205 + .../drivers/postgre/postgre_result.php | 182 + .../drivers/postgre/postgre_utility.php | 78 + system/database/drivers/sqlite/index.html | 11 + .../database/drivers/sqlite/sqlite_driver.php | 330 + .../database/drivers/sqlite/sqlite_forge.php | 205 + .../database/drivers/sqlite/sqlite_result.php | 164 + .../drivers/sqlite/sqlite_utility.php | 61 + system/database/drivers/sqlite3/index.html | 11 + .../drivers/sqlite3/sqlite3_driver.php | 350 + .../drivers/sqlite3/sqlite3_forge.php | 225 + .../drivers/sqlite3/sqlite3_result.php | 194 + .../drivers/sqlite3/sqlite3_utility.php | 61 + system/database/drivers/sqlsrv/index.html | 11 + .../database/drivers/sqlsrv/sqlsrv_driver.php | 543 + .../database/drivers/sqlsrv/sqlsrv_forge.php | 149 + .../database/drivers/sqlsrv/sqlsrv_result.php | 193 + .../drivers/sqlsrv/sqlsrv_utility.php | 77 + system/database/index.html | 11 + system/fonts/index.html | 11 + system/fonts/texb.ttf | Bin 0 -> 143830 bytes system/helpers/array_helper.php | 115 + system/helpers/captcha_helper.php | 341 + system/helpers/cookie_helper.php | 113 + system/helpers/date_helper.php | 742 + system/helpers/directory_helper.php | 101 + system/helpers/download_helper.php | 158 + system/helpers/email_helper.php | 84 + system/helpers/file_helper.php | 453 + system/helpers/form_helper.php | 1055 + system/helpers/html_helper.php | 410 + system/helpers/index.html | 11 + system/helpers/inflector_helper.php | 276 + system/helpers/language_helper.php | 75 + system/helpers/number_helper.php | 94 + system/helpers/path_helper.php | 82 + system/helpers/security_helper.php | 137 + system/helpers/smiley_helper.php | 255 + system/helpers/string_helper.php | 304 + system/helpers/text_helper.php | 567 + system/helpers/typography_helper.php | 104 + system/helpers/url_helper.php | 569 + system/helpers/xml_helper.php | 90 + system/index.html | 11 + system/language/english/calendar_lang.php | 84 + system/language/english/date_lang.php | 94 + system/language/english/db_lang.php | 63 + system/language/english/email_lang.php | 58 + .../language/english/form_validation_lang.php | 68 + system/language/english/ftp_lang.php | 51 + system/language/english/imglib_lang.php | 57 + system/language/english/index.html | 11 + system/language/english/migration_lang.php | 47 + system/language/english/number_lang.php | 44 + system/language/english/pagination_lang.php | 43 + system/language/english/profiler_lang.php | 60 + system/language/english/unit_test_lang.php | 58 + system/language/english/upload_lang.php | 55 + system/language/index.html | 11 + system/libraries/Cache/Cache.php | 255 + system/libraries/Cache/drivers/Cache_apc.php | 217 + .../libraries/Cache/drivers/Cache_dummy.php | 172 + system/libraries/Cache/drivers/Cache_file.php | 286 + .../Cache/drivers/Cache_memcached.php | 313 + .../libraries/Cache/drivers/Cache_redis.php | 328 + .../Cache/drivers/Cache_wincache.php | 217 + system/libraries/Cache/drivers/index.html | 11 + system/libraries/Cache/index.html | 11 + system/libraries/Calendar.php | 546 + system/libraries/Cart.php | 567 + system/libraries/Driver.php | 342 + system/libraries/Email.php | 2490 ++ system/libraries/Encrypt.php | 521 + system/libraries/Encryption.php | 941 + system/libraries/Form_validation.php | 1591 ++ system/libraries/Ftp.php | 667 + system/libraries/Image_lib.php | 1842 ++ system/libraries/Javascript.php | 856 + system/libraries/Javascript/Jquery.php | 1076 + system/libraries/Javascript/index.html | 11 + system/libraries/Migration.php | 477 + system/libraries/Pagination.php | 704 + system/libraries/Parser.php | 248 + system/libraries/Profiler.php | 574 + system/libraries/Session/Session.php | 983 + .../Session/SessionHandlerInterface.php | 59 + system/libraries/Session/Session_driver.php | 208 + .../drivers/Session_database_driver.php | 446 + .../Session/drivers/Session_files_driver.php | 424 + .../drivers/Session_memcached_driver.php | 397 + .../Session/drivers/Session_redis_driver.php | 417 + system/libraries/Session/drivers/index.html | 11 + system/libraries/Session/index.html | 11 + system/libraries/Table.php | 538 + system/libraries/Trackback.php | 556 + system/libraries/Typography.php | 424 + system/libraries/Unit_test.php | 406 + system/libraries/Upload.php | 1326 ++ system/libraries/User_agent.php | 681 + system/libraries/Xmlrpc.php | 1920 ++ system/libraries/Xmlrpcs.php | 619 + system/libraries/Zip.php | 532 + system/libraries/index.html | 11 + tests/Bootstrap.php | 76 + tests/README.md | 226 + tests/mocks/autoloader.php | 119 + tests/mocks/ci_testcase.php | 384 + tests/mocks/ci_testconfig.php | 20 + tests/mocks/core/common.php | 153 + tests/mocks/core/input.php | 49 + tests/mocks/core/security.php | 35 + tests/mocks/core/uri.php | 32 + tests/mocks/core/utf8.php | 19 + tests/mocks/database/ci_test.sqlite | Bin 0 -> 19456 bytes tests/mocks/database/config/mysql.php | 34 + tests/mocks/database/config/mysqli.php | 34 + tests/mocks/database/config/pdo/mysql.php | 37 + tests/mocks/database/config/pdo/pgsql.php | 37 + tests/mocks/database/config/pdo/sqlite.php | 37 + tests/mocks/database/config/pgsql.php | 34 + tests/mocks/database/config/sqlite.php | 34 + tests/mocks/database/db.php | 142 + tests/mocks/database/db/driver.php | 40 + tests/mocks/database/drivers/mysql.php | 16 + tests/mocks/database/drivers/mysqli.php | 16 + tests/mocks/database/drivers/pdo.php | 15 + tests/mocks/database/drivers/postgre.php | 16 + tests/mocks/database/drivers/sqlite.php | 16 + tests/mocks/database/schema/skeleton.php | 155 + tests/mocks/libraries/driver.php | 27 + tests/mocks/libraries/encrypt.php | 16 + tests/mocks/libraries/encryption.php | 39 + tests/mocks/libraries/session.php | 38 + tests/mocks/libraries/table.php | 16 + tests/mocks/uploads/ci_logo.gif | Bin 0 -> 3270 bytes tests/phpunit.xml | 24 + theme/css/animated-masonry-gallery.css | 196 + theme/css/bootstrap.min.css | 6 + theme/css/bootstrap.rtl.min.css | 6 + theme/css/dataTables.bootstrap.css | 187 + theme/css/dataTables.bootstrap.min.css | 1 + theme/css/dataTables.bootstrap4.css | 206 + theme/css/dataTables.bootstrap4.min.css | 1 + theme/css/dataTables.foundation.css | 118 + theme/css/dataTables.foundation.min.css | 1 + theme/css/dataTables.jqueryui.css | 481 + theme/css/dataTables.jqueryui.min.css | 1 + theme/css/dataTables.semanticui.css | 102 + theme/css/dataTables.semanticui.min.css | 1 + theme/css/flexslider.css | 275 + theme/css/font-awesome.min.css | 4 + theme/css/fullcalendar.min.css | 5 + theme/css/jquery.dataTables.css | 448 + theme/css/jquery.dataTables.min.css | 1 + theme/css/jssocials-theme-classic.css | 132 + theme/css/jssocials-theme-flat.css | 109 + theme/css/jssocials-theme-minima.css | 146 + theme/css/jssocials-theme-plain.css | 43 + theme/css/jssocials.css | 58 + theme/css/magnific-popup.css | 351 + theme/css/normalize.css | 1 + theme/css/owl.carousel.min.css | 6 + theme/css/rtl.css | 224 + theme/css/set2.css | 171 + theme/css/simple-line-icons.css | 778 + theme/css/slick-theme.css | 205 + theme/css/slick.css | 117 + theme/css/style.css | 3643 +++ theme/css/style.css.map | 1 + theme/css/style3.css | 1924 ++ theme/fonts/FontAwesome.otf | Bin 0 -> 134808 bytes theme/fonts/Simple-Line-Icons.eot | Bin 0 -> 54266 bytes theme/fonts/Simple-Line-Icons.svg | 200 + theme/fonts/Simple-Line-Icons.ttf | Bin 0 -> 54056 bytes theme/fonts/Simple-Line-Icons.woff | Bin 0 -> 81332 bytes theme/fonts/Simple-Line-Icons.woff2 | Bin 0 -> 30064 bytes theme/fonts/fontawesome-webfont.eot | Bin 0 -> 165742 bytes theme/fonts/fontawesome-webfont.svg | 2671 +++ theme/fonts/fontawesome-webfont.ttf | Bin 0 -> 165548 bytes theme/fonts/fontawesome-webfont.woff | Bin 0 -> 98024 bytes theme/fonts/fontawesome-webfont.woff2 | Bin 0 -> 77160 bytes theme/fonts/slick.eot | Bin 0 -> 2048 bytes theme/fonts/slick.svg | 14 + theme/fonts/slick.ttf | Bin 0 -> 1892 bytes theme/fonts/slick.woff | Bin 0 -> 1380 bytes theme/images/1.png | Bin 0 -> 24742 bytes theme/images/11.png | Bin 0 -> 133771 bytes theme/images/112.png | Bin 0 -> 15800 bytes theme/images/2.png | Bin 0 -> 467122 bytes theme/images/22 (2).png | Bin 0 -> 343757 bytes theme/images/8.png | Bin 0 -> 7549 bytes theme/images/A1.png | Bin 0 -> 20020 bytes theme/images/Shortcode-list.png | Bin 0 -> 1165 bytes theme/images/ajax-loader.gif | Bin 0 -> 4178 bytes theme/images/ak.png | Bin 0 -> 432239 bytes theme/images/announcement-icon.png | Bin 0 -> 21504 bytes theme/images/announcement-iconn.png | Bin 0 -> 10429 bytes theme/images/badge-icon.png | Bin 0 -> 1709 bytes theme/images/chart-icon_1.png | Bin 0 -> 2255 bytes theme/images/chart-icon_2.png | Bin 0 -> 2345 bytes theme/images/chart-icon_3.png | Bin 0 -> 1966 bytes theme/images/chart-icon_4.png | Bin 0 -> 2642 bytes theme/images/discription-icon.png | Bin 0 -> 1244 bytes theme/images/kepala.jpg | Bin 0 -> 23111 bytes theme/images/kepalaa.jpg | Bin 0 -> 232947 bytes theme/images/logo.png | Bin 0 -> 33517 bytes theme/images/logo1.png | Bin 0 -> 1237 bytes theme/images/mitra.png | Bin 0 -> 231531 bytes theme/images/play-btn.png | Bin 0 -> 2891 bytes theme/images/plus-icon.jpg | Bin 0 -> 1551 bytes theme/images/plus-icon.png | Bin 0 -> 1045 bytes theme/images/right-icon.png | Bin 0 -> 1129 bytes theme/images/sort_asc.png | Bin 0 -> 160 bytes theme/images/sort_asc_disabled.png | Bin 0 -> 148 bytes theme/images/sort_both.png | Bin 0 -> 201 bytes theme/images/sort_desc.png | Bin 0 -> 158 bytes theme/images/sort_desc_disabled.png | Bin 0 -> 146 bytes theme/js/admission.js | 127 + theme/js/animated-masonry-gallery.js | 52 + theme/js/bootstrap.min.js | 7 + theme/js/contact.js | 128 + theme/js/counterup.min.js | 8 + theme/js/dataTables.bootstrap.js | 182 + theme/js/dataTables.bootstrap.min.js | 8 + theme/js/dataTables.bootstrap4.js | 184 + theme/js/dataTables.bootstrap4.min.js | 8 + theme/js/dataTables.foundation.js | 174 + theme/js/dataTables.foundation.min.js | 8 + theme/js/dataTables.jqueryui.js | 164 + theme/js/dataTables.jqueryui.min.js | 9 + theme/js/dataTables.semanticui.js | 212 + theme/js/dataTables.semanticui.min.js | 9 + theme/js/fullcalendar.min.js | 10 + theme/js/gcal.min.js | 6 + theme/js/instafeed.min.js | 2 + theme/js/jquery-2.0.2.min.js | 3 + theme/js/jquery-3.3.1.min.js | 2 + theme/js/jquery-3.3.1.min.map | 1 + theme/js/jquery-ui-1.10.4.min.js | 7 + theme/js/jquery.dataTables.js | 15296 +++++++++++++ theme/js/jquery.dataTables.min.js | 166 + theme/js/jquery.flexslider-min.js | 5 + theme/js/jquery.isotope.min.js | 13 + theme/js/jquery.magnific-popup.js | 1860 ++ theme/js/jquery.min.js | 6 + theme/js/jssocials.js | 554 + theme/js/jssocials.min.js | 4 + theme/js/moment.min.js | 7 + theme/js/owl.carousel.min.js | 2 + theme/js/pkgd.js | 12 + theme/js/popper.min.js | 5 + theme/js/script.js | 509 + theme/js/slick.min.js | 18 + theme/js/subscribe.js | 129 + theme/js/tether.min.js | 1 + theme/js/tweetie.min.js | 1 + theme/js/validate.js | 1365 ++ theme/js/video.js | 2137 ++ theme/js/waypoints.min.js | 8 + theme/scss/_nav-menu.scss | 259 + theme/scss/_variables.scss | 18 + theme/scss/style.scss | 4278 ++++ 2015 files changed, 421594 insertions(+) create mode 100644 .htaccess create mode 100644 application/.htaccess create mode 100644 application/cache/index.html create mode 100644 application/config/autoload.php create mode 100644 application/config/config.php create mode 100644 application/config/constants.php create mode 100644 application/config/database.php create mode 100644 application/config/doctypes.php create mode 100644 application/config/foreign_chars.php create mode 100644 application/config/hooks.php create mode 100644 application/config/index.html create mode 100644 application/config/memcached.php create mode 100644 application/config/migration.php create mode 100644 application/config/mimes.php create mode 100644 application/config/profiler.php create mode 100644 application/config/routes.php create mode 100644 application/config/smileys.php create mode 100644 application/config/user_agents.php create mode 100644 application/controllers/Agenda.php create mode 100644 application/controllers/Blog.php create mode 100644 application/controllers/Contact.php create mode 100644 application/controllers/Download.php create mode 100644 application/controllers/Galeri.php create mode 100644 application/controllers/Guru.php create mode 100644 application/controllers/Home.php create mode 100644 application/controllers/Pengumuman.php create mode 100644 application/controllers/Profil.php create mode 100644 application/controllers/Sejarah.php create mode 100644 application/controllers/Staptu.php create mode 100644 application/controllers/Visimisi.php create mode 100644 application/controllers/Welcome.php create mode 100644 application/controllers/admin/Album.php create mode 100644 application/controllers/admin/Dashboard.php create mode 100644 application/controllers/admin/Files.php create mode 100644 application/controllers/admin/Galeri.php create mode 100644 application/controllers/admin/Guru.php create mode 100644 application/controllers/admin/Inbox.php create mode 100644 application/controllers/admin/Kategori.php create mode 100644 application/controllers/admin/Komentar.php create mode 100644 application/controllers/admin/Login.php create mode 100644 application/controllers/admin/Misi.php create mode 100644 application/controllers/admin/Pengguna.php create mode 100644 application/controllers/admin/Pengumuman.php create mode 100644 application/controllers/admin/Sejarah.php create mode 100644 application/controllers/admin/Staptu.php create mode 100644 application/controllers/admin/Tulisan.php create mode 100644 application/controllers/admin/Visi.php create mode 100644 application/controllers/elearning/Home.php create mode 100644 application/controllers/elearning/Login.php create mode 100644 application/controllers/elearning/Pelajaran.php create mode 100644 application/controllers/elearning/Upload.php create mode 100644 application/controllers/index.html create mode 100644 application/core/index.html create mode 100644 application/helpers/font/courier.php create mode 100644 application/helpers/font/courierb.php create mode 100644 application/helpers/font/courierbi.php create mode 100644 application/helpers/font/courieri.php create mode 100644 application/helpers/font/helvetica.php create mode 100644 application/helpers/font/helveticab.php create mode 100644 application/helpers/font/helveticabi.php create mode 100644 application/helpers/font/helveticai.php create mode 100644 application/helpers/font/symbol.php create mode 100644 application/helpers/font/times.php create mode 100644 application/helpers/font/timesb.php create mode 100644 application/helpers/font/timesbi.php create mode 100644 application/helpers/font/timesi.php create mode 100644 application/helpers/font/zapfdingbats.php create mode 100644 application/helpers/fpdf.css create mode 100644 application/helpers/fpdf.php create mode 100644 application/helpers/index.html create mode 100644 application/helpers/print_rekap_helper.php create mode 100644 application/hooks/index.html create mode 100644 application/index.html create mode 100644 application/language/english/index.html create mode 100644 application/language/index.html create mode 100644 application/libraries/Googlemaps.php create mode 100644 application/libraries/Jsmin.php create mode 100644 application/libraries/PHPMailerAutoload.php create mode 100644 application/libraries/class.phpmailer.php create mode 100644 application/libraries/class.smtp.php create mode 100644 application/libraries/fpdf/font/courier.php create mode 100644 application/libraries/fpdf/font/courierb.php create mode 100644 application/libraries/fpdf/font/courierbi.php create mode 100644 application/libraries/fpdf/font/courieri.php create mode 100644 application/libraries/fpdf/font/desktop.ini create mode 100644 application/libraries/fpdf/font/helvetica.php create mode 100644 application/libraries/fpdf/font/helveticab.php create mode 100644 application/libraries/fpdf/font/helveticabi.php create mode 100644 application/libraries/fpdf/font/helveticai.php create mode 100644 application/libraries/fpdf/font/makefont/cp1250.map create mode 100644 application/libraries/fpdf/font/makefont/cp1251.map create mode 100644 application/libraries/fpdf/font/makefont/cp1252.map create mode 100644 application/libraries/fpdf/font/makefont/cp1253.map create mode 100644 application/libraries/fpdf/font/makefont/cp1254.map create mode 100644 application/libraries/fpdf/font/makefont/cp1255.map create mode 100644 application/libraries/fpdf/font/makefont/cp1257.map create mode 100644 application/libraries/fpdf/font/makefont/cp1258.map create mode 100644 application/libraries/fpdf/font/makefont/cp874.map create mode 100644 application/libraries/fpdf/font/makefont/iso-8859-1.map create mode 100644 application/libraries/fpdf/font/makefont/iso-8859-11.map create mode 100644 application/libraries/fpdf/font/makefont/iso-8859-15.map create mode 100644 application/libraries/fpdf/font/makefont/iso-8859-16.map create mode 100644 application/libraries/fpdf/font/makefont/iso-8859-2.map create mode 100644 application/libraries/fpdf/font/makefont/iso-8859-4.map create mode 100644 application/libraries/fpdf/font/makefont/iso-8859-5.map create mode 100644 application/libraries/fpdf/font/makefont/iso-8859-7.map create mode 100644 application/libraries/fpdf/font/makefont/iso-8859-9.map create mode 100644 application/libraries/fpdf/font/makefont/koi8-r.map create mode 100644 application/libraries/fpdf/font/makefont/koi8-u.map create mode 100644 application/libraries/fpdf/font/makefont/makefont.php create mode 100644 application/libraries/fpdf/font/symbol.php create mode 100644 application/libraries/fpdf/font/times.php create mode 100644 application/libraries/fpdf/font/timesb.php create mode 100644 application/libraries/fpdf/font/timesbi.php create mode 100644 application/libraries/fpdf/font/timesi.php create mode 100644 application/libraries/fpdf/font/zapfdingbats.php create mode 100644 application/libraries/fpdf/fpdf.css create mode 100644 application/libraries/fpdf/fpdf.php create mode 100644 application/libraries/fpdf/makefont/cp1250.map create mode 100644 application/libraries/fpdf/makefont/cp1251.map create mode 100644 application/libraries/fpdf/makefont/cp1252.map create mode 100644 application/libraries/fpdf/makefont/cp1253.map create mode 100644 application/libraries/fpdf/makefont/cp1254.map create mode 100644 application/libraries/fpdf/makefont/cp1255.map create mode 100644 application/libraries/fpdf/makefont/cp1257.map create mode 100644 application/libraries/fpdf/makefont/cp1258.map create mode 100644 application/libraries/fpdf/makefont/cp874.map create mode 100644 application/libraries/fpdf/makefont/iso-8859-1.map create mode 100644 application/libraries/fpdf/makefont/iso-8859-11.map create mode 100644 application/libraries/fpdf/makefont/iso-8859-15.map create mode 100644 application/libraries/fpdf/makefont/iso-8859-16.map create mode 100644 application/libraries/fpdf/makefont/iso-8859-2.map create mode 100644 application/libraries/fpdf/makefont/iso-8859-4.map create mode 100644 application/libraries/fpdf/makefont/iso-8859-5.map create mode 100644 application/libraries/fpdf/makefont/iso-8859-7.map create mode 100644 application/libraries/fpdf/makefont/iso-8859-9.map create mode 100644 application/libraries/fpdf/makefont/koi8-r.map create mode 100644 application/libraries/fpdf/makefont/koi8-u.map create mode 100644 application/libraries/fpdf/makefont/makefont.php create mode 100644 application/libraries/fpdf/makefont/ttfparser.php create mode 100644 application/libraries/index.html create mode 100644 application/logs/index.html create mode 100644 application/logs/log-2020-05-14.php create mode 100644 application/logs/log-2020-05-15.php create mode 100644 application/logs/log-2020-05-16.php create mode 100644 application/logs/log-2020-05-17.php create mode 100644 application/models/M_album.php create mode 100644 application/models/M_files.php create mode 100644 application/models/M_galeri.php create mode 100644 application/models/M_guru.php create mode 100644 application/models/M_kategori.php create mode 100644 application/models/M_kontak.php create mode 100644 application/models/M_login.php create mode 100644 application/models/M_materi.php create mode 100644 application/models/M_misi.php create mode 100644 application/models/M_pengguna.php create mode 100644 application/models/M_pengumuman.php create mode 100644 application/models/M_pengunjung.php create mode 100644 application/models/M_sejarah.php create mode 100644 application/models/M_siswa.php create mode 100644 application/models/M_staptu.php create mode 100644 application/models/M_tulisan.php create mode 100644 application/models/M_visi.php create mode 100644 application/models/index.html create mode 100644 application/third_party/index.html create mode 100644 application/views/admin/v_add_tulisan.php create mode 100644 application/views/admin/v_album.php create mode 100644 application/views/admin/v_dashboard.php create mode 100644 application/views/admin/v_edit_tulisan.php create mode 100644 application/views/admin/v_files.php create mode 100644 application/views/admin/v_galeri.php create mode 100644 application/views/admin/v_guru.php create mode 100644 application/views/admin/v_header.php create mode 100644 application/views/admin/v_inbox.php create mode 100644 application/views/admin/v_kategori.php create mode 100644 application/views/admin/v_komentar.php create mode 100644 application/views/admin/v_login.php create mode 100644 application/views/admin/v_misi.php create mode 100644 application/views/admin/v_pengguna.php create mode 100644 application/views/admin/v_pengumuman.php create mode 100644 application/views/admin/v_sejarah.php create mode 100644 application/views/admin/v_staptu.php create mode 100644 application/views/admin/v_tulisan.php create mode 100644 application/views/admin/v_visi.php create mode 100644 application/views/depan/index.html create mode 100644 application/views/depan/v_agenda.php create mode 100644 application/views/depan/v_blog.php create mode 100644 application/views/depan/v_blog_detail.php create mode 100644 application/views/depan/v_contact.php create mode 100644 application/views/depan/v_download.php create mode 100644 application/views/depan/v_galeri.php create mode 100644 application/views/depan/v_galeri_per_album.php create mode 100644 application/views/depan/v_guru.php create mode 100644 application/views/depan/v_home.php create mode 100644 application/views/depan/v_pengumuman.php create mode 100644 application/views/depan/v_sejarah.php create mode 100644 application/views/depan/v_staptu.php create mode 100644 application/views/depan/v_visimisi.php create mode 100644 application/views/elearning/v_home_guru.php create mode 100644 application/views/elearning/v_home_siswa.php create mode 100644 application/views/elearning/v_login.php create mode 100644 application/views/elearning/v_pelajaran.php create mode 100644 application/views/elearning/v_upload.php create mode 100644 application/views/errors/cli/error_404.php create mode 100644 application/views/errors/cli/error_db.php create mode 100644 application/views/errors/cli/error_exception.php create mode 100644 application/views/errors/cli/error_general.php create mode 100644 application/views/errors/cli/error_php.php create mode 100644 application/views/errors/cli/index.html create mode 100644 application/views/errors/html/error_404.php create mode 100644 application/views/errors/html/error_db.php create mode 100644 application/views/errors/html/error_exception.php create mode 100644 application/views/errors/html/error_general.php create mode 100644 application/views/errors/html/error_php.php create mode 100644 application/views/errors/html/index.html create mode 100644 application/views/errors/index.html create mode 100644 application/views/index.html create mode 100644 application/views/welcome_message.php create mode 100644 assets/bootstrap/css/bootstrap-theme.css create mode 100644 assets/bootstrap/css/bootstrap-theme.css.map create mode 100644 assets/bootstrap/css/bootstrap-theme.min.css create mode 100644 assets/bootstrap/css/bootstrap-theme.min.css.map create mode 100644 assets/bootstrap/css/bootstrap.css create mode 100644 assets/bootstrap/css/bootstrap.css.map create mode 100644 assets/bootstrap/css/bootstrap.min.css create mode 100644 assets/bootstrap/css/bootstrap.min.css.map create mode 100644 assets/bootstrap/fonts/glyphicons-halflings-regular.eot create mode 100644 assets/bootstrap/fonts/glyphicons-halflings-regular.svg create mode 100644 assets/bootstrap/fonts/glyphicons-halflings-regular.ttf create mode 100644 assets/bootstrap/fonts/glyphicons-halflings-regular.woff create mode 100644 assets/bootstrap/fonts/glyphicons-halflings-regular.woff2 create mode 100644 assets/bootstrap/js/bootstrap.js create mode 100644 assets/bootstrap/js/bootstrap.min.js create mode 100644 assets/bootstrap/js/npm.js create mode 100644 assets/build/bootstrap-less/mixins.less create mode 100644 assets/build/bootstrap-less/mixins/alerts.less create mode 100644 assets/build/bootstrap-less/mixins/background-variant.less create mode 100644 assets/build/bootstrap-less/mixins/border-radius.less create mode 100644 assets/build/bootstrap-less/mixins/buttons.less create mode 100644 assets/build/bootstrap-less/mixins/center-block.less create mode 100644 assets/build/bootstrap-less/mixins/clearfix.less create mode 100644 assets/build/bootstrap-less/mixins/forms.less create mode 100644 assets/build/bootstrap-less/mixins/gradients.less create mode 100644 assets/build/bootstrap-less/mixins/grid-framework.less create mode 100644 assets/build/bootstrap-less/mixins/grid.less create mode 100644 assets/build/bootstrap-less/mixins/hide-text.less create mode 100644 assets/build/bootstrap-less/mixins/image.less create mode 100644 assets/build/bootstrap-less/mixins/labels.less create mode 100644 assets/build/bootstrap-less/mixins/list-group.less create mode 100644 assets/build/bootstrap-less/mixins/nav-divider.less create mode 100644 assets/build/bootstrap-less/mixins/nav-vertical-align.less create mode 100644 assets/build/bootstrap-less/mixins/opacity.less create mode 100644 assets/build/bootstrap-less/mixins/pagination.less create mode 100644 assets/build/bootstrap-less/mixins/panels.less create mode 100644 assets/build/bootstrap-less/mixins/progress-bar.less create mode 100644 assets/build/bootstrap-less/mixins/reset-filter.less create mode 100644 assets/build/bootstrap-less/mixins/reset-text.less create mode 100644 assets/build/bootstrap-less/mixins/resize.less create mode 100644 assets/build/bootstrap-less/mixins/responsive-visibility.less create mode 100644 assets/build/bootstrap-less/mixins/size.less create mode 100644 assets/build/bootstrap-less/mixins/tab-focus.less create mode 100644 assets/build/bootstrap-less/mixins/table-row.less create mode 100644 assets/build/bootstrap-less/mixins/text-emphasis.less create mode 100644 assets/build/bootstrap-less/mixins/text-overflow.less create mode 100644 assets/build/bootstrap-less/mixins/vendor-prefixes.less create mode 100644 assets/build/bootstrap-less/variables.less create mode 100644 assets/build/less/.csslintrc create mode 100644 assets/build/less/404_500_errors.less create mode 100644 assets/build/less/AdminLTE.less create mode 100644 assets/build/less/alerts.less create mode 100644 assets/build/less/bootstrap-social.less create mode 100644 assets/build/less/boxes.less create mode 100644 assets/build/less/buttons.less create mode 100644 assets/build/less/callout.less create mode 100644 assets/build/less/carousel.less create mode 100644 assets/build/less/control-sidebar.less create mode 100644 assets/build/less/core.less create mode 100644 assets/build/less/direct-chat.less create mode 100644 assets/build/less/dropdown.less create mode 100644 assets/build/less/forms.less create mode 100644 assets/build/less/fullcalendar.less create mode 100644 assets/build/less/header.less create mode 100644 assets/build/less/info-box.less create mode 100644 assets/build/less/invoice.less create mode 100644 assets/build/less/labels.less create mode 100644 assets/build/less/lockscreen.less create mode 100644 assets/build/less/login_and_register.less create mode 100644 assets/build/less/mailbox.less create mode 100644 assets/build/less/miscellaneous.less create mode 100644 assets/build/less/mixins.less create mode 100644 assets/build/less/modal.less create mode 100644 assets/build/less/navs.less create mode 100644 assets/build/less/print.less create mode 100644 assets/build/less/products.less create mode 100644 assets/build/less/profile.less create mode 100644 assets/build/less/progress-bars.less create mode 100644 assets/build/less/select2.less create mode 100644 assets/build/less/sidebar-mini.less create mode 100644 assets/build/less/sidebar.less create mode 100644 assets/build/less/skins/_all-skins.less create mode 100644 assets/build/less/skins/skin-black-light.less create mode 100644 assets/build/less/skins/skin-black.less create mode 100644 assets/build/less/skins/skin-blue-light.less create mode 100644 assets/build/less/skins/skin-blue.less create mode 100644 assets/build/less/skins/skin-green-light.less create mode 100644 assets/build/less/skins/skin-green.less create mode 100644 assets/build/less/skins/skin-purple-light.less create mode 100644 assets/build/less/skins/skin-purple.less create mode 100644 assets/build/less/skins/skin-red-light.less create mode 100644 assets/build/less/skins/skin-red.less create mode 100644 assets/build/less/skins/skin-yellow-light.less create mode 100644 assets/build/less/skins/skin-yellow.less create mode 100644 assets/build/less/small-box.less create mode 100644 assets/build/less/social-widgets.less create mode 100644 assets/build/less/table.less create mode 100644 assets/build/less/timeline.less create mode 100644 assets/build/less/users-list.less create mode 100644 assets/build/less/variables.less create mode 100644 assets/ckeditor/LICENSE.md create mode 100644 assets/ckeditor/adapters/jquery.js create mode 100644 assets/ckeditor/build-config.js create mode 100644 assets/ckeditor/ckeditor.js create mode 100644 assets/ckeditor/config.js create mode 100644 assets/ckeditor/contents.css create mode 100644 assets/ckeditor/lang/af.js create mode 100644 assets/ckeditor/lang/ar.js create mode 100644 assets/ckeditor/lang/az.js create mode 100644 assets/ckeditor/lang/bg.js create mode 100644 assets/ckeditor/lang/bn.js create mode 100644 assets/ckeditor/lang/bs.js create mode 100644 assets/ckeditor/lang/ca.js create mode 100644 assets/ckeditor/lang/cs.js create mode 100644 assets/ckeditor/lang/cy.js create mode 100644 assets/ckeditor/lang/da.js create mode 100644 assets/ckeditor/lang/de-ch.js create mode 100644 assets/ckeditor/lang/de.js create mode 100644 assets/ckeditor/lang/el.js create mode 100644 assets/ckeditor/lang/en-au.js create mode 100644 assets/ckeditor/lang/en-ca.js create mode 100644 assets/ckeditor/lang/en-gb.js create mode 100644 assets/ckeditor/lang/en.js create mode 100644 assets/ckeditor/lang/eo.js create mode 100644 assets/ckeditor/lang/es.js create mode 100644 assets/ckeditor/lang/et.js create mode 100644 assets/ckeditor/lang/eu.js create mode 100644 assets/ckeditor/lang/fa.js create mode 100644 assets/ckeditor/lang/fi.js create mode 100644 assets/ckeditor/lang/fo.js create mode 100644 assets/ckeditor/lang/fr-ca.js create mode 100644 assets/ckeditor/lang/fr.js create mode 100644 assets/ckeditor/lang/gl.js create mode 100644 assets/ckeditor/lang/gu.js create mode 100644 assets/ckeditor/lang/he.js create mode 100644 assets/ckeditor/lang/hi.js create mode 100644 assets/ckeditor/lang/hr.js create mode 100644 assets/ckeditor/lang/hu.js create mode 100644 assets/ckeditor/lang/id.js create mode 100644 assets/ckeditor/lang/is.js create mode 100644 assets/ckeditor/lang/it.js create mode 100644 assets/ckeditor/lang/ja.js create mode 100644 assets/ckeditor/lang/ka.js create mode 100644 assets/ckeditor/lang/km.js create mode 100644 assets/ckeditor/lang/ko.js create mode 100644 assets/ckeditor/lang/ku.js create mode 100644 assets/ckeditor/lang/lt.js create mode 100644 assets/ckeditor/lang/lv.js create mode 100644 assets/ckeditor/lang/mk.js create mode 100644 assets/ckeditor/lang/mn.js create mode 100644 assets/ckeditor/lang/ms.js create mode 100644 assets/ckeditor/lang/nb.js create mode 100644 assets/ckeditor/lang/nl.js create mode 100644 assets/ckeditor/lang/no.js create mode 100644 assets/ckeditor/lang/oc.js create mode 100644 assets/ckeditor/lang/pl.js create mode 100644 assets/ckeditor/lang/pt-br.js create mode 100644 assets/ckeditor/lang/pt.js create mode 100644 assets/ckeditor/lang/ro.js create mode 100644 assets/ckeditor/lang/ru.js create mode 100644 assets/ckeditor/lang/si.js create mode 100644 assets/ckeditor/lang/sk.js create mode 100644 assets/ckeditor/lang/sl.js create mode 100644 assets/ckeditor/lang/sq.js create mode 100644 assets/ckeditor/lang/sr-latn.js create mode 100644 assets/ckeditor/lang/sr.js create mode 100644 assets/ckeditor/lang/sv.js create mode 100644 assets/ckeditor/lang/th.js create mode 100644 assets/ckeditor/lang/tr.js create mode 100644 assets/ckeditor/lang/tt.js create mode 100644 assets/ckeditor/lang/ug.js create mode 100644 assets/ckeditor/lang/uk.js create mode 100644 assets/ckeditor/lang/vi.js create mode 100644 assets/ckeditor/lang/zh-cn.js create mode 100644 assets/ckeditor/lang/zh.js create mode 100644 assets/ckeditor/plugins/a11yhelp/dialogs/a11yhelp.js create mode 100644 assets/ckeditor/plugins/a11yhelp/dialogs/lang/_translationstatus.txt create mode 100644 assets/ckeditor/plugins/a11yhelp/dialogs/lang/af.js create mode 100644 assets/ckeditor/plugins/a11yhelp/dialogs/lang/ar.js create mode 100644 assets/ckeditor/plugins/a11yhelp/dialogs/lang/az.js create mode 100644 assets/ckeditor/plugins/a11yhelp/dialogs/lang/bg.js create mode 100644 assets/ckeditor/plugins/a11yhelp/dialogs/lang/ca.js create mode 100644 assets/ckeditor/plugins/a11yhelp/dialogs/lang/cs.js create mode 100644 assets/ckeditor/plugins/a11yhelp/dialogs/lang/cy.js create mode 100644 assets/ckeditor/plugins/a11yhelp/dialogs/lang/da.js create mode 100644 assets/ckeditor/plugins/a11yhelp/dialogs/lang/de-ch.js create mode 100644 assets/ckeditor/plugins/a11yhelp/dialogs/lang/de.js create mode 100644 assets/ckeditor/plugins/a11yhelp/dialogs/lang/el.js create mode 100644 assets/ckeditor/plugins/a11yhelp/dialogs/lang/en-gb.js create mode 100644 assets/ckeditor/plugins/a11yhelp/dialogs/lang/en.js create mode 100644 assets/ckeditor/plugins/a11yhelp/dialogs/lang/eo.js create mode 100644 assets/ckeditor/plugins/a11yhelp/dialogs/lang/es.js create mode 100644 assets/ckeditor/plugins/a11yhelp/dialogs/lang/et.js create mode 100644 assets/ckeditor/plugins/a11yhelp/dialogs/lang/eu.js create mode 100644 assets/ckeditor/plugins/a11yhelp/dialogs/lang/fa.js create mode 100644 assets/ckeditor/plugins/a11yhelp/dialogs/lang/fi.js create mode 100644 assets/ckeditor/plugins/a11yhelp/dialogs/lang/fo.js create mode 100644 assets/ckeditor/plugins/a11yhelp/dialogs/lang/fr-ca.js create mode 100644 assets/ckeditor/plugins/a11yhelp/dialogs/lang/fr.js create mode 100644 assets/ckeditor/plugins/a11yhelp/dialogs/lang/gl.js create mode 100644 assets/ckeditor/plugins/a11yhelp/dialogs/lang/gu.js create mode 100644 assets/ckeditor/plugins/a11yhelp/dialogs/lang/he.js create mode 100644 assets/ckeditor/plugins/a11yhelp/dialogs/lang/hi.js create mode 100644 assets/ckeditor/plugins/a11yhelp/dialogs/lang/hr.js create mode 100644 assets/ckeditor/plugins/a11yhelp/dialogs/lang/hu.js create mode 100644 assets/ckeditor/plugins/a11yhelp/dialogs/lang/id.js create mode 100644 assets/ckeditor/plugins/a11yhelp/dialogs/lang/it.js create mode 100644 assets/ckeditor/plugins/a11yhelp/dialogs/lang/ja.js create mode 100644 assets/ckeditor/plugins/a11yhelp/dialogs/lang/km.js create mode 100644 assets/ckeditor/plugins/a11yhelp/dialogs/lang/ko.js create mode 100644 assets/ckeditor/plugins/a11yhelp/dialogs/lang/ku.js create mode 100644 assets/ckeditor/plugins/a11yhelp/dialogs/lang/lt.js create mode 100644 assets/ckeditor/plugins/a11yhelp/dialogs/lang/lv.js create mode 100644 assets/ckeditor/plugins/a11yhelp/dialogs/lang/mk.js create mode 100644 assets/ckeditor/plugins/a11yhelp/dialogs/lang/mn.js create mode 100644 assets/ckeditor/plugins/a11yhelp/dialogs/lang/nb.js create mode 100644 assets/ckeditor/plugins/a11yhelp/dialogs/lang/nl.js create mode 100644 assets/ckeditor/plugins/a11yhelp/dialogs/lang/no.js create mode 100644 assets/ckeditor/plugins/a11yhelp/dialogs/lang/oc.js create mode 100644 assets/ckeditor/plugins/a11yhelp/dialogs/lang/pl.js create mode 100644 assets/ckeditor/plugins/a11yhelp/dialogs/lang/pt-br.js create mode 100644 assets/ckeditor/plugins/a11yhelp/dialogs/lang/pt.js create mode 100644 assets/ckeditor/plugins/a11yhelp/dialogs/lang/ro.js create mode 100644 assets/ckeditor/plugins/a11yhelp/dialogs/lang/ru.js create mode 100644 assets/ckeditor/plugins/a11yhelp/dialogs/lang/si.js create mode 100644 assets/ckeditor/plugins/a11yhelp/dialogs/lang/sk.js create mode 100644 assets/ckeditor/plugins/a11yhelp/dialogs/lang/sl.js create mode 100644 assets/ckeditor/plugins/a11yhelp/dialogs/lang/sq.js create mode 100644 assets/ckeditor/plugins/a11yhelp/dialogs/lang/sr-latn.js create mode 100644 assets/ckeditor/plugins/a11yhelp/dialogs/lang/sr.js create mode 100644 assets/ckeditor/plugins/a11yhelp/dialogs/lang/sv.js create mode 100644 assets/ckeditor/plugins/a11yhelp/dialogs/lang/th.js create mode 100644 assets/ckeditor/plugins/a11yhelp/dialogs/lang/tr.js create mode 100644 assets/ckeditor/plugins/a11yhelp/dialogs/lang/tt.js create mode 100644 assets/ckeditor/plugins/a11yhelp/dialogs/lang/ug.js create mode 100644 assets/ckeditor/plugins/a11yhelp/dialogs/lang/uk.js create mode 100644 assets/ckeditor/plugins/a11yhelp/dialogs/lang/vi.js create mode 100644 assets/ckeditor/plugins/a11yhelp/dialogs/lang/zh-cn.js create mode 100644 assets/ckeditor/plugins/a11yhelp/dialogs/lang/zh.js create mode 100644 assets/ckeditor/plugins/about/dialogs/about.js create mode 100644 assets/ckeditor/plugins/about/dialogs/hidpi/logo_ckeditor.png create mode 100644 assets/ckeditor/plugins/about/dialogs/logo_ckeditor.png create mode 100644 assets/ckeditor/plugins/clipboard/dialogs/paste.js create mode 100644 assets/ckeditor/plugins/dialog/dialogDefinition.js create mode 100644 assets/ckeditor/plugins/icons.png create mode 100644 assets/ckeditor/plugins/icons_hidpi.png create mode 100644 assets/ckeditor/plugins/image/dialogs/image.js create mode 100644 assets/ckeditor/plugins/image/images/noimage.png create mode 100644 assets/ckeditor/plugins/link/dialogs/anchor.js create mode 100644 assets/ckeditor/plugins/link/dialogs/link.js create mode 100644 assets/ckeditor/plugins/link/images/anchor.png create mode 100644 assets/ckeditor/plugins/link/images/hidpi/anchor.png create mode 100644 assets/ckeditor/plugins/magicline/images/hidpi/icon-rtl.png create mode 100644 assets/ckeditor/plugins/magicline/images/hidpi/icon.png create mode 100644 assets/ckeditor/plugins/magicline/images/icon-rtl.png create mode 100644 assets/ckeditor/plugins/magicline/images/icon.png create mode 100644 assets/ckeditor/plugins/pastefromword/filter/default.js create mode 100644 assets/ckeditor/plugins/scayt/CHANGELOG.md create mode 100644 assets/ckeditor/plugins/scayt/LICENSE.md create mode 100644 assets/ckeditor/plugins/scayt/README.md create mode 100644 assets/ckeditor/plugins/scayt/dialogs/options.js create mode 100644 assets/ckeditor/plugins/scayt/dialogs/toolbar.css create mode 100644 assets/ckeditor/plugins/scayt/skins/moono-lisa/scayt.css create mode 100644 assets/ckeditor/plugins/specialchar/dialogs/lang/_translationstatus.txt create mode 100644 assets/ckeditor/plugins/specialchar/dialogs/lang/af.js create mode 100644 assets/ckeditor/plugins/specialchar/dialogs/lang/ar.js create mode 100644 assets/ckeditor/plugins/specialchar/dialogs/lang/az.js create mode 100644 assets/ckeditor/plugins/specialchar/dialogs/lang/bg.js create mode 100644 assets/ckeditor/plugins/specialchar/dialogs/lang/ca.js create mode 100644 assets/ckeditor/plugins/specialchar/dialogs/lang/cs.js create mode 100644 assets/ckeditor/plugins/specialchar/dialogs/lang/cy.js create mode 100644 assets/ckeditor/plugins/specialchar/dialogs/lang/da.js create mode 100644 assets/ckeditor/plugins/specialchar/dialogs/lang/de-ch.js create mode 100644 assets/ckeditor/plugins/specialchar/dialogs/lang/de.js create mode 100644 assets/ckeditor/plugins/specialchar/dialogs/lang/el.js create mode 100644 assets/ckeditor/plugins/specialchar/dialogs/lang/en-gb.js create mode 100644 assets/ckeditor/plugins/specialchar/dialogs/lang/en.js create mode 100644 assets/ckeditor/plugins/specialchar/dialogs/lang/eo.js create mode 100644 assets/ckeditor/plugins/specialchar/dialogs/lang/es.js create mode 100644 assets/ckeditor/plugins/specialchar/dialogs/lang/et.js create mode 100644 assets/ckeditor/plugins/specialchar/dialogs/lang/eu.js create mode 100644 assets/ckeditor/plugins/specialchar/dialogs/lang/fa.js create mode 100644 assets/ckeditor/plugins/specialchar/dialogs/lang/fi.js create mode 100644 assets/ckeditor/plugins/specialchar/dialogs/lang/fr-ca.js create mode 100644 assets/ckeditor/plugins/specialchar/dialogs/lang/fr.js create mode 100644 assets/ckeditor/plugins/specialchar/dialogs/lang/gl.js create mode 100644 assets/ckeditor/plugins/specialchar/dialogs/lang/he.js create mode 100644 assets/ckeditor/plugins/specialchar/dialogs/lang/hr.js create mode 100644 assets/ckeditor/plugins/specialchar/dialogs/lang/hu.js create mode 100644 assets/ckeditor/plugins/specialchar/dialogs/lang/id.js create mode 100644 assets/ckeditor/plugins/specialchar/dialogs/lang/it.js create mode 100644 assets/ckeditor/plugins/specialchar/dialogs/lang/ja.js create mode 100644 assets/ckeditor/plugins/specialchar/dialogs/lang/km.js create mode 100644 assets/ckeditor/plugins/specialchar/dialogs/lang/ko.js create mode 100644 assets/ckeditor/plugins/specialchar/dialogs/lang/ku.js create mode 100644 assets/ckeditor/plugins/specialchar/dialogs/lang/lt.js create mode 100644 assets/ckeditor/plugins/specialchar/dialogs/lang/lv.js create mode 100644 assets/ckeditor/plugins/specialchar/dialogs/lang/nb.js create mode 100644 assets/ckeditor/plugins/specialchar/dialogs/lang/nl.js create mode 100644 assets/ckeditor/plugins/specialchar/dialogs/lang/no.js create mode 100644 assets/ckeditor/plugins/specialchar/dialogs/lang/oc.js create mode 100644 assets/ckeditor/plugins/specialchar/dialogs/lang/pl.js create mode 100644 assets/ckeditor/plugins/specialchar/dialogs/lang/pt-br.js create mode 100644 assets/ckeditor/plugins/specialchar/dialogs/lang/pt.js create mode 100644 assets/ckeditor/plugins/specialchar/dialogs/lang/ru.js create mode 100644 assets/ckeditor/plugins/specialchar/dialogs/lang/si.js create mode 100644 assets/ckeditor/plugins/specialchar/dialogs/lang/sk.js create mode 100644 assets/ckeditor/plugins/specialchar/dialogs/lang/sl.js create mode 100644 assets/ckeditor/plugins/specialchar/dialogs/lang/sq.js create mode 100644 assets/ckeditor/plugins/specialchar/dialogs/lang/sv.js create mode 100644 assets/ckeditor/plugins/specialchar/dialogs/lang/th.js create mode 100644 assets/ckeditor/plugins/specialchar/dialogs/lang/tr.js create mode 100644 assets/ckeditor/plugins/specialchar/dialogs/lang/tt.js create mode 100644 assets/ckeditor/plugins/specialchar/dialogs/lang/ug.js create mode 100644 assets/ckeditor/plugins/specialchar/dialogs/lang/uk.js create mode 100644 assets/ckeditor/plugins/specialchar/dialogs/lang/vi.js create mode 100644 assets/ckeditor/plugins/specialchar/dialogs/lang/zh-cn.js create mode 100644 assets/ckeditor/plugins/specialchar/dialogs/lang/zh.js create mode 100644 assets/ckeditor/plugins/specialchar/dialogs/specialchar.js create mode 100644 assets/ckeditor/plugins/table/dialogs/table.js create mode 100644 assets/ckeditor/plugins/tabletools/dialogs/tableCell.js create mode 100644 assets/ckeditor/plugins/wsc/LICENSE.md create mode 100644 assets/ckeditor/plugins/wsc/README.md create mode 100644 assets/ckeditor/plugins/wsc/dialogs/ciframe.html create mode 100644 assets/ckeditor/plugins/wsc/dialogs/tmpFrameset.html create mode 100644 assets/ckeditor/plugins/wsc/dialogs/wsc.css create mode 100644 assets/ckeditor/plugins/wsc/dialogs/wsc.js create mode 100644 assets/ckeditor/plugins/wsc/dialogs/wsc_ie.js create mode 100644 assets/ckeditor/plugins/wsc/skins/moono-lisa/wsc.css create mode 100644 assets/ckeditor/skins/moono-lisa/dialog.css create mode 100644 assets/ckeditor/skins/moono-lisa/dialog_ie.css create mode 100644 assets/ckeditor/skins/moono-lisa/dialog_ie8.css create mode 100644 assets/ckeditor/skins/moono-lisa/dialog_iequirks.css create mode 100644 assets/ckeditor/skins/moono-lisa/editor.css create mode 100644 assets/ckeditor/skins/moono-lisa/editor_gecko.css create mode 100644 assets/ckeditor/skins/moono-lisa/editor_ie.css create mode 100644 assets/ckeditor/skins/moono-lisa/editor_ie8.css create mode 100644 assets/ckeditor/skins/moono-lisa/editor_iequirks.css create mode 100644 assets/ckeditor/skins/moono-lisa/icons.png create mode 100644 assets/ckeditor/skins/moono-lisa/icons_hidpi.png create mode 100644 assets/ckeditor/skins/moono-lisa/images/arrow.png create mode 100644 assets/ckeditor/skins/moono-lisa/images/close.png create mode 100644 assets/ckeditor/skins/moono-lisa/images/hidpi/close.png create mode 100644 assets/ckeditor/skins/moono-lisa/images/hidpi/lock-open.png create mode 100644 assets/ckeditor/skins/moono-lisa/images/hidpi/lock.png create mode 100644 assets/ckeditor/skins/moono-lisa/images/hidpi/refresh.png create mode 100644 assets/ckeditor/skins/moono-lisa/images/lock-open.png create mode 100644 assets/ckeditor/skins/moono-lisa/images/lock.png create mode 100644 assets/ckeditor/skins/moono-lisa/images/refresh.png create mode 100644 assets/ckeditor/skins/moono-lisa/images/spinner.gif create mode 100644 assets/ckeditor/skins/moono-lisa/readme.md create mode 100644 assets/ckeditor/styles.js create mode 100644 assets/dist/css/AdminLTE.css create mode 100644 assets/dist/css/AdminLTE.min.css create mode 100644 assets/dist/css/skins/_all-skins.css create mode 100644 assets/dist/css/skins/_all-skins.min.css create mode 100644 assets/dist/css/skins/skin-black-light.css create mode 100644 assets/dist/css/skins/skin-black-light.min.css create mode 100644 assets/dist/css/skins/skin-black.css create mode 100644 assets/dist/css/skins/skin-black.min.css create mode 100644 assets/dist/css/skins/skin-blue-light.css create mode 100644 assets/dist/css/skins/skin-blue-light.min.css create mode 100644 assets/dist/css/skins/skin-blue.css create mode 100644 assets/dist/css/skins/skin-blue.min.css create mode 100644 assets/dist/css/skins/skin-green-light.css create mode 100644 assets/dist/css/skins/skin-green-light.min.css create mode 100644 assets/dist/css/skins/skin-green.css create mode 100644 assets/dist/css/skins/skin-green.min.css create mode 100644 assets/dist/css/skins/skin-purple-light.css create mode 100644 assets/dist/css/skins/skin-purple-light.min.css create mode 100644 assets/dist/css/skins/skin-purple.css create mode 100644 assets/dist/css/skins/skin-purple.min.css create mode 100644 assets/dist/css/skins/skin-red-light.css create mode 100644 assets/dist/css/skins/skin-red-light.min.css create mode 100644 assets/dist/css/skins/skin-red.css create mode 100644 assets/dist/css/skins/skin-red.min.css create mode 100644 assets/dist/css/skins/skin-yellow-light.css create mode 100644 assets/dist/css/skins/skin-yellow-light.min.css create mode 100644 assets/dist/css/skins/skin-yellow.css create mode 100644 assets/dist/css/skins/skin-yellow.min.css create mode 100644 assets/dist/img/avatar.png create mode 100644 assets/dist/img/avatar04.png create mode 100644 assets/dist/img/avatar2.png create mode 100644 assets/dist/img/avatar3.png create mode 100644 assets/dist/img/avatar5.png create mode 100644 assets/dist/img/boxed-bg.jpg create mode 100644 assets/dist/img/boxed-bg.png create mode 100644 assets/dist/img/credit/american-express.png create mode 100644 assets/dist/img/credit/cirrus.png create mode 100644 assets/dist/img/credit/mastercard.png create mode 100644 assets/dist/img/credit/mestro.png create mode 100644 assets/dist/img/credit/paypal.png create mode 100644 assets/dist/img/credit/paypal2.png create mode 100644 assets/dist/img/credit/visa.png create mode 100644 assets/dist/img/default-50x50.gif create mode 100644 assets/dist/img/icons.png create mode 100644 assets/dist/img/photo1.png create mode 100644 assets/dist/img/photo2.png create mode 100644 assets/dist/img/photo3.jpg create mode 100644 assets/dist/img/photo4.jpg create mode 100644 assets/dist/img/user1-128x128.jpg create mode 100644 assets/dist/img/user2-160x160.jpg create mode 100644 assets/dist/img/user3-128x128.jpg create mode 100644 assets/dist/img/user4-128x128.jpg create mode 100644 assets/dist/img/user5-128x128.jpg create mode 100644 assets/dist/img/user6-128x128.jpg create mode 100644 assets/dist/img/user7-128x128.jpg create mode 100644 assets/dist/img/user8-128x128.jpg create mode 100644 assets/dist/js/app.js create mode 100644 assets/dist/js/app.min.js create mode 100644 assets/dist/js/demo.js create mode 100644 assets/dist/js/pages/dashboard.js create mode 100644 assets/dist/js/pages/dashboard2.js create mode 100644 assets/files/02c1e914e332866925b1dbfa8b1ffd0c.docx create mode 100644 assets/files/813e7fbb36aaf36f640bb98ead333699.pdf create mode 100644 assets/files/8bb29d4412c303a2063849b655fa23b3.pdf create mode 100644 assets/files/a65b5b74a07ec04393d05d7e3f2f632a.docx create mode 100644 assets/files/materi/201a01e77b09c0850c92928b83256036.png create mode 100644 assets/files/materi/3a37ed70593b1412db090a777b7d0ea4.png create mode 100644 assets/files/materi/4673c90ce16967c37eb7940f0c580cae.png create mode 100644 assets/files/materi/47729a958dcaccd76c2f92a69b5ed14c.png create mode 100644 assets/files/materi/549b47a3809f01a46d685b5937b6ca5c.png create mode 100644 assets/files/materi/5f9dbb01b2a27046b5e4b24030649dd5.png create mode 100644 assets/files/materi/8ae2883fa19236df09c632b0152a55b7.png create mode 100644 assets/files/materi/8d32ac8a62caa8887d0bf4fe7ec42a52.png create mode 100644 assets/files/materi/b72d776ab1d104f805fb35d2ca6a009e.png create mode 100644 assets/files/materi/f238e7f56c521c1eee40811130144d0d.png create mode 100644 assets/files/materi/fb9452fc97227830d16389f59b2a5d32.png create mode 100644 assets/font-awesome/css/font-awesome.min.css create mode 100644 assets/font-awesome/fonts/FontAwesome.otf create mode 100644 assets/font-awesome/fonts/fontawesome-webfont.eot create mode 100644 assets/font-awesome/fonts/fontawesome-webfont.svg create mode 100644 assets/font-awesome/fonts/fontawesome-webfont.ttf create mode 100644 assets/font-awesome/fonts/fontawesome-webfont.woff create mode 100644 assets/font-awesome/fonts/fontawesome-webfont.woff2 create mode 100644 assets/images/007ddeca66d5219ae515ba8a051c9539.jpg create mode 100644 assets/images/3a39eff4f86fce41877e88e0bd4f9da6.jpg create mode 100644 assets/images/3e66858c12f5d5e27e33b9a384fc21df.png create mode 100644 assets/images/49c6400e27429baaa90cd97f5e964390.png create mode 100644 assets/images/58bcb69608c095d59ad7d8cf10fcaa85.jpg create mode 100644 assets/images/58e92bd7036c3c32da08d60153fe5519.jpg create mode 100644 assets/images/64c825fd7df0e8e2c44475c45e9a0c01.jpg create mode 100644 assets/images/69d55088482488ae085949716dc73af4.jpg create mode 100644 assets/images/6c1a730405879f7bf8a944d9840fdb8f.jpg create mode 100644 assets/images/6c5132cdc3426e670bb35c0ead5acc98.png create mode 100644 assets/images/79a2e2b5461903311d4175f3569f58a8.png create mode 100644 assets/images/8b2e2473bf1abba64e844fe5329ad70e.png create mode 100644 assets/images/8c13410ba5173f451db720ace33548cf.jpeg create mode 100644 assets/images/8f9b9680a2a03d33d9e467bf46b9ce37.jpg create mode 100644 assets/images/ab584bc12f1c00ddb12a7ba54a8d65ca.png create mode 100644 assets/images/af16c5b43de8bd20ecf3d69acb93076f.png create mode 100644 assets/images/b2e11f1e9b9fd5d28bec75433ef34008.jpg create mode 100644 assets/images/bffc5a11261fe45d1ddf10638492e672.png create mode 100644 assets/images/blank.png create mode 100644 assets/images/c8a4963304310237ad60343c75669842.png create mode 100644 assets/images/d2f2fb528d1de3b3fb75533e237e6a86.png create mode 100644 assets/images/logo.png create mode 100644 assets/images/user_blank.png create mode 100644 assets/jquery-ui/AUTHORS.txt create mode 100644 assets/jquery-ui/LICENSE.txt create mode 100644 assets/jquery-ui/external/index.html create mode 100644 assets/jquery-ui/external/jquery/index.html create mode 100644 assets/jquery-ui/external/jquery/jquery.js create mode 100644 assets/jquery-ui/images/index.html create mode 100644 assets/jquery-ui/images/ui-icons_444444_256x240.png create mode 100644 assets/jquery-ui/images/ui-icons_555555_256x240.png create mode 100644 assets/jquery-ui/images/ui-icons_777620_256x240.png create mode 100644 assets/jquery-ui/images/ui-icons_777777_256x240.png create mode 100644 assets/jquery-ui/images/ui-icons_cc0000_256x240.png create mode 100644 assets/jquery-ui/images/ui-icons_ffffff_256x240.png create mode 100644 assets/jquery-ui/index.html create mode 100644 assets/jquery-ui/jquery-ui.css create mode 100644 assets/jquery-ui/jquery-ui.js create mode 100644 assets/jquery-ui/jquery-ui.min.css create mode 100644 assets/jquery-ui/jquery-ui.min.js create mode 100644 assets/jquery-ui/jquery-ui.structure.css create mode 100644 assets/jquery-ui/jquery-ui.structure.min.css create mode 100644 assets/jquery-ui/jquery-ui.theme.css create mode 100644 assets/jquery-ui/jquery-ui.theme.min.css create mode 100644 assets/jquery-ui/package.json create mode 100644 assets/plugins/bootstrap-slider/bootstrap-slider.js create mode 100644 assets/plugins/bootstrap-slider/slider.css create mode 100644 assets/plugins/chartjs/Chart.js create mode 100644 assets/plugins/chartjs/Chart.min.js create mode 100644 assets/plugins/ckeditor/CHANGES.md create mode 100644 assets/plugins/ckeditor/LICENSE.md create mode 100644 assets/plugins/ckeditor/README.md create mode 100644 assets/plugins/ckeditor/adapters/jquery.js create mode 100644 assets/plugins/ckeditor/build-config.js create mode 100644 assets/plugins/ckeditor/ckeditor.js create mode 100644 assets/plugins/ckeditor/config.js create mode 100644 assets/plugins/ckeditor/contents.css create mode 100644 assets/plugins/ckeditor/lang/af.js create mode 100644 assets/plugins/ckeditor/lang/ar.js create mode 100644 assets/plugins/ckeditor/lang/az.js create mode 100644 assets/plugins/ckeditor/lang/bg.js create mode 100644 assets/plugins/ckeditor/lang/bn.js create mode 100644 assets/plugins/ckeditor/lang/bs.js create mode 100644 assets/plugins/ckeditor/lang/ca.js create mode 100644 assets/plugins/ckeditor/lang/cs.js create mode 100644 assets/plugins/ckeditor/lang/cy.js create mode 100644 assets/plugins/ckeditor/lang/da.js create mode 100644 assets/plugins/ckeditor/lang/de-ch.js create mode 100644 assets/plugins/ckeditor/lang/de.js create mode 100644 assets/plugins/ckeditor/lang/el.js create mode 100644 assets/plugins/ckeditor/lang/en-au.js create mode 100644 assets/plugins/ckeditor/lang/en-ca.js create mode 100644 assets/plugins/ckeditor/lang/en-gb.js create mode 100644 assets/plugins/ckeditor/lang/en.js create mode 100644 assets/plugins/ckeditor/lang/eo.js create mode 100644 assets/plugins/ckeditor/lang/es-mx.js create mode 100644 assets/plugins/ckeditor/lang/es.js create mode 100644 assets/plugins/ckeditor/lang/et.js create mode 100644 assets/plugins/ckeditor/lang/eu.js create mode 100644 assets/plugins/ckeditor/lang/fa.js create mode 100644 assets/plugins/ckeditor/lang/fi.js create mode 100644 assets/plugins/ckeditor/lang/fo.js create mode 100644 assets/plugins/ckeditor/lang/fr-ca.js create mode 100644 assets/plugins/ckeditor/lang/fr.js create mode 100644 assets/plugins/ckeditor/lang/gl.js create mode 100644 assets/plugins/ckeditor/lang/gu.js create mode 100644 assets/plugins/ckeditor/lang/he.js create mode 100644 assets/plugins/ckeditor/lang/hi.js create mode 100644 assets/plugins/ckeditor/lang/hr.js create mode 100644 assets/plugins/ckeditor/lang/hu.js create mode 100644 assets/plugins/ckeditor/lang/id.js create mode 100644 assets/plugins/ckeditor/lang/is.js create mode 100644 assets/plugins/ckeditor/lang/it.js create mode 100644 assets/plugins/ckeditor/lang/ja.js create mode 100644 assets/plugins/ckeditor/lang/ka.js create mode 100644 assets/plugins/ckeditor/lang/km.js create mode 100644 assets/plugins/ckeditor/lang/ko.js create mode 100644 assets/plugins/ckeditor/lang/ku.js create mode 100644 assets/plugins/ckeditor/lang/lt.js create mode 100644 assets/plugins/ckeditor/lang/lv.js create mode 100644 assets/plugins/ckeditor/lang/mk.js create mode 100644 assets/plugins/ckeditor/lang/mn.js create mode 100644 assets/plugins/ckeditor/lang/ms.js create mode 100644 assets/plugins/ckeditor/lang/nb.js create mode 100644 assets/plugins/ckeditor/lang/nl.js create mode 100644 assets/plugins/ckeditor/lang/no.js create mode 100644 assets/plugins/ckeditor/lang/oc.js create mode 100644 assets/plugins/ckeditor/lang/pl.js create mode 100644 assets/plugins/ckeditor/lang/pt-br.js create mode 100644 assets/plugins/ckeditor/lang/pt.js create mode 100644 assets/plugins/ckeditor/lang/ro.js create mode 100644 assets/plugins/ckeditor/lang/ru.js create mode 100644 assets/plugins/ckeditor/lang/si.js create mode 100644 assets/plugins/ckeditor/lang/sk.js create mode 100644 assets/plugins/ckeditor/lang/sl.js create mode 100644 assets/plugins/ckeditor/lang/sq.js create mode 100644 assets/plugins/ckeditor/lang/sr-latn.js create mode 100644 assets/plugins/ckeditor/lang/sr.js create mode 100644 assets/plugins/ckeditor/lang/sv.js create mode 100644 assets/plugins/ckeditor/lang/th.js create mode 100644 assets/plugins/ckeditor/lang/tr.js create mode 100644 assets/plugins/ckeditor/lang/tt.js create mode 100644 assets/plugins/ckeditor/lang/ug.js create mode 100644 assets/plugins/ckeditor/lang/uk.js create mode 100644 assets/plugins/ckeditor/lang/vi.js create mode 100644 assets/plugins/ckeditor/lang/zh-cn.js create mode 100644 assets/plugins/ckeditor/lang/zh.js create mode 100644 assets/plugins/ckeditor/plugins/a11yhelp/dialogs/a11yhelp.js create mode 100644 assets/plugins/ckeditor/plugins/a11yhelp/dialogs/lang/_translationstatus.txt create mode 100644 assets/plugins/ckeditor/plugins/a11yhelp/dialogs/lang/af.js create mode 100644 assets/plugins/ckeditor/plugins/a11yhelp/dialogs/lang/ar.js create mode 100644 assets/plugins/ckeditor/plugins/a11yhelp/dialogs/lang/az.js create mode 100644 assets/plugins/ckeditor/plugins/a11yhelp/dialogs/lang/bg.js create mode 100644 assets/plugins/ckeditor/plugins/a11yhelp/dialogs/lang/ca.js create mode 100644 assets/plugins/ckeditor/plugins/a11yhelp/dialogs/lang/cs.js create mode 100644 assets/plugins/ckeditor/plugins/a11yhelp/dialogs/lang/cy.js create mode 100644 assets/plugins/ckeditor/plugins/a11yhelp/dialogs/lang/da.js create mode 100644 assets/plugins/ckeditor/plugins/a11yhelp/dialogs/lang/de-ch.js create mode 100644 assets/plugins/ckeditor/plugins/a11yhelp/dialogs/lang/de.js create mode 100644 assets/plugins/ckeditor/plugins/a11yhelp/dialogs/lang/el.js create mode 100644 assets/plugins/ckeditor/plugins/a11yhelp/dialogs/lang/en-au.js create mode 100644 assets/plugins/ckeditor/plugins/a11yhelp/dialogs/lang/en-gb.js create mode 100644 assets/plugins/ckeditor/plugins/a11yhelp/dialogs/lang/en.js create mode 100644 assets/plugins/ckeditor/plugins/a11yhelp/dialogs/lang/eo.js create mode 100644 assets/plugins/ckeditor/plugins/a11yhelp/dialogs/lang/es-mx.js create mode 100644 assets/plugins/ckeditor/plugins/a11yhelp/dialogs/lang/es.js create mode 100644 assets/plugins/ckeditor/plugins/a11yhelp/dialogs/lang/et.js create mode 100644 assets/plugins/ckeditor/plugins/a11yhelp/dialogs/lang/eu.js create mode 100644 assets/plugins/ckeditor/plugins/a11yhelp/dialogs/lang/fa.js create mode 100644 assets/plugins/ckeditor/plugins/a11yhelp/dialogs/lang/fi.js create mode 100644 assets/plugins/ckeditor/plugins/a11yhelp/dialogs/lang/fo.js create mode 100644 assets/plugins/ckeditor/plugins/a11yhelp/dialogs/lang/fr-ca.js create mode 100644 assets/plugins/ckeditor/plugins/a11yhelp/dialogs/lang/fr.js create mode 100644 assets/plugins/ckeditor/plugins/a11yhelp/dialogs/lang/gl.js create mode 100644 assets/plugins/ckeditor/plugins/a11yhelp/dialogs/lang/gu.js create mode 100644 assets/plugins/ckeditor/plugins/a11yhelp/dialogs/lang/he.js create mode 100644 assets/plugins/ckeditor/plugins/a11yhelp/dialogs/lang/hi.js create mode 100644 assets/plugins/ckeditor/plugins/a11yhelp/dialogs/lang/hr.js create mode 100644 assets/plugins/ckeditor/plugins/a11yhelp/dialogs/lang/hu.js create mode 100644 assets/plugins/ckeditor/plugins/a11yhelp/dialogs/lang/id.js create mode 100644 assets/plugins/ckeditor/plugins/a11yhelp/dialogs/lang/it.js create mode 100644 assets/plugins/ckeditor/plugins/a11yhelp/dialogs/lang/ja.js create mode 100644 assets/plugins/ckeditor/plugins/a11yhelp/dialogs/lang/km.js create mode 100644 assets/plugins/ckeditor/plugins/a11yhelp/dialogs/lang/ko.js create mode 100644 assets/plugins/ckeditor/plugins/a11yhelp/dialogs/lang/ku.js create mode 100644 assets/plugins/ckeditor/plugins/a11yhelp/dialogs/lang/lt.js create mode 100644 assets/plugins/ckeditor/plugins/a11yhelp/dialogs/lang/lv.js create mode 100644 assets/plugins/ckeditor/plugins/a11yhelp/dialogs/lang/mk.js create mode 100644 assets/plugins/ckeditor/plugins/a11yhelp/dialogs/lang/mn.js create mode 100644 assets/plugins/ckeditor/plugins/a11yhelp/dialogs/lang/nb.js create mode 100644 assets/plugins/ckeditor/plugins/a11yhelp/dialogs/lang/nl.js create mode 100644 assets/plugins/ckeditor/plugins/a11yhelp/dialogs/lang/no.js create mode 100644 assets/plugins/ckeditor/plugins/a11yhelp/dialogs/lang/oc.js create mode 100644 assets/plugins/ckeditor/plugins/a11yhelp/dialogs/lang/pl.js create mode 100644 assets/plugins/ckeditor/plugins/a11yhelp/dialogs/lang/pt-br.js create mode 100644 assets/plugins/ckeditor/plugins/a11yhelp/dialogs/lang/pt.js create mode 100644 assets/plugins/ckeditor/plugins/a11yhelp/dialogs/lang/ro.js create mode 100644 assets/plugins/ckeditor/plugins/a11yhelp/dialogs/lang/ru.js create mode 100644 assets/plugins/ckeditor/plugins/a11yhelp/dialogs/lang/si.js create mode 100644 assets/plugins/ckeditor/plugins/a11yhelp/dialogs/lang/sk.js create mode 100644 assets/plugins/ckeditor/plugins/a11yhelp/dialogs/lang/sl.js create mode 100644 assets/plugins/ckeditor/plugins/a11yhelp/dialogs/lang/sq.js create mode 100644 assets/plugins/ckeditor/plugins/a11yhelp/dialogs/lang/sr-latn.js create mode 100644 assets/plugins/ckeditor/plugins/a11yhelp/dialogs/lang/sr.js create mode 100644 assets/plugins/ckeditor/plugins/a11yhelp/dialogs/lang/sv.js create mode 100644 assets/plugins/ckeditor/plugins/a11yhelp/dialogs/lang/th.js create mode 100644 assets/plugins/ckeditor/plugins/a11yhelp/dialogs/lang/tr.js create mode 100644 assets/plugins/ckeditor/plugins/a11yhelp/dialogs/lang/tt.js create mode 100644 assets/plugins/ckeditor/plugins/a11yhelp/dialogs/lang/ug.js create mode 100644 assets/plugins/ckeditor/plugins/a11yhelp/dialogs/lang/uk.js create mode 100644 assets/plugins/ckeditor/plugins/a11yhelp/dialogs/lang/vi.js create mode 100644 assets/plugins/ckeditor/plugins/a11yhelp/dialogs/lang/zh-cn.js create mode 100644 assets/plugins/ckeditor/plugins/a11yhelp/dialogs/lang/zh.js create mode 100644 assets/plugins/ckeditor/plugins/about/dialogs/about.js create mode 100644 assets/plugins/ckeditor/plugins/about/dialogs/hidpi/logo_ckeditor.png create mode 100644 assets/plugins/ckeditor/plugins/about/dialogs/logo_ckeditor.png create mode 100644 assets/plugins/ckeditor/plugins/clipboard/dialogs/paste.js create mode 100644 assets/plugins/ckeditor/plugins/dialog/dialogDefinition.js create mode 100644 assets/plugins/ckeditor/plugins/icons.png create mode 100644 assets/plugins/ckeditor/plugins/icons_hidpi.png create mode 100644 assets/plugins/ckeditor/plugins/image/dialogs/image.js create mode 100644 assets/plugins/ckeditor/plugins/image/images/noimage.png create mode 100644 assets/plugins/ckeditor/plugins/link/dialogs/anchor.js create mode 100644 assets/plugins/ckeditor/plugins/link/dialogs/link.js create mode 100644 assets/plugins/ckeditor/plugins/link/images/anchor.png create mode 100644 assets/plugins/ckeditor/plugins/link/images/hidpi/anchor.png create mode 100644 assets/plugins/ckeditor/plugins/magicline/images/hidpi/icon-rtl.png create mode 100644 assets/plugins/ckeditor/plugins/magicline/images/hidpi/icon.png create mode 100644 assets/plugins/ckeditor/plugins/magicline/images/icon-rtl.png create mode 100644 assets/plugins/ckeditor/plugins/magicline/images/icon.png create mode 100644 assets/plugins/ckeditor/plugins/pastefromword/filter/default.js create mode 100644 assets/plugins/ckeditor/plugins/scayt/CHANGELOG.md create mode 100644 assets/plugins/ckeditor/plugins/scayt/LICENSE.md create mode 100644 assets/plugins/ckeditor/plugins/scayt/README.md create mode 100644 assets/plugins/ckeditor/plugins/scayt/dialogs/dialog.css create mode 100644 assets/plugins/ckeditor/plugins/scayt/dialogs/options.js create mode 100644 assets/plugins/ckeditor/plugins/scayt/dialogs/toolbar.css create mode 100644 assets/plugins/ckeditor/plugins/scayt/skins/moono-lisa/scayt.css create mode 100644 assets/plugins/ckeditor/plugins/specialchar/dialogs/lang/_translationstatus.txt create mode 100644 assets/plugins/ckeditor/plugins/specialchar/dialogs/lang/af.js create mode 100644 assets/plugins/ckeditor/plugins/specialchar/dialogs/lang/ar.js create mode 100644 assets/plugins/ckeditor/plugins/specialchar/dialogs/lang/az.js create mode 100644 assets/plugins/ckeditor/plugins/specialchar/dialogs/lang/bg.js create mode 100644 assets/plugins/ckeditor/plugins/specialchar/dialogs/lang/ca.js create mode 100644 assets/plugins/ckeditor/plugins/specialchar/dialogs/lang/cs.js create mode 100644 assets/plugins/ckeditor/plugins/specialchar/dialogs/lang/cy.js create mode 100644 assets/plugins/ckeditor/plugins/specialchar/dialogs/lang/da.js create mode 100644 assets/plugins/ckeditor/plugins/specialchar/dialogs/lang/de-ch.js create mode 100644 assets/plugins/ckeditor/plugins/specialchar/dialogs/lang/de.js create mode 100644 assets/plugins/ckeditor/plugins/specialchar/dialogs/lang/el.js create mode 100644 assets/plugins/ckeditor/plugins/specialchar/dialogs/lang/en-au.js create mode 100644 assets/plugins/ckeditor/plugins/specialchar/dialogs/lang/en-ca.js create mode 100644 assets/plugins/ckeditor/plugins/specialchar/dialogs/lang/en-gb.js create mode 100644 assets/plugins/ckeditor/plugins/specialchar/dialogs/lang/en.js create mode 100644 assets/plugins/ckeditor/plugins/specialchar/dialogs/lang/eo.js create mode 100644 assets/plugins/ckeditor/plugins/specialchar/dialogs/lang/es-mx.js create mode 100644 assets/plugins/ckeditor/plugins/specialchar/dialogs/lang/es.js create mode 100644 assets/plugins/ckeditor/plugins/specialchar/dialogs/lang/et.js create mode 100644 assets/plugins/ckeditor/plugins/specialchar/dialogs/lang/eu.js create mode 100644 assets/plugins/ckeditor/plugins/specialchar/dialogs/lang/fa.js create mode 100644 assets/plugins/ckeditor/plugins/specialchar/dialogs/lang/fi.js create mode 100644 assets/plugins/ckeditor/plugins/specialchar/dialogs/lang/fr-ca.js create mode 100644 assets/plugins/ckeditor/plugins/specialchar/dialogs/lang/fr.js create mode 100644 assets/plugins/ckeditor/plugins/specialchar/dialogs/lang/gl.js create mode 100644 assets/plugins/ckeditor/plugins/specialchar/dialogs/lang/he.js create mode 100644 assets/plugins/ckeditor/plugins/specialchar/dialogs/lang/hr.js create mode 100644 assets/plugins/ckeditor/plugins/specialchar/dialogs/lang/hu.js create mode 100644 assets/plugins/ckeditor/plugins/specialchar/dialogs/lang/id.js create mode 100644 assets/plugins/ckeditor/plugins/specialchar/dialogs/lang/it.js create mode 100644 assets/plugins/ckeditor/plugins/specialchar/dialogs/lang/ja.js create mode 100644 assets/plugins/ckeditor/plugins/specialchar/dialogs/lang/km.js create mode 100644 assets/plugins/ckeditor/plugins/specialchar/dialogs/lang/ko.js create mode 100644 assets/plugins/ckeditor/plugins/specialchar/dialogs/lang/ku.js create mode 100644 assets/plugins/ckeditor/plugins/specialchar/dialogs/lang/lt.js create mode 100644 assets/plugins/ckeditor/plugins/specialchar/dialogs/lang/lv.js create mode 100644 assets/plugins/ckeditor/plugins/specialchar/dialogs/lang/nb.js create mode 100644 assets/plugins/ckeditor/plugins/specialchar/dialogs/lang/nl.js create mode 100644 assets/plugins/ckeditor/plugins/specialchar/dialogs/lang/no.js create mode 100644 assets/plugins/ckeditor/plugins/specialchar/dialogs/lang/oc.js create mode 100644 assets/plugins/ckeditor/plugins/specialchar/dialogs/lang/pl.js create mode 100644 assets/plugins/ckeditor/plugins/specialchar/dialogs/lang/pt-br.js create mode 100644 assets/plugins/ckeditor/plugins/specialchar/dialogs/lang/pt.js create mode 100644 assets/plugins/ckeditor/plugins/specialchar/dialogs/lang/ro.js create mode 100644 assets/plugins/ckeditor/plugins/specialchar/dialogs/lang/ru.js create mode 100644 assets/plugins/ckeditor/plugins/specialchar/dialogs/lang/si.js create mode 100644 assets/plugins/ckeditor/plugins/specialchar/dialogs/lang/sk.js create mode 100644 assets/plugins/ckeditor/plugins/specialchar/dialogs/lang/sl.js create mode 100644 assets/plugins/ckeditor/plugins/specialchar/dialogs/lang/sq.js create mode 100644 assets/plugins/ckeditor/plugins/specialchar/dialogs/lang/sr-latn.js create mode 100644 assets/plugins/ckeditor/plugins/specialchar/dialogs/lang/sr.js create mode 100644 assets/plugins/ckeditor/plugins/specialchar/dialogs/lang/sv.js create mode 100644 assets/plugins/ckeditor/plugins/specialchar/dialogs/lang/th.js create mode 100644 assets/plugins/ckeditor/plugins/specialchar/dialogs/lang/tr.js create mode 100644 assets/plugins/ckeditor/plugins/specialchar/dialogs/lang/tt.js create mode 100644 assets/plugins/ckeditor/plugins/specialchar/dialogs/lang/ug.js create mode 100644 assets/plugins/ckeditor/plugins/specialchar/dialogs/lang/uk.js create mode 100644 assets/plugins/ckeditor/plugins/specialchar/dialogs/lang/vi.js create mode 100644 assets/plugins/ckeditor/plugins/specialchar/dialogs/lang/zh-cn.js create mode 100644 assets/plugins/ckeditor/plugins/specialchar/dialogs/lang/zh.js create mode 100644 assets/plugins/ckeditor/plugins/specialchar/dialogs/specialchar.js create mode 100644 assets/plugins/ckeditor/plugins/table/dialogs/table.js create mode 100644 assets/plugins/ckeditor/plugins/tableselection/styles/tableselection.css create mode 100644 assets/plugins/ckeditor/plugins/tabletools/dialogs/tableCell.js create mode 100644 assets/plugins/ckeditor/plugins/widget/images/handle.png create mode 100644 assets/plugins/ckeditor/plugins/wsc/LICENSE.md create mode 100644 assets/plugins/ckeditor/plugins/wsc/README.md create mode 100644 assets/plugins/ckeditor/plugins/wsc/dialogs/ciframe.html create mode 100644 assets/plugins/ckeditor/plugins/wsc/dialogs/tmpFrameset.html create mode 100644 assets/plugins/ckeditor/plugins/wsc/dialogs/wsc.css create mode 100644 assets/plugins/ckeditor/plugins/wsc/dialogs/wsc.js create mode 100644 assets/plugins/ckeditor/plugins/wsc/dialogs/wsc_ie.js create mode 100644 assets/plugins/ckeditor/plugins/wsc/skins/moono-lisa/wsc.css create mode 100644 assets/plugins/ckeditor/samples/css/samples.css create mode 100644 assets/plugins/ckeditor/samples/img/github-top.png create mode 100644 assets/plugins/ckeditor/samples/img/header-bg.png create mode 100644 assets/plugins/ckeditor/samples/img/header-separator.png create mode 100644 assets/plugins/ckeditor/samples/img/logo.png create mode 100644 assets/plugins/ckeditor/samples/img/logo.svg create mode 100644 assets/plugins/ckeditor/samples/img/navigation-tip.png create mode 100644 assets/plugins/ckeditor/samples/index.html create mode 100644 assets/plugins/ckeditor/samples/js/sample.js create mode 100644 assets/plugins/ckeditor/samples/js/sf.js create mode 100644 assets/plugins/ckeditor/samples/old/ajax.html create mode 100644 assets/plugins/ckeditor/samples/old/api.html create mode 100644 assets/plugins/ckeditor/samples/old/appendto.html create mode 100644 assets/plugins/ckeditor/samples/old/assets/inlineall/logo.png create mode 100644 assets/plugins/ckeditor/samples/old/assets/outputxhtml/outputxhtml.css create mode 100644 assets/plugins/ckeditor/samples/old/assets/posteddata.php create mode 100644 assets/plugins/ckeditor/samples/old/assets/sample.jpg create mode 100644 assets/plugins/ckeditor/samples/old/assets/uilanguages/languages.js create mode 100644 assets/plugins/ckeditor/samples/old/datafiltering.html create mode 100644 assets/plugins/ckeditor/samples/old/dialog/assets/my_dialog.js create mode 100644 assets/plugins/ckeditor/samples/old/dialog/dialog.html create mode 100644 assets/plugins/ckeditor/samples/old/divreplace.html create mode 100644 assets/plugins/ckeditor/samples/old/enterkey/enterkey.html create mode 100644 assets/plugins/ckeditor/samples/old/htmlwriter/assets/outputforflash/outputforflash.fla create mode 100644 assets/plugins/ckeditor/samples/old/htmlwriter/assets/outputforflash/outputforflash.swf create mode 100644 assets/plugins/ckeditor/samples/old/htmlwriter/assets/outputforflash/swfobject.js create mode 100644 assets/plugins/ckeditor/samples/old/htmlwriter/outputforflash.html create mode 100644 assets/plugins/ckeditor/samples/old/htmlwriter/outputhtml.html create mode 100644 assets/plugins/ckeditor/samples/old/index.html create mode 100644 assets/plugins/ckeditor/samples/old/inlineall.html create mode 100644 assets/plugins/ckeditor/samples/old/inlinebycode.html create mode 100644 assets/plugins/ckeditor/samples/old/inlinetextarea.html create mode 100644 assets/plugins/ckeditor/samples/old/jquery.html create mode 100644 assets/plugins/ckeditor/samples/old/magicline/magicline.html create mode 100644 assets/plugins/ckeditor/samples/old/readonly.html create mode 100644 assets/plugins/ckeditor/samples/old/replacebyclass.html create mode 100644 assets/plugins/ckeditor/samples/old/replacebycode.html create mode 100644 assets/plugins/ckeditor/samples/old/sample.css create mode 100644 assets/plugins/ckeditor/samples/old/sample.js create mode 100644 assets/plugins/ckeditor/samples/old/sample_posteddata.php create mode 100644 assets/plugins/ckeditor/samples/old/tabindex.html create mode 100644 assets/plugins/ckeditor/samples/old/toolbar/toolbar.html create mode 100644 assets/plugins/ckeditor/samples/old/uicolor.html create mode 100644 assets/plugins/ckeditor/samples/old/uilanguages.html create mode 100644 assets/plugins/ckeditor/samples/old/wysiwygarea/fullpage.html create mode 100644 assets/plugins/ckeditor/samples/old/xhtmlstyle.html create mode 100644 assets/plugins/ckeditor/samples/toolbarconfigurator/css/fontello.css create mode 100644 assets/plugins/ckeditor/samples/toolbarconfigurator/font/LICENSE.txt create mode 100644 assets/plugins/ckeditor/samples/toolbarconfigurator/font/config.json create mode 100644 assets/plugins/ckeditor/samples/toolbarconfigurator/font/fontello.eot create mode 100644 assets/plugins/ckeditor/samples/toolbarconfigurator/font/fontello.svg create mode 100644 assets/plugins/ckeditor/samples/toolbarconfigurator/font/fontello.ttf create mode 100644 assets/plugins/ckeditor/samples/toolbarconfigurator/font/fontello.woff create mode 100644 assets/plugins/ckeditor/samples/toolbarconfigurator/index.html create mode 100644 assets/plugins/ckeditor/samples/toolbarconfigurator/js/abstracttoolbarmodifier.js create mode 100644 assets/plugins/ckeditor/samples/toolbarconfigurator/js/fulltoolbareditor.js create mode 100644 assets/plugins/ckeditor/samples/toolbarconfigurator/js/toolbarmodifier.js create mode 100644 assets/plugins/ckeditor/samples/toolbarconfigurator/js/toolbartextmodifier.js create mode 100644 assets/plugins/ckeditor/samples/toolbarconfigurator/lib/codemirror/LICENSE create mode 100644 assets/plugins/ckeditor/samples/toolbarconfigurator/lib/codemirror/codemirror.css create mode 100644 assets/plugins/ckeditor/samples/toolbarconfigurator/lib/codemirror/codemirror.js create mode 100644 assets/plugins/ckeditor/samples/toolbarconfigurator/lib/codemirror/javascript.js create mode 100644 assets/plugins/ckeditor/samples/toolbarconfigurator/lib/codemirror/neo.css create mode 100644 assets/plugins/ckeditor/samples/toolbarconfigurator/lib/codemirror/show-hint.css create mode 100644 assets/plugins/ckeditor/samples/toolbarconfigurator/lib/codemirror/show-hint.js create mode 100644 assets/plugins/ckeditor/skins/moono-lisa/dialog.css create mode 100644 assets/plugins/ckeditor/skins/moono-lisa/dialog_ie.css create mode 100644 assets/plugins/ckeditor/skins/moono-lisa/dialog_ie8.css create mode 100644 assets/plugins/ckeditor/skins/moono-lisa/dialog_iequirks.css create mode 100644 assets/plugins/ckeditor/skins/moono-lisa/editor.css create mode 100644 assets/plugins/ckeditor/skins/moono-lisa/editor_gecko.css create mode 100644 assets/plugins/ckeditor/skins/moono-lisa/editor_ie.css create mode 100644 assets/plugins/ckeditor/skins/moono-lisa/editor_ie8.css create mode 100644 assets/plugins/ckeditor/skins/moono-lisa/editor_iequirks.css create mode 100644 assets/plugins/ckeditor/skins/moono-lisa/icons.png create mode 100644 assets/plugins/ckeditor/skins/moono-lisa/icons_hidpi.png create mode 100644 assets/plugins/ckeditor/skins/moono-lisa/images/arrow.png create mode 100644 assets/plugins/ckeditor/skins/moono-lisa/images/close.png create mode 100644 assets/plugins/ckeditor/skins/moono-lisa/images/hidpi/close.png create mode 100644 assets/plugins/ckeditor/skins/moono-lisa/images/hidpi/lock-open.png create mode 100644 assets/plugins/ckeditor/skins/moono-lisa/images/hidpi/lock.png create mode 100644 assets/plugins/ckeditor/skins/moono-lisa/images/hidpi/refresh.png create mode 100644 assets/plugins/ckeditor/skins/moono-lisa/images/lock-open.png create mode 100644 assets/plugins/ckeditor/skins/moono-lisa/images/lock.png create mode 100644 assets/plugins/ckeditor/skins/moono-lisa/images/refresh.png create mode 100644 assets/plugins/ckeditor/skins/moono-lisa/images/spinner.gif create mode 100644 assets/plugins/ckeditor/skins/moono-lisa/readme.md create mode 100644 assets/plugins/ckeditor/styles.js create mode 100644 assets/plugins/ckeditor/vendor/promise.js create mode 100644 assets/plugins/datatables/dataTables.bootstrap.css create mode 100644 assets/plugins/datatables/dataTables.bootstrap.js create mode 100644 assets/plugins/datatables/dataTables.bootstrap.min.js create mode 100644 assets/plugins/datatables/extensions/AutoFill/Readme.txt create mode 100644 assets/plugins/datatables/extensions/AutoFill/css/dataTables.autoFill.css create mode 100644 assets/plugins/datatables/extensions/AutoFill/css/dataTables.autoFill.min.css create mode 100644 assets/plugins/datatables/extensions/AutoFill/examples/columns.html create mode 100644 assets/plugins/datatables/extensions/AutoFill/examples/complete-callback.html create mode 100644 assets/plugins/datatables/extensions/AutoFill/examples/fill-both.html create mode 100644 assets/plugins/datatables/extensions/AutoFill/examples/fill-horizontal.html create mode 100644 assets/plugins/datatables/extensions/AutoFill/examples/index.html create mode 100644 assets/plugins/datatables/extensions/AutoFill/examples/scrolling.html create mode 100644 assets/plugins/datatables/extensions/AutoFill/examples/simple.html create mode 100644 assets/plugins/datatables/extensions/AutoFill/examples/step-callback.html create mode 100644 assets/plugins/datatables/extensions/AutoFill/images/filler.png create mode 100644 assets/plugins/datatables/extensions/AutoFill/js/dataTables.autoFill.js create mode 100644 assets/plugins/datatables/extensions/AutoFill/js/dataTables.autoFill.min.js create mode 100644 assets/plugins/datatables/extensions/ColReorder/License.txt create mode 100644 assets/plugins/datatables/extensions/ColReorder/Readme.md create mode 100644 assets/plugins/datatables/extensions/ColReorder/css/dataTables.colReorder.css create mode 100644 assets/plugins/datatables/extensions/ColReorder/css/dataTables.colReorder.min.css create mode 100644 assets/plugins/datatables/extensions/ColReorder/examples/alt_insert.html create mode 100644 assets/plugins/datatables/extensions/ColReorder/examples/col_filter.html create mode 100644 assets/plugins/datatables/extensions/ColReorder/examples/colvis.html create mode 100644 assets/plugins/datatables/extensions/ColReorder/examples/fixedcolumns.html create mode 100644 assets/plugins/datatables/extensions/ColReorder/examples/fixedheader.html create mode 100644 assets/plugins/datatables/extensions/ColReorder/examples/index.html create mode 100644 assets/plugins/datatables/extensions/ColReorder/examples/jqueryui.html create mode 100644 assets/plugins/datatables/extensions/ColReorder/examples/new_init.html create mode 100644 assets/plugins/datatables/extensions/ColReorder/examples/predefined.html create mode 100644 assets/plugins/datatables/extensions/ColReorder/examples/realtime.html create mode 100644 assets/plugins/datatables/extensions/ColReorder/examples/reset.html create mode 100644 assets/plugins/datatables/extensions/ColReorder/examples/scrolling.html create mode 100644 assets/plugins/datatables/extensions/ColReorder/examples/server_side.html create mode 100644 assets/plugins/datatables/extensions/ColReorder/examples/simple.html create mode 100644 assets/plugins/datatables/extensions/ColReorder/examples/state_save.html create mode 100644 assets/plugins/datatables/extensions/ColReorder/images/insert.png create mode 100644 assets/plugins/datatables/extensions/ColReorder/js/dataTables.colReorder.js create mode 100644 assets/plugins/datatables/extensions/ColReorder/js/dataTables.colReorder.min.js create mode 100644 assets/plugins/datatables/extensions/ColVis/License.txt create mode 100644 assets/plugins/datatables/extensions/ColVis/Readme.md create mode 100644 assets/plugins/datatables/extensions/ColVis/css/dataTables.colVis.css create mode 100644 assets/plugins/datatables/extensions/ColVis/css/dataTables.colVis.min.css create mode 100644 assets/plugins/datatables/extensions/ColVis/css/dataTables.colvis.jqueryui.css create mode 100644 assets/plugins/datatables/extensions/ColVis/examples/button_order.html create mode 100644 assets/plugins/datatables/extensions/ColVis/examples/exclude_columns.html create mode 100644 assets/plugins/datatables/extensions/ColVis/examples/group_columns.html create mode 100644 assets/plugins/datatables/extensions/ColVis/examples/index.html create mode 100644 assets/plugins/datatables/extensions/ColVis/examples/jqueryui.html create mode 100644 assets/plugins/datatables/extensions/ColVis/examples/mouseover.html create mode 100644 assets/plugins/datatables/extensions/ColVis/examples/new_init.html create mode 100644 assets/plugins/datatables/extensions/ColVis/examples/restore.html create mode 100644 assets/plugins/datatables/extensions/ColVis/examples/simple.html create mode 100644 assets/plugins/datatables/extensions/ColVis/examples/text.html create mode 100644 assets/plugins/datatables/extensions/ColVis/examples/title_callback.html create mode 100644 assets/plugins/datatables/extensions/ColVis/examples/two_tables.html create mode 100644 assets/plugins/datatables/extensions/ColVis/examples/two_tables_identical.html create mode 100644 assets/plugins/datatables/extensions/ColVis/js/dataTables.colVis.js create mode 100644 assets/plugins/datatables/extensions/ColVis/js/dataTables.colVis.min.js create mode 100644 assets/plugins/datatables/extensions/FixedColumns/License.txt create mode 100644 assets/plugins/datatables/extensions/FixedColumns/Readme.md create mode 100644 assets/plugins/datatables/extensions/FixedColumns/css/dataTables.fixedColumns.css create mode 100644 assets/plugins/datatables/extensions/FixedColumns/css/dataTables.fixedColumns.min.css create mode 100644 assets/plugins/datatables/extensions/FixedColumns/examples/bootstrap.html create mode 100644 assets/plugins/datatables/extensions/FixedColumns/examples/col_filter.html create mode 100644 assets/plugins/datatables/extensions/FixedColumns/examples/colvis.html create mode 100644 assets/plugins/datatables/extensions/FixedColumns/examples/css_size.html create mode 100644 assets/plugins/datatables/extensions/FixedColumns/examples/index.html create mode 100644 assets/plugins/datatables/extensions/FixedColumns/examples/index_column.html create mode 100644 assets/plugins/datatables/extensions/FixedColumns/examples/left_right_columns.html create mode 100644 assets/plugins/datatables/extensions/FixedColumns/examples/right_column.html create mode 100644 assets/plugins/datatables/extensions/FixedColumns/examples/rowspan.html create mode 100644 assets/plugins/datatables/extensions/FixedColumns/examples/server-side-processing.html create mode 100644 assets/plugins/datatables/extensions/FixedColumns/examples/simple.html create mode 100644 assets/plugins/datatables/extensions/FixedColumns/examples/size_fixed.html create mode 100644 assets/plugins/datatables/extensions/FixedColumns/examples/size_fluid.html create mode 100644 assets/plugins/datatables/extensions/FixedColumns/examples/two_columns.html create mode 100644 assets/plugins/datatables/extensions/FixedColumns/js/dataTables.fixedColumns.js create mode 100644 assets/plugins/datatables/extensions/FixedColumns/js/dataTables.fixedColumns.min.js create mode 100644 assets/plugins/datatables/extensions/FixedHeader/Readme.txt create mode 100644 assets/plugins/datatables/extensions/FixedHeader/css/dataTables.fixedHeader.css create mode 100644 assets/plugins/datatables/extensions/FixedHeader/css/dataTables.fixedHeader.min.css create mode 100644 assets/plugins/datatables/extensions/FixedHeader/examples/header_footer.html create mode 100644 assets/plugins/datatables/extensions/FixedHeader/examples/index.html create mode 100644 assets/plugins/datatables/extensions/FixedHeader/examples/simple.html create mode 100644 assets/plugins/datatables/extensions/FixedHeader/examples/top_left_right.html create mode 100644 assets/plugins/datatables/extensions/FixedHeader/examples/two_tables.html create mode 100644 assets/plugins/datatables/extensions/FixedHeader/examples/zIndexes.html create mode 100644 assets/plugins/datatables/extensions/FixedHeader/js/dataTables.fixedHeader.js create mode 100644 assets/plugins/datatables/extensions/FixedHeader/js/dataTables.fixedHeader.min.js create mode 100644 assets/plugins/datatables/extensions/KeyTable/Readme.txt create mode 100644 assets/plugins/datatables/extensions/KeyTable/css/dataTables.keyTable.css create mode 100644 assets/plugins/datatables/extensions/KeyTable/css/dataTables.keyTable.min.css create mode 100644 assets/plugins/datatables/extensions/KeyTable/examples/events.html create mode 100644 assets/plugins/datatables/extensions/KeyTable/examples/html.html create mode 100644 assets/plugins/datatables/extensions/KeyTable/examples/index.html create mode 100644 assets/plugins/datatables/extensions/KeyTable/examples/scrolling.html create mode 100644 assets/plugins/datatables/extensions/KeyTable/examples/simple.html create mode 100644 assets/plugins/datatables/extensions/KeyTable/js/dataTables.keyTable.js create mode 100644 assets/plugins/datatables/extensions/KeyTable/js/dataTables.keyTable.min.js create mode 100644 assets/plugins/datatables/extensions/Responsive/License.txt create mode 100644 assets/plugins/datatables/extensions/Responsive/Readme.md create mode 100644 assets/plugins/datatables/extensions/Responsive/css/dataTables.responsive.css create mode 100644 assets/plugins/datatables/extensions/Responsive/css/dataTables.responsive.scss create mode 100644 assets/plugins/datatables/extensions/Responsive/examples/child-rows/column-control.html create mode 100644 assets/plugins/datatables/extensions/Responsive/examples/child-rows/custom-renderer.html create mode 100644 assets/plugins/datatables/extensions/Responsive/examples/child-rows/disable-child-rows.html create mode 100644 assets/plugins/datatables/extensions/Responsive/examples/child-rows/index.html create mode 100644 assets/plugins/datatables/extensions/Responsive/examples/child-rows/right-column.html create mode 100644 assets/plugins/datatables/extensions/Responsive/examples/child-rows/whole-row-control.html create mode 100644 assets/plugins/datatables/extensions/Responsive/examples/display-control/auto.html create mode 100644 assets/plugins/datatables/extensions/Responsive/examples/display-control/classes.html create mode 100644 assets/plugins/datatables/extensions/Responsive/examples/display-control/complexHeader.html create mode 100644 assets/plugins/datatables/extensions/Responsive/examples/display-control/fixedHeader.html create mode 100644 assets/plugins/datatables/extensions/Responsive/examples/display-control/index.html create mode 100644 assets/plugins/datatables/extensions/Responsive/examples/display-control/init-classes.html create mode 100644 assets/plugins/datatables/extensions/Responsive/examples/index.html create mode 100644 assets/plugins/datatables/extensions/Responsive/examples/initialisation/ajax.html create mode 100644 assets/plugins/datatables/extensions/Responsive/examples/initialisation/className.html create mode 100644 assets/plugins/datatables/extensions/Responsive/examples/initialisation/default.html create mode 100644 assets/plugins/datatables/extensions/Responsive/examples/initialisation/index.html create mode 100644 assets/plugins/datatables/extensions/Responsive/examples/initialisation/new.html create mode 100644 assets/plugins/datatables/extensions/Responsive/examples/initialisation/option.html create mode 100644 assets/plugins/datatables/extensions/Responsive/examples/styling/bootstrap.html create mode 100644 assets/plugins/datatables/extensions/Responsive/examples/styling/compact.html create mode 100644 assets/plugins/datatables/extensions/Responsive/examples/styling/foundation.html create mode 100644 assets/plugins/datatables/extensions/Responsive/examples/styling/index.html create mode 100644 assets/plugins/datatables/extensions/Responsive/examples/styling/scrolling.html create mode 100644 assets/plugins/datatables/extensions/Responsive/js/dataTables.responsive.js create mode 100644 assets/plugins/datatables/extensions/Responsive/js/dataTables.responsive.min.js create mode 100644 assets/plugins/datatables/extensions/Scroller/Readme.txt create mode 100644 assets/plugins/datatables/extensions/Scroller/css/dataTables.scroller.css create mode 100644 assets/plugins/datatables/extensions/Scroller/css/dataTables.scroller.min.css create mode 100644 assets/plugins/datatables/extensions/Scroller/examples/api_scrolling.html create mode 100644 assets/plugins/datatables/extensions/Scroller/examples/data/2500.txt create mode 100644 assets/plugins/datatables/extensions/Scroller/examples/data/ssp.php create mode 100644 assets/plugins/datatables/extensions/Scroller/examples/index.html create mode 100644 assets/plugins/datatables/extensions/Scroller/examples/large_js_source.html create mode 100644 assets/plugins/datatables/extensions/Scroller/examples/server-side_processing.html create mode 100644 assets/plugins/datatables/extensions/Scroller/examples/simple.html create mode 100644 assets/plugins/datatables/extensions/Scroller/examples/state_saving.html create mode 100644 assets/plugins/datatables/extensions/Scroller/images/loading-background.png create mode 100644 assets/plugins/datatables/extensions/Scroller/js/dataTables.scroller.js create mode 100644 assets/plugins/datatables/extensions/Scroller/js/dataTables.scroller.min.js create mode 100644 assets/plugins/datatables/extensions/TableTools/Readme.md create mode 100644 assets/plugins/datatables/extensions/TableTools/css/dataTables.tableTools.css create mode 100644 assets/plugins/datatables/extensions/TableTools/css/dataTables.tableTools.min.css create mode 100644 assets/plugins/datatables/extensions/TableTools/examples/ajax.html create mode 100644 assets/plugins/datatables/extensions/TableTools/examples/alter_buttons.html create mode 100644 assets/plugins/datatables/extensions/TableTools/examples/bootstrap.html create mode 100644 assets/plugins/datatables/extensions/TableTools/examples/button_text.html create mode 100644 assets/plugins/datatables/extensions/TableTools/examples/collection.html create mode 100644 assets/plugins/datatables/extensions/TableTools/examples/defaults.html create mode 100644 assets/plugins/datatables/extensions/TableTools/examples/index.html create mode 100644 assets/plugins/datatables/extensions/TableTools/examples/jqueryui.html create mode 100644 assets/plugins/datatables/extensions/TableTools/examples/multi_instance.html create mode 100644 assets/plugins/datatables/extensions/TableTools/examples/multiple_tables.html create mode 100644 assets/plugins/datatables/extensions/TableTools/examples/new_init.html create mode 100644 assets/plugins/datatables/extensions/TableTools/examples/pdf_message.html create mode 100644 assets/plugins/datatables/extensions/TableTools/examples/plug-in.html create mode 100644 assets/plugins/datatables/extensions/TableTools/examples/select_column.html create mode 100644 assets/plugins/datatables/extensions/TableTools/examples/select_multi.html create mode 100644 assets/plugins/datatables/extensions/TableTools/examples/select_os.html create mode 100644 assets/plugins/datatables/extensions/TableTools/examples/select_single.html create mode 100644 assets/plugins/datatables/extensions/TableTools/examples/simple.html create mode 100644 assets/plugins/datatables/extensions/TableTools/examples/swf_path.html create mode 100644 assets/plugins/datatables/extensions/TableTools/images/collection.png create mode 100644 assets/plugins/datatables/extensions/TableTools/images/collection_hover.png create mode 100644 assets/plugins/datatables/extensions/TableTools/images/copy.png create mode 100644 assets/plugins/datatables/extensions/TableTools/images/copy_hover.png create mode 100644 assets/plugins/datatables/extensions/TableTools/images/csv.png create mode 100644 assets/plugins/datatables/extensions/TableTools/images/csv_hover.png create mode 100644 assets/plugins/datatables/extensions/TableTools/images/pdf.png create mode 100644 assets/plugins/datatables/extensions/TableTools/images/pdf_hover.png create mode 100644 assets/plugins/datatables/extensions/TableTools/images/print.png create mode 100644 assets/plugins/datatables/extensions/TableTools/images/print_hover.png create mode 100644 assets/plugins/datatables/extensions/TableTools/images/psd/collection.psd create mode 100644 assets/plugins/datatables/extensions/TableTools/images/psd/copy document.psd create mode 100644 assets/plugins/datatables/extensions/TableTools/images/psd/file_types.psd create mode 100644 assets/plugins/datatables/extensions/TableTools/images/psd/printer.psd create mode 100644 assets/plugins/datatables/extensions/TableTools/images/xls.png create mode 100644 assets/plugins/datatables/extensions/TableTools/images/xls_hover.png create mode 100644 assets/plugins/datatables/extensions/TableTools/js/dataTables.tableTools.js create mode 100644 assets/plugins/datatables/extensions/TableTools/js/dataTables.tableTools.min.js create mode 100644 assets/plugins/datatables/extensions/TableTools/swf/copy_csv_xls.swf create mode 100644 assets/plugins/datatables/extensions/TableTools/swf/copy_csv_xls_pdf.swf create mode 100644 assets/plugins/datatables/images/sort_asc.png create mode 100644 assets/plugins/datatables/images/sort_asc_disabled.png create mode 100644 assets/plugins/datatables/images/sort_both.png create mode 100644 assets/plugins/datatables/images/sort_desc.png create mode 100644 assets/plugins/datatables/images/sort_desc_disabled.png create mode 100644 assets/plugins/datatables/jquery.dataTables.css create mode 100644 assets/plugins/datatables/jquery.dataTables.js create mode 100644 assets/plugins/datatables/jquery.dataTables.min.css create mode 100644 assets/plugins/datatables/jquery.dataTables.min.js create mode 100644 assets/plugins/datatables/jquery.dataTables_themeroller.css create mode 100644 assets/plugins/datepicker/bootstrap-datepicker.js create mode 100644 assets/plugins/datepicker/datepicker3.css create mode 100644 assets/plugins/datepicker/locales/bootstrap-datepicker.ar.js create mode 100644 assets/plugins/datepicker/locales/bootstrap-datepicker.az.js create mode 100644 assets/plugins/datepicker/locales/bootstrap-datepicker.bg.js create mode 100644 assets/plugins/datepicker/locales/bootstrap-datepicker.ca.js create mode 100644 assets/plugins/datepicker/locales/bootstrap-datepicker.cs.js create mode 100644 assets/plugins/datepicker/locales/bootstrap-datepicker.cy.js create mode 100644 assets/plugins/datepicker/locales/bootstrap-datepicker.da.js create mode 100644 assets/plugins/datepicker/locales/bootstrap-datepicker.de.js create mode 100644 assets/plugins/datepicker/locales/bootstrap-datepicker.el.js create mode 100644 assets/plugins/datepicker/locales/bootstrap-datepicker.es.js create mode 100644 assets/plugins/datepicker/locales/bootstrap-datepicker.et.js create mode 100644 assets/plugins/datepicker/locales/bootstrap-datepicker.fa.js create mode 100644 assets/plugins/datepicker/locales/bootstrap-datepicker.fi.js create mode 100644 assets/plugins/datepicker/locales/bootstrap-datepicker.fr.js create mode 100644 assets/plugins/datepicker/locales/bootstrap-datepicker.gl.js create mode 100644 assets/plugins/datepicker/locales/bootstrap-datepicker.he.js create mode 100644 assets/plugins/datepicker/locales/bootstrap-datepicker.hr.js create mode 100644 assets/plugins/datepicker/locales/bootstrap-datepicker.hu.js create mode 100644 assets/plugins/datepicker/locales/bootstrap-datepicker.id.js create mode 100644 assets/plugins/datepicker/locales/bootstrap-datepicker.is.js create mode 100644 assets/plugins/datepicker/locales/bootstrap-datepicker.it.js create mode 100644 assets/plugins/datepicker/locales/bootstrap-datepicker.ja.js create mode 100644 assets/plugins/datepicker/locales/bootstrap-datepicker.ka.js create mode 100644 assets/plugins/datepicker/locales/bootstrap-datepicker.kk.js create mode 100644 assets/plugins/datepicker/locales/bootstrap-datepicker.kr.js create mode 100644 assets/plugins/datepicker/locales/bootstrap-datepicker.lt.js create mode 100644 assets/plugins/datepicker/locales/bootstrap-datepicker.lv.js create mode 100644 assets/plugins/datepicker/locales/bootstrap-datepicker.mk.js create mode 100644 assets/plugins/datepicker/locales/bootstrap-datepicker.ms.js create mode 100644 assets/plugins/datepicker/locales/bootstrap-datepicker.nb.js create mode 100644 assets/plugins/datepicker/locales/bootstrap-datepicker.nl-BE.js create mode 100644 assets/plugins/datepicker/locales/bootstrap-datepicker.nl.js create mode 100644 assets/plugins/datepicker/locales/bootstrap-datepicker.no.js create mode 100644 assets/plugins/datepicker/locales/bootstrap-datepicker.pl.js create mode 100644 assets/plugins/datepicker/locales/bootstrap-datepicker.pt-BR.js create mode 100644 assets/plugins/datepicker/locales/bootstrap-datepicker.pt.js create mode 100644 assets/plugins/datepicker/locales/bootstrap-datepicker.ro.js create mode 100644 assets/plugins/datepicker/locales/bootstrap-datepicker.rs-latin.js create mode 100644 assets/plugins/datepicker/locales/bootstrap-datepicker.rs.js create mode 100644 assets/plugins/datepicker/locales/bootstrap-datepicker.ru.js create mode 100644 assets/plugins/datepicker/locales/bootstrap-datepicker.sk.js create mode 100644 assets/plugins/datepicker/locales/bootstrap-datepicker.sl.js create mode 100644 assets/plugins/datepicker/locales/bootstrap-datepicker.sq.js create mode 100644 assets/plugins/datepicker/locales/bootstrap-datepicker.sv.js create mode 100644 assets/plugins/datepicker/locales/bootstrap-datepicker.sw.js create mode 100644 assets/plugins/datepicker/locales/bootstrap-datepicker.th.js create mode 100644 assets/plugins/datepicker/locales/bootstrap-datepicker.tr.js create mode 100644 assets/plugins/datepicker/locales/bootstrap-datepicker.ua.js create mode 100644 assets/plugins/datepicker/locales/bootstrap-datepicker.vi.js create mode 100644 assets/plugins/datepicker/locales/bootstrap-datepicker.zh-CN.js create mode 100644 assets/plugins/datepicker/locales/bootstrap-datepicker.zh-TW.js create mode 100644 assets/plugins/daterangepicker/daterangepicker.css create mode 100644 assets/plugins/daterangepicker/daterangepicker.js create mode 100644 assets/plugins/daterangepicker/moment.js create mode 100644 assets/plugins/daterangepicker/moment.min.js create mode 100644 assets/plugins/fastclick/fastclick.js create mode 100644 assets/plugins/fastclick/fastclick.min.js create mode 100644 assets/plugins/flot/excanvas.js create mode 100644 assets/plugins/flot/excanvas.min.js create mode 100644 assets/plugins/flot/jquery.colorhelpers.js create mode 100644 assets/plugins/flot/jquery.colorhelpers.min.js create mode 100644 assets/plugins/flot/jquery.flot.canvas.js create mode 100644 assets/plugins/flot/jquery.flot.canvas.min.js create mode 100644 assets/plugins/flot/jquery.flot.categories.js create mode 100644 assets/plugins/flot/jquery.flot.categories.min.js create mode 100644 assets/plugins/flot/jquery.flot.crosshair.js create mode 100644 assets/plugins/flot/jquery.flot.crosshair.min.js create mode 100644 assets/plugins/flot/jquery.flot.errorbars.js create mode 100644 assets/plugins/flot/jquery.flot.errorbars.min.js create mode 100644 assets/plugins/flot/jquery.flot.fillbetween.js create mode 100644 assets/plugins/flot/jquery.flot.fillbetween.min.js create mode 100644 assets/plugins/flot/jquery.flot.image.js create mode 100644 assets/plugins/flot/jquery.flot.image.min.js create mode 100644 assets/plugins/flot/jquery.flot.js create mode 100644 assets/plugins/flot/jquery.flot.min.js create mode 100644 assets/plugins/flot/jquery.flot.navigate.js create mode 100644 assets/plugins/flot/jquery.flot.navigate.min.js create mode 100644 assets/plugins/flot/jquery.flot.pie.js create mode 100644 assets/plugins/flot/jquery.flot.pie.min.js create mode 100644 assets/plugins/flot/jquery.flot.resize.js create mode 100644 assets/plugins/flot/jquery.flot.resize.min.js create mode 100644 assets/plugins/flot/jquery.flot.selection.js create mode 100644 assets/plugins/flot/jquery.flot.selection.min.js create mode 100644 assets/plugins/flot/jquery.flot.stack.js create mode 100644 assets/plugins/flot/jquery.flot.stack.min.js create mode 100644 assets/plugins/flot/jquery.flot.symbol.js create mode 100644 assets/plugins/flot/jquery.flot.symbol.min.js create mode 100644 assets/plugins/flot/jquery.flot.threshold.js create mode 100644 assets/plugins/flot/jquery.flot.threshold.min.js create mode 100644 assets/plugins/flot/jquery.flot.time.js create mode 100644 assets/plugins/flot/jquery.flot.time.min.js create mode 100644 assets/plugins/froala/License.txt create mode 100644 assets/plugins/froala/README.md create mode 100644 assets/plugins/froala/bower.json create mode 100644 assets/plugins/froala/composer.json create mode 100644 assets/plugins/froala/css/froala_editor.css create mode 100644 assets/plugins/froala/css/froala_editor.min.css create mode 100644 assets/plugins/froala/css/froala_editor.pkgd.css create mode 100644 assets/plugins/froala/css/froala_editor.pkgd.min.css create mode 100644 assets/plugins/froala/css/froala_style.css create mode 100644 assets/plugins/froala/css/froala_style.min.css create mode 100644 assets/plugins/froala/css/plugins.pkgd.css create mode 100644 assets/plugins/froala/css/plugins.pkgd.min.css create mode 100644 assets/plugins/froala/css/plugins/char_counter.css create mode 100644 assets/plugins/froala/css/plugins/char_counter.min.css create mode 100644 assets/plugins/froala/css/plugins/code_view.css create mode 100644 assets/plugins/froala/css/plugins/code_view.min.css create mode 100644 assets/plugins/froala/css/plugins/colors.css create mode 100644 assets/plugins/froala/css/plugins/colors.min.css create mode 100644 assets/plugins/froala/css/plugins/draggable.css create mode 100644 assets/plugins/froala/css/plugins/draggable.min.css create mode 100644 assets/plugins/froala/css/plugins/emoticons.css create mode 100644 assets/plugins/froala/css/plugins/emoticons.min.css create mode 100644 assets/plugins/froala/css/plugins/file.css create mode 100644 assets/plugins/froala/css/plugins/file.min.css create mode 100644 assets/plugins/froala/css/plugins/fullscreen.css create mode 100644 assets/plugins/froala/css/plugins/fullscreen.min.css create mode 100644 assets/plugins/froala/css/plugins/help.css create mode 100644 assets/plugins/froala/css/plugins/help.min.css create mode 100644 assets/plugins/froala/css/plugins/image.css create mode 100644 assets/plugins/froala/css/plugins/image.min.css create mode 100644 assets/plugins/froala/css/plugins/image_manager.css create mode 100644 assets/plugins/froala/css/plugins/image_manager.min.css create mode 100644 assets/plugins/froala/css/plugins/line_breaker.css create mode 100644 assets/plugins/froala/css/plugins/line_breaker.min.css create mode 100644 assets/plugins/froala/css/plugins/quick_insert.css create mode 100644 assets/plugins/froala/css/plugins/quick_insert.min.css create mode 100644 assets/plugins/froala/css/plugins/special_characters.css create mode 100644 assets/plugins/froala/css/plugins/special_characters.min.css create mode 100644 assets/plugins/froala/css/plugins/table.css create mode 100644 assets/plugins/froala/css/plugins/table.min.css create mode 100644 assets/plugins/froala/css/plugins/video.css create mode 100644 assets/plugins/froala/css/plugins/video.min.css create mode 100644 assets/plugins/froala/css/themes/dark.css create mode 100644 assets/plugins/froala/css/themes/dark.min.css create mode 100644 assets/plugins/froala/css/themes/gray.css create mode 100644 assets/plugins/froala/css/themes/gray.min.css create mode 100644 assets/plugins/froala/css/third_party/embedly.css create mode 100644 assets/plugins/froala/css/third_party/embedly.min.css create mode 100644 assets/plugins/froala/css/third_party/font_awesome.css create mode 100644 assets/plugins/froala/css/third_party/font_awesome.min.css create mode 100644 assets/plugins/froala/css/third_party/image_tui.css create mode 100644 assets/plugins/froala/css/third_party/image_tui.min.css create mode 100644 assets/plugins/froala/css/third_party/spell_checker.css create mode 100644 assets/plugins/froala/css/third_party/spell_checker.min.css create mode 100644 assets/plugins/froala/editor.jpg create mode 100644 assets/plugins/froala/html/3rd-party/aviary/index.html create mode 100644 assets/plugins/froala/html/3rd-party/bootstrap/grid.html create mode 100644 assets/plugins/froala/html/3rd-party/bootstrap/lists.html create mode 100644 assets/plugins/froala/html/3rd-party/bootstrap/modal.html create mode 100644 assets/plugins/froala/html/3rd-party/code-mirror.html create mode 100644 assets/plugins/froala/html/3rd-party/font-awesome-5-css.html create mode 100644 assets/plugins/froala/html/3rd-party/font-awesome-5-js.html create mode 100644 assets/plugins/froala/html/3rd-party/jquery/mobile.html create mode 100644 assets/plugins/froala/html/3rd-party/jquery/ui_modal.html create mode 100644 assets/plugins/froala/html/3rd-party/spell-checker/spell-checker.html create mode 100644 assets/plugins/froala/html/3rd-party/tui/index.html create mode 100644 assets/plugins/froala/html/api/get_html.html create mode 100644 assets/plugins/froala/html/api/init_destroy.html create mode 100644 assets/plugins/froala/html/api/insert_html.html create mode 100644 assets/plugins/froala/html/api/live_code_preview.html create mode 100644 assets/plugins/froala/html/api/live_content_preview.html create mode 100644 assets/plugins/froala/html/api/selection.html create mode 100644 assets/plugins/froala/html/buttons/custom_buttons.html create mode 100644 assets/plugins/froala/html/buttons/custom_dropdown.html create mode 100644 assets/plugins/froala/html/buttons/external_button.html create mode 100644 assets/plugins/froala/html/buttons/subscript_superscript.html create mode 100644 assets/plugins/froala/html/events/blur_focus.html create mode 100644 assets/plugins/froala/html/events/content_changed.html create mode 100644 assets/plugins/froala/html/events/drop.html create mode 100644 assets/plugins/froala/html/events/image_removed.html create mode 100644 assets/plugins/froala/html/events/initialized_destroy.html create mode 100644 assets/plugins/froala/html/file_s3_upload.php create mode 100644 assets/plugins/froala/html/image/custom_button.html create mode 100644 assets/plugins/froala/html/image/default_width.html create mode 100644 assets/plugins/froala/html/image/image_styles.html create mode 100644 assets/plugins/froala/html/image/insert_base64.html create mode 100644 assets/plugins/froala/html/image_s3_upload.php create mode 100644 assets/plugins/froala/html/init_inside_iframe/basic.html create mode 100644 assets/plugins/froala/html/init_inside_iframe/content.html create mode 100644 assets/plugins/froala/html/init_inside_iframe/inline.html create mode 100644 assets/plugins/froala/html/init_on_click/basic.html create mode 100644 assets/plugins/froala/html/init_on_click/inline.html create mode 100644 assets/plugins/froala/html/init_on_click/two_editors.html create mode 100644 assets/plugins/froala/html/initialization/edit_in_popup.html create mode 100644 assets/plugins/froala/html/initialization/init_on_button.html create mode 100644 assets/plugins/froala/html/initialization/init_on_click.html create mode 100644 assets/plugins/froala/html/initialization/init_on_h1.html create mode 100644 assets/plugins/froala/html/initialization/init_on_image.html create mode 100644 assets/plugins/froala/html/initialization/init_on_link.html create mode 100644 assets/plugins/froala/html/initialization/initialized_event.html create mode 100644 assets/plugins/froala/html/international/direction_rtl.html create mode 100644 assets/plugins/froala/html/international/language.html create mode 100644 assets/plugins/froala/html/international/rtl_ltr_buttons.html create mode 100644 assets/plugins/froala/html/link/custom_validation.html create mode 100644 assets/plugins/froala/html/link/link_styles.html create mode 100644 assets/plugins/froala/html/link/predefined_links.html create mode 100644 assets/plugins/froala/html/misc/scrollable_container.html create mode 100644 assets/plugins/froala/html/misc/scrollable_container_inline.html create mode 100644 assets/plugins/froala/html/paragraph_modes/enter_br.html create mode 100644 assets/plugins/froala/html/paragraph_modes/enter_div.html create mode 100644 assets/plugins/froala/html/paragraph_modes/enter_p.html create mode 100644 assets/plugins/froala/html/paste/attrs.html create mode 100644 assets/plugins/froala/html/paste/plain.html create mode 100644 assets/plugins/froala/html/paste/tags.html create mode 100644 assets/plugins/froala/html/plugins/char_counter.html create mode 100644 assets/plugins/froala/html/plugins/full_screen.html create mode 100644 assets/plugins/froala/html/plugins/line_breaker.html create mode 100644 assets/plugins/froala/html/plugins/quick_insert.html create mode 100644 assets/plugins/froala/html/popular/disable_edit.html create mode 100644 assets/plugins/froala/html/popular/disable_paragraphs.html create mode 100644 assets/plugins/froala/html/popular/full.html create mode 100644 assets/plugins/froala/html/popular/full_page.html create mode 100644 assets/plugins/froala/html/popular/iframe.html create mode 100644 assets/plugins/froala/html/popular/init_on_click.html create mode 100644 assets/plugins/froala/html/popular/textarea.html create mode 100644 assets/plugins/froala/html/popular/toolbar_buttons.html create mode 100644 assets/plugins/froala/html/popular/toolbar_inline.html create mode 100644 assets/plugins/froala/html/popular/two_instances.html create mode 100644 assets/plugins/froala/html/popular/z_index.html create mode 100644 assets/plugins/froala/html/popups/colors.html create mode 100644 assets/plugins/froala/html/popups/custom.html create mode 100644 assets/plugins/froala/html/popups/emoticons.html create mode 100644 assets/plugins/froala/html/styling/adjustable_height.html create mode 100644 assets/plugins/froala/html/styling/font_family.html create mode 100644 assets/plugins/froala/html/styling/height.html create mode 100644 assets/plugins/froala/html/styling/inline.html create mode 100644 assets/plugins/froala/html/styling/paragraph.html create mode 100644 assets/plugins/froala/html/styling/placeholder.html create mode 100644 assets/plugins/froala/html/styling/width.html create mode 100644 assets/plugins/froala/html/table/cell_style.html create mode 100644 assets/plugins/froala/html/table/insert_helper.html create mode 100644 assets/plugins/froala/html/table/nested.html create mode 100644 assets/plugins/froala/html/table/resize.html create mode 100644 assets/plugins/froala/html/table/style.html create mode 100644 assets/plugins/froala/html/themes/dark.html create mode 100644 assets/plugins/froala/html/themes/gray.html create mode 100644 assets/plugins/froala/html/toolbar/bottom.html create mode 100644 assets/plugins/froala/html/toolbar/bottom_offset.html create mode 100644 assets/plugins/froala/html/toolbar/buttons.html create mode 100644 assets/plugins/froala/html/toolbar/external.html create mode 100644 assets/plugins/froala/html/toolbar/external_inline.html create mode 100644 assets/plugins/froala/html/toolbar/inline.html create mode 100644 assets/plugins/froala/html/toolbar/inline_selection.html create mode 100644 assets/plugins/froala/html/toolbar/offset.html create mode 100644 assets/plugins/froala/html/toolbar/show_selection.html create mode 100644 assets/plugins/froala/html/toolbar/sticky.html create mode 100644 assets/plugins/froala/html/typing/keep_format.html create mode 100644 assets/plugins/froala/html/typing/shortcuts.html create mode 100644 assets/plugins/froala/html/typing/tab.html create mode 100644 assets/plugins/froala/img/photo1.jpg create mode 100644 assets/plugins/froala/index.html create mode 100644 assets/plugins/froala/js/froala_editor.min.js create mode 100644 assets/plugins/froala/js/froala_editor.pkgd.min.js create mode 100644 assets/plugins/froala/js/languages/ar.js create mode 100644 assets/plugins/froala/js/languages/bs.js create mode 100644 assets/plugins/froala/js/languages/cs.js create mode 100644 assets/plugins/froala/js/languages/da.js create mode 100644 assets/plugins/froala/js/languages/de.js create mode 100644 assets/plugins/froala/js/languages/el.js create mode 100644 assets/plugins/froala/js/languages/en_ca.js create mode 100644 assets/plugins/froala/js/languages/en_gb.js create mode 100644 assets/plugins/froala/js/languages/es.js create mode 100644 assets/plugins/froala/js/languages/et.js create mode 100644 assets/plugins/froala/js/languages/fa.js create mode 100644 assets/plugins/froala/js/languages/fi.js create mode 100644 assets/plugins/froala/js/languages/fr.js create mode 100644 assets/plugins/froala/js/languages/he.js create mode 100644 assets/plugins/froala/js/languages/hr.js create mode 100644 assets/plugins/froala/js/languages/hu.js create mode 100644 assets/plugins/froala/js/languages/id.js create mode 100644 assets/plugins/froala/js/languages/it.js create mode 100644 assets/plugins/froala/js/languages/ja.js create mode 100644 assets/plugins/froala/js/languages/ko.js create mode 100644 assets/plugins/froala/js/languages/ku.js create mode 100644 assets/plugins/froala/js/languages/me.js create mode 100644 assets/plugins/froala/js/languages/nb.js create mode 100644 assets/plugins/froala/js/languages/nl.js create mode 100644 assets/plugins/froala/js/languages/pl.js create mode 100644 assets/plugins/froala/js/languages/pt_br.js create mode 100644 assets/plugins/froala/js/languages/pt_pt.js create mode 100644 assets/plugins/froala/js/languages/ro.js create mode 100644 assets/plugins/froala/js/languages/ru.js create mode 100644 assets/plugins/froala/js/languages/sk.js create mode 100644 assets/plugins/froala/js/languages/sr.js create mode 100644 assets/plugins/froala/js/languages/sv.js create mode 100644 assets/plugins/froala/js/languages/th.js create mode 100644 assets/plugins/froala/js/languages/tr.js create mode 100644 assets/plugins/froala/js/languages/uk.js create mode 100644 assets/plugins/froala/js/languages/vi.js create mode 100644 assets/plugins/froala/js/languages/zh_cn.js create mode 100644 assets/plugins/froala/js/languages/zh_tw.js create mode 100644 assets/plugins/froala/js/plugins.pkgd.min.js create mode 100644 assets/plugins/froala/js/plugins/align.min.js create mode 100644 assets/plugins/froala/js/plugins/char_counter.min.js create mode 100644 assets/plugins/froala/js/plugins/code_beautifier.min.js create mode 100644 assets/plugins/froala/js/plugins/code_view.min.js create mode 100644 assets/plugins/froala/js/plugins/colors.min.js create mode 100644 assets/plugins/froala/js/plugins/draggable.min.js create mode 100644 assets/plugins/froala/js/plugins/edit_in_popup.min.js create mode 100644 assets/plugins/froala/js/plugins/emoticons.min.js create mode 100644 assets/plugins/froala/js/plugins/entities.min.js create mode 100644 assets/plugins/froala/js/plugins/file.min.js create mode 100644 assets/plugins/froala/js/plugins/font_family.min.js create mode 100644 assets/plugins/froala/js/plugins/font_size.min.js create mode 100644 assets/plugins/froala/js/plugins/forms.min.js create mode 100644 assets/plugins/froala/js/plugins/fullscreen.min.js create mode 100644 assets/plugins/froala/js/plugins/help.min.js create mode 100644 assets/plugins/froala/js/plugins/image.min.js create mode 100644 assets/plugins/froala/js/plugins/image_manager.min.js create mode 100644 assets/plugins/froala/js/plugins/inline_class.min.js create mode 100644 assets/plugins/froala/js/plugins/inline_style.min.js create mode 100644 assets/plugins/froala/js/plugins/line_breaker.min.js create mode 100644 assets/plugins/froala/js/plugins/line_height.min.js create mode 100644 assets/plugins/froala/js/plugins/link.min.js create mode 100644 assets/plugins/froala/js/plugins/lists.min.js create mode 100644 assets/plugins/froala/js/plugins/paragraph_format.min.js create mode 100644 assets/plugins/froala/js/plugins/paragraph_style.min.js create mode 100644 assets/plugins/froala/js/plugins/print.min.js create mode 100644 assets/plugins/froala/js/plugins/quick_insert.min.js create mode 100644 assets/plugins/froala/js/plugins/quote.min.js create mode 100644 assets/plugins/froala/js/plugins/save.min.js create mode 100644 assets/plugins/froala/js/plugins/special_characters.min.js create mode 100644 assets/plugins/froala/js/plugins/table.min.js create mode 100644 assets/plugins/froala/js/plugins/url.min.js create mode 100644 assets/plugins/froala/js/plugins/video.min.js create mode 100644 assets/plugins/froala/js/plugins/word_paste.min.js create mode 100644 assets/plugins/froala/js/third_party/embedly.min.js create mode 100644 assets/plugins/froala/js/third_party/font_awesome.min.js create mode 100644 assets/plugins/froala/js/third_party/image_tui.min.js create mode 100644 assets/plugins/froala/js/third_party/spell_checker.min.js create mode 100644 assets/plugins/froala/package.json create mode 100644 assets/plugins/input-mask/jquery.inputmask.date.extensions.js create mode 100644 assets/plugins/input-mask/jquery.inputmask.extensions.js create mode 100644 assets/plugins/input-mask/jquery.inputmask.js create mode 100644 assets/plugins/input-mask/jquery.inputmask.numeric.extensions.js create mode 100644 assets/plugins/input-mask/jquery.inputmask.phone.extensions.js create mode 100644 assets/plugins/input-mask/jquery.inputmask.regex.extensions.js create mode 100644 assets/plugins/input-mask/phone-codes/phone-be.json create mode 100644 assets/plugins/input-mask/phone-codes/phone-codes.json create mode 100644 assets/plugins/input-mask/phone-codes/readme.txt create mode 100644 assets/plugins/ionslider/img/sprite-skin-flat.png create mode 100644 assets/plugins/ionslider/img/sprite-skin-nice.png create mode 100644 assets/plugins/ionslider/ion.rangeSlider.css create mode 100644 assets/plugins/ionslider/ion.rangeSlider.min.js create mode 100644 assets/plugins/ionslider/ion.rangeSlider.skinFlat.css create mode 100644 assets/plugins/ionslider/ion.rangeSlider.skinNice.css create mode 100644 assets/plugins/jQuery/jquery-2.2.3.min.js create mode 100644 assets/plugins/jQueryUI/jquery-ui.js create mode 100644 assets/plugins/jQueryUI/jquery-ui.min.js create mode 100644 assets/plugins/pace/pace.css create mode 100644 assets/plugins/pace/pace.js create mode 100644 assets/plugins/pace/pace.min.css create mode 100644 assets/plugins/pace/pace.min.js create mode 100644 assets/plugins/select2/i18n/ar.js create mode 100644 assets/plugins/select2/i18n/az.js create mode 100644 assets/plugins/select2/i18n/bg.js create mode 100644 assets/plugins/select2/i18n/ca.js create mode 100644 assets/plugins/select2/i18n/cs.js create mode 100644 assets/plugins/select2/i18n/da.js create mode 100644 assets/plugins/select2/i18n/de.js create mode 100644 assets/plugins/select2/i18n/el.js create mode 100644 assets/plugins/select2/i18n/en.js create mode 100644 assets/plugins/select2/i18n/es.js create mode 100644 assets/plugins/select2/i18n/et.js create mode 100644 assets/plugins/select2/i18n/eu.js create mode 100644 assets/plugins/select2/i18n/fa.js create mode 100644 assets/plugins/select2/i18n/fi.js create mode 100644 assets/plugins/select2/i18n/fr.js create mode 100644 assets/plugins/select2/i18n/gl.js create mode 100644 assets/plugins/select2/i18n/he.js create mode 100644 assets/plugins/select2/i18n/hi.js create mode 100644 assets/plugins/select2/i18n/hr.js create mode 100644 assets/plugins/select2/i18n/hu.js create mode 100644 assets/plugins/select2/i18n/id.js create mode 100644 assets/plugins/select2/i18n/is.js create mode 100644 assets/plugins/select2/i18n/it.js create mode 100644 assets/plugins/select2/i18n/ja.js create mode 100644 assets/plugins/select2/i18n/km.js create mode 100644 assets/plugins/select2/i18n/ko.js create mode 100644 assets/plugins/select2/i18n/lt.js create mode 100644 assets/plugins/select2/i18n/lv.js create mode 100644 assets/plugins/select2/i18n/mk.js create mode 100644 assets/plugins/select2/i18n/ms.js create mode 100644 assets/plugins/select2/i18n/nb.js create mode 100644 assets/plugins/select2/i18n/nl.js create mode 100644 assets/plugins/select2/i18n/pl.js create mode 100644 assets/plugins/select2/i18n/pt-BR.js create mode 100644 assets/plugins/select2/i18n/pt.js create mode 100644 assets/plugins/select2/i18n/ro.js create mode 100644 assets/plugins/select2/i18n/ru.js create mode 100644 assets/plugins/select2/i18n/sk.js create mode 100644 assets/plugins/select2/i18n/sr-Cyrl.js create mode 100644 assets/plugins/select2/i18n/sr.js create mode 100644 assets/plugins/select2/i18n/sv.js create mode 100644 assets/plugins/select2/i18n/th.js create mode 100644 assets/plugins/select2/i18n/tr.js create mode 100644 assets/plugins/select2/i18n/uk.js create mode 100644 assets/plugins/select2/i18n/vi.js create mode 100644 assets/plugins/select2/i18n/zh-CN.js create mode 100644 assets/plugins/select2/i18n/zh-TW.js create mode 100644 assets/plugins/select2/select2.css create mode 100644 assets/plugins/select2/select2.full.js create mode 100644 assets/plugins/select2/select2.full.min.js create mode 100644 assets/plugins/select2/select2.js create mode 100644 assets/plugins/select2/select2.min.css create mode 100644 assets/plugins/select2/select2.min.js create mode 100644 assets/plugins/slimScroll/jquery.slimscroll.js create mode 100644 assets/plugins/slimScroll/jquery.slimscroll.min.js create mode 100644 assets/plugins/timepicker/bootstrap-timepicker.css create mode 100644 assets/plugins/timepicker/bootstrap-timepicker.js create mode 100644 assets/plugins/timepicker/bootstrap-timepicker.min.css create mode 100644 assets/plugins/timepicker/bootstrap-timepicker.min.js create mode 100644 assets/plugins/toast/jquery.toast.min.css create mode 100644 assets/plugins/toast/jquery.toast.min.js create mode 100644 composer.json create mode 100644 contributing.md create mode 100644 index.php create mode 100644 jagajaga.php create mode 100644 license.txt create mode 100644 readme.rst create mode 100644 sekolah.sql create mode 100644 system/.htaccess create mode 100644 system/core/Benchmark.php create mode 100644 system/core/CodeIgniter.php create mode 100644 system/core/Common.php create mode 100644 system/core/Config.php create mode 100644 system/core/Controller.php create mode 100644 system/core/Exceptions.php create mode 100644 system/core/Hooks.php create mode 100644 system/core/Input.php create mode 100644 system/core/Lang.php create mode 100644 system/core/Loader.php create mode 100644 system/core/Log.php create mode 100644 system/core/Model.php create mode 100644 system/core/Output.php create mode 100644 system/core/Router.php create mode 100644 system/core/Security.php create mode 100644 system/core/URI.php create mode 100644 system/core/Utf8.php create mode 100644 system/core/compat/hash.php create mode 100644 system/core/compat/index.html create mode 100644 system/core/compat/mbstring.php create mode 100644 system/core/compat/password.php create mode 100644 system/core/compat/standard.php create mode 100644 system/core/index.html create mode 100644 system/database/DB.php create mode 100644 system/database/DB_cache.php create mode 100644 system/database/DB_driver.php create mode 100644 system/database/DB_forge.php create mode 100644 system/database/DB_query_builder.php create mode 100644 system/database/DB_result.php create mode 100644 system/database/DB_utility.php create mode 100644 system/database/drivers/cubrid/cubrid_driver.php create mode 100644 system/database/drivers/cubrid/cubrid_forge.php create mode 100644 system/database/drivers/cubrid/cubrid_result.php create mode 100644 system/database/drivers/cubrid/cubrid_utility.php create mode 100644 system/database/drivers/cubrid/index.html create mode 100644 system/database/drivers/ibase/ibase_driver.php create mode 100644 system/database/drivers/ibase/ibase_forge.php create mode 100644 system/database/drivers/ibase/ibase_result.php create mode 100644 system/database/drivers/ibase/ibase_utility.php create mode 100644 system/database/drivers/ibase/index.html create mode 100644 system/database/drivers/index.html create mode 100644 system/database/drivers/mssql/index.html create mode 100644 system/database/drivers/mssql/mssql_driver.php create mode 100644 system/database/drivers/mssql/mssql_forge.php create mode 100644 system/database/drivers/mssql/mssql_result.php create mode 100644 system/database/drivers/mssql/mssql_utility.php create mode 100644 system/database/drivers/mysql/index.html create mode 100644 system/database/drivers/mysql/mysql_driver.php create mode 100644 system/database/drivers/mysql/mysql_forge.php create mode 100644 system/database/drivers/mysql/mysql_result.php create mode 100644 system/database/drivers/mysql/mysql_utility.php create mode 100644 system/database/drivers/mysqli/index.html create mode 100644 system/database/drivers/mysqli/mysqli_driver.php create mode 100644 system/database/drivers/mysqli/mysqli_forge.php create mode 100644 system/database/drivers/mysqli/mysqli_result.php create mode 100644 system/database/drivers/mysqli/mysqli_utility.php create mode 100644 system/database/drivers/oci8/index.html create mode 100644 system/database/drivers/oci8/oci8_driver.php create mode 100644 system/database/drivers/oci8/oci8_forge.php create mode 100644 system/database/drivers/oci8/oci8_result.php create mode 100644 system/database/drivers/oci8/oci8_utility.php create mode 100644 system/database/drivers/odbc/index.html create mode 100644 system/database/drivers/odbc/odbc_driver.php create mode 100644 system/database/drivers/odbc/odbc_forge.php create mode 100644 system/database/drivers/odbc/odbc_result.php create mode 100644 system/database/drivers/odbc/odbc_utility.php create mode 100644 system/database/drivers/pdo/index.html create mode 100644 system/database/drivers/pdo/pdo_driver.php create mode 100644 system/database/drivers/pdo/pdo_forge.php create mode 100644 system/database/drivers/pdo/pdo_result.php create mode 100644 system/database/drivers/pdo/pdo_utility.php create mode 100644 system/database/drivers/pdo/subdrivers/index.html create mode 100644 system/database/drivers/pdo/subdrivers/pdo_4d_driver.php create mode 100644 system/database/drivers/pdo/subdrivers/pdo_4d_forge.php create mode 100644 system/database/drivers/pdo/subdrivers/pdo_cubrid_driver.php create mode 100644 system/database/drivers/pdo/subdrivers/pdo_cubrid_forge.php create mode 100644 system/database/drivers/pdo/subdrivers/pdo_dblib_driver.php create mode 100644 system/database/drivers/pdo/subdrivers/pdo_dblib_forge.php create mode 100644 system/database/drivers/pdo/subdrivers/pdo_firebird_driver.php create mode 100644 system/database/drivers/pdo/subdrivers/pdo_firebird_forge.php create mode 100644 system/database/drivers/pdo/subdrivers/pdo_ibm_driver.php create mode 100644 system/database/drivers/pdo/subdrivers/pdo_ibm_forge.php create mode 100644 system/database/drivers/pdo/subdrivers/pdo_informix_driver.php create mode 100644 system/database/drivers/pdo/subdrivers/pdo_informix_forge.php create mode 100644 system/database/drivers/pdo/subdrivers/pdo_mysql_driver.php create mode 100644 system/database/drivers/pdo/subdrivers/pdo_mysql_forge.php create mode 100644 system/database/drivers/pdo/subdrivers/pdo_oci_driver.php create mode 100644 system/database/drivers/pdo/subdrivers/pdo_oci_forge.php create mode 100644 system/database/drivers/pdo/subdrivers/pdo_odbc_driver.php create mode 100644 system/database/drivers/pdo/subdrivers/pdo_odbc_forge.php create mode 100644 system/database/drivers/pdo/subdrivers/pdo_pgsql_driver.php create mode 100644 system/database/drivers/pdo/subdrivers/pdo_pgsql_forge.php create mode 100644 system/database/drivers/pdo/subdrivers/pdo_sqlite_driver.php create mode 100644 system/database/drivers/pdo/subdrivers/pdo_sqlite_forge.php create mode 100644 system/database/drivers/pdo/subdrivers/pdo_sqlsrv_driver.php create mode 100644 system/database/drivers/pdo/subdrivers/pdo_sqlsrv_forge.php create mode 100644 system/database/drivers/postgre/index.html create mode 100644 system/database/drivers/postgre/postgre_driver.php create mode 100644 system/database/drivers/postgre/postgre_forge.php create mode 100644 system/database/drivers/postgre/postgre_result.php create mode 100644 system/database/drivers/postgre/postgre_utility.php create mode 100644 system/database/drivers/sqlite/index.html create mode 100644 system/database/drivers/sqlite/sqlite_driver.php create mode 100644 system/database/drivers/sqlite/sqlite_forge.php create mode 100644 system/database/drivers/sqlite/sqlite_result.php create mode 100644 system/database/drivers/sqlite/sqlite_utility.php create mode 100644 system/database/drivers/sqlite3/index.html create mode 100644 system/database/drivers/sqlite3/sqlite3_driver.php create mode 100644 system/database/drivers/sqlite3/sqlite3_forge.php create mode 100644 system/database/drivers/sqlite3/sqlite3_result.php create mode 100644 system/database/drivers/sqlite3/sqlite3_utility.php create mode 100644 system/database/drivers/sqlsrv/index.html create mode 100644 system/database/drivers/sqlsrv/sqlsrv_driver.php create mode 100644 system/database/drivers/sqlsrv/sqlsrv_forge.php create mode 100644 system/database/drivers/sqlsrv/sqlsrv_result.php create mode 100644 system/database/drivers/sqlsrv/sqlsrv_utility.php create mode 100644 system/database/index.html create mode 100644 system/fonts/index.html create mode 100644 system/fonts/texb.ttf create mode 100644 system/helpers/array_helper.php create mode 100644 system/helpers/captcha_helper.php create mode 100644 system/helpers/cookie_helper.php create mode 100644 system/helpers/date_helper.php create mode 100644 system/helpers/directory_helper.php create mode 100644 system/helpers/download_helper.php create mode 100644 system/helpers/email_helper.php create mode 100644 system/helpers/file_helper.php create mode 100644 system/helpers/form_helper.php create mode 100644 system/helpers/html_helper.php create mode 100644 system/helpers/index.html create mode 100644 system/helpers/inflector_helper.php create mode 100644 system/helpers/language_helper.php create mode 100644 system/helpers/number_helper.php create mode 100644 system/helpers/path_helper.php create mode 100644 system/helpers/security_helper.php create mode 100644 system/helpers/smiley_helper.php create mode 100644 system/helpers/string_helper.php create mode 100644 system/helpers/text_helper.php create mode 100644 system/helpers/typography_helper.php create mode 100644 system/helpers/url_helper.php create mode 100644 system/helpers/xml_helper.php create mode 100644 system/index.html create mode 100644 system/language/english/calendar_lang.php create mode 100644 system/language/english/date_lang.php create mode 100644 system/language/english/db_lang.php create mode 100644 system/language/english/email_lang.php create mode 100644 system/language/english/form_validation_lang.php create mode 100644 system/language/english/ftp_lang.php create mode 100644 system/language/english/imglib_lang.php create mode 100644 system/language/english/index.html create mode 100644 system/language/english/migration_lang.php create mode 100644 system/language/english/number_lang.php create mode 100644 system/language/english/pagination_lang.php create mode 100644 system/language/english/profiler_lang.php create mode 100644 system/language/english/unit_test_lang.php create mode 100644 system/language/english/upload_lang.php create mode 100644 system/language/index.html create mode 100644 system/libraries/Cache/Cache.php create mode 100644 system/libraries/Cache/drivers/Cache_apc.php create mode 100644 system/libraries/Cache/drivers/Cache_dummy.php create mode 100644 system/libraries/Cache/drivers/Cache_file.php create mode 100644 system/libraries/Cache/drivers/Cache_memcached.php create mode 100644 system/libraries/Cache/drivers/Cache_redis.php create mode 100644 system/libraries/Cache/drivers/Cache_wincache.php create mode 100644 system/libraries/Cache/drivers/index.html create mode 100644 system/libraries/Cache/index.html create mode 100644 system/libraries/Calendar.php create mode 100644 system/libraries/Cart.php create mode 100644 system/libraries/Driver.php create mode 100644 system/libraries/Email.php create mode 100644 system/libraries/Encrypt.php create mode 100644 system/libraries/Encryption.php create mode 100644 system/libraries/Form_validation.php create mode 100644 system/libraries/Ftp.php create mode 100644 system/libraries/Image_lib.php create mode 100644 system/libraries/Javascript.php create mode 100644 system/libraries/Javascript/Jquery.php create mode 100644 system/libraries/Javascript/index.html create mode 100644 system/libraries/Migration.php create mode 100644 system/libraries/Pagination.php create mode 100644 system/libraries/Parser.php create mode 100644 system/libraries/Profiler.php create mode 100644 system/libraries/Session/Session.php create mode 100644 system/libraries/Session/SessionHandlerInterface.php create mode 100644 system/libraries/Session/Session_driver.php create mode 100644 system/libraries/Session/drivers/Session_database_driver.php create mode 100644 system/libraries/Session/drivers/Session_files_driver.php create mode 100644 system/libraries/Session/drivers/Session_memcached_driver.php create mode 100644 system/libraries/Session/drivers/Session_redis_driver.php create mode 100644 system/libraries/Session/drivers/index.html create mode 100644 system/libraries/Session/index.html create mode 100644 system/libraries/Table.php create mode 100644 system/libraries/Trackback.php create mode 100644 system/libraries/Typography.php create mode 100644 system/libraries/Unit_test.php create mode 100644 system/libraries/Upload.php create mode 100644 system/libraries/User_agent.php create mode 100644 system/libraries/Xmlrpc.php create mode 100644 system/libraries/Xmlrpcs.php create mode 100644 system/libraries/Zip.php create mode 100644 system/libraries/index.html create mode 100644 tests/Bootstrap.php create mode 100644 tests/README.md create mode 100644 tests/mocks/autoloader.php create mode 100644 tests/mocks/ci_testcase.php create mode 100644 tests/mocks/ci_testconfig.php create mode 100644 tests/mocks/core/common.php create mode 100644 tests/mocks/core/input.php create mode 100644 tests/mocks/core/security.php create mode 100644 tests/mocks/core/uri.php create mode 100644 tests/mocks/core/utf8.php create mode 100644 tests/mocks/database/ci_test.sqlite create mode 100644 tests/mocks/database/config/mysql.php create mode 100644 tests/mocks/database/config/mysqli.php create mode 100644 tests/mocks/database/config/pdo/mysql.php create mode 100644 tests/mocks/database/config/pdo/pgsql.php create mode 100644 tests/mocks/database/config/pdo/sqlite.php create mode 100644 tests/mocks/database/config/pgsql.php create mode 100644 tests/mocks/database/config/sqlite.php create mode 100644 tests/mocks/database/db.php create mode 100644 tests/mocks/database/db/driver.php create mode 100644 tests/mocks/database/drivers/mysql.php create mode 100644 tests/mocks/database/drivers/mysqli.php create mode 100644 tests/mocks/database/drivers/pdo.php create mode 100644 tests/mocks/database/drivers/postgre.php create mode 100644 tests/mocks/database/drivers/sqlite.php create mode 100644 tests/mocks/database/schema/skeleton.php create mode 100644 tests/mocks/libraries/driver.php create mode 100644 tests/mocks/libraries/encrypt.php create mode 100644 tests/mocks/libraries/encryption.php create mode 100644 tests/mocks/libraries/session.php create mode 100644 tests/mocks/libraries/table.php create mode 100644 tests/mocks/uploads/ci_logo.gif create mode 100644 tests/phpunit.xml create mode 100644 theme/css/animated-masonry-gallery.css create mode 100644 theme/css/bootstrap.min.css create mode 100644 theme/css/bootstrap.rtl.min.css create mode 100644 theme/css/dataTables.bootstrap.css create mode 100644 theme/css/dataTables.bootstrap.min.css create mode 100644 theme/css/dataTables.bootstrap4.css create mode 100644 theme/css/dataTables.bootstrap4.min.css create mode 100644 theme/css/dataTables.foundation.css create mode 100644 theme/css/dataTables.foundation.min.css create mode 100644 theme/css/dataTables.jqueryui.css create mode 100644 theme/css/dataTables.jqueryui.min.css create mode 100644 theme/css/dataTables.semanticui.css create mode 100644 theme/css/dataTables.semanticui.min.css create mode 100644 theme/css/flexslider.css create mode 100644 theme/css/font-awesome.min.css create mode 100644 theme/css/fullcalendar.min.css create mode 100644 theme/css/jquery.dataTables.css create mode 100644 theme/css/jquery.dataTables.min.css create mode 100644 theme/css/jssocials-theme-classic.css create mode 100644 theme/css/jssocials-theme-flat.css create mode 100644 theme/css/jssocials-theme-minima.css create mode 100644 theme/css/jssocials-theme-plain.css create mode 100644 theme/css/jssocials.css create mode 100644 theme/css/magnific-popup.css create mode 100644 theme/css/normalize.css create mode 100644 theme/css/owl.carousel.min.css create mode 100644 theme/css/rtl.css create mode 100644 theme/css/set2.css create mode 100644 theme/css/simple-line-icons.css create mode 100644 theme/css/slick-theme.css create mode 100644 theme/css/slick.css create mode 100644 theme/css/style.css create mode 100644 theme/css/style.css.map create mode 100644 theme/css/style3.css create mode 100644 theme/fonts/FontAwesome.otf create mode 100644 theme/fonts/Simple-Line-Icons.eot create mode 100644 theme/fonts/Simple-Line-Icons.svg create mode 100644 theme/fonts/Simple-Line-Icons.ttf create mode 100644 theme/fonts/Simple-Line-Icons.woff create mode 100644 theme/fonts/Simple-Line-Icons.woff2 create mode 100644 theme/fonts/fontawesome-webfont.eot create mode 100644 theme/fonts/fontawesome-webfont.svg create mode 100644 theme/fonts/fontawesome-webfont.ttf create mode 100644 theme/fonts/fontawesome-webfont.woff create mode 100644 theme/fonts/fontawesome-webfont.woff2 create mode 100644 theme/fonts/slick.eot create mode 100644 theme/fonts/slick.svg create mode 100644 theme/fonts/slick.ttf create mode 100644 theme/fonts/slick.woff create mode 100644 theme/images/1.png create mode 100644 theme/images/11.png create mode 100644 theme/images/112.png create mode 100644 theme/images/2.png create mode 100644 theme/images/22 (2).png create mode 100644 theme/images/8.png create mode 100644 theme/images/A1.png create mode 100644 theme/images/Shortcode-list.png create mode 100644 theme/images/ajax-loader.gif create mode 100644 theme/images/ak.png create mode 100644 theme/images/announcement-icon.png create mode 100644 theme/images/announcement-iconn.png create mode 100644 theme/images/badge-icon.png create mode 100644 theme/images/chart-icon_1.png create mode 100644 theme/images/chart-icon_2.png create mode 100644 theme/images/chart-icon_3.png create mode 100644 theme/images/chart-icon_4.png create mode 100644 theme/images/discription-icon.png create mode 100644 theme/images/kepala.jpg create mode 100644 theme/images/kepalaa.jpg create mode 100644 theme/images/logo.png create mode 100644 theme/images/logo1.png create mode 100644 theme/images/mitra.png create mode 100644 theme/images/play-btn.png create mode 100644 theme/images/plus-icon.jpg create mode 100644 theme/images/plus-icon.png create mode 100644 theme/images/right-icon.png create mode 100644 theme/images/sort_asc.png create mode 100644 theme/images/sort_asc_disabled.png create mode 100644 theme/images/sort_both.png create mode 100644 theme/images/sort_desc.png create mode 100644 theme/images/sort_desc_disabled.png create mode 100644 theme/js/admission.js create mode 100644 theme/js/animated-masonry-gallery.js create mode 100644 theme/js/bootstrap.min.js create mode 100644 theme/js/contact.js create mode 100644 theme/js/counterup.min.js create mode 100644 theme/js/dataTables.bootstrap.js create mode 100644 theme/js/dataTables.bootstrap.min.js create mode 100644 theme/js/dataTables.bootstrap4.js create mode 100644 theme/js/dataTables.bootstrap4.min.js create mode 100644 theme/js/dataTables.foundation.js create mode 100644 theme/js/dataTables.foundation.min.js create mode 100644 theme/js/dataTables.jqueryui.js create mode 100644 theme/js/dataTables.jqueryui.min.js create mode 100644 theme/js/dataTables.semanticui.js create mode 100644 theme/js/dataTables.semanticui.min.js create mode 100644 theme/js/fullcalendar.min.js create mode 100644 theme/js/gcal.min.js create mode 100644 theme/js/instafeed.min.js create mode 100644 theme/js/jquery-2.0.2.min.js create mode 100644 theme/js/jquery-3.3.1.min.js create mode 100644 theme/js/jquery-3.3.1.min.map create mode 100644 theme/js/jquery-ui-1.10.4.min.js create mode 100644 theme/js/jquery.dataTables.js create mode 100644 theme/js/jquery.dataTables.min.js create mode 100644 theme/js/jquery.flexslider-min.js create mode 100644 theme/js/jquery.isotope.min.js create mode 100644 theme/js/jquery.magnific-popup.js create mode 100644 theme/js/jquery.min.js create mode 100644 theme/js/jssocials.js create mode 100644 theme/js/jssocials.min.js create mode 100644 theme/js/moment.min.js create mode 100644 theme/js/owl.carousel.min.js create mode 100644 theme/js/pkgd.js create mode 100644 theme/js/popper.min.js create mode 100644 theme/js/script.js create mode 100644 theme/js/slick.min.js create mode 100644 theme/js/subscribe.js create mode 100644 theme/js/tether.min.js create mode 100644 theme/js/tweetie.min.js create mode 100644 theme/js/validate.js create mode 100644 theme/js/video.js create mode 100644 theme/js/waypoints.min.js create mode 100644 theme/scss/_nav-menu.scss create mode 100644 theme/scss/_variables.scss create mode 100644 theme/scss/style.scss diff --git a/.htaccess b/.htaccess new file mode 100644 index 0000000..e734a8e --- /dev/null +++ b/.htaccess @@ -0,0 +1,6 @@ +RewriteEngine On +RewriteCond %{REQUEST_URI} ^/system.* +RewriteRule ^(.*)$ index.php?/$1 [L] +RewriteCond %{REQUEST_FILENAME} !-f +RewriteCond %{REQUEST_FILENAME} !-d +RewriteRule ^(.+)$ index.php?/$1 [L] \ No newline at end of file diff --git a/application/.htaccess b/application/.htaccess new file mode 100644 index 0000000..6c63ed4 --- /dev/null +++ b/application/.htaccess @@ -0,0 +1,6 @@ + + Require all denied + + + Deny from all + \ No newline at end of file diff --git a/application/cache/index.html b/application/cache/index.html new file mode 100644 index 0000000..b702fbc --- /dev/null +++ b/application/cache/index.html @@ -0,0 +1,11 @@ + + + + 403 Forbidden + + + +

Directory access is forbidden.

+ + + diff --git a/application/config/autoload.php b/application/config/autoload.php new file mode 100644 index 0000000..4b5f4fb --- /dev/null +++ b/application/config/autoload.php @@ -0,0 +1,135 @@ + 'ua'); +*/ +$autoload['libraries'] = array('database','session','pagination','xmlrpc','user_agent'); + +/* +| ------------------------------------------------------------------- +| Auto-load Drivers +| ------------------------------------------------------------------- +| These classes are located in system/libraries/ or in your +| application/libraries/ directory, but are also placed inside their +| own subdirectory and they extend the CI_Driver_Library class. They +| offer multiple interchangeable driver options. +| +| Prototype: +| +| $autoload['drivers'] = array('cache'); +| +| You can also supply an alternative property name to be assigned in +| the controller: +| +| $autoload['drivers'] = array('cache' => 'cch'); +| +*/ +$autoload['drivers'] = array(); + +/* +| ------------------------------------------------------------------- +| Auto-load Helper Files +| ------------------------------------------------------------------- +| Prototype: +| +| $autoload['helper'] = array('url', 'file'); +*/ +$autoload['helper'] = array('url', 'file','form'); + +/* +| ------------------------------------------------------------------- +| Auto-load Config files +| ------------------------------------------------------------------- +| Prototype: +| +| $autoload['config'] = array('config1', 'config2'); +| +| NOTE: This item is intended for use ONLY if you have created custom +| config files. Otherwise, leave it blank. +| +*/ +$autoload['config'] = array(); + +/* +| ------------------------------------------------------------------- +| Auto-load Language files +| ------------------------------------------------------------------- +| Prototype: +| +| $autoload['language'] = array('lang1', 'lang2'); +| +| NOTE: Do not include the "_lang" part of your file. For example +| "codeigniter_lang.php" would be referenced as array('codeigniter'); +| +*/ +$autoload['language'] = array(); + +/* +| ------------------------------------------------------------------- +| Auto-load Models +| ------------------------------------------------------------------- +| Prototype: +| +| $autoload['model'] = array('first_model', 'second_model'); +| +| You can also supply an alternative model name to be assigned +| in the controller: +| +| $autoload['model'] = array('first_model' => 'first'); +*/ +$autoload['model'] = array(); diff --git a/application/config/config.php b/application/config/config.php new file mode 100644 index 0000000..b23b993 --- /dev/null +++ b/application/config/config.php @@ -0,0 +1,522 @@ +]+$/i +| +| DO NOT CHANGE THIS UNLESS YOU FULLY UNDERSTAND THE REPERCUSSIONS!! +| +*/ +$config['permitted_uri_chars'] = 'a-z 0-9~%.:_\-@\='; +/* +|-------------------------------------------------------------------------- +| Enable Query Strings +|-------------------------------------------------------------------------- +| +| By default CodeIgniter uses search-engine friendly segment based URLs: +| example.com/who/what/where/ +| +| You can optionally enable standard query string based URLs: +| example.com?who=me&what=something&where=here +| +| Options are: TRUE or FALSE (boolean) +| +| The other items let you set the query string 'words' that will +| invoke your controllers and its functions: +| example.com/index.php?c=controller&m=function +| +| Please note that some of the helpers won't work as expected when +| this feature is enabled, since CodeIgniter is designed primarily to +| use segment based URLs. +| +*/ +$config['enable_query_strings'] = FALSE; +$config['controller_trigger'] = 'c'; +$config['function_trigger'] = 'm'; +$config['directory_trigger'] = 'd'; + +/* +|-------------------------------------------------------------------------- +| Allow $_GET array +|-------------------------------------------------------------------------- +| +| By default CodeIgniter enables access to the $_GET array. If for some +| reason you would like to disable it, set 'allow_get_array' to FALSE. +| +| WARNING: This feature is DEPRECATED and currently available only +| for backwards compatibility purposes! +| +*/ +$config['allow_get_array'] = TRUE; + +/* +|-------------------------------------------------------------------------- +| Error Logging Threshold +|-------------------------------------------------------------------------- +| +| You can enable error logging by setting a threshold over zero. The +| threshold determines what gets logged. Threshold options are: +| +| 0 = Disables logging, Error logging TURNED OFF +| 1 = Error Messages (including PHP errors) +| 2 = Debug Messages +| 3 = Informational Messages +| 4 = All Messages +| +| You can also pass an array with threshold levels to show individual error types +| +| array(2) = Debug Messages, without Error Messages +| +| For a live site you'll usually only enable Errors (1) to be logged otherwise +| your log files will fill up very fast. +| +*/ +$config['log_threshold'] = 1; + +/* +|-------------------------------------------------------------------------- +| Error Logging Directory Path +|-------------------------------------------------------------------------- +| +| Leave this BLANK unless you would like to set something other than the default +| application/logs/ directory. Use a full server path with trailing slash. +| +*/ +$config['log_path'] = ''; + +/* +|-------------------------------------------------------------------------- +| Log File Extension +|-------------------------------------------------------------------------- +| +| The default filename extension for log files. The default 'php' allows for +| protecting the log files via basic scripting, when they are to be stored +| under a publicly accessible directory. +| +| Note: Leaving it blank will default to 'php'. +| +*/ +$config['log_file_extension'] = ''; + +/* +|-------------------------------------------------------------------------- +| Log File Permissions +|-------------------------------------------------------------------------- +| +| The file system permissions to be applied on newly created log files. +| +| IMPORTANT: This MUST be an integer (no quotes) and you MUST use octal +| integer notation (i.e. 0700, 0644, etc.) +*/ +$config['log_file_permissions'] = 0644; + +/* +|-------------------------------------------------------------------------- +| Date Format for Logs +|-------------------------------------------------------------------------- +| +| Each item that is logged has an associated date. You can use PHP date +| codes to set your own date formatting +| +*/ +$config['log_date_format'] = 'Y-m-d H:i:s'; + +/* +|-------------------------------------------------------------------------- +| Error Views Directory Path +|-------------------------------------------------------------------------- +| +| Leave this BLANK unless you would like to set something other than the default +| application/views/errors/ directory. Use a full server path with trailing slash. +| +*/ +$config['error_views_path'] = ''; + +/* +|-------------------------------------------------------------------------- +| Cache Directory Path +|-------------------------------------------------------------------------- +| +| Leave this BLANK unless you would like to set something other than the default +| application/cache/ directory. Use a full server path with trailing slash. +| +*/ +$config['cache_path'] = ''; + +/* +|-------------------------------------------------------------------------- +| Cache Include Query String +|-------------------------------------------------------------------------- +| +| Whether to take the URL query string into consideration when generating +| output cache files. Valid options are: +| +| FALSE = Disabled +| TRUE = Enabled, take all query parameters into account. +| Please be aware that this may result in numerous cache +| files generated for the same page over and over again. +| array('q') = Enabled, but only take into account the specified list +| of query parameters. +| +*/ +$config['cache_query_string'] = FALSE; + +/* +|-------------------------------------------------------------------------- +| Encryption Key +|-------------------------------------------------------------------------- +| +| If you use the Encryption class, you must set an encryption key. +| See the user guide for more info. +| +| https://codeigniter.com/user_guide/libraries/encryption.html +| +*/ +$config['encryption_key'] = 'TRUE'; + +/* +|-------------------------------------------------------------------------- +| Session Variables +|-------------------------------------------------------------------------- +| +| 'sess_driver' +| +| The storage driver to use: files, database, redis, memcached +| +| 'sess_cookie_name' +| +| The session cookie name, must contain only [0-9a-z_-] characters +| +| 'sess_expiration' +| +| The number of SECONDS you want the session to last. +| Setting to 0 (zero) means expire when the browser is closed. +| +| 'sess_save_path' +| +| The location to save sessions to, driver dependent. +| +| For the 'files' driver, it's a path to a writable directory. +| WARNING: Only absolute paths are supported! +| +| For the 'database' driver, it's a table name. +| Please read up the manual for the format with other session drivers. +| +| IMPORTANT: You are REQUIRED to set a valid save path! +| +| 'sess_match_ip' +| +| Whether to match the user's IP address when reading the session data. +| +| WARNING: If you're using the database driver, don't forget to update +| your session table's PRIMARY KEY when changing this setting. +| +| 'sess_time_to_update' +| +| How many seconds between CI regenerating the session ID. +| +| 'sess_regenerate_destroy' +| +| Whether to destroy session data associated with the old session ID +| when auto-regenerating the session ID. When set to FALSE, the data +| will be later deleted by the garbage collector. +| +| Other session cookie settings are shared with the rest of the application, +| except for 'cookie_prefix' and 'cookie_httponly', which are ignored here. +| +*/ +$config['sess_driver'] = 'files'; +$config['sess_cookie_name'] = 'ci_session'; +$config['sess_expiration'] = 0; +$config['sess_save_path'] = NULL; +$config['sess_match_ip'] = FALSE; +$config['sess_time_to_update'] = 300; +$config['sess_regenerate_destroy'] = FALSE; + +/* +|-------------------------------------------------------------------------- +| Cookie Related Variables +|-------------------------------------------------------------------------- +| +| 'cookie_prefix' = Set a cookie name prefix if you need to avoid collisions +| 'cookie_domain' = Set to .your-domain.com for site-wide cookies +| 'cookie_path' = Typically will be a forward slash +| 'cookie_secure' = Cookie will only be set if a secure HTTPS connection exists. +| 'cookie_httponly' = Cookie will only be accessible via HTTP(S) (no javascript) +| +| Note: These settings (with the exception of 'cookie_prefix' and +| 'cookie_httponly') will also affect sessions. +| +*/ +$config['cookie_prefix'] = ''; +$config['cookie_domain'] = ''; +$config['cookie_path'] = '/'; +$config['cookie_secure'] = FALSE; +$config['cookie_httponly'] = FALSE; + +/* +|-------------------------------------------------------------------------- +| Standardize newlines +|-------------------------------------------------------------------------- +| +| Determines whether to standardize newline characters in input data, +| meaning to replace \r\n, \r, \n occurrences with the PHP_EOL value. +| +| WARNING: This feature is DEPRECATED and currently available only +| for backwards compatibility purposes! +| +*/ +$config['standardize_newlines'] = FALSE; + +/* +|-------------------------------------------------------------------------- +| Global XSS Filtering +|-------------------------------------------------------------------------- +| +| Determines whether the XSS filter is always active when GET, POST or +| COOKIE data is encountered +| +| WARNING: This feature is DEPRECATED and currently available only +| for backwards compatibility purposes! +| +*/ +$config['global_xss_filtering'] = FALSE; + +/* +|-------------------------------------------------------------------------- +| Cross Site Request Forgery +|-------------------------------------------------------------------------- +| Enables a CSRF cookie token to be set. When set to TRUE, token will be +| checked on a submitted form. If you are accepting user data, it is strongly +| recommended CSRF protection be enabled. +| +| 'csrf_token_name' = The token name +| 'csrf_cookie_name' = The cookie name +| 'csrf_expire' = The number in seconds the token should expire. +| 'csrf_regenerate' = Regenerate token on every submission +| 'csrf_exclude_uris' = Array of URIs which ignore CSRF checks +*/ +$config['csrf_protection'] = FALSE; +$config['csrf_token_name'] = 'csrf_test_name'; +$config['csrf_cookie_name'] = 'csrf_cookie_name'; +$config['csrf_expire'] = 7200; +$config['csrf_regenerate'] = TRUE; +$config['csrf_exclude_uris'] = array(); + +/* +|-------------------------------------------------------------------------- +| Output Compression +|-------------------------------------------------------------------------- +| +| Enables Gzip output compression for faster page loads. When enabled, +| the output class will test whether your server supports Gzip. +| Even if it does, however, not all browsers support compression +| so enable only if you are reasonably sure your visitors can handle it. +| +| Only used if zlib.output_compression is turned off in your php.ini. +| Please do not use it together with httpd-level output compression. +| +| VERY IMPORTANT: If you are getting a blank page when compression is enabled it +| means you are prematurely outputting something to your browser. It could +| even be a line of whitespace at the end of one of your scripts. For +| compression to work, nothing can be sent before the output buffer is called +| by the output class. Do not 'echo' any values with compression enabled. +| +*/ +$config['compress_output'] = FALSE; + +/* +|-------------------------------------------------------------------------- +| Master Time Reference +|-------------------------------------------------------------------------- +| +| Options are 'local' or any PHP supported timezone. This preference tells +| the system whether to use your server's local time as the master 'now' +| reference, or convert it to the configured one timezone. See the 'date +| helper' page of the user guide for information regarding date handling. +| +*/ +$config['time_reference'] = 'local'; + +/* +|-------------------------------------------------------------------------- +| Rewrite PHP Short Tags +|-------------------------------------------------------------------------- +| +| If your PHP installation does not have short tag support enabled CI +| can rewrite the tags on-the-fly, enabling you to utilize that syntax +| in your view files. Options are TRUE or FALSE (boolean) +| +| Note: You need to have eval() enabled for this to work. +| +*/ +$config['rewrite_short_tags'] = FALSE; + +/* +|-------------------------------------------------------------------------- +| Reverse Proxy IPs +|-------------------------------------------------------------------------- +| +| If your server is behind a reverse proxy, you must whitelist the proxy +| IP addresses from which CodeIgniter should trust headers such as +| HTTP_X_FORWARDED_FOR and HTTP_CLIENT_IP in order to properly identify +| the visitor's IP address. +| +| You can use both an array or a comma-separated list of proxy addresses, +| as well as specifying whole subnets. Here are a few examples: +| +| Comma-separated: '10.0.1.200,192.168.5.0/24' +| Array: array('10.0.1.200', '192.168.5.0/24') +*/ +$config['proxy_ips'] = ''; diff --git a/application/config/constants.php b/application/config/constants.php new file mode 100644 index 0000000..18d3b4b --- /dev/null +++ b/application/config/constants.php @@ -0,0 +1,85 @@ +db->last_query() and profiling of DB queries. +| When you run a query, with this setting set to TRUE (default), +| CodeIgniter will store the SQL statement for debugging purposes. +| However, this may cause high memory usage, especially if you run +| a lot of SQL queries ... disable this to avoid that problem. +| +| The $active_group variable lets you choose which connection group to +| make active. By default there is only one group (the 'default' group). +| +| The $query_builder variables lets you determine whether or not to load +| the query builder class. +*/ +$active_group = 'default'; +$query_builder = TRUE; + +$db['default'] = array( + 'dsn' => '', + 'hostname' => 'localhost', + 'username' => 'root', + 'password' => '', + 'database' => 'sekolah', + 'dbdriver' => 'mysqli', + 'dbprefix' => '', + 'pconnect' => FALSE, + 'db_debug' => (ENVIRONMENT !== 'production'), + 'cache_on' => FALSE, + 'cachedir' => '', + 'char_set' => 'utf8', + 'dbcollat' => 'utf8_general_ci', + 'swap_pre' => '', + 'encrypt' => FALSE, + 'compress' => FALSE, + 'stricton' => FALSE, + 'failover' => array(), + 'save_queries' => TRUE +); diff --git a/application/config/doctypes.php b/application/config/doctypes.php new file mode 100644 index 0000000..59a7991 --- /dev/null +++ b/application/config/doctypes.php @@ -0,0 +1,24 @@ + '', + 'xhtml1-strict' => '', + 'xhtml1-trans' => '', + 'xhtml1-frame' => '', + 'xhtml-basic11' => '', + 'html5' => '', + 'html4-strict' => '', + 'html4-trans' => '', + 'html4-frame' => '', + 'mathml1' => '', + 'mathml2' => '', + 'svg10' => '', + 'svg11' => '', + 'svg11-basic' => '', + 'svg11-tiny' => '', + 'xhtml-math-svg-xh' => '', + 'xhtml-math-svg-sh' => '', + 'xhtml-rdfa-1' => '', + 'xhtml-rdfa-2' => '' +); diff --git a/application/config/foreign_chars.php b/application/config/foreign_chars.php new file mode 100644 index 0000000..995f483 --- /dev/null +++ b/application/config/foreign_chars.php @@ -0,0 +1,103 @@ + 'ae', + '/ö|œ/' => 'oe', + '/ü/' => 'ue', + '/Ä/' => 'Ae', + '/Ü/' => 'Ue', + '/Ö/' => 'Oe', + '/À|Á|Â|Ã|Ä|Å|Ǻ|Ā|Ă|Ą|Ǎ|Α|Ά|Ả|Ạ|Ầ|Ẫ|Ẩ|Ậ|Ằ|Ắ|Ẵ|Ẳ|Ặ|А/' => 'A', + '/à|á|â|ã|å|ǻ|ā|ă|ą|ǎ|ª|α|ά|ả|ạ|ầ|ấ|ẫ|ẩ|ậ|ằ|ắ|ẵ|ẳ|ặ|а/' => 'a', + '/Б/' => 'B', + '/б/' => 'b', + '/Ç|Ć|Ĉ|Ċ|Č/' => 'C', + '/ç|ć|ĉ|ċ|č/' => 'c', + '/Д/' => 'D', + '/д/' => 'd', + '/Ð|Ď|Đ|Δ/' => 'Dj', + '/ð|ď|đ|δ/' => 'dj', + '/È|É|Ê|Ë|Ē|Ĕ|Ė|Ę|Ě|Ε|Έ|Ẽ|Ẻ|Ẹ|Ề|Ế|Ễ|Ể|Ệ|Е|Э/' => 'E', + '/è|é|ê|ë|ē|ĕ|ė|ę|ě|έ|ε|ẽ|ẻ|ẹ|ề|ế|ễ|ể|ệ|е|э/' => 'e', + '/Ф/' => 'F', + '/ф/' => 'f', + '/Ĝ|Ğ|Ġ|Ģ|Γ|Г|Ґ/' => 'G', + '/ĝ|ğ|ġ|ģ|γ|г|ґ/' => 'g', + '/Ĥ|Ħ/' => 'H', + '/ĥ|ħ/' => 'h', + '/Ì|Í|Î|Ï|Ĩ|Ī|Ĭ|Ǐ|Į|İ|Η|Ή|Ί|Ι|Ϊ|Ỉ|Ị|И|Ы/' => 'I', + '/ì|í|î|ï|ĩ|ī|ĭ|ǐ|į|ı|η|ή|ί|ι|ϊ|ỉ|ị|и|ы|ї/' => 'i', + '/Ĵ/' => 'J', + '/ĵ/' => 'j', + '/Ķ|Κ|К/' => 'K', + '/ķ|κ|к/' => 'k', + '/Ĺ|Ļ|Ľ|Ŀ|Ł|Λ|Л/' => 'L', + '/ĺ|ļ|ľ|ŀ|ł|λ|л/' => 'l', + '/М/' => 'M', + '/м/' => 'm', + '/Ñ|Ń|Ņ|Ň|Ν|Н/' => 'N', + '/ñ|ń|ņ|ň|ʼn|ν|н/' => 'n', + '/Ò|Ó|Ô|Õ|Ō|Ŏ|Ǒ|Ő|Ơ|Ø|Ǿ|Ο|Ό|Ω|Ώ|Ỏ|Ọ|Ồ|Ố|Ỗ|Ổ|Ộ|Ờ|Ớ|Ỡ|Ở|Ợ|О/' => 'O', + '/ò|ó|ô|õ|ō|ŏ|ǒ|ő|ơ|ø|ǿ|º|ο|ό|ω|ώ|ỏ|ọ|ồ|ố|ỗ|ổ|ộ|ờ|ớ|ỡ|ở|ợ|о/' => 'o', + '/П/' => 'P', + '/п/' => 'p', + '/Ŕ|Ŗ|Ř|Ρ|Р/' => 'R', + '/ŕ|ŗ|ř|ρ|р/' => 'r', + '/Ś|Ŝ|Ş|Ș|Š|Σ|С/' => 'S', + '/ś|ŝ|ş|ș|š|ſ|σ|ς|с/' => 's', + '/Ț|Ţ|Ť|Ŧ|τ|Т/' => 'T', + '/ț|ţ|ť|ŧ|т/' => 't', + '/Þ|þ/' => 'th', + '/Ù|Ú|Û|Ũ|Ū|Ŭ|Ů|Ű|Ų|Ư|Ǔ|Ǖ|Ǘ|Ǚ|Ǜ|Ũ|Ủ|Ụ|Ừ|Ứ|Ữ|Ử|Ự|У/' => 'U', + '/ù|ú|û|ũ|ū|ŭ|ů|ű|ų|ư|ǔ|ǖ|ǘ|ǚ|ǜ|υ|ύ|ϋ|ủ|ụ|ừ|ứ|ữ|ử|ự|у/' => 'u', + '/Ƴ|Ɏ|Ỵ|Ẏ|Ӳ|Ӯ|Ў|Ý|Ÿ|Ŷ|Υ|Ύ|Ϋ|Ỳ|Ỹ|Ỷ|Ỵ|Й/' => 'Y', + '/ẙ|ʏ|ƴ|ɏ|ỵ|ẏ|ӳ|ӯ|ў|ý|ÿ|ŷ|ỳ|ỹ|ỷ|ỵ|й/' => 'y', + '/В/' => 'V', + '/в/' => 'v', + '/Ŵ/' => 'W', + '/ŵ/' => 'w', + '/Ź|Ż|Ž|Ζ|З/' => 'Z', + '/ź|ż|ž|ζ|з/' => 'z', + '/Æ|Ǽ/' => 'AE', + '/ß/' => 'ss', + '/IJ/' => 'IJ', + '/ij/' => 'ij', + '/Œ/' => 'OE', + '/ƒ/' => 'f', + '/ξ/' => 'ks', + '/π/' => 'p', + '/β/' => 'v', + '/μ/' => 'm', + '/ψ/' => 'ps', + '/Ё/' => 'Yo', + '/ё/' => 'yo', + '/Є/' => 'Ye', + '/є/' => 'ye', + '/Ї/' => 'Yi', + '/Ж/' => 'Zh', + '/ж/' => 'zh', + '/Х/' => 'Kh', + '/х/' => 'kh', + '/Ц/' => 'Ts', + '/ц/' => 'ts', + '/Ч/' => 'Ch', + '/ч/' => 'ch', + '/Ш/' => 'Sh', + '/ш/' => 'sh', + '/Щ/' => 'Shch', + '/щ/' => 'shch', + '/Ъ|ъ|Ь|ь/' => '', + '/Ю/' => 'Yu', + '/ю/' => 'yu', + '/Я/' => 'Ya', + '/я/' => 'ya' +); diff --git a/application/config/hooks.php b/application/config/hooks.php new file mode 100644 index 0000000..a8f38a5 --- /dev/null +++ b/application/config/hooks.php @@ -0,0 +1,13 @@ + + + + 403 Forbidden + + + +

Directory access is forbidden.

+ + + diff --git a/application/config/memcached.php b/application/config/memcached.php new file mode 100644 index 0000000..5c23b39 --- /dev/null +++ b/application/config/memcached.php @@ -0,0 +1,19 @@ + array( + 'hostname' => '127.0.0.1', + 'port' => '11211', + 'weight' => '1', + ), +); diff --git a/application/config/migration.php b/application/config/migration.php new file mode 100644 index 0000000..4b585a6 --- /dev/null +++ b/application/config/migration.php @@ -0,0 +1,84 @@ +migration->current() this is the version that schema will +| be upgraded / downgraded to. +| +*/ +$config['migration_version'] = 0; + +/* +|-------------------------------------------------------------------------- +| Migrations Path +|-------------------------------------------------------------------------- +| +| Path to your migrations folder. +| Typically, it will be within your application path. +| Also, writing permission is required within the migrations path. +| +*/ +$config['migration_path'] = APPPATH.'migrations/'; diff --git a/application/config/mimes.php b/application/config/mimes.php new file mode 100644 index 0000000..0ec9db0 --- /dev/null +++ b/application/config/mimes.php @@ -0,0 +1,184 @@ + array('application/mac-binhex40', 'application/mac-binhex', 'application/x-binhex40', 'application/x-mac-binhex40'), + 'cpt' => 'application/mac-compactpro', + 'csv' => array('text/x-comma-separated-values', 'text/comma-separated-values', 'application/octet-stream', 'application/vnd.ms-excel', 'application/x-csv', 'text/x-csv', 'text/csv', 'application/csv', 'application/excel', 'application/vnd.msexcel', 'text/plain'), + 'bin' => array('application/macbinary', 'application/mac-binary', 'application/octet-stream', 'application/x-binary', 'application/x-macbinary'), + 'dms' => 'application/octet-stream', + 'lha' => 'application/octet-stream', + 'lzh' => 'application/octet-stream', + 'exe' => array('application/octet-stream', 'application/x-msdownload'), + 'class' => 'application/octet-stream', + 'psd' => array('application/x-photoshop', 'image/vnd.adobe.photoshop'), + 'so' => 'application/octet-stream', + 'sea' => 'application/octet-stream', + 'dll' => 'application/octet-stream', + 'oda' => 'application/oda', + 'pdf' => array('application/pdf', 'application/force-download', 'application/x-download', 'binary/octet-stream'), + 'ai' => array('application/pdf', 'application/postscript'), + 'eps' => 'application/postscript', + 'ps' => 'application/postscript', + 'smi' => 'application/smil', + 'smil' => 'application/smil', + 'mif' => 'application/vnd.mif', + 'xls' => array('application/vnd.ms-excel', 'application/msexcel', 'application/x-msexcel', 'application/x-ms-excel', 'application/x-excel', 'application/x-dos_ms_excel', 'application/xls', 'application/x-xls', 'application/excel', 'application/download', 'application/vnd.ms-office', 'application/msword'), + 'ppt' => array('application/powerpoint', 'application/vnd.ms-powerpoint', 'application/vnd.ms-office', 'application/msword'), + 'pptx' => array('application/vnd.openxmlformats-officedocument.presentationml.presentation', 'application/x-zip', 'application/zip'), + 'wbxml' => 'application/wbxml', + 'wmlc' => 'application/wmlc', + 'dcr' => 'application/x-director', + 'dir' => 'application/x-director', + 'dxr' => 'application/x-director', + 'dvi' => 'application/x-dvi', + 'gtar' => 'application/x-gtar', + 'gz' => 'application/x-gzip', + 'gzip' => 'application/x-gzip', + 'php' => array('application/x-httpd-php', 'application/php', 'application/x-php', 'text/php', 'text/x-php', 'application/x-httpd-php-source'), + 'php4' => 'application/x-httpd-php', + 'php3' => 'application/x-httpd-php', + 'phtml' => 'application/x-httpd-php', + 'phps' => 'application/x-httpd-php-source', + 'js' => array('application/x-javascript', 'text/plain'), + 'swf' => 'application/x-shockwave-flash', + 'sit' => 'application/x-stuffit', + 'tar' => 'application/x-tar', + 'tgz' => array('application/x-tar', 'application/x-gzip-compressed'), + 'z' => 'application/x-compress', + 'xhtml' => 'application/xhtml+xml', + 'xht' => 'application/xhtml+xml', + 'zip' => array('application/x-zip', 'application/zip', 'application/x-zip-compressed', 'application/s-compressed', 'multipart/x-zip'), + 'rar' => array('application/x-rar', 'application/rar', 'application/x-rar-compressed'), + 'mid' => 'audio/midi', + 'midi' => 'audio/midi', + 'mpga' => 'audio/mpeg', + 'mp2' => 'audio/mpeg', + 'mp3' => array('audio/mpeg', 'audio/mpg', 'audio/mpeg3', 'audio/mp3'), + 'aif' => array('audio/x-aiff', 'audio/aiff'), + 'aiff' => array('audio/x-aiff', 'audio/aiff'), + 'aifc' => 'audio/x-aiff', + 'ram' => 'audio/x-pn-realaudio', + 'rm' => 'audio/x-pn-realaudio', + 'rpm' => 'audio/x-pn-realaudio-plugin', + 'ra' => 'audio/x-realaudio', + 'rv' => 'video/vnd.rn-realvideo', + 'wav' => array('audio/x-wav', 'audio/wave', 'audio/wav'), + 'bmp' => array('image/bmp', 'image/x-bmp', 'image/x-bitmap', 'image/x-xbitmap', 'image/x-win-bitmap', 'image/x-windows-bmp', 'image/ms-bmp', 'image/x-ms-bmp', 'application/bmp', 'application/x-bmp', 'application/x-win-bitmap'), + 'gif' => 'image/gif', + 'jpeg' => array('image/jpeg', 'image/pjpeg'), + 'jpg' => array('image/jpeg', 'image/pjpeg'), + 'jpe' => array('image/jpeg', 'image/pjpeg'), + 'jp2' => array('image/jp2', 'video/mj2', 'image/jpx', 'image/jpm'), + 'j2k' => array('image/jp2', 'video/mj2', 'image/jpx', 'image/jpm'), + 'jpf' => array('image/jp2', 'video/mj2', 'image/jpx', 'image/jpm'), + 'jpg2' => array('image/jp2', 'video/mj2', 'image/jpx', 'image/jpm'), + 'jpx' => array('image/jp2', 'video/mj2', 'image/jpx', 'image/jpm'), + 'jpm' => array('image/jp2', 'video/mj2', 'image/jpx', 'image/jpm'), + 'mj2' => array('image/jp2', 'video/mj2', 'image/jpx', 'image/jpm'), + 'mjp2' => array('image/jp2', 'video/mj2', 'image/jpx', 'image/jpm'), + 'png' => array('image/png', 'image/x-png'), + 'tiff' => 'image/tiff', + 'tif' => 'image/tiff', + 'css' => array('text/css', 'text/plain'), + 'html' => array('text/html', 'text/plain'), + 'htm' => array('text/html', 'text/plain'), + 'shtml' => array('text/html', 'text/plain'), + 'txt' => 'text/plain', + 'text' => 'text/plain', + 'log' => array('text/plain', 'text/x-log'), + 'rtx' => 'text/richtext', + 'rtf' => 'text/rtf', + 'xml' => array('application/xml', 'text/xml', 'text/plain'), + 'xsl' => array('application/xml', 'text/xsl', 'text/xml'), + 'mpeg' => 'video/mpeg', + 'mpg' => 'video/mpeg', + 'mpe' => 'video/mpeg', + 'qt' => 'video/quicktime', + 'mov' => 'video/quicktime', + 'avi' => array('video/x-msvideo', 'video/msvideo', 'video/avi', 'application/x-troff-msvideo'), + 'movie' => 'video/x-sgi-movie', + 'doc' => array('application/msword', 'application/vnd.ms-office'), + 'docx' => array('application/vnd.openxmlformats-officedocument.wordprocessingml.document', 'application/zip', 'application/msword', 'application/x-zip'), + 'dot' => array('application/msword', 'application/vnd.ms-office'), + 'dotx' => array('application/vnd.openxmlformats-officedocument.wordprocessingml.document', 'application/zip', 'application/msword'), + 'xlsx' => array('application/vnd.openxmlformats-officedocument.spreadsheetml.sheet', 'application/zip', 'application/vnd.ms-excel', 'application/msword', 'application/x-zip'), + 'word' => array('application/msword', 'application/octet-stream'), + 'xl' => 'application/excel', + 'eml' => 'message/rfc822', + 'json' => array('application/json', 'text/json'), + 'pem' => array('application/x-x509-user-cert', 'application/x-pem-file', 'application/octet-stream'), + 'p10' => array('application/x-pkcs10', 'application/pkcs10'), + 'p12' => 'application/x-pkcs12', + 'p7a' => 'application/x-pkcs7-signature', + 'p7c' => array('application/pkcs7-mime', 'application/x-pkcs7-mime'), + 'p7m' => array('application/pkcs7-mime', 'application/x-pkcs7-mime'), + 'p7r' => 'application/x-pkcs7-certreqresp', + 'p7s' => 'application/pkcs7-signature', + 'crt' => array('application/x-x509-ca-cert', 'application/x-x509-user-cert', 'application/pkix-cert'), + 'crl' => array('application/pkix-crl', 'application/pkcs-crl'), + 'der' => 'application/x-x509-ca-cert', + 'kdb' => 'application/octet-stream', + 'pgp' => 'application/pgp', + 'gpg' => 'application/gpg-keys', + 'sst' => 'application/octet-stream', + 'csr' => 'application/octet-stream', + 'rsa' => 'application/x-pkcs7', + 'cer' => array('application/pkix-cert', 'application/x-x509-ca-cert'), + '3g2' => 'video/3gpp2', + '3gp' => array('video/3gp', 'video/3gpp'), + 'mp4' => 'video/mp4', + 'm4a' => 'audio/x-m4a', + 'f4v' => array('video/mp4', 'video/x-f4v'), + 'flv' => 'video/x-flv', + 'webm' => 'video/webm', + 'aac' => 'audio/x-acc', + 'm4u' => 'application/vnd.mpegurl', + 'm3u' => 'text/plain', + 'xspf' => 'application/xspf+xml', + 'vlc' => 'application/videolan', + 'wmv' => array('video/x-ms-wmv', 'video/x-ms-asf'), + 'au' => 'audio/x-au', + 'ac3' => 'audio/ac3', + 'flac' => 'audio/x-flac', + 'ogg' => array('audio/ogg', 'video/ogg', 'application/ogg'), + 'kmz' => array('application/vnd.google-earth.kmz', 'application/zip', 'application/x-zip'), + 'kml' => array('application/vnd.google-earth.kml+xml', 'application/xml', 'text/xml'), + 'ics' => 'text/calendar', + 'ical' => 'text/calendar', + 'zsh' => 'text/x-scriptzsh', + '7z' => array('application/x-7z-compressed', 'application/x-compressed', 'application/x-zip-compressed', 'application/zip', 'multipart/x-zip'), + '7zip' => array('application/x-7z-compressed', 'application/x-compressed', 'application/x-zip-compressed', 'application/zip', 'multipart/x-zip'), + 'cdr' => array('application/cdr', 'application/coreldraw', 'application/x-cdr', 'application/x-coreldraw', 'image/cdr', 'image/x-cdr', 'zz-application/zz-winassoc-cdr'), + 'wma' => array('audio/x-ms-wma', 'video/x-ms-asf'), + 'jar' => array('application/java-archive', 'application/x-java-application', 'application/x-jar', 'application/x-compressed'), + 'svg' => array('image/svg+xml', 'application/xml', 'text/xml'), + 'vcf' => 'text/x-vcard', + 'srt' => array('text/srt', 'text/plain'), + 'vtt' => array('text/vtt', 'text/plain'), + 'ico' => array('image/x-icon', 'image/x-ico', 'image/vnd.microsoft.icon'), + 'odc' => 'application/vnd.oasis.opendocument.chart', + 'otc' => 'application/vnd.oasis.opendocument.chart-template', + 'odf' => 'application/vnd.oasis.opendocument.formula', + 'otf' => 'application/vnd.oasis.opendocument.formula-template', + 'odg' => 'application/vnd.oasis.opendocument.graphics', + 'otg' => 'application/vnd.oasis.opendocument.graphics-template', + 'odi' => 'application/vnd.oasis.opendocument.image', + 'oti' => 'application/vnd.oasis.opendocument.image-template', + 'odp' => 'application/vnd.oasis.opendocument.presentation', + 'otp' => 'application/vnd.oasis.opendocument.presentation-template', + 'ods' => 'application/vnd.oasis.opendocument.spreadsheet', + 'ots' => 'application/vnd.oasis.opendocument.spreadsheet-template', + 'odt' => 'application/vnd.oasis.opendocument.text', + 'odm' => 'application/vnd.oasis.opendocument.text-master', + 'ott' => 'application/vnd.oasis.opendocument.text-template', + 'oth' => 'application/vnd.oasis.opendocument.text-web' +); diff --git a/application/config/profiler.php b/application/config/profiler.php new file mode 100644 index 0000000..3db22e3 --- /dev/null +++ b/application/config/profiler.php @@ -0,0 +1,14 @@ + my_controller/index +| my-controller/my-method -> my_controller/my_method +*/ +$route['default_controller'] = 'home'; +$route['administrator']='admin/login'; +$route['artikel']='blog'; +$route['artikel']='blog/index'; +$route['artikel/(:any)']='blog/detail/$1'; +$route['elearning'] = 'elearning/home'; +$route['elearning/logout'] = 'elearning/login/logout'; +$route['elearning/pelajaran/(:any)'] = 'elearning/pelajaran/index/$1'; +$route['elearning/upload']['POST'] = 'elearning/upload/upload_materi'; +$route['404_override'] = ''; +$route['translate_uri_dashes'] = FALSE; \ No newline at end of file diff --git a/application/config/smileys.php b/application/config/smileys.php new file mode 100644 index 0000000..abf9a89 --- /dev/null +++ b/application/config/smileys.php @@ -0,0 +1,64 @@ + array('grin.gif', '19', '19', 'grin'), + ':lol:' => array('lol.gif', '19', '19', 'LOL'), + ':cheese:' => array('cheese.gif', '19', '19', 'cheese'), + ':)' => array('smile.gif', '19', '19', 'smile'), + ';-)' => array('wink.gif', '19', '19', 'wink'), + ';)' => array('wink.gif', '19', '19', 'wink'), + ':smirk:' => array('smirk.gif', '19', '19', 'smirk'), + ':roll:' => array('rolleyes.gif', '19', '19', 'rolleyes'), + ':-S' => array('confused.gif', '19', '19', 'confused'), + ':wow:' => array('surprise.gif', '19', '19', 'surprised'), + ':bug:' => array('bigsurprise.gif', '19', '19', 'big surprise'), + ':-P' => array('tongue_laugh.gif', '19', '19', 'tongue laugh'), + '%-P' => array('tongue_rolleye.gif', '19', '19', 'tongue rolleye'), + ';-P' => array('tongue_wink.gif', '19', '19', 'tongue wink'), + ':P' => array('raspberry.gif', '19', '19', 'raspberry'), + ':blank:' => array('blank.gif', '19', '19', 'blank stare'), + ':long:' => array('longface.gif', '19', '19', 'long face'), + ':ohh:' => array('ohh.gif', '19', '19', 'ohh'), + ':grrr:' => array('grrr.gif', '19', '19', 'grrr'), + ':gulp:' => array('gulp.gif', '19', '19', 'gulp'), + '8-/' => array('ohoh.gif', '19', '19', 'oh oh'), + ':down:' => array('downer.gif', '19', '19', 'downer'), + ':red:' => array('embarrassed.gif', '19', '19', 'red face'), + ':sick:' => array('sick.gif', '19', '19', 'sick'), + ':shut:' => array('shuteye.gif', '19', '19', 'shut eye'), + ':-/' => array('hmm.gif', '19', '19', 'hmmm'), + '>:(' => array('mad.gif', '19', '19', 'mad'), + ':mad:' => array('mad.gif', '19', '19', 'mad'), + '>:-(' => array('angry.gif', '19', '19', 'angry'), + ':angry:' => array('angry.gif', '19', '19', 'angry'), + ':zip:' => array('zip.gif', '19', '19', 'zipper'), + ':kiss:' => array('kiss.gif', '19', '19', 'kiss'), + ':ahhh:' => array('shock.gif', '19', '19', 'shock'), + ':coolsmile:' => array('shade_smile.gif', '19', '19', 'cool smile'), + ':coolsmirk:' => array('shade_smirk.gif', '19', '19', 'cool smirk'), + ':coolgrin:' => array('shade_grin.gif', '19', '19', 'cool grin'), + ':coolhmm:' => array('shade_hmm.gif', '19', '19', 'cool hmm'), + ':coolmad:' => array('shade_mad.gif', '19', '19', 'cool mad'), + ':coolcheese:' => array('shade_cheese.gif', '19', '19', 'cool cheese'), + ':vampire:' => array('vampire.gif', '19', '19', 'vampire'), + ':snake:' => array('snake.gif', '19', '19', 'snake'), + ':exclaim:' => array('exclaim.gif', '19', '19', 'exclaim'), + ':question:' => array('question.gif', '19', '19', 'question') + +); diff --git a/application/config/user_agents.php b/application/config/user_agents.php new file mode 100644 index 0000000..b6c8563 --- /dev/null +++ b/application/config/user_agents.php @@ -0,0 +1,214 @@ + 'Windows 10', + 'windows nt 6.3' => 'Windows 8.1', + 'windows nt 6.2' => 'Windows 8', + 'windows nt 6.1' => 'Windows 7', + 'windows nt 6.0' => 'Windows Vista', + 'windows nt 5.2' => 'Windows 2003', + 'windows nt 5.1' => 'Windows XP', + 'windows nt 5.0' => 'Windows 2000', + 'windows nt 4.0' => 'Windows NT 4.0', + 'winnt4.0' => 'Windows NT 4.0', + 'winnt 4.0' => 'Windows NT', + 'winnt' => 'Windows NT', + 'windows 98' => 'Windows 98', + 'win98' => 'Windows 98', + 'windows 95' => 'Windows 95', + 'win95' => 'Windows 95', + 'windows phone' => 'Windows Phone', + 'windows' => 'Unknown Windows OS', + 'android' => 'Android', + 'blackberry' => 'BlackBerry', + 'iphone' => 'iOS', + 'ipad' => 'iOS', + 'ipod' => 'iOS', + 'os x' => 'Mac OS X', + 'ppc mac' => 'Power PC Mac', + 'freebsd' => 'FreeBSD', + 'ppc' => 'Macintosh', + 'linux' => 'Linux', + 'debian' => 'Debian', + 'sunos' => 'Sun Solaris', + 'beos' => 'BeOS', + 'apachebench' => 'ApacheBench', + 'aix' => 'AIX', + 'irix' => 'Irix', + 'osf' => 'DEC OSF', + 'hp-ux' => 'HP-UX', + 'netbsd' => 'NetBSD', + 'bsdi' => 'BSDi', + 'openbsd' => 'OpenBSD', + 'gnu' => 'GNU/Linux', + 'unix' => 'Unknown Unix OS', + 'symbian' => 'Symbian OS' +); + + +// The order of this array should NOT be changed. Many browsers return +// multiple browser types so we want to identify the sub-type first. +$browsers = array( + 'OPR' => 'Opera', + 'Flock' => 'Flock', + 'Edge' => 'Edge', + 'Chrome' => 'Chrome', + // Opera 10+ always reports Opera/9.80 and appends Version/ to the user agent string + 'Opera.*?Version' => 'Opera', + 'Opera' => 'Opera', + 'MSIE' => 'Internet Explorer', + 'Internet Explorer' => 'Internet Explorer', + 'Trident.* rv' => 'Internet Explorer', + 'Shiira' => 'Shiira', + 'Firefox' => 'Firefox', + 'Chimera' => 'Chimera', + 'Phoenix' => 'Phoenix', + 'Firebird' => 'Firebird', + 'Camino' => 'Camino', + 'Netscape' => 'Netscape', + 'OmniWeb' => 'OmniWeb', + 'Safari' => 'Safari', + 'Mozilla' => 'Mozilla', + 'Konqueror' => 'Konqueror', + 'icab' => 'iCab', + 'Lynx' => 'Lynx', + 'Links' => 'Links', + 'hotjava' => 'HotJava', + 'amaya' => 'Amaya', + 'IBrowse' => 'IBrowse', + 'Maxthon' => 'Maxthon', + 'Ubuntu' => 'Ubuntu Web Browser' +); + +$mobiles = array( + // legacy array, old values commented out + 'mobileexplorer' => 'Mobile Explorer', +// 'openwave' => 'Open Wave', +// 'opera mini' => 'Opera Mini', +// 'operamini' => 'Opera Mini', +// 'elaine' => 'Palm', + 'palmsource' => 'Palm', +// 'digital paths' => 'Palm', +// 'avantgo' => 'Avantgo', +// 'xiino' => 'Xiino', + 'palmscape' => 'Palmscape', +// 'nokia' => 'Nokia', +// 'ericsson' => 'Ericsson', +// 'blackberry' => 'BlackBerry', +// 'motorola' => 'Motorola' + + // Phones and Manufacturers + 'motorola' => 'Motorola', + 'nokia' => 'Nokia', + 'palm' => 'Palm', + 'iphone' => 'Apple iPhone', + 'ipad' => 'iPad', + 'ipod' => 'Apple iPod Touch', + 'sony' => 'Sony Ericsson', + 'ericsson' => 'Sony Ericsson', + 'blackberry' => 'BlackBerry', + 'cocoon' => 'O2 Cocoon', + 'blazer' => 'Treo', + 'lg' => 'LG', + 'amoi' => 'Amoi', + 'xda' => 'XDA', + 'mda' => 'MDA', + 'vario' => 'Vario', + 'htc' => 'HTC', + 'samsung' => 'Samsung', + 'sharp' => 'Sharp', + 'sie-' => 'Siemens', + 'alcatel' => 'Alcatel', + 'benq' => 'BenQ', + 'ipaq' => 'HP iPaq', + 'mot-' => 'Motorola', + 'playstation portable' => 'PlayStation Portable', + 'playstation 3' => 'PlayStation 3', + 'playstation vita' => 'PlayStation Vita', + 'hiptop' => 'Danger Hiptop', + 'nec-' => 'NEC', + 'panasonic' => 'Panasonic', + 'philips' => 'Philips', + 'sagem' => 'Sagem', + 'sanyo' => 'Sanyo', + 'spv' => 'SPV', + 'zte' => 'ZTE', + 'sendo' => 'Sendo', + 'nintendo dsi' => 'Nintendo DSi', + 'nintendo ds' => 'Nintendo DS', + 'nintendo 3ds' => 'Nintendo 3DS', + 'wii' => 'Nintendo Wii', + 'open web' => 'Open Web', + 'openweb' => 'OpenWeb', + + // Operating Systems + 'android' => 'Android', + 'symbian' => 'Symbian', + 'SymbianOS' => 'SymbianOS', + 'elaine' => 'Palm', + 'series60' => 'Symbian S60', + 'windows ce' => 'Windows CE', + + // Browsers + 'obigo' => 'Obigo', + 'netfront' => 'Netfront Browser', + 'openwave' => 'Openwave Browser', + 'mobilexplorer' => 'Mobile Explorer', + 'operamini' => 'Opera Mini', + 'opera mini' => 'Opera Mini', + 'opera mobi' => 'Opera Mobile', + 'fennec' => 'Firefox Mobile', + + // Other + 'digital paths' => 'Digital Paths', + 'avantgo' => 'AvantGo', + 'xiino' => 'Xiino', + 'novarra' => 'Novarra Transcoder', + 'vodafone' => 'Vodafone', + 'docomo' => 'NTT DoCoMo', + 'o2' => 'O2', + + // Fallback + 'mobile' => 'Generic Mobile', + 'wireless' => 'Generic Mobile', + 'j2me' => 'Generic Mobile', + 'midp' => 'Generic Mobile', + 'cldc' => 'Generic Mobile', + 'up.link' => 'Generic Mobile', + 'up.browser' => 'Generic Mobile', + 'smartphone' => 'Generic Mobile', + 'cellphone' => 'Generic Mobile' +); + +// There are hundreds of bots but these are the most common. +$robots = array( + 'googlebot' => 'Googlebot', + 'msnbot' => 'MSNBot', + 'baiduspider' => 'Baiduspider', + 'bingbot' => 'Bing', + 'slurp' => 'Inktomi Slurp', + 'yahoo' => 'Yahoo', + 'ask jeeves' => 'Ask Jeeves', + 'fastcrawler' => 'FastCrawler', + 'infoseek' => 'InfoSeek Robot 1.0', + 'lycos' => 'Lycos', + 'yandex' => 'YandexBot', + 'mediapartners-google' => 'MediaPartners Google', + 'CRAZYWEBCRAWLER' => 'Crazy Webcrawler', + 'adsbot-google' => 'AdsBot Google', + 'feedfetcher-google' => 'Feedfetcher Google', + 'curious george' => 'Curious George', + 'ia_archiver' => 'Alexa Crawler', + 'MJ12bot' => 'Majestic-12', + 'Uptimebot' => 'Uptimebot' +); diff --git a/application/controllers/Agenda.php b/application/controllers/Agenda.php new file mode 100644 index 0000000..d4ff049 --- /dev/null +++ b/application/controllers/Agenda.php @@ -0,0 +1,47 @@ +load->model('m_pengunjung'); + $this->m_pengunjung->count_visitor(); + } + function index(){ + + $page=$this->uri->segment(3); + if(!$page): + $offset = 0; + else: + $offset = $page; + endif; + $limit=7; + $config['base_url'] = base_url() . 'agenda/index/'; + + $config['per_page'] = $limit; + $config['uri_segment'] = 3; + //Tambahan untuk styling + $config['full_tag_open'] = '
'; + $config['num_tag_open'] = '
  • '; + $config['num_tag_close'] = '
  • '; + $config['cur_tag_open'] = '
  • '; + $config['cur_tag_close'] = '(current)
  • '; + $config['next_tag_open'] = '
  • '; + $config['next_tagl_close'] = '
  • '; + $config['prev_tag_open'] = '
  • '; + $config['prev_tagl_close'] = 'Next
  • '; + $config['first_tag_open'] = '
  • '; + $config['first_tagl_close'] = '
  • '; + $config['last_tag_open'] = '
  • '; + $config['last_tagl_close'] = '
  • '; + $config['first_link'] = 'Awal'; + $config['last_link'] = 'Akhir'; + $config['next_link'] = 'Next >>'; + $config['prev_link'] = '<< Prev'; + $this->pagination->initialize($config); + $x['page'] =$this->pagination->create_links(); + + $this->load->view('depan/v_agenda',$x); + } + +} diff --git a/application/controllers/Blog.php b/application/controllers/Blog.php new file mode 100644 index 0000000..fab3c99 --- /dev/null +++ b/application/controllers/Blog.php @@ -0,0 +1,128 @@ +load->model('m_tulisan'); + $this->load->model('m_pengunjung'); + $this->m_pengunjung->count_visitor(); + } + function index(){ + $jum=$this->m_tulisan->berita(); + $page=$this->uri->segment(3); + if(!$page): + $offset = 0; + else: + $offset = $page; + endif; + $limit=5; + $config['base_url'] = base_url() . 'blog/index/'; + $config['total_rows'] = $jum->num_rows(); + $config['per_page'] = $limit; + $config['uri_segment'] = 3; + //Tambahan untuk styling + $config['full_tag_open'] = '
    '; + $config['num_tag_open'] = '
  • '; + $config['num_tag_close'] = '
  • '; + $config['cur_tag_open'] = '
  • '; + $config['cur_tag_close'] = '(current)
  • '; + $config['next_tag_open'] = '
  • '; + $config['next_tagl_close'] = '
  • '; + $config['prev_tag_open'] = '
  • '; + $config['prev_tagl_close'] = 'Next
  • '; + $config['first_tag_open'] = '
  • '; + $config['first_tagl_close'] = '
  • '; + $config['last_tag_open'] = '
  • '; + $config['last_tagl_close'] = '
  • '; + $config['first_link'] = 'Awal'; + $config['last_link'] = 'Akhir'; + $config['next_link'] = 'Next >>'; + $config['prev_link'] = '<< Prev'; + $this->pagination->initialize($config); + $x['page'] =$this->pagination->create_links(); + $x['data']=$this->m_tulisan->berita_perpage($offset,$limit); + $x['category']=$this->db->get('tbl_kategori'); + $x['populer']=$this->db->query("SELECT * FROM tbl_tulisan ORDER BY tulisan_views DESC LIMIT 5"); + $this->load->view('depan/v_blog',$x); + } + function detail($slugs){ + $slug=htmlspecialchars($slugs,ENT_QUOTES); + $query = $this->db->get_where('tbl_tulisan', array('tulisan_slug' => $slug)); + if($query->num_rows() > 0){ + $b=$query->row_array(); + $kode=$b['tulisan_id']; + $this->db->query("UPDATE tbl_tulisan SET tulisan_views=tulisan_views+1 WHERE tulisan_id='$kode'"); + $data=$this->m_tulisan->get_berita_by_kode($kode); + $row=$data->row_array(); + $x['id']=$row['tulisan_id']; + $x['title']=$row['tulisan_judul']; + $x['image']=$row['tulisan_gambar']; + $x['blog'] =$row['tulisan_isi']; + $x['tanggal']=$row['tanggal']; + $x['author']=$row['tulisan_author']; + $x['kategori']=$row['tulisan_kategori_nama']; + $x['slug']=$row['tulisan_slug']; + $x['show_komentar']=$this->m_tulisan->show_komentar_by_tulisan_id($kode); + $x['category']=$this->db->get('tbl_kategori'); + $x['populer']=$this->db->query("SELECT * FROM tbl_tulisan ORDER BY tulisan_views DESC LIMIT 5"); + $this->load->view('depan/v_blog_detail',$x); + }else{ + redirect('artikel'); + } + } + + function kategori(){ + $kategori=str_replace("-"," ",$this->uri->segment(3)); + $query = $this->db->query("SELECT tbl_tulisan.*,DATE_FORMAT(tulisan_tanggal,'%d/%m/%Y') AS tanggal FROM tbl_tulisan WHERE tulisan_kategori_nama LIKE '%$kategori%' ORDER BY tulisan_views DESC LIMIT 5"); + if($query->num_rows() > 0){ + $x['data']=$query; + $x['category']=$this->db->get('tbl_kategori'); + $x['populer']=$this->db->query("SELECT * FROM tbl_tulisan ORDER BY tulisan_views DESC LIMIT 5"); + $this->load->view('depan/v_blog',$x); + }else{ + echo $this->session->set_flashdata('msg','
    Tidak Ada artikel untuk kategori '.$kategori.'
    '); + redirect('artikel'); + } + } + + function search(){ + $keyword=str_replace("'", "", htmlspecialchars($this->input->get('keyword',TRUE),ENT_QUOTES)); + $query=$this->m_tulisan->cari_berita($keyword); + if($query->num_rows() > 0){ + $x['data']=$query; + $x['category']=$this->db->get('tbl_kategori'); + $x['populer']=$this->db->query("SELECT * FROM tbl_tulisan ORDER BY tulisan_views DESC LIMIT 5"); + $this->load->view('depan/v_blog',$x); + }else{ + echo $this->session->set_flashdata('msg','
    Tidak dapat menemukan artikel dengan kata kunci '.$keyword.'
    '); + redirect('artikel'); + } + } + + function komentar(){ + $kode = htmlspecialchars($this->input->post('id',TRUE),ENT_QUOTES); + $data=$this->m_tulisan->get_berita_by_kode($kode); + $row=$data->row_array(); + $slug=$row['tulisan_slug']; + $nama = htmlspecialchars($this->input->post('nama',TRUE),ENT_QUOTES); + $email = htmlspecialchars($this->input->post('email',TRUE),ENT_QUOTES); + $komentar = nl2br(htmlspecialchars($this->input->post('komentar',TRUE),ENT_QUOTES)); + if(empty($nama) || empty($email)){ + $this->session->set_flashdata('msg','
    Masukkan input dengan benar.
    '); + redirect('artikel/'.$slug); + }else{ + $data = array( + 'komentar_nama' => $nama, + 'komentar_email' => $email, + 'komentar_isi' => $komentar, + 'komentar_status' => 0, + 'komentar_tulisan_id' => $kode + ); + + $this->db->insert('tbl_komentar', $data); + $this->session->set_flashdata('msg','
    Komentar Anda akan tampil setelah moderasi.
    '); + redirect('artikel/'.$slug); + } + } + +} diff --git a/application/controllers/Contact.php b/application/controllers/Contact.php new file mode 100644 index 0000000..18749e6 --- /dev/null +++ b/application/controllers/Contact.php @@ -0,0 +1,22 @@ +load->model('m_kontak'); + $this->load->model('m_pengunjung'); + $this->m_pengunjung->count_visitor(); + } + function index(){ + $this->load->view('depan/v_contact'); + } + + function kirim_pesan(){ + $nama=htmlspecialchars($this->input->post('xnama',TRUE),ENT_QUOTES); + $email=htmlspecialchars($this->input->post('xemail',TRUE),ENT_QUOTES); + $kontak=htmlspecialchars($this->input->post('xphone',TRUE),ENT_QUOTES); + $pesan=htmlspecialchars($this->input->post('xmessage',TRUE),ENT_QUOTES); + $this->m_kontak->kirim_pesan($nama,$email,$kontak,$pesan); + echo $this->session->set_flashdata('msg','

    NB: Terima Kasih Telah Menghubungi Kami.

    '); + redirect('contact'); + } +} diff --git a/application/controllers/Download.php b/application/controllers/Download.php new file mode 100644 index 0000000..c74b2a1 --- /dev/null +++ b/application/controllers/Download.php @@ -0,0 +1,26 @@ +load->model('m_files'); + $this->load->helper('download'); + $this->load->model('m_pengunjung'); + $this->m_pengunjung->count_visitor(); + } + function index(){ + $x['data']=$this->m_files->get_all_files(); + $this->load->view('depan/v_download',$x); + } + + function get_file(){ + $id=$this->uri->segment(3); + $get_db=$this->m_files->get_file_byid($id); + $q=$get_db->row_array(); + $file=$q['file_data']; + $path='./assets/files/'.$file; + $data = file_get_contents($path); + $name = $file; + force_download($name, $data); + } + +} diff --git a/application/controllers/Galeri.php b/application/controllers/Galeri.php new file mode 100644 index 0000000..692f333 --- /dev/null +++ b/application/controllers/Galeri.php @@ -0,0 +1,21 @@ +load->model('m_galeri'); + $this->load->model('m_album'); + $this->load->model('m_pengunjung'); + $this->m_pengunjung->count_visitor(); + } + function index(){ + $x['alb']=$this->m_album->get_all_album(); + $x['all_galeri']=$this->m_galeri->get_all_galeri(); + $this->load->view('depan/v_galeri',$x); + } + function album(){ + $idalbum=$this->uri->segment(3); + $x['alb']=$this->m_album->get_all_album(); + $x['data']=$this->m_galeri->get_galeri_by_album_id($idalbum); + $this->load->view('depan/v_galeri_per_album',$x); + } +} diff --git a/application/controllers/Guru.php b/application/controllers/Guru.php new file mode 100644 index 0000000..2208d50 --- /dev/null +++ b/application/controllers/Guru.php @@ -0,0 +1,48 @@ +load->model('m_guru'); + $this->load->model('m_pengunjung'); + $this->m_pengunjung->count_visitor(); + } + function index(){ + $jum=$this->m_guru->guru(); + $page=$this->uri->segment(3); + if(!$page): + $offset = 0; + else: + $offset = $page; + endif; + $limit=8; + $config['base_url'] = base_url() . 'guru/index/'; + $config['total_rows'] = $jum->num_rows(); + $config['per_page'] = $limit; + $config['uri_segment'] = 3; + //Tambahan untuk styling + $config['full_tag_open'] = '
    '; + $config['num_tag_open'] = '
  • '; + $config['num_tag_close'] = '
  • '; + $config['cur_tag_open'] = '
  • '; + $config['cur_tag_close'] = '(current)
  • '; + $config['next_tag_open'] = '
  • '; + $config['next_tagl_close'] = '
  • '; + $config['prev_tag_open'] = '
  • '; + $config['prev_tagl_close'] = 'Next
  • '; + $config['first_tag_open'] = '
  • '; + $config['first_tagl_close'] = '
  • '; + $config['last_tag_open'] = '
  • '; + $config['last_tagl_close'] = '
  • '; + + $config['first_link'] = 'Awal'; + $config['last_link'] = 'Akhir'; + $config['next_link'] = 'Next >>'; + $config['prev_link'] = '<< Prev'; + $this->pagination->initialize($config); + $x['page'] =$this->pagination->create_links(); + $x['data']=$this->m_guru->guru_perpage($offset,$limit); + $this->load->view('depan/v_guru',$x); + } + +} diff --git a/application/controllers/Home.php b/application/controllers/Home.php new file mode 100644 index 0000000..1d48781 --- /dev/null +++ b/application/controllers/Home.php @@ -0,0 +1,20 @@ +load->model('m_tulisan'); + $this->load->model('m_galeri'); + $this->load->model('m_pengumuman'); + + $this->load->model('m_files'); + $this->load->model('m_pengunjung'); + $this->m_pengunjung->count_visitor(); + } + function index(){ + $x['berita']=$this->m_tulisan->get_berita_home(); + $x['pengumuman']=$this->m_pengumuman->get_pengumuman_home(); + + $this->load->view('depan/v_home',$x); + } + +} diff --git a/application/controllers/Pengumuman.php b/application/controllers/Pengumuman.php new file mode 100644 index 0000000..556c3d2 --- /dev/null +++ b/application/controllers/Pengumuman.php @@ -0,0 +1,47 @@ +load->model('m_pengumuman'); + $this->load->model('m_pengunjung'); + $this->m_pengunjung->count_visitor(); + } + function index(){ + $jum=$this->m_pengumuman->pengumuman(); + $page=$this->uri->segment(3); + if(!$page): + $offset = 0; + else: + $offset = $page; + endif; + $limit=7; + $config['base_url'] = base_url() . 'pengumuman/index/'; + $config['total_rows'] = $jum->num_rows(); + $config['per_page'] = $limit; + $config['uri_segment'] = 3; + //Tambahan untuk styling + $config['full_tag_open'] = '
    '; + $config['num_tag_open'] = '
  • '; + $config['num_tag_close'] = '
  • '; + $config['cur_tag_open'] = '
  • '; + $config['cur_tag_close'] = '(current)
  • '; + $config['next_tag_open'] = '
  • '; + $config['next_tagl_close'] = '
  • '; + $config['prev_tag_open'] = '
  • '; + $config['prev_tagl_close'] = 'Next
  • '; + $config['first_tag_open'] = '
  • '; + $config['first_tagl_close'] = '
  • '; + $config['last_tag_open'] = '
  • '; + $config['last_tagl_close'] = '
  • '; + $config['first_link'] = 'Awal'; + $config['last_link'] = 'Akhir'; + $config['next_link'] = 'Next >>'; + $config['prev_link'] = '<< Prev'; + $this->pagination->initialize($config); + $x['page'] =$this->pagination->create_links(); + $x['data']=$this->m_pengumuman->pengumuman_perpage($offset,$limit); + $this->load->view('depan/v_pengumuman',$x); + } + +} diff --git a/application/controllers/Profil.php b/application/controllers/Profil.php new file mode 100644 index 0000000..d473e03 --- /dev/null +++ b/application/controllers/Profil.php @@ -0,0 +1,14 @@ +load->model('m_pengunjung'); + $this->m_pengunjung->count_visitor(); + } + function index(){ + $x['tot_guru']=$this->db->get('tbl_guru')->num_rows(); + $x['tot_files']=$this->db->get('tbl_files')->num_rows(); + $x['tot_agenda']=$this->db->get('tbl_agenda')->num_rows(); + $this->load->view('depan/v_profil',$x); + } +} diff --git a/application/controllers/Sejarah.php b/application/controllers/Sejarah.php new file mode 100644 index 0000000..b3db174 --- /dev/null +++ b/application/controllers/Sejarah.php @@ -0,0 +1,14 @@ +load->model('m_sejarah'); + + + } + function index(){ + $x['sejarah']=$this->m_sejarah->get_all_sejarah(); + + $this->load->view('depan/v_sejarah', $x); + } +} \ No newline at end of file diff --git a/application/controllers/Staptu.php b/application/controllers/Staptu.php new file mode 100644 index 0000000..135a5f4 --- /dev/null +++ b/application/controllers/Staptu.php @@ -0,0 +1,48 @@ +load->model('m_staptu'); + $this->load->model('m_pengunjung'); + $this->m_pengunjung->count_visitor(); + } + function index(){ + $jum=$this->m_staptu->staptu(); + $page=$this->uri->segment(3); + if(!$page): + $offset = 0; + else: + $offset = $page; + endif; + $limit=8; + $config['base_url'] = base_url() . 'staptu/index/'; + $config['total_rows'] = $jum->num_rows(); + $config['per_page'] = $limit; + $config['uri_segment'] = 3; + //Tambahan untuk styling + $config['full_tag_open'] = '
    '; + $config['num_tag_open'] = '
  • '; + $config['num_tag_close'] = '
  • '; + $config['cur_tag_open'] = '
  • '; + $config['cur_tag_close'] = '(current)
  • '; + $config['next_tag_open'] = '
  • '; + $config['next_tagl_close'] = '
  • '; + $config['prev_tag_open'] = '
  • '; + $config['prev_tagl_close'] = 'Next
  • '; + $config['first_tag_open'] = '
  • '; + $config['first_tagl_close'] = '
  • '; + $config['last_tag_open'] = '
  • '; + $config['last_tagl_close'] = '
  • '; + + $config['first_link'] = 'Awal'; + $config['last_link'] = 'Akhir'; + $config['next_link'] = 'Next >>'; + $config['prev_link'] = '<< Prev'; + $this->pagination->initialize($config); + $x['page'] =$this->pagination->create_links(); + $x['data']=$this->m_staptu->staptu_perpage($offset,$limit); + $this->load->view('depan/v_staptu',$x); + } + +} diff --git a/application/controllers/Visimisi.php b/application/controllers/Visimisi.php new file mode 100644 index 0000000..37eb9f5 --- /dev/null +++ b/application/controllers/Visimisi.php @@ -0,0 +1,14 @@ +load->model('m_visi'); + $this->load->model('m_misi'); + + } + function index(){ + $x['visi']=$this->m_visi->get_all_visi(); + $x['misi']=$this->m_misi->get_all_misi(); + $this->load->view('depan/v_visimisi', $x); + } +} \ No newline at end of file diff --git a/application/controllers/Welcome.php b/application/controllers/Welcome.php new file mode 100644 index 0000000..21bef43 --- /dev/null +++ b/application/controllers/Welcome.php @@ -0,0 +1,27 @@ + + * @see http://codeigniter.com/user_guide/general/urls.html + */ + public function index() + { + $this->load->view('welcome_message'); + } +} + +/* End of file welcome.php */ +/* Location: ./application/controllers/welcome.php */ \ No newline at end of file diff --git a/application/controllers/admin/Album.php b/application/controllers/admin/Album.php new file mode 100644 index 0000000..466e079 --- /dev/null +++ b/application/controllers/admin/Album.php @@ -0,0 +1,133 @@ +session->userdata('masuk') !=TRUE){ + $url=base_url('administrator'); + redirect($url); + }; + $this->load->model('m_album'); + $this->load->model('m_pengguna'); + $this->load->library('upload'); + } + + + function index(){ + $x['data']=$this->m_album->get_all_album(); + $this->load->view('admin/v_album',$x); + } + + function simpan_album(){ + $config['upload_path'] = './assets/images/'; //path folder + $config['allowed_types'] = 'gif|jpg|png|jpeg|bmp'; //type yang dapat diakses bisa anda sesuaikan + $config['encrypt_name'] = TRUE; //nama yang terupload nantinya + + $this->upload->initialize($config); + if(!empty($_FILES['filefoto']['name'])) + { + if ($this->upload->do_upload('filefoto')) + { + $gbr = $this->upload->data(); + //Compress Image + $config['image_library']='gd2'; + $config['source_image']='./assets/images/'.$gbr['file_name']; + $config['create_thumb']= FALSE; + $config['maintain_ratio']= FALSE; + $config['quality']= '60%'; + $config['width']= 500; + $config['height']= 400; + $config['new_image']= './assets/images/'.$gbr['file_name']; + $this->load->library('image_lib', $config); + $this->image_lib->resize(); + + $gambar=$gbr['file_name']; + $album=strip_tags($this->input->post('xnama_album')); + $kode=$this->session->userdata('idadmin'); + $user=$this->m_pengguna->get_pengguna_login($kode); + $p=$user->row_array(); + $user_id=$p['pengguna_id']; + $user_nama=$p['pengguna_nama']; + $this->m_album->simpan_album($album,$user_id,$user_nama,$gambar); + echo $this->session->set_flashdata('msg','success'); + redirect('admin/album'); + }else{ + echo $this->session->set_flashdata('msg','warning'); + redirect('admin/album'); + } + + }else{ + redirect('admin/album'); + } + + } + + function update_album(){ + + $config['upload_path'] = './assets/images/'; //path folder + $config['allowed_types'] = 'gif|jpg|png|jpeg|bmp'; //type yang dapat diakses bisa anda sesuaikan + $config['encrypt_name'] = TRUE; //nama yang terupload nantinya + + $this->upload->initialize($config); + if(!empty($_FILES['filefoto']['name'])) + { + if ($this->upload->do_upload('filefoto')) + { + $gbr = $this->upload->data(); + //Compress Image + $config['image_library']='gd2'; + $config['source_image']='./assets/images/'.$gbr['file_name']; + $config['create_thumb']= FALSE; + $config['maintain_ratio']= FALSE; + $config['quality']= '60%'; + $config['width']= 500; + $config['height']= 400; + $config['new_image']= './assets/images/'.$gbr['file_name']; + $this->load->library('image_lib', $config); + $this->image_lib->resize(); + + $gambar=$gbr['file_name']; + $album_id=$this->input->post('kode'); + $album_nama=strip_tags($this->input->post('xnama_album')); + $images=$this->input->post('gambar'); + $path='./assets/images/'.$images; + unlink($path); + $kode=$this->session->userdata('idadmin'); + $user=$this->m_pengguna->get_pengguna_login($kode); + $p=$user->row_array(); + $user_id=$p['pengguna_id']; + $user_nama=$p['pengguna_nama']; + $this->m_album->update_album($album_id,$album_nama,$user_id,$user_nama,$gambar); + echo $this->session->set_flashdata('msg','info'); + redirect('admin/album'); + + }else{ + echo $this->session->set_flashdata('msg','warning'); + redirect('admin/album'); + } + + }else{ + $album_id=$this->input->post('kode'); + $album_nama=strip_tags($this->input->post('xnama_album')); + $kode=$this->session->userdata('idadmin'); + $user=$this->m_pengguna->get_pengguna_login($kode); + $p=$user->row_array(); + $user_id=$p['pengguna_id']; + $user_nama=$p['pengguna_nama']; + $this->m_album->update_album_tanpa_img($album_id,$album_nama,$user_id,$user_nama); + echo $this->session->set_flashdata('msg','info'); + redirect('admin/album'); + } + + } + + function hapus_album(){ + $kode=$this->input->post('kode'); + $gambar=$this->input->post('gambar'); + $path='./assets/images/'.$gambar; + unlink($path); + $this->m_album->hapus_album($kode); + echo $this->session->set_flashdata('msg','success-hapus'); + redirect('admin/album'); + } + +} \ No newline at end of file diff --git a/application/controllers/admin/Dashboard.php b/application/controllers/admin/Dashboard.php new file mode 100644 index 0000000..5f0a7e2 --- /dev/null +++ b/application/controllers/admin/Dashboard.php @@ -0,0 +1,21 @@ +session->userdata('masuk') !=TRUE){ + $url=base_url('administrator'); + redirect($url); + }; + $this->load->model('m_pengunjung'); + } + function index(){ + if($this->session->userdata('akses')=='1'){ + $x['visitor'] = $this->m_pengunjung->statistik_pengujung(); + $this->load->view('admin/v_dashboard',$x); + }else{ + redirect('administrator'); + } + + } + +} \ No newline at end of file diff --git a/application/controllers/admin/Files.php b/application/controllers/admin/Files.php new file mode 100644 index 0000000..b9b5499 --- /dev/null +++ b/application/controllers/admin/Files.php @@ -0,0 +1,116 @@ +session->userdata('masuk') !=TRUE){ + $url=base_url('administrator'); + redirect($url); + }; + $this->load->model('m_files'); + $this->load->model('m_pengguna'); + $this->load->library('upload'); + $this->load->helper('download'); + } + + + function index(){ + + $x['data']=$this->m_files->get_all_files(); + $this->load->view('admin/v_files',$x); + } + + function download(){ + $id=$this->uri->segment(4); + $get_db=$this->m_files->get_file_byid($id); + $q=$get_db->row_array(); + $file=$q['file_data']; + $path='./assets/files/'.$file; + $data = file_get_contents($path); + $name = $file; + + force_download($name, $data); + redirect('admin/files'); + } + + function simpan_file(){ + $config['upload_path'] = './assets/files/'; //path folder + $config['allowed_types'] = 'pdf|doc|docx|ppt|pptx|zip'; //type yang dapat diakses bisa anda sesuaikan + $config['encrypt_name'] = TRUE; //nama yang terupload nantinya + + $this->upload->initialize($config); + if(!empty($_FILES['filefoto']['name'])) + { + if ($this->upload->do_upload('filefoto')) + { + $gbr = $this->upload->data(); + $file=$gbr['file_name']; + $judul=strip_tags($this->input->post('xjudul')); + $deskripsi=$this->input->post('xdeskripsi'); + $oleh=strip_tags($this->input->post('xoleh')); + + $this->m_files->simpan_file($judul,$deskripsi,$oleh,$file); + echo $this->session->set_flashdata('msg','success'); + redirect('admin/files'); + }else{ + echo $this->session->set_flashdata('msg','warning'); + redirect('admin/files'); + } + + }else{ + redirect('admin/files'); + } + + } + + function update_file(){ + + $config['upload_path'] = './assets/files/'; //path folder + $config['allowed_types'] = 'pdf|doc|docx|ppt|pptx|zip'; //type yang dapat diakses bisa anda sesuaikan + $config['encrypt_name'] = TRUE; //nama yang terupload nantinya + + $this->upload->initialize($config); + if(!empty($_FILES['filefoto']['name'])) + { + if ($this->upload->do_upload('filefoto')) + { + $gbr = $this->upload->data(); + $file=$gbr['file_name']; + $kode=$this->input->post('kode'); + $judul=strip_tags($this->input->post('xjudul')); + $deskripsi=$this->input->post('xdeskripsi'); + $oleh=strip_tags($this->input->post('xoleh')); + $data=$this->input->post('file'); + $path='./assets/files/'.$data; + unlink($path); + $this->m_files->update_file($kode,$judul,$deskripsi,$oleh,$file); + echo $this->session->set_flashdata('msg','info'); + redirect('admin/files'); + + }else{ + echo $this->session->set_flashdata('msg','warning'); + redirect('admin/files'); + } + + }else{ + $kode=$this->input->post('kode'); + $judul=strip_tags($this->input->post('xjudul')); + $deskripsi=$this->input->post('xdeskripsi'); + $oleh=strip_tags($this->input->post('xoleh')); + $this->m_files->update_file_tanpa_file($kode,$judul,$deskripsi,$oleh); + echo $this->session->set_flashdata('msg','info'); + redirect('admin/files'); + } + + } + + function hapus_file(){ + $kode=$this->input->post('kode'); + $data=$this->input->post('file'); + $path='./assets/files/'.$data; + unlink($path); + $this->m_files->hapus_file($kode); + echo $this->session->set_flashdata('msg','success-hapus'); + redirect('admin/files'); + } + +} \ No newline at end of file diff --git a/application/controllers/admin/Galeri.php b/application/controllers/admin/Galeri.php new file mode 100644 index 0000000..c096e35 --- /dev/null +++ b/application/controllers/admin/Galeri.php @@ -0,0 +1,140 @@ +session->userdata('masuk') !=TRUE){ + $url=base_url('administrator'); + redirect($url); + }; + $this->load->model('m_album'); + $this->load->model('m_galeri'); + $this->load->model('m_pengguna'); + $this->load->library('upload'); + } + + + function index(){ + + $x['data']=$this->m_galeri->get_all_galeri(); + $x['alb']=$this->m_album->get_all_album(); + $this->load->view('admin/v_galeri',$x); + } + + function simpan_galeri(){ + $config['upload_path'] = './assets/images/'; //path folder + $config['allowed_types'] = 'gif|jpg|png|jpeg|bmp'; //type yang dapat diakses bisa anda sesuaikan + $config['encrypt_name'] = TRUE; //nama yang terupload nantinya + + $this->upload->initialize($config); + if(!empty($_FILES['filefoto']['name'])) + { + if ($this->upload->do_upload('filefoto')) + { + $gbr = $this->upload->data(); + //Compress Image + $config['image_library']='gd2'; + $config['source_image']='./assets/images/'.$gbr['file_name']; + $config['create_thumb']= FALSE; + $config['maintain_ratio']= FALSE; + $config['quality']= '60%'; + $config['width']= 500; + $config['height']= 400; + $config['new_image']= './assets/images/'.$gbr['file_name']; + $this->load->library('image_lib', $config); + $this->image_lib->resize(); + + $gambar=$gbr['file_name']; + $judul=strip_tags($this->input->post('xjudul')); + $album=strip_tags($this->input->post('xalbum')); + $kode=$this->session->userdata('idadmin'); + $user=$this->m_pengguna->get_pengguna_login($kode); + $p=$user->row_array(); + $user_id=$p['pengguna_id']; + $user_nama=$p['pengguna_nama']; + $this->m_galeri->simpan_galeri($judul,$album,$user_id,$user_nama,$gambar); + echo $this->session->set_flashdata('msg','success'); + redirect('admin/galeri'); + }else{ + echo $this->session->set_flashdata('msg','warning'); + redirect('admin/galeri'); + } + + }else{ + redirect('admin/galeri'); + } + + } + + function update_galeri(){ + + $config['upload_path'] = './assets/images/'; //path folder + $config['allowed_types'] = 'gif|jpg|png|jpeg|bmp'; //type yang dapat diakses bisa anda sesuaikan + $config['encrypt_name'] = TRUE; //nama yang terupload nantinya + + $this->upload->initialize($config); + if(!empty($_FILES['filefoto']['name'])) + { + if ($this->upload->do_upload('filefoto')) + { + $gbr = $this->upload->data(); + //Compress Image + $config['image_library']='gd2'; + $config['source_image']='./assets/images/'.$gbr['file_name']; + $config['create_thumb']= FALSE; + $config['maintain_ratio']= FALSE; + $config['quality']= '60%'; + $config['width']= 500; + $config['height']= 400; + $config['new_image']= './assets/images/'.$gbr['file_name']; + $this->load->library('image_lib', $config); + $this->image_lib->resize(); + + $gambar=$gbr['file_name']; + $galeri_id=$this->input->post('kode'); + $judul=strip_tags($this->input->post('xjudul')); + $album=strip_tags($this->input->post('xalbum')); + $images=$this->input->post('gambar'); + $path='./assets/images/'.$images; + unlink($path); + $kode=$this->session->userdata('idadmin'); + $user=$this->m_pengguna->get_pengguna_login($kode); + $p=$user->row_array(); + $user_id=$p['pengguna_id']; + $user_nama=$p['pengguna_nama']; + $this->m_galeri->update_galeri($galeri_id,$judul,$album,$user_id,$user_nama,$gambar); + echo $this->session->set_flashdata('msg','info'); + redirect('admin/galeri'); + + }else{ + echo $this->session->set_flashdata('msg','warning'); + redirect('admin/galeri'); + } + + }else{ + $galeri_id=$this->input->post('kode'); + $judul=strip_tags($this->input->post('xjudul')); + $album=strip_tags($this->input->post('xalbum')); + $kode=$this->session->userdata('idadmin'); + $user=$this->m_pengguna->get_pengguna_login($kode); + $p=$user->row_array(); + $user_id=$p['pengguna_id']; + $user_nama=$p['pengguna_nama']; + $this->m_galeri->update_galeri_tanpa_img($galeri_id,$judul,$album,$user_id,$user_nama); + echo $this->session->set_flashdata('msg','info'); + redirect('admin/galeri'); + } + + } + + function hapus_galeri(){ + $kode=$this->input->post('kode'); + $album=$this->input->post('album'); + $gambar=$this->input->post('gambar'); + $path='./assets/images/'.$gambar; + unlink($path); + $this->m_galeri->hapus_galeri($kode,$album); + echo $this->session->set_flashdata('msg','success-hapus'); + redirect('admin/galeri'); + } + +} \ No newline at end of file diff --git a/application/controllers/admin/Guru.php b/application/controllers/admin/Guru.php new file mode 100644 index 0000000..da14da3 --- /dev/null +++ b/application/controllers/admin/Guru.php @@ -0,0 +1,144 @@ +session->userdata('masuk') !=TRUE){ + $url=base_url('administrator'); + redirect($url); + }; + $this->load->model('m_guru'); + $this->load->model('m_pengguna'); + $this->load->library('upload'); + } + + + function index(){ + $x['data']=$this->m_guru->get_all_guru(); + $this->load->view('admin/v_guru',$x); + } + + function simpan_guru(){ + $config['upload_path'] = './assets/images/'; //path folder + $config['allowed_types'] = 'gif|jpg|png|jpeg|bmp'; //type yang dapat diakses bisa anda sesuaikan + $config['encrypt_name'] = TRUE; //nama yang terupload nantinya + + $this->upload->initialize($config); + if(!empty($_FILES['filefoto']['name'])) + { + if ($this->upload->do_upload('filefoto')) + { + $gbr = $this->upload->data(); + //Compress Image + $config['image_library']='gd2'; + $config['source_image']='./assets/images/'.$gbr['file_name']; + $config['create_thumb']= FALSE; + $config['maintain_ratio']= FALSE; + $config['quality']= '60%'; + $config['width']= 300; + $config['height']= 300; + $config['new_image']= './assets/images/'.$gbr['file_name']; + $this->load->library('image_lib', $config); + $this->image_lib->resize(); + + $photo=$gbr['file_name']; + $nik=strip_tags($this->input->post('xnik')); + $nama=strip_tags($this->input->post('xnama')); + $jenkel=strip_tags($this->input->post('xjenkel')); + $tmp_lahir=strip_tags($this->input->post('xtmp_lahir')); + $tgl_lahir=strip_tags($this->input->post('xtgl_lahir')); + $mapel=strip_tags($this->input->post('xmapel')); + + $this->m_guru->simpan_guru($nik,$nama,$jenkel,$tmp_lahir,$tgl_lahir,$mapel,$photo); + echo $this->session->set_flashdata('msg','success'); + redirect('admin/guru'); + }else{ + echo $this->session->set_flashdata('msg','warning'); + redirect('admin/guru'); + } + + }else{ + $nik=strip_tags($this->input->post('xnik')); + $nama=strip_tags($this->input->post('xnama')); + $jenkel=strip_tags($this->input->post('xjenkel')); + $tmp_lahir=strip_tags($this->input->post('xtmp_lahir')); + $tgl_lahir=strip_tags($this->input->post('xtgl_lahir')); + $mapel=strip_tags($this->input->post('xmapel')); + + $this->m_guru->simpan_guru_tanpa_img($nik,$nama,$jenkel,$tmp_lahir,$tgl_lahir,$mapel); + echo $this->session->set_flashdata('msg','success'); + redirect('admin/guru'); + } + + } + + function update_guru(){ + + $config['upload_path'] = './assets/images/'; //path folder + $config['allowed_types'] = 'gif|jpg|png|jpeg|bmp'; //type yang dapat diakses bisa anda sesuaikan + $config['encrypt_name'] = TRUE; //nama yang terupload nantinya + + $this->upload->initialize($config); + if(!empty($_FILES['filefoto']['name'])) + { + if ($this->upload->do_upload('filefoto')) + { + $gbr = $this->upload->data(); + //Compress Image + $config['image_library']='gd2'; + $config['source_image']='./assets/images/'.$gbr['file_name']; + $config['create_thumb']= FALSE; + $config['maintain_ratio']= FALSE; + $config['quality']= '60%'; + $config['width']= 300; + $config['height']= 300; + $config['new_image']= './assets/images/'.$gbr['file_name']; + $this->load->library('image_lib', $config); + $this->image_lib->resize(); + $gambar=$this->input->post('gambar'); + $path='./assets/images/'.$gambar; + unlink($path); + + $photo=$gbr['file_name']; + $kode=$this->input->post('kode'); + $nik=strip_tags($this->input->post('xnik')); + $nama=strip_tags($this->input->post('xnama')); + $jenkel=strip_tags($this->input->post('xjenkel')); + $tmp_lahir=strip_tags($this->input->post('xtmp_lahir')); + $tgl_lahir=strip_tags($this->input->post('xtgl_lahir')); + $mapel=strip_tags($this->input->post('xmapel')); + + $this->m_guru->update_guru($kode,$nik,$nama,$jenkel,$tmp_lahir,$tgl_lahir,$mapel,$photo); + echo $this->session->set_flashdata('msg','info'); + redirect('admin/guru'); + + }else{ + echo $this->session->set_flashdata('msg','warning'); + redirect('admin/guru'); + } + + }else{ + $kode=$this->input->post('kode'); + $nik=strip_tags($this->input->post('xnik')); + $nama=strip_tags($this->input->post('xnama')); + $jenkel=strip_tags($this->input->post('xjenkel')); + $tmp_lahir=strip_tags($this->input->post('xtmp_lahir')); + $tgl_lahir=strip_tags($this->input->post('xtgl_lahir')); + $mapel=strip_tags($this->input->post('xmapel')); + $this->m_guru->update_guru_tanpa_img($kode,$nik,$nama,$jenkel,$tmp_lahir,$tgl_lahir,$mapel); + echo $this->session->set_flashdata('msg','info'); + redirect('admin/guru'); + } + + } + + function hapus_guru(){ + $kode=$this->input->post('kode'); + $gambar=$this->input->post('gambar'); + $path='./assets/images/'.$gambar; + unlink($path); + $this->m_guru->hapus_guru($kode); + echo $this->session->set_flashdata('msg','success-hapus'); + redirect('admin/guru'); + } + +} \ No newline at end of file diff --git a/application/controllers/admin/Inbox.php b/application/controllers/admin/Inbox.php new file mode 100644 index 0000000..1e7c24f --- /dev/null +++ b/application/controllers/admin/Inbox.php @@ -0,0 +1,24 @@ +session->userdata('masuk') !=TRUE){ + $url=base_url('administrator'); + redirect($url); + }; + $this->load->model('m_kontak'); + } + + function index(){ + $this->m_kontak->update_status_kontak(); + $x['data']=$this->m_kontak->get_all_inbox(); + $this->load->view('admin/v_inbox',$x); + } + + function hapus_inbox(){ + $kode=$this->input->post('kode'); + $this->m_kontak->hapus_kontak($kode); + echo $this->session->set_flashdata('msg','success-hapus'); + redirect('admin/inbox'); + } +} \ No newline at end of file diff --git a/application/controllers/admin/Kategori.php b/application/controllers/admin/Kategori.php new file mode 100644 index 0000000..8d24826 --- /dev/null +++ b/application/controllers/admin/Kategori.php @@ -0,0 +1,40 @@ +session->userdata('masuk') !=TRUE){ + $url=base_url('administrator'); + redirect($url); + }; + $this->load->model('m_kategori'); + $this->load->library('upload'); + } + + + function index(){ + $x['data']=$this->m_kategori->get_all_kategori(); + $this->load->view('admin/v_kategori',$x); + } + + function simpan_kategori(){ + $kategori=strip_tags($this->input->post('xkategori')); + $this->m_kategori->simpan_kategori($kategori); + echo $this->session->set_flashdata('msg','success'); + redirect('admin/kategori'); + } + + function update_kategori(){ + $kode=strip_tags($this->input->post('kode')); + $kategori=strip_tags($this->input->post('xkategori')); + $this->m_kategori->update_kategori($kode,$kategori); + echo $this->session->set_flashdata('msg','info'); + redirect('admin/kategori'); + } + function hapus_kategori(){ + $kode=strip_tags($this->input->post('kode')); + $this->m_kategori->hapus_kategori($kode); + echo $this->session->set_flashdata('msg','success-hapus'); + redirect('admin/kategori'); + } + +} diff --git a/application/controllers/admin/Komentar.php b/application/controllers/admin/Komentar.php new file mode 100644 index 0000000..8ad9e1f --- /dev/null +++ b/application/controllers/admin/Komentar.php @@ -0,0 +1,49 @@ +session->userdata('masuk') !=TRUE){ + $url=base_url('administrator'); + redirect($url); + }; + $this->load->model('m_kategori'); + } + + function index(){ + $x['data']=$this->db->query("SELECT tbl_komentar.*,tulisan_judul,tulisan_slug FROM tbl_komentar JOIN tbl_tulisan ON komentar_tulisan_id=tulisan_id ORDER BY komentar_id DESC"); + $this->load->view('admin/v_komentar',$x); + } + + function publish(){ + $kode = htmlspecialchars($this->uri->segment(4),ENT_QUOTES); + $this->db->query("UPDATE tbl_komentar SET komentar_status='1' WHERE komentar_id='$kode'"); + echo $this->session->set_flashdata('msg','success'); + redirect('admin/komentar'); + } + + function reply(){ + $komentar_id = htmlspecialchars($this->input->post('komenid'),ENT_QUOTES); + $nama = $this->session->userdata('nama'); + $tulisan_id = htmlspecialchars($this->input->post('postid'),ENT_QUOTES); + $komentar = nl2br(htmlspecialchars($this->input->post('komentar',TRUE),ENT_QUOTES)); + $data = array( + 'komentar_nama' => $nama, + 'komentar_email' => '', + 'komentar_isi' => $komentar, + 'komentar_status' => 1, + 'komentar_tulisan_id' => $tulisan_id, + 'komentar_parent' => $komentar_id + ); + + $this->db->insert('tbl_komentar', $data); + echo $this->session->set_flashdata('msg','info'); + redirect('admin/komentar'); + } + + function hapus(){ + $kode=$this->input->post('kode'); + $this->db->delete('tbl_komentar', array('komentar_id' => $kode)); + echo $this->session->set_flashdata('msg','success-hapus'); + redirect('admin/komentar'); + } +} diff --git a/application/controllers/admin/Login.php b/application/controllers/admin/Login.php new file mode 100644 index 0000000..61f7d97 --- /dev/null +++ b/application/controllers/admin/Login.php @@ -0,0 +1,49 @@ +load->model('m_login'); + } + function index(){ + $this->load->view('admin/v_login'); + } + function auth(){ + $username=strip_tags(str_replace("'", "", $this->input->post('username'))); + $password=strip_tags(str_replace("'", "", $this->input->post('password'))); + $u=$username; + $p=$password; + $cadmin=$this->m_login->cekadmin($u,$p); + echo json_encode($cadmin); + if($cadmin->num_rows() > 0){ + $this->session->set_userdata('masuk',true); + $this->session->set_userdata('user',$u); + $xcadmin=$cadmin->row_array(); + if($xcadmin['pengguna_level']=='1'){ + $this->session->set_userdata('akses','1'); + $idadmin=$xcadmin['pengguna_id']; + $user_nama=$xcadmin['pengguna_nama']; + $this->session->set_userdata('idadmin',$idadmin); + $this->session->set_userdata('nama',$user_nama); + redirect('admin/dashboard'); + }elseif($xcadmin['pengguna_level']=='2'){ + $this->session->set_userdata('akses','2'); + $idadmin=$xcadmin['pengguna_id']; + $user_nama=$xcadmin['pengguna_nama']; + $this->session->set_userdata('idadmin',$idadmin); + $this->session->set_userdata('nama',$user_nama); + redirect('admin/dashboard'); + } + + }else{ + echo $this->session->set_flashdata('msg',''); + redirect('admin/login'); + } + + } + + function logout(){ + $this->session->sess_destroy(); + $url=base_url('administrator'); + redirect('admin/login'); + } +} diff --git a/application/controllers/admin/Misi.php b/application/controllers/admin/Misi.php new file mode 100644 index 0000000..fe13778 --- /dev/null +++ b/application/controllers/admin/Misi.php @@ -0,0 +1,37 @@ +session->userdata('masuk') !=TRUE){ + $url=base_url('administrator'); + redirect($url); + }; + $this->load->model('m_misi'); + } + function index(){ + $x['data']=$this->m_misi->get_all_misi(); + $this->load->view('admin/v_misi',$x); + } + + function simpan_misi(){ + $misi=strip_tags($this->input->post('xmisi')); + $this->m_misi->simpan_misi($misi); + echo $this->session->set_flashdata('msg','success'); + redirect('admin/misi'); + } + + function update_misi(){ + $kode=strip_tags($this->input->post('kode'));; + $misi=strip_tags($this->input->post('xmisi')); + $this->m_misi->update_misi($kode,$misi); + echo $this->session->set_flashdata('msg','info'); + redirect('admin/misi'); + } + function hapus_misi(){ + $kode=strip_tags($this->input->post('kode')); + $this->m_misi->hapus_misi($kode); + echo $this->session->set_flashdata('msg','success-hapus'); + redirect('admin/misi'); + } + +} \ No newline at end of file diff --git a/application/controllers/admin/Pengguna.php b/application/controllers/admin/Pengguna.php new file mode 100644 index 0000000..e5fd31b --- /dev/null +++ b/application/controllers/admin/Pengguna.php @@ -0,0 +1,201 @@ +session->userdata('masuk') !=TRUE){ + $url=base_url('administrator'); + redirect($url); + }; + $this->load->model('m_pengguna'); + $this->load->library('upload'); + } + + + function index(){ + $kode=$this->session->userdata('idadmin'); + $x['user']=$this->m_pengguna->get_pengguna_login($kode); + $x['data']=$this->m_pengguna->get_all_pengguna(); + $this->load->view('admin/v_pengguna',$x); + } + + function simpan_pengguna(){ + $config['upload_path'] = './assets/images/'; //path folder + $config['allowed_types'] = 'gif|jpg|png|jpeg|bmp'; //type yang dapat diakses bisa anda sesuaikan + $config['encrypt_name'] = TRUE; //nama yang terupload nantinya + + $this->upload->initialize($config); + if(!empty($_FILES['filefoto']['name'])) + { + if ($this->upload->do_upload('filefoto')) + { + $gbr = $this->upload->data(); + //Compress Image + $config['image_library']='gd2'; + $config['source_image']='./assets/images/'.$gbr['file_name']; + $config['create_thumb']= FALSE; + $config['maintain_ratio']= FALSE; + $config['quality']= '60%'; + $config['width']= 300; + $config['height']= 300; + $config['new_image']= './assets/images/'.$gbr['file_name']; + $this->load->library('image_lib', $config); + $this->image_lib->resize(); + + $gambar=$gbr['file_name']; + $nama=$this->input->post('xnama'); + $jenkel=$this->input->post('xjenkel'); + $username=$this->input->post('xusername'); + $password=$this->input->post('xpassword'); + $konfirm_password=$this->input->post('xpassword2'); + $email=$this->input->post('xemail'); + $nohp=$this->input->post('xkontak'); + $status=$this->input->post('xstatus'); + $level=$this->input->post('xlevel'); + if ($password <> $konfirm_password) { + echo $this->session->set_flashdata('msg','error'); + redirect('admin/pengguna'); + }else{ + $this->m_pengguna->simpan_pengguna($nama,$jenkel,$username,$password,$email,$nohp,$status,$level,$gambar); + echo $this->session->set_flashdata('msg','success'); + redirect('admin/pengguna'); + + } + + }else{ + echo $this->session->set_flashdata('msg','warning'); + redirect('admin/pengguna'); + } + + }else{ + $nama=$this->input->post('xnama'); + $jenkel=$this->input->post('xjenkel'); + $username=$this->input->post('xusername'); + $password=$this->input->post('xpassword'); + $konfirm_password=$this->input->post('xpassword2'); + $email=$this->input->post('xemail'); + $nohp=$this->input->post('xkontak'); + $status=$this->input->post('xstatus'); + $level=$this->input->post('xlevel'); + if ($password <> $konfirm_password) { + echo $this->session->set_flashdata('msg','error'); + redirect('admin/pengguna'); + }else{ + $this->m_pengguna->simpan_pengguna_tanpa_gambar($nama,$jenkel,$username,$password,$email,$nohp,$status,$level); + echo $this->session->set_flashdata('msg','success'); + redirect('admin/pengguna'); + } + } + + } + + function update_pengguna(){ + + $config['upload_path'] = './assets/images/'; //path folder + $config['allowed_types'] = 'gif|jpg|png|jpeg|bmp'; //type yang dapat diakses bisa anda sesuaikan + $config['encrypt_name'] = TRUE; //nama yang terupload nantinya + + $this->upload->initialize($config); + if(!empty($_FILES['filefoto']['name'])) + { + if ($this->upload->do_upload('filefoto')) + { + $gbr = $this->upload->data(); + //Compress Image + $config['image_library']='gd2'; + $config['source_image']='./assets/images/'.$gbr['file_name']; + $config['create_thumb']= FALSE; + $config['maintain_ratio']= FALSE; + $config['quality']= '60%'; + $config['width']= 300; + $config['height']= 300; + $config['new_image']= './assets/images/'.$gbr['file_name']; + $this->load->library('image_lib', $config); + $this->image_lib->resize(); + + $gambar=$gbr['file_name']; + $kode=$this->input->post('kode'); + $nama=$this->input->post('xnama'); + $jenkel=$this->input->post('xjenkel'); + $username=$this->input->post('xusername'); + $password=$this->input->post('xpassword'); + $konfirm_password=$this->input->post('xpassword2'); + $email=$this->input->post('xemail'); + $nohp=$this->input->post('xkontak'); + $status=$this->input->post('xstatus'); + $level=$this->input->post('xlevel'); + if (empty($password) && empty($konfirm_password)) { + $this->m_pengguna->update_pengguna_tanpa_pass($kode,$nama,$jenkel,$username,$password,$email,$nohp,$status,$level,$gambar); + echo $this->session->set_flashdata('msg','info'); + redirect('admin/pengguna'); + }elseif ($password <> $konfirm_password) { + echo $this->session->set_flashdata('msg','error'); + redirect('admin/pengguna'); + }else{ + $this->m_pengguna->update_pengguna($kode,$nama,$jenkel,$username,$password,$email,$nohp,$status,$level,$gambar); + echo $this->session->set_flashdata('msg','info'); + redirect('admin/pengguna'); + } + + }else{ + echo $this->session->set_flashdata('msg','warning'); + redirect('admin/pengguna'); + } + + }else{ + $kode=$this->input->post('kode'); + $nama=$this->input->post('xnama'); + $jenkel=$this->input->post('xjenkel'); + $username=$this->input->post('xusername'); + $password=$this->input->post('xpassword'); + $konfirm_password=$this->input->post('xpassword2'); + $email=$this->input->post('xemail'); + $nohp=$this->input->post('xkontak'); + $status=$this->input->post('xstatus'); + $level=$this->input->post('xlevel'); + if (empty($password) && empty($konfirm_password)) { + $this->m_pengguna->update_pengguna_tanpa_pass_dan_gambar($kode,$nama,$jenkel,$username,$password,$email,$nohp,$status,$level); + echo $this->session->set_flashdata('msg','info'); + redirect('admin/pengguna'); + }elseif ($password <> $konfirm_password) { + echo $this->session->set_flashdata('msg','error'); + redirect('admin/pengguna'); + }else{ + $this->m_pengguna->update_pengguna_tanpa_gambar($kode,$nama,$jenkel,$username,$password,$email,$nohp,$status,$level); + echo $this->session->set_flashdata('msg','warning'); + redirect('admin/pengguna'); + } + } + + } + + function hapus_pengguna(){ + $kode=$this->input->post('kode'); + $data=$this->m_pengguna->get_pengguna_login($kode); + $q=$data->row_array(); + $p=$q['pengguna_photo']; + $path=base_url().'assets/images/'.$p; + delete_files($path); + $this->m_pengguna->hapus_pengguna($kode); + echo $this->session->set_flashdata('msg','success-hapus'); + redirect('admin/pengguna'); + } + + function reset_password(){ + + $id=$this->uri->segment(4); + $get=$this->m_pengguna->getusername($id); + if($get->num_rows()>0){ + $a=$get->row_array(); + $b=$a['pengguna_username']; + } + $pass=rand(123456,999999); + $this->m_pengguna->resetpass($id,$pass); + echo $this->session->set_flashdata('msg','show-modal'); + echo $this->session->set_flashdata('uname',$b); + echo $this->session->set_flashdata('upass',$pass); + redirect('admin/pengguna'); + + } + + +} \ No newline at end of file diff --git a/application/controllers/admin/Pengumuman.php b/application/controllers/admin/Pengumuman.php new file mode 100644 index 0000000..7671798 --- /dev/null +++ b/application/controllers/admin/Pengumuman.php @@ -0,0 +1,42 @@ +session->userdata('masuk') !=TRUE){ + $url=base_url('administrator'); + redirect($url); + }; + $this->load->model('m_pengumuman'); + $this->load->library('upload'); + } + + + function index(){ + $x['data']=$this->m_pengumuman->get_all_pengumuman(); + $this->load->view('admin/v_pengumuman',$x); + } + + function simpan_pengumuman(){ + $judul=strip_tags($this->input->post('xjudul')); + $deskripsi=$this->input->post('xdeskripsi'); + $this->m_pengumuman->simpan_pengumuman($judul,$deskripsi); + echo $this->session->set_flashdata('msg','success'); + redirect('admin/pengumuman'); + } + + function update_pengumuman(){ + $kode=strip_tags($this->input->post('kode')); + $judul=strip_tags($this->input->post('xjudul')); + $deskripsi=$this->input->post('xdeskripsi'); + $this->m_pengumuman->update_pengumuman($kode,$judul,$deskripsi); + echo $this->session->set_flashdata('msg','info'); + redirect('admin/pengumuman'); + } + function hapus_pengumuman(){ + $kode=strip_tags($this->input->post('kode')); + $this->m_pengumuman->hapus_pengumuman($kode); + echo $this->session->set_flashdata('msg','success-hapus'); + redirect('admin/pengumuman'); + } + +} \ No newline at end of file diff --git a/application/controllers/admin/Sejarah.php b/application/controllers/admin/Sejarah.php new file mode 100644 index 0000000..e0cc090 --- /dev/null +++ b/application/controllers/admin/Sejarah.php @@ -0,0 +1,37 @@ +session->userdata('masuk') !=TRUE){ + $url=base_url('administrator'); + redirect($url); + }; + $this->load->model('m_sejarah'); + } + function index(){ + $x['data']=$this->m_sejarah->get_all_sejarah(); + $this->load->view('admin/v_sejarah',$x); + } + + function simpan_sejarah(){ + $sejarah=strip_tags($this->input->post('xsejarah')); + $this->m_sejarah->simpan_sejarah($sejarah); + echo $this->session->set_flashdata('msg','success'); + redirect('admin/sejarah'); + } + + function update_sejarah(){ + $kode=strip_tags($this->input->post('kode')); + $sejarah=strip_tags($this->input->post('xsejarah'));; + $this->m_sejarah->update_sejarah($kode,$sejarah); + echo $this->session->set_flashdata('msg','info'); + redirect('admin/sejarah'); + } + function hapus_sejarah(){ + $kode=strip_tags($this->input->post('kode')); + $this->m_sejarah->hapus_sejarah($kode); + echo $this->session->set_flashdata('msg','success-hapus'); + redirect('admin/sejarah'); + } + +} \ No newline at end of file diff --git a/application/controllers/admin/Staptu.php b/application/controllers/admin/Staptu.php new file mode 100644 index 0000000..9d4438f --- /dev/null +++ b/application/controllers/admin/Staptu.php @@ -0,0 +1,144 @@ +session->userdata('masuk') !=TRUE){ + $url=base_url('administrator'); + redirect($url); + }; + $this->load->model('m_staptu'); + $this->load->model('m_pengguna'); + $this->load->library('upload'); + } + + + function index(){ + $x['data']=$this->m_staptu->get_all_staptu(); + $this->load->view('admin/v_staptu',$x); + } + + function simpan_staptu(){ + $config['upload_path'] = './assets/images/'; //path folder + $config['allowed_types'] = 'gif|jpg|png|jpeg|bmp'; //type yang dapat diakses bisa anda sesuaikan + $config['encrypt_name'] = TRUE; //nama yang terupload nantinya + + $this->upload->initialize($config); + if(!empty($_FILES['filefoto']['name'])) + { + if ($this->upload->do_upload('filefoto')) + { + $gbr = $this->upload->data(); + //Compress Image + $config['image_library']='gd2'; + $config['source_image']='./assets/images/'.$gbr['file_name']; + $config['create_thumb']= FALSE; + $config['maintain_ratio']= FALSE; + $config['quality']= '60%'; + $config['width']= 300; + $config['height']= 300; + $config['new_image']= './assets/images/'.$gbr['file_name']; + $this->load->library('image_lib', $config); + $this->image_lib->resize(); + + $photo=$gbr['file_name']; + $nik=strip_tags($this->input->post('xnik')); + $nama=strip_tags($this->input->post('xnama')); + $jenkel=strip_tags($this->input->post('xjenkel')); + $tmp_lahir=strip_tags($this->input->post('xtmp_lahir')); + $tgl_lahir=strip_tags($this->input->post('xtgl_lahir')); + $jabatan=strip_tags($this->input->post('xjabatan')); + + $this->m_staptu->simpan_staptu($nik,$nama,$jenkel,$tmp_lahir,$tgl_lahir,$jabatan,$photo); + echo $this->session->set_flashdata('msg','success'); + redirect('admin/staptu'); + }else{ + echo $this->session->set_flashdata('msg','warning'); + redirect('admin/staptu'); + } + + }else{ + $nik=strip_tags($this->input->post('xnik')); + $nama=strip_tags($this->input->post('xnama')); + $jenkel=strip_tags($this->input->post('xjenkel')); + $tmp_lahir=strip_tags($this->input->post('xtmp_lahir')); + $tgl_lahir=strip_tags($this->input->post('xtgl_lahir')); + $jabatan=strip_tags($this->input->post('xjabatan')); + + $this->m_staptu->simpan_staptu_tanpa_img($nik,$nama,$jenkel,$tmp_lahir,$tgl_lahir,$jabatan); + echo $this->session->set_flashdata('msg','success'); + redirect('admin/staptu'); + } + + } + + function update_staptu(){ + + $config['upload_path'] = './assets/images/'; //path folder + $config['allowed_types'] = 'gif|jpg|png|jpeg|bmp'; //type yang dapat diakses bisa anda sesuaikan + $config['encrypt_name'] = TRUE; //nama yang terupload nantinya + + $this->upload->initialize($config); + if(!empty($_FILES['filefoto']['name'])) + { + if ($this->upload->do_upload('filefoto')) + { + $gbr = $this->upload->data(); + //Compress Image + $config['image_library']='gd2'; + $config['source_image']='./assets/images/'.$gbr['file_name']; + $config['create_thumb']= FALSE; + $config['maintain_ratio']= FALSE; + $config['quality']= '60%'; + $config['width']= 300; + $config['height']= 300; + $config['new_image']= './assets/images/'.$gbr['file_name']; + $this->load->library('image_lib', $config); + $this->image_lib->resize(); + $gambar=$this->input->post('gambar'); + $path='./assets/images/'.$gambar; + unlink($path); + + $photo=$gbr['file_name']; + $kode=$this->input->post('kode'); + $nik=strip_tags($this->input->post('xnik')); + $nama=strip_tags($this->input->post('xnama')); + $jenkel=strip_tags($this->input->post('xjenkel')); + $tmp_lahir=strip_tags($this->input->post('xtmp_lahir')); + $tgl_lahir=strip_tags($this->input->post('xtgl_lahir')); + $jabatan=strip_tags($this->input->post('xjabatan')); + + $this->m_staptu->update_staptu($kode,$nik,$nama,$jenkel,$tmp_lahir,$tgl_lahir,$jabatan,$photo); + echo $this->session->set_flashdata('msg','info'); + redirect('admin/staptu'); + + }else{ + echo $this->session->set_flashdata('msg','warning'); + redirect('admin/staptu'); + } + + }else{ + $kode=$this->input->post('kode'); + $nik=strip_tags($this->input->post('xnik')); + $nama=strip_tags($this->input->post('xnama')); + $jenkel=strip_tags($this->input->post('xjenkel')); + $tmp_lahir=strip_tags($this->input->post('xtmp_lahir')); + $tgl_lahir=strip_tags($this->input->post('xtgl_lahir')); + $jabatan=strip_tags($this->input->post('xjabatan')); + $this->m_staptu->update_staptu_tanpa_img($kode,$nik,$nama,$jenkel,$tmp_lahir,$tgl_lahir,$jabatan); + echo $this->session->set_flashdata('msg','info'); + redirect('admin/staptu'); + } + + } + + function hapus_staptu(){ + $kode=$this->input->post('kode'); + $gambar=$this->input->post('gambar'); + $path='./assets/images/'.$gambar; + unlink($path); + $this->m_staptu->hapus_staptu($kode); + echo $this->session->set_flashdata('msg','success-hapus'); + redirect('admin/staptu'); + } + +} \ No newline at end of file diff --git a/application/controllers/admin/Tulisan.php b/application/controllers/admin/Tulisan.php new file mode 100644 index 0000000..7501da7 --- /dev/null +++ b/application/controllers/admin/Tulisan.php @@ -0,0 +1,170 @@ +session->userdata('masuk') !=TRUE){ + $url=base_url('administrator'); + redirect($url); + }; + $this->load->model('m_kategori'); + $this->load->model('m_tulisan'); + $this->load->model('m_pengguna'); + $this->load->library('upload'); + } + + + function index(){ + $x['data']=$this->m_tulisan->get_all_tulisan(); + $this->load->view('admin/v_tulisan',$x); + } + function add_tulisan(){ + $x['kat']=$this->m_kategori->get_all_kategori(); + $this->load->view('admin/v_add_tulisan',$x); + } + function get_edit(){ + $kode=$this->uri->segment(4); + $x['data']=$this->m_tulisan->get_tulisan_by_kode($kode); + $x['kat']=$this->m_kategori->get_all_kategori(); + $this->load->view('admin/v_edit_tulisan',$x); + } + function simpan_tulisan(){ + $config['upload_path'] = './assets/images/'; //path folder + $config['allowed_types'] = 'gif|jpg|png|jpeg|bmp'; //type yang dapat diakses bisa anda sesuaikan + $config['encrypt_name'] = TRUE; //nama yang terupload nantinya + + $this->upload->initialize($config); + if(!empty($_FILES['filefoto']['name'])) + { + if ($this->upload->do_upload('filefoto')) + { + $gbr = $this->upload->data(); + //Compress Image + $config['image_library']='gd2'; + $config['source_image']='./assets/images/'.$gbr['file_name']; + $config['create_thumb']= FALSE; + $config['maintain_ratio']= FALSE; + $config['quality']= '60%'; + $config['width']= 710; + $config['height']= 460; + $config['new_image']= './assets/images/'.$gbr['file_name']; + $this->load->library('image_lib', $config); + $this->image_lib->resize(); + + $gambar=$gbr['file_name']; + $judul=strip_tags($this->input->post('xjudul')); + $isi=$this->input->post('xisi'); + $string = preg_replace('/[^a-zA-Z0-9 \&%|{.}=,?!*()"-_+$@;<>\']/', '', $judul); + $trim = trim($string); + $slug = strtolower(str_replace(" ", "-", $trim)); + $kategori_id=strip_tags($this->input->post('xkategori')); + $data=$this->m_kategori->get_kategori_byid($kategori_id); + $q=$data->row_array(); + $kategori_nama=$q['kategori_nama']; + //$imgslider=$this->input->post('ximgslider'); + $imgslider='0'; + $kode=$this->session->userdata('idadmin'); + $user=$this->m_pengguna->get_pengguna_login($kode); + $p=$user->row_array(); + $user_id=$p['pengguna_id']; + $user_nama=$p['pengguna_nama']; + $this->m_tulisan->simpan_tulisan($judul,$isi,$kategori_id,$kategori_nama,$imgslider,$user_id,$user_nama,$gambar,$slug); + echo $this->session->set_flashdata('msg','success'); + redirect('admin/tulisan'); + }else{ + echo $this->session->set_flashdata('msg','warning'); + redirect('admin/tulisan'); + } + + }else{ + redirect('admin/tulisan'); + } + + } + + function update_tulisan(){ + + $config['upload_path'] = './assets/images/'; //path folder + $config['allowed_types'] = 'gif|jpg|png|jpeg|bmp'; //type yang dapat diakses bisa anda sesuaikan + $config['encrypt_name'] = TRUE; //nama yang terupload nantinya + + $this->upload->initialize($config); + if(!empty($_FILES['filefoto']['name'])) + { + if ($this->upload->do_upload('filefoto')) + { + $gbr = $this->upload->data(); + //Compress Image + $config['image_library']='gd2'; + $config['source_image']='./assets/images/'.$gbr['file_name']; + $config['create_thumb']= FALSE; + $config['maintain_ratio']= FALSE; + $config['quality']= '60%'; + $config['width']= 710; + $config['height']= 460; + $config['new_image']= './assets/images/'.$gbr['file_name']; + $this->load->library('image_lib', $config); + $this->image_lib->resize(); + + $gambar=$gbr['file_name']; + $tulisan_id=$this->input->post('kode'); + $judul=strip_tags($this->input->post('xjudul')); + $isi=$this->input->post('xisi'); + $string = preg_replace('/[^a-zA-Z0-9 \&%|{.}=,?!*()"-_+$@;<>\']/', '', $judul); + $trim = trim($string); + $slug = strtolower(str_replace(" ", "-", $trim)); + $kategori_id=strip_tags($this->input->post('xkategori')); + $data=$this->m_kategori->get_kategori_byid($kategori_id); + $q=$data->row_array(); + $kategori_nama=$q['kategori_nama']; + //$imgslider=$this->input->post('ximgslider'); + $imgslider='0'; + $kode=$this->session->userdata('idadmin'); + $user=$this->m_pengguna->get_pengguna_login($kode); + $p=$user->row_array(); + $user_id=$p['pengguna_id']; + $user_nama=$p['pengguna_nama']; + $this->m_tulisan->update_tulisan($tulisan_id,$judul,$isi,$kategori_id,$kategori_nama,$imgslider,$user_id,$user_nama,$gambar,$slug); + echo $this->session->set_flashdata('msg','info'); + redirect('admin/tulisan'); + + }else{ + echo $this->session->set_flashdata('msg','warning'); + redirect('admin/pengguna'); + } + + }else{ + $tulisan_id=$this->input->post('kode'); + $judul=strip_tags($this->input->post('xjudul')); + $isi=$this->input->post('xisi'); + $string = preg_replace('/[^a-zA-Z0-9 \&%|{.}=,?!*()"-_+$@;<>\']/', '', $judul); + $trim = trim($string); + $slug = strtolower(str_replace(" ", "-", $trim)); + $kategori_id=strip_tags($this->input->post('xkategori')); + $data=$this->m_kategori->get_kategori_byid($kategori_id); + $q=$data->row_array(); + $kategori_nama=$q['kategori_nama']; + //$imgslider=$this->input->post('ximgslider'); + $imgslider='0'; + $kode=$this->session->userdata('idadmin'); + $user=$this->m_pengguna->get_pengguna_login($kode); + $p=$user->row_array(); + $user_id=$p['pengguna_id']; + $user_nama=$p['pengguna_nama']; + $this->m_tulisan->update_tulisan_tanpa_img($tulisan_id,$judul,$isi,$kategori_id,$kategori_nama,$imgslider,$user_id,$user_nama,$slug); + echo $this->session->set_flashdata('msg','info'); + redirect('admin/tulisan'); + } + + } + + function hapus_tulisan(){ + $kode=$this->input->post('kode'); + $gambar=$this->input->post('gambar'); + $path='./assets/images/'.$gambar; + unlink($path); + $this->m_tulisan->hapus_tulisan($kode); + echo $this->session->set_flashdata('msg','success-hapus'); + redirect('admin/tulisan'); + } + +} diff --git a/application/controllers/admin/Visi.php b/application/controllers/admin/Visi.php new file mode 100644 index 0000000..ddbbe8c --- /dev/null +++ b/application/controllers/admin/Visi.php @@ -0,0 +1,37 @@ +session->userdata('masuk') !=TRUE){ + $url=base_url('administrator'); + redirect($url); + }; + $this->load->model('m_visi'); + } + function index(){ + $x['data']=$this->m_visi->get_all_visi(); + $this->load->view('admin/v_visi',$x); + } + + function simpan_visi(){ + $visi=strip_tags($this->input->post('xvisi')); + $this->m_visi->simpan_visi($visi); + echo $this->session->set_flashdata('msg','success'); + redirect('admin/visi'); + } + + function update_visi(){ + $kode=strip_tags($this->input->post('kode')); + $visi=strip_tags($this->input->post('xvisi'));; + $this->m_visi->update_visi($kode,$visi); + echo $this->session->set_flashdata('msg','info'); + redirect('admin/visi'); + } + function hapus_visi(){ + $kode=strip_tags($this->input->post('kode')); + $this->m_visi->hapus_visi($kode); + echo $this->session->set_flashdata('msg','success-hapus'); + redirect('admin/visi'); + } + +} \ No newline at end of file diff --git a/application/controllers/elearning/Home.php b/application/controllers/elearning/Home.php new file mode 100644 index 0000000..c2c615b --- /dev/null +++ b/application/controllers/elearning/Home.php @@ -0,0 +1,21 @@ +load->model('m_materi'); + } + + function index() { + if (empty($this->session->user)) return redirect('elearning/login'); + if ($this->session->status == '1') { + $data['materi'] = $this->m_materi->get_all_materi($this->session->id); + $this->load->view('elearning/v_home_guru', $data); + } else { + $data['mapel'] = $this->m_materi->get_all_mapel()->result_array(); + $data['mapel'] = array_column($data['mapel'], 'materi_mapel'); + $data['mapel'] = array_unique($data['mapel']); + $this->load->view('elearning/v_home_siswa', $data); + } + } +} +?> \ No newline at end of file diff --git a/application/controllers/elearning/Login.php b/application/controllers/elearning/Login.php new file mode 100644 index 0000000..6a0fc55 --- /dev/null +++ b/application/controllers/elearning/Login.php @@ -0,0 +1,54 @@ +load->model('m_login'); + $this->load->model('m_siswa'); + $this->load->model('m_guru'); + } + function index(){ + $user = $this->session->user; + if (!empty($user)) return redirect('elearning/home'); + $this->load->view('elearning/v_login'); + } + function auth(){ + $u=strip_tags(str_replace("'", "", $this->input->post('username'))); + $p=strip_tags(str_replace("'", "", $this->input->post('password'))); + $login=$this->m_login->login_elearning($u, $p); + if($login->num_rows() > 0){ + $this->session->set_userdata('masuk', true); + $this->session->set_userdata('user', $u); + $this->session->set_userdata('status', $login->first_row()->pengguna_status); + if ($this->session->status == '2') { + $kelas_id = $this + ->m_siswa + ->get_siswa_kelas($this->session->user) + ->result()[0] + ->siswa_kelas_id; + $siswa_id = $this + ->m_siswa + ->get_siswa_id($this->session->user) + ->result()[0] + ->pengguna_siswa; + $this->session->set_userdata('kelas', $kelas_id); + $this->session->set_userdata('id', $siswa_id); + } else { + $guru_id = $this + ->m_guru + ->get_guru_id($this->session->user) + ->result()[0] + ->pengguna_guru; + $this->session->set_userdata('id', $guru_id); + } + redirect('elearning/home'); + } else { + echo $this->session->set_flashdata('msg', ''); + redirect('elearning/login'); + } + } + + function logout(){ + $this->session->sess_destroy(); + redirect('elearning/login'); + } +} diff --git a/application/controllers/elearning/Pelajaran.php b/application/controllers/elearning/Pelajaran.php new file mode 100644 index 0000000..aaa6054 --- /dev/null +++ b/application/controllers/elearning/Pelajaran.php @@ -0,0 +1,15 @@ +load->model('m_materi'); + } + + function index($pelajaran) { + if (empty($this->session->user)) return redirect('elearning/login'); + if ($this->session->user_status == '1') return redirect('elearning/home'); + $data['materi'] = $this->m_materi->get_all_materi($pelajaran, $this->session->kelas); + $this->load->view('elearning/v_pelajaran', $data); + } +} +?> \ No newline at end of file diff --git a/application/controllers/elearning/Upload.php b/application/controllers/elearning/Upload.php new file mode 100644 index 0000000..ad5ae0b --- /dev/null +++ b/application/controllers/elearning/Upload.php @@ -0,0 +1,40 @@ +load->model('m_materi'); + $this->load->model('m_guru'); + } + + function index() { + if ($this->session->status == '2' || empty($this->session->user)) return redirect('elearning/home'); + $id = $this->session->id; + $data['guru'] = $this->m_guru->get_guru($id)->result()[0]; + $this->load->view('elearning/v_upload', $data); + } + + function upload_materi() { + $config['upload_path'] = './assets/files/materi'; + $config['allowed_types'] = 'pdf|docx|jpg|png|bmp|psd'; + $config['encrypt_name'] = TRUE; + $config['max_size'] = 2048; + $this->load->library('upload', $config); + + if (!$this->upload->do_upload('materi-konten')) { + $err = $this->upload->display_errors(); + $this->session->set_flashdata('err', '
    '.$err.'
    '); + redirect('elearning/upload'); + } else { + $guru_id = $this->session->id; + $kelas_guru = array_column($this->m_guru->get_guru_kelas($guru_id)->result_array(), 'ajar_kelas_id'); + $materi_mapel = $this->input->post('materi-mapel'); + $materi_judul = $this->input->post('materi-judul'); + $konten = $this->upload->data()['file_name']; + $materi_catatan = $this->input->post('materi-catatan'); + $this->m_materi->save_materi($guru_id, $kelas_guru, $materi_mapel, $materi_judul, $konten, $materi_catatan); + $this->session->set_flashdata('msg', '
    Upload Materi Sukses
    '); + redirect('elearning/home'); + } + } +} +?> \ No newline at end of file diff --git a/application/controllers/index.html b/application/controllers/index.html new file mode 100644 index 0000000..b702fbc --- /dev/null +++ b/application/controllers/index.html @@ -0,0 +1,11 @@ + + + + 403 Forbidden + + + +

    Directory access is forbidden.

    + + + diff --git a/application/core/index.html b/application/core/index.html new file mode 100644 index 0000000..b702fbc --- /dev/null +++ b/application/core/index.html @@ -0,0 +1,11 @@ + + + + 403 Forbidden + + + +

    Directory access is forbidden.

    + + + diff --git a/application/helpers/font/courier.php b/application/helpers/font/courier.php new file mode 100644 index 0000000..213bf35 --- /dev/null +++ b/application/helpers/font/courier.php @@ -0,0 +1,8 @@ + diff --git a/application/helpers/font/courierb.php b/application/helpers/font/courierb.php new file mode 100644 index 0000000..3fc69a5 --- /dev/null +++ b/application/helpers/font/courierb.php @@ -0,0 +1,8 @@ + diff --git a/application/helpers/font/courierbi.php b/application/helpers/font/courierbi.php new file mode 100644 index 0000000..a49f2ae --- /dev/null +++ b/application/helpers/font/courierbi.php @@ -0,0 +1,8 @@ + diff --git a/application/helpers/font/courieri.php b/application/helpers/font/courieri.php new file mode 100644 index 0000000..9c1c2cf --- /dev/null +++ b/application/helpers/font/courieri.php @@ -0,0 +1,8 @@ + diff --git a/application/helpers/font/helvetica.php b/application/helpers/font/helvetica.php new file mode 100644 index 0000000..7e20c3a --- /dev/null +++ b/application/helpers/font/helvetica.php @@ -0,0 +1,19 @@ +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, + 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, + ','=>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, + '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, + '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, + '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, + 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, + 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, + 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, + 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, + 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, + 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); +?> diff --git a/application/helpers/font/helveticab.php b/application/helpers/font/helveticab.php new file mode 100644 index 0000000..452e0ac --- /dev/null +++ b/application/helpers/font/helveticab.php @@ -0,0 +1,19 @@ +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, + 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, + ','=>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, + '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, + '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, + '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, + 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, + 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, + 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, + 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, + 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, + 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); +?> diff --git a/application/helpers/font/helveticabi.php b/application/helpers/font/helveticabi.php new file mode 100644 index 0000000..ea5c56f --- /dev/null +++ b/application/helpers/font/helveticabi.php @@ -0,0 +1,19 @@ +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, + 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, + ','=>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, + '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, + '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, + '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, + 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, + 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, + 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, + 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, + 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, + 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); +?> diff --git a/application/helpers/font/helveticai.php b/application/helpers/font/helveticai.php new file mode 100644 index 0000000..e3c638a --- /dev/null +++ b/application/helpers/font/helveticai.php @@ -0,0 +1,19 @@ +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, + 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, + ','=>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, + '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, + '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, + '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, + 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, + 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, + 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, + 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, + 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, + 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); +?> diff --git a/application/helpers/font/symbol.php b/application/helpers/font/symbol.php new file mode 100644 index 0000000..b980b07 --- /dev/null +++ b/application/helpers/font/symbol.php @@ -0,0 +1,19 @@ +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, + 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, + ','=>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, + '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, + '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, + '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, + 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, + 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, + 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, + 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, + 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, + 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); +?> diff --git a/application/helpers/font/times.php b/application/helpers/font/times.php new file mode 100644 index 0000000..d3ea808 --- /dev/null +++ b/application/helpers/font/times.php @@ -0,0 +1,19 @@ +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, + 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, + ','=>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, + '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, + '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, + '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, + 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, + 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, + 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, + 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, + 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, + 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); +?> diff --git a/application/helpers/font/timesb.php b/application/helpers/font/timesb.php new file mode 100644 index 0000000..1c198f0 --- /dev/null +++ b/application/helpers/font/timesb.php @@ -0,0 +1,19 @@ +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, + 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, + ','=>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, + '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, + '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, + '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, + 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, + 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, + 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, + 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, + 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, + 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); +?> diff --git a/application/helpers/font/timesbi.php b/application/helpers/font/timesbi.php new file mode 100644 index 0000000..a6034b2 --- /dev/null +++ b/application/helpers/font/timesbi.php @@ -0,0 +1,19 @@ +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, + 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, + ','=>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, + '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, + '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, + '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, + 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, + 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, + 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, + 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, + 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, + 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); +?> diff --git a/application/helpers/font/timesi.php b/application/helpers/font/timesi.php new file mode 100644 index 0000000..bd9e0d9 --- /dev/null +++ b/application/helpers/font/timesi.php @@ -0,0 +1,19 @@ +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, + 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, + ','=>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, + '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, + '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, + '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, + 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, + 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, + 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, + 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, + 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, + 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); +?> diff --git a/application/helpers/font/zapfdingbats.php b/application/helpers/font/zapfdingbats.php new file mode 100644 index 0000000..afef4d3 --- /dev/null +++ b/application/helpers/font/zapfdingbats.php @@ -0,0 +1,19 @@ +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, + 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, + ','=>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, + '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, + '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, + '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, + 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, + 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, + 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, + 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, + 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, + 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); +?> diff --git a/application/helpers/fpdf.css b/application/helpers/fpdf.css new file mode 100644 index 0000000..dd2c540 --- /dev/null +++ b/application/helpers/fpdf.css @@ -0,0 +1,21 @@ +body {font-family:"Times New Roman",serif} +h1 {font:bold 135% Arial,sans-serif; color:#4000A0; margin-bottom:0.9em} +h2 {font:bold 95% Arial,sans-serif; color:#900000; margin-top:1.5em; margin-bottom:1em} +dl.param dt {text-decoration:underline} +dl.param dd {margin-top:1em; margin-bottom:1em} +dl.param ul {margin-top:1em; margin-bottom:1em} +tt, code, kbd {font-family:"Courier New",Courier,monospace; font-size:82%} +div.source {margin-top:1.4em; margin-bottom:1.3em} +div.source pre {display:table; border:1px solid #24246A; width:100%; margin:0em; font-family:inherit; font-size:100%} +div.source code {display:block; border:1px solid #C5C5EC; background-color:#F0F5FF; padding:6px; color:#000000} +div.doc-source {margin-top:1.4em; margin-bottom:1.3em} +div.doc-source pre {display:table; width:100%; margin:0em; font-family:inherit; font-size:100%} +div.doc-source code {display:block; background-color:#E0E0E0; padding:4px} +.kw {color:#000080; font-weight:bold} +.str {color:#CC0000} +.cmt {color:#008000} +p.demo {text-align:center; margin-top:-0.9em} +a.demo {text-decoration:none; font-weight:bold; color:#0000CC} +a.demo:link {text-decoration:none; font-weight:bold; color:#0000CC} +a.demo:hover {text-decoration:none; font-weight:bold; color:#0000FF} +a.demo:active {text-decoration:none; font-weight:bold; color:#0000FF} diff --git a/application/helpers/fpdf.php b/application/helpers/fpdf.php new file mode 100644 index 0000000..0dd1cb6 --- /dev/null +++ b/application/helpers/fpdf.php @@ -0,0 +1,1804 @@ +_dochecks(); + // Initialization of properties + $this->page = 0; + $this->n = 2; + $this->buffer = ''; + $this->pages = array(); + $this->PageSizes = array(); + $this->state = 0; + $this->fonts = array(); + $this->FontFiles = array(); + $this->diffs = array(); + $this->images = array(); + $this->links = array(); + $this->InHeader = false; + $this->InFooter = false; + $this->lasth = 0; + $this->FontFamily = ''; + $this->FontStyle = ''; + $this->FontSizePt = 12; + $this->underline = false; + $this->DrawColor = '0 G'; + $this->FillColor = '0 g'; + $this->TextColor = '0 g'; + $this->ColorFlag = false; + $this->ws = 0; + // Font path + if(defined('FPDF_FONTPATH')) + { + $this->fontpath = FPDF_FONTPATH; + if(substr($this->fontpath,-1)!='/' && substr($this->fontpath,-1)!='\\') + $this->fontpath .= '/'; + } + elseif(is_dir(dirname(__FILE__).'/font')) + $this->fontpath = dirname(__FILE__).'/font/'; + else + $this->fontpath = ''; + // Core fonts + $this->CoreFonts = array('courier', 'helvetica', 'times', 'symbol', 'zapfdingbats'); + // Scale factor + if($unit=='pt') + $this->k = 1; + elseif($unit=='mm') + $this->k = 72/25.4; + elseif($unit=='cm') + $this->k = 72/2.54; + elseif($unit=='in') + $this->k = 72; + else + $this->Error('Incorrect unit: '.$unit); + // Page sizes + $this->StdPageSizes = array('a3'=>array(841.89,1190.55), 'a4'=>array(595.28,841.89), 'a5'=>array(420.94,595.28), + 'letter'=>array(612,792), 'legal'=>array(612,1008)); + $size = $this->_getpagesize($size); + $this->DefPageSize = $size; + $this->CurPageSize = $size; + // Page orientation + $orientation = strtolower($orientation); + if($orientation=='p' || $orientation=='portrait') + { + $this->DefOrientation = 'P'; + $this->w = $size[0]; + $this->h = $size[1]; + } + elseif($orientation=='l' || $orientation=='landscape') + { + $this->DefOrientation = 'L'; + $this->w = $size[1]; + $this->h = $size[0]; + } + else + $this->Error('Incorrect orientation: '.$orientation); + $this->CurOrientation = $this->DefOrientation; + $this->wPt = $this->w*$this->k; + $this->hPt = $this->h*$this->k; + // Page margins (1 cm) + $margin = 28.35/$this->k; + $this->SetMargins($margin,$margin); + // Interior cell margin (1 mm) + $this->cMargin = $margin/10; + // Line width (0.2 mm) + $this->LineWidth = .567/$this->k; + // Automatic page break + $this->SetAutoPageBreak(true,2*$margin); + // Default display mode + $this->SetDisplayMode('default'); + // Enable compression + $this->SetCompression(true); + // Set default PDF version number + $this->PDFVersion = '1.3'; +} + +function SetMargins($left, $top, $right=null) +{ + // Set left, top and right margins + $this->lMargin = $left; + $this->tMargin = $top; + if($right===null) + $right = $left; + $this->rMargin = $right; +} + +function SetLeftMargin($margin) +{ + // Set left margin + $this->lMargin = $margin; + if($this->page>0 && $this->x<$margin) + $this->x = $margin; +} + +function SetTopMargin($margin) +{ + // Set top margin + $this->tMargin = $margin; +} + +function SetRightMargin($margin) +{ + // Set right margin + $this->rMargin = $margin; +} + +function SetAutoPageBreak($auto, $margin=0) +{ + // Set auto page break mode and triggering margin + $this->AutoPageBreak = $auto; + $this->bMargin = $margin; + $this->PageBreakTrigger = $this->h-$margin; +} + +function SetDisplayMode($zoom, $layout='default') +{ + // Set display mode in viewer + if($zoom=='fullpage' || $zoom=='fullwidth' || $zoom=='real' || $zoom=='default' || !is_string($zoom)) + $this->ZoomMode = $zoom; + else + $this->Error('Incorrect zoom display mode: '.$zoom); + if($layout=='single' || $layout=='continuous' || $layout=='two' || $layout=='default') + $this->LayoutMode = $layout; + else + $this->Error('Incorrect layout display mode: '.$layout); +} + +function SetCompression($compress) +{ + // Set page compression + if(function_exists('gzcompress')) + $this->compress = $compress; + else + $this->compress = false; +} + +function SetTitle($title, $isUTF8=false) +{ + // Title of document + if($isUTF8) + $title = $this->_UTF8toUTF16($title); + $this->title = $title; +} + +function SetSubject($subject, $isUTF8=false) +{ + // Subject of document + if($isUTF8) + $subject = $this->_UTF8toUTF16($subject); + $this->subject = $subject; +} + +function SetAuthor($author, $isUTF8=false) +{ + // Author of document + if($isUTF8) + $author = $this->_UTF8toUTF16($author); + $this->author = $author; +} + +function SetKeywords($keywords, $isUTF8=false) +{ + // Keywords of document + if($isUTF8) + $keywords = $this->_UTF8toUTF16($keywords); + $this->keywords = $keywords; +} + +function SetCreator($creator, $isUTF8=false) +{ + // Creator of document + if($isUTF8) + $creator = $this->_UTF8toUTF16($creator); + $this->creator = $creator; +} + +function AliasNbPages($alias='{nb}') +{ + // Define an alias for total number of pages + $this->AliasNbPages = $alias; +} + +function Error($msg) +{ + // Fatal error + die('FPDF error: '.$msg); +} + +function Open() +{ + // Begin document + $this->state = 1; +} + +function Close() +{ + // Terminate document + if($this->state==3) + return; + if($this->page==0) + $this->AddPage(); + // Page footer + $this->InFooter = true; + $this->Footer(); + $this->InFooter = false; + // Close page + $this->_endpage(); + // Close document + $this->_enddoc(); +} + +function AddPage($orientation='', $size='') +{ + // Start a new page + if($this->state==0) + $this->Open(); + $family = $this->FontFamily; + $style = $this->FontStyle.($this->underline ? 'U' : ''); + $fontsize = $this->FontSizePt; + $lw = $this->LineWidth; + $dc = $this->DrawColor; + $fc = $this->FillColor; + $tc = $this->TextColor; + $cf = $this->ColorFlag; + if($this->page>0) + { + // Page footer + $this->InFooter = true; + $this->Footer(); + $this->InFooter = false; + // Close page + $this->_endpage(); + } + // Start new page + $this->_beginpage($orientation,$size); + // Set line cap style to square + $this->_out('2 J'); + // Set line width + $this->LineWidth = $lw; + $this->_out(sprintf('%.2F w',$lw*$this->k)); + // Set font + if($family) + $this->SetFont($family,$style,$fontsize); + // Set colors + $this->DrawColor = $dc; + if($dc!='0 G') + $this->_out($dc); + $this->FillColor = $fc; + if($fc!='0 g') + $this->_out($fc); + $this->TextColor = $tc; + $this->ColorFlag = $cf; + // Page header + $this->InHeader = true; + $this->Header(); + $this->InHeader = false; + // Restore line width + if($this->LineWidth!=$lw) + { + $this->LineWidth = $lw; + $this->_out(sprintf('%.2F w',$lw*$this->k)); + } + // Restore font + if($family) + $this->SetFont($family,$style,$fontsize); + // Restore colors + if($this->DrawColor!=$dc) + { + $this->DrawColor = $dc; + $this->_out($dc); + } + if($this->FillColor!=$fc) + { + $this->FillColor = $fc; + $this->_out($fc); + } + $this->TextColor = $tc; + $this->ColorFlag = $cf; +} + +function Header() +{ + // To be implemented in your own inherited class +} + +function Footer() +{ + // To be implemented in your own inherited class +} + +function PageNo() +{ + // Get current page number + return $this->page; +} + +function SetDrawColor($r, $g=null, $b=null) +{ + // Set color for all stroking operations + if(($r==0 && $g==0 && $b==0) || $g===null) + $this->DrawColor = sprintf('%.3F G',$r/255); + else + $this->DrawColor = sprintf('%.3F %.3F %.3F RG',$r/255,$g/255,$b/255); + if($this->page>0) + $this->_out($this->DrawColor); +} + +function SetFillColor($r, $g=null, $b=null) +{ + // Set color for all filling operations + if(($r==0 && $g==0 && $b==0) || $g===null) + $this->FillColor = sprintf('%.3F g',$r/255); + else + $this->FillColor = sprintf('%.3F %.3F %.3F rg',$r/255,$g/255,$b/255); + $this->ColorFlag = ($this->FillColor!=$this->TextColor); + if($this->page>0) + $this->_out($this->FillColor); +} + +function SetTextColor($r, $g=null, $b=null) +{ + // Set color for text + if(($r==0 && $g==0 && $b==0) || $g===null) + $this->TextColor = sprintf('%.3F g',$r/255); + else + $this->TextColor = sprintf('%.3F %.3F %.3F rg',$r/255,$g/255,$b/255); + $this->ColorFlag = ($this->FillColor!=$this->TextColor); +} + +function GetStringWidth($s) +{ + // Get width of a string in the current font + $s = (string)$s; + $cw = &$this->CurrentFont['cw']; + $w = 0; + $l = strlen($s); + for($i=0;$i<$l;$i++) + $w += $cw[$s[$i]]; + return $w*$this->FontSize/1000; +} + +function SetLineWidth($width) +{ + // Set line width + $this->LineWidth = $width; + if($this->page>0) + $this->_out(sprintf('%.2F w',$width*$this->k)); +} + +function Line($x1, $y1, $x2, $y2) +{ + // Draw a line + $this->_out(sprintf('%.2F %.2F m %.2F %.2F l S',$x1*$this->k,($this->h-$y1)*$this->k,$x2*$this->k,($this->h-$y2)*$this->k)); +} + +function Rect($x, $y, $w, $h, $style='') +{ + // Draw a rectangle + if($style=='F') + $op = 'f'; + elseif($style=='FD' || $style=='DF') + $op = 'B'; + else + $op = 'S'; + $this->_out(sprintf('%.2F %.2F %.2F %.2F re %s',$x*$this->k,($this->h-$y)*$this->k,$w*$this->k,-$h*$this->k,$op)); +} + +function AddFont($family, $style='', $file='') +{ + // Add a TrueType, OpenType or Type1 font + $family = strtolower($family); + if($file=='') + $file = str_replace(' ','',$family).strtolower($style).'.php'; + $style = strtoupper($style); + if($style=='IB') + $style = 'BI'; + $fontkey = $family.$style; + if(isset($this->fonts[$fontkey])) + return; + $info = $this->_loadfont($file); + $info['i'] = count($this->fonts)+1; + if(!empty($info['diff'])) + { + // Search existing encodings + $n = array_search($info['diff'],$this->diffs); + if(!$n) + { + $n = count($this->diffs)+1; + $this->diffs[$n] = $info['diff']; + } + $info['diffn'] = $n; + } + if(!empty($info['file'])) + { + // Embedded font + if($info['type']=='TrueType') + $this->FontFiles[$info['file']] = array('length1'=>$info['originalsize']); + else + $this->FontFiles[$info['file']] = array('length1'=>$info['size1'], 'length2'=>$info['size2']); + } + $this->fonts[$fontkey] = $info; +} + +function SetFont($family, $style='', $size=0) +{ + // Select a font; size given in points + if($family=='') + $family = $this->FontFamily; + else + $family = strtolower($family); + $style = strtoupper($style); + if(strpos($style,'U')!==false) + { + $this->underline = true; + $style = str_replace('U','',$style); + } + else + $this->underline = false; + if($style=='IB') + $style = 'BI'; + if($size==0) + $size = $this->FontSizePt; + // Test if font is already selected + if($this->FontFamily==$family && $this->FontStyle==$style && $this->FontSizePt==$size) + return; + // Test if font is already loaded + $fontkey = $family.$style; + if(!isset($this->fonts[$fontkey])) + { + // Test if one of the core fonts + if($family=='arial') + $family = 'helvetica'; + if(in_array($family,$this->CoreFonts)) + { + if($family=='symbol' || $family=='zapfdingbats') + $style = ''; + $fontkey = $family.$style; + if(!isset($this->fonts[$fontkey])) + $this->AddFont($family,$style); + } + else + $this->Error('Undefined font: '.$family.' '.$style); + } + // Select it + $this->FontFamily = $family; + $this->FontStyle = $style; + $this->FontSizePt = $size; + $this->FontSize = $size/$this->k; + $this->CurrentFont = &$this->fonts[$fontkey]; + if($this->page>0) + $this->_out(sprintf('BT /F%d %.2F Tf ET',$this->CurrentFont['i'],$this->FontSizePt)); +} + +function SetFontSize($size) +{ + // Set font size in points + if($this->FontSizePt==$size) + return; + $this->FontSizePt = $size; + $this->FontSize = $size/$this->k; + if($this->page>0) + $this->_out(sprintf('BT /F%d %.2F Tf ET',$this->CurrentFont['i'],$this->FontSizePt)); +} + +function AddLink() +{ + // Create a new internal link + $n = count($this->links)+1; + $this->links[$n] = array(0, 0); + return $n; +} + +function SetLink($link, $y=0, $page=-1) +{ + // Set destination of internal link + if($y==-1) + $y = $this->y; + if($page==-1) + $page = $this->page; + $this->links[$link] = array($page, $y); +} + +function Link($x, $y, $w, $h, $link) +{ + // Put a link on the page + $this->PageLinks[$this->page][] = array($x*$this->k, $this->hPt-$y*$this->k, $w*$this->k, $h*$this->k, $link); +} + +function Text($x, $y, $txt) +{ + // Output a string + $s = sprintf('BT %.2F %.2F Td (%s) Tj ET',$x*$this->k,($this->h-$y)*$this->k,$this->_escape($txt)); + if($this->underline && $txt!='') + $s .= ' '.$this->_dounderline($x,$y,$txt); + if($this->ColorFlag) + $s = 'q '.$this->TextColor.' '.$s.' Q'; + $this->_out($s); +} + +function AcceptPageBreak() +{ + // Accept automatic page break or not + return $this->AutoPageBreak; +} + +function Cell($w, $h=0, $txt='', $border=0, $ln=0, $align='', $fill=false, $link='') +{ + // Output a cell + $k = $this->k; + if($this->y+$h>$this->PageBreakTrigger && !$this->InHeader && !$this->InFooter && $this->AcceptPageBreak()) + { + // Automatic page break + $x = $this->x; + $ws = $this->ws; + if($ws>0) + { + $this->ws = 0; + $this->_out('0 Tw'); + } + $this->AddPage($this->CurOrientation,$this->CurPageSize); + $this->x = $x; + if($ws>0) + { + $this->ws = $ws; + $this->_out(sprintf('%.3F Tw',$ws*$k)); + } + } + if($w==0) + $w = $this->w-$this->rMargin-$this->x; + $s = ''; + if($fill || $border==1) + { + if($fill) + $op = ($border==1) ? 'B' : 'f'; + else + $op = 'S'; + $s = sprintf('%.2F %.2F %.2F %.2F re %s ',$this->x*$k,($this->h-$this->y)*$k,$w*$k,-$h*$k,$op); + } + if(is_string($border)) + { + $x = $this->x; + $y = $this->y; + if(strpos($border,'L')!==false) + $s .= sprintf('%.2F %.2F m %.2F %.2F l S ',$x*$k,($this->h-$y)*$k,$x*$k,($this->h-($y+$h))*$k); + if(strpos($border,'T')!==false) + $s .= sprintf('%.2F %.2F m %.2F %.2F l S ',$x*$k,($this->h-$y)*$k,($x+$w)*$k,($this->h-$y)*$k); + if(strpos($border,'R')!==false) + $s .= sprintf('%.2F %.2F m %.2F %.2F l S ',($x+$w)*$k,($this->h-$y)*$k,($x+$w)*$k,($this->h-($y+$h))*$k); + if(strpos($border,'B')!==false) + $s .= sprintf('%.2F %.2F m %.2F %.2F l S ',$x*$k,($this->h-($y+$h))*$k,($x+$w)*$k,($this->h-($y+$h))*$k); + } + if($txt!=='') + { + if($align=='R') + $dx = $w-$this->cMargin-$this->GetStringWidth($txt); + elseif($align=='C') + $dx = ($w-$this->GetStringWidth($txt))/2; + else + $dx = $this->cMargin; + if($this->ColorFlag) + $s .= 'q '.$this->TextColor.' '; + $txt2 = str_replace(')','\\)',str_replace('(','\\(',str_replace('\\','\\\\',$txt))); + $s .= sprintf('BT %.2F %.2F Td (%s) Tj ET',($this->x+$dx)*$k,($this->h-($this->y+.5*$h+.3*$this->FontSize))*$k,$txt2); + if($this->underline) + $s .= ' '.$this->_dounderline($this->x+$dx,$this->y+.5*$h+.3*$this->FontSize,$txt); + if($this->ColorFlag) + $s .= ' Q'; + if($link) + $this->Link($this->x+$dx,$this->y+.5*$h-.5*$this->FontSize,$this->GetStringWidth($txt),$this->FontSize,$link); + } + if($s) + $this->_out($s); + $this->lasth = $h; + if($ln>0) + { + // Go to next line + $this->y += $h; + if($ln==1) + $this->x = $this->lMargin; + } + else + $this->x += $w; +} + +function MultiCell($w, $h, $txt, $border=0, $align='J', $fill=false) +{ + // Output text with automatic or explicit line breaks + $cw = &$this->CurrentFont['cw']; + if($w==0) + $w = $this->w-$this->rMargin-$this->x; + $wmax = ($w-2*$this->cMargin)*1000/$this->FontSize; + $s = str_replace("\r",'',$txt); + $nb = strlen($s); + if($nb>0 && $s[$nb-1]=="\n") + $nb--; + $b = 0; + if($border) + { + if($border==1) + { + $border = 'LTRB'; + $b = 'LRT'; + $b2 = 'LR'; + } + else + { + $b2 = ''; + if(strpos($border,'L')!==false) + $b2 .= 'L'; + if(strpos($border,'R')!==false) + $b2 .= 'R'; + $b = (strpos($border,'T')!==false) ? $b2.'T' : $b2; + } + } + $sep = -1; + $i = 0; + $j = 0; + $l = 0; + $ns = 0; + $nl = 1; + while($i<$nb) + { + // Get next character + $c = $s[$i]; + if($c=="\n") + { + // Explicit line break + if($this->ws>0) + { + $this->ws = 0; + $this->_out('0 Tw'); + } + $this->Cell($w,$h,substr($s,$j,$i-$j),$b,2,$align,$fill); + $i++; + $sep = -1; + $j = $i; + $l = 0; + $ns = 0; + $nl++; + if($border && $nl==2) + $b = $b2; + continue; + } + if($c==' ') + { + $sep = $i; + $ls = $l; + $ns++; + } + $l += $cw[$c]; + if($l>$wmax) + { + // Automatic line break + if($sep==-1) + { + if($i==$j) + $i++; + if($this->ws>0) + { + $this->ws = 0; + $this->_out('0 Tw'); + } + $this->Cell($w,$h,substr($s,$j,$i-$j),$b,2,$align,$fill); + } + else + { + if($align=='J') + { + $this->ws = ($ns>1) ? ($wmax-$ls)/1000*$this->FontSize/($ns-1) : 0; + $this->_out(sprintf('%.3F Tw',$this->ws*$this->k)); + } + $this->Cell($w,$h,substr($s,$j,$sep-$j),$b,2,$align,$fill); + $i = $sep+1; + } + $sep = -1; + $j = $i; + $l = 0; + $ns = 0; + $nl++; + if($border && $nl==2) + $b = $b2; + } + else + $i++; + } + // Last chunk + if($this->ws>0) + { + $this->ws = 0; + $this->_out('0 Tw'); + } + if($border && strpos($border,'B')!==false) + $b .= 'B'; + $this->Cell($w,$h,substr($s,$j,$i-$j),$b,2,$align,$fill); + $this->x = $this->lMargin; +} + +function Write($h, $txt, $link='') +{ + // Output text in flowing mode + $cw = &$this->CurrentFont['cw']; + $w = $this->w-$this->rMargin-$this->x; + $wmax = ($w-2*$this->cMargin)*1000/$this->FontSize; + $s = str_replace("\r",'',$txt); + $nb = strlen($s); + $sep = -1; + $i = 0; + $j = 0; + $l = 0; + $nl = 1; + while($i<$nb) + { + // Get next character + $c = $s[$i]; + if($c=="\n") + { + // Explicit line break + $this->Cell($w,$h,substr($s,$j,$i-$j),0,2,'',0,$link); + $i++; + $sep = -1; + $j = $i; + $l = 0; + if($nl==1) + { + $this->x = $this->lMargin; + $w = $this->w-$this->rMargin-$this->x; + $wmax = ($w-2*$this->cMargin)*1000/$this->FontSize; + } + $nl++; + continue; + } + if($c==' ') + $sep = $i; + $l += $cw[$c]; + if($l>$wmax) + { + // Automatic line break + if($sep==-1) + { + if($this->x>$this->lMargin) + { + // Move to next line + $this->x = $this->lMargin; + $this->y += $h; + $w = $this->w-$this->rMargin-$this->x; + $wmax = ($w-2*$this->cMargin)*1000/$this->FontSize; + $i++; + $nl++; + continue; + } + if($i==$j) + $i++; + $this->Cell($w,$h,substr($s,$j,$i-$j),0,2,'',0,$link); + } + else + { + $this->Cell($w,$h,substr($s,$j,$sep-$j),0,2,'',0,$link); + $i = $sep+1; + } + $sep = -1; + $j = $i; + $l = 0; + if($nl==1) + { + $this->x = $this->lMargin; + $w = $this->w-$this->rMargin-$this->x; + $wmax = ($w-2*$this->cMargin)*1000/$this->FontSize; + } + $nl++; + } + else + $i++; + } + // Last chunk + if($i!=$j) + $this->Cell($l/1000*$this->FontSize,$h,substr($s,$j),0,0,'',0,$link); +} + +function Ln($h=null) +{ + // Line feed; default value is last cell height + $this->x = $this->lMargin; + if($h===null) + $this->y += $this->lasth; + else + $this->y += $h; +} + +function Image($file, $x=null, $y=null, $w=0, $h=0, $type='', $link='') +{ + // Put an image on the page + if(!isset($this->images[$file])) + { + // First use of this image, get info + if($type=='') + { + $pos = strrpos($file,'.'); + if(!$pos) + $this->Error('Image file has no extension and no type was specified: '.$file); + $type = substr($file,$pos+1); + } + $type = strtolower($type); + if($type=='jpeg') + $type = 'jpg'; + $mtd = '_parse'.$type; + if(!method_exists($this,$mtd)) + $this->Error('Unsupported image type: '.$type); + $info = $this->$mtd($file); + $info['i'] = count($this->images)+1; + $this->images[$file] = $info; + } + else + $info = $this->images[$file]; + + // Automatic width and height calculation if needed + if($w==0 && $h==0) + { + // Put image at 96 dpi + $w = -96; + $h = -96; + } + if($w<0) + $w = -$info['w']*72/$w/$this->k; + if($h<0) + $h = -$info['h']*72/$h/$this->k; + if($w==0) + $w = $h*$info['w']/$info['h']; + if($h==0) + $h = $w*$info['h']/$info['w']; + + // Flowing mode + if($y===null) + { + if($this->y+$h>$this->PageBreakTrigger && !$this->InHeader && !$this->InFooter && $this->AcceptPageBreak()) + { + // Automatic page break + $x2 = $this->x; + $this->AddPage($this->CurOrientation,$this->CurPageSize); + $this->x = $x2; + } + $y = $this->y; + $this->y += $h; + } + + if($x===null) + $x = $this->x; + $this->_out(sprintf('q %.2F 0 0 %.2F %.2F %.2F cm /I%d Do Q',$w*$this->k,$h*$this->k,$x*$this->k,($this->h-($y+$h))*$this->k,$info['i'])); + if($link) + $this->Link($x,$y,$w,$h,$link); +} + +function GetX() +{ + // Get x position + return $this->x; +} + +function SetX($x) +{ + // Set x position + if($x>=0) + $this->x = $x; + else + $this->x = $this->w+$x; +} + +function GetY() +{ + // Get y position + return $this->y; +} + +function SetY($y) +{ + // Set y position and reset x + $this->x = $this->lMargin; + if($y>=0) + $this->y = $y; + else + $this->y = $this->h+$y; +} + +function SetXY($x, $y) +{ + // Set x and y positions + $this->SetY($y); + $this->SetX($x); +} + +function Output($name='', $dest='') +{ + // Output PDF to some destination + if($this->state<3) + $this->Close(); + $dest = strtoupper($dest); + if($dest=='') + { + if($name=='') + { + $name = 'doc.pdf'; + $dest = 'I'; + } + else + $dest = 'F'; + } + switch($dest) + { + case 'I': + // Send to standard output + $this->_checkoutput(); + if(PHP_SAPI!='cli') + { + // We send to a browser + header('Content-Type: application/pdf'); + header('Content-Disposition: inline; filename="'.$name.'"'); + header('Cache-Control: private, max-age=0, must-revalidate'); + header('Pragma: public'); + } + echo $this->buffer; + break; + case 'D': + // Download file + $this->_checkoutput(); + header('Content-Type: application/x-download'); + header('Content-Disposition: attachment; filename="'.$name.'"'); + header('Cache-Control: private, max-age=0, must-revalidate'); + header('Pragma: public'); + echo $this->buffer; + break; + case 'F': + // Save to local file + $f = fopen($name,'wb'); + if(!$f) + $this->Error('Unable to create output file: '.$name); + fwrite($f,$this->buffer,strlen($this->buffer)); + fclose($f); + break; + case 'S': + // Return as a string + return $this->buffer; + default: + $this->Error('Incorrect output destination: '.$dest); + } + return ''; +} + +/******************************************************************************* +* * +* Protected methods * +* * +*******************************************************************************/ +function _dochecks() +{ + // Check availability of %F + if(sprintf('%.1F',1.0)!='1.0') + $this->Error('This version of PHP is not supported'); + // Check mbstring overloading + if(ini_get('mbstring.func_overload') & 2) + $this->Error('mbstring overloading must be disabled'); + // Ensure runtime magic quotes are disabled + if(get_magic_quotes_runtime()) + @set_magic_quotes_runtime(0); +} + +function _checkoutput() +{ + if(PHP_SAPI!='cli') + { + if(headers_sent($file,$line)) + $this->Error("Some data has already been output, can't send PDF file (output started at $file:$line)"); + } + if(ob_get_length()) + { + // The output buffer is not empty + if(preg_match('/^(\xEF\xBB\xBF)?\s*$/',ob_get_contents())) + { + // It contains only a UTF-8 BOM and/or whitespace, let's clean it + ob_clean(); + } + else + $this->Error("Some data has already been output, can't send PDF file"); + } +} + +function _getpagesize($size) +{ + if(is_string($size)) + { + $size = strtolower($size); + if(!isset($this->StdPageSizes[$size])) + $this->Error('Unknown page size: '.$size); + $a = $this->StdPageSizes[$size]; + return array($a[0]/$this->k, $a[1]/$this->k); + } + else + { + if($size[0]>$size[1]) + return array($size[1], $size[0]); + else + return $size; + } +} + +function _beginpage($orientation, $size) +{ + $this->page++; + $this->pages[$this->page] = ''; + $this->state = 2; + $this->x = $this->lMargin; + $this->y = $this->tMargin; + $this->FontFamily = ''; + // Check page size and orientation + if($orientation=='') + $orientation = $this->DefOrientation; + else + $orientation = strtoupper($orientation[0]); + if($size=='') + $size = $this->DefPageSize; + else + $size = $this->_getpagesize($size); + if($orientation!=$this->CurOrientation || $size[0]!=$this->CurPageSize[0] || $size[1]!=$this->CurPageSize[1]) + { + // New size or orientation + if($orientation=='P') + { + $this->w = $size[0]; + $this->h = $size[1]; + } + else + { + $this->w = $size[1]; + $this->h = $size[0]; + } + $this->wPt = $this->w*$this->k; + $this->hPt = $this->h*$this->k; + $this->PageBreakTrigger = $this->h-$this->bMargin; + $this->CurOrientation = $orientation; + $this->CurPageSize = $size; + } + if($orientation!=$this->DefOrientation || $size[0]!=$this->DefPageSize[0] || $size[1]!=$this->DefPageSize[1]) + $this->PageSizes[$this->page] = array($this->wPt, $this->hPt); +} + +function _endpage() +{ + $this->state = 1; +} + +function _loadfont($font) +{ + // Load a font definition file from the font directory + include($this->fontpath.$font); + $a = get_defined_vars(); + if(!isset($a['name'])) + $this->Error('Could not include font definition file'); + return $a; +} + +function _escape($s) +{ + // Escape special characters in strings + $s = str_replace('\\','\\\\',$s); + $s = str_replace('(','\\(',$s); + $s = str_replace(')','\\)',$s); + $s = str_replace("\r",'\\r',$s); + return $s; +} + +function _textstring($s) +{ + // Format a text string + return '('.$this->_escape($s).')'; +} + +function _UTF8toUTF16($s) +{ + // Convert UTF-8 to UTF-16BE with BOM + $res = "\xFE\xFF"; + $nb = strlen($s); + $i = 0; + while($i<$nb) + { + $c1 = ord($s[$i++]); + if($c1>=224) + { + // 3-byte character + $c2 = ord($s[$i++]); + $c3 = ord($s[$i++]); + $res .= chr((($c1 & 0x0F)<<4) + (($c2 & 0x3C)>>2)); + $res .= chr((($c2 & 0x03)<<6) + ($c3 & 0x3F)); + } + elseif($c1>=192) + { + // 2-byte character + $c2 = ord($s[$i++]); + $res .= chr(($c1 & 0x1C)>>2); + $res .= chr((($c1 & 0x03)<<6) + ($c2 & 0x3F)); + } + else + { + // Single-byte character + $res .= "\0".chr($c1); + } + } + return $res; +} + +function _dounderline($x, $y, $txt) +{ + // Underline text + $up = $this->CurrentFont['up']; + $ut = $this->CurrentFont['ut']; + $w = $this->GetStringWidth($txt)+$this->ws*substr_count($txt,' '); + return sprintf('%.2F %.2F %.2F %.2F re f',$x*$this->k,($this->h-($y-$up/1000*$this->FontSize))*$this->k,$w*$this->k,-$ut/1000*$this->FontSizePt); +} + +function _parsejpg($file) +{ + // Extract info from a JPEG file + $a = getimagesize($file); + if(!$a) + $this->Error('Missing or incorrect image file: '.$file); + if($a[2]!=2) + $this->Error('Not a JPEG file: '.$file); + if(!isset($a['channels']) || $a['channels']==3) + $colspace = 'DeviceRGB'; + elseif($a['channels']==4) + $colspace = 'DeviceCMYK'; + else + $colspace = 'DeviceGray'; + $bpc = isset($a['bits']) ? $a['bits'] : 8; + $data = file_get_contents($file); + return array('w'=>$a[0], 'h'=>$a[1], 'cs'=>$colspace, 'bpc'=>$bpc, 'f'=>'DCTDecode', 'data'=>$data); +} + +function _parsepng($file) +{ + // Extract info from a PNG file + $f = fopen($file,'rb'); + if(!$f) + $this->Error('Can\'t open image file: '.$file); + $info = $this->_parsepngstream($f,$file); + fclose($f); + return $info; +} + +function _parsepngstream($f, $file) +{ + // Check signature + if($this->_readstream($f,8)!=chr(137).'PNG'.chr(13).chr(10).chr(26).chr(10)) + $this->Error('Not a PNG file: '.$file); + + // Read header chunk + $this->_readstream($f,4); + if($this->_readstream($f,4)!='IHDR') + $this->Error('Incorrect PNG file: '.$file); + $w = $this->_readint($f); + $h = $this->_readint($f); + $bpc = ord($this->_readstream($f,1)); + if($bpc>8) + $this->Error('16-bit depth not supported: '.$file); + $ct = ord($this->_readstream($f,1)); + if($ct==0 || $ct==4) + $colspace = 'DeviceGray'; + elseif($ct==2 || $ct==6) + $colspace = 'DeviceRGB'; + elseif($ct==3) + $colspace = 'Indexed'; + else + $this->Error('Unknown color type: '.$file); + if(ord($this->_readstream($f,1))!=0) + $this->Error('Unknown compression method: '.$file); + if(ord($this->_readstream($f,1))!=0) + $this->Error('Unknown filter method: '.$file); + if(ord($this->_readstream($f,1))!=0) + $this->Error('Interlacing not supported: '.$file); + $this->_readstream($f,4); + $dp = '/Predictor 15 /Colors '.($colspace=='DeviceRGB' ? 3 : 1).' /BitsPerComponent '.$bpc.' /Columns '.$w; + + // Scan chunks looking for palette, transparency and image data + $pal = ''; + $trns = ''; + $data = ''; + do + { + $n = $this->_readint($f); + $type = $this->_readstream($f,4); + if($type=='PLTE') + { + // Read palette + $pal = $this->_readstream($f,$n); + $this->_readstream($f,4); + } + elseif($type=='tRNS') + { + // Read transparency info + $t = $this->_readstream($f,$n); + if($ct==0) + $trns = array(ord(substr($t,1,1))); + elseif($ct==2) + $trns = array(ord(substr($t,1,1)), ord(substr($t,3,1)), ord(substr($t,5,1))); + else + { + $pos = strpos($t,chr(0)); + if($pos!==false) + $trns = array($pos); + } + $this->_readstream($f,4); + } + elseif($type=='IDAT') + { + // Read image data block + $data .= $this->_readstream($f,$n); + $this->_readstream($f,4); + } + elseif($type=='IEND') + break; + else + $this->_readstream($f,$n+4); + } + while($n); + + if($colspace=='Indexed' && empty($pal)) + $this->Error('Missing palette in '.$file); + $info = array('w'=>$w, 'h'=>$h, 'cs'=>$colspace, 'bpc'=>$bpc, 'f'=>'FlateDecode', 'dp'=>$dp, 'pal'=>$pal, 'trns'=>$trns); + if($ct>=4) + { + // Extract alpha channel + if(!function_exists('gzuncompress')) + $this->Error('Zlib not available, can\'t handle alpha channel: '.$file); + $data = gzuncompress($data); + $color = ''; + $alpha = ''; + if($ct==4) + { + // Gray image + $len = 2*$w; + for($i=0;$i<$h;$i++) + { + $pos = (1+$len)*$i; + $color .= $data[$pos]; + $alpha .= $data[$pos]; + $line = substr($data,$pos+1,$len); + $color .= preg_replace('/(.)./s','$1',$line); + $alpha .= preg_replace('/.(.)/s','$1',$line); + } + } + else + { + // RGB image + $len = 4*$w; + for($i=0;$i<$h;$i++) + { + $pos = (1+$len)*$i; + $color .= $data[$pos]; + $alpha .= $data[$pos]; + $line = substr($data,$pos+1,$len); + $color .= preg_replace('/(.{3})./s','$1',$line); + $alpha .= preg_replace('/.{3}(.)/s','$1',$line); + } + } + unset($data); + $data = gzcompress($color); + $info['smask'] = gzcompress($alpha); + if($this->PDFVersion<'1.4') + $this->PDFVersion = '1.4'; + } + $info['data'] = $data; + return $info; +} + +function _readstream($f, $n) +{ + // Read n bytes from stream + $res = ''; + while($n>0 && !feof($f)) + { + $s = fread($f,$n); + if($s===false) + $this->Error('Error while reading stream'); + $n -= strlen($s); + $res .= $s; + } + if($n>0) + $this->Error('Unexpected end of stream'); + return $res; +} + +function _readint($f) +{ + // Read a 4-byte integer from stream + $a = unpack('Ni',$this->_readstream($f,4)); + return $a['i']; +} + +function _parsegif($file) +{ + // Extract info from a GIF file (via PNG conversion) + if(!function_exists('imagepng')) + $this->Error('GD extension is required for GIF support'); + if(!function_exists('imagecreatefromgif')) + $this->Error('GD has no GIF read support'); + $im = imagecreatefromgif($file); + if(!$im) + $this->Error('Missing or incorrect image file: '.$file); + imageinterlace($im,0); + $f = @fopen('php://temp','rb+'); + if($f) + { + // Perform conversion in memory + ob_start(); + imagepng($im); + $data = ob_get_clean(); + imagedestroy($im); + fwrite($f,$data); + rewind($f); + $info = $this->_parsepngstream($f,$file); + fclose($f); + } + else + { + // Use temporary file + $tmp = tempnam('.','gif'); + if(!$tmp) + $this->Error('Unable to create a temporary file'); + if(!imagepng($im,$tmp)) + $this->Error('Error while saving to temporary file'); + imagedestroy($im); + $info = $this->_parsepng($tmp); + unlink($tmp); + } + return $info; +} + +function _newobj() +{ + // Begin a new object + $this->n++; + $this->offsets[$this->n] = strlen($this->buffer); + $this->_out($this->n.' 0 obj'); +} + +function _putstream($s) +{ + $this->_out('stream'); + $this->_out($s); + $this->_out('endstream'); +} + +function _out($s) +{ + // Add a line to the document + if($this->state==2) + $this->pages[$this->page] .= $s."\n"; + else + $this->buffer .= $s."\n"; +} + +function _putpages() +{ + $nb = $this->page; + if(!empty($this->AliasNbPages)) + { + // Replace number of pages + for($n=1;$n<=$nb;$n++) + $this->pages[$n] = str_replace($this->AliasNbPages,$nb,$this->pages[$n]); + } + if($this->DefOrientation=='P') + { + $wPt = $this->DefPageSize[0]*$this->k; + $hPt = $this->DefPageSize[1]*$this->k; + } + else + { + $wPt = $this->DefPageSize[1]*$this->k; + $hPt = $this->DefPageSize[0]*$this->k; + } + $filter = ($this->compress) ? '/Filter /FlateDecode ' : ''; + for($n=1;$n<=$nb;$n++) + { + // Page + $this->_newobj(); + $this->_out('<_out('/Parent 1 0 R'); + if(isset($this->PageSizes[$n])) + $this->_out(sprintf('/MediaBox [0 0 %.2F %.2F]',$this->PageSizes[$n][0],$this->PageSizes[$n][1])); + $this->_out('/Resources 2 0 R'); + if(isset($this->PageLinks[$n])) + { + // Links + $annots = '/Annots ['; + foreach($this->PageLinks[$n] as $pl) + { + $rect = sprintf('%.2F %.2F %.2F %.2F',$pl[0],$pl[1],$pl[0]+$pl[2],$pl[1]-$pl[3]); + $annots .= '<_textstring($pl[4]).'>>>>'; + else + { + $l = $this->links[$pl[4]]; + $h = isset($this->PageSizes[$l[0]]) ? $this->PageSizes[$l[0]][1] : $hPt; + $annots .= sprintf('/Dest [%d 0 R /XYZ 0 %.2F null]>>',1+2*$l[0],$h-$l[1]*$this->k); + } + } + $this->_out($annots.']'); + } + if($this->PDFVersion>'1.3') + $this->_out('/Group <>'); + $this->_out('/Contents '.($this->n+1).' 0 R>>'); + $this->_out('endobj'); + // Page content + $p = ($this->compress) ? gzcompress($this->pages[$n]) : $this->pages[$n]; + $this->_newobj(); + $this->_out('<<'.$filter.'/Length '.strlen($p).'>>'); + $this->_putstream($p); + $this->_out('endobj'); + } + // Pages root + $this->offsets[1] = strlen($this->buffer); + $this->_out('1 0 obj'); + $this->_out('<_out($kids.']'); + $this->_out('/Count '.$nb); + $this->_out(sprintf('/MediaBox [0 0 %.2F %.2F]',$wPt,$hPt)); + $this->_out('>>'); + $this->_out('endobj'); +} + +function _putfonts() +{ + $nf = $this->n; + foreach($this->diffs as $diff) + { + // Encodings + $this->_newobj(); + $this->_out('<>'); + $this->_out('endobj'); + } + foreach($this->FontFiles as $file=>$info) + { + // Font file embedding + $this->_newobj(); + $this->FontFiles[$file]['n'] = $this->n; + $font = file_get_contents($this->fontpath.$file,true); + if(!$font) + $this->Error('Font file not found: '.$file); + $compressed = (substr($file,-2)=='.z'); + if(!$compressed && isset($info['length2'])) + $font = substr($font,6,$info['length1']).substr($font,6+$info['length1']+6,$info['length2']); + $this->_out('<_out('/Filter /FlateDecode'); + $this->_out('/Length1 '.$info['length1']); + if(isset($info['length2'])) + $this->_out('/Length2 '.$info['length2'].' /Length3 0'); + $this->_out('>>'); + $this->_putstream($font); + $this->_out('endobj'); + } + foreach($this->fonts as $k=>$font) + { + // Font objects + $this->fonts[$k]['n'] = $this->n+1; + $type = $font['type']; + $name = $font['name']; + if($type=='Core') + { + // Core font + $this->_newobj(); + $this->_out('<_out('/BaseFont /'.$name); + $this->_out('/Subtype /Type1'); + if($name!='Symbol' && $name!='ZapfDingbats') + $this->_out('/Encoding /WinAnsiEncoding'); + $this->_out('>>'); + $this->_out('endobj'); + } + elseif($type=='Type1' || $type=='TrueType') + { + // Additional Type1 or TrueType/OpenType font + $this->_newobj(); + $this->_out('<_out('/BaseFont /'.$name); + $this->_out('/Subtype /'.$type); + $this->_out('/FirstChar 32 /LastChar 255'); + $this->_out('/Widths '.($this->n+1).' 0 R'); + $this->_out('/FontDescriptor '.($this->n+2).' 0 R'); + if(isset($font['diffn'])) + $this->_out('/Encoding '.($nf+$font['diffn']).' 0 R'); + else + $this->_out('/Encoding /WinAnsiEncoding'); + $this->_out('>>'); + $this->_out('endobj'); + // Widths + $this->_newobj(); + $cw = &$font['cw']; + $s = '['; + for($i=32;$i<=255;$i++) + $s .= $cw[chr($i)].' '; + $this->_out($s.']'); + $this->_out('endobj'); + // Descriptor + $this->_newobj(); + $s = '<$v) + $s .= ' /'.$k.' '.$v; + if(!empty($font['file'])) + $s .= ' /FontFile'.($type=='Type1' ? '' : '2').' '.$this->FontFiles[$font['file']]['n'].' 0 R'; + $this->_out($s.'>>'); + $this->_out('endobj'); + } + else + { + // Allow for additional types + $mtd = '_put'.strtolower($type); + if(!method_exists($this,$mtd)) + $this->Error('Unsupported font type: '.$type); + $this->$mtd($font); + } + } +} + +function _putimages() +{ + foreach(array_keys($this->images) as $file) + { + $this->_putimage($this->images[$file]); + unset($this->images[$file]['data']); + unset($this->images[$file]['smask']); + } +} + +function _putimage(&$info) +{ + $this->_newobj(); + $info['n'] = $this->n; + $this->_out('<_out('/Subtype /Image'); + $this->_out('/Width '.$info['w']); + $this->_out('/Height '.$info['h']); + if($info['cs']=='Indexed') + $this->_out('/ColorSpace [/Indexed /DeviceRGB '.(strlen($info['pal'])/3-1).' '.($this->n+1).' 0 R]'); + else + { + $this->_out('/ColorSpace /'.$info['cs']); + if($info['cs']=='DeviceCMYK') + $this->_out('/Decode [1 0 1 0 1 0 1 0]'); + } + $this->_out('/BitsPerComponent '.$info['bpc']); + if(isset($info['f'])) + $this->_out('/Filter /'.$info['f']); + if(isset($info['dp'])) + $this->_out('/DecodeParms <<'.$info['dp'].'>>'); + if(isset($info['trns']) && is_array($info['trns'])) + { + $trns = ''; + for($i=0;$i_out('/Mask ['.$trns.']'); + } + if(isset($info['smask'])) + $this->_out('/SMask '.($this->n+1).' 0 R'); + $this->_out('/Length '.strlen($info['data']).'>>'); + $this->_putstream($info['data']); + $this->_out('endobj'); + // Soft mask + if(isset($info['smask'])) + { + $dp = '/Predictor 15 /Colors 1 /BitsPerComponent 8 /Columns '.$info['w']; + $smask = array('w'=>$info['w'], 'h'=>$info['h'], 'cs'=>'DeviceGray', 'bpc'=>8, 'f'=>$info['f'], 'dp'=>$dp, 'data'=>$info['smask']); + $this->_putimage($smask); + } + // Palette + if($info['cs']=='Indexed') + { + $filter = ($this->compress) ? '/Filter /FlateDecode ' : ''; + $pal = ($this->compress) ? gzcompress($info['pal']) : $info['pal']; + $this->_newobj(); + $this->_out('<<'.$filter.'/Length '.strlen($pal).'>>'); + $this->_putstream($pal); + $this->_out('endobj'); + } +} + +function _putxobjectdict() +{ + foreach($this->images as $image) + $this->_out('/I'.$image['i'].' '.$image['n'].' 0 R'); +} + +function _putresourcedict() +{ + $this->_out('/ProcSet [/PDF /Text /ImageB /ImageC /ImageI]'); + $this->_out('/Font <<'); + foreach($this->fonts as $font) + $this->_out('/F'.$font['i'].' '.$font['n'].' 0 R'); + $this->_out('>>'); + $this->_out('/XObject <<'); + $this->_putxobjectdict(); + $this->_out('>>'); +} + +function _putresources() +{ + $this->_putfonts(); + $this->_putimages(); + // Resource dictionary + $this->offsets[2] = strlen($this->buffer); + $this->_out('2 0 obj'); + $this->_out('<<'); + $this->_putresourcedict(); + $this->_out('>>'); + $this->_out('endobj'); +} + +function _putinfo() +{ + $this->_out('/Producer '.$this->_textstring('FPDF '.FPDF_VERSION)); + if(!empty($this->title)) + $this->_out('/Title '.$this->_textstring($this->title)); + if(!empty($this->subject)) + $this->_out('/Subject '.$this->_textstring($this->subject)); + if(!empty($this->author)) + $this->_out('/Author '.$this->_textstring($this->author)); + if(!empty($this->keywords)) + $this->_out('/Keywords '.$this->_textstring($this->keywords)); + if(!empty($this->creator)) + $this->_out('/Creator '.$this->_textstring($this->creator)); + $this->_out('/CreationDate '.$this->_textstring('D:'.@date('YmdHis'))); +} + +function _putcatalog() +{ + $this->_out('/Type /Catalog'); + $this->_out('/Pages 1 0 R'); + if($this->ZoomMode=='fullpage') + $this->_out('/OpenAction [3 0 R /Fit]'); + elseif($this->ZoomMode=='fullwidth') + $this->_out('/OpenAction [3 0 R /FitH null]'); + elseif($this->ZoomMode=='real') + $this->_out('/OpenAction [3 0 R /XYZ null null 1]'); + elseif(!is_string($this->ZoomMode)) + $this->_out('/OpenAction [3 0 R /XYZ null null '.sprintf('%.2F',$this->ZoomMode/100).']'); + if($this->LayoutMode=='single') + $this->_out('/PageLayout /SinglePage'); + elseif($this->LayoutMode=='continuous') + $this->_out('/PageLayout /OneColumn'); + elseif($this->LayoutMode=='two') + $this->_out('/PageLayout /TwoColumnLeft'); +} + +function _putheader() +{ + $this->_out('%PDF-'.$this->PDFVersion); +} + +function _puttrailer() +{ + $this->_out('/Size '.($this->n+1)); + $this->_out('/Root '.$this->n.' 0 R'); + $this->_out('/Info '.($this->n-1).' 0 R'); +} + +function _enddoc() +{ + $this->_putheader(); + $this->_putpages(); + $this->_putresources(); + // Info + $this->_newobj(); + $this->_out('<<'); + $this->_putinfo(); + $this->_out('>>'); + $this->_out('endobj'); + // Catalog + $this->_newobj(); + $this->_out('<<'); + $this->_putcatalog(); + $this->_out('>>'); + $this->_out('endobj'); + // Cross-ref + $o = strlen($this->buffer); + $this->_out('xref'); + $this->_out('0 '.($this->n+1)); + $this->_out('0000000000 65535 f '); + for($i=1;$i<=$this->n;$i++) + $this->_out(sprintf('%010d 00000 n ',$this->offsets[$i])); + // Trailer + $this->_out('trailer'); + $this->_out('<<'); + $this->_puttrailer(); + $this->_out('>>'); + $this->_out('startxref'); + $this->_out($o); + $this->_out('%%EOF'); + $this->state = 3; +} +// End of class +} + +// Handle special IE contype request +if(isset($_SERVER['HTTP_USER_AGENT']) && $_SERVER['HTTP_USER_AGENT']=='contype') +{ + header('Content-Type: application/pdf'); + exit; +} + +?> diff --git a/application/helpers/index.html b/application/helpers/index.html new file mode 100644 index 0000000..b702fbc --- /dev/null +++ b/application/helpers/index.html @@ -0,0 +1,11 @@ + + + + 403 Forbidden + + + +

    Directory access is forbidden.

    + + + diff --git a/application/helpers/print_rekap_helper.php b/application/helpers/print_rekap_helper.php new file mode 100644 index 0000000..62f6d75 --- /dev/null +++ b/application/helpers/print_rekap_helper.php @@ -0,0 +1,159 @@ +widths=$w; +} + +function SetAligns($a) +{ + $this->aligns=$a; +} + +function Row($data) +{ + $nb=0; + for($i=0;$iNbLines($this->widths[$i],$data[$i])); + $h=(4*$nb); + $this->CheckPageBreak($h); + for($i=0;$iwidths[$i]; + $a=isset($this->aligns[$i]) ? $this->aligns[$i] : 'L'; + $x=$this->GetX(); + $y=$this->GetY(); + $this->Rect($x,$y,$w,$h); + $this->MultiCell($w,4,$data[$i],0,$a); + $this->SetXY($x+$w,$y); + } + $this->Ln($h); +} + +function CheckPageBreak($h) +{ + if($this->GetY()+$h>$this->PageBreakTrigger) + $this->AddPage($this->CurOrientation); +} + +function NbLines($w,$txt) +{ + $cw=&$this->CurrentFont['cw']; + if($w==0) + $w=$this->w-$this->rMargin-$this->x; + $wmax=($w-2*$this->cMargin)*1000/$this->FontSize; + $s=str_replace("r",'',$txt); + $nb=strlen($s); + if($nb>0 and $s[$nb-1]=="n") + $nb--; + $sep=-1; + $i=0; + $j=0; + $l=0; + $nl=1; + while($i<$nb) + { + $c=$s[$i]; + if($c=="n") + { + $i++; + $sep=-1; + $j=$i; + $l=0; + $nl++; + continue; + } + if($c==' ') + $sep=$i; + $l+=$cw[$c]; + if($l>$wmax) + { + if($sep==-1) + { + if($i==$j) + $i++; + } + else + $i=$sep+1; + $sep=-1; + $j=$i; + $l=0; + $nl++; + } + else + $i++; + } + return $nl; +} + +function Header() +{ + if($this->kriteria=="transkip") + { + $this->image('assets/images/logo2.png',10,2,'C'); + $nm=$this->nama; + + $this->Ln(10); + $this->SetFont('Arial','B',10); + //$this->MultiCell(0,4," TOKO ONLINE PADANG SHOP",0,1,'C'); + //$this->SetFont('Arial','B',12); + //$this->MultiCell(0,6," SUPERSTARS",0,1,'C'); + //$this->SetFont('Arial','',8); + //$this->MultiCell(0,4,"Jl. Bunda No.6 Ulak Karang Padang.",0,1,'C'); + //$this->Ln(5); + //$this->SetFont('Arial','B',10); + //$this->MultiCell(0,4,"===========================================================================================",0,1,'C'); + $this->Cell(0,10,$this->nama,2,1,'C'); + } +} + +function Footer() +{ + //Position at 1.5 cm from bottom + //$this->SetY(-15); + //Arial italic 8 + //$this->SetFont('Arial','',6); + //Page number + //$this->Cell(0,10,'Report',0,0,'C'); +} + +public function setKriteria($i) +{ + $this->kriteria=$i; +} + +public function getKriteria() +{ + return $this->kriteria; +} + +public function setNama($n) +{ + $this->nama=$n; +} + +public function getNama() +{ + return $this->nama; +} + +public function setDataset($n) +{ + $this->dataset=$n; +} + +public function getDataset() +{ + return $this->dataset; +} + +} + +?> \ No newline at end of file diff --git a/application/hooks/index.html b/application/hooks/index.html new file mode 100644 index 0000000..b702fbc --- /dev/null +++ b/application/hooks/index.html @@ -0,0 +1,11 @@ + + + + 403 Forbidden + + + +

    Directory access is forbidden.

    + + + diff --git a/application/index.html b/application/index.html new file mode 100644 index 0000000..b702fbc --- /dev/null +++ b/application/index.html @@ -0,0 +1,11 @@ + + + + 403 Forbidden + + + +

    Directory access is forbidden.

    + + + diff --git a/application/language/english/index.html b/application/language/english/index.html new file mode 100644 index 0000000..b702fbc --- /dev/null +++ b/application/language/english/index.html @@ -0,0 +1,11 @@ + + + + 403 Forbidden + + + +

    Directory access is forbidden.

    + + + diff --git a/application/language/index.html b/application/language/index.html new file mode 100644 index 0000000..b702fbc --- /dev/null +++ b/application/language/index.html @@ -0,0 +1,11 @@ + + + + 403 Forbidden + + + +

    Directory access is forbidden.

    + + + diff --git a/application/libraries/Googlemaps.php b/application/libraries/Googlemaps.php new file mode 100644 index 0000000..05fa73e --- /dev/null +++ b/application/libraries/Googlemaps.php @@ -0,0 +1,2263 @@ + section. The library will try to create the file if it does not exist already. Please ensure the destination file is writeable + var $kmlLayerURL = ''; // A URL to publicly available KML or GeoRSS data for displaying geographic information. Multiple KML layers can be passed in by using an array of URL's. Note, if using multiple you'll probably have to set $kmlLayerPreserveViewport to true and manually set map center and zoom + var $kmlLayerPreserveViewport = FALSE; // Specifies whether the map should be adjusted to the bounds of the KmlLayer's contents. By default the map is zoomed and positioned to show the entirety of the layer's contents + var $language = ''; // The map will by default load in the language of the browser. This can be overriden however here. For a full list of codes see https://spreadsheets.google.com/pub?key=p9pdwsai2hDMsLkXsoM05KQ&gid=1 + var $loadAsynchronously = FALSE; // Load the map and API asynchronously once the page has loaded + var $map_div_id = "map_canvas"; // The ID of the
    that is output which contains the map + var $map_height = "450px"; // The height of the map container. Any units (ie 'px') can be used. If no units are provided 'px' will be presumed + var $map_name = "map"; // The JS reference to the map. Currently not used but to be used in the future when multiple maps are supported + var $map_type = "ROADMAP"; // The default MapType. Values accepted are 'HYBRID', 'ROADMAP', 'SATELLITE' or 'TERRAIN' + var $map_types_available = array(); // The other MapTypes available for selection on the map + var $map_width = "100%"; // The width of the map container. Any units (ie 'px') can be used. If no units are provided 'px' will be presumed + var $maps_loaded = 0; // Counter which keeps track of how many maps have been created to avoid standard functions being output twice + var $mapTypeControlPosition = ''; // The position of the MapType control, eg. 'BOTTOM_RIGHT' + var $mapTypeControlStyle = ''; // The style of the MapType control. blank, 'DROPDOWN_MENU' or 'HORIZONTAL_BAR' values accepted. + var $minzoom = ''; // The minimum zoom level which will be displayed on the map + var $maxzoom = ''; // The maximum zoom level which will be displayed on the map + var $minifyJS = FALSE; // If TRUE will run the JavaScript through Jsmin.php (this file and PHP5+ required) to minify the code + var $noClear = FALSE; // If TRUE do not clear the contents of the map div + var $onboundschanged = ''; // The JavaScript action to perform when the viewport bounds have changed + var $oncenterchanged = ''; // The JavaScript action to perform when themap center property changes + var $onclick = ''; // The JavaScript action to perform when the map is clicked + var $ondblclick = ''; // The JavaScript action to perform when the map is double-clicked + var $ondrag = ''; // The JavaScript action to perform while the map is dragged + var $ondragend = ''; // The JavaScript action to perform when the user stops dragging the map + var $ondragstart = ''; // The JavaScript action to perform when the user starts dragging the map + var $onidle = ''; // The JavaScript action to perform when the map becomes idle after panning or zooming + var $onload = ''; // The JavaScript action to perform when the map first loads. This library hi-jacks the window.load event so add any bespoke code using this option + var $onmousemove = ''; // The JavaScript action to perform when the user's mouse moves over the map container + var $onmouseout = ''; // The JavaScript action to perform when the user's mouse exits the map container + var $onmouseover = ''; // The JavaScript action to perform when the user's mouse enters the map container + var $onresize = ''; // The JavaScript action to perform when the maps div changes size + var $onrightclick = ''; // The JavaScript action to perform when the map is right-clicked + var $ontilesloaded = ''; // The JavaScript action to perform when the visible tiles have finished loading + var $onzoomchanged = ''; // The JavaScript action to perform when the maps zoom property changes + var $panoramio = FALSE; // If TRUE will add photos from Panoramio as a layer to your maps as a series of large and small photo icons + var $panoramioTag = ''; // Restrict the set of Panoramio photos shown to those matching a certain textual tag + var $panoramioUser = ''; // Restrict the set of Panoramio photos shown to those matching a particular user + var $region = ''; // Country code top-level domain (eg "uk") within which to search. Useful if supplying addresses rather than lat/longs + var $scaleControlPosition = ''; // The position of the Scale control, eg. 'BOTTOM_RIGHT' + var $scrollwheel = TRUE; // If set to FALSE will disable zooming by scrolling of the mouse wheel + var $sensor = FALSE; // Set to TRUE if being used on a device that can detect a users location + var $streetViewAddressControl = TRUE; // If set to FALSE will hide the Address control + var $streetViewAddressPosition = ''; // The position of the Address control, eg. 'BOTTOM' + var $streetViewControlPosition = ''; // The position of the Street View control when viewing normal aerial map, eg. 'BOTTOM_RIGHT' + var $streetViewCloseButton = FALSE; // If set to TRUE will show the close button in the top right. The close button allows users to return to the aerial map + var $streetViewLinksControl = TRUE; // If set to FALSE will hide the Links control + var $streetViewPanControl = TRUE; // If set to FALSE will hide the Pan control + var $streetViewPanPosition = ''; // The position of the Scale control, eg. 'TOP_RIGHT' + var $streetViewPovHeading = 0; // The Street View camera heading in degrees relative to true north. True north is 0, east is 90, south is 180, west is 270 + var $streetViewPovPitch = 0; // The Street View camera pitch in degrees, relative to the street view vehicle. Directly upwards is 90, Directly downwards is -90. + var $streetViewPovZoom = 0; // The Street View zoom level. Fully zoomed-out is level 0, zooming in increases the zoom level. + var $streetViewZoomControl = TRUE; // If set to FALSE will hide the Zoom control + var $streetViewZoomPosition = ''; // The position of the Scale control, eg. 'TOP_RIGHT' + var $streetViewZoomStyle = ''; // The size of the Street View zoom control. blank, 'SMALL' or 'LARGE' values accepted. + var $styles = array(); // An array of styles used to colour aspects of the map and turn points of interest on and off + var $stylesAsMapTypes = false; // If applying styles, whether to apply them to the default map or add them as additional map types + var $stylesAsMapTypesDefault = ''; // If $stylesAsMapTypes is true the default style. Should contain the 'Name' of the style + var $tilt = 0; // The angle of tilt. Currently only supports the values 0 and 45 in SATELLITE and HYBRID map types and at certain zoom levels + var $trafficOverlay = FALSE; // If set to TRUE will overlay traffic information onto the map by default + var $version = "3"; // Version of the API being used. Not currently used in the library + var $zoom = 13; // The default zoom level of the map. If set to "auto" will autozoom/center to fit in all visible markers. If "auto", also overrides the $center parameter + var $zoomControlPosition = ''; // The position of the Zoom control, eg. 'BOTTOM_RIGHT' + var $zoomControlStyle = ''; // The size of the zoom control. blank, 'SMALL' or 'LARGE' values accepted. + + var $markers = array(); // An array used by the library to store the markers as they are produced + var $markersInfo = array(); // An array containing marker information (id, latitude, longitude etc) for use elsewhere + var $polylines = array(); // An array used by the library to store the polylines as they are produced + var $polygons = array(); // An array used by the library to store the polygons as they are produced + var $circles = array(); // An array used by the library to store the circles as they are produced + var $rectangles = array(); // An array used by the library to store the rectangles as they are produced + var $overlays = array(); // An array used by the library to store the overlays as they are produced + + var $directions = FALSE; // Whether or not the map will be used to show directions + var $directionsStart = ""; // The starting location (lat/long co-ordinate or address) of the directions. Set to 'auto' to default it to the users location + var $directionsEnd = ""; // The destination point (lat/long co-ordinate or address) of the directions. Set to 'auto' to default it to the users location + var $directionsDivID = ""; // An element's ID on the page where textual directions will be output to. Leave blank if not required + var $directionsMode = "DRIVING"; // DRIVING, WALKING or BICYCLING (US Only) - The vehicle/mode of transport to show directions for + var $directionsAvoidTolls = FALSE; // Whether or not directions should avoid tolls + var $directionsAvoidHighways = FALSE; // Whether or not directions should avoid highways + var $directionsDraggable = FALSE; // Whether or not directions on the map are draggable + var $directionsChanged = ""; // JavaScript to perform when directions are dragged + var $directionsUnits = ""; // 'metric' for kilometers and meters or 'imperial for miles and feet. Leave blank and it will default to the region or country of where directions are being obtained + var $directionsWaypointArray = array(); // An array of waypoints. eg array("Boston, MA", "Times Square, NY"); + var $directionsWaypointsOptimize= FALSE; // Should the waypoints be optimised? If TRUE, waypoints will be re-ordered to provide the most efficient route. + + var $drawing = FALSE; // Whether or not the drawing library tools will be loaded + var $drawingControl = TRUE; // If set to FALSE will hide the Drawing Manager control + var $drawingControlPosition = 'TOP_CENTER'; // The position of the Drawing Manager control, eg. 'TOP_RIGHT' + var $drawingDefaultMode = 'marker'; // The default mode for the Drawing Manager. Accepted values are marker, polygon, polyline, rectangle, circle, or null. null means that the user can interact with the map as normal when the map loads, and clicks do not draw anything. + var $drawingModes = array(); // An array of modes available for use. Accepted values are marker, polygon, polyline, rectangle, circle + var $drawingOnComplete = array(); // An array of JS to execute when shapes are completed, one array element per shape. For example: array('circle'=>'JS here', 'polygon'=>'JS here'); + var $drawingOnEdit = array(); // An array of JS to execute when shapes are changed/resized, one array element per shape. For example: array('circle'=>'JS here', 'polygon'=>'JS here'); + + var $places = FALSE; // Whether or not the map will be used to show places + var $placesLocation = ''; // A point (lat/long co-ordinate or address) on the map if the search for places is based around a central point + var $placesRadius = 0; // The radius (in meters) if search is based around a central position + var $placesLocationSW = ''; // If preferring to search within bounds the South-West position (latitude/longitude coordinate OR address) + var $placesLocationNE = ''; // If preferring to search within bounds the North-East position (latitude/longitude coordinate OR address) + var $placesTypes = array(); // The types of places to search for. For a list of supported types see http://code.google.com/apis/maps/documentation/places/supported_types.html + var $placesName = ''; // A term to be matched against when searching for places to display on the map + var $placesAutocompleteInputID = ''; // The ID attribute of the textfield that the autocomplete should effect + var $placesAutocompleteTypes = array(); // The types of places for the autocomplete to return. Options can be seen here https://developers.google.com/maps/documentation/javascript/places#places_autocomplete but include 'establishment' to only return business results, '(cities)', or '(regions)' + var $placesAutocompleteBoundSW = ''; // By specifying an area in which to search for Places, the results are biased towards, but not restricted to, Places contained within these bounds. + var $placesAutocompleteBoundNE = ''; // Both South-West (lat/long co-ordinate or address) and North-East (lat/long co-ordinate or address) values are required if wishing to set bounds + var $placesAutocompleteBoundsMap= FALSE; // An alternative to setting the SW and NE bounds is to use the bounds of the current viewport. If set to TRUE, the bounds will be set to the viewport of the visible map, even if dragged or zoomed + var $placesAutocompleteOnChange = ''; // The JavaScript action to perform when a place is selected + + function Googlemaps($config = array()) + { + if (count($config) > 0) + { + $this->initialize($config); + } + + log_message('debug', "Google Maps Class Initialized"); + } + + function initialize($config = array()) + { + foreach ($config as $key => $val) + { + if (isset($this->$key)) + { + $this->$key = $val; + } + } + + if ($this->sensor) { $this->sensor = "true"; }else{ $this->sensor = "false"; } + + } + + function add_marker($params = array()) + { + + $marker = array(); + $this->markersInfo['marker_'.count($this->markers)] = array(); + + $marker['position'] = ''; // The position (lat/long co-ordinate or address) at which the marker will appear + $marker['infowindow_content'] = ''; // If not blank, creates an infowindow (aka bubble) with the content provided. Can be plain text or HTML + $marker['id'] = ''; // The unique identifier of the marker suffix (ie. marker_yourID). If blank, this will default to marker_X where X is an incremental number + $marker['clickable'] = TRUE; // Defines if the marker is clickable + $marker['cursor'] = ''; // The name or url of the cursor to display on hover + $marker['draggable'] = FALSE; // Defines if the marker is draggable + $marker['flat'] = FALSE; // If set to TRUE will not display a shadow beneath the icon + $marker['icon'] = ''; // The name or url of the icon to use for the marker + $marker['icon_size'] = ''; // The display size of the sprite or image being used. When using sprites, you must specify the sprite size. Expecting two comma-separated values for width and height respectively (ie '20,30'). See https://developers.google.com/maps/documentation/javascript/3.exp/reference#Icon + $marker['icon_scaledSize'] = ''; // The size of the entire image after scaling, if any. Use this property to stretch/shrink an image or a sprite. Expecting two comma-separated values for width and height respectively (ie '20,30') + $marker['icon_origin'] = ''; // If using a sprite, the position of the image within the sprite. Expecting two comma-separated values for distance from the top and left respectively (ie '20,30') + $marker['icon_anchor'] = ''; // The position at which to anchor an image in correspondance to the location of the marker on the map. By default, the anchor is located along the center point of the bottom of the image. Expecting two comma-separated values (ie '20,30'). Credit to https://github.com/colethorsen + $marker['animation'] = ''; // blank, 'DROP' or 'BOUNCE' + $marker['onclick'] = ''; // JavaScript performed when a marker is clicked + $marker['ondblclick'] = ''; // JavaScript performed when a marker is double-clicked + $marker['ondrag'] = ''; // JavaScript repeatedly performed while the marker is being dragged + $marker['ondragstart'] = ''; // JavaScript performed when a marker is started to be dragged + $marker['ondragend'] = ''; // JavaScript performed when a draggable marker is dropped + $marker['onmousedown'] = ''; // JavaScript performed when a mousedown event occurs on a marker + $marker['onmouseout'] = ''; // JavaScript performed when the mouse leaves the area of the marker icon + $marker['onmouseover'] = ''; // JavaScript performed when the mouse enters the area of the marker icon + $marker['onmouseup'] = ''; // JavaScript performed when a mouseup event occurs on a marker + $marker['onpositionchanged'] = ''; // JavaScript performed when the markers position changes + $marker['onrightclick'] = ''; // JavaScript performed when a right-click occurs on a marker + $marker['raiseondrag'] = TRUE; // If FALSE, disables the raising and lowering of the icon when a marker is being dragged + $marker['shadow'] = ''; // The name or url of the icon's shadow + $marker['title'] = ''; // The tooltip text to show on hover + $marker['visible'] = TRUE; // Defines if the marker is visible by default + $marker['zIndex'] = ''; // The zIndex of the marker. If two markers overlap, the marker with the higher zIndex will appear on top + + $marker_output = ''; + + foreach ($params as $key => $value) { + + if (isset($marker[$key])) { + + $marker[$key] = $value; + + } + + } + + $marker_id = count($this->markers); + if (trim($marker['id']) != "") + { + $marker_id = $marker['id']; + } + + if ($marker['position']!="") { + if ($this->is_lat_long($marker['position'])) { + $marker_output .= ' + var myLatlng = new google.maps.LatLng('.$marker['position'].'); + '; + $explodePosition = explode(",", $marker['position']); + $this->markersInfo['marker_'.$marker_id]['latitude'] = trim($explodePosition[0]); + $this->markersInfo['marker_'.$marker_id]['longitude'] = trim($explodePosition[1]); + }else{ + $lat_long = $this->get_lat_long_from_address($marker['position']); + $marker_output .= ' + var myLatlng = new google.maps.LatLng('.$lat_long[0].', '.$lat_long[1].');'; + $this->markersInfo['marker_'.$marker_id]['latitude'] = $lat_long[0]; + $this->markersInfo['marker_'.$marker_id]['longitude'] = $lat_long[1]; + } + } + + if ($marker['icon']!="") { + $marker_output .= ' + var marker_icon = { + url: "'.$marker['icon'].'"'; + if ($marker['icon_size']!="") { + $marker_output .= ', + size: new google.maps.Size('.$marker['icon_size'].')'; + } + if ($marker['icon_scaledSize']!="") { + $marker_output .= ', + scaledSize: new google.maps.Size('.$marker['icon_scaledSize'].')'; + } + if ($marker['icon_origin']!="") { + $marker_output .= ', + origin: new google.maps.Point('.$marker['icon_origin'].')'; + } + if ($marker['icon_anchor']!="") { + $marker_output .= ', + anchor: new google.maps.Point('.$marker['icon_anchor'].')'; + } + $marker_output .= '}; + '; + } + + $marker_output .= ' + var markerOptions = { + map: '.$this->map_name; + if ($marker['position']!="") { + $marker_output .= ', + position: myLatlng'; + } + if (!$marker['clickable']) { + $marker_output .= ', + clickable: false'; + } + if ($marker['cursor']!="") { + $marker_output .= ', + cursor: "'.$marker['cursor'].'"'; + } + if ($marker['draggable']) { + $marker_output .= ', + draggable: true'; + } + if ($marker['flat']) { + $marker_output .= ', + flat: true'; + } + if ($marker['icon']!="") { + $marker_output .= ', + icon: marker_icon'; + } + if (!$marker['raiseondrag']) { + $marker_output .= ', + raiseOnDrag: false'; + } + if ($marker['shadow']!="") { + $marker_output .= ', + shadow: "'.$marker['shadow'].'"'; + } + if ($marker['title']!="") { + $marker_output .= ', + title: "'.$marker['title'].'"'; + $this->markersInfo['marker_'.$marker_id]['title'] = $marker['title']; + } + if (!$marker['visible']) { + $marker_output .= ', + visible: false'; + } + if ($marker['zIndex']!="" && is_numeric($marker['zIndex'])) { + $marker_output .= ', + zIndex: '.$marker['zIndex']; + } + if ($marker['animation']!="" && (strtoupper($marker['animation'])=="DROP" || strtoupper($marker['animation']=="BOUNCE"))) { + $marker_output .= ', + animation: google.maps.Animation.'.strtoupper($marker['animation']); + } + $marker_output .= ' + }; + marker_'.$marker_id.' = createMarker_'.$this->map_name.'(markerOptions); + '; + + if ($marker['infowindow_content']!="") { + + // Escape any quotes in the event that HTML is being added to the infowindow + $marker['infowindow_content'] = str_replace('\"', '"', $marker['infowindow_content']); + $marker['infowindow_content'] = str_replace('"', '\"', $marker['infowindow_content']); + + $marker_output .= ' + marker_'.$marker_id.'.set("content", "'.$marker['infowindow_content'].'"); + + google.maps.event.addListener(marker_'.$marker_id.', "click", function(event) { + iw_'.$this->map_name.'.setContent(this.get("content")); + iw_'.$this->map_name.'.open('.$this->map_name.', this); + '; + if ($marker['onclick']!="") { $marker_output .= $marker['onclick'].' + '; } + $marker_output .= ' + }); + '; + }else{ + if ($marker['onclick']!="") { + $marker_output .= ' + google.maps.event.addListener(marker_'.$marker_id.', "click", function(event) { + '.$marker['onclick'].' + }); + '; + } + } + + if ($marker['ondblclick']!="") { + $marker_output .= ' + google.maps.event.addListener(marker_'.$marker_id.', "dblclick", function(event) { + '.$marker['ondblclick'].' + }); + '; + } + if ($marker['onmousedown']!="") { + $marker_output .= ' + google.maps.event.addListener(marker_'.$marker_id.', "mousedown", function(event) { + '.$marker['onmousedown'].' + }); + '; + } + if ($marker['onmouseout']!="") { + $marker_output .= ' + google.maps.event.addListener(marker_'.$marker_id.', "mouseout", function(event) { + '.$marker['onmouseout'].' + }); + '; + } + if ($marker['onmouseover']!="") { + $marker_output .= ' + google.maps.event.addListener(marker_'.$marker_id.', "mouseover", function(event) { + '.$marker['onmouseover'].' + }); + '; + } + if ($marker['onmouseup']!="") { + $marker_output .= ' + google.maps.event.addListener(marker_'.$marker_id.', "mouseup", function(event) { + '.$marker['onmouseup'].' + }); + '; + } + if ($marker['onpositionchanged']!="") { + $marker_output .= ' + google.maps.event.addListener(marker_'.$marker_id.', "position_changed", function(event) { + '.$marker['onpositionchanged'].' + }); + '; + } + if ($marker['onrightclick']!="") { + $marker_output .= ' + google.maps.event.addListener(marker_'.$marker_id.', "rightclick", function(event) { + '.$marker['onrightclick'].' + }); + '; + } + + if ($marker['draggable']) { + if ($marker['ondrag']!="") { + $marker_output .= ' + google.maps.event.addListener(marker_'.$marker_id.', "drag", function(event) { + '.$marker['ondrag'].' + }); + '; + } + if ($marker['ondragend']!="") { + $marker_output .= ' + google.maps.event.addListener(marker_'.$marker_id.', "dragend", function(event) { + '.$marker['ondragend'].' + }); + '; + } + if ($marker['ondragstart']!="") { + $marker_output .= ' + google.maps.event.addListener(marker_'.$marker_id.', "dragstart", function(event) { + '.$marker['ondragstart'].' + }); + '; + } + } + + array_push($this->markers, $marker_output); + + } + + function add_polyline($params = array()) + { + + $polyline = array(); + + $polyline['points'] = array(); // An array of latitude/longitude coordinates OR addresses, or a mixture of both. If an address is supplied the Google geocoding service will be used to return a lat/long. + $polyline['clickable'] = TRUE; // Defines if the polyline is clickable + $polyline['strokeColor'] = '#FF0000'; // The hex value of the polylines color + $polyline['strokeOpacity'] = '1.0'; // The opacity of the polyline. 0 to 1.0 + $polyline['strokeWeight'] = '2'; // The thickness of the polyline + $polyline['onclick'] = ''; // JavaScript performed when a polyline is clicked + $polyline['ondblclick'] = ''; // JavaScript performed when a polyline is double-clicked + $polyline['onmousedown'] = ''; // JavaScript performed when a mousedown event occurs on a polyline + $polyline['onmousemove'] = ''; // JavaScript performed when the mouse moves in the area of the polyline + $polyline['onmouseout'] = ''; // JavaScript performed when the mouse leaves the area of the polyline + $polyline['onmouseover'] = ''; // JavaScript performed when the mouse enters the area of the polyline + $polyline['onmouseup'] = ''; // JavaScript performed when a mouseup event occurs on a polyline + $polyline['onrightclick'] = ''; // JavaScript performed when a right-click occurs on a polyline + $polyline['zIndex'] = ''; // The zIndex of the polyline. If two polylines overlap, the polyline with the higher zIndex will appear on top + + $polyline_output = ''; + + foreach ($params as $key => $value) { + + if (isset($polyline[$key])) { + + $polyline[$key] = $value; + + } + + } + + if (count($polyline['points'])) { + + $polyline_output .= ' + var polyline_plan_'.count($this->polylines).' = ['; + $i=0; + $lat_long_output = ''; + foreach ($polyline['points'] as $point) { + if ($i>0) { $polyline_output .= ','; } + $lat_long_to_push = ''; + if ($this->is_lat_long($point)) { + $lat_long_to_push = $point; + $polyline_output .= ' + new google.maps.LatLng('.$point.') + '; + }else{ + $lat_long = $this->get_lat_long_from_address($point); + $polyline_output .= ' + new google.maps.LatLng('.$lat_long[0].', '.$lat_long[1].')'; + $lat_long_to_push = $lat_long[0].', '.$lat_long[1]; + } + $lat_long_output .= ' + lat_longs_'.$this->map_name.'.push(new google.maps.LatLng('.$lat_long_to_push.')); + '; + $i++; + } + $polyline_output .= '];'; + + $polyline_output .= $lat_long_output; + + $polyline_output .= ' + var polyline_'.count($this->polylines).' = new google.maps.Polyline({ + path: polyline_plan_'.count($this->polylines).', + strokeColor: "'.$polyline['strokeColor'].'", + strokeOpacity: '.$polyline['strokeOpacity'].', + strokeWeight: '.$polyline['strokeWeight']; + if (!$polyline['clickable']) { + $polyline_output .= ', + clickable: false'; + } + if ($polyline['zIndex']!="" && is_numeric($polyline['zIndex'])) { + $polyline_output .= ', + zIndex: '.$polyline['zIndex']; + } + $polyline_output .= ' + }); + + polyline_'.count($this->polylines).'.setMap('.$this->map_name.'); + + '; + + if ($polyline['onclick']!="") { + $polyline_output .= ' + google.maps.event.addListener(polyline_'.count($this->polylines).', "click", function() { + '.$polyline['onclick'].' + }); + '; + } + if ($polyline['ondblclick']!="") { + $polyline_output .= ' + google.maps.event.addListener(polyline_'.count($this->polylines).', "dblclick", function() { + '.$polyline['ondblclick'].' + }); + '; + } + if ($polyline['onmousedown']!="") { + $polyline_output .= ' + google.maps.event.addListener(polyline_'.count($this->polylines).', "mousedown", function() { + '.$polyline['onmousedown'].' + }); + '; + } + if ($polyline['onmousemove']!="") { + $polyline_output .= ' + google.maps.event.addListener(polyline_'.count($this->polylines).', "mousemove", function() { + '.$polyline['onmousemove'].' + }); + '; + } + if ($polyline['onmouseout']!="") { + $polyline_output .= ' + google.maps.event.addListener(polyline_'.count($this->polylines).', "mouseout", function() { + '.$polyline['onmouseout'].' + }); + '; + } + if ($polyline['onmouseover']!="") { + $polyline_output .= ' + google.maps.event.addListener(polyline_'.count($this->polylines).', "mouseover", function() { + '.$polyline['onmouseover'].' + }); + '; + } + if ($polyline['onmouseup']!="") { + $polyline_output .= ' + google.maps.event.addListener(polyline_'.count($this->polylines).', "mouseup", function() { + '.$polyline['onmouseup'].' + }); + '; + } + if ($polyline['onrightclick']!="") { + $polyline_output .= ' + google.maps.event.addListener(polyline_'.count($this->polylines).', "rightclick", function() { + '.$polyline['onrightclick'].' + }); + '; + } + + array_push($this->polylines, $polyline_output); + + } + + } + + function add_polygon($params = array()) + { + + $polygon = array(); + + $polygon['points'] = array(); // The positions (latitude/longitude coordinates OR addresses) at which the polygon points will appear. NOTE: The first and last elements of the array must be the same + $polygon['clickable'] = TRUE; // Defines if the polygon is clickable + $polygon['strokeColor'] = '#FF0000'; // The hex value of the polygons border color + $polygon['strokeOpacity'] = '0.8'; // The opacity of the polygon border. 0 to 1.0 + $polygon['strokeWeight'] = '2'; // The thickness of the polygon border + $polygon['fillColor'] = '#FF0000'; // The hex value of the polygons fill color + $polygon['fillOpacity'] = '0.3'; // The opacity of the polygons fill + $polygon['onclick'] = ''; // JavaScript performed when a polygon is clicked + $polygon['ondblclick'] = ''; // JavaScript performed when a polygon is double-clicked + $polygon['onmousedown'] = ''; // JavaScript performed when a mousedown event occurs on a polygon + $polygon['onmousemove'] = ''; // JavaScript performed when the mouse moves in the area of the polygon + $polygon['onmouseout'] = ''; // JavaScript performed when the mouse leaves the area of the polygon + $polygon['onmouseover'] = ''; // JavaScript performed when the mouse enters the area of the polygon + $polygon['onmouseup'] = ''; // JavaScript performed when a mouseup event occurs on a polygon + $polygon['onrightclick'] = ''; // JavaScript performed when a right-click occurs on a polygon + $polygon['zIndex'] = ''; // The zIndex of the polygon. If two polygons overlap, the polygon with the higher zIndex will appear on top + + $polygon_output = ''; + + foreach ($params as $key => $value) { + + if (isset($polygon[$key])) { + + $polygon[$key] = $value; + + } + + } + + if (count($polygon['points'])) { + + $polygon_output .= ' + var polygon_plan_'.count($this->polygons).' = ['; + $i=0; + $lat_long_output = ''; + foreach ($polygon['points'] as $point) { + if ($i>0) { $polygon_output .= ','; } + $lat_long_to_push = ''; + if ($this->is_lat_long($point)) { + $lat_long_to_push = $point; + $polygon_output .= ' + new google.maps.LatLng('.$point.') + '; + }else{ + $lat_long = $this->get_lat_long_from_address($point); + $polygon_output .= ' + new google.maps.LatLng('.$lat_long[0].', '.$lat_long[1].')'; + $lat_long_to_push = $lat_long[0].', '.$lat_long[1]; + } + $lat_long_output .= ' + lat_longs_'.$this->map_name.'.push(new google.maps.LatLng('.$lat_long_to_push.')); + '; + $i++; + } + $polygon_output .= '];'; + + $polygon_output .= $lat_long_output; + + } + + $polygon_output .= ' + var polygon_'.count($this->polygons).' = new google.maps.Polygon({ + '; + if (count($polygon['points'])) { + $polygon_output .= 'path: polygon_plan_'.count($this->polygons).', + '; + } + $polygon_output .= ' + strokeColor: "'.$polygon['strokeColor'].'", + strokeOpacity: '.$polygon['strokeOpacity'].', + strokeWeight: '.$polygon['strokeWeight'].', + fillColor: "'.$polygon['fillColor'].'", + fillOpacity: '.$polygon['fillOpacity']; + if (!$polygon['clickable']) { + $polygon_output .= ', + clickable: false'; + } + if ($polygon['zIndex']!="" && is_numeric($polygon['zIndex'])) { + $polygon_output .= ', + zIndex: '.$polygon['zIndex']; + } + $polygon_output .= ' + }); + + polygon_'.count($this->polygons).'.setMap('.$this->map_name.'); + + '; + + if ($polygon['onclick']!="") { + $polygon_output .= ' + google.maps.event.addListener(polygon_'.count($this->polygons).', "click", function() { + '.$polygon['onclick'].' + }); + '; + } + if ($polygon['ondblclick']!="") { + $polygon_output .= ' + google.maps.event.addListener(polygon_'.count($this->polygons).', "dblclick", function() { + '.$polygon['ondblclick'].' + }); + '; + } + if ($polygon['onmousedown']!="") { + $polygon_output .= ' + google.maps.event.addListener(polygon_'.count($this->polygons).', "mousedown", function() { + '.$polygon['onmousedown'].' + }); + '; + } + if ($polygon['onmousemove']!="") { + $polygon_output .= ' + google.maps.event.addListener(polygon_'.count($this->polygons).', "mousemove", function() { + '.$polygon['onmousemove'].' + }); + '; + } + if ($polygon['onmouseout']!="") { + $polygon_output .= ' + google.maps.event.addListener(polygon_'.count($this->polygons).', "mouseout", function() { + '.$polygon['onmouseout'].' + }); + '; + } + if ($polygon['onmouseover']!="") { + $polygon_output .= ' + google.maps.event.addListener(polygon_'.count($this->polygons).', "mouseover", function() { + '.$polygon['onmouseover'].' + }); + '; + } + if ($polygon['onmouseup']!="") { + $polygon_output .= ' + google.maps.event.addListener(polygon_'.count($this->polygons).', "mouseup", function() { + '.$polygon['onmouseup'].' + }); + '; + } + if ($polygon['onrightclick']!="") { + $polygon_output .= ' + google.maps.event.addListener(polygon_'.count($this->polygons).', "rightclick", function() { + '.$polygon['onrightclick'].' + }); + '; + } + + array_push($this->polygons, $polygon_output); + + } + + function add_circle($params = array()) + { + + $circle = array(); + + $circle['center'] = ''; // The center position (latitude/longitude coordinate OR addresse) at which the circle will appear + $circle['clickable'] = TRUE; // Defines if the circle is clickable + $circle['radius'] = 0; // The circle radius (in metres) + $circle['strokeColor'] = '0.8'; // The hex value of the circles border color + $circle['strokeOpacity'] = '0.8'; // The opacity of the circle border + $circle['strokeWeight'] = '2'; // The thickness of the circle border + $circle['fillColor'] = '#FF0000'; // The hex value of the circles fill color + $circle['fillOpacity'] = '0.3'; // The opacity of the circles fill + $circle['onclick'] = ''; // JavaScript performed when a circle is clicked + $circle['ondblclick'] = ''; // JavaScript performed when a circle is double-clicked + $circle['onmousedown'] = ''; // JavaScript performed when a mousedown event occurs on a circle + $circle['onmousemove'] = ''; // JavaScript performed when the mouse moves in the area of the circle + $circle['onmouseout'] = ''; // JavaScript performed when the mouse leaves the area of the circle + $circle['onmouseover'] = ''; // JavaScript performed when the mouse enters the area of the circle + $circle['onmouseup'] = ''; // JavaScript performed when a mouseup event occurs on a circle + $circle['onrightclick'] = ''; // JavaScript performed when a right-click occurs on a circle + $circle['zIndex'] = ''; // The zIndex of the circle. If two circles overlap, the circle with the higher zIndex will appear on top + + $circle_output = ''; + + foreach ($params as $key => $value) { + + if (isset($circle[$key])) { + + $circle[$key] = $value; + + } + + } + + if ($circle['radius']>0 && $circle['center']!="") { + + $lat_long_to_push = ''; + if ($this->is_lat_long($circle['center'])) { + $lat_long_to_push = $circle['center']; + $circle_output = ' + var circleCenter = new google.maps.LatLng('.$circle['center'].') + '; + }else{ + $lat_long = $this->get_lat_long_from_address($circle['center']); + $circle_output = ' + var circleCenter = new google.maps.LatLng('.$lat_long[0].', '.$lat_long[1].')'; + $lat_long_to_push = $lat_long[0].', '.$lat_long[1]; + } + $circle_output .= ' + lat_longs_'.$this->map_name.'.push(new google.maps.LatLng('.$lat_long_to_push.')); + '; + + $circle_output .= ' + var circleOptions = { + strokeColor: "'.$circle['strokeColor'].'", + strokeOpacity: '.$circle['strokeOpacity'].', + strokeWeight: '.$circle['strokeWeight'].', + fillColor: "'.$circle['fillColor'].'", + fillOpacity: '.$circle['fillOpacity'].', + map: '.$this->map_name.', + center: circleCenter, + radius: '.$circle['radius']; + if (!$circle['clickable']) { + $circle_output .= ', + clickable: false'; + } + if ($circle['zIndex']!="" && is_numeric($circle['zIndex'])) { + $circle_output .= ', + zIndex: '.$circle['zIndex']; + } + $circle_output .= ' + }; + var circle_'.count($this->circles).' = new google.maps.Circle(circleOptions); + '; + + if ($circle['onclick']!="") { + $circle_output .= ' + google.maps.event.addListener(circle_'.count($this->circles).', "click", function() { + '.$circle['onclick'].' + }); + '; + } + if ($circle['ondblclick']!="") { + $circle_output .= ' + google.maps.event.addListener(circle_'.count($this->circles).', "dblclick", function() { + '.$circle['ondblclick'].' + }); + '; + } + if ($circle['onmousedown']!="") { + $circle_output .= ' + google.maps.event.addListener(circle_'.count($this->circles).', "mousedown", function() { + '.$circle['onmousedown'].' + }); + '; + } + if ($circle['onmousemove']!="") { + $circle_output .= ' + google.maps.event.addListener(circle_'.count($this->circles).', "mousemove", function() { + '.$circle['onmousemove'].' + }); + '; + } + if ($circle['onmouseout']!="") { + $circle_output .= ' + google.maps.event.addListener(circle_'.count($this->circles).', "mouseout", function() { + '.$circle['onmouseout'].' + }); + '; + } + if ($circle['onmouseover']!="") { + $circle_output .= ' + google.maps.event.addListener(circle_'.count($this->circles).', "mouseover", function() { + '.$circle['onmouseover'].' + }); + '; + } + if ($circle['onmouseup']!="") { + $circle_output .= ' + google.maps.event.addListener(circle_'.count($this->circles).', "mouseup", function() { + '.$circle['onmouseup'].' + }); + '; + } + if ($circle['onrightclick']!="") { + $circle_output .= ' + google.maps.event.addListener(circle_'.count($this->circles).', "rightclick", function() { + '.$circle['onrightclick'].' + }); + '; + } + + array_push($this->circles, $circle_output); + + } + + } + + function add_rectangle($params = array()) + { + + $rectangle = array(); + + $rectangle['positionSW'] = ''; // The South-West position (latitude/longitude coordinate OR address) at which the rectangle will appear + $rectangle['positionNE'] = ''; // The North-East position(latitude/longitude coordinate OR address) at which the rectangle will appear + $rectangle['clickable'] = TRUE; // Defines if the rectangle is clickable + $rectangle['strokeColor'] = '0.8'; // The hex value of the rectangles border color + $rectangle['strokeOpacity'] = '0.8'; // The opacity of the rectangle border + $rectangle['strokeWeight'] = '2'; // The thickness of the rectangle border + $rectangle['fillColor'] = '#FF0000'; // The hex value of the rectangles fill color + $rectangle['fillOpacity'] = '0.3'; // The opacity of the rectangles fill + $rectangle['onclick'] = ''; // JavaScript performed when a rectangle is clicked + $rectangle['ondblclick'] = ''; // JavaScript performed when a rectangle is double-clicked + $rectangle['onmousedown'] = ''; // JavaScript performed when a mousedown event occurs on a rectangle + $rectangle['onmousemove'] = ''; // JavaScript performed when the mouse moves in the area of the rectangle + $rectangle['onmouseout'] = ''; // JavaScript performed when the mouse leaves the area of the rectangle + $rectangle['onmouseover'] = ''; // JavaScript performed when the mouse enters the area of the rectangle + $rectangle['onmouseup'] = ''; // JavaScript performed when a mouseup event occurs on a rectangle + $rectangle['onrightclick'] = ''; // JavaScript performed when a right-click occurs on a rectangle + $rectangle['zIndex'] = ''; // The zIndex of the rectangle. If two rectangles overlap, the rectangle with the higher zIndex will appear on top + + $rectangle_output = ''; + + foreach ($params as $key => $value) { + + if (isset($rectangle[$key])) { + + $rectangle[$key] = $value; + + } + + } + + if ($rectangle['positionSW']!="" && $rectangle['positionNE']!="") { + + $lat_long_to_push = ''; + if ($this->is_lat_long($rectangle['positionSW'])) { + $lat_long_to_push = $rectangle['positionSW']; + $rectangle_output .= ' + var positionSW = new google.maps.LatLng('.$rectangle['positionSW'].') + '; + }else{ + $lat_long = $this->get_lat_long_from_address($rectangle['positionSW']); + $rectangle_output .= ' + var positionSW = new google.maps.LatLng('.$lat_long[0].', '.$lat_long[1].')'; + $lat_long_to_push = $lat_long[0].', '.$lat_long[1]; + } + $rectangle_output .= ' + lat_longs_'.$this->map_name.'.push(new google.maps.LatLng('.$lat_long_to_push.')); + '; + + $lat_long_to_push = ''; + if ($this->is_lat_long($rectangle['positionNE'])) { + $lat_long_to_push = $rectangle['positionNE']; + $rectangle_output .= ' + var positionNE = new google.maps.LatLng('.$rectangle['positionNE'].') + '; + }else{ + $lat_long = $this->get_lat_long_from_address($rectangle['positionNE']); + $rectangle_output .= ' + var positionNE = new google.maps.LatLng('.$lat_long[0].', '.$lat_long[1].')'; + $lat_long_to_push = $lat_long[0].', '.$lat_long[1]; + } + $rectangle_output .= ' + lat_longs_'.$this->map_name.'.push(new google.maps.LatLng('.$lat_long_to_push.')); + '; + + $rectangle_output .= ' + var rectangleOptions = { + strokeColor: "'.$rectangle['strokeColor'].'", + strokeOpacity: '.$rectangle['strokeOpacity'].', + strokeWeight: '.$rectangle['strokeWeight'].', + fillColor: "'.$rectangle['fillColor'].'", + fillOpacity: '.$rectangle['fillOpacity'].', + map: '.$this->map_name.', + bounds: new google.maps.LatLngBounds(positionSW, positionNE)'; + if (!$rectangle['clickable']) { + $rectangle_output .= ', + clickable: false'; + } + if ($rectangle['zIndex']!="" && is_numeric($rectangle['zIndex'])) { + $rectangle_output .= ', + zIndex: '.$rectangle['zIndex']; + } + $rectangle_output .= ' + };'; + + $rectangle_output .= ' + var rectangle_'.count($this->rectangles).' = new google.maps.Rectangle(rectangleOptions); + '; + + if ($rectangle['onclick']!="") { + $rectangle_output .= ' + google.maps.event.addListener(rectangle_'.count($this->rectangles).', "click", function() { + '.$rectangle['onclick'].' + }); + '; + } + if ($rectangle['ondblclick']!="") { + $rectangle_output .= ' + google.maps.event.addListener(rectangle_'.count($this->rectangles).', "dblclick", function() { + '.$rectangle['ondblclick'].' + }); + '; + } + if ($rectangle['onmousedown']!="") { + $rectangle_output .= ' + google.maps.event.addListener(rectangle_'.count($this->rectangles).', "mousedown", function() { + '.$rectangle['onmousedown'].' + }); + '; + } + if ($rectangle['onmousemove']!="") { + $rectangle_output .= ' + google.maps.event.addListener(rectangle_'.count($this->rectangles).', "mousemove", function() { + '.$rectangle['onmousemove'].' + }); + '; + } + if ($rectangle['onmouseout']!="") { + $rectangle_output .= ' + google.maps.event.addListener(rectangle_'.count($this->rectangles).', "mouseout", function() { + '.$rectangle['onmouseout'].' + }); + '; + } + if ($rectangle['onmouseover']!="") { + $rectangle_output .= ' + google.maps.event.addListener(rectangle_'.count($this->rectangles).', "mouseover", function() { + '.$rectangle['onmouseover'].' + }); + '; + } + if ($rectangle['onmouseup']!="") { + $rectangle_output .= ' + google.maps.event.addListener(rectangle_'.count($this->rectangles).', "mouseup", function() { + '.$rectangle['onmouseup'].' + }); + '; + } + if ($rectangle['onrightclick']!="") { + $rectangle_output .= ' + google.maps.event.addListener(rectangle_'.count($this->rectangles).', "rightclick", function() { + '.$rectangle['onrightclick'].' + }); + '; + } + + array_push($this->rectangles, $rectangle_output); + + } + + } + + function add_ground_overlay($params = array()) + { + + $overlay = array(); + + $overlay['image'] = ''; // JavaScript performed when a ground overlay is clicked + $overlay['positionSW'] = ''; // The South-West position (latitude/longitude coordinate OR addresse) at which the ground overlay will appear + $overlay['positionNE'] = ''; // The North-East position (latitude/longitude coordinate OR addresse) at which the ground overlay will appear + $overlay['clickable'] = TRUE; // Defines if the ground overlay is clickable + $overlay['onclick'] = ''; // JavaScript performed when a ground overlay is clicked + + $overlay_output = ''; + + foreach ($params as $key => $value) { + + if (isset($overlay[$key])) { + + $overlay[$key] = $value; + + } + + } + + if ($overlay['image']!="" && $overlay['positionSW']!="" && $overlay['positionNE']!="") { + + $lat_long_to_push = ''; + if ($this->is_lat_long($overlay['positionSW'])) { + $lat_long_to_push = $overlay['positionSW']; + $overlay_output .= ' + var positionSW = new google.maps.LatLng('.$overlay['positionSW'].') + '; + }else{ + $lat_long = $this->get_lat_long_from_address($overlay['positionSW']); + $overlay_output .= ' + var positionSW = new google.maps.LatLng('.$lat_long[0].', '.$lat_long[1].')'; + $lat_long_to_push = $lat_long[0].', '.$lat_long[1]; + } + $overlay_output .= ' + lat_longs_'.$this->map_name.'.push(new google.maps.LatLng('.$lat_long_to_push.')); + '; + + $lat_long_to_push = ''; + if ($this->is_lat_long($overlay['positionNE'])) { + $lat_long_to_push = $overlay['positionNE']; + $overlay_output .= ' + var positionNE = new google.maps.LatLng('.$overlay['positionNE'].') + '; + }else{ + $lat_long = $this->get_lat_long_from_address($overlay['positionNE']); + $overlay_output .= ' + var positionNE = new google.maps.LatLng('.$lat_long[0].', '.$lat_long[1].')'; + $lat_long_to_push = $lat_long[0].', '.$lat_long[1]; + } + $overlay_output .= ' + lat_longs_'.$this->map_name.'.push(new google.maps.LatLng('.$lat_long_to_push.')); + '; + + $overlay_output .= ' + var overlay_'.count($this->overlays).' = new google.maps.GroundOverlay("'.$overlay['image'].'", new google.maps.LatLngBounds(positionSW, positionNE), { map: '.$this->map_name; + if (!$overlay['clickable']) { $overlay_output .= ', clickable: false'; } + $overlay_output .= '}); + '; + + if ($overlay['onclick']!="") { + $overlay_output .= ' + google.maps.event.addListener(overlay_'.count($this->overlays).', "click", function() { + '.$overlay['onclick'].' + }); + '; + } + + array_push($this->overlays, $overlay_output); + + } + + } + + function create_map() + { + $this->output_js = ''; + $this->output_js_contents = ''; + $this->output_html = ''; + + if ($this->maps_loaded == 0) + { + if ($this->apiKey!="") + { + if ($this->https) { $apiLocation = 'https'; }else{ $apiLocation = 'http'; } + $apiLocation .= '://maps.googleapis.com/maps/api/js?key='.$this->apiKey.'&'; + } + else + { + if ($this->https) { $apiLocation = 'https://maps-api-ssl'; }else{ $apiLocation = 'http://maps'; } + $apiLocation .= '.google.com/maps/api/js?'; + } + $apiLocation .= 'sensor='.$this->sensor; + if ($this->region!="" && strlen($this->region)==2) { $apiLocation .= '®ion='.strtoupper($this->region); } + if ($this->language!="") { $apiLocation .= '&language='.$this->language; } + $libraries = array(); + if ($this->adsense!="") { array_push($libraries, 'adsense'); } + if ($this->places!="") { array_push($libraries, 'places'); } + if ($this->panoramio) { array_push($libraries, 'panoramio'); } + if ($this->drawing) { array_push($libraries, 'drawing'); } + if (count($libraries)) { $apiLocation .= '&libraries='.implode(",", $libraries); } + + if (!$this->loadAsynchronously) + { + $this->output_js .= ' + '; + } + + if ($this->cluster) { $this->output_js .= ' + + '; } + } + if ($this->jsfile=="") { + $this->output_js .= ' + '; + } + } + } + + if ($this->jsfile=="") { + $this->output_js .= ' + //]]> + '; + } + + // set height and width + if (is_numeric($this->map_width)) { // if no width type set + $this->map_width = $this->map_width.'px'; + } + if (is_numeric($this->map_height)) { // if no height type set + $this->map_height = $this->map_height.'px'; + } + // + + $this->output_html .= '
    class != "") ? ' class="'.$this->class.'"' : '').'>
    '; + + ++$this->maps_loaded; + + return array('js'=>$this->output_js, 'html'=>$this->output_html, 'markers'=>$this->markersInfo); + + } + + function is_lat_long($input) + { + + $input = str_replace(", ", ",", trim($input)); + $input = explode(",", $input); + if (count($input)==2) { + + if (is_numeric($input[0]) && is_numeric($input[1])) { // is a lat long + return true; + }else{ // not a lat long - incorrect values + return false; + } + + }else{ // not a lat long - too many parts + return false; + } + + } + + function get_lat_long_from_address($address, $attempts = 0) + { + + $lat = 0; + $lng = 0; + + $error = ''; + + if ($this->geocodeCaching) { // if caching of geocode requests is activated + + $CI =& get_instance(); + $CI->load->database(); + $CI->db->select("latitude,longitude"); + $CI->db->from("geocoding"); + $CI->db->where("address", trim(strtolower($address))); + $query = $CI->db->get(); + + if ($query->num_rows()>0) { + $row = $query->row(); + return array($row->latitude, $row->longitude); + } + + } + + if ($this->https) { $data_location = 'https://'; }else{ $data_location = 'http://'; } + $data_location .= "maps.google.com/maps/api/geocode/json?address=".urlencode(utf8_encode($address))."&sensor=".$this->sensor; + if ($this->region!="" && strlen($this->region)==2) { $data_location .= "®ion=".$this->region; } + $data = file_get_contents($data_location); + + $data = json_decode($data); + + if ($data->status=="OK") + { + $lat = $data->results[0]->geometry->location->lat; + $lng = $data->results[0]->geometry->location->lng; + + if ($this->geocodeCaching) { // if we to need to cache this result + if ($address != "" && $lat != 0 && $lng != 0) + { + $data = array( + "address"=>trim(strtolower($address)), + "latitude"=>$lat, + "longitude"=>$lng + ); + $CI->db->insert("geocoding", $data); + } + } + } + else + { + if ($data->status == "OVER_QUERY_LIMIT") + { + $error = $data->status; + if ($attempts < 2) + { + sleep(1); + ++$attempts; + list($lat, $lng, $error) = $this->get_lat_long_from_address($address, $attempts); + } + } + } + + return array($lat, $lng, $error); + + } + +} + +?> \ No newline at end of file diff --git a/application/libraries/Jsmin.php b/application/libraries/Jsmin.php new file mode 100644 index 0000000..84ac7b7 --- /dev/null +++ b/application/libraries/Jsmin.php @@ -0,0 +1,352 @@ + + * @copyright 2002 Douglas Crockford (jsmin.c) + * @copyright 2008 Ryan Grove (PHP port) + * @license http://opensource.org/licenses/mit-license.php MIT License + * @version 1.1.1 (2008-03-02) + * @link https://github.com/rgrove/jsmin-php/ + */ + +class JSMin { + const ORD_LF = 10; + const ORD_SPACE = 32; + const ACTION_KEEP_A = 1; + const ACTION_DELETE_A = 2; + const ACTION_DELETE_A_B = 3; + + protected $a = ''; + protected $b = ''; + protected $input = ''; + protected $inputIndex = 0; + protected $inputLength = 0; + protected $lookAhead = null; + protected $output = ''; + + // -- Protected Instance Methods --------------------------------------------- + + /** + * Action -- do something! What to do is determined by the $command argument. + * + * action treats a string as a single character. Wow! + * action recognizes a regular expression if it is preceded by ( or , or =. + * + * @uses next() + * @uses get() + * @throws JSMinException If parser errors are found: + * - Unterminated string literal + * - Unterminated regular expression set in regex literal + * - Unterminated regular expression literal + * @param int $command One of class constants: + * ACTION_KEEP_A Output A. Copy B to A. Get the next B. + * ACTION_DELETE_A Copy B to A. Get the next B. (Delete A). + * ACTION_DELETE_A_B Get the next B. (Delete B). + */ + protected function action($command) { + switch($command) { + case self::ACTION_KEEP_A: + $this->output .= $this->a; + + case self::ACTION_DELETE_A: + $this->a = $this->b; + + if ($this->a === "'" || $this->a === '"') { + for (;;) { + $this->output .= $this->a; + $this->a = $this->get(); + + if ($this->a === $this->b) { + break; + } + + if (ord($this->a) <= self::ORD_LF) { + throw new JSMinException('Unterminated string literal.'); + } + + if ($this->a === '\\') { + $this->output .= $this->a; + $this->a = $this->get(); + } + } + } + + case self::ACTION_DELETE_A_B: + $this->b = $this->next(); + + if ($this->b === '/' && ( + $this->a === '(' || $this->a === ',' || $this->a === '=' || + $this->a === ':' || $this->a === '[' || $this->a === '!' || + $this->a === '&' || $this->a === '|' || $this->a === '?' || + $this->a === '{' || $this->a === '}' || $this->a === ';' || + $this->a === "\n" )) { + + $this->output .= $this->a . $this->b; + + for (;;) { + $this->a = $this->get(); + + if ($this->a === '[') { + /* + inside a regex [...] set, which MAY contain a '/' itself. Example: mootools Form.Validator near line 460: + return Form.Validator.getValidator('IsEmpty').test(element) || (/^(?:[a-z0-9!#$%&'*+/=?^_`{|}~-]\.?){0,63}[a-z0-9!#$%&'*+/=?^_`{|}~-]@(?:(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\.)*[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?|\[(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\])$/i).test(element.get('value')); + */ + for (;;) { + $this->output .= $this->a; + $this->a = $this->get(); + + if ($this->a === ']') { + break; + } elseif ($this->a === '\\') { + $this->output .= $this->a; + $this->a = $this->get(); + } elseif (ord($this->a) <= self::ORD_LF) { + throw new JSMinException('Unterminated regular expression set in regex literal.'); + } + } + } elseif ($this->a === '/') { + break; + } elseif ($this->a === '\\') { + $this->output .= $this->a; + $this->a = $this->get(); + } elseif (ord($this->a) <= self::ORD_LF) { + throw new JSMinException('Unterminated regular expression literal.'); + } + + $this->output .= $this->a; + } + + $this->b = $this->next(); + } + } + } + + /** + * Get next char. Convert ctrl char to space. + * + * @return string|null + */ + protected function get() { + $c = $this->lookAhead; + $this->lookAhead = null; + + if ($c === null) { + if ($this->inputIndex < $this->inputLength) { + $c = substr($this->input, $this->inputIndex, 1); + $this->inputIndex += 1; + } else { + $c = null; + } + } + + if ($c === "\r") { + return "\n"; + } + + if ($c === null || $c === "\n" || ord($c) >= self::ORD_SPACE) { + return $c; + } + + return ' '; + } + + /** + * Is $c a letter, digit, underscore, dollar sign, or non-ASCII character. + * + * @return bool + */ + protected function isAlphaNum($c) { + return ord($c) > 126 || $c === '\\' || preg_match('/^[\w\$]$/', $c) === 1; + } + + /** + * Perform minification, return result + * + * @uses action() + * @uses isAlphaNum() + * @return string + */ + function min($js) { + + $this->input = str_replace("\r\n", "\n", $js); + $this->inputLength = strlen($this->input); + + $this->a = "\n"; + $this->action(self::ACTION_DELETE_A_B); + + while ($this->a !== null) { + switch ($this->a) { + case ' ': + if ($this->isAlphaNum($this->b)) { + $this->action(self::ACTION_KEEP_A); + } else { + $this->action(self::ACTION_DELETE_A); + } + break; + + case "\n": + switch ($this->b) { + case '{': + case '[': + case '(': + case '+': + case '-': + $this->action(self::ACTION_KEEP_A); + break; + + case ' ': + $this->action(self::ACTION_DELETE_A_B); + break; + + default: + if ($this->isAlphaNum($this->b)) { + $this->action(self::ACTION_KEEP_A); + } + else { + $this->action(self::ACTION_DELETE_A); + } + } + break; + + default: + switch ($this->b) { + case ' ': + if ($this->isAlphaNum($this->a)) { + $this->action(self::ACTION_KEEP_A); + break; + } + + $this->action(self::ACTION_DELETE_A_B); + break; + + case "\n": + switch ($this->a) { + case '}': + case ']': + case ')': + case '+': + case '-': + case '"': + case "'": + $this->action(self::ACTION_KEEP_A); + break; + + default: + if ($this->isAlphaNum($this->a)) { + $this->action(self::ACTION_KEEP_A); + } + else { + $this->action(self::ACTION_DELETE_A_B); + } + } + break; + + default: + $this->action(self::ACTION_KEEP_A); + break; + } + } + } + + return $this->output; + } + + /** + * Get the next character, skipping over comments. peek() is used to see + * if a '/' is followed by a '/' or '*'. + * + * @uses get() + * @uses peek() + * @throws JSMinException On unterminated comment. + * @return string + */ + protected function next() { + $c = $this->get(); + + if ($c === '/') { + switch($this->peek()) { + case '/': + for (;;) { + $c = $this->get(); + + if (ord($c) <= self::ORD_LF) { + return $c; + } + } + + case '*': + $this->get(); + + for (;;) { + switch($this->get()) { + case '*': + if ($this->peek() === '/') { + $this->get(); + return ' '; + } + break; + + case null: + throw new JSMinException('Unterminated comment.'); + } + } + + default: + return $c; + } + } + + return $c; + } + + /** + * Get next char. If is ctrl character, translate to a space or newline. + * + * @uses get() + * @return string|null + */ + protected function peek() { + $this->lookAhead = $this->get(); + return $this->lookAhead; + } +} + +// -- Exceptions --------------------------------------------------------------- +class JSMinException extends Exception {} +?> \ No newline at end of file diff --git a/application/libraries/PHPMailerAutoload.php b/application/libraries/PHPMailerAutoload.php new file mode 100644 index 0000000..eaa2e30 --- /dev/null +++ b/application/libraries/PHPMailerAutoload.php @@ -0,0 +1,49 @@ + + * @author Jim Jagielski (jimjag) + * @author Andy Prevost (codeworxtech) + * @author Brent R. Matzelle (original founder) + * @copyright 2012 - 2014 Marcus Bointon + * @copyright 2010 - 2012 Jim Jagielski + * @copyright 2004 - 2009 Andy Prevost + * @license http://www.gnu.org/copyleft/lesser.html GNU Lesser General Public License + * @note This program is distributed in the hope that it will be useful - WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. + */ + +/** + * PHPMailer SPL autoloader. + * @param string $classname The name of the class to load + */ +function PHPMailerAutoload($classname) +{ + //Can't use __DIR__ as it's only in PHP 5.3+ + $filename = dirname(__FILE__).DIRECTORY_SEPARATOR.'class.'.strtolower($classname).'.php'; + if (is_readable($filename)) { + require $filename; + } +} + +if (version_compare(PHP_VERSION, '5.1.2', '>=')) { + //SPL autoloading was introduced in PHP 5.1.2 + if (version_compare(PHP_VERSION, '5.3.0', '>=')) { + spl_autoload_register('PHPMailerAutoload', true, true); + } else { + spl_autoload_register('PHPMailerAutoload'); + } +} else { + /** + * Fall back to traditional autoload for old PHP versions + * @param string $classname The name of the class to load + */ + function __autoload($classname) + { + PHPMailerAutoload($classname); + } +} diff --git a/application/libraries/class.phpmailer.php b/application/libraries/class.phpmailer.php new file mode 100644 index 0000000..9e831e2 --- /dev/null +++ b/application/libraries/class.phpmailer.php @@ -0,0 +1,3966 @@ + + * @author Jim Jagielski (jimjag) + * @author Andy Prevost (codeworxtech) + * @author Brent R. Matzelle (original founder) + * @copyright 2012 - 2014 Marcus Bointon + * @copyright 2010 - 2012 Jim Jagielski + * @copyright 2004 - 2009 Andy Prevost + * @license http://www.gnu.org/copyleft/lesser.html GNU Lesser General Public License + * @note This program is distributed in the hope that it will be useful - WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. + */ + +/** + * PHPMailer - PHP email creation and transport class. + * @package PHPMailer + * @author Marcus Bointon (Synchro/coolbru) + * @author Jim Jagielski (jimjag) + * @author Andy Prevost (codeworxtech) + * @author Brent R. Matzelle (original founder) + */ +class PHPMailer +{ + /** + * The PHPMailer Version number. + * @var string + */ + public $Version = '5.2.16'; + + /** + * Email priority. + * Options: null (default), 1 = High, 3 = Normal, 5 = low. + * When null, the header is not set at all. + * @var integer + */ + public $Priority = null; + + /** + * The character set of the message. + * @var string + */ + public $CharSet = 'iso-8859-1'; + + /** + * The MIME Content-type of the message. + * @var string + */ + public $ContentType = 'text/plain'; + + /** + * The message encoding. + * Options: "8bit", "7bit", "binary", "base64", and "quoted-printable". + * @var string + */ + public $Encoding = '8bit'; + + /** + * Holds the most recent mailer error message. + * @var string + */ + public $ErrorInfo = ''; + + /** + * The From email address for the message. + * @var string + */ + public $From = 'root@localhost'; + + /** + * The From name of the message. + * @var string + */ + public $FromName = 'Root User'; + + /** + * The Sender email (Return-Path) of the message. + * If not empty, will be sent via -f to sendmail or as 'MAIL FROM' in smtp mode. + * @var string + */ + public $Sender = ''; + + /** + * The Return-Path of the message. + * If empty, it will be set to either From or Sender. + * @var string + * @deprecated Email senders should never set a return-path header; + * it's the receiver's job (RFC5321 section 4.4), so this no longer does anything. + * @link https://tools.ietf.org/html/rfc5321#section-4.4 RFC5321 reference + */ + public $ReturnPath = ''; + + /** + * The Subject of the message. + * @var string + */ + public $Subject = ''; + + /** + * An HTML or plain text message body. + * If HTML then call isHTML(true). + * @var string + */ + public $Body = ''; + + /** + * The plain-text message body. + * This body can be read by mail clients that do not have HTML email + * capability such as mutt & Eudora. + * Clients that can read HTML will view the normal Body. + * @var string + */ + public $AltBody = ''; + + /** + * An iCal message part body. + * Only supported in simple alt or alt_inline message types + * To generate iCal events, use the bundled extras/EasyPeasyICS.php class or iCalcreator + * @link http://sprain.ch/blog/downloads/php-class-easypeasyics-create-ical-files-with-php/ + * @link http://kigkonsult.se/iCalcreator/ + * @var string + */ + public $Ical = ''; + + /** + * The complete compiled MIME message body. + * @access protected + * @var string + */ + protected $MIMEBody = ''; + + /** + * The complete compiled MIME message headers. + * @var string + * @access protected + */ + protected $MIMEHeader = ''; + + /** + * Extra headers that createHeader() doesn't fold in. + * @var string + * @access protected + */ + protected $mailHeader = ''; + + /** + * Word-wrap the message body to this number of chars. + * Set to 0 to not wrap. A useful value here is 78, for RFC2822 section 2.1.1 compliance. + * @var integer + */ + public $WordWrap = 0; + + /** + * Which method to use to send mail. + * Options: "mail", "sendmail", or "smtp". + * @var string + */ + public $Mailer = 'mail'; + + /** + * The path to the sendmail program. + * @var string + */ + public $Sendmail = '/usr/sbin/sendmail'; + + /** + * Whether mail() uses a fully sendmail-compatible MTA. + * One which supports sendmail's "-oi -f" options. + * @var boolean + */ + public $UseSendmailOptions = true; + + /** + * Path to PHPMailer plugins. + * Useful if the SMTP class is not in the PHP include path. + * @var string + * @deprecated Should not be needed now there is an autoloader. + */ + public $PluginDir = ''; + + /** + * The email address that a reading confirmation should be sent to, also known as read receipt. + * @var string + */ + public $ConfirmReadingTo = ''; + + /** + * The hostname to use in the Message-ID header and as default HELO string. + * If empty, PHPMailer attempts to find one with, in order, + * $_SERVER['SERVER_NAME'], gethostname(), php_uname('n'), or the value + * 'localhost.localdomain'. + * @var string + */ + public $Hostname = ''; + + /** + * An ID to be used in the Message-ID header. + * If empty, a unique id will be generated. + * You can set your own, but it must be in the format "", + * as defined in RFC5322 section 3.6.4 or it will be ignored. + * @see https://tools.ietf.org/html/rfc5322#section-3.6.4 + * @var string + */ + public $MessageID = ''; + + /** + * The message Date to be used in the Date header. + * If empty, the current date will be added. + * @var string + */ + public $MessageDate = ''; + + /** + * SMTP hosts. + * Either a single hostname or multiple semicolon-delimited hostnames. + * You can also specify a different port + * for each host by using this format: [hostname:port] + * (e.g. "smtp1.example.com:25;smtp2.example.com"). + * You can also specify encryption type, for example: + * (e.g. "tls://smtp1.example.com:587;ssl://smtp2.example.com:465"). + * Hosts will be tried in order. + * @var string + */ + public $Host = 'localhost'; + + /** + * The default SMTP server port. + * @var integer + * @TODO Why is this needed when the SMTP class takes care of it? + */ + public $Port = 25; + + /** + * The SMTP HELO of the message. + * Default is $Hostname. If $Hostname is empty, PHPMailer attempts to find + * one with the same method described above for $Hostname. + * @var string + * @see PHPMailer::$Hostname + */ + public $Helo = ''; + + /** + * What kind of encryption to use on the SMTP connection. + * Options: '', 'ssl' or 'tls' + * @var string + */ + public $SMTPSecure = ''; + + /** + * Whether to enable TLS encryption automatically if a server supports it, + * even if `SMTPSecure` is not set to 'tls'. + * Be aware that in PHP >= 5.6 this requires that the server's certificates are valid. + * @var boolean + */ + public $SMTPAutoTLS = true; + + /** + * Whether to use SMTP authentication. + * Uses the Username and Password properties. + * @var boolean + * @see PHPMailer::$Username + * @see PHPMailer::$Password + */ + public $SMTPAuth = false; + + /** + * Options array passed to stream_context_create when connecting via SMTP. + * @var array + */ + public $SMTPOptions = array(); + + /** + * SMTP username. + * @var string + */ + public $Username = ''; + + /** + * SMTP password. + * @var string + */ + public $Password = ''; + + /** + * SMTP auth type. + * Options are CRAM-MD5, LOGIN, PLAIN, NTLM, XOAUTH2, attempted in that order if not specified + * @var string + */ + public $AuthType = ''; + + /** + * SMTP realm. + * Used for NTLM auth + * @var string + */ + public $Realm = ''; + + /** + * SMTP workstation. + * Used for NTLM auth + * @var string + */ + public $Workstation = ''; + + /** + * The SMTP server timeout in seconds. + * Default of 5 minutes (300sec) is from RFC2821 section 4.5.3.2 + * @var integer + */ + public $Timeout = 300; + + /** + * SMTP class debug output mode. + * Debug output level. + * Options: + * * `0` No output + * * `1` Commands + * * `2` Data and commands + * * `3` As 2 plus connection status + * * `4` Low-level data output + * @var integer + * @see SMTP::$do_debug + */ + public $SMTPDebug = 0; + + /** + * How to handle debug output. + * Options: + * * `echo` Output plain-text as-is, appropriate for CLI + * * `html` Output escaped, line breaks converted to `
    `, appropriate for browser output + * * `error_log` Output to error log as configured in php.ini + * + * Alternatively, you can provide a callable expecting two params: a message string and the debug level: + * + * $mail->Debugoutput = function($str, $level) {echo "debug level $level; message: $str";}; + * + * @var string|callable + * @see SMTP::$Debugoutput + */ + public $Debugoutput = 'echo'; + + /** + * Whether to keep SMTP connection open after each message. + * If this is set to true then to close the connection + * requires an explicit call to smtpClose(). + * @var boolean + */ + public $SMTPKeepAlive = false; + + /** + * Whether to split multiple to addresses into multiple messages + * or send them all in one message. + * Only supported in `mail` and `sendmail` transports, not in SMTP. + * @var boolean + */ + public $SingleTo = false; + + /** + * Storage for addresses when SingleTo is enabled. + * @var array + * @TODO This should really not be public + */ + public $SingleToArray = array(); + + /** + * Whether to generate VERP addresses on send. + * Only applicable when sending via SMTP. + * @link https://en.wikipedia.org/wiki/Variable_envelope_return_path + * @link http://www.postfix.org/VERP_README.html Postfix VERP info + * @var boolean + */ + public $do_verp = false; + + /** + * Whether to allow sending messages with an empty body. + * @var boolean + */ + public $AllowEmpty = false; + + /** + * The default line ending. + * @note The default remains "\n". We force CRLF where we know + * it must be used via self::CRLF. + * @var string + */ + public $LE = "\n"; + + /** + * DKIM selector. + * @var string + */ + public $DKIM_selector = ''; + + /** + * DKIM Identity. + * Usually the email address used as the source of the email. + * @var string + */ + public $DKIM_identity = ''; + + /** + * DKIM passphrase. + * Used if your key is encrypted. + * @var string + */ + public $DKIM_passphrase = ''; + + /** + * DKIM signing domain name. + * @example 'example.com' + * @var string + */ + public $DKIM_domain = ''; + + /** + * DKIM private key file path. + * @var string + */ + public $DKIM_private = ''; + + /** + * Callback Action function name. + * + * The function that handles the result of the send email action. + * It is called out by send() for each email sent. + * + * Value can be any php callable: http://www.php.net/is_callable + * + * Parameters: + * boolean $result result of the send action + * string $to email address of the recipient + * string $cc cc email addresses + * string $bcc bcc email addresses + * string $subject the subject + * string $body the email body + * string $from email address of sender + * @var string + */ + public $action_function = ''; + + /** + * What to put in the X-Mailer header. + * Options: An empty string for PHPMailer default, whitespace for none, or a string to use + * @var string + */ + public $XMailer = ''; + + /** + * Which validator to use by default when validating email addresses. + * May be a callable to inject your own validator, but there are several built-in validators. + * @see PHPMailer::validateAddress() + * @var string|callable + * @static + */ + public static $validator = 'auto'; + + /** + * An instance of the SMTP sender class. + * @var SMTP + * @access protected + */ + protected $smtp = null; + + /** + * The array of 'to' names and addresses. + * @var array + * @access protected + */ + protected $to = array(); + + /** + * The array of 'cc' names and addresses. + * @var array + * @access protected + */ + protected $cc = array(); + + /** + * The array of 'bcc' names and addresses. + * @var array + * @access protected + */ + protected $bcc = array(); + + /** + * The array of reply-to names and addresses. + * @var array + * @access protected + */ + protected $ReplyTo = array(); + + /** + * An array of all kinds of addresses. + * Includes all of $to, $cc, $bcc + * @var array + * @access protected + * @see PHPMailer::$to @see PHPMailer::$cc @see PHPMailer::$bcc + */ + protected $all_recipients = array(); + + /** + * An array of names and addresses queued for validation. + * In send(), valid and non duplicate entries are moved to $all_recipients + * and one of $to, $cc, or $bcc. + * This array is used only for addresses with IDN. + * @var array + * @access protected + * @see PHPMailer::$to @see PHPMailer::$cc @see PHPMailer::$bcc + * @see PHPMailer::$all_recipients + */ + protected $RecipientsQueue = array(); + + /** + * An array of reply-to names and addresses queued for validation. + * In send(), valid and non duplicate entries are moved to $ReplyTo. + * This array is used only for addresses with IDN. + * @var array + * @access protected + * @see PHPMailer::$ReplyTo + */ + protected $ReplyToQueue = array(); + + /** + * The array of attachments. + * @var array + * @access protected + */ + protected $attachment = array(); + + /** + * The array of custom headers. + * @var array + * @access protected + */ + protected $CustomHeader = array(); + + /** + * The most recent Message-ID (including angular brackets). + * @var string + * @access protected + */ + protected $lastMessageID = ''; + + /** + * The message's MIME type. + * @var string + * @access protected + */ + protected $message_type = ''; + + /** + * The array of MIME boundary strings. + * @var array + * @access protected + */ + protected $boundary = array(); + + /** + * The array of available languages. + * @var array + * @access protected + */ + protected $language = array(); + + /** + * The number of errors encountered. + * @var integer + * @access protected + */ + protected $error_count = 0; + + /** + * The S/MIME certificate file path. + * @var string + * @access protected + */ + protected $sign_cert_file = ''; + + /** + * The S/MIME key file path. + * @var string + * @access protected + */ + protected $sign_key_file = ''; + + /** + * The optional S/MIME extra certificates ("CA Chain") file path. + * @var string + * @access protected + */ + protected $sign_extracerts_file = ''; + + /** + * The S/MIME password for the key. + * Used only if the key is encrypted. + * @var string + * @access protected + */ + protected $sign_key_pass = ''; + + /** + * Whether to throw exceptions for errors. + * @var boolean + * @access protected + */ + protected $exceptions = false; + + /** + * Unique ID used for message ID and boundaries. + * @var string + * @access protected + */ + protected $uniqueid = ''; + + /** + * Error severity: message only, continue processing. + */ + const STOP_MESSAGE = 0; + + /** + * Error severity: message, likely ok to continue processing. + */ + const STOP_CONTINUE = 1; + + /** + * Error severity: message, plus full stop, critical error reached. + */ + const STOP_CRITICAL = 2; + + /** + * SMTP RFC standard line ending. + */ + const CRLF = "\r\n"; + + /** + * The maximum line length allowed by RFC 2822 section 2.1.1 + * @var integer + */ + const MAX_LINE_LENGTH = 998; + + /** + * Constructor. + * @param boolean $exceptions Should we throw external exceptions? + */ + public function __construct($exceptions = null) + { + if ($exceptions !== null) { + $this->exceptions = (boolean)$exceptions; + } + } + + /** + * Destructor. + */ + public function __destruct() + { + //Close any open SMTP connection nicely + $this->smtpClose(); + } + + /** + * Call mail() in a safe_mode-aware fashion. + * Also, unless sendmail_path points to sendmail (or something that + * claims to be sendmail), don't pass params (not a perfect fix, + * but it will do) + * @param string $to To + * @param string $subject Subject + * @param string $body Message Body + * @param string $header Additional Header(s) + * @param string $params Params + * @access private + * @return boolean + */ + private function mailPassthru($to, $subject, $body, $header, $params) + { + //Check overloading of mail function to avoid double-encoding + if (ini_get('mbstring.func_overload') & 1) { + $subject = $this->secureHeader($subject); + } else { + $subject = $this->encodeHeader($this->secureHeader($subject)); + } + //Can't use additional_parameters in safe_mode + //@link http://php.net/manual/en/function.mail.php + if (ini_get('safe_mode') or !$this->UseSendmailOptions) { + $result = @mail($to, $subject, $body, $header); + } else { + $result = @mail($to, $subject, $body, $header, $params); + } + return $result; + } + + /** + * Output debugging info via user-defined method. + * Only generates output if SMTP debug output is enabled (@see SMTP::$do_debug). + * @see PHPMailer::$Debugoutput + * @see PHPMailer::$SMTPDebug + * @param string $str + */ + protected function edebug($str) + { + if ($this->SMTPDebug <= 0) { + return; + } + //Avoid clash with built-in function names + if (!in_array($this->Debugoutput, array('error_log', 'html', 'echo')) and is_callable($this->Debugoutput)) { + call_user_func($this->Debugoutput, $str, $this->SMTPDebug); + return; + } + switch ($this->Debugoutput) { + case 'error_log': + //Don't output, just log + error_log($str); + break; + case 'html': + //Cleans up output a bit for a better looking, HTML-safe output + echo htmlentities( + preg_replace('/[\r\n]+/', '', $str), + ENT_QUOTES, + 'UTF-8' + ) + . "
    \n"; + break; + case 'echo': + default: + //Normalize line breaks + $str = preg_replace('/\r\n?/ms', "\n", $str); + echo gmdate('Y-m-d H:i:s') . "\t" . str_replace( + "\n", + "\n \t ", + trim($str) + ) . "\n"; + } + } + + /** + * Sets message type to HTML or plain. + * @param boolean $isHtml True for HTML mode. + * @return void + */ + public function isHTML($isHtml = true) + { + if ($isHtml) { + $this->ContentType = 'text/html'; + } else { + $this->ContentType = 'text/plain'; + } + } + + /** + * Send messages using SMTP. + * @return void + */ + public function isSMTP() + { + $this->Mailer = 'smtp'; + } + + /** + * Send messages using PHP's mail() function. + * @return void + */ + public function isMail() + { + $this->Mailer = 'mail'; + } + + /** + * Send messages using $Sendmail. + * @return void + */ + public function isSendmail() + { + $ini_sendmail_path = ini_get('sendmail_path'); + + if (!stristr($ini_sendmail_path, 'sendmail')) { + $this->Sendmail = '/usr/sbin/sendmail'; + } else { + $this->Sendmail = $ini_sendmail_path; + } + $this->Mailer = 'sendmail'; + } + + /** + * Send messages using qmail. + * @return void + */ + public function isQmail() + { + $ini_sendmail_path = ini_get('sendmail_path'); + + if (!stristr($ini_sendmail_path, 'qmail')) { + $this->Sendmail = '/var/qmail/bin/qmail-inject'; + } else { + $this->Sendmail = $ini_sendmail_path; + } + $this->Mailer = 'qmail'; + } + + /** + * Add a "To" address. + * @param string $address The email address to send to + * @param string $name + * @return boolean true on success, false if address already used or invalid in some way + */ + public function addAddress($address, $name = '') + { + return $this->addOrEnqueueAnAddress('to', $address, $name); + } + + /** + * Add a "CC" address. + * @note: This function works with the SMTP mailer on win32, not with the "mail" mailer. + * @param string $address The email address to send to + * @param string $name + * @return boolean true on success, false if address already used or invalid in some way + */ + public function addCC($address, $name = '') + { + return $this->addOrEnqueueAnAddress('cc', $address, $name); + } + + /** + * Add a "BCC" address. + * @note: This function works with the SMTP mailer on win32, not with the "mail" mailer. + * @param string $address The email address to send to + * @param string $name + * @return boolean true on success, false if address already used or invalid in some way + */ + public function addBCC($address, $name = '') + { + return $this->addOrEnqueueAnAddress('bcc', $address, $name); + } + + /** + * Add a "Reply-To" address. + * @param string $address The email address to reply to + * @param string $name + * @return boolean true on success, false if address already used or invalid in some way + */ + public function addReplyTo($address, $name = '') + { + return $this->addOrEnqueueAnAddress('Reply-To', $address, $name); + } + + /** + * Add an address to one of the recipient arrays or to the ReplyTo array. Because PHPMailer + * can't validate addresses with an IDN without knowing the PHPMailer::$CharSet (that can still + * be modified after calling this function), addition of such addresses is delayed until send(). + * Addresses that have been added already return false, but do not throw exceptions. + * @param string $kind One of 'to', 'cc', 'bcc', or 'ReplyTo' + * @param string $address The email address to send, resp. to reply to + * @param string $name + * @throws phpmailerException + * @return boolean true on success, false if address already used or invalid in some way + * @access protected + */ + protected function addOrEnqueueAnAddress($kind, $address, $name) + { + $address = trim($address); + $name = trim(preg_replace('/[\r\n]+/', '', $name)); //Strip breaks and trim + if (($pos = strrpos($address, '@')) === false) { + // At-sign is misssing. + $error_message = $this->lang('invalid_address') . " (addAnAddress $kind): $address"; + $this->setError($error_message); + $this->edebug($error_message); + if ($this->exceptions) { + throw new phpmailerException($error_message); + } + return false; + } + $params = array($kind, $address, $name); + // Enqueue addresses with IDN until we know the PHPMailer::$CharSet. + if ($this->has8bitChars(substr($address, ++$pos)) and $this->idnSupported()) { + if ($kind != 'Reply-To') { + if (!array_key_exists($address, $this->RecipientsQueue)) { + $this->RecipientsQueue[$address] = $params; + return true; + } + } else { + if (!array_key_exists($address, $this->ReplyToQueue)) { + $this->ReplyToQueue[$address] = $params; + return true; + } + } + return false; + } + // Immediately add standard addresses without IDN. + return call_user_func_array(array($this, 'addAnAddress'), $params); + } + + /** + * Add an address to one of the recipient arrays or to the ReplyTo array. + * Addresses that have been added already return false, but do not throw exceptions. + * @param string $kind One of 'to', 'cc', 'bcc', or 'ReplyTo' + * @param string $address The email address to send, resp. to reply to + * @param string $name + * @throws phpmailerException + * @return boolean true on success, false if address already used or invalid in some way + * @access protected + */ + protected function addAnAddress($kind, $address, $name = '') + { + if (!in_array($kind, array('to', 'cc', 'bcc', 'Reply-To'))) { + $error_message = $this->lang('Invalid recipient kind: ') . $kind; + $this->setError($error_message); + $this->edebug($error_message); + if ($this->exceptions) { + throw new phpmailerException($error_message); + } + return false; + } + if (!$this->validateAddress($address)) { + $error_message = $this->lang('invalid_address') . " (addAnAddress $kind): $address"; + $this->setError($error_message); + $this->edebug($error_message); + if ($this->exceptions) { + throw new phpmailerException($error_message); + } + return false; + } + if ($kind != 'Reply-To') { + if (!array_key_exists(strtolower($address), $this->all_recipients)) { + array_push($this->$kind, array($address, $name)); + $this->all_recipients[strtolower($address)] = true; + return true; + } + } else { + if (!array_key_exists(strtolower($address), $this->ReplyTo)) { + $this->ReplyTo[strtolower($address)] = array($address, $name); + return true; + } + } + return false; + } + + /** + * Parse and validate a string containing one or more RFC822-style comma-separated email addresses + * of the form "display name
    " into an array of name/address pairs. + * Uses the imap_rfc822_parse_adrlist function if the IMAP extension is available. + * Note that quotes in the name part are removed. + * @param string $addrstr The address list string + * @param bool $useimap Whether to use the IMAP extension to parse the list + * @return array + * @link http://www.andrew.cmu.edu/user/agreen1/testing/mrbs/web/Mail/RFC822.php A more careful implementation + */ + public function parseAddresses($addrstr, $useimap = true) + { + $addresses = array(); + if ($useimap and function_exists('imap_rfc822_parse_adrlist')) { + //Use this built-in parser if it's available + $list = imap_rfc822_parse_adrlist($addrstr, ''); + foreach ($list as $address) { + if ($address->host != '.SYNTAX-ERROR.') { + if ($this->validateAddress($address->mailbox . '@' . $address->host)) { + $addresses[] = array( + 'name' => (property_exists($address, 'personal') ? $address->personal : ''), + 'address' => $address->mailbox . '@' . $address->host + ); + } + } + } + } else { + //Use this simpler parser + $list = explode(',', $addrstr); + foreach ($list as $address) { + $address = trim($address); + //Is there a separate name part? + if (strpos($address, '<') === false) { + //No separate name, just use the whole thing + if ($this->validateAddress($address)) { + $addresses[] = array( + 'name' => '', + 'address' => $address + ); + } + } else { + list($name, $email) = explode('<', $address); + $email = trim(str_replace('>', '', $email)); + if ($this->validateAddress($email)) { + $addresses[] = array( + 'name' => trim(str_replace(array('"', "'"), '', $name)), + 'address' => $email + ); + } + } + } + } + return $addresses; + } + + /** + * Set the From and FromName properties. + * @param string $address + * @param string $name + * @param boolean $auto Whether to also set the Sender address, defaults to true + * @throws phpmailerException + * @return boolean + */ + public function setFrom($address, $name = '', $auto = true) + { + $address = trim($address); + $name = trim(preg_replace('/[\r\n]+/', '', $name)); //Strip breaks and trim + // Don't validate now addresses with IDN. Will be done in send(). + if (($pos = strrpos($address, '@')) === false or + (!$this->has8bitChars(substr($address, ++$pos)) or !$this->idnSupported()) and + !$this->validateAddress($address)) { + $error_message = $this->lang('invalid_address') . " (setFrom) $address"; + $this->setError($error_message); + $this->edebug($error_message); + if ($this->exceptions) { + throw new phpmailerException($error_message); + } + return false; + } + $this->From = $address; + $this->FromName = $name; + if ($auto) { + if (empty($this->Sender)) { + $this->Sender = $address; + } + } + return true; + } + + /** + * Return the Message-ID header of the last email. + * Technically this is the value from the last time the headers were created, + * but it's also the message ID of the last sent message except in + * pathological cases. + * @return string + */ + public function getLastMessageID() + { + return $this->lastMessageID; + } + + /** + * Check that a string looks like an email address. + * @param string $address The email address to check + * @param string|callable $patternselect A selector for the validation pattern to use : + * * `auto` Pick best pattern automatically; + * * `pcre8` Use the squiloople.com pattern, requires PCRE > 8.0, PHP >= 5.3.2, 5.2.14; + * * `pcre` Use old PCRE implementation; + * * `php` Use PHP built-in FILTER_VALIDATE_EMAIL; + * * `html5` Use the pattern given by the HTML5 spec for 'email' type form input elements. + * * `noregex` Don't use a regex: super fast, really dumb. + * Alternatively you may pass in a callable to inject your own validator, for example: + * PHPMailer::validateAddress('user@example.com', function($address) { + * return (strpos($address, '@') !== false); + * }); + * You can also set the PHPMailer::$validator static to a callable, allowing built-in methods to use your validator. + * @return boolean + * @static + * @access public + */ + public static function validateAddress($address, $patternselect = null) + { + if (is_null($patternselect)) { + $patternselect = self::$validator; + } + if (is_callable($patternselect)) { + return call_user_func($patternselect, $address); + } + //Reject line breaks in addresses; it's valid RFC5322, but not RFC5321 + if (strpos($address, "\n") !== false or strpos($address, "\r") !== false) { + return false; + } + if (!$patternselect or $patternselect == 'auto') { + //Check this constant first so it works when extension_loaded() is disabled by safe mode + //Constant was added in PHP 5.2.4 + if (defined('PCRE_VERSION')) { + //This pattern can get stuck in a recursive loop in PCRE <= 8.0.2 + if (version_compare(PCRE_VERSION, '8.0.3') >= 0) { + $patternselect = 'pcre8'; + } else { + $patternselect = 'pcre'; + } + } elseif (function_exists('extension_loaded') and extension_loaded('pcre')) { + //Fall back to older PCRE + $patternselect = 'pcre'; + } else { + //Filter_var appeared in PHP 5.2.0 and does not require the PCRE extension + if (version_compare(PHP_VERSION, '5.2.0') >= 0) { + $patternselect = 'php'; + } else { + $patternselect = 'noregex'; + } + } + } + switch ($patternselect) { + case 'pcre8': + /** + * Uses the same RFC5322 regex on which FILTER_VALIDATE_EMAIL is based, but allows dotless domains. + * @link http://squiloople.com/2009/12/20/email-address-validation/ + * @copyright 2009-2010 Michael Rushton + * Feel free to use and redistribute this code. But please keep this copyright notice. + */ + return (boolean)preg_match( + '/^(?!(?>(?1)"?(?>\\\[ -~]|[^"])"?(?1)){255,})(?!(?>(?1)"?(?>\\\[ -~]|[^"])"?(?1)){65,}@)' . + '((?>(?>(?>((?>(?>(?>\x0D\x0A)?[\t ])+|(?>[\t ]*\x0D\x0A)?[\t ]+)?)(\((?>(?2)' . + '(?>[\x01-\x08\x0B\x0C\x0E-\'*-\[\]-\x7F]|\\\[\x00-\x7F]|(?3)))*(?2)\)))+(?2))|(?2))?)' . + '([!#-\'*+\/-9=?^-~-]+|"(?>(?2)(?>[\x01-\x08\x0B\x0C\x0E-!#-\[\]-\x7F]|\\\[\x00-\x7F]))*' . + '(?2)")(?>(?1)\.(?1)(?4))*(?1)@(?!(?1)[a-z0-9-]{64,})(?1)(?>([a-z0-9](?>[a-z0-9-]*[a-z0-9])?)' . + '(?>(?1)\.(?!(?1)[a-z0-9-]{64,})(?1)(?5)){0,126}|\[(?:(?>IPv6:(?>([a-f0-9]{1,4})(?>:(?6)){7}' . + '|(?!(?:.*[a-f0-9][:\]]){8,})((?6)(?>:(?6)){0,6})?::(?7)?))|(?>(?>IPv6:(?>(?6)(?>:(?6)){5}:' . + '|(?!(?:.*[a-f0-9]:){6,})(?8)?::(?>((?6)(?>:(?6)){0,4}):)?))?(25[0-5]|2[0-4][0-9]|1[0-9]{2}' . + '|[1-9]?[0-9])(?>\.(?9)){3}))\])(?1)$/isD', + $address + ); + case 'pcre': + //An older regex that doesn't need a recent PCRE + return (boolean)preg_match( + '/^(?!(?>"?(?>\\\[ -~]|[^"])"?){255,})(?!(?>"?(?>\\\[ -~]|[^"])"?){65,}@)(?>' . + '[!#-\'*+\/-9=?^-~-]+|"(?>(?>[\x01-\x08\x0B\x0C\x0E-!#-\[\]-\x7F]|\\\[\x00-\xFF]))*")' . + '(?>\.(?>[!#-\'*+\/-9=?^-~-]+|"(?>(?>[\x01-\x08\x0B\x0C\x0E-!#-\[\]-\x7F]|\\\[\x00-\xFF]))*"))*' . + '@(?>(?![a-z0-9-]{64,})(?>[a-z0-9](?>[a-z0-9-]*[a-z0-9])?)(?>\.(?![a-z0-9-]{64,})' . + '(?>[a-z0-9](?>[a-z0-9-]*[a-z0-9])?)){0,126}|\[(?:(?>IPv6:(?>(?>[a-f0-9]{1,4})(?>:' . + '[a-f0-9]{1,4}){7}|(?!(?:.*[a-f0-9][:\]]){8,})(?>[a-f0-9]{1,4}(?>:[a-f0-9]{1,4}){0,6})?' . + '::(?>[a-f0-9]{1,4}(?>:[a-f0-9]{1,4}){0,6})?))|(?>(?>IPv6:(?>[a-f0-9]{1,4}(?>:' . + '[a-f0-9]{1,4}){5}:|(?!(?:.*[a-f0-9]:){6,})(?>[a-f0-9]{1,4}(?>:[a-f0-9]{1,4}){0,4})?' . + '::(?>(?:[a-f0-9]{1,4}(?>:[a-f0-9]{1,4}){0,4}):)?))?(?>25[0-5]|2[0-4][0-9]|1[0-9]{2}' . + '|[1-9]?[0-9])(?>\.(?>25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9]?[0-9])){3}))\])$/isD', + $address + ); + case 'html5': + /** + * This is the pattern used in the HTML5 spec for validation of 'email' type form input elements. + * @link http://www.whatwg.org/specs/web-apps/current-work/#e-mail-state-(type=email) + */ + return (boolean)preg_match( + '/^[a-zA-Z0-9.!#$%&\'*+\/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}' . + '[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/sD', + $address + ); + case 'noregex': + //No PCRE! Do something _very_ approximate! + //Check the address is 3 chars or longer and contains an @ that's not the first or last char + return (strlen($address) >= 3 + and strpos($address, '@') >= 1 + and strpos($address, '@') != strlen($address) - 1); + case 'php': + default: + return (boolean)filter_var($address, FILTER_VALIDATE_EMAIL); + } + } + + /** + * Tells whether IDNs (Internationalized Domain Names) are supported or not. This requires the + * "intl" and "mbstring" PHP extensions. + * @return bool "true" if required functions for IDN support are present + */ + public function idnSupported() + { + // @TODO: Write our own "idn_to_ascii" function for PHP <= 5.2. + return function_exists('idn_to_ascii') and function_exists('mb_convert_encoding'); + } + + /** + * Converts IDN in given email address to its ASCII form, also known as punycode, if possible. + * Important: Address must be passed in same encoding as currently set in PHPMailer::$CharSet. + * This function silently returns unmodified address if: + * - No conversion is necessary (i.e. domain name is not an IDN, or is already in ASCII form) + * - Conversion to punycode is impossible (e.g. required PHP functions are not available) + * or fails for any reason (e.g. domain has characters not allowed in an IDN) + * @see PHPMailer::$CharSet + * @param string $address The email address to convert + * @return string The encoded address in ASCII form + */ + public function punyencodeAddress($address) + { + // Verify we have required functions, CharSet, and at-sign. + if ($this->idnSupported() and + !empty($this->CharSet) and + ($pos = strrpos($address, '@')) !== false) { + $domain = substr($address, ++$pos); + // Verify CharSet string is a valid one, and domain properly encoded in this CharSet. + if ($this->has8bitChars($domain) and @mb_check_encoding($domain, $this->CharSet)) { + $domain = mb_convert_encoding($domain, 'UTF-8', $this->CharSet); + if (($punycode = defined('INTL_IDNA_VARIANT_UTS46') ? + idn_to_ascii($domain, 0, INTL_IDNA_VARIANT_UTS46) : + idn_to_ascii($domain)) !== false) { + return substr($address, 0, $pos) . $punycode; + } + } + } + return $address; + } + + /** + * Create a message and send it. + * Uses the sending method specified by $Mailer. + * @throws phpmailerException + * @return boolean false on error - See the ErrorInfo property for details of the error. + */ + public function send() + { + try { + if (!$this->preSend()) { + return false; + } + return $this->postSend(); + } catch (phpmailerException $exc) { + $this->mailHeader = ''; + $this->setError($exc->getMessage()); + if ($this->exceptions) { + throw $exc; + } + return false; + } + } + + /** + * Prepare a message for sending. + * @throws phpmailerException + * @return boolean + */ + public function preSend() + { + try { + $this->error_count = 0; // Reset errors + $this->mailHeader = ''; + + // Dequeue recipient and Reply-To addresses with IDN + foreach (array_merge($this->RecipientsQueue, $this->ReplyToQueue) as $params) { + $params[1] = $this->punyencodeAddress($params[1]); + call_user_func_array(array($this, 'addAnAddress'), $params); + } + if ((count($this->to) + count($this->cc) + count($this->bcc)) < 1) { + throw new phpmailerException($this->lang('provide_address'), self::STOP_CRITICAL); + } + + // Validate From, Sender, and ConfirmReadingTo addresses + foreach (array('From', 'Sender', 'ConfirmReadingTo') as $address_kind) { + $this->$address_kind = trim($this->$address_kind); + if (empty($this->$address_kind)) { + continue; + } + $this->$address_kind = $this->punyencodeAddress($this->$address_kind); + if (!$this->validateAddress($this->$address_kind)) { + $error_message = $this->lang('invalid_address') . ' (punyEncode) ' . $this->$address_kind; + $this->setError($error_message); + $this->edebug($error_message); + if ($this->exceptions) { + throw new phpmailerException($error_message); + } + return false; + } + } + + // Set whether the message is multipart/alternative + if ($this->alternativeExists()) { + $this->ContentType = 'multipart/alternative'; + } + + $this->setMessageType(); + // Refuse to send an empty message unless we are specifically allowing it + if (!$this->AllowEmpty and empty($this->Body)) { + throw new phpmailerException($this->lang('empty_message'), self::STOP_CRITICAL); + } + + // Create body before headers in case body makes changes to headers (e.g. altering transfer encoding) + $this->MIMEHeader = ''; + $this->MIMEBody = $this->createBody(); + // createBody may have added some headers, so retain them + $tempheaders = $this->MIMEHeader; + $this->MIMEHeader = $this->createHeader(); + $this->MIMEHeader .= $tempheaders; + + // To capture the complete message when using mail(), create + // an extra header list which createHeader() doesn't fold in + if ($this->Mailer == 'mail') { + if (count($this->to) > 0) { + $this->mailHeader .= $this->addrAppend('To', $this->to); + } else { + $this->mailHeader .= $this->headerLine('To', 'undisclosed-recipients:;'); + } + $this->mailHeader .= $this->headerLine( + 'Subject', + $this->encodeHeader($this->secureHeader(trim($this->Subject))) + ); + } + + // Sign with DKIM if enabled + if (!empty($this->DKIM_domain) + && !empty($this->DKIM_private) + && !empty($this->DKIM_selector) + && file_exists($this->DKIM_private)) { + $header_dkim = $this->DKIM_Add( + $this->MIMEHeader . $this->mailHeader, + $this->encodeHeader($this->secureHeader($this->Subject)), + $this->MIMEBody + ); + $this->MIMEHeader = rtrim($this->MIMEHeader, "\r\n ") . self::CRLF . + str_replace("\r\n", "\n", $header_dkim) . self::CRLF; + } + return true; + } catch (phpmailerException $exc) { + $this->setError($exc->getMessage()); + if ($this->exceptions) { + throw $exc; + } + return false; + } + } + + /** + * Actually send a message. + * Send the email via the selected mechanism + * @throws phpmailerException + * @return boolean + */ + public function postSend() + { + try { + // Choose the mailer and send through it + switch ($this->Mailer) { + case 'sendmail': + case 'qmail': + return $this->sendmailSend($this->MIMEHeader, $this->MIMEBody); + case 'smtp': + return $this->smtpSend($this->MIMEHeader, $this->MIMEBody); + case 'mail': + return $this->mailSend($this->MIMEHeader, $this->MIMEBody); + default: + $sendMethod = $this->Mailer.'Send'; + if (method_exists($this, $sendMethod)) { + return $this->$sendMethod($this->MIMEHeader, $this->MIMEBody); + } + + return $this->mailSend($this->MIMEHeader, $this->MIMEBody); + } + } catch (phpmailerException $exc) { + $this->setError($exc->getMessage()); + $this->edebug($exc->getMessage()); + if ($this->exceptions) { + throw $exc; + } + } + return false; + } + + /** + * Send mail using the $Sendmail program. + * @param string $header The message headers + * @param string $body The message body + * @see PHPMailer::$Sendmail + * @throws phpmailerException + * @access protected + * @return boolean + */ + protected function sendmailSend($header, $body) + { + if ($this->Sender != '') { + if ($this->Mailer == 'qmail') { + $sendmail = sprintf('%s -f%s', escapeshellcmd($this->Sendmail), escapeshellarg($this->Sender)); + } else { + $sendmail = sprintf('%s -oi -f%s -t', escapeshellcmd($this->Sendmail), escapeshellarg($this->Sender)); + } + } else { + if ($this->Mailer == 'qmail') { + $sendmail = sprintf('%s', escapeshellcmd($this->Sendmail)); + } else { + $sendmail = sprintf('%s -oi -t', escapeshellcmd($this->Sendmail)); + } + } + if ($this->SingleTo) { + foreach ($this->SingleToArray as $toAddr) { + if (!@$mail = popen($sendmail, 'w')) { + throw new phpmailerException($this->lang('execute') . $this->Sendmail, self::STOP_CRITICAL); + } + fputs($mail, 'To: ' . $toAddr . "\n"); + fputs($mail, $header); + fputs($mail, $body); + $result = pclose($mail); + $this->doCallback( + ($result == 0), + array($toAddr), + $this->cc, + $this->bcc, + $this->Subject, + $body, + $this->From + ); + if ($result != 0) { + throw new phpmailerException($this->lang('execute') . $this->Sendmail, self::STOP_CRITICAL); + } + } + } else { + if (!@$mail = popen($sendmail, 'w')) { + throw new phpmailerException($this->lang('execute') . $this->Sendmail, self::STOP_CRITICAL); + } + fputs($mail, $header); + fputs($mail, $body); + $result = pclose($mail); + $this->doCallback( + ($result == 0), + $this->to, + $this->cc, + $this->bcc, + $this->Subject, + $body, + $this->From + ); + if ($result != 0) { + throw new phpmailerException($this->lang('execute') . $this->Sendmail, self::STOP_CRITICAL); + } + } + return true; + } + + /** + * Send mail using the PHP mail() function. + * @param string $header The message headers + * @param string $body The message body + * @link http://www.php.net/manual/en/book.mail.php + * @throws phpmailerException + * @access protected + * @return boolean + */ + protected function mailSend($header, $body) + { + $toArr = array(); + foreach ($this->to as $toaddr) { + $toArr[] = $this->addrFormat($toaddr); + } + $to = implode(', ', $toArr); + + $params = null; + //This sets the SMTP envelope sender which gets turned into a return-path header by the receiver + if (!empty($this->Sender)) { + $params = sprintf('-f%s', $this->Sender); + } + if ($this->Sender != '' and !ini_get('safe_mode')) { + $old_from = ini_get('sendmail_from'); + ini_set('sendmail_from', $this->Sender); + } + $result = false; + if ($this->SingleTo and count($toArr) > 1) { + foreach ($toArr as $toAddr) { + $result = $this->mailPassthru($toAddr, $this->Subject, $body, $header, $params); + $this->doCallback($result, array($toAddr), $this->cc, $this->bcc, $this->Subject, $body, $this->From); + } + } else { + $result = $this->mailPassthru($to, $this->Subject, $body, $header, $params); + $this->doCallback($result, $this->to, $this->cc, $this->bcc, $this->Subject, $body, $this->From); + } + if (isset($old_from)) { + ini_set('sendmail_from', $old_from); + } + if (!$result) { + throw new phpmailerException($this->lang('instantiate'), self::STOP_CRITICAL); + } + return true; + } + + /** + * Get an instance to use for SMTP operations. + * Override this function to load your own SMTP implementation + * @return SMTP + */ + public function getSMTPInstance() + { + if (!is_object($this->smtp)) { + $this->smtp = new SMTP; + } + return $this->smtp; + } + + /** + * Send mail via SMTP. + * Returns false if there is a bad MAIL FROM, RCPT, or DATA input. + * Uses the PHPMailerSMTP class by default. + * @see PHPMailer::getSMTPInstance() to use a different class. + * @param string $header The message headers + * @param string $body The message body + * @throws phpmailerException + * @uses SMTP + * @access protected + * @return boolean + */ + protected function smtpSend($header, $body) + { + $bad_rcpt = array(); + if (!$this->smtpConnect($this->SMTPOptions)) { + throw new phpmailerException($this->lang('smtp_connect_failed'), self::STOP_CRITICAL); + } + if ('' == $this->Sender) { + $smtp_from = $this->From; + } else { + $smtp_from = $this->Sender; + } + if (!$this->smtp->mail($smtp_from)) { + $this->setError($this->lang('from_failed') . $smtp_from . ' : ' . implode(',', $this->smtp->getError())); + throw new phpmailerException($this->ErrorInfo, self::STOP_CRITICAL); + } + + // Attempt to send to all recipients + foreach (array($this->to, $this->cc, $this->bcc) as $togroup) { + foreach ($togroup as $to) { + if (!$this->smtp->recipient($to[0])) { + $error = $this->smtp->getError(); + $bad_rcpt[] = array('to' => $to[0], 'error' => $error['detail']); + $isSent = false; + } else { + $isSent = true; + } + $this->doCallback($isSent, array($to[0]), array(), array(), $this->Subject, $body, $this->From); + } + } + + // Only send the DATA command if we have viable recipients + if ((count($this->all_recipients) > count($bad_rcpt)) and !$this->smtp->data($header . $body)) { + throw new phpmailerException($this->lang('data_not_accepted'), self::STOP_CRITICAL); + } + if ($this->SMTPKeepAlive) { + $this->smtp->reset(); + } else { + $this->smtp->quit(); + $this->smtp->close(); + } + //Create error message for any bad addresses + if (count($bad_rcpt) > 0) { + $errstr = ''; + foreach ($bad_rcpt as $bad) { + $errstr .= $bad['to'] . ': ' . $bad['error']; + } + throw new phpmailerException( + $this->lang('recipients_failed') . $errstr, + self::STOP_CONTINUE + ); + } + return true; + } + + /** + * Initiate a connection to an SMTP server. + * Returns false if the operation failed. + * @param array $options An array of options compatible with stream_context_create() + * @uses SMTP + * @access public + * @throws phpmailerException + * @return boolean + */ + public function smtpConnect($options = null) + { + if (is_null($this->smtp)) { + $this->smtp = $this->getSMTPInstance(); + } + + //If no options are provided, use whatever is set in the instance + if (is_null($options)) { + $options = $this->SMTPOptions; + } + + // Already connected? + if ($this->smtp->connected()) { + return true; + } + + $this->smtp->setTimeout($this->Timeout); + $this->smtp->setDebugLevel($this->SMTPDebug); + $this->smtp->setDebugOutput($this->Debugoutput); + $this->smtp->setVerp($this->do_verp); + $hosts = explode(';', $this->Host); + $lastexception = null; + + foreach ($hosts as $hostentry) { + $hostinfo = array(); + if (!preg_match('/^((ssl|tls):\/\/)*([a-zA-Z0-9\.-]*):?([0-9]*)$/', trim($hostentry), $hostinfo)) { + // Not a valid host entry + continue; + } + // $hostinfo[2]: optional ssl or tls prefix + // $hostinfo[3]: the hostname + // $hostinfo[4]: optional port number + // The host string prefix can temporarily override the current setting for SMTPSecure + // If it's not specified, the default value is used + $prefix = ''; + $secure = $this->SMTPSecure; + $tls = ($this->SMTPSecure == 'tls'); + if ('ssl' == $hostinfo[2] or ('' == $hostinfo[2] and 'ssl' == $this->SMTPSecure)) { + $prefix = 'ssl://'; + $tls = false; // Can't have SSL and TLS at the same time + $secure = 'ssl'; + } elseif ($hostinfo[2] == 'tls') { + $tls = true; + // tls doesn't use a prefix + $secure = 'tls'; + } + //Do we need the OpenSSL extension? + $sslext = defined('OPENSSL_ALGO_SHA1'); + if ('tls' === $secure or 'ssl' === $secure) { + //Check for an OpenSSL constant rather than using extension_loaded, which is sometimes disabled + if (!$sslext) { + throw new phpmailerException($this->lang('extension_missing').'openssl', self::STOP_CRITICAL); + } + } + $host = $hostinfo[3]; + $port = $this->Port; + $tport = (integer)$hostinfo[4]; + if ($tport > 0 and $tport < 65536) { + $port = $tport; + } + if ($this->smtp->connect($prefix . $host, $port, $this->Timeout, $options)) { + try { + if ($this->Helo) { + $hello = $this->Helo; + } else { + $hello = $this->serverHostname(); + } + $this->smtp->hello($hello); + //Automatically enable TLS encryption if: + // * it's not disabled + // * we have openssl extension + // * we are not already using SSL + // * the server offers STARTTLS + if ($this->SMTPAutoTLS and $sslext and $secure != 'ssl' and $this->smtp->getServerExt('STARTTLS')) { + $tls = true; + } + if ($tls) { + if (!$this->smtp->startTLS()) { + throw new phpmailerException($this->lang('connect_host')); + } + // We must resend EHLO after TLS negotiation + $this->smtp->hello($hello); + } + if ($this->SMTPAuth) { + if (!$this->smtp->authenticate( + $this->Username, + $this->Password, + $this->AuthType, + $this->Realm, + $this->Workstation + ) + ) { + throw new phpmailerException($this->lang('authenticate')); + } + } + return true; + } catch (phpmailerException $exc) { + $lastexception = $exc; + $this->edebug($exc->getMessage()); + // We must have connected, but then failed TLS or Auth, so close connection nicely + $this->smtp->quit(); + } + } + } + // If we get here, all connection attempts have failed, so close connection hard + $this->smtp->close(); + // As we've caught all exceptions, just report whatever the last one was + if ($this->exceptions and !is_null($lastexception)) { + throw $lastexception; + } + return false; + } + + /** + * Close the active SMTP session if one exists. + * @return void + */ + public function smtpClose() + { + if (is_a($this->smtp, 'SMTP')) { + if ($this->smtp->connected()) { + $this->smtp->quit(); + $this->smtp->close(); + } + } + } + + /** + * Set the language for error messages. + * Returns false if it cannot load the language file. + * The default language is English. + * @param string $langcode ISO 639-1 2-character language code (e.g. French is "fr") + * @param string $lang_path Path to the language file directory, with trailing separator (slash) + * @return boolean + * @access public + */ + public function setLanguage($langcode = 'en', $lang_path = '') + { + // Backwards compatibility for renamed language codes + $renamed_langcodes = array( + 'br' => 'pt_br', + 'cz' => 'cs', + 'dk' => 'da', + 'no' => 'nb', + 'se' => 'sv', + ); + + if (isset($renamed_langcodes[$langcode])) { + $langcode = $renamed_langcodes[$langcode]; + } + + // Define full set of translatable strings in English + $PHPMAILER_LANG = array( + 'authenticate' => 'SMTP Error: Could not authenticate.', + 'connect_host' => 'SMTP Error: Could not connect to SMTP host.', + 'data_not_accepted' => 'SMTP Error: data not accepted.', + 'empty_message' => 'Message body empty', + 'encoding' => 'Unknown encoding: ', + 'execute' => 'Could not execute: ', + 'file_access' => 'Could not access file: ', + 'file_open' => 'File Error: Could not open file: ', + 'from_failed' => 'The following From address failed: ', + 'instantiate' => 'Could not instantiate mail function.', + 'invalid_address' => 'Invalid address: ', + 'mailer_not_supported' => ' mailer is not supported.', + 'provide_address' => 'You must provide at least one recipient email address.', + 'recipients_failed' => 'SMTP Error: The following recipients failed: ', + 'signing' => 'Signing Error: ', + 'smtp_connect_failed' => 'SMTP connect() failed.', + 'smtp_error' => 'SMTP server error: ', + 'variable_set' => 'Cannot set or reset variable: ', + 'extension_missing' => 'Extension missing: ' + ); + if (empty($lang_path)) { + // Calculate an absolute path so it can work if CWD is not here + $lang_path = dirname(__FILE__). DIRECTORY_SEPARATOR . 'language'. DIRECTORY_SEPARATOR; + } + //Validate $langcode + if (!preg_match('/^[a-z]{2}(?:_[a-zA-Z]{2})?$/', $langcode)) { + $langcode = 'en'; + } + $foundlang = true; + $lang_file = $lang_path . 'phpmailer.lang-' . $langcode . '.php'; + // There is no English translation file + if ($langcode != 'en') { + // Make sure language file path is readable + if (!is_readable($lang_file)) { + $foundlang = false; + } else { + // Overwrite language-specific strings. + // This way we'll never have missing translation keys. + $foundlang = include $lang_file; + } + } + $this->language = $PHPMAILER_LANG; + return (boolean)$foundlang; // Returns false if language not found + } + + /** + * Get the array of strings for the current language. + * @return array + */ + public function getTranslations() + { + return $this->language; + } + + /** + * Create recipient headers. + * @access public + * @param string $type + * @param array $addr An array of recipient, + * where each recipient is a 2-element indexed array with element 0 containing an address + * and element 1 containing a name, like: + * array(array('joe@example.com', 'Joe User'), array('zoe@example.com', 'Zoe User')) + * @return string + */ + public function addrAppend($type, $addr) + { + $addresses = array(); + foreach ($addr as $address) { + $addresses[] = $this->addrFormat($address); + } + return $type . ': ' . implode(', ', $addresses) . $this->LE; + } + + /** + * Format an address for use in a message header. + * @access public + * @param array $addr A 2-element indexed array, element 0 containing an address, element 1 containing a name + * like array('joe@example.com', 'Joe User') + * @return string + */ + public function addrFormat($addr) + { + if (empty($addr[1])) { // No name provided + return $this->secureHeader($addr[0]); + } else { + return $this->encodeHeader($this->secureHeader($addr[1]), 'phrase') . ' <' . $this->secureHeader( + $addr[0] + ) . '>'; + } + } + + /** + * Word-wrap message. + * For use with mailers that do not automatically perform wrapping + * and for quoted-printable encoded messages. + * Original written by philippe. + * @param string $message The message to wrap + * @param integer $length The line length to wrap to + * @param boolean $qp_mode Whether to run in Quoted-Printable mode + * @access public + * @return string + */ + public function wrapText($message, $length, $qp_mode = false) + { + if ($qp_mode) { + $soft_break = sprintf(' =%s', $this->LE); + } else { + $soft_break = $this->LE; + } + // If utf-8 encoding is used, we will need to make sure we don't + // split multibyte characters when we wrap + $is_utf8 = (strtolower($this->CharSet) == 'utf-8'); + $lelen = strlen($this->LE); + $crlflen = strlen(self::CRLF); + + $message = $this->fixEOL($message); + //Remove a trailing line break + if (substr($message, -$lelen) == $this->LE) { + $message = substr($message, 0, -$lelen); + } + + //Split message into lines + $lines = explode($this->LE, $message); + //Message will be rebuilt in here + $message = ''; + foreach ($lines as $line) { + $words = explode(' ', $line); + $buf = ''; + $firstword = true; + foreach ($words as $word) { + if ($qp_mode and (strlen($word) > $length)) { + $space_left = $length - strlen($buf) - $crlflen; + if (!$firstword) { + if ($space_left > 20) { + $len = $space_left; + if ($is_utf8) { + $len = $this->utf8CharBoundary($word, $len); + } elseif (substr($word, $len - 1, 1) == '=') { + $len--; + } elseif (substr($word, $len - 2, 1) == '=') { + $len -= 2; + } + $part = substr($word, 0, $len); + $word = substr($word, $len); + $buf .= ' ' . $part; + $message .= $buf . sprintf('=%s', self::CRLF); + } else { + $message .= $buf . $soft_break; + } + $buf = ''; + } + while (strlen($word) > 0) { + if ($length <= 0) { + break; + } + $len = $length; + if ($is_utf8) { + $len = $this->utf8CharBoundary($word, $len); + } elseif (substr($word, $len - 1, 1) == '=') { + $len--; + } elseif (substr($word, $len - 2, 1) == '=') { + $len -= 2; + } + $part = substr($word, 0, $len); + $word = substr($word, $len); + + if (strlen($word) > 0) { + $message .= $part . sprintf('=%s', self::CRLF); + } else { + $buf = $part; + } + } + } else { + $buf_o = $buf; + if (!$firstword) { + $buf .= ' '; + } + $buf .= $word; + + if (strlen($buf) > $length and $buf_o != '') { + $message .= $buf_o . $soft_break; + $buf = $word; + } + } + $firstword = false; + } + $message .= $buf . self::CRLF; + } + + return $message; + } + + /** + * Find the last character boundary prior to $maxLength in a utf-8 + * quoted-printable encoded string. + * Original written by Colin Brown. + * @access public + * @param string $encodedText utf-8 QP text + * @param integer $maxLength Find the last character boundary prior to this length + * @return integer + */ + public function utf8CharBoundary($encodedText, $maxLength) + { + $foundSplitPos = false; + $lookBack = 3; + while (!$foundSplitPos) { + $lastChunk = substr($encodedText, $maxLength - $lookBack, $lookBack); + $encodedCharPos = strpos($lastChunk, '='); + if (false !== $encodedCharPos) { + // Found start of encoded character byte within $lookBack block. + // Check the encoded byte value (the 2 chars after the '=') + $hex = substr($encodedText, $maxLength - $lookBack + $encodedCharPos + 1, 2); + $dec = hexdec($hex); + if ($dec < 128) { + // Single byte character. + // If the encoded char was found at pos 0, it will fit + // otherwise reduce maxLength to start of the encoded char + if ($encodedCharPos > 0) { + $maxLength = $maxLength - ($lookBack - $encodedCharPos); + } + $foundSplitPos = true; + } elseif ($dec >= 192) { + // First byte of a multi byte character + // Reduce maxLength to split at start of character + $maxLength = $maxLength - ($lookBack - $encodedCharPos); + $foundSplitPos = true; + } elseif ($dec < 192) { + // Middle byte of a multi byte character, look further back + $lookBack += 3; + } + } else { + // No encoded character found + $foundSplitPos = true; + } + } + return $maxLength; + } + + /** + * Apply word wrapping to the message body. + * Wraps the message body to the number of chars set in the WordWrap property. + * You should only do this to plain-text bodies as wrapping HTML tags may break them. + * This is called automatically by createBody(), so you don't need to call it yourself. + * @access public + * @return void + */ + public function setWordWrap() + { + if ($this->WordWrap < 1) { + return; + } + + switch ($this->message_type) { + case 'alt': + case 'alt_inline': + case 'alt_attach': + case 'alt_inline_attach': + $this->AltBody = $this->wrapText($this->AltBody, $this->WordWrap); + break; + default: + $this->Body = $this->wrapText($this->Body, $this->WordWrap); + break; + } + } + + /** + * Assemble message headers. + * @access public + * @return string The assembled headers + */ + public function createHeader() + { + $result = ''; + + if ($this->MessageDate == '') { + $this->MessageDate = self::rfcDate(); + } + $result .= $this->headerLine('Date', $this->MessageDate); + + // To be created automatically by mail() + if ($this->SingleTo) { + if ($this->Mailer != 'mail') { + foreach ($this->to as $toaddr) { + $this->SingleToArray[] = $this->addrFormat($toaddr); + } + } + } else { + if (count($this->to) > 0) { + if ($this->Mailer != 'mail') { + $result .= $this->addrAppend('To', $this->to); + } + } elseif (count($this->cc) == 0) { + $result .= $this->headerLine('To', 'undisclosed-recipients:;'); + } + } + + $result .= $this->addrAppend('From', array(array(trim($this->From), $this->FromName))); + + // sendmail and mail() extract Cc from the header before sending + if (count($this->cc) > 0) { + $result .= $this->addrAppend('Cc', $this->cc); + } + + // sendmail and mail() extract Bcc from the header before sending + if (( + $this->Mailer == 'sendmail' or $this->Mailer == 'qmail' or $this->Mailer == 'mail' + ) + and count($this->bcc) > 0 + ) { + $result .= $this->addrAppend('Bcc', $this->bcc); + } + + if (count($this->ReplyTo) > 0) { + $result .= $this->addrAppend('Reply-To', $this->ReplyTo); + } + + // mail() sets the subject itself + if ($this->Mailer != 'mail') { + $result .= $this->headerLine('Subject', $this->encodeHeader($this->secureHeader($this->Subject))); + } + + // Only allow a custom message ID if it conforms to RFC 5322 section 3.6.4 + // https://tools.ietf.org/html/rfc5322#section-3.6.4 + if ('' != $this->MessageID and preg_match('/^<.*@.*>$/', $this->MessageID)) { + $this->lastMessageID = $this->MessageID; + } else { + $this->lastMessageID = sprintf('<%s@%s>', $this->uniqueid, $this->serverHostname()); + } + $result .= $this->headerLine('Message-ID', $this->lastMessageID); + if (!is_null($this->Priority)) { + $result .= $this->headerLine('X-Priority', $this->Priority); + } + if ($this->XMailer == '') { + $result .= $this->headerLine( + 'X-Mailer', + 'PHPMailer ' . $this->Version . ' (https://github.com/PHPMailer/PHPMailer)' + ); + } else { + $myXmailer = trim($this->XMailer); + if ($myXmailer) { + $result .= $this->headerLine('X-Mailer', $myXmailer); + } + } + + if ($this->ConfirmReadingTo != '') { + $result .= $this->headerLine('Disposition-Notification-To', '<' . $this->ConfirmReadingTo . '>'); + } + + // Add custom headers + foreach ($this->CustomHeader as $header) { + $result .= $this->headerLine( + trim($header[0]), + $this->encodeHeader(trim($header[1])) + ); + } + if (!$this->sign_key_file) { + $result .= $this->headerLine('MIME-Version', '1.0'); + $result .= $this->getMailMIME(); + } + + return $result; + } + + /** + * Get the message MIME type headers. + * @access public + * @return string + */ + public function getMailMIME() + { + $result = ''; + $ismultipart = true; + switch ($this->message_type) { + case 'inline': + $result .= $this->headerLine('Content-Type', 'multipart/related;'); + $result .= $this->textLine("\tboundary=\"" . $this->boundary[1] . '"'); + break; + case 'attach': + case 'inline_attach': + case 'alt_attach': + case 'alt_inline_attach': + $result .= $this->headerLine('Content-Type', 'multipart/mixed;'); + $result .= $this->textLine("\tboundary=\"" . $this->boundary[1] . '"'); + break; + case 'alt': + case 'alt_inline': + $result .= $this->headerLine('Content-Type', 'multipart/alternative;'); + $result .= $this->textLine("\tboundary=\"" . $this->boundary[1] . '"'); + break; + default: + // Catches case 'plain': and case '': + $result .= $this->textLine('Content-Type: ' . $this->ContentType . '; charset=' . $this->CharSet); + $ismultipart = false; + break; + } + // RFC1341 part 5 says 7bit is assumed if not specified + if ($this->Encoding != '7bit') { + // RFC 2045 section 6.4 says multipart MIME parts may only use 7bit, 8bit or binary CTE + if ($ismultipart) { + if ($this->Encoding == '8bit') { + $result .= $this->headerLine('Content-Transfer-Encoding', '8bit'); + } + // The only remaining alternatives are quoted-printable and base64, which are both 7bit compatible + } else { + $result .= $this->headerLine('Content-Transfer-Encoding', $this->Encoding); + } + } + + if ($this->Mailer != 'mail') { + $result .= $this->LE; + } + + return $result; + } + + /** + * Returns the whole MIME message. + * Includes complete headers and body. + * Only valid post preSend(). + * @see PHPMailer::preSend() + * @access public + * @return string + */ + public function getSentMIMEMessage() + { + return rtrim($this->MIMEHeader . $this->mailHeader, "\n\r") . self::CRLF . self::CRLF . $this->MIMEBody; + } + + /** + * Assemble the message body. + * Returns an empty string on failure. + * @access public + * @throws phpmailerException + * @return string The assembled message body + */ + public function createBody() + { + $body = ''; + //Create unique IDs and preset boundaries + $this->uniqueid = md5(uniqid(time())); + $this->boundary[1] = 'b1_' . $this->uniqueid; + $this->boundary[2] = 'b2_' . $this->uniqueid; + $this->boundary[3] = 'b3_' . $this->uniqueid; + + if ($this->sign_key_file) { + $body .= $this->getMailMIME() . $this->LE; + } + + $this->setWordWrap(); + + $bodyEncoding = $this->Encoding; + $bodyCharSet = $this->CharSet; + //Can we do a 7-bit downgrade? + if ($bodyEncoding == '8bit' and !$this->has8bitChars($this->Body)) { + $bodyEncoding = '7bit'; + //All ISO 8859, Windows codepage and UTF-8 charsets are ascii compatible up to 7-bit + $bodyCharSet = 'us-ascii'; + } + //If lines are too long, and we're not already using an encoding that will shorten them, + //change to quoted-printable transfer encoding for the body part only + if ('base64' != $this->Encoding and self::hasLineLongerThanMax($this->Body)) { + $bodyEncoding = 'quoted-printable'; + } + + $altBodyEncoding = $this->Encoding; + $altBodyCharSet = $this->CharSet; + //Can we do a 7-bit downgrade? + if ($altBodyEncoding == '8bit' and !$this->has8bitChars($this->AltBody)) { + $altBodyEncoding = '7bit'; + //All ISO 8859, Windows codepage and UTF-8 charsets are ascii compatible up to 7-bit + $altBodyCharSet = 'us-ascii'; + } + //If lines are too long, and we're not already using an encoding that will shorten them, + //change to quoted-printable transfer encoding for the alt body part only + if ('base64' != $altBodyEncoding and self::hasLineLongerThanMax($this->AltBody)) { + $altBodyEncoding = 'quoted-printable'; + } + //Use this as a preamble in all multipart message types + $mimepre = "This is a multi-part message in MIME format." . $this->LE . $this->LE; + switch ($this->message_type) { + case 'inline': + $body .= $mimepre; + $body .= $this->getBoundary($this->boundary[1], $bodyCharSet, '', $bodyEncoding); + $body .= $this->encodeString($this->Body, $bodyEncoding); + $body .= $this->LE . $this->LE; + $body .= $this->attachAll('inline', $this->boundary[1]); + break; + case 'attach': + $body .= $mimepre; + $body .= $this->getBoundary($this->boundary[1], $bodyCharSet, '', $bodyEncoding); + $body .= $this->encodeString($this->Body, $bodyEncoding); + $body .= $this->LE . $this->LE; + $body .= $this->attachAll('attachment', $this->boundary[1]); + break; + case 'inline_attach': + $body .= $mimepre; + $body .= $this->textLine('--' . $this->boundary[1]); + $body .= $this->headerLine('Content-Type', 'multipart/related;'); + $body .= $this->textLine("\tboundary=\"" . $this->boundary[2] . '"'); + $body .= $this->LE; + $body .= $this->getBoundary($this->boundary[2], $bodyCharSet, '', $bodyEncoding); + $body .= $this->encodeString($this->Body, $bodyEncoding); + $body .= $this->LE . $this->LE; + $body .= $this->attachAll('inline', $this->boundary[2]); + $body .= $this->LE; + $body .= $this->attachAll('attachment', $this->boundary[1]); + break; + case 'alt': + $body .= $mimepre; + $body .= $this->getBoundary($this->boundary[1], $altBodyCharSet, 'text/plain', $altBodyEncoding); + $body .= $this->encodeString($this->AltBody, $altBodyEncoding); + $body .= $this->LE . $this->LE; + $body .= $this->getBoundary($this->boundary[1], $bodyCharSet, 'text/html', $bodyEncoding); + $body .= $this->encodeString($this->Body, $bodyEncoding); + $body .= $this->LE . $this->LE; + if (!empty($this->Ical)) { + $body .= $this->getBoundary($this->boundary[1], '', 'text/calendar; method=REQUEST', ''); + $body .= $this->encodeString($this->Ical, $this->Encoding); + $body .= $this->LE . $this->LE; + } + $body .= $this->endBoundary($this->boundary[1]); + break; + case 'alt_inline': + $body .= $mimepre; + $body .= $this->getBoundary($this->boundary[1], $altBodyCharSet, 'text/plain', $altBodyEncoding); + $body .= $this->encodeString($this->AltBody, $altBodyEncoding); + $body .= $this->LE . $this->LE; + $body .= $this->textLine('--' . $this->boundary[1]); + $body .= $this->headerLine('Content-Type', 'multipart/related;'); + $body .= $this->textLine("\tboundary=\"" . $this->boundary[2] . '"'); + $body .= $this->LE; + $body .= $this->getBoundary($this->boundary[2], $bodyCharSet, 'text/html', $bodyEncoding); + $body .= $this->encodeString($this->Body, $bodyEncoding); + $body .= $this->LE . $this->LE; + $body .= $this->attachAll('inline', $this->boundary[2]); + $body .= $this->LE; + $body .= $this->endBoundary($this->boundary[1]); + break; + case 'alt_attach': + $body .= $mimepre; + $body .= $this->textLine('--' . $this->boundary[1]); + $body .= $this->headerLine('Content-Type', 'multipart/alternative;'); + $body .= $this->textLine("\tboundary=\"" . $this->boundary[2] . '"'); + $body .= $this->LE; + $body .= $this->getBoundary($this->boundary[2], $altBodyCharSet, 'text/plain', $altBodyEncoding); + $body .= $this->encodeString($this->AltBody, $altBodyEncoding); + $body .= $this->LE . $this->LE; + $body .= $this->getBoundary($this->boundary[2], $bodyCharSet, 'text/html', $bodyEncoding); + $body .= $this->encodeString($this->Body, $bodyEncoding); + $body .= $this->LE . $this->LE; + $body .= $this->endBoundary($this->boundary[2]); + $body .= $this->LE; + $body .= $this->attachAll('attachment', $this->boundary[1]); + break; + case 'alt_inline_attach': + $body .= $mimepre; + $body .= $this->textLine('--' . $this->boundary[1]); + $body .= $this->headerLine('Content-Type', 'multipart/alternative;'); + $body .= $this->textLine("\tboundary=\"" . $this->boundary[2] . '"'); + $body .= $this->LE; + $body .= $this->getBoundary($this->boundary[2], $altBodyCharSet, 'text/plain', $altBodyEncoding); + $body .= $this->encodeString($this->AltBody, $altBodyEncoding); + $body .= $this->LE . $this->LE; + $body .= $this->textLine('--' . $this->boundary[2]); + $body .= $this->headerLine('Content-Type', 'multipart/related;'); + $body .= $this->textLine("\tboundary=\"" . $this->boundary[3] . '"'); + $body .= $this->LE; + $body .= $this->getBoundary($this->boundary[3], $bodyCharSet, 'text/html', $bodyEncoding); + $body .= $this->encodeString($this->Body, $bodyEncoding); + $body .= $this->LE . $this->LE; + $body .= $this->attachAll('inline', $this->boundary[3]); + $body .= $this->LE; + $body .= $this->endBoundary($this->boundary[2]); + $body .= $this->LE; + $body .= $this->attachAll('attachment', $this->boundary[1]); + break; + default: + // Catch case 'plain' and case '', applies to simple `text/plain` and `text/html` body content types + //Reset the `Encoding` property in case we changed it for line length reasons + $this->Encoding = $bodyEncoding; + $body .= $this->encodeString($this->Body, $this->Encoding); + break; + } + + if ($this->isError()) { + $body = ''; + } elseif ($this->sign_key_file) { + try { + if (!defined('PKCS7_TEXT')) { + throw new phpmailerException($this->lang('extension_missing') . 'openssl'); + } + // @TODO would be nice to use php://temp streams here, but need to wrap for PHP < 5.1 + $file = tempnam(sys_get_temp_dir(), 'mail'); + if (false === file_put_contents($file, $body)) { + throw new phpmailerException($this->lang('signing') . ' Could not write temp file'); + } + $signed = tempnam(sys_get_temp_dir(), 'signed'); + //Workaround for PHP bug https://bugs.php.net/bug.php?id=69197 + if (empty($this->sign_extracerts_file)) { + $sign = @openssl_pkcs7_sign( + $file, + $signed, + 'file://' . realpath($this->sign_cert_file), + array('file://' . realpath($this->sign_key_file), $this->sign_key_pass), + null + ); + } else { + $sign = @openssl_pkcs7_sign( + $file, + $signed, + 'file://' . realpath($this->sign_cert_file), + array('file://' . realpath($this->sign_key_file), $this->sign_key_pass), + null, + PKCS7_DETACHED, + $this->sign_extracerts_file + ); + } + if ($sign) { + @unlink($file); + $body = file_get_contents($signed); + @unlink($signed); + //The message returned by openssl contains both headers and body, so need to split them up + $parts = explode("\n\n", $body, 2); + $this->MIMEHeader .= $parts[0] . $this->LE . $this->LE; + $body = $parts[1]; + } else { + @unlink($file); + @unlink($signed); + throw new phpmailerException($this->lang('signing') . openssl_error_string()); + } + } catch (phpmailerException $exc) { + $body = ''; + if ($this->exceptions) { + throw $exc; + } + } + } + return $body; + } + + /** + * Return the start of a message boundary. + * @access protected + * @param string $boundary + * @param string $charSet + * @param string $contentType + * @param string $encoding + * @return string + */ + protected function getBoundary($boundary, $charSet, $contentType, $encoding) + { + $result = ''; + if ($charSet == '') { + $charSet = $this->CharSet; + } + if ($contentType == '') { + $contentType = $this->ContentType; + } + if ($encoding == '') { + $encoding = $this->Encoding; + } + $result .= $this->textLine('--' . $boundary); + $result .= sprintf('Content-Type: %s; charset=%s', $contentType, $charSet); + $result .= $this->LE; + // RFC1341 part 5 says 7bit is assumed if not specified + if ($encoding != '7bit') { + $result .= $this->headerLine('Content-Transfer-Encoding', $encoding); + } + $result .= $this->LE; + + return $result; + } + + /** + * Return the end of a message boundary. + * @access protected + * @param string $boundary + * @return string + */ + protected function endBoundary($boundary) + { + return $this->LE . '--' . $boundary . '--' . $this->LE; + } + + /** + * Set the message type. + * PHPMailer only supports some preset message types, not arbitrary MIME structures. + * @access protected + * @return void + */ + protected function setMessageType() + { + $type = array(); + if ($this->alternativeExists()) { + $type[] = 'alt'; + } + if ($this->inlineImageExists()) { + $type[] = 'inline'; + } + if ($this->attachmentExists()) { + $type[] = 'attach'; + } + $this->message_type = implode('_', $type); + if ($this->message_type == '') { + //The 'plain' message_type refers to the message having a single body element, not that it is plain-text + $this->message_type = 'plain'; + } + } + + /** + * Format a header line. + * @access public + * @param string $name + * @param string $value + * @return string + */ + public function headerLine($name, $value) + { + return $name . ': ' . $value . $this->LE; + } + + /** + * Return a formatted mail line. + * @access public + * @param string $value + * @return string + */ + public function textLine($value) + { + return $value . $this->LE; + } + + /** + * Add an attachment from a path on the filesystem. + * Returns false if the file could not be found or read. + * @param string $path Path to the attachment. + * @param string $name Overrides the attachment name. + * @param string $encoding File encoding (see $Encoding). + * @param string $type File extension (MIME) type. + * @param string $disposition Disposition to use + * @throws phpmailerException + * @return boolean + */ + public function addAttachment($path, $name = '', $encoding = 'base64', $type = '', $disposition = 'attachment') + { + try { + if (!@is_file($path)) { + throw new phpmailerException($this->lang('file_access') . $path, self::STOP_CONTINUE); + } + + // If a MIME type is not specified, try to work it out from the file name + if ($type == '') { + $type = self::filenameToType($path); + } + + $filename = basename($path); + if ($name == '') { + $name = $filename; + } + + $this->attachment[] = array( + 0 => $path, + 1 => $filename, + 2 => $name, + 3 => $encoding, + 4 => $type, + 5 => false, // isStringAttachment + 6 => $disposition, + 7 => 0 + ); + + } catch (phpmailerException $exc) { + $this->setError($exc->getMessage()); + $this->edebug($exc->getMessage()); + if ($this->exceptions) { + throw $exc; + } + return false; + } + return true; + } + + /** + * Return the array of attachments. + * @return array + */ + public function getAttachments() + { + return $this->attachment; + } + + /** + * Attach all file, string, and binary attachments to the message. + * Returns an empty string on failure. + * @access protected + * @param string $disposition_type + * @param string $boundary + * @return string + */ + protected function attachAll($disposition_type, $boundary) + { + // Return text of body + $mime = array(); + $cidUniq = array(); + $incl = array(); + + // Add all attachments + foreach ($this->attachment as $attachment) { + // Check if it is a valid disposition_filter + if ($attachment[6] == $disposition_type) { + // Check for string attachment + $string = ''; + $path = ''; + $bString = $attachment[5]; + if ($bString) { + $string = $attachment[0]; + } else { + $path = $attachment[0]; + } + + $inclhash = md5(serialize($attachment)); + if (in_array($inclhash, $incl)) { + continue; + } + $incl[] = $inclhash; + $name = $attachment[2]; + $encoding = $attachment[3]; + $type = $attachment[4]; + $disposition = $attachment[6]; + $cid = $attachment[7]; + if ($disposition == 'inline' && array_key_exists($cid, $cidUniq)) { + continue; + } + $cidUniq[$cid] = true; + + $mime[] = sprintf('--%s%s', $boundary, $this->LE); + //Only include a filename property if we have one + if (!empty($name)) { + $mime[] = sprintf( + 'Content-Type: %s; name="%s"%s', + $type, + $this->encodeHeader($this->secureHeader($name)), + $this->LE + ); + } else { + $mime[] = sprintf( + 'Content-Type: %s%s', + $type, + $this->LE + ); + } + // RFC1341 part 5 says 7bit is assumed if not specified + if ($encoding != '7bit') { + $mime[] = sprintf('Content-Transfer-Encoding: %s%s', $encoding, $this->LE); + } + + if ($disposition == 'inline') { + $mime[] = sprintf('Content-ID: <%s>%s', $cid, $this->LE); + } + + // If a filename contains any of these chars, it should be quoted, + // but not otherwise: RFC2183 & RFC2045 5.1 + // Fixes a warning in IETF's msglint MIME checker + // Allow for bypassing the Content-Disposition header totally + if (!(empty($disposition))) { + $encoded_name = $this->encodeHeader($this->secureHeader($name)); + if (preg_match('/[ \(\)<>@,;:\\"\/\[\]\?=]/', $encoded_name)) { + $mime[] = sprintf( + 'Content-Disposition: %s; filename="%s"%s', + $disposition, + $encoded_name, + $this->LE . $this->LE + ); + } else { + if (!empty($encoded_name)) { + $mime[] = sprintf( + 'Content-Disposition: %s; filename=%s%s', + $disposition, + $encoded_name, + $this->LE . $this->LE + ); + } else { + $mime[] = sprintf( + 'Content-Disposition: %s%s', + $disposition, + $this->LE . $this->LE + ); + } + } + } else { + $mime[] = $this->LE; + } + + // Encode as string attachment + if ($bString) { + $mime[] = $this->encodeString($string, $encoding); + if ($this->isError()) { + return ''; + } + $mime[] = $this->LE . $this->LE; + } else { + $mime[] = $this->encodeFile($path, $encoding); + if ($this->isError()) { + return ''; + } + $mime[] = $this->LE . $this->LE; + } + } + } + + $mime[] = sprintf('--%s--%s', $boundary, $this->LE); + + return implode('', $mime); + } + + /** + * Encode a file attachment in requested format. + * Returns an empty string on failure. + * @param string $path The full path to the file + * @param string $encoding The encoding to use; one of 'base64', '7bit', '8bit', 'binary', 'quoted-printable' + * @throws phpmailerException + * @access protected + * @return string + */ + protected function encodeFile($path, $encoding = 'base64') + { + try { + if (!is_readable($path)) { + throw new phpmailerException($this->lang('file_open') . $path, self::STOP_CONTINUE); + } + $magic_quotes = get_magic_quotes_runtime(); + if ($magic_quotes) { + if (version_compare(PHP_VERSION, '5.3.0', '<')) { + set_magic_quotes_runtime(false); + } else { + //Doesn't exist in PHP 5.4, but we don't need to check because + //get_magic_quotes_runtime always returns false in 5.4+ + //so it will never get here + ini_set('magic_quotes_runtime', false); + } + } + $file_buffer = file_get_contents($path); + $file_buffer = $this->encodeString($file_buffer, $encoding); + if ($magic_quotes) { + if (version_compare(PHP_VERSION, '5.3.0', '<')) { + set_magic_quotes_runtime($magic_quotes); + } else { + ini_set('magic_quotes_runtime', $magic_quotes); + } + } + return $file_buffer; + } catch (Exception $exc) { + $this->setError($exc->getMessage()); + return ''; + } + } + + /** + * Encode a string in requested format. + * Returns an empty string on failure. + * @param string $str The text to encode + * @param string $encoding The encoding to use; one of 'base64', '7bit', '8bit', 'binary', 'quoted-printable' + * @access public + * @return string + */ + public function encodeString($str, $encoding = 'base64') + { + $encoded = ''; + switch (strtolower($encoding)) { + case 'base64': + $encoded = chunk_split(base64_encode($str), 76, $this->LE); + break; + case '7bit': + case '8bit': + $encoded = $this->fixEOL($str); + // Make sure it ends with a line break + if (substr($encoded, -(strlen($this->LE))) != $this->LE) { + $encoded .= $this->LE; + } + break; + case 'binary': + $encoded = $str; + break; + case 'quoted-printable': + $encoded = $this->encodeQP($str); + break; + default: + $this->setError($this->lang('encoding') . $encoding); + break; + } + return $encoded; + } + + /** + * Encode a header string optimally. + * Picks shortest of Q, B, quoted-printable or none. + * @access public + * @param string $str + * @param string $position + * @return string + */ + public function encodeHeader($str, $position = 'text') + { + $matchcount = 0; + switch (strtolower($position)) { + case 'phrase': + if (!preg_match('/[\200-\377]/', $str)) { + // Can't use addslashes as we don't know the value of magic_quotes_sybase + $encoded = addcslashes($str, "\0..\37\177\\\""); + if (($str == $encoded) && !preg_match('/[^A-Za-z0-9!#$%&\'*+\/=?^_`{|}~ -]/', $str)) { + return ($encoded); + } else { + return ("\"$encoded\""); + } + } + $matchcount = preg_match_all('/[^\040\041\043-\133\135-\176]/', $str, $matches); + break; + /** @noinspection PhpMissingBreakStatementInspection */ + case 'comment': + $matchcount = preg_match_all('/[()"]/', $str, $matches); + // Intentional fall-through + case 'text': + default: + $matchcount += preg_match_all('/[\000-\010\013\014\016-\037\177-\377]/', $str, $matches); + break; + } + + //There are no chars that need encoding + if ($matchcount == 0) { + return ($str); + } + + $maxlen = 75 - 7 - strlen($this->CharSet); + // Try to select the encoding which should produce the shortest output + if ($matchcount > strlen($str) / 3) { + // More than a third of the content will need encoding, so B encoding will be most efficient + $encoding = 'B'; + if (function_exists('mb_strlen') && $this->hasMultiBytes($str)) { + // Use a custom function which correctly encodes and wraps long + // multibyte strings without breaking lines within a character + $encoded = $this->base64EncodeWrapMB($str, "\n"); + } else { + $encoded = base64_encode($str); + $maxlen -= $maxlen % 4; + $encoded = trim(chunk_split($encoded, $maxlen, "\n")); + } + } else { + $encoding = 'Q'; + $encoded = $this->encodeQ($str, $position); + $encoded = $this->wrapText($encoded, $maxlen, true); + $encoded = str_replace('=' . self::CRLF, "\n", trim($encoded)); + } + + $encoded = preg_replace('/^(.*)$/m', ' =?' . $this->CharSet . "?$encoding?\\1?=", $encoded); + $encoded = trim(str_replace("\n", $this->LE, $encoded)); + + return $encoded; + } + + /** + * Check if a string contains multi-byte characters. + * @access public + * @param string $str multi-byte text to wrap encode + * @return boolean + */ + public function hasMultiBytes($str) + { + if (function_exists('mb_strlen')) { + return (strlen($str) > mb_strlen($str, $this->CharSet)); + } else { // Assume no multibytes (we can't handle without mbstring functions anyway) + return false; + } + } + + /** + * Does a string contain any 8-bit chars (in any charset)? + * @param string $text + * @return boolean + */ + public function has8bitChars($text) + { + return (boolean)preg_match('/[\x80-\xFF]/', $text); + } + + /** + * Encode and wrap long multibyte strings for mail headers + * without breaking lines within a character. + * Adapted from a function by paravoid + * @link http://www.php.net/manual/en/function.mb-encode-mimeheader.php#60283 + * @access public + * @param string $str multi-byte text to wrap encode + * @param string $linebreak string to use as linefeed/end-of-line + * @return string + */ + public function base64EncodeWrapMB($str, $linebreak = null) + { + $start = '=?' . $this->CharSet . '?B?'; + $end = '?='; + $encoded = ''; + if ($linebreak === null) { + $linebreak = $this->LE; + } + + $mb_length = mb_strlen($str, $this->CharSet); + // Each line must have length <= 75, including $start and $end + $length = 75 - strlen($start) - strlen($end); + // Average multi-byte ratio + $ratio = $mb_length / strlen($str); + // Base64 has a 4:3 ratio + $avgLength = floor($length * $ratio * .75); + + for ($i = 0; $i < $mb_length; $i += $offset) { + $lookBack = 0; + do { + $offset = $avgLength - $lookBack; + $chunk = mb_substr($str, $i, $offset, $this->CharSet); + $chunk = base64_encode($chunk); + $lookBack++; + } while (strlen($chunk) > $length); + $encoded .= $chunk . $linebreak; + } + + // Chomp the last linefeed + $encoded = substr($encoded, 0, -strlen($linebreak)); + return $encoded; + } + + /** + * Encode a string in quoted-printable format. + * According to RFC2045 section 6.7. + * @access public + * @param string $string The text to encode + * @param integer $line_max Number of chars allowed on a line before wrapping + * @return string + * @link http://www.php.net/manual/en/function.quoted-printable-decode.php#89417 Adapted from this comment + */ + public function encodeQP($string, $line_max = 76) + { + // Use native function if it's available (>= PHP5.3) + if (function_exists('quoted_printable_encode')) { + return quoted_printable_encode($string); + } + // Fall back to a pure PHP implementation + $string = str_replace( + array('%20', '%0D%0A.', '%0D%0A', '%'), + array(' ', "\r\n=2E", "\r\n", '='), + rawurlencode($string) + ); + return preg_replace('/[^\r\n]{' . ($line_max - 3) . '}[^=\r\n]{2}/', "$0=\r\n", $string); + } + + /** + * Backward compatibility wrapper for an old QP encoding function that was removed. + * @see PHPMailer::encodeQP() + * @access public + * @param string $string + * @param integer $line_max + * @param boolean $space_conv + * @return string + * @deprecated Use encodeQP instead. + */ + public function encodeQPphp( + $string, + $line_max = 76, + /** @noinspection PhpUnusedParameterInspection */ $space_conv = false + ) { + return $this->encodeQP($string, $line_max); + } + + /** + * Encode a string using Q encoding. + * @link http://tools.ietf.org/html/rfc2047 + * @param string $str the text to encode + * @param string $position Where the text is going to be used, see the RFC for what that means + * @access public + * @return string + */ + public function encodeQ($str, $position = 'text') + { + // There should not be any EOL in the string + $pattern = ''; + $encoded = str_replace(array("\r", "\n"), '', $str); + switch (strtolower($position)) { + case 'phrase': + // RFC 2047 section 5.3 + $pattern = '^A-Za-z0-9!*+\/ -'; + break; + /** @noinspection PhpMissingBreakStatementInspection */ + case 'comment': + // RFC 2047 section 5.2 + $pattern = '\(\)"'; + // intentional fall-through + // for this reason we build the $pattern without including delimiters and [] + case 'text': + default: + // RFC 2047 section 5.1 + // Replace every high ascii, control, =, ? and _ characters + $pattern = '\000-\011\013\014\016-\037\075\077\137\177-\377' . $pattern; + break; + } + $matches = array(); + if (preg_match_all("/[{$pattern}]/", $encoded, $matches)) { + // If the string contains an '=', make sure it's the first thing we replace + // so as to avoid double-encoding + $eqkey = array_search('=', $matches[0]); + if (false !== $eqkey) { + unset($matches[0][$eqkey]); + array_unshift($matches[0], '='); + } + foreach (array_unique($matches[0]) as $char) { + $encoded = str_replace($char, '=' . sprintf('%02X', ord($char)), $encoded); + } + } + // Replace every spaces to _ (more readable than =20) + return str_replace(' ', '_', $encoded); + } + + /** + * Add a string or binary attachment (non-filesystem). + * This method can be used to attach ascii or binary data, + * such as a BLOB record from a database. + * @param string $string String attachment data. + * @param string $filename Name of the attachment. + * @param string $encoding File encoding (see $Encoding). + * @param string $type File extension (MIME) type. + * @param string $disposition Disposition to use + * @return void + */ + public function addStringAttachment( + $string, + $filename, + $encoding = 'base64', + $type = '', + $disposition = 'attachment' + ) { + // If a MIME type is not specified, try to work it out from the file name + if ($type == '') { + $type = self::filenameToType($filename); + } + // Append to $attachment array + $this->attachment[] = array( + 0 => $string, + 1 => $filename, + 2 => basename($filename), + 3 => $encoding, + 4 => $type, + 5 => true, // isStringAttachment + 6 => $disposition, + 7 => 0 + ); + } + + /** + * Add an embedded (inline) attachment from a file. + * This can include images, sounds, and just about any other document type. + * These differ from 'regular' attachments in that they are intended to be + * displayed inline with the message, not just attached for download. + * This is used in HTML messages that embed the images + * the HTML refers to using the $cid value. + * @param string $path Path to the attachment. + * @param string $cid Content ID of the attachment; Use this to reference + * the content when using an embedded image in HTML. + * @param string $name Overrides the attachment name. + * @param string $encoding File encoding (see $Encoding). + * @param string $type File MIME type. + * @param string $disposition Disposition to use + * @return boolean True on successfully adding an attachment + */ + public function addEmbeddedImage($path, $cid, $name = '', $encoding = 'base64', $type = '', $disposition = 'inline') + { + if (!@is_file($path)) { + $this->setError($this->lang('file_access') . $path); + return false; + } + + // If a MIME type is not specified, try to work it out from the file name + if ($type == '') { + $type = self::filenameToType($path); + } + + $filename = basename($path); + if ($name == '') { + $name = $filename; + } + + // Append to $attachment array + $this->attachment[] = array( + 0 => $path, + 1 => $filename, + 2 => $name, + 3 => $encoding, + 4 => $type, + 5 => false, // isStringAttachment + 6 => $disposition, + 7 => $cid + ); + return true; + } + + /** + * Add an embedded stringified attachment. + * This can include images, sounds, and just about any other document type. + * Be sure to set the $type to an image type for images: + * JPEG images use 'image/jpeg', GIF uses 'image/gif', PNG uses 'image/png'. + * @param string $string The attachment binary data. + * @param string $cid Content ID of the attachment; Use this to reference + * the content when using an embedded image in HTML. + * @param string $name + * @param string $encoding File encoding (see $Encoding). + * @param string $type MIME type. + * @param string $disposition Disposition to use + * @return boolean True on successfully adding an attachment + */ + public function addStringEmbeddedImage( + $string, + $cid, + $name = '', + $encoding = 'base64', + $type = '', + $disposition = 'inline' + ) { + // If a MIME type is not specified, try to work it out from the name + if ($type == '' and !empty($name)) { + $type = self::filenameToType($name); + } + + // Append to $attachment array + $this->attachment[] = array( + 0 => $string, + 1 => $name, + 2 => $name, + 3 => $encoding, + 4 => $type, + 5 => true, // isStringAttachment + 6 => $disposition, + 7 => $cid + ); + return true; + } + + /** + * Check if an inline attachment is present. + * @access public + * @return boolean + */ + public function inlineImageExists() + { + foreach ($this->attachment as $attachment) { + if ($attachment[6] == 'inline') { + return true; + } + } + return false; + } + + /** + * Check if an attachment (non-inline) is present. + * @return boolean + */ + public function attachmentExists() + { + foreach ($this->attachment as $attachment) { + if ($attachment[6] == 'attachment') { + return true; + } + } + return false; + } + + /** + * Check if this message has an alternative body set. + * @return boolean + */ + public function alternativeExists() + { + return !empty($this->AltBody); + } + + /** + * Clear queued addresses of given kind. + * @access protected + * @param string $kind 'to', 'cc', or 'bcc' + * @return void + */ + public function clearQueuedAddresses($kind) + { + $RecipientsQueue = $this->RecipientsQueue; + foreach ($RecipientsQueue as $address => $params) { + if ($params[0] == $kind) { + unset($this->RecipientsQueue[$address]); + } + } + } + + /** + * Clear all To recipients. + * @return void + */ + public function clearAddresses() + { + foreach ($this->to as $to) { + unset($this->all_recipients[strtolower($to[0])]); + } + $this->to = array(); + $this->clearQueuedAddresses('to'); + } + + /** + * Clear all CC recipients. + * @return void + */ + public function clearCCs() + { + foreach ($this->cc as $cc) { + unset($this->all_recipients[strtolower($cc[0])]); + } + $this->cc = array(); + $this->clearQueuedAddresses('cc'); + } + + /** + * Clear all BCC recipients. + * @return void + */ + public function clearBCCs() + { + foreach ($this->bcc as $bcc) { + unset($this->all_recipients[strtolower($bcc[0])]); + } + $this->bcc = array(); + $this->clearQueuedAddresses('bcc'); + } + + /** + * Clear all ReplyTo recipients. + * @return void + */ + public function clearReplyTos() + { + $this->ReplyTo = array(); + $this->ReplyToQueue = array(); + } + + /** + * Clear all recipient types. + * @return void + */ + public function clearAllRecipients() + { + $this->to = array(); + $this->cc = array(); + $this->bcc = array(); + $this->all_recipients = array(); + $this->RecipientsQueue = array(); + } + + /** + * Clear all filesystem, string, and binary attachments. + * @return void + */ + public function clearAttachments() + { + $this->attachment = array(); + } + + /** + * Clear all custom headers. + * @return void + */ + public function clearCustomHeaders() + { + $this->CustomHeader = array(); + } + + /** + * Add an error message to the error container. + * @access protected + * @param string $msg + * @return void + */ + protected function setError($msg) + { + $this->error_count++; + if ($this->Mailer == 'smtp' and !is_null($this->smtp)) { + $lasterror = $this->smtp->getError(); + if (!empty($lasterror['error'])) { + $msg .= $this->lang('smtp_error') . $lasterror['error']; + if (!empty($lasterror['detail'])) { + $msg .= ' Detail: '. $lasterror['detail']; + } + if (!empty($lasterror['smtp_code'])) { + $msg .= ' SMTP code: ' . $lasterror['smtp_code']; + } + if (!empty($lasterror['smtp_code_ex'])) { + $msg .= ' Additional SMTP info: ' . $lasterror['smtp_code_ex']; + } + } + } + $this->ErrorInfo = $msg; + } + + /** + * Return an RFC 822 formatted date. + * @access public + * @return string + * @static + */ + public static function rfcDate() + { + // Set the time zone to whatever the default is to avoid 500 errors + // Will default to UTC if it's not set properly in php.ini + date_default_timezone_set(@date_default_timezone_get()); + return date('D, j M Y H:i:s O'); + } + + /** + * Get the server hostname. + * Returns 'localhost.localdomain' if unknown. + * @access protected + * @return string + */ + protected function serverHostname() + { + $result = 'localhost.localdomain'; + if (!empty($this->Hostname)) { + $result = $this->Hostname; + } elseif (isset($_SERVER) and array_key_exists('SERVER_NAME', $_SERVER) and !empty($_SERVER['SERVER_NAME'])) { + $result = $_SERVER['SERVER_NAME']; + } elseif (function_exists('gethostname') && gethostname() !== false) { + $result = gethostname(); + } elseif (php_uname('n') !== false) { + $result = php_uname('n'); + } + return $result; + } + + /** + * Get an error message in the current language. + * @access protected + * @param string $key + * @return string + */ + protected function lang($key) + { + if (count($this->language) < 1) { + $this->setLanguage('en'); // set the default language + } + + if (array_key_exists($key, $this->language)) { + if ($key == 'smtp_connect_failed') { + //Include a link to troubleshooting docs on SMTP connection failure + //this is by far the biggest cause of support questions + //but it's usually not PHPMailer's fault. + return $this->language[$key] . ' https://github.com/PHPMailer/PHPMailer/wiki/Troubleshooting'; + } + return $this->language[$key]; + } else { + //Return the key as a fallback + return $key; + } + } + + /** + * Check if an error occurred. + * @access public + * @return boolean True if an error did occur. + */ + public function isError() + { + return ($this->error_count > 0); + } + + /** + * Ensure consistent line endings in a string. + * Changes every end of line from CRLF, CR or LF to $this->LE. + * @access public + * @param string $str String to fixEOL + * @return string + */ + public function fixEOL($str) + { + // Normalise to \n + $nstr = str_replace(array("\r\n", "\r"), "\n", $str); + // Now convert LE as needed + if ($this->LE !== "\n") { + $nstr = str_replace("\n", $this->LE, $nstr); + } + return $nstr; + } + + /** + * Add a custom header. + * $name value can be overloaded to contain + * both header name and value (name:value) + * @access public + * @param string $name Custom header name + * @param string $value Header value + * @return void + */ + public function addCustomHeader($name, $value = null) + { + if ($value === null) { + // Value passed in as name:value + $this->CustomHeader[] = explode(':', $name, 2); + } else { + $this->CustomHeader[] = array($name, $value); + } + } + + /** + * Returns all custom headers. + * @return array + */ + public function getCustomHeaders() + { + return $this->CustomHeader; + } + + /** + * Create a message body from an HTML string. + * Automatically inlines images and creates a plain-text version by converting the HTML, + * overwriting any existing values in Body and AltBody. + * $basedir is used when handling relative image paths, e.g. + * will look for an image file in $basedir/images/a.png and convert it to inline. + * If you don't want to apply these transformations to your HTML, just set Body and AltBody yourself. + * @access public + * @param string $message HTML message string + * @param string $basedir base directory for relative paths to images + * @param boolean|callable $advanced Whether to use the internal HTML to text converter + * or your own custom converter @see PHPMailer::html2text() + * @return string $message The transformed message Body + */ + public function msgHTML($message, $basedir = '', $advanced = false) + { + preg_match_all('/(src|background)=["\'](.*)["\']/Ui', $message, $images); + if (array_key_exists(2, $images)) { + foreach ($images[2] as $imgindex => $url) { + // Convert data URIs into embedded images + if (preg_match('#^data:(image[^;,]*)(;base64)?,#', $url, $match)) { + $data = substr($url, strpos($url, ',')); + if ($match[2]) { + $data = base64_decode($data); + } else { + $data = rawurldecode($data); + } + $cid = md5($url) . '@phpmailer.0'; // RFC2392 S 2 + if ($this->addStringEmbeddedImage($data, $cid, 'embed' . $imgindex, 'base64', $match[1])) { + $message = str_replace( + $images[0][$imgindex], + $images[1][$imgindex] . '="cid:' . $cid . '"', + $message + ); + } + } elseif (substr($url, 0, 4) !== 'cid:' && !preg_match('#^[a-z][a-z0-9+.-]*://#i', $url)) { + // Do not change urls for absolute images (thanks to corvuscorax) + // Do not change urls that are already inline images + $filename = basename($url); + $directory = dirname($url); + if ($directory == '.') { + $directory = ''; + } + $cid = md5($url) . '@phpmailer.0'; // RFC2392 S 2 + if (strlen($basedir) > 1 && substr($basedir, -1) != '/') { + $basedir .= '/'; + } + if (strlen($directory) > 1 && substr($directory, -1) != '/') { + $directory .= '/'; + } + if ($this->addEmbeddedImage( + $basedir . $directory . $filename, + $cid, + $filename, + 'base64', + self::_mime_types((string)self::mb_pathinfo($filename, PATHINFO_EXTENSION)) + ) + ) { + $message = preg_replace( + '/' . $images[1][$imgindex] . '=["\']' . preg_quote($url, '/') . '["\']/Ui', + $images[1][$imgindex] . '="cid:' . $cid . '"', + $message + ); + } + } + } + } + $this->isHTML(true); + // Convert all message body line breaks to CRLF, makes quoted-printable encoding work much better + $this->Body = $this->normalizeBreaks($message); + $this->AltBody = $this->normalizeBreaks($this->html2text($message, $advanced)); + if (!$this->alternativeExists()) { + $this->AltBody = 'To view this email message, open it in a program that understands HTML!' . + self::CRLF . self::CRLF; + } + return $this->Body; + } + + /** + * Convert an HTML string into plain text. + * This is used by msgHTML(). + * Note - older versions of this function used a bundled advanced converter + * which was been removed for license reasons in #232. + * Example usage: + * + * // Use default conversion + * $plain = $mail->html2text($html); + * // Use your own custom converter + * $plain = $mail->html2text($html, function($html) { + * $converter = new MyHtml2text($html); + * return $converter->get_text(); + * }); + * + * @param string $html The HTML text to convert + * @param boolean|callable $advanced Any boolean value to use the internal converter, + * or provide your own callable for custom conversion. + * @return string + */ + public function html2text($html, $advanced = false) + { + if (is_callable($advanced)) { + return call_user_func($advanced, $html); + } + return html_entity_decode( + trim(strip_tags(preg_replace('/<(head|title|style|script)[^>]*>.*?<\/\\1>/si', '', $html))), + ENT_QUOTES, + $this->CharSet + ); + } + + /** + * Get the MIME type for a file extension. + * @param string $ext File extension + * @access public + * @return string MIME type of file. + * @static + */ + public static function _mime_types($ext = '') + { + $mimes = array( + 'xl' => 'application/excel', + 'js' => 'application/javascript', + 'hqx' => 'application/mac-binhex40', + 'cpt' => 'application/mac-compactpro', + 'bin' => 'application/macbinary', + 'doc' => 'application/msword', + 'word' => 'application/msword', + 'xlsx' => 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet', + 'xltx' => 'application/vnd.openxmlformats-officedocument.spreadsheetml.template', + 'potx' => 'application/vnd.openxmlformats-officedocument.presentationml.template', + 'ppsx' => 'application/vnd.openxmlformats-officedocument.presentationml.slideshow', + 'pptx' => 'application/vnd.openxmlformats-officedocument.presentationml.presentation', + 'sldx' => 'application/vnd.openxmlformats-officedocument.presentationml.slide', + 'docx' => 'application/vnd.openxmlformats-officedocument.wordprocessingml.document', + 'dotx' => 'application/vnd.openxmlformats-officedocument.wordprocessingml.template', + 'xlam' => 'application/vnd.ms-excel.addin.macroEnabled.12', + 'xlsb' => 'application/vnd.ms-excel.sheet.binary.macroEnabled.12', + 'class' => 'application/octet-stream', + 'dll' => 'application/octet-stream', + 'dms' => 'application/octet-stream', + 'exe' => 'application/octet-stream', + 'lha' => 'application/octet-stream', + 'lzh' => 'application/octet-stream', + 'psd' => 'application/octet-stream', + 'sea' => 'application/octet-stream', + 'so' => 'application/octet-stream', + 'oda' => 'application/oda', + 'pdf' => 'application/pdf', + 'ai' => 'application/postscript', + 'eps' => 'application/postscript', + 'ps' => 'application/postscript', + 'smi' => 'application/smil', + 'smil' => 'application/smil', + 'mif' => 'application/vnd.mif', + 'xls' => 'application/vnd.ms-excel', + 'ppt' => 'application/vnd.ms-powerpoint', + 'wbxml' => 'application/vnd.wap.wbxml', + 'wmlc' => 'application/vnd.wap.wmlc', + 'dcr' => 'application/x-director', + 'dir' => 'application/x-director', + 'dxr' => 'application/x-director', + 'dvi' => 'application/x-dvi', + 'gtar' => 'application/x-gtar', + 'php3' => 'application/x-httpd-php', + 'php4' => 'application/x-httpd-php', + 'php' => 'application/x-httpd-php', + 'phtml' => 'application/x-httpd-php', + 'phps' => 'application/x-httpd-php-source', + 'swf' => 'application/x-shockwave-flash', + 'sit' => 'application/x-stuffit', + 'tar' => 'application/x-tar', + 'tgz' => 'application/x-tar', + 'xht' => 'application/xhtml+xml', + 'xhtml' => 'application/xhtml+xml', + 'zip' => 'application/zip', + 'mid' => 'audio/midi', + 'midi' => 'audio/midi', + 'mp2' => 'audio/mpeg', + 'mp3' => 'audio/mpeg', + 'mpga' => 'audio/mpeg', + 'aif' => 'audio/x-aiff', + 'aifc' => 'audio/x-aiff', + 'aiff' => 'audio/x-aiff', + 'ram' => 'audio/x-pn-realaudio', + 'rm' => 'audio/x-pn-realaudio', + 'rpm' => 'audio/x-pn-realaudio-plugin', + 'ra' => 'audio/x-realaudio', + 'wav' => 'audio/x-wav', + 'bmp' => 'image/bmp', + 'gif' => 'image/gif', + 'jpeg' => 'image/jpeg', + 'jpe' => 'image/jpeg', + 'jpg' => 'image/jpeg', + 'png' => 'image/png', + 'tiff' => 'image/tiff', + 'tif' => 'image/tiff', + 'eml' => 'message/rfc822', + 'css' => 'text/css', + 'html' => 'text/html', + 'htm' => 'text/html', + 'shtml' => 'text/html', + 'log' => 'text/plain', + 'text' => 'text/plain', + 'txt' => 'text/plain', + 'rtx' => 'text/richtext', + 'rtf' => 'text/rtf', + 'vcf' => 'text/vcard', + 'vcard' => 'text/vcard', + 'xml' => 'text/xml', + 'xsl' => 'text/xml', + 'mpeg' => 'video/mpeg', + 'mpe' => 'video/mpeg', + 'mpg' => 'video/mpeg', + 'mov' => 'video/quicktime', + 'qt' => 'video/quicktime', + 'rv' => 'video/vnd.rn-realvideo', + 'avi' => 'video/x-msvideo', + 'movie' => 'video/x-sgi-movie' + ); + if (array_key_exists(strtolower($ext), $mimes)) { + return $mimes[strtolower($ext)]; + } + return 'application/octet-stream'; + } + + /** + * Map a file name to a MIME type. + * Defaults to 'application/octet-stream', i.e.. arbitrary binary data. + * @param string $filename A file name or full path, does not need to exist as a file + * @return string + * @static + */ + public static function filenameToType($filename) + { + // In case the path is a URL, strip any query string before getting extension + $qpos = strpos($filename, '?'); + if (false !== $qpos) { + $filename = substr($filename, 0, $qpos); + } + $pathinfo = self::mb_pathinfo($filename); + return self::_mime_types($pathinfo['extension']); + } + + /** + * Multi-byte-safe pathinfo replacement. + * Drop-in replacement for pathinfo(), but multibyte-safe, cross-platform-safe, old-version-safe. + * Works similarly to the one in PHP >= 5.2.0 + * @link http://www.php.net/manual/en/function.pathinfo.php#107461 + * @param string $path A filename or path, does not need to exist as a file + * @param integer|string $options Either a PATHINFO_* constant, + * or a string name to return only the specified piece, allows 'filename' to work on PHP < 5.2 + * @return string|array + * @static + */ + public static function mb_pathinfo($path, $options = null) + { + $ret = array('dirname' => '', 'basename' => '', 'extension' => '', 'filename' => ''); + $pathinfo = array(); + if (preg_match('%^(.*?)[\\\\/]*(([^/\\\\]*?)(\.([^\.\\\\/]+?)|))[\\\\/\.]*$%im', $path, $pathinfo)) { + if (array_key_exists(1, $pathinfo)) { + $ret['dirname'] = $pathinfo[1]; + } + if (array_key_exists(2, $pathinfo)) { + $ret['basename'] = $pathinfo[2]; + } + if (array_key_exists(5, $pathinfo)) { + $ret['extension'] = $pathinfo[5]; + } + if (array_key_exists(3, $pathinfo)) { + $ret['filename'] = $pathinfo[3]; + } + } + switch ($options) { + case PATHINFO_DIRNAME: + case 'dirname': + return $ret['dirname']; + case PATHINFO_BASENAME: + case 'basename': + return $ret['basename']; + case PATHINFO_EXTENSION: + case 'extension': + return $ret['extension']; + case PATHINFO_FILENAME: + case 'filename': + return $ret['filename']; + default: + return $ret; + } + } + + /** + * Set or reset instance properties. + * You should avoid this function - it's more verbose, less efficient, more error-prone and + * harder to debug than setting properties directly. + * Usage Example: + * `$mail->set('SMTPSecure', 'tls');` + * is the same as: + * `$mail->SMTPSecure = 'tls';` + * @access public + * @param string $name The property name to set + * @param mixed $value The value to set the property to + * @return boolean + * @TODO Should this not be using the __set() magic function? + */ + public function set($name, $value = '') + { + if (property_exists($this, $name)) { + $this->$name = $value; + return true; + } else { + $this->setError($this->lang('variable_set') . $name); + return false; + } + } + + /** + * Strip newlines to prevent header injection. + * @access public + * @param string $str + * @return string + */ + public function secureHeader($str) + { + return trim(str_replace(array("\r", "\n"), '', $str)); + } + + /** + * Normalize line breaks in a string. + * Converts UNIX LF, Mac CR and Windows CRLF line breaks into a single line break format. + * Defaults to CRLF (for message bodies) and preserves consecutive breaks. + * @param string $text + * @param string $breaktype What kind of line break to use, defaults to CRLF + * @return string + * @access public + * @static + */ + public static function normalizeBreaks($text, $breaktype = "\r\n") + { + return preg_replace('/(\r\n|\r|\n)/ms', $breaktype, $text); + } + + /** + * Set the public and private key files and password for S/MIME signing. + * @access public + * @param string $cert_filename + * @param string $key_filename + * @param string $key_pass Password for private key + * @param string $extracerts_filename Optional path to chain certificate + */ + public function sign($cert_filename, $key_filename, $key_pass, $extracerts_filename = '') + { + $this->sign_cert_file = $cert_filename; + $this->sign_key_file = $key_filename; + $this->sign_key_pass = $key_pass; + $this->sign_extracerts_file = $extracerts_filename; + } + + /** + * Quoted-Printable-encode a DKIM header. + * @access public + * @param string $txt + * @return string + */ + public function DKIM_QP($txt) + { + $line = ''; + for ($i = 0; $i < strlen($txt); $i++) { + $ord = ord($txt[$i]); + if (((0x21 <= $ord) && ($ord <= 0x3A)) || $ord == 0x3C || ((0x3E <= $ord) && ($ord <= 0x7E))) { + $line .= $txt[$i]; + } else { + $line .= '=' . sprintf('%02X', $ord); + } + } + return $line; + } + + /** + * Generate a DKIM signature. + * @access public + * @param string $signHeader + * @throws phpmailerException + * @return string The DKIM signature value + */ + public function DKIM_Sign($signHeader) + { + if (!defined('PKCS7_TEXT')) { + if ($this->exceptions) { + throw new phpmailerException($this->lang('extension_missing') . 'openssl'); + } + return ''; + } + $privKeyStr = file_get_contents($this->DKIM_private); + if ('' != $this->DKIM_passphrase) { + $privKey = openssl_pkey_get_private($privKeyStr, $this->DKIM_passphrase); + } else { + $privKey = openssl_pkey_get_private($privKeyStr); + } + //Workaround for missing digest algorithms in old PHP & OpenSSL versions + //@link http://stackoverflow.com/a/11117338/333340 + if (version_compare(PHP_VERSION, '5.3.0') >= 0 and + in_array('sha256WithRSAEncryption', openssl_get_md_methods(true))) { + if (openssl_sign($signHeader, $signature, $privKey, 'sha256WithRSAEncryption')) { + openssl_pkey_free($privKey); + return base64_encode($signature); + } + } else { + $pinfo = openssl_pkey_get_details($privKey); + $hash = hash('sha256', $signHeader); + //'Magic' constant for SHA256 from RFC3447 + //@link https://tools.ietf.org/html/rfc3447#page-43 + $t = '3031300d060960864801650304020105000420' . $hash; + $pslen = $pinfo['bits'] / 8 - (strlen($t) / 2 + 3); + $eb = pack('H*', '0001' . str_repeat('FF', $pslen) . '00' . $t); + + if (openssl_private_encrypt($eb, $signature, $privKey, OPENSSL_NO_PADDING)) { + openssl_pkey_free($privKey); + return base64_encode($signature); + } + } + openssl_pkey_free($privKey); + return ''; + } + + /** + * Generate a DKIM canonicalization header. + * @access public + * @param string $signHeader Header + * @return string + */ + public function DKIM_HeaderC($signHeader) + { + $signHeader = preg_replace('/\r\n\s+/', ' ', $signHeader); + $lines = explode("\r\n", $signHeader); + foreach ($lines as $key => $line) { + list($heading, $value) = explode(':', $line, 2); + $heading = strtolower($heading); + $value = preg_replace('/\s{2,}/', ' ', $value); // Compress useless spaces + $lines[$key] = $heading . ':' . trim($value); // Don't forget to remove WSP around the value + } + $signHeader = implode("\r\n", $lines); + return $signHeader; + } + + /** + * Generate a DKIM canonicalization body. + * @access public + * @param string $body Message Body + * @return string + */ + public function DKIM_BodyC($body) + { + if ($body == '') { + return "\r\n"; + } + // stabilize line endings + $body = str_replace("\r\n", "\n", $body); + $body = str_replace("\n", "\r\n", $body); + // END stabilize line endings + while (substr($body, strlen($body) - 4, 4) == "\r\n\r\n") { + $body = substr($body, 0, strlen($body) - 2); + } + return $body; + } + + /** + * Create the DKIM header and body in a new message header. + * @access public + * @param string $headers_line Header lines + * @param string $subject Subject + * @param string $body Body + * @return string + */ + public function DKIM_Add($headers_line, $subject, $body) + { + $DKIMsignatureType = 'rsa-sha256'; // Signature & hash algorithms + $DKIMcanonicalization = 'relaxed/simple'; // Canonicalization of header/body + $DKIMquery = 'dns/txt'; // Query method + $DKIMtime = time(); // Signature Timestamp = seconds since 00:00:00 - Jan 1, 1970 (UTC time zone) + $subject_header = "Subject: $subject"; + $headers = explode($this->LE, $headers_line); + $from_header = ''; + $to_header = ''; + $date_header = ''; + $current = ''; + foreach ($headers as $header) { + if (strpos($header, 'From:') === 0) { + $from_header = $header; + $current = 'from_header'; + } elseif (strpos($header, 'To:') === 0) { + $to_header = $header; + $current = 'to_header'; + } elseif (strpos($header, 'Date:') === 0) { + $date_header = $header; + $current = 'date_header'; + } else { + if (!empty($$current) && strpos($header, ' =?') === 0) { + $$current .= $header; + } else { + $current = ''; + } + } + } + $from = str_replace('|', '=7C', $this->DKIM_QP($from_header)); + $to = str_replace('|', '=7C', $this->DKIM_QP($to_header)); + $date = str_replace('|', '=7C', $this->DKIM_QP($date_header)); + $subject = str_replace( + '|', + '=7C', + $this->DKIM_QP($subject_header) + ); // Copied header fields (dkim-quoted-printable) + $body = $this->DKIM_BodyC($body); + $DKIMlen = strlen($body); // Length of body + $DKIMb64 = base64_encode(pack('H*', hash('sha256', $body))); // Base64 of packed binary SHA-256 hash of body + if ('' == $this->DKIM_identity) { + $ident = ''; + } else { + $ident = ' i=' . $this->DKIM_identity . ';'; + } + $dkimhdrs = 'DKIM-Signature: v=1; a=' . + $DKIMsignatureType . '; q=' . + $DKIMquery . '; l=' . + $DKIMlen . '; s=' . + $this->DKIM_selector . + ";\r\n" . + "\tt=" . $DKIMtime . '; c=' . $DKIMcanonicalization . ";\r\n" . + "\th=From:To:Date:Subject;\r\n" . + "\td=" . $this->DKIM_domain . ';' . $ident . "\r\n" . + "\tz=$from\r\n" . + "\t|$to\r\n" . + "\t|$date\r\n" . + "\t|$subject;\r\n" . + "\tbh=" . $DKIMb64 . ";\r\n" . + "\tb="; + $toSign = $this->DKIM_HeaderC( + $from_header . "\r\n" . + $to_header . "\r\n" . + $date_header . "\r\n" . + $subject_header . "\r\n" . + $dkimhdrs + ); + $signed = $this->DKIM_Sign($toSign); + return $dkimhdrs . $signed . "\r\n"; + } + + /** + * Detect if a string contains a line longer than the maximum line length allowed. + * @param string $str + * @return boolean + * @static + */ + public static function hasLineLongerThanMax($str) + { + //+2 to include CRLF line break for a 1000 total + return (boolean)preg_match('/^(.{'.(self::MAX_LINE_LENGTH + 2).',})/m', $str); + } + + /** + * Allows for public read access to 'to' property. + * @note: Before the send() call, queued addresses (i.e. with IDN) are not yet included. + * @access public + * @return array + */ + public function getToAddresses() + { + return $this->to; + } + + /** + * Allows for public read access to 'cc' property. + * @note: Before the send() call, queued addresses (i.e. with IDN) are not yet included. + * @access public + * @return array + */ + public function getCcAddresses() + { + return $this->cc; + } + + /** + * Allows for public read access to 'bcc' property. + * @note: Before the send() call, queued addresses (i.e. with IDN) are not yet included. + * @access public + * @return array + */ + public function getBccAddresses() + { + return $this->bcc; + } + + /** + * Allows for public read access to 'ReplyTo' property. + * @note: Before the send() call, queued addresses (i.e. with IDN) are not yet included. + * @access public + * @return array + */ + public function getReplyToAddresses() + { + return $this->ReplyTo; + } + + /** + * Allows for public read access to 'all_recipients' property. + * @note: Before the send() call, queued addresses (i.e. with IDN) are not yet included. + * @access public + * @return array + */ + public function getAllRecipientAddresses() + { + return $this->all_recipients; + } + + /** + * Perform a callback. + * @param boolean $isSent + * @param array $to + * @param array $cc + * @param array $bcc + * @param string $subject + * @param string $body + * @param string $from + */ + protected function doCallback($isSent, $to, $cc, $bcc, $subject, $body, $from) + { + if (!empty($this->action_function) && is_callable($this->action_function)) { + $params = array($isSent, $to, $cc, $bcc, $subject, $body, $from); + call_user_func_array($this->action_function, $params); + } + } +} + +/** + * PHPMailer exception handler + * @package PHPMailer + */ +class phpmailerException extends Exception +{ + /** + * Prettify error message output + * @return string + */ + public function errorMessage() + { + $errorMsg = '' . $this->getMessage() . "
    \n"; + return $errorMsg; + } +} diff --git a/application/libraries/class.smtp.php b/application/libraries/class.smtp.php new file mode 100644 index 0000000..f259df6 --- /dev/null +++ b/application/libraries/class.smtp.php @@ -0,0 +1,1214 @@ + + * @author Jim Jagielski (jimjag) + * @author Andy Prevost (codeworxtech) + * @author Brent R. Matzelle (original founder) + * @copyright 2014 Marcus Bointon + * @copyright 2010 - 2012 Jim Jagielski + * @copyright 2004 - 2009 Andy Prevost + * @license http://www.gnu.org/copyleft/lesser.html GNU Lesser General Public License + * @note This program is distributed in the hope that it will be useful - WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. + */ + +/** + * PHPMailer RFC821 SMTP email transport class. + * Implements RFC 821 SMTP commands and provides some utility methods for sending mail to an SMTP server. + * @package PHPMailer + * @author Chris Ryan + * @author Marcus Bointon + */ +class SMTP +{ + /** + * The PHPMailer SMTP version number. + * @var string + */ + const VERSION = '5.2.16'; + + /** + * SMTP line break constant. + * @var string + */ + const CRLF = "\r\n"; + + /** + * The SMTP port to use if one is not specified. + * @var integer + */ + const DEFAULT_SMTP_PORT = 25; + + /** + * The maximum line length allowed by RFC 2822 section 2.1.1 + * @var integer + */ + const MAX_LINE_LENGTH = 998; + + /** + * Debug level for no output + */ + const DEBUG_OFF = 0; + + /** + * Debug level to show client -> server messages + */ + const DEBUG_CLIENT = 1; + + /** + * Debug level to show client -> server and server -> client messages + */ + const DEBUG_SERVER = 2; + + /** + * Debug level to show connection status, client -> server and server -> client messages + */ + const DEBUG_CONNECTION = 3; + + /** + * Debug level to show all messages + */ + const DEBUG_LOWLEVEL = 4; + + /** + * The PHPMailer SMTP Version number. + * @var string + * @deprecated Use the `VERSION` constant instead + * @see SMTP::VERSION + */ + public $Version = '5.2.16'; + + /** + * SMTP server port number. + * @var integer + * @deprecated This is only ever used as a default value, so use the `DEFAULT_SMTP_PORT` constant instead + * @see SMTP::DEFAULT_SMTP_PORT + */ + public $SMTP_PORT = 25; + + /** + * SMTP reply line ending. + * @var string + * @deprecated Use the `CRLF` constant instead + * @see SMTP::CRLF + */ + public $CRLF = "\r\n"; + + /** + * Debug output level. + * Options: + * * self::DEBUG_OFF (`0`) No debug output, default + * * self::DEBUG_CLIENT (`1`) Client commands + * * self::DEBUG_SERVER (`2`) Client commands and server responses + * * self::DEBUG_CONNECTION (`3`) As DEBUG_SERVER plus connection status + * * self::DEBUG_LOWLEVEL (`4`) Low-level data output, all messages + * @var integer + */ + public $do_debug = self::DEBUG_OFF; + + /** + * How to handle debug output. + * Options: + * * `echo` Output plain-text as-is, appropriate for CLI + * * `html` Output escaped, line breaks converted to `
    `, appropriate for browser output + * * `error_log` Output to error log as configured in php.ini + * + * Alternatively, you can provide a callable expecting two params: a message string and the debug level: + * + * $smtp->Debugoutput = function($str, $level) {echo "debug level $level; message: $str";}; + * + * @var string|callable + */ + public $Debugoutput = 'echo'; + + /** + * Whether to use VERP. + * @link http://en.wikipedia.org/wiki/Variable_envelope_return_path + * @link http://www.postfix.org/VERP_README.html Info on VERP + * @var boolean + */ + public $do_verp = false; + + /** + * The timeout value for connection, in seconds. + * Default of 5 minutes (300sec) is from RFC2821 section 4.5.3.2 + * This needs to be quite high to function correctly with hosts using greetdelay as an anti-spam measure. + * @link http://tools.ietf.org/html/rfc2821#section-4.5.3.2 + * @var integer + */ + public $Timeout = 300; + + /** + * How long to wait for commands to complete, in seconds. + * Default of 5 minutes (300sec) is from RFC2821 section 4.5.3.2 + * @var integer + */ + public $Timelimit = 300; + + /** + * The socket for the server connection. + * @var resource + */ + protected $smtp_conn; + + /** + * Error information, if any, for the last SMTP command. + * @var array + */ + protected $error = array( + 'error' => '', + 'detail' => '', + 'smtp_code' => '', + 'smtp_code_ex' => '' + ); + + /** + * The reply the server sent to us for HELO. + * If null, no HELO string has yet been received. + * @var string|null + */ + protected $helo_rply = null; + + /** + * The set of SMTP extensions sent in reply to EHLO command. + * Indexes of the array are extension names. + * Value at index 'HELO' or 'EHLO' (according to command that was sent) + * represents the server name. In case of HELO it is the only element of the array. + * Other values can be boolean TRUE or an array containing extension options. + * If null, no HELO/EHLO string has yet been received. + * @var array|null + */ + protected $server_caps = null; + + /** + * The most recent reply received from the server. + * @var string + */ + protected $last_reply = ''; + + /** + * Output debugging info via a user-selected method. + * @see SMTP::$Debugoutput + * @see SMTP::$do_debug + * @param string $str Debug string to output + * @param integer $level The debug level of this message; see DEBUG_* constants + * @return void + */ + protected function edebug($str, $level = 0) + { + if ($level > $this->do_debug) { + return; + } + //Avoid clash with built-in function names + if (!in_array($this->Debugoutput, array('error_log', 'html', 'echo')) and is_callable($this->Debugoutput)) { + call_user_func($this->Debugoutput, $str, $this->do_debug); + return; + } + switch ($this->Debugoutput) { + case 'error_log': + //Don't output, just log + error_log($str); + break; + case 'html': + //Cleans up output a bit for a better looking, HTML-safe output + echo htmlentities( + preg_replace('/[\r\n]+/', '', $str), + ENT_QUOTES, + 'UTF-8' + ) + . "
    \n"; + break; + case 'echo': + default: + //Normalize line breaks + $str = preg_replace('/(\r\n|\r|\n)/ms', "\n", $str); + echo gmdate('Y-m-d H:i:s') . "\t" . str_replace( + "\n", + "\n \t ", + trim($str) + )."\n"; + } + } + + /** + * Connect to an SMTP server. + * @param string $host SMTP server IP or host name + * @param integer $port The port number to connect to + * @param integer $timeout How long to wait for the connection to open + * @param array $options An array of options for stream_context_create() + * @access public + * @return boolean + */ + public function connect($host, $port = null, $timeout = 30, $options = array()) + { + static $streamok; + //This is enabled by default since 5.0.0 but some providers disable it + //Check this once and cache the result + if (is_null($streamok)) { + $streamok = function_exists('stream_socket_client'); + } + // Clear errors to avoid confusion + $this->setError(''); + // Make sure we are __not__ connected + if ($this->connected()) { + // Already connected, generate error + $this->setError('Already connected to a server'); + return false; + } + if (empty($port)) { + $port = self::DEFAULT_SMTP_PORT; + } + // Connect to the SMTP server + $this->edebug( + "Connection: opening to $host:$port, timeout=$timeout, options=".var_export($options, true), + self::DEBUG_CONNECTION + ); + $errno = 0; + $errstr = ''; + if ($streamok) { + $socket_context = stream_context_create($options); + set_error_handler(array($this, 'errorHandler')); + $this->smtp_conn = stream_socket_client( + $host . ":" . $port, + $errno, + $errstr, + $timeout, + STREAM_CLIENT_CONNECT, + $socket_context + ); + restore_error_handler(); + } else { + //Fall back to fsockopen which should work in more places, but is missing some features + $this->edebug( + "Connection: stream_socket_client not available, falling back to fsockopen", + self::DEBUG_CONNECTION + ); + set_error_handler(array($this, 'errorHandler')); + $this->smtp_conn = fsockopen( + $host, + $port, + $errno, + $errstr, + $timeout + ); + restore_error_handler(); + } + // Verify we connected properly + if (!is_resource($this->smtp_conn)) { + $this->setError( + 'Failed to connect to server', + $errno, + $errstr + ); + $this->edebug( + 'SMTP ERROR: ' . $this->error['error'] + . ": $errstr ($errno)", + self::DEBUG_CLIENT + ); + return false; + } + $this->edebug('Connection: opened', self::DEBUG_CONNECTION); + // SMTP server can take longer to respond, give longer timeout for first read + // Windows does not have support for this timeout function + if (substr(PHP_OS, 0, 3) != 'WIN') { + $max = ini_get('max_execution_time'); + // Don't bother if unlimited + if ($max != 0 && $timeout > $max) { + @set_time_limit($timeout); + } + stream_set_timeout($this->smtp_conn, $timeout, 0); + } + // Get any announcement + $announce = $this->get_lines(); + $this->edebug('SERVER -> CLIENT: ' . $announce, self::DEBUG_SERVER); + return true; + } + + /** + * Initiate a TLS (encrypted) session. + * @access public + * @return boolean + */ + public function startTLS() + { + if (!$this->sendCommand('STARTTLS', 'STARTTLS', 220)) { + return false; + } + + //Allow the best TLS version(s) we can + $crypto_method = STREAM_CRYPTO_METHOD_TLS_CLIENT; + + //PHP 5.6.7 dropped inclusion of TLS 1.1 and 1.2 in STREAM_CRYPTO_METHOD_TLS_CLIENT + //so add them back in manually if we can + if (defined('STREAM_CRYPTO_METHOD_TLSv1_2_CLIENT')) { + $crypto_method |= STREAM_CRYPTO_METHOD_TLSv1_2_CLIENT; + $crypto_method |= STREAM_CRYPTO_METHOD_TLSv1_1_CLIENT; + } + + // Begin encrypted connection + if (!stream_socket_enable_crypto( + $this->smtp_conn, + true, + $crypto_method + )) { + return false; + } + return true; + } + + /** + * Perform SMTP authentication. + * Must be run after hello(). + * @see hello() + * @param string $username The user name + * @param string $password The password + * @param string $authtype The auth type (PLAIN, LOGIN, NTLM, CRAM-MD5, XOAUTH2) + * @param string $realm The auth realm for NTLM + * @param string $workstation The auth workstation for NTLM + * @param null|OAuth $OAuth An optional OAuth instance (@see PHPMailerOAuth) + * @return bool True if successfully authenticated.* @access public + */ + public function authenticate( + $username, + $password, + $authtype = null, + $realm = '', + $workstation = '', + $OAuth = null + ) { + if (!$this->server_caps) { + $this->setError('Authentication is not allowed before HELO/EHLO'); + return false; + } + + if (array_key_exists('EHLO', $this->server_caps)) { + // SMTP extensions are available. Let's try to find a proper authentication method + + if (!array_key_exists('AUTH', $this->server_caps)) { + $this->setError('Authentication is not allowed at this stage'); + // 'at this stage' means that auth may be allowed after the stage changes + // e.g. after STARTTLS + return false; + } + + self::edebug('Auth method requested: ' . ($authtype ? $authtype : 'UNKNOWN'), self::DEBUG_LOWLEVEL); + self::edebug( + 'Auth methods available on the server: ' . implode(',', $this->server_caps['AUTH']), + self::DEBUG_LOWLEVEL + ); + + if (empty($authtype)) { + foreach (array('CRAM-MD5', 'LOGIN', 'PLAIN', 'NTLM', 'XOAUTH2') as $method) { + if (in_array($method, $this->server_caps['AUTH'])) { + $authtype = $method; + break; + } + } + if (empty($authtype)) { + $this->setError('No supported authentication methods found'); + return false; + } + self::edebug('Auth method selected: '.$authtype, self::DEBUG_LOWLEVEL); + } + + if (!in_array($authtype, $this->server_caps['AUTH'])) { + $this->setError("The requested authentication method \"$authtype\" is not supported by the server"); + return false; + } + } elseif (empty($authtype)) { + $authtype = 'LOGIN'; + } + switch ($authtype) { + case 'PLAIN': + // Start authentication + if (!$this->sendCommand('AUTH', 'AUTH PLAIN', 334)) { + return false; + } + // Send encoded username and password + if (!$this->sendCommand( + 'User & Password', + base64_encode("\0" . $username . "\0" . $password), + 235 + ) + ) { + return false; + } + break; + case 'LOGIN': + // Start authentication + if (!$this->sendCommand('AUTH', 'AUTH LOGIN', 334)) { + return false; + } + if (!$this->sendCommand("Username", base64_encode($username), 334)) { + return false; + } + if (!$this->sendCommand("Password", base64_encode($password), 235)) { + return false; + } + break; + case 'XOAUTH2': + //If the OAuth Instance is not set. Can be a case when PHPMailer is used + //instead of PHPMailerOAuth + if (is_null($OAuth)) { + return false; + } + $oauth = $OAuth->getOauth64(); + + // Start authentication + if (!$this->sendCommand('AUTH', 'AUTH XOAUTH2 ' . $oauth, 235)) { + return false; + } + break; + case 'NTLM': + /* + * ntlm_sasl_client.php + * Bundled with Permission + * + * How to telnet in windows: + * http://technet.microsoft.com/en-us/library/aa995718%28EXCHG.65%29.aspx + * PROTOCOL Docs http://curl.haxx.se/rfc/ntlm.html#ntlmSmtpAuthentication + */ + require_once 'extras/ntlm_sasl_client.php'; + $temp = new stdClass; + $ntlm_client = new ntlm_sasl_client_class; + //Check that functions are available + if (!$ntlm_client->Initialize($temp)) { + $this->setError($temp->error); + $this->edebug( + 'You need to enable some modules in your php.ini file: ' + . $this->error['error'], + self::DEBUG_CLIENT + ); + return false; + } + //msg1 + $msg1 = $ntlm_client->TypeMsg1($realm, $workstation); //msg1 + + if (!$this->sendCommand( + 'AUTH NTLM', + 'AUTH NTLM ' . base64_encode($msg1), + 334 + ) + ) { + return false; + } + //Though 0 based, there is a white space after the 3 digit number + //msg2 + $challenge = substr($this->last_reply, 3); + $challenge = base64_decode($challenge); + $ntlm_res = $ntlm_client->NTLMResponse( + substr($challenge, 24, 8), + $password + ); + //msg3 + $msg3 = $ntlm_client->TypeMsg3( + $ntlm_res, + $username, + $realm, + $workstation + ); + // send encoded username + return $this->sendCommand('Username', base64_encode($msg3), 235); + case 'CRAM-MD5': + // Start authentication + if (!$this->sendCommand('AUTH CRAM-MD5', 'AUTH CRAM-MD5', 334)) { + return false; + } + // Get the challenge + $challenge = base64_decode(substr($this->last_reply, 4)); + + // Build the response + $response = $username . ' ' . $this->hmac($challenge, $password); + + // send encoded credentials + return $this->sendCommand('Username', base64_encode($response), 235); + default: + $this->setError("Authentication method \"$authtype\" is not supported"); + return false; + } + return true; + } + + /** + * Calculate an MD5 HMAC hash. + * Works like hash_hmac('md5', $data, $key) + * in case that function is not available + * @param string $data The data to hash + * @param string $key The key to hash with + * @access protected + * @return string + */ + protected function hmac($data, $key) + { + if (function_exists('hash_hmac')) { + return hash_hmac('md5', $data, $key); + } + + // The following borrowed from + // http://php.net/manual/en/function.mhash.php#27225 + + // RFC 2104 HMAC implementation for php. + // Creates an md5 HMAC. + // Eliminates the need to install mhash to compute a HMAC + // by Lance Rushing + + $bytelen = 64; // byte length for md5 + if (strlen($key) > $bytelen) { + $key = pack('H*', md5($key)); + } + $key = str_pad($key, $bytelen, chr(0x00)); + $ipad = str_pad('', $bytelen, chr(0x36)); + $opad = str_pad('', $bytelen, chr(0x5c)); + $k_ipad = $key ^ $ipad; + $k_opad = $key ^ $opad; + + return md5($k_opad . pack('H*', md5($k_ipad . $data))); + } + + /** + * Check connection state. + * @access public + * @return boolean True if connected. + */ + public function connected() + { + if (is_resource($this->smtp_conn)) { + $sock_status = stream_get_meta_data($this->smtp_conn); + if ($sock_status['eof']) { + // The socket is valid but we are not connected + $this->edebug( + 'SMTP NOTICE: EOF caught while checking if connected', + self::DEBUG_CLIENT + ); + $this->close(); + return false; + } + return true; // everything looks good + } + return false; + } + + /** + * Close the socket and clean up the state of the class. + * Don't use this function without first trying to use QUIT. + * @see quit() + * @access public + * @return void + */ + public function close() + { + $this->setError(''); + $this->server_caps = null; + $this->helo_rply = null; + if (is_resource($this->smtp_conn)) { + // close the connection and cleanup + fclose($this->smtp_conn); + $this->smtp_conn = null; //Makes for cleaner serialization + $this->edebug('Connection: closed', self::DEBUG_CONNECTION); + } + } + + /** + * Send an SMTP DATA command. + * Issues a data command and sends the msg_data to the server, + * finializing the mail transaction. $msg_data is the message + * that is to be send with the headers. Each header needs to be + * on a single line followed by a with the message headers + * and the message body being separated by and additional . + * Implements rfc 821: DATA + * @param string $msg_data Message data to send + * @access public + * @return boolean + */ + public function data($msg_data) + { + //This will use the standard timelimit + if (!$this->sendCommand('DATA', 'DATA', 354)) { + return false; + } + + /* The server is ready to accept data! + * According to rfc821 we should not send more than 1000 characters on a single line (including the CRLF) + * so we will break the data up into lines by \r and/or \n then if needed we will break each of those into + * smaller lines to fit within the limit. + * We will also look for lines that start with a '.' and prepend an additional '.'. + * NOTE: this does not count towards line-length limit. + */ + + // Normalize line breaks before exploding + $lines = explode("\n", str_replace(array("\r\n", "\r"), "\n", $msg_data)); + + /* To distinguish between a complete RFC822 message and a plain message body, we check if the first field + * of the first line (':' separated) does not contain a space then it _should_ be a header and we will + * process all lines before a blank line as headers. + */ + + $field = substr($lines[0], 0, strpos($lines[0], ':')); + $in_headers = false; + if (!empty($field) && strpos($field, ' ') === false) { + $in_headers = true; + } + + foreach ($lines as $line) { + $lines_out = array(); + if ($in_headers and $line == '') { + $in_headers = false; + } + //Break this line up into several smaller lines if it's too long + //Micro-optimisation: isset($str[$len]) is faster than (strlen($str) > $len), + while (isset($line[self::MAX_LINE_LENGTH])) { + //Working backwards, try to find a space within the last MAX_LINE_LENGTH chars of the line to break on + //so as to avoid breaking in the middle of a word + $pos = strrpos(substr($line, 0, self::MAX_LINE_LENGTH), ' '); + //Deliberately matches both false and 0 + if (!$pos) { + //No nice break found, add a hard break + $pos = self::MAX_LINE_LENGTH - 1; + $lines_out[] = substr($line, 0, $pos); + $line = substr($line, $pos); + } else { + //Break at the found point + $lines_out[] = substr($line, 0, $pos); + //Move along by the amount we dealt with + $line = substr($line, $pos + 1); + } + //If processing headers add a LWSP-char to the front of new line RFC822 section 3.1.1 + if ($in_headers) { + $line = "\t" . $line; + } + } + $lines_out[] = $line; + + //Send the lines to the server + foreach ($lines_out as $line_out) { + //RFC2821 section 4.5.2 + if (!empty($line_out) and $line_out[0] == '.') { + $line_out = '.' . $line_out; + } + $this->client_send($line_out . self::CRLF); + } + } + + //Message data has been sent, complete the command + //Increase timelimit for end of DATA command + $savetimelimit = $this->Timelimit; + $this->Timelimit = $this->Timelimit * 2; + $result = $this->sendCommand('DATA END', '.', 250); + //Restore timelimit + $this->Timelimit = $savetimelimit; + return $result; + } + + /** + * Send an SMTP HELO or EHLO command. + * Used to identify the sending server to the receiving server. + * This makes sure that client and server are in a known state. + * Implements RFC 821: HELO + * and RFC 2821 EHLO. + * @param string $host The host name or IP to connect to + * @access public + * @return boolean + */ + public function hello($host = '') + { + //Try extended hello first (RFC 2821) + return (boolean)($this->sendHello('EHLO', $host) or $this->sendHello('HELO', $host)); + } + + /** + * Send an SMTP HELO or EHLO command. + * Low-level implementation used by hello() + * @see hello() + * @param string $hello The HELO string + * @param string $host The hostname to say we are + * @access protected + * @return boolean + */ + protected function sendHello($hello, $host) + { + $noerror = $this->sendCommand($hello, $hello . ' ' . $host, 250); + $this->helo_rply = $this->last_reply; + if ($noerror) { + $this->parseHelloFields($hello); + } else { + $this->server_caps = null; + } + return $noerror; + } + + /** + * Parse a reply to HELO/EHLO command to discover server extensions. + * In case of HELO, the only parameter that can be discovered is a server name. + * @access protected + * @param string $type - 'HELO' or 'EHLO' + */ + protected function parseHelloFields($type) + { + $this->server_caps = array(); + $lines = explode("\n", $this->helo_rply); + + foreach ($lines as $n => $s) { + //First 4 chars contain response code followed by - or space + $s = trim(substr($s, 4)); + if (empty($s)) { + continue; + } + $fields = explode(' ', $s); + if (!empty($fields)) { + if (!$n) { + $name = $type; + $fields = $fields[0]; + } else { + $name = array_shift($fields); + switch ($name) { + case 'SIZE': + $fields = ($fields ? $fields[0] : 0); + break; + case 'AUTH': + if (!is_array($fields)) { + $fields = array(); + } + break; + default: + $fields = true; + } + } + $this->server_caps[$name] = $fields; + } + } + } + + /** + * Send an SMTP MAIL command. + * Starts a mail transaction from the email address specified in + * $from. Returns true if successful or false otherwise. If True + * the mail transaction is started and then one or more recipient + * commands may be called followed by a data command. + * Implements rfc 821: MAIL FROM: + * @param string $from Source address of this message + * @access public + * @return boolean + */ + public function mail($from) + { + $useVerp = ($this->do_verp ? ' XVERP' : ''); + return $this->sendCommand( + 'MAIL FROM', + 'MAIL FROM:<' . $from . '>' . $useVerp, + 250 + ); + } + + /** + * Send an SMTP QUIT command. + * Closes the socket if there is no error or the $close_on_error argument is true. + * Implements from rfc 821: QUIT + * @param boolean $close_on_error Should the connection close if an error occurs? + * @access public + * @return boolean + */ + public function quit($close_on_error = true) + { + $noerror = $this->sendCommand('QUIT', 'QUIT', 221); + $err = $this->error; //Save any error + if ($noerror or $close_on_error) { + $this->close(); + $this->error = $err; //Restore any error from the quit command + } + return $noerror; + } + + /** + * Send an SMTP RCPT command. + * Sets the TO argument to $toaddr. + * Returns true if the recipient was accepted false if it was rejected. + * Implements from rfc 821: RCPT TO: + * @param string $address The address the message is being sent to + * @access public + * @return boolean + */ + public function recipient($address) + { + return $this->sendCommand( + 'RCPT TO', + 'RCPT TO:<' . $address . '>', + array(250, 251) + ); + } + + /** + * Send an SMTP RSET command. + * Abort any transaction that is currently in progress. + * Implements rfc 821: RSET + * @access public + * @return boolean True on success. + */ + public function reset() + { + return $this->sendCommand('RSET', 'RSET', 250); + } + + /** + * Send a command to an SMTP server and check its return code. + * @param string $command The command name - not sent to the server + * @param string $commandstring The actual command to send + * @param integer|array $expect One or more expected integer success codes + * @access protected + * @return boolean True on success. + */ + protected function sendCommand($command, $commandstring, $expect) + { + if (!$this->connected()) { + $this->setError("Called $command without being connected"); + return false; + } + //Reject line breaks in all commands + if (strpos($commandstring, "\n") !== false or strpos($commandstring, "\r") !== false) { + $this->setError("Command '$command' contained line breaks"); + return false; + } + $this->client_send($commandstring . self::CRLF); + + $this->last_reply = $this->get_lines(); + // Fetch SMTP code and possible error code explanation + $matches = array(); + if (preg_match("/^([0-9]{3})[ -](?:([0-9]\\.[0-9]\\.[0-9]) )?/", $this->last_reply, $matches)) { + $code = $matches[1]; + $code_ex = (count($matches) > 2 ? $matches[2] : null); + // Cut off error code from each response line + $detail = preg_replace( + "/{$code}[ -]".($code_ex ? str_replace('.', '\\.', $code_ex).' ' : '')."/m", + '', + $this->last_reply + ); + } else { + // Fall back to simple parsing if regex fails + $code = substr($this->last_reply, 0, 3); + $code_ex = null; + $detail = substr($this->last_reply, 4); + } + + $this->edebug('SERVER -> CLIENT: ' . $this->last_reply, self::DEBUG_SERVER); + + if (!in_array($code, (array)$expect)) { + $this->setError( + "$command command failed", + $detail, + $code, + $code_ex + ); + $this->edebug( + 'SMTP ERROR: ' . $this->error['error'] . ': ' . $this->last_reply, + self::DEBUG_CLIENT + ); + return false; + } + + $this->setError(''); + return true; + } + + /** + * Send an SMTP SAML command. + * Starts a mail transaction from the email address specified in $from. + * Returns true if successful or false otherwise. If True + * the mail transaction is started and then one or more recipient + * commands may be called followed by a data command. This command + * will send the message to the users terminal if they are logged + * in and send them an email. + * Implements rfc 821: SAML FROM: + * @param string $from The address the message is from + * @access public + * @return boolean + */ + public function sendAndMail($from) + { + return $this->sendCommand('SAML', "SAML FROM:$from", 250); + } + + /** + * Send an SMTP VRFY command. + * @param string $name The name to verify + * @access public + * @return boolean + */ + public function verify($name) + { + return $this->sendCommand('VRFY', "VRFY $name", array(250, 251)); + } + + /** + * Send an SMTP NOOP command. + * Used to keep keep-alives alive, doesn't actually do anything + * @access public + * @return boolean + */ + public function noop() + { + return $this->sendCommand('NOOP', 'NOOP', 250); + } + + /** + * Send an SMTP TURN command. + * This is an optional command for SMTP that this class does not support. + * This method is here to make the RFC821 Definition complete for this class + * and _may_ be implemented in future + * Implements from rfc 821: TURN + * @access public + * @return boolean + */ + public function turn() + { + $this->setError('The SMTP TURN command is not implemented'); + $this->edebug('SMTP NOTICE: ' . $this->error['error'], self::DEBUG_CLIENT); + return false; + } + + /** + * Send raw data to the server. + * @param string $data The data to send + * @access public + * @return integer|boolean The number of bytes sent to the server or false on error + */ + public function client_send($data) + { + $this->edebug("CLIENT -> SERVER: $data", self::DEBUG_CLIENT); + return fwrite($this->smtp_conn, $data); + } + + /** + * Get the latest error. + * @access public + * @return array + */ + public function getError() + { + return $this->error; + } + + /** + * Get SMTP extensions available on the server + * @access public + * @return array|null + */ + public function getServerExtList() + { + return $this->server_caps; + } + + /** + * A multipurpose method + * The method works in three ways, dependent on argument value and current state + * 1. HELO/EHLO was not sent - returns null and set up $this->error + * 2. HELO was sent + * $name = 'HELO': returns server name + * $name = 'EHLO': returns boolean false + * $name = any string: returns null and set up $this->error + * 3. EHLO was sent + * $name = 'HELO'|'EHLO': returns server name + * $name = any string: if extension $name exists, returns boolean True + * or its options. Otherwise returns boolean False + * In other words, one can use this method to detect 3 conditions: + * - null returned: handshake was not or we don't know about ext (refer to $this->error) + * - false returned: the requested feature exactly not exists + * - positive value returned: the requested feature exists + * @param string $name Name of SMTP extension or 'HELO'|'EHLO' + * @return mixed + */ + public function getServerExt($name) + { + if (!$this->server_caps) { + $this->setError('No HELO/EHLO was sent'); + return null; + } + + // the tight logic knot ;) + if (!array_key_exists($name, $this->server_caps)) { + if ($name == 'HELO') { + return $this->server_caps['EHLO']; + } + if ($name == 'EHLO' || array_key_exists('EHLO', $this->server_caps)) { + return false; + } + $this->setError('HELO handshake was used. Client knows nothing about server extensions'); + return null; + } + + return $this->server_caps[$name]; + } + + /** + * Get the last reply from the server. + * @access public + * @return string + */ + public function getLastReply() + { + return $this->last_reply; + } + + /** + * Read the SMTP server's response. + * Either before eof or socket timeout occurs on the operation. + * With SMTP we can tell if we have more lines to read if the + * 4th character is '-' symbol. If it is a space then we don't + * need to read anything else. + * @access protected + * @return string + */ + protected function get_lines() + { + // If the connection is bad, give up straight away + if (!is_resource($this->smtp_conn)) { + return ''; + } + $data = ''; + $endtime = 0; + stream_set_timeout($this->smtp_conn, $this->Timeout); + if ($this->Timelimit > 0) { + $endtime = time() + $this->Timelimit; + } + while (is_resource($this->smtp_conn) && !feof($this->smtp_conn)) { + $str = @fgets($this->smtp_conn, 515); + $this->edebug("SMTP -> get_lines(): \$data is \"$data\"", self::DEBUG_LOWLEVEL); + $this->edebug("SMTP -> get_lines(): \$str is \"$str\"", self::DEBUG_LOWLEVEL); + $data .= $str; + // If 4th character is a space, we are done reading, break the loop, micro-optimisation over strlen + if ((isset($str[3]) and $str[3] == ' ')) { + break; + } + // Timed-out? Log and break + $info = stream_get_meta_data($this->smtp_conn); + if ($info['timed_out']) { + $this->edebug( + 'SMTP -> get_lines(): timed-out (' . $this->Timeout . ' sec)', + self::DEBUG_LOWLEVEL + ); + break; + } + // Now check if reads took too long + if ($endtime and time() > $endtime) { + $this->edebug( + 'SMTP -> get_lines(): timelimit reached ('. + $this->Timelimit . ' sec)', + self::DEBUG_LOWLEVEL + ); + break; + } + } + return $data; + } + + /** + * Enable or disable VERP address generation. + * @param boolean $enabled + */ + public function setVerp($enabled = false) + { + $this->do_verp = $enabled; + } + + /** + * Get VERP address generation mode. + * @return boolean + */ + public function getVerp() + { + return $this->do_verp; + } + + /** + * Set error messages and codes. + * @param string $message The error message + * @param string $detail Further detail on the error + * @param string $smtp_code An associated SMTP error code + * @param string $smtp_code_ex Extended SMTP code + */ + protected function setError($message, $detail = '', $smtp_code = '', $smtp_code_ex = '') + { + $this->error = array( + 'error' => $message, + 'detail' => $detail, + 'smtp_code' => $smtp_code, + 'smtp_code_ex' => $smtp_code_ex + ); + } + + /** + * Set debug output method. + * @param string|callable $method The name of the mechanism to use for debugging output, or a callable to handle it. + */ + public function setDebugOutput($method = 'echo') + { + $this->Debugoutput = $method; + } + + /** + * Get debug output method. + * @return string + */ + public function getDebugOutput() + { + return $this->Debugoutput; + } + + /** + * Set debug output level. + * @param integer $level + */ + public function setDebugLevel($level = 0) + { + $this->do_debug = $level; + } + + /** + * Get debug output level. + * @return integer + */ + public function getDebugLevel() + { + return $this->do_debug; + } + + /** + * Set SMTP timeout. + * @param integer $timeout + */ + public function setTimeout($timeout = 0) + { + $this->Timeout = $timeout; + } + + /** + * Get SMTP timeout. + * @return integer + */ + public function getTimeout() + { + return $this->Timeout; + } + + /** + * Reports an error number and string. + * @param integer $errno The error number returned by PHP. + * @param string $errmsg The error message returned by PHP. + */ + protected function errorHandler($errno, $errmsg) + { + $notice = 'Connection: Failed to connect to server.'; + $this->setError( + $notice, + $errno, + $errmsg + ); + $this->edebug( + $notice . ' Error number ' . $errno . '. "Error notice: ' . $errmsg, + self::DEBUG_CONNECTION + ); + } +} diff --git a/application/libraries/fpdf/font/courier.php b/application/libraries/fpdf/font/courier.php new file mode 100644 index 0000000..02525f5 --- /dev/null +++ b/application/libraries/fpdf/font/courier.php @@ -0,0 +1,8 @@ + diff --git a/application/libraries/fpdf/font/courierb.php b/application/libraries/fpdf/font/courierb.php new file mode 100644 index 0000000..f472063 --- /dev/null +++ b/application/libraries/fpdf/font/courierb.php @@ -0,0 +1,8 @@ + diff --git a/application/libraries/fpdf/font/courierbi.php b/application/libraries/fpdf/font/courierbi.php new file mode 100644 index 0000000..6ce8501 --- /dev/null +++ b/application/libraries/fpdf/font/courierbi.php @@ -0,0 +1,8 @@ + diff --git a/application/libraries/fpdf/font/courieri.php b/application/libraries/fpdf/font/courieri.php new file mode 100644 index 0000000..320150a --- /dev/null +++ b/application/libraries/fpdf/font/courieri.php @@ -0,0 +1,8 @@ + diff --git a/application/libraries/fpdf/font/desktop.ini b/application/libraries/fpdf/font/desktop.ini new file mode 100644 index 0000000..8a96fbb --- /dev/null +++ b/application/libraries/fpdf/font/desktop.ini @@ -0,0 +1,4 @@ +[ViewState] +Mode= +Vid= +FolderType=NotSpecified diff --git a/application/libraries/fpdf/font/helvetica.php b/application/libraries/fpdf/font/helvetica.php new file mode 100644 index 0000000..891ea25 --- /dev/null +++ b/application/libraries/fpdf/font/helvetica.php @@ -0,0 +1,19 @@ +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, + 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, + ','=>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, + '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, + '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, + '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, + 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, + 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, + 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, + 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, + 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, + 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); +?> diff --git a/application/libraries/fpdf/font/helveticab.php b/application/libraries/fpdf/font/helveticab.php new file mode 100644 index 0000000..6c9b972 --- /dev/null +++ b/application/libraries/fpdf/font/helveticab.php @@ -0,0 +1,19 @@ +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, + 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, + ','=>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, + '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, + '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, + '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, + 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, + 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, + 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, + 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, + 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, + 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); +?> diff --git a/application/libraries/fpdf/font/helveticabi.php b/application/libraries/fpdf/font/helveticabi.php new file mode 100644 index 0000000..4720311 --- /dev/null +++ b/application/libraries/fpdf/font/helveticabi.php @@ -0,0 +1,19 @@ +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, + 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, + ','=>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, + '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, + '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, + '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, + 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, + 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, + 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, + 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, + 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, + 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); +?> diff --git a/application/libraries/fpdf/font/helveticai.php b/application/libraries/fpdf/font/helveticai.php new file mode 100644 index 0000000..25fb794 --- /dev/null +++ b/application/libraries/fpdf/font/helveticai.php @@ -0,0 +1,19 @@ +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, + 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, + ','=>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, + '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, + '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, + '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, + 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, + 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, + 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, + 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, + 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, + 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); +?> diff --git a/application/libraries/fpdf/font/makefont/cp1250.map b/application/libraries/fpdf/font/makefont/cp1250.map new file mode 100644 index 0000000..ec110af --- /dev/null +++ b/application/libraries/fpdf/font/makefont/cp1250.map @@ -0,0 +1,251 @@ +!00 U+0000 .notdef +!01 U+0001 .notdef +!02 U+0002 .notdef +!03 U+0003 .notdef +!04 U+0004 .notdef +!05 U+0005 .notdef +!06 U+0006 .notdef +!07 U+0007 .notdef +!08 U+0008 .notdef +!09 U+0009 .notdef +!0A U+000A .notdef +!0B U+000B .notdef +!0C U+000C .notdef +!0D U+000D .notdef +!0E U+000E .notdef +!0F U+000F .notdef +!10 U+0010 .notdef +!11 U+0011 .notdef +!12 U+0012 .notdef +!13 U+0013 .notdef +!14 U+0014 .notdef +!15 U+0015 .notdef +!16 U+0016 .notdef +!17 U+0017 .notdef +!18 U+0018 .notdef +!19 U+0019 .notdef +!1A U+001A .notdef +!1B U+001B .notdef +!1C U+001C .notdef +!1D U+001D .notdef +!1E U+001E .notdef +!1F U+001F .notdef +!20 U+0020 space +!21 U+0021 exclam +!22 U+0022 quotedbl +!23 U+0023 numbersign +!24 U+0024 dollar +!25 U+0025 percent +!26 U+0026 ampersand +!27 U+0027 quotesingle +!28 U+0028 parenleft +!29 U+0029 parenright +!2A U+002A asterisk +!2B U+002B plus +!2C U+002C comma +!2D U+002D hyphen +!2E U+002E period +!2F U+002F slash +!30 U+0030 zero +!31 U+0031 one +!32 U+0032 two +!33 U+0033 three +!34 U+0034 four +!35 U+0035 five +!36 U+0036 six +!37 U+0037 seven +!38 U+0038 eight +!39 U+0039 nine +!3A U+003A colon +!3B U+003B semicolon +!3C U+003C less +!3D U+003D equal +!3E U+003E greater +!3F U+003F question +!40 U+0040 at +!41 U+0041 A +!42 U+0042 B +!43 U+0043 C +!44 U+0044 D +!45 U+0045 E +!46 U+0046 F +!47 U+0047 G +!48 U+0048 H +!49 U+0049 I +!4A U+004A J +!4B U+004B K +!4C U+004C L +!4D U+004D M +!4E U+004E N +!4F U+004F O +!50 U+0050 P +!51 U+0051 Q +!52 U+0052 R +!53 U+0053 S +!54 U+0054 T +!55 U+0055 U +!56 U+0056 V +!57 U+0057 W +!58 U+0058 X +!59 U+0059 Y +!5A U+005A Z +!5B U+005B bracketleft +!5C U+005C backslash +!5D U+005D bracketright +!5E U+005E asciicircum +!5F U+005F underscore +!60 U+0060 grave +!61 U+0061 a +!62 U+0062 b +!63 U+0063 c +!64 U+0064 d +!65 U+0065 e +!66 U+0066 f +!67 U+0067 g +!68 U+0068 h +!69 U+0069 i +!6A U+006A j +!6B U+006B k +!6C U+006C l +!6D U+006D m +!6E U+006E n +!6F U+006F o +!70 U+0070 p +!71 U+0071 q +!72 U+0072 r +!73 U+0073 s +!74 U+0074 t +!75 U+0075 u +!76 U+0076 v +!77 U+0077 w +!78 U+0078 x +!79 U+0079 y +!7A U+007A z +!7B U+007B braceleft +!7C U+007C bar +!7D U+007D braceright +!7E U+007E asciitilde +!7F U+007F .notdef +!80 U+20AC Euro +!82 U+201A quotesinglbase +!84 U+201E quotedblbase +!85 U+2026 ellipsis +!86 U+2020 dagger +!87 U+2021 daggerdbl +!89 U+2030 perthousand +!8A U+0160 Scaron +!8B U+2039 guilsinglleft +!8C U+015A Sacute +!8D U+0164 Tcaron +!8E U+017D Zcaron +!8F U+0179 Zacute +!91 U+2018 quoteleft +!92 U+2019 quoteright +!93 U+201C quotedblleft +!94 U+201D quotedblright +!95 U+2022 bullet +!96 U+2013 endash +!97 U+2014 emdash +!99 U+2122 trademark +!9A U+0161 scaron +!9B U+203A guilsinglright +!9C U+015B sacute +!9D U+0165 tcaron +!9E U+017E zcaron +!9F U+017A zacute +!A0 U+00A0 space +!A1 U+02C7 caron +!A2 U+02D8 breve +!A3 U+0141 Lslash +!A4 U+00A4 currency +!A5 U+0104 Aogonek +!A6 U+00A6 brokenbar +!A7 U+00A7 section +!A8 U+00A8 dieresis +!A9 U+00A9 copyright +!AA U+015E Scedilla +!AB U+00AB guillemotleft +!AC U+00AC logicalnot +!AD U+00AD hyphen +!AE U+00AE registered +!AF U+017B Zdotaccent +!B0 U+00B0 degree +!B1 U+00B1 plusminus +!B2 U+02DB ogonek +!B3 U+0142 lslash +!B4 U+00B4 acute +!B5 U+00B5 mu +!B6 U+00B6 paragraph +!B7 U+00B7 periodcentered +!B8 U+00B8 cedilla +!B9 U+0105 aogonek +!BA U+015F scedilla +!BB U+00BB guillemotright +!BC U+013D Lcaron +!BD U+02DD hungarumlaut +!BE U+013E lcaron +!BF U+017C zdotaccent +!C0 U+0154 Racute +!C1 U+00C1 Aacute +!C2 U+00C2 Acircumflex +!C3 U+0102 Abreve +!C4 U+00C4 Adieresis +!C5 U+0139 Lacute +!C6 U+0106 Cacute +!C7 U+00C7 Ccedilla +!C8 U+010C Ccaron +!C9 U+00C9 Eacute +!CA U+0118 Eogonek +!CB U+00CB Edieresis +!CC U+011A Ecaron +!CD U+00CD Iacute +!CE U+00CE Icircumflex +!CF U+010E Dcaron +!D0 U+0110 Dcroat +!D1 U+0143 Nacute +!D2 U+0147 Ncaron +!D3 U+00D3 Oacute +!D4 U+00D4 Ocircumflex +!D5 U+0150 Ohungarumlaut +!D6 U+00D6 Odieresis +!D7 U+00D7 multiply +!D8 U+0158 Rcaron +!D9 U+016E Uring +!DA U+00DA Uacute +!DB U+0170 Uhungarumlaut +!DC U+00DC Udieresis +!DD U+00DD Yacute +!DE U+0162 Tcommaaccent +!DF U+00DF germandbls +!E0 U+0155 racute +!E1 U+00E1 aacute +!E2 U+00E2 acircumflex +!E3 U+0103 abreve +!E4 U+00E4 adieresis +!E5 U+013A lacute +!E6 U+0107 cacute +!E7 U+00E7 ccedilla +!E8 U+010D ccaron +!E9 U+00E9 eacute +!EA U+0119 eogonek +!EB U+00EB edieresis +!EC U+011B ecaron +!ED U+00ED iacute +!EE U+00EE icircumflex +!EF U+010F dcaron +!F0 U+0111 dcroat +!F1 U+0144 nacute +!F2 U+0148 ncaron +!F3 U+00F3 oacute +!F4 U+00F4 ocircumflex +!F5 U+0151 ohungarumlaut +!F6 U+00F6 odieresis +!F7 U+00F7 divide +!F8 U+0159 rcaron +!F9 U+016F uring +!FA U+00FA uacute +!FB U+0171 uhungarumlaut +!FC U+00FC udieresis +!FD U+00FD yacute +!FE U+0163 tcommaaccent +!FF U+02D9 dotaccent diff --git a/application/libraries/fpdf/font/makefont/cp1251.map b/application/libraries/fpdf/font/makefont/cp1251.map new file mode 100644 index 0000000..de6a198 --- /dev/null +++ b/application/libraries/fpdf/font/makefont/cp1251.map @@ -0,0 +1,255 @@ +!00 U+0000 .notdef +!01 U+0001 .notdef +!02 U+0002 .notdef +!03 U+0003 .notdef +!04 U+0004 .notdef +!05 U+0005 .notdef +!06 U+0006 .notdef +!07 U+0007 .notdef +!08 U+0008 .notdef +!09 U+0009 .notdef +!0A U+000A .notdef +!0B U+000B .notdef +!0C U+000C .notdef +!0D U+000D .notdef +!0E U+000E .notdef +!0F U+000F .notdef +!10 U+0010 .notdef +!11 U+0011 .notdef +!12 U+0012 .notdef +!13 U+0013 .notdef +!14 U+0014 .notdef +!15 U+0015 .notdef +!16 U+0016 .notdef +!17 U+0017 .notdef +!18 U+0018 .notdef +!19 U+0019 .notdef +!1A U+001A .notdef +!1B U+001B .notdef +!1C U+001C .notdef +!1D U+001D .notdef +!1E U+001E .notdef +!1F U+001F .notdef +!20 U+0020 space +!21 U+0021 exclam +!22 U+0022 quotedbl +!23 U+0023 numbersign +!24 U+0024 dollar +!25 U+0025 percent +!26 U+0026 ampersand +!27 U+0027 quotesingle +!28 U+0028 parenleft +!29 U+0029 parenright +!2A U+002A asterisk +!2B U+002B plus +!2C U+002C comma +!2D U+002D hyphen +!2E U+002E period +!2F U+002F slash +!30 U+0030 zero +!31 U+0031 one +!32 U+0032 two +!33 U+0033 three +!34 U+0034 four +!35 U+0035 five +!36 U+0036 six +!37 U+0037 seven +!38 U+0038 eight +!39 U+0039 nine +!3A U+003A colon +!3B U+003B semicolon +!3C U+003C less +!3D U+003D equal +!3E U+003E greater +!3F U+003F question +!40 U+0040 at +!41 U+0041 A +!42 U+0042 B +!43 U+0043 C +!44 U+0044 D +!45 U+0045 E +!46 U+0046 F +!47 U+0047 G +!48 U+0048 H +!49 U+0049 I +!4A U+004A J +!4B U+004B K +!4C U+004C L +!4D U+004D M +!4E U+004E N +!4F U+004F O +!50 U+0050 P +!51 U+0051 Q +!52 U+0052 R +!53 U+0053 S +!54 U+0054 T +!55 U+0055 U +!56 U+0056 V +!57 U+0057 W +!58 U+0058 X +!59 U+0059 Y +!5A U+005A Z +!5B U+005B bracketleft +!5C U+005C backslash +!5D U+005D bracketright +!5E U+005E asciicircum +!5F U+005F underscore +!60 U+0060 grave +!61 U+0061 a +!62 U+0062 b +!63 U+0063 c +!64 U+0064 d +!65 U+0065 e +!66 U+0066 f +!67 U+0067 g +!68 U+0068 h +!69 U+0069 i +!6A U+006A j +!6B U+006B k +!6C U+006C l +!6D U+006D m +!6E U+006E n +!6F U+006F o +!70 U+0070 p +!71 U+0071 q +!72 U+0072 r +!73 U+0073 s +!74 U+0074 t +!75 U+0075 u +!76 U+0076 v +!77 U+0077 w +!78 U+0078 x +!79 U+0079 y +!7A U+007A z +!7B U+007B braceleft +!7C U+007C bar +!7D U+007D braceright +!7E U+007E asciitilde +!7F U+007F .notdef +!80 U+0402 afii10051 +!81 U+0403 afii10052 +!82 U+201A quotesinglbase +!83 U+0453 afii10100 +!84 U+201E quotedblbase +!85 U+2026 ellipsis +!86 U+2020 dagger +!87 U+2021 daggerdbl +!88 U+20AC Euro +!89 U+2030 perthousand +!8A U+0409 afii10058 +!8B U+2039 guilsinglleft +!8C U+040A afii10059 +!8D U+040C afii10061 +!8E U+040B afii10060 +!8F U+040F afii10145 +!90 U+0452 afii10099 +!91 U+2018 quoteleft +!92 U+2019 quoteright +!93 U+201C quotedblleft +!94 U+201D quotedblright +!95 U+2022 bullet +!96 U+2013 endash +!97 U+2014 emdash +!99 U+2122 trademark +!9A U+0459 afii10106 +!9B U+203A guilsinglright +!9C U+045A afii10107 +!9D U+045C afii10109 +!9E U+045B afii10108 +!9F U+045F afii10193 +!A0 U+00A0 space +!A1 U+040E afii10062 +!A2 U+045E afii10110 +!A3 U+0408 afii10057 +!A4 U+00A4 currency +!A5 U+0490 afii10050 +!A6 U+00A6 brokenbar +!A7 U+00A7 section +!A8 U+0401 afii10023 +!A9 U+00A9 copyright +!AA U+0404 afii10053 +!AB U+00AB guillemotleft +!AC U+00AC logicalnot +!AD U+00AD hyphen +!AE U+00AE registered +!AF U+0407 afii10056 +!B0 U+00B0 degree +!B1 U+00B1 plusminus +!B2 U+0406 afii10055 +!B3 U+0456 afii10103 +!B4 U+0491 afii10098 +!B5 U+00B5 mu +!B6 U+00B6 paragraph +!B7 U+00B7 periodcentered +!B8 U+0451 afii10071 +!B9 U+2116 afii61352 +!BA U+0454 afii10101 +!BB U+00BB guillemotright +!BC U+0458 afii10105 +!BD U+0405 afii10054 +!BE U+0455 afii10102 +!BF U+0457 afii10104 +!C0 U+0410 afii10017 +!C1 U+0411 afii10018 +!C2 U+0412 afii10019 +!C3 U+0413 afii10020 +!C4 U+0414 afii10021 +!C5 U+0415 afii10022 +!C6 U+0416 afii10024 +!C7 U+0417 afii10025 +!C8 U+0418 afii10026 +!C9 U+0419 afii10027 +!CA U+041A afii10028 +!CB U+041B afii10029 +!CC U+041C afii10030 +!CD U+041D afii10031 +!CE U+041E afii10032 +!CF U+041F afii10033 +!D0 U+0420 afii10034 +!D1 U+0421 afii10035 +!D2 U+0422 afii10036 +!D3 U+0423 afii10037 +!D4 U+0424 afii10038 +!D5 U+0425 afii10039 +!D6 U+0426 afii10040 +!D7 U+0427 afii10041 +!D8 U+0428 afii10042 +!D9 U+0429 afii10043 +!DA U+042A afii10044 +!DB U+042B afii10045 +!DC U+042C afii10046 +!DD U+042D afii10047 +!DE U+042E afii10048 +!DF U+042F afii10049 +!E0 U+0430 afii10065 +!E1 U+0431 afii10066 +!E2 U+0432 afii10067 +!E3 U+0433 afii10068 +!E4 U+0434 afii10069 +!E5 U+0435 afii10070 +!E6 U+0436 afii10072 +!E7 U+0437 afii10073 +!E8 U+0438 afii10074 +!E9 U+0439 afii10075 +!EA U+043A afii10076 +!EB U+043B afii10077 +!EC U+043C afii10078 +!ED U+043D afii10079 +!EE U+043E afii10080 +!EF U+043F afii10081 +!F0 U+0440 afii10082 +!F1 U+0441 afii10083 +!F2 U+0442 afii10084 +!F3 U+0443 afii10085 +!F4 U+0444 afii10086 +!F5 U+0445 afii10087 +!F6 U+0446 afii10088 +!F7 U+0447 afii10089 +!F8 U+0448 afii10090 +!F9 U+0449 afii10091 +!FA U+044A afii10092 +!FB U+044B afii10093 +!FC U+044C afii10094 +!FD U+044D afii10095 +!FE U+044E afii10096 +!FF U+044F afii10097 diff --git a/application/libraries/fpdf/font/makefont/cp1252.map b/application/libraries/fpdf/font/makefont/cp1252.map new file mode 100644 index 0000000..dd490e5 --- /dev/null +++ b/application/libraries/fpdf/font/makefont/cp1252.map @@ -0,0 +1,251 @@ +!00 U+0000 .notdef +!01 U+0001 .notdef +!02 U+0002 .notdef +!03 U+0003 .notdef +!04 U+0004 .notdef +!05 U+0005 .notdef +!06 U+0006 .notdef +!07 U+0007 .notdef +!08 U+0008 .notdef +!09 U+0009 .notdef +!0A U+000A .notdef +!0B U+000B .notdef +!0C U+000C .notdef +!0D U+000D .notdef +!0E U+000E .notdef +!0F U+000F .notdef +!10 U+0010 .notdef +!11 U+0011 .notdef +!12 U+0012 .notdef +!13 U+0013 .notdef +!14 U+0014 .notdef +!15 U+0015 .notdef +!16 U+0016 .notdef +!17 U+0017 .notdef +!18 U+0018 .notdef +!19 U+0019 .notdef +!1A U+001A .notdef +!1B U+001B .notdef +!1C U+001C .notdef +!1D U+001D .notdef +!1E U+001E .notdef +!1F U+001F .notdef +!20 U+0020 space +!21 U+0021 exclam +!22 U+0022 quotedbl +!23 U+0023 numbersign +!24 U+0024 dollar +!25 U+0025 percent +!26 U+0026 ampersand +!27 U+0027 quotesingle +!28 U+0028 parenleft +!29 U+0029 parenright +!2A U+002A asterisk +!2B U+002B plus +!2C U+002C comma +!2D U+002D hyphen +!2E U+002E period +!2F U+002F slash +!30 U+0030 zero +!31 U+0031 one +!32 U+0032 two +!33 U+0033 three +!34 U+0034 four +!35 U+0035 five +!36 U+0036 six +!37 U+0037 seven +!38 U+0038 eight +!39 U+0039 nine +!3A U+003A colon +!3B U+003B semicolon +!3C U+003C less +!3D U+003D equal +!3E U+003E greater +!3F U+003F question +!40 U+0040 at +!41 U+0041 A +!42 U+0042 B +!43 U+0043 C +!44 U+0044 D +!45 U+0045 E +!46 U+0046 F +!47 U+0047 G +!48 U+0048 H +!49 U+0049 I +!4A U+004A J +!4B U+004B K +!4C U+004C L +!4D U+004D M +!4E U+004E N +!4F U+004F O +!50 U+0050 P +!51 U+0051 Q +!52 U+0052 R +!53 U+0053 S +!54 U+0054 T +!55 U+0055 U +!56 U+0056 V +!57 U+0057 W +!58 U+0058 X +!59 U+0059 Y +!5A U+005A Z +!5B U+005B bracketleft +!5C U+005C backslash +!5D U+005D bracketright +!5E U+005E asciicircum +!5F U+005F underscore +!60 U+0060 grave +!61 U+0061 a +!62 U+0062 b +!63 U+0063 c +!64 U+0064 d +!65 U+0065 e +!66 U+0066 f +!67 U+0067 g +!68 U+0068 h +!69 U+0069 i +!6A U+006A j +!6B U+006B k +!6C U+006C l +!6D U+006D m +!6E U+006E n +!6F U+006F o +!70 U+0070 p +!71 U+0071 q +!72 U+0072 r +!73 U+0073 s +!74 U+0074 t +!75 U+0075 u +!76 U+0076 v +!77 U+0077 w +!78 U+0078 x +!79 U+0079 y +!7A U+007A z +!7B U+007B braceleft +!7C U+007C bar +!7D U+007D braceright +!7E U+007E asciitilde +!7F U+007F .notdef +!80 U+20AC Euro +!82 U+201A quotesinglbase +!83 U+0192 florin +!84 U+201E quotedblbase +!85 U+2026 ellipsis +!86 U+2020 dagger +!87 U+2021 daggerdbl +!88 U+02C6 circumflex +!89 U+2030 perthousand +!8A U+0160 Scaron +!8B U+2039 guilsinglleft +!8C U+0152 OE +!8E U+017D Zcaron +!91 U+2018 quoteleft +!92 U+2019 quoteright +!93 U+201C quotedblleft +!94 U+201D quotedblright +!95 U+2022 bullet +!96 U+2013 endash +!97 U+2014 emdash +!98 U+02DC tilde +!99 U+2122 trademark +!9A U+0161 scaron +!9B U+203A guilsinglright +!9C U+0153 oe +!9E U+017E zcaron +!9F U+0178 Ydieresis +!A0 U+00A0 space +!A1 U+00A1 exclamdown +!A2 U+00A2 cent +!A3 U+00A3 sterling +!A4 U+00A4 currency +!A5 U+00A5 yen +!A6 U+00A6 brokenbar +!A7 U+00A7 section +!A8 U+00A8 dieresis +!A9 U+00A9 copyright +!AA U+00AA ordfeminine +!AB U+00AB guillemotleft +!AC U+00AC logicalnot +!AD U+00AD hyphen +!AE U+00AE registered +!AF U+00AF macron +!B0 U+00B0 degree +!B1 U+00B1 plusminus +!B2 U+00B2 twosuperior +!B3 U+00B3 threesuperior +!B4 U+00B4 acute +!B5 U+00B5 mu +!B6 U+00B6 paragraph +!B7 U+00B7 periodcentered +!B8 U+00B8 cedilla +!B9 U+00B9 onesuperior +!BA U+00BA ordmasculine +!BB U+00BB guillemotright +!BC U+00BC onequarter +!BD U+00BD onehalf +!BE U+00BE threequarters +!BF U+00BF questiondown +!C0 U+00C0 Agrave +!C1 U+00C1 Aacute +!C2 U+00C2 Acircumflex +!C3 U+00C3 Atilde +!C4 U+00C4 Adieresis +!C5 U+00C5 Aring +!C6 U+00C6 AE +!C7 U+00C7 Ccedilla +!C8 U+00C8 Egrave +!C9 U+00C9 Eacute +!CA U+00CA Ecircumflex +!CB U+00CB Edieresis +!CC U+00CC Igrave +!CD U+00CD Iacute +!CE U+00CE Icircumflex +!CF U+00CF Idieresis +!D0 U+00D0 Eth +!D1 U+00D1 Ntilde +!D2 U+00D2 Ograve +!D3 U+00D3 Oacute +!D4 U+00D4 Ocircumflex +!D5 U+00D5 Otilde +!D6 U+00D6 Odieresis +!D7 U+00D7 multiply +!D8 U+00D8 Oslash +!D9 U+00D9 Ugrave +!DA U+00DA Uacute +!DB U+00DB Ucircumflex +!DC U+00DC Udieresis +!DD U+00DD Yacute +!DE U+00DE Thorn +!DF U+00DF germandbls +!E0 U+00E0 agrave +!E1 U+00E1 aacute +!E2 U+00E2 acircumflex +!E3 U+00E3 atilde +!E4 U+00E4 adieresis +!E5 U+00E5 aring +!E6 U+00E6 ae +!E7 U+00E7 ccedilla +!E8 U+00E8 egrave +!E9 U+00E9 eacute +!EA U+00EA ecircumflex +!EB U+00EB edieresis +!EC U+00EC igrave +!ED U+00ED iacute +!EE U+00EE icircumflex +!EF U+00EF idieresis +!F0 U+00F0 eth +!F1 U+00F1 ntilde +!F2 U+00F2 ograve +!F3 U+00F3 oacute +!F4 U+00F4 ocircumflex +!F5 U+00F5 otilde +!F6 U+00F6 odieresis +!F7 U+00F7 divide +!F8 U+00F8 oslash +!F9 U+00F9 ugrave +!FA U+00FA uacute +!FB U+00FB ucircumflex +!FC U+00FC udieresis +!FD U+00FD yacute +!FE U+00FE thorn +!FF U+00FF ydieresis diff --git a/application/libraries/fpdf/font/makefont/cp1253.map b/application/libraries/fpdf/font/makefont/cp1253.map new file mode 100644 index 0000000..4bd826f --- /dev/null +++ b/application/libraries/fpdf/font/makefont/cp1253.map @@ -0,0 +1,239 @@ +!00 U+0000 .notdef +!01 U+0001 .notdef +!02 U+0002 .notdef +!03 U+0003 .notdef +!04 U+0004 .notdef +!05 U+0005 .notdef +!06 U+0006 .notdef +!07 U+0007 .notdef +!08 U+0008 .notdef +!09 U+0009 .notdef +!0A U+000A .notdef +!0B U+000B .notdef +!0C U+000C .notdef +!0D U+000D .notdef +!0E U+000E .notdef +!0F U+000F .notdef +!10 U+0010 .notdef +!11 U+0011 .notdef +!12 U+0012 .notdef +!13 U+0013 .notdef +!14 U+0014 .notdef +!15 U+0015 .notdef +!16 U+0016 .notdef +!17 U+0017 .notdef +!18 U+0018 .notdef +!19 U+0019 .notdef +!1A U+001A .notdef +!1B U+001B .notdef +!1C U+001C .notdef +!1D U+001D .notdef +!1E U+001E .notdef +!1F U+001F .notdef +!20 U+0020 space +!21 U+0021 exclam +!22 U+0022 quotedbl +!23 U+0023 numbersign +!24 U+0024 dollar +!25 U+0025 percent +!26 U+0026 ampersand +!27 U+0027 quotesingle +!28 U+0028 parenleft +!29 U+0029 parenright +!2A U+002A asterisk +!2B U+002B plus +!2C U+002C comma +!2D U+002D hyphen +!2E U+002E period +!2F U+002F slash +!30 U+0030 zero +!31 U+0031 one +!32 U+0032 two +!33 U+0033 three +!34 U+0034 four +!35 U+0035 five +!36 U+0036 six +!37 U+0037 seven +!38 U+0038 eight +!39 U+0039 nine +!3A U+003A colon +!3B U+003B semicolon +!3C U+003C less +!3D U+003D equal +!3E U+003E greater +!3F U+003F question +!40 U+0040 at +!41 U+0041 A +!42 U+0042 B +!43 U+0043 C +!44 U+0044 D +!45 U+0045 E +!46 U+0046 F +!47 U+0047 G +!48 U+0048 H +!49 U+0049 I +!4A U+004A J +!4B U+004B K +!4C U+004C L +!4D U+004D M +!4E U+004E N +!4F U+004F O +!50 U+0050 P +!51 U+0051 Q +!52 U+0052 R +!53 U+0053 S +!54 U+0054 T +!55 U+0055 U +!56 U+0056 V +!57 U+0057 W +!58 U+0058 X +!59 U+0059 Y +!5A U+005A Z +!5B U+005B bracketleft +!5C U+005C backslash +!5D U+005D bracketright +!5E U+005E asciicircum +!5F U+005F underscore +!60 U+0060 grave +!61 U+0061 a +!62 U+0062 b +!63 U+0063 c +!64 U+0064 d +!65 U+0065 e +!66 U+0066 f +!67 U+0067 g +!68 U+0068 h +!69 U+0069 i +!6A U+006A j +!6B U+006B k +!6C U+006C l +!6D U+006D m +!6E U+006E n +!6F U+006F o +!70 U+0070 p +!71 U+0071 q +!72 U+0072 r +!73 U+0073 s +!74 U+0074 t +!75 U+0075 u +!76 U+0076 v +!77 U+0077 w +!78 U+0078 x +!79 U+0079 y +!7A U+007A z +!7B U+007B braceleft +!7C U+007C bar +!7D U+007D braceright +!7E U+007E asciitilde +!7F U+007F .notdef +!80 U+20AC Euro +!82 U+201A quotesinglbase +!83 U+0192 florin +!84 U+201E quotedblbase +!85 U+2026 ellipsis +!86 U+2020 dagger +!87 U+2021 daggerdbl +!89 U+2030 perthousand +!8B U+2039 guilsinglleft +!91 U+2018 quoteleft +!92 U+2019 quoteright +!93 U+201C quotedblleft +!94 U+201D quotedblright +!95 U+2022 bullet +!96 U+2013 endash +!97 U+2014 emdash +!99 U+2122 trademark +!9B U+203A guilsinglright +!A0 U+00A0 space +!A1 U+0385 dieresistonos +!A2 U+0386 Alphatonos +!A3 U+00A3 sterling +!A4 U+00A4 currency +!A5 U+00A5 yen +!A6 U+00A6 brokenbar +!A7 U+00A7 section +!A8 U+00A8 dieresis +!A9 U+00A9 copyright +!AB U+00AB guillemotleft +!AC U+00AC logicalnot +!AD U+00AD hyphen +!AE U+00AE registered +!AF U+2015 afii00208 +!B0 U+00B0 degree +!B1 U+00B1 plusminus +!B2 U+00B2 twosuperior +!B3 U+00B3 threesuperior +!B4 U+0384 tonos +!B5 U+00B5 mu +!B6 U+00B6 paragraph +!B7 U+00B7 periodcentered +!B8 U+0388 Epsilontonos +!B9 U+0389 Etatonos +!BA U+038A Iotatonos +!BB U+00BB guillemotright +!BC U+038C Omicrontonos +!BD U+00BD onehalf +!BE U+038E Upsilontonos +!BF U+038F Omegatonos +!C0 U+0390 iotadieresistonos +!C1 U+0391 Alpha +!C2 U+0392 Beta +!C3 U+0393 Gamma +!C4 U+0394 Delta +!C5 U+0395 Epsilon +!C6 U+0396 Zeta +!C7 U+0397 Eta +!C8 U+0398 Theta +!C9 U+0399 Iota +!CA U+039A Kappa +!CB U+039B Lambda +!CC U+039C Mu +!CD U+039D Nu +!CE U+039E Xi +!CF U+039F Omicron +!D0 U+03A0 Pi +!D1 U+03A1 Rho +!D3 U+03A3 Sigma +!D4 U+03A4 Tau +!D5 U+03A5 Upsilon +!D6 U+03A6 Phi +!D7 U+03A7 Chi +!D8 U+03A8 Psi +!D9 U+03A9 Omega +!DA U+03AA Iotadieresis +!DB U+03AB Upsilondieresis +!DC U+03AC alphatonos +!DD U+03AD epsilontonos +!DE U+03AE etatonos +!DF U+03AF iotatonos +!E0 U+03B0 upsilondieresistonos +!E1 U+03B1 alpha +!E2 U+03B2 beta +!E3 U+03B3 gamma +!E4 U+03B4 delta +!E5 U+03B5 epsilon +!E6 U+03B6 zeta +!E7 U+03B7 eta +!E8 U+03B8 theta +!E9 U+03B9 iota +!EA U+03BA kappa +!EB U+03BB lambda +!EC U+03BC mu +!ED U+03BD nu +!EE U+03BE xi +!EF U+03BF omicron +!F0 U+03C0 pi +!F1 U+03C1 rho +!F2 U+03C2 sigma1 +!F3 U+03C3 sigma +!F4 U+03C4 tau +!F5 U+03C5 upsilon +!F6 U+03C6 phi +!F7 U+03C7 chi +!F8 U+03C8 psi +!F9 U+03C9 omega +!FA U+03CA iotadieresis +!FB U+03CB upsilondieresis +!FC U+03CC omicrontonos +!FD U+03CD upsilontonos +!FE U+03CE omegatonos diff --git a/application/libraries/fpdf/font/makefont/cp1254.map b/application/libraries/fpdf/font/makefont/cp1254.map new file mode 100644 index 0000000..829473b --- /dev/null +++ b/application/libraries/fpdf/font/makefont/cp1254.map @@ -0,0 +1,249 @@ +!00 U+0000 .notdef +!01 U+0001 .notdef +!02 U+0002 .notdef +!03 U+0003 .notdef +!04 U+0004 .notdef +!05 U+0005 .notdef +!06 U+0006 .notdef +!07 U+0007 .notdef +!08 U+0008 .notdef +!09 U+0009 .notdef +!0A U+000A .notdef +!0B U+000B .notdef +!0C U+000C .notdef +!0D U+000D .notdef +!0E U+000E .notdef +!0F U+000F .notdef +!10 U+0010 .notdef +!11 U+0011 .notdef +!12 U+0012 .notdef +!13 U+0013 .notdef +!14 U+0014 .notdef +!15 U+0015 .notdef +!16 U+0016 .notdef +!17 U+0017 .notdef +!18 U+0018 .notdef +!19 U+0019 .notdef +!1A U+001A .notdef +!1B U+001B .notdef +!1C U+001C .notdef +!1D U+001D .notdef +!1E U+001E .notdef +!1F U+001F .notdef +!20 U+0020 space +!21 U+0021 exclam +!22 U+0022 quotedbl +!23 U+0023 numbersign +!24 U+0024 dollar +!25 U+0025 percent +!26 U+0026 ampersand +!27 U+0027 quotesingle +!28 U+0028 parenleft +!29 U+0029 parenright +!2A U+002A asterisk +!2B U+002B plus +!2C U+002C comma +!2D U+002D hyphen +!2E U+002E period +!2F U+002F slash +!30 U+0030 zero +!31 U+0031 one +!32 U+0032 two +!33 U+0033 three +!34 U+0034 four +!35 U+0035 five +!36 U+0036 six +!37 U+0037 seven +!38 U+0038 eight +!39 U+0039 nine +!3A U+003A colon +!3B U+003B semicolon +!3C U+003C less +!3D U+003D equal +!3E U+003E greater +!3F U+003F question +!40 U+0040 at +!41 U+0041 A +!42 U+0042 B +!43 U+0043 C +!44 U+0044 D +!45 U+0045 E +!46 U+0046 F +!47 U+0047 G +!48 U+0048 H +!49 U+0049 I +!4A U+004A J +!4B U+004B K +!4C U+004C L +!4D U+004D M +!4E U+004E N +!4F U+004F O +!50 U+0050 P +!51 U+0051 Q +!52 U+0052 R +!53 U+0053 S +!54 U+0054 T +!55 U+0055 U +!56 U+0056 V +!57 U+0057 W +!58 U+0058 X +!59 U+0059 Y +!5A U+005A Z +!5B U+005B bracketleft +!5C U+005C backslash +!5D U+005D bracketright +!5E U+005E asciicircum +!5F U+005F underscore +!60 U+0060 grave +!61 U+0061 a +!62 U+0062 b +!63 U+0063 c +!64 U+0064 d +!65 U+0065 e +!66 U+0066 f +!67 U+0067 g +!68 U+0068 h +!69 U+0069 i +!6A U+006A j +!6B U+006B k +!6C U+006C l +!6D U+006D m +!6E U+006E n +!6F U+006F o +!70 U+0070 p +!71 U+0071 q +!72 U+0072 r +!73 U+0073 s +!74 U+0074 t +!75 U+0075 u +!76 U+0076 v +!77 U+0077 w +!78 U+0078 x +!79 U+0079 y +!7A U+007A z +!7B U+007B braceleft +!7C U+007C bar +!7D U+007D braceright +!7E U+007E asciitilde +!7F U+007F .notdef +!80 U+20AC Euro +!82 U+201A quotesinglbase +!83 U+0192 florin +!84 U+201E quotedblbase +!85 U+2026 ellipsis +!86 U+2020 dagger +!87 U+2021 daggerdbl +!88 U+02C6 circumflex +!89 U+2030 perthousand +!8A U+0160 Scaron +!8B U+2039 guilsinglleft +!8C U+0152 OE +!91 U+2018 quoteleft +!92 U+2019 quoteright +!93 U+201C quotedblleft +!94 U+201D quotedblright +!95 U+2022 bullet +!96 U+2013 endash +!97 U+2014 emdash +!98 U+02DC tilde +!99 U+2122 trademark +!9A U+0161 scaron +!9B U+203A guilsinglright +!9C U+0153 oe +!9F U+0178 Ydieresis +!A0 U+00A0 space +!A1 U+00A1 exclamdown +!A2 U+00A2 cent +!A3 U+00A3 sterling +!A4 U+00A4 currency +!A5 U+00A5 yen +!A6 U+00A6 brokenbar +!A7 U+00A7 section +!A8 U+00A8 dieresis +!A9 U+00A9 copyright +!AA U+00AA ordfeminine +!AB U+00AB guillemotleft +!AC U+00AC logicalnot +!AD U+00AD hyphen +!AE U+00AE registered +!AF U+00AF macron +!B0 U+00B0 degree +!B1 U+00B1 plusminus +!B2 U+00B2 twosuperior +!B3 U+00B3 threesuperior +!B4 U+00B4 acute +!B5 U+00B5 mu +!B6 U+00B6 paragraph +!B7 U+00B7 periodcentered +!B8 U+00B8 cedilla +!B9 U+00B9 onesuperior +!BA U+00BA ordmasculine +!BB U+00BB guillemotright +!BC U+00BC onequarter +!BD U+00BD onehalf +!BE U+00BE threequarters +!BF U+00BF questiondown +!C0 U+00C0 Agrave +!C1 U+00C1 Aacute +!C2 U+00C2 Acircumflex +!C3 U+00C3 Atilde +!C4 U+00C4 Adieresis +!C5 U+00C5 Aring +!C6 U+00C6 AE +!C7 U+00C7 Ccedilla +!C8 U+00C8 Egrave +!C9 U+00C9 Eacute +!CA U+00CA Ecircumflex +!CB U+00CB Edieresis +!CC U+00CC Igrave +!CD U+00CD Iacute +!CE U+00CE Icircumflex +!CF U+00CF Idieresis +!D0 U+011E Gbreve +!D1 U+00D1 Ntilde +!D2 U+00D2 Ograve +!D3 U+00D3 Oacute +!D4 U+00D4 Ocircumflex +!D5 U+00D5 Otilde +!D6 U+00D6 Odieresis +!D7 U+00D7 multiply +!D8 U+00D8 Oslash +!D9 U+00D9 Ugrave +!DA U+00DA Uacute +!DB U+00DB Ucircumflex +!DC U+00DC Udieresis +!DD U+0130 Idotaccent +!DE U+015E Scedilla +!DF U+00DF germandbls +!E0 U+00E0 agrave +!E1 U+00E1 aacute +!E2 U+00E2 acircumflex +!E3 U+00E3 atilde +!E4 U+00E4 adieresis +!E5 U+00E5 aring +!E6 U+00E6 ae +!E7 U+00E7 ccedilla +!E8 U+00E8 egrave +!E9 U+00E9 eacute +!EA U+00EA ecircumflex +!EB U+00EB edieresis +!EC U+00EC igrave +!ED U+00ED iacute +!EE U+00EE icircumflex +!EF U+00EF idieresis +!F0 U+011F gbreve +!F1 U+00F1 ntilde +!F2 U+00F2 ograve +!F3 U+00F3 oacute +!F4 U+00F4 ocircumflex +!F5 U+00F5 otilde +!F6 U+00F6 odieresis +!F7 U+00F7 divide +!F8 U+00F8 oslash +!F9 U+00F9 ugrave +!FA U+00FA uacute +!FB U+00FB ucircumflex +!FC U+00FC udieresis +!FD U+0131 dotlessi +!FE U+015F scedilla +!FF U+00FF ydieresis diff --git a/application/libraries/fpdf/font/makefont/cp1255.map b/application/libraries/fpdf/font/makefont/cp1255.map new file mode 100644 index 0000000..079e10c --- /dev/null +++ b/application/libraries/fpdf/font/makefont/cp1255.map @@ -0,0 +1,233 @@ +!00 U+0000 .notdef +!01 U+0001 .notdef +!02 U+0002 .notdef +!03 U+0003 .notdef +!04 U+0004 .notdef +!05 U+0005 .notdef +!06 U+0006 .notdef +!07 U+0007 .notdef +!08 U+0008 .notdef +!09 U+0009 .notdef +!0A U+000A .notdef +!0B U+000B .notdef +!0C U+000C .notdef +!0D U+000D .notdef +!0E U+000E .notdef +!0F U+000F .notdef +!10 U+0010 .notdef +!11 U+0011 .notdef +!12 U+0012 .notdef +!13 U+0013 .notdef +!14 U+0014 .notdef +!15 U+0015 .notdef +!16 U+0016 .notdef +!17 U+0017 .notdef +!18 U+0018 .notdef +!19 U+0019 .notdef +!1A U+001A .notdef +!1B U+001B .notdef +!1C U+001C .notdef +!1D U+001D .notdef +!1E U+001E .notdef +!1F U+001F .notdef +!20 U+0020 space +!21 U+0021 exclam +!22 U+0022 quotedbl +!23 U+0023 numbersign +!24 U+0024 dollar +!25 U+0025 percent +!26 U+0026 ampersand +!27 U+0027 quotesingle +!28 U+0028 parenleft +!29 U+0029 parenright +!2A U+002A asterisk +!2B U+002B plus +!2C U+002C comma +!2D U+002D hyphen +!2E U+002E period +!2F U+002F slash +!30 U+0030 zero +!31 U+0031 one +!32 U+0032 two +!33 U+0033 three +!34 U+0034 four +!35 U+0035 five +!36 U+0036 six +!37 U+0037 seven +!38 U+0038 eight +!39 U+0039 nine +!3A U+003A colon +!3B U+003B semicolon +!3C U+003C less +!3D U+003D equal +!3E U+003E greater +!3F U+003F question +!40 U+0040 at +!41 U+0041 A +!42 U+0042 B +!43 U+0043 C +!44 U+0044 D +!45 U+0045 E +!46 U+0046 F +!47 U+0047 G +!48 U+0048 H +!49 U+0049 I +!4A U+004A J +!4B U+004B K +!4C U+004C L +!4D U+004D M +!4E U+004E N +!4F U+004F O +!50 U+0050 P +!51 U+0051 Q +!52 U+0052 R +!53 U+0053 S +!54 U+0054 T +!55 U+0055 U +!56 U+0056 V +!57 U+0057 W +!58 U+0058 X +!59 U+0059 Y +!5A U+005A Z +!5B U+005B bracketleft +!5C U+005C backslash +!5D U+005D bracketright +!5E U+005E asciicircum +!5F U+005F underscore +!60 U+0060 grave +!61 U+0061 a +!62 U+0062 b +!63 U+0063 c +!64 U+0064 d +!65 U+0065 e +!66 U+0066 f +!67 U+0067 g +!68 U+0068 h +!69 U+0069 i +!6A U+006A j +!6B U+006B k +!6C U+006C l +!6D U+006D m +!6E U+006E n +!6F U+006F o +!70 U+0070 p +!71 U+0071 q +!72 U+0072 r +!73 U+0073 s +!74 U+0074 t +!75 U+0075 u +!76 U+0076 v +!77 U+0077 w +!78 U+0078 x +!79 U+0079 y +!7A U+007A z +!7B U+007B braceleft +!7C U+007C bar +!7D U+007D braceright +!7E U+007E asciitilde +!7F U+007F .notdef +!80 U+20AC Euro +!82 U+201A quotesinglbase +!83 U+0192 florin +!84 U+201E quotedblbase +!85 U+2026 ellipsis +!86 U+2020 dagger +!87 U+2021 daggerdbl +!88 U+02C6 circumflex +!89 U+2030 perthousand +!8B U+2039 guilsinglleft +!91 U+2018 quoteleft +!92 U+2019 quoteright +!93 U+201C quotedblleft +!94 U+201D quotedblright +!95 U+2022 bullet +!96 U+2013 endash +!97 U+2014 emdash +!98 U+02DC tilde +!99 U+2122 trademark +!9B U+203A guilsinglright +!A0 U+00A0 space +!A1 U+00A1 exclamdown +!A2 U+00A2 cent +!A3 U+00A3 sterling +!A4 U+20AA afii57636 +!A5 U+00A5 yen +!A6 U+00A6 brokenbar +!A7 U+00A7 section +!A8 U+00A8 dieresis +!A9 U+00A9 copyright +!AA U+00D7 multiply +!AB U+00AB guillemotleft +!AC U+00AC logicalnot +!AD U+00AD sfthyphen +!AE U+00AE registered +!AF U+00AF macron +!B0 U+00B0 degree +!B1 U+00B1 plusminus +!B2 U+00B2 twosuperior +!B3 U+00B3 threesuperior +!B4 U+00B4 acute +!B5 U+00B5 mu +!B6 U+00B6 paragraph +!B7 U+00B7 middot +!B8 U+00B8 cedilla +!B9 U+00B9 onesuperior +!BA U+00F7 divide +!BB U+00BB guillemotright +!BC U+00BC onequarter +!BD U+00BD onehalf +!BE U+00BE threequarters +!BF U+00BF questiondown +!C0 U+05B0 afii57799 +!C1 U+05B1 afii57801 +!C2 U+05B2 afii57800 +!C3 U+05B3 afii57802 +!C4 U+05B4 afii57793 +!C5 U+05B5 afii57794 +!C6 U+05B6 afii57795 +!C7 U+05B7 afii57798 +!C8 U+05B8 afii57797 +!C9 U+05B9 afii57806 +!CB U+05BB afii57796 +!CC U+05BC afii57807 +!CD U+05BD afii57839 +!CE U+05BE afii57645 +!CF U+05BF afii57841 +!D0 U+05C0 afii57842 +!D1 U+05C1 afii57804 +!D2 U+05C2 afii57803 +!D3 U+05C3 afii57658 +!D4 U+05F0 afii57716 +!D5 U+05F1 afii57717 +!D6 U+05F2 afii57718 +!D7 U+05F3 gereshhebrew +!D8 U+05F4 gershayimhebrew +!E0 U+05D0 afii57664 +!E1 U+05D1 afii57665 +!E2 U+05D2 afii57666 +!E3 U+05D3 afii57667 +!E4 U+05D4 afii57668 +!E5 U+05D5 afii57669 +!E6 U+05D6 afii57670 +!E7 U+05D7 afii57671 +!E8 U+05D8 afii57672 +!E9 U+05D9 afii57673 +!EA U+05DA afii57674 +!EB U+05DB afii57675 +!EC U+05DC afii57676 +!ED U+05DD afii57677 +!EE U+05DE afii57678 +!EF U+05DF afii57679 +!F0 U+05E0 afii57680 +!F1 U+05E1 afii57681 +!F2 U+05E2 afii57682 +!F3 U+05E3 afii57683 +!F4 U+05E4 afii57684 +!F5 U+05E5 afii57685 +!F6 U+05E6 afii57686 +!F7 U+05E7 afii57687 +!F8 U+05E8 afii57688 +!F9 U+05E9 afii57689 +!FA U+05EA afii57690 +!FD U+200E afii299 +!FE U+200F afii300 diff --git a/application/libraries/fpdf/font/makefont/cp1257.map b/application/libraries/fpdf/font/makefont/cp1257.map new file mode 100644 index 0000000..2f2ecfa --- /dev/null +++ b/application/libraries/fpdf/font/makefont/cp1257.map @@ -0,0 +1,244 @@ +!00 U+0000 .notdef +!01 U+0001 .notdef +!02 U+0002 .notdef +!03 U+0003 .notdef +!04 U+0004 .notdef +!05 U+0005 .notdef +!06 U+0006 .notdef +!07 U+0007 .notdef +!08 U+0008 .notdef +!09 U+0009 .notdef +!0A U+000A .notdef +!0B U+000B .notdef +!0C U+000C .notdef +!0D U+000D .notdef +!0E U+000E .notdef +!0F U+000F .notdef +!10 U+0010 .notdef +!11 U+0011 .notdef +!12 U+0012 .notdef +!13 U+0013 .notdef +!14 U+0014 .notdef +!15 U+0015 .notdef +!16 U+0016 .notdef +!17 U+0017 .notdef +!18 U+0018 .notdef +!19 U+0019 .notdef +!1A U+001A .notdef +!1B U+001B .notdef +!1C U+001C .notdef +!1D U+001D .notdef +!1E U+001E .notdef +!1F U+001F .notdef +!20 U+0020 space +!21 U+0021 exclam +!22 U+0022 quotedbl +!23 U+0023 numbersign +!24 U+0024 dollar +!25 U+0025 percent +!26 U+0026 ampersand +!27 U+0027 quotesingle +!28 U+0028 parenleft +!29 U+0029 parenright +!2A U+002A asterisk +!2B U+002B plus +!2C U+002C comma +!2D U+002D hyphen +!2E U+002E period +!2F U+002F slash +!30 U+0030 zero +!31 U+0031 one +!32 U+0032 two +!33 U+0033 three +!34 U+0034 four +!35 U+0035 five +!36 U+0036 six +!37 U+0037 seven +!38 U+0038 eight +!39 U+0039 nine +!3A U+003A colon +!3B U+003B semicolon +!3C U+003C less +!3D U+003D equal +!3E U+003E greater +!3F U+003F question +!40 U+0040 at +!41 U+0041 A +!42 U+0042 B +!43 U+0043 C +!44 U+0044 D +!45 U+0045 E +!46 U+0046 F +!47 U+0047 G +!48 U+0048 H +!49 U+0049 I +!4A U+004A J +!4B U+004B K +!4C U+004C L +!4D U+004D M +!4E U+004E N +!4F U+004F O +!50 U+0050 P +!51 U+0051 Q +!52 U+0052 R +!53 U+0053 S +!54 U+0054 T +!55 U+0055 U +!56 U+0056 V +!57 U+0057 W +!58 U+0058 X +!59 U+0059 Y +!5A U+005A Z +!5B U+005B bracketleft +!5C U+005C backslash +!5D U+005D bracketright +!5E U+005E asciicircum +!5F U+005F underscore +!60 U+0060 grave +!61 U+0061 a +!62 U+0062 b +!63 U+0063 c +!64 U+0064 d +!65 U+0065 e +!66 U+0066 f +!67 U+0067 g +!68 U+0068 h +!69 U+0069 i +!6A U+006A j +!6B U+006B k +!6C U+006C l +!6D U+006D m +!6E U+006E n +!6F U+006F o +!70 U+0070 p +!71 U+0071 q +!72 U+0072 r +!73 U+0073 s +!74 U+0074 t +!75 U+0075 u +!76 U+0076 v +!77 U+0077 w +!78 U+0078 x +!79 U+0079 y +!7A U+007A z +!7B U+007B braceleft +!7C U+007C bar +!7D U+007D braceright +!7E U+007E asciitilde +!7F U+007F .notdef +!80 U+20AC Euro +!82 U+201A quotesinglbase +!84 U+201E quotedblbase +!85 U+2026 ellipsis +!86 U+2020 dagger +!87 U+2021 daggerdbl +!89 U+2030 perthousand +!8B U+2039 guilsinglleft +!8D U+00A8 dieresis +!8E U+02C7 caron +!8F U+00B8 cedilla +!91 U+2018 quoteleft +!92 U+2019 quoteright +!93 U+201C quotedblleft +!94 U+201D quotedblright +!95 U+2022 bullet +!96 U+2013 endash +!97 U+2014 emdash +!99 U+2122 trademark +!9B U+203A guilsinglright +!9D U+00AF macron +!9E U+02DB ogonek +!A0 U+00A0 space +!A2 U+00A2 cent +!A3 U+00A3 sterling +!A4 U+00A4 currency +!A6 U+00A6 brokenbar +!A7 U+00A7 section +!A8 U+00D8 Oslash +!A9 U+00A9 copyright +!AA U+0156 Rcommaaccent +!AB U+00AB guillemotleft +!AC U+00AC logicalnot +!AD U+00AD hyphen +!AE U+00AE registered +!AF U+00C6 AE +!B0 U+00B0 degree +!B1 U+00B1 plusminus +!B2 U+00B2 twosuperior +!B3 U+00B3 threesuperior +!B4 U+00B4 acute +!B5 U+00B5 mu +!B6 U+00B6 paragraph +!B7 U+00B7 periodcentered +!B8 U+00F8 oslash +!B9 U+00B9 onesuperior +!BA U+0157 rcommaaccent +!BB U+00BB guillemotright +!BC U+00BC onequarter +!BD U+00BD onehalf +!BE U+00BE threequarters +!BF U+00E6 ae +!C0 U+0104 Aogonek +!C1 U+012E Iogonek +!C2 U+0100 Amacron +!C3 U+0106 Cacute +!C4 U+00C4 Adieresis +!C5 U+00C5 Aring +!C6 U+0118 Eogonek +!C7 U+0112 Emacron +!C8 U+010C Ccaron +!C9 U+00C9 Eacute +!CA U+0179 Zacute +!CB U+0116 Edotaccent +!CC U+0122 Gcommaaccent +!CD U+0136 Kcommaaccent +!CE U+012A Imacron +!CF U+013B Lcommaaccent +!D0 U+0160 Scaron +!D1 U+0143 Nacute +!D2 U+0145 Ncommaaccent +!D3 U+00D3 Oacute +!D4 U+014C Omacron +!D5 U+00D5 Otilde +!D6 U+00D6 Odieresis +!D7 U+00D7 multiply +!D8 U+0172 Uogonek +!D9 U+0141 Lslash +!DA U+015A Sacute +!DB U+016A Umacron +!DC U+00DC Udieresis +!DD U+017B Zdotaccent +!DE U+017D Zcaron +!DF U+00DF germandbls +!E0 U+0105 aogonek +!E1 U+012F iogonek +!E2 U+0101 amacron +!E3 U+0107 cacute +!E4 U+00E4 adieresis +!E5 U+00E5 aring +!E6 U+0119 eogonek +!E7 U+0113 emacron +!E8 U+010D ccaron +!E9 U+00E9 eacute +!EA U+017A zacute +!EB U+0117 edotaccent +!EC U+0123 gcommaaccent +!ED U+0137 kcommaaccent +!EE U+012B imacron +!EF U+013C lcommaaccent +!F0 U+0161 scaron +!F1 U+0144 nacute +!F2 U+0146 ncommaaccent +!F3 U+00F3 oacute +!F4 U+014D omacron +!F5 U+00F5 otilde +!F6 U+00F6 odieresis +!F7 U+00F7 divide +!F8 U+0173 uogonek +!F9 U+0142 lslash +!FA U+015B sacute +!FB U+016B umacron +!FC U+00FC udieresis +!FD U+017C zdotaccent +!FE U+017E zcaron +!FF U+02D9 dotaccent diff --git a/application/libraries/fpdf/font/makefont/cp1258.map b/application/libraries/fpdf/font/makefont/cp1258.map new file mode 100644 index 0000000..fed915f --- /dev/null +++ b/application/libraries/fpdf/font/makefont/cp1258.map @@ -0,0 +1,247 @@ +!00 U+0000 .notdef +!01 U+0001 .notdef +!02 U+0002 .notdef +!03 U+0003 .notdef +!04 U+0004 .notdef +!05 U+0005 .notdef +!06 U+0006 .notdef +!07 U+0007 .notdef +!08 U+0008 .notdef +!09 U+0009 .notdef +!0A U+000A .notdef +!0B U+000B .notdef +!0C U+000C .notdef +!0D U+000D .notdef +!0E U+000E .notdef +!0F U+000F .notdef +!10 U+0010 .notdef +!11 U+0011 .notdef +!12 U+0012 .notdef +!13 U+0013 .notdef +!14 U+0014 .notdef +!15 U+0015 .notdef +!16 U+0016 .notdef +!17 U+0017 .notdef +!18 U+0018 .notdef +!19 U+0019 .notdef +!1A U+001A .notdef +!1B U+001B .notdef +!1C U+001C .notdef +!1D U+001D .notdef +!1E U+001E .notdef +!1F U+001F .notdef +!20 U+0020 space +!21 U+0021 exclam +!22 U+0022 quotedbl +!23 U+0023 numbersign +!24 U+0024 dollar +!25 U+0025 percent +!26 U+0026 ampersand +!27 U+0027 quotesingle +!28 U+0028 parenleft +!29 U+0029 parenright +!2A U+002A asterisk +!2B U+002B plus +!2C U+002C comma +!2D U+002D hyphen +!2E U+002E period +!2F U+002F slash +!30 U+0030 zero +!31 U+0031 one +!32 U+0032 two +!33 U+0033 three +!34 U+0034 four +!35 U+0035 five +!36 U+0036 six +!37 U+0037 seven +!38 U+0038 eight +!39 U+0039 nine +!3A U+003A colon +!3B U+003B semicolon +!3C U+003C less +!3D U+003D equal +!3E U+003E greater +!3F U+003F question +!40 U+0040 at +!41 U+0041 A +!42 U+0042 B +!43 U+0043 C +!44 U+0044 D +!45 U+0045 E +!46 U+0046 F +!47 U+0047 G +!48 U+0048 H +!49 U+0049 I +!4A U+004A J +!4B U+004B K +!4C U+004C L +!4D U+004D M +!4E U+004E N +!4F U+004F O +!50 U+0050 P +!51 U+0051 Q +!52 U+0052 R +!53 U+0053 S +!54 U+0054 T +!55 U+0055 U +!56 U+0056 V +!57 U+0057 W +!58 U+0058 X +!59 U+0059 Y +!5A U+005A Z +!5B U+005B bracketleft +!5C U+005C backslash +!5D U+005D bracketright +!5E U+005E asciicircum +!5F U+005F underscore +!60 U+0060 grave +!61 U+0061 a +!62 U+0062 b +!63 U+0063 c +!64 U+0064 d +!65 U+0065 e +!66 U+0066 f +!67 U+0067 g +!68 U+0068 h +!69 U+0069 i +!6A U+006A j +!6B U+006B k +!6C U+006C l +!6D U+006D m +!6E U+006E n +!6F U+006F o +!70 U+0070 p +!71 U+0071 q +!72 U+0072 r +!73 U+0073 s +!74 U+0074 t +!75 U+0075 u +!76 U+0076 v +!77 U+0077 w +!78 U+0078 x +!79 U+0079 y +!7A U+007A z +!7B U+007B braceleft +!7C U+007C bar +!7D U+007D braceright +!7E U+007E asciitilde +!7F U+007F .notdef +!80 U+20AC Euro +!82 U+201A quotesinglbase +!83 U+0192 florin +!84 U+201E quotedblbase +!85 U+2026 ellipsis +!86 U+2020 dagger +!87 U+2021 daggerdbl +!88 U+02C6 circumflex +!89 U+2030 perthousand +!8B U+2039 guilsinglleft +!8C U+0152 OE +!91 U+2018 quoteleft +!92 U+2019 quoteright +!93 U+201C quotedblleft +!94 U+201D quotedblright +!95 U+2022 bullet +!96 U+2013 endash +!97 U+2014 emdash +!98 U+02DC tilde +!99 U+2122 trademark +!9B U+203A guilsinglright +!9C U+0153 oe +!9F U+0178 Ydieresis +!A0 U+00A0 space +!A1 U+00A1 exclamdown +!A2 U+00A2 cent +!A3 U+00A3 sterling +!A4 U+00A4 currency +!A5 U+00A5 yen +!A6 U+00A6 brokenbar +!A7 U+00A7 section +!A8 U+00A8 dieresis +!A9 U+00A9 copyright +!AA U+00AA ordfeminine +!AB U+00AB guillemotleft +!AC U+00AC logicalnot +!AD U+00AD hyphen +!AE U+00AE registered +!AF U+00AF macron +!B0 U+00B0 degree +!B1 U+00B1 plusminus +!B2 U+00B2 twosuperior +!B3 U+00B3 threesuperior +!B4 U+00B4 acute +!B5 U+00B5 mu +!B6 U+00B6 paragraph +!B7 U+00B7 periodcentered +!B8 U+00B8 cedilla +!B9 U+00B9 onesuperior +!BA U+00BA ordmasculine +!BB U+00BB guillemotright +!BC U+00BC onequarter +!BD U+00BD onehalf +!BE U+00BE threequarters +!BF U+00BF questiondown +!C0 U+00C0 Agrave +!C1 U+00C1 Aacute +!C2 U+00C2 Acircumflex +!C3 U+0102 Abreve +!C4 U+00C4 Adieresis +!C5 U+00C5 Aring +!C6 U+00C6 AE +!C7 U+00C7 Ccedilla +!C8 U+00C8 Egrave +!C9 U+00C9 Eacute +!CA U+00CA Ecircumflex +!CB U+00CB Edieresis +!CC U+0300 gravecomb +!CD U+00CD Iacute +!CE U+00CE Icircumflex +!CF U+00CF Idieresis +!D0 U+0110 Dcroat +!D1 U+00D1 Ntilde +!D2 U+0309 hookabovecomb +!D3 U+00D3 Oacute +!D4 U+00D4 Ocircumflex +!D5 U+01A0 Ohorn +!D6 U+00D6 Odieresis +!D7 U+00D7 multiply +!D8 U+00D8 Oslash +!D9 U+00D9 Ugrave +!DA U+00DA Uacute +!DB U+00DB Ucircumflex +!DC U+00DC Udieresis +!DD U+01AF Uhorn +!DE U+0303 tildecomb +!DF U+00DF germandbls +!E0 U+00E0 agrave +!E1 U+00E1 aacute +!E2 U+00E2 acircumflex +!E3 U+0103 abreve +!E4 U+00E4 adieresis +!E5 U+00E5 aring +!E6 U+00E6 ae +!E7 U+00E7 ccedilla +!E8 U+00E8 egrave +!E9 U+00E9 eacute +!EA U+00EA ecircumflex +!EB U+00EB edieresis +!EC U+0301 acutecomb +!ED U+00ED iacute +!EE U+00EE icircumflex +!EF U+00EF idieresis +!F0 U+0111 dcroat +!F1 U+00F1 ntilde +!F2 U+0323 dotbelowcomb +!F3 U+00F3 oacute +!F4 U+00F4 ocircumflex +!F5 U+01A1 ohorn +!F6 U+00F6 odieresis +!F7 U+00F7 divide +!F8 U+00F8 oslash +!F9 U+00F9 ugrave +!FA U+00FA uacute +!FB U+00FB ucircumflex +!FC U+00FC udieresis +!FD U+01B0 uhorn +!FE U+20AB dong +!FF U+00FF ydieresis diff --git a/application/libraries/fpdf/font/makefont/cp874.map b/application/libraries/fpdf/font/makefont/cp874.map new file mode 100644 index 0000000..1006e6b --- /dev/null +++ b/application/libraries/fpdf/font/makefont/cp874.map @@ -0,0 +1,225 @@ +!00 U+0000 .notdef +!01 U+0001 .notdef +!02 U+0002 .notdef +!03 U+0003 .notdef +!04 U+0004 .notdef +!05 U+0005 .notdef +!06 U+0006 .notdef +!07 U+0007 .notdef +!08 U+0008 .notdef +!09 U+0009 .notdef +!0A U+000A .notdef +!0B U+000B .notdef +!0C U+000C .notdef +!0D U+000D .notdef +!0E U+000E .notdef +!0F U+000F .notdef +!10 U+0010 .notdef +!11 U+0011 .notdef +!12 U+0012 .notdef +!13 U+0013 .notdef +!14 U+0014 .notdef +!15 U+0015 .notdef +!16 U+0016 .notdef +!17 U+0017 .notdef +!18 U+0018 .notdef +!19 U+0019 .notdef +!1A U+001A .notdef +!1B U+001B .notdef +!1C U+001C .notdef +!1D U+001D .notdef +!1E U+001E .notdef +!1F U+001F .notdef +!20 U+0020 space +!21 U+0021 exclam +!22 U+0022 quotedbl +!23 U+0023 numbersign +!24 U+0024 dollar +!25 U+0025 percent +!26 U+0026 ampersand +!27 U+0027 quotesingle +!28 U+0028 parenleft +!29 U+0029 parenright +!2A U+002A asterisk +!2B U+002B plus +!2C U+002C comma +!2D U+002D hyphen +!2E U+002E period +!2F U+002F slash +!30 U+0030 zero +!31 U+0031 one +!32 U+0032 two +!33 U+0033 three +!34 U+0034 four +!35 U+0035 five +!36 U+0036 six +!37 U+0037 seven +!38 U+0038 eight +!39 U+0039 nine +!3A U+003A colon +!3B U+003B semicolon +!3C U+003C less +!3D U+003D equal +!3E U+003E greater +!3F U+003F question +!40 U+0040 at +!41 U+0041 A +!42 U+0042 B +!43 U+0043 C +!44 U+0044 D +!45 U+0045 E +!46 U+0046 F +!47 U+0047 G +!48 U+0048 H +!49 U+0049 I +!4A U+004A J +!4B U+004B K +!4C U+004C L +!4D U+004D M +!4E U+004E N +!4F U+004F O +!50 U+0050 P +!51 U+0051 Q +!52 U+0052 R +!53 U+0053 S +!54 U+0054 T +!55 U+0055 U +!56 U+0056 V +!57 U+0057 W +!58 U+0058 X +!59 U+0059 Y +!5A U+005A Z +!5B U+005B bracketleft +!5C U+005C backslash +!5D U+005D bracketright +!5E U+005E asciicircum +!5F U+005F underscore +!60 U+0060 grave +!61 U+0061 a +!62 U+0062 b +!63 U+0063 c +!64 U+0064 d +!65 U+0065 e +!66 U+0066 f +!67 U+0067 g +!68 U+0068 h +!69 U+0069 i +!6A U+006A j +!6B U+006B k +!6C U+006C l +!6D U+006D m +!6E U+006E n +!6F U+006F o +!70 U+0070 p +!71 U+0071 q +!72 U+0072 r +!73 U+0073 s +!74 U+0074 t +!75 U+0075 u +!76 U+0076 v +!77 U+0077 w +!78 U+0078 x +!79 U+0079 y +!7A U+007A z +!7B U+007B braceleft +!7C U+007C bar +!7D U+007D braceright +!7E U+007E asciitilde +!7F U+007F .notdef +!80 U+20AC Euro +!85 U+2026 ellipsis +!91 U+2018 quoteleft +!92 U+2019 quoteright +!93 U+201C quotedblleft +!94 U+201D quotedblright +!95 U+2022 bullet +!96 U+2013 endash +!97 U+2014 emdash +!A0 U+00A0 space +!A1 U+0E01 kokaithai +!A2 U+0E02 khokhaithai +!A3 U+0E03 khokhuatthai +!A4 U+0E04 khokhwaithai +!A5 U+0E05 khokhonthai +!A6 U+0E06 khorakhangthai +!A7 U+0E07 ngonguthai +!A8 U+0E08 chochanthai +!A9 U+0E09 chochingthai +!AA U+0E0A chochangthai +!AB U+0E0B sosothai +!AC U+0E0C chochoethai +!AD U+0E0D yoyingthai +!AE U+0E0E dochadathai +!AF U+0E0F topatakthai +!B0 U+0E10 thothanthai +!B1 U+0E11 thonangmonthothai +!B2 U+0E12 thophuthaothai +!B3 U+0E13 nonenthai +!B4 U+0E14 dodekthai +!B5 U+0E15 totaothai +!B6 U+0E16 thothungthai +!B7 U+0E17 thothahanthai +!B8 U+0E18 thothongthai +!B9 U+0E19 nonuthai +!BA U+0E1A bobaimaithai +!BB U+0E1B poplathai +!BC U+0E1C phophungthai +!BD U+0E1D fofathai +!BE U+0E1E phophanthai +!BF U+0E1F fofanthai +!C0 U+0E20 phosamphaothai +!C1 U+0E21 momathai +!C2 U+0E22 yoyakthai +!C3 U+0E23 roruathai +!C4 U+0E24 ruthai +!C5 U+0E25 lolingthai +!C6 U+0E26 luthai +!C7 U+0E27 wowaenthai +!C8 U+0E28 sosalathai +!C9 U+0E29 sorusithai +!CA U+0E2A sosuathai +!CB U+0E2B hohipthai +!CC U+0E2C lochulathai +!CD U+0E2D oangthai +!CE U+0E2E honokhukthai +!CF U+0E2F paiyannoithai +!D0 U+0E30 saraathai +!D1 U+0E31 maihanakatthai +!D2 U+0E32 saraaathai +!D3 U+0E33 saraamthai +!D4 U+0E34 saraithai +!D5 U+0E35 saraiithai +!D6 U+0E36 sarauethai +!D7 U+0E37 saraueethai +!D8 U+0E38 sarauthai +!D9 U+0E39 sarauuthai +!DA U+0E3A phinthuthai +!DF U+0E3F bahtthai +!E0 U+0E40 saraethai +!E1 U+0E41 saraaethai +!E2 U+0E42 saraothai +!E3 U+0E43 saraaimaimuanthai +!E4 U+0E44 saraaimaimalaithai +!E5 U+0E45 lakkhangyaothai +!E6 U+0E46 maiyamokthai +!E7 U+0E47 maitaikhuthai +!E8 U+0E48 maiekthai +!E9 U+0E49 maithothai +!EA U+0E4A maitrithai +!EB U+0E4B maichattawathai +!EC U+0E4C thanthakhatthai +!ED U+0E4D nikhahitthai +!EE U+0E4E yamakkanthai +!EF U+0E4F fongmanthai +!F0 U+0E50 zerothai +!F1 U+0E51 onethai +!F2 U+0E52 twothai +!F3 U+0E53 threethai +!F4 U+0E54 fourthai +!F5 U+0E55 fivethai +!F6 U+0E56 sixthai +!F7 U+0E57 seventhai +!F8 U+0E58 eightthai +!F9 U+0E59 ninethai +!FA U+0E5A angkhankhuthai +!FB U+0E5B khomutthai diff --git a/application/libraries/fpdf/font/makefont/iso-8859-1.map b/application/libraries/fpdf/font/makefont/iso-8859-1.map new file mode 100644 index 0000000..61740a3 --- /dev/null +++ b/application/libraries/fpdf/font/makefont/iso-8859-1.map @@ -0,0 +1,256 @@ +!00 U+0000 .notdef +!01 U+0001 .notdef +!02 U+0002 .notdef +!03 U+0003 .notdef +!04 U+0004 .notdef +!05 U+0005 .notdef +!06 U+0006 .notdef +!07 U+0007 .notdef +!08 U+0008 .notdef +!09 U+0009 .notdef +!0A U+000A .notdef +!0B U+000B .notdef +!0C U+000C .notdef +!0D U+000D .notdef +!0E U+000E .notdef +!0F U+000F .notdef +!10 U+0010 .notdef +!11 U+0011 .notdef +!12 U+0012 .notdef +!13 U+0013 .notdef +!14 U+0014 .notdef +!15 U+0015 .notdef +!16 U+0016 .notdef +!17 U+0017 .notdef +!18 U+0018 .notdef +!19 U+0019 .notdef +!1A U+001A .notdef +!1B U+001B .notdef +!1C U+001C .notdef +!1D U+001D .notdef +!1E U+001E .notdef +!1F U+001F .notdef +!20 U+0020 space +!21 U+0021 exclam +!22 U+0022 quotedbl +!23 U+0023 numbersign +!24 U+0024 dollar +!25 U+0025 percent +!26 U+0026 ampersand +!27 U+0027 quotesingle +!28 U+0028 parenleft +!29 U+0029 parenright +!2A U+002A asterisk +!2B U+002B plus +!2C U+002C comma +!2D U+002D hyphen +!2E U+002E period +!2F U+002F slash +!30 U+0030 zero +!31 U+0031 one +!32 U+0032 two +!33 U+0033 three +!34 U+0034 four +!35 U+0035 five +!36 U+0036 six +!37 U+0037 seven +!38 U+0038 eight +!39 U+0039 nine +!3A U+003A colon +!3B U+003B semicolon +!3C U+003C less +!3D U+003D equal +!3E U+003E greater +!3F U+003F question +!40 U+0040 at +!41 U+0041 A +!42 U+0042 B +!43 U+0043 C +!44 U+0044 D +!45 U+0045 E +!46 U+0046 F +!47 U+0047 G +!48 U+0048 H +!49 U+0049 I +!4A U+004A J +!4B U+004B K +!4C U+004C L +!4D U+004D M +!4E U+004E N +!4F U+004F O +!50 U+0050 P +!51 U+0051 Q +!52 U+0052 R +!53 U+0053 S +!54 U+0054 T +!55 U+0055 U +!56 U+0056 V +!57 U+0057 W +!58 U+0058 X +!59 U+0059 Y +!5A U+005A Z +!5B U+005B bracketleft +!5C U+005C backslash +!5D U+005D bracketright +!5E U+005E asciicircum +!5F U+005F underscore +!60 U+0060 grave +!61 U+0061 a +!62 U+0062 b +!63 U+0063 c +!64 U+0064 d +!65 U+0065 e +!66 U+0066 f +!67 U+0067 g +!68 U+0068 h +!69 U+0069 i +!6A U+006A j +!6B U+006B k +!6C U+006C l +!6D U+006D m +!6E U+006E n +!6F U+006F o +!70 U+0070 p +!71 U+0071 q +!72 U+0072 r +!73 U+0073 s +!74 U+0074 t +!75 U+0075 u +!76 U+0076 v +!77 U+0077 w +!78 U+0078 x +!79 U+0079 y +!7A U+007A z +!7B U+007B braceleft +!7C U+007C bar +!7D U+007D braceright +!7E U+007E asciitilde +!7F U+007F .notdef +!80 U+0080 .notdef +!81 U+0081 .notdef +!82 U+0082 .notdef +!83 U+0083 .notdef +!84 U+0084 .notdef +!85 U+0085 .notdef +!86 U+0086 .notdef +!87 U+0087 .notdef +!88 U+0088 .notdef +!89 U+0089 .notdef +!8A U+008A .notdef +!8B U+008B .notdef +!8C U+008C .notdef +!8D U+008D .notdef +!8E U+008E .notdef +!8F U+008F .notdef +!90 U+0090 .notdef +!91 U+0091 .notdef +!92 U+0092 .notdef +!93 U+0093 .notdef +!94 U+0094 .notdef +!95 U+0095 .notdef +!96 U+0096 .notdef +!97 U+0097 .notdef +!98 U+0098 .notdef +!99 U+0099 .notdef +!9A U+009A .notdef +!9B U+009B .notdef +!9C U+009C .notdef +!9D U+009D .notdef +!9E U+009E .notdef +!9F U+009F .notdef +!A0 U+00A0 space +!A1 U+00A1 exclamdown +!A2 U+00A2 cent +!A3 U+00A3 sterling +!A4 U+00A4 currency +!A5 U+00A5 yen +!A6 U+00A6 brokenbar +!A7 U+00A7 section +!A8 U+00A8 dieresis +!A9 U+00A9 copyright +!AA U+00AA ordfeminine +!AB U+00AB guillemotleft +!AC U+00AC logicalnot +!AD U+00AD hyphen +!AE U+00AE registered +!AF U+00AF macron +!B0 U+00B0 degree +!B1 U+00B1 plusminus +!B2 U+00B2 twosuperior +!B3 U+00B3 threesuperior +!B4 U+00B4 acute +!B5 U+00B5 mu +!B6 U+00B6 paragraph +!B7 U+00B7 periodcentered +!B8 U+00B8 cedilla +!B9 U+00B9 onesuperior +!BA U+00BA ordmasculine +!BB U+00BB guillemotright +!BC U+00BC onequarter +!BD U+00BD onehalf +!BE U+00BE threequarters +!BF U+00BF questiondown +!C0 U+00C0 Agrave +!C1 U+00C1 Aacute +!C2 U+00C2 Acircumflex +!C3 U+00C3 Atilde +!C4 U+00C4 Adieresis +!C5 U+00C5 Aring +!C6 U+00C6 AE +!C7 U+00C7 Ccedilla +!C8 U+00C8 Egrave +!C9 U+00C9 Eacute +!CA U+00CA Ecircumflex +!CB U+00CB Edieresis +!CC U+00CC Igrave +!CD U+00CD Iacute +!CE U+00CE Icircumflex +!CF U+00CF Idieresis +!D0 U+00D0 Eth +!D1 U+00D1 Ntilde +!D2 U+00D2 Ograve +!D3 U+00D3 Oacute +!D4 U+00D4 Ocircumflex +!D5 U+00D5 Otilde +!D6 U+00D6 Odieresis +!D7 U+00D7 multiply +!D8 U+00D8 Oslash +!D9 U+00D9 Ugrave +!DA U+00DA Uacute +!DB U+00DB Ucircumflex +!DC U+00DC Udieresis +!DD U+00DD Yacute +!DE U+00DE Thorn +!DF U+00DF germandbls +!E0 U+00E0 agrave +!E1 U+00E1 aacute +!E2 U+00E2 acircumflex +!E3 U+00E3 atilde +!E4 U+00E4 adieresis +!E5 U+00E5 aring +!E6 U+00E6 ae +!E7 U+00E7 ccedilla +!E8 U+00E8 egrave +!E9 U+00E9 eacute +!EA U+00EA ecircumflex +!EB U+00EB edieresis +!EC U+00EC igrave +!ED U+00ED iacute +!EE U+00EE icircumflex +!EF U+00EF idieresis +!F0 U+00F0 eth +!F1 U+00F1 ntilde +!F2 U+00F2 ograve +!F3 U+00F3 oacute +!F4 U+00F4 ocircumflex +!F5 U+00F5 otilde +!F6 U+00F6 odieresis +!F7 U+00F7 divide +!F8 U+00F8 oslash +!F9 U+00F9 ugrave +!FA U+00FA uacute +!FB U+00FB ucircumflex +!FC U+00FC udieresis +!FD U+00FD yacute +!FE U+00FE thorn +!FF U+00FF ydieresis diff --git a/application/libraries/fpdf/font/makefont/iso-8859-11.map b/application/libraries/fpdf/font/makefont/iso-8859-11.map new file mode 100644 index 0000000..9168812 --- /dev/null +++ b/application/libraries/fpdf/font/makefont/iso-8859-11.map @@ -0,0 +1,248 @@ +!00 U+0000 .notdef +!01 U+0001 .notdef +!02 U+0002 .notdef +!03 U+0003 .notdef +!04 U+0004 .notdef +!05 U+0005 .notdef +!06 U+0006 .notdef +!07 U+0007 .notdef +!08 U+0008 .notdef +!09 U+0009 .notdef +!0A U+000A .notdef +!0B U+000B .notdef +!0C U+000C .notdef +!0D U+000D .notdef +!0E U+000E .notdef +!0F U+000F .notdef +!10 U+0010 .notdef +!11 U+0011 .notdef +!12 U+0012 .notdef +!13 U+0013 .notdef +!14 U+0014 .notdef +!15 U+0015 .notdef +!16 U+0016 .notdef +!17 U+0017 .notdef +!18 U+0018 .notdef +!19 U+0019 .notdef +!1A U+001A .notdef +!1B U+001B .notdef +!1C U+001C .notdef +!1D U+001D .notdef +!1E U+001E .notdef +!1F U+001F .notdef +!20 U+0020 space +!21 U+0021 exclam +!22 U+0022 quotedbl +!23 U+0023 numbersign +!24 U+0024 dollar +!25 U+0025 percent +!26 U+0026 ampersand +!27 U+0027 quotesingle +!28 U+0028 parenleft +!29 U+0029 parenright +!2A U+002A asterisk +!2B U+002B plus +!2C U+002C comma +!2D U+002D hyphen +!2E U+002E period +!2F U+002F slash +!30 U+0030 zero +!31 U+0031 one +!32 U+0032 two +!33 U+0033 three +!34 U+0034 four +!35 U+0035 five +!36 U+0036 six +!37 U+0037 seven +!38 U+0038 eight +!39 U+0039 nine +!3A U+003A colon +!3B U+003B semicolon +!3C U+003C less +!3D U+003D equal +!3E U+003E greater +!3F U+003F question +!40 U+0040 at +!41 U+0041 A +!42 U+0042 B +!43 U+0043 C +!44 U+0044 D +!45 U+0045 E +!46 U+0046 F +!47 U+0047 G +!48 U+0048 H +!49 U+0049 I +!4A U+004A J +!4B U+004B K +!4C U+004C L +!4D U+004D M +!4E U+004E N +!4F U+004F O +!50 U+0050 P +!51 U+0051 Q +!52 U+0052 R +!53 U+0053 S +!54 U+0054 T +!55 U+0055 U +!56 U+0056 V +!57 U+0057 W +!58 U+0058 X +!59 U+0059 Y +!5A U+005A Z +!5B U+005B bracketleft +!5C U+005C backslash +!5D U+005D bracketright +!5E U+005E asciicircum +!5F U+005F underscore +!60 U+0060 grave +!61 U+0061 a +!62 U+0062 b +!63 U+0063 c +!64 U+0064 d +!65 U+0065 e +!66 U+0066 f +!67 U+0067 g +!68 U+0068 h +!69 U+0069 i +!6A U+006A j +!6B U+006B k +!6C U+006C l +!6D U+006D m +!6E U+006E n +!6F U+006F o +!70 U+0070 p +!71 U+0071 q +!72 U+0072 r +!73 U+0073 s +!74 U+0074 t +!75 U+0075 u +!76 U+0076 v +!77 U+0077 w +!78 U+0078 x +!79 U+0079 y +!7A U+007A z +!7B U+007B braceleft +!7C U+007C bar +!7D U+007D braceright +!7E U+007E asciitilde +!7F U+007F .notdef +!80 U+0080 .notdef +!81 U+0081 .notdef +!82 U+0082 .notdef +!83 U+0083 .notdef +!84 U+0084 .notdef +!85 U+0085 .notdef +!86 U+0086 .notdef +!87 U+0087 .notdef +!88 U+0088 .notdef +!89 U+0089 .notdef +!8A U+008A .notdef +!8B U+008B .notdef +!8C U+008C .notdef +!8D U+008D .notdef +!8E U+008E .notdef +!8F U+008F .notdef +!90 U+0090 .notdef +!91 U+0091 .notdef +!92 U+0092 .notdef +!93 U+0093 .notdef +!94 U+0094 .notdef +!95 U+0095 .notdef +!96 U+0096 .notdef +!97 U+0097 .notdef +!98 U+0098 .notdef +!99 U+0099 .notdef +!9A U+009A .notdef +!9B U+009B .notdef +!9C U+009C .notdef +!9D U+009D .notdef +!9E U+009E .notdef +!9F U+009F .notdef +!A0 U+00A0 space +!A1 U+0E01 kokaithai +!A2 U+0E02 khokhaithai +!A3 U+0E03 khokhuatthai +!A4 U+0E04 khokhwaithai +!A5 U+0E05 khokhonthai +!A6 U+0E06 khorakhangthai +!A7 U+0E07 ngonguthai +!A8 U+0E08 chochanthai +!A9 U+0E09 chochingthai +!AA U+0E0A chochangthai +!AB U+0E0B sosothai +!AC U+0E0C chochoethai +!AD U+0E0D yoyingthai +!AE U+0E0E dochadathai +!AF U+0E0F topatakthai +!B0 U+0E10 thothanthai +!B1 U+0E11 thonangmonthothai +!B2 U+0E12 thophuthaothai +!B3 U+0E13 nonenthai +!B4 U+0E14 dodekthai +!B5 U+0E15 totaothai +!B6 U+0E16 thothungthai +!B7 U+0E17 thothahanthai +!B8 U+0E18 thothongthai +!B9 U+0E19 nonuthai +!BA U+0E1A bobaimaithai +!BB U+0E1B poplathai +!BC U+0E1C phophungthai +!BD U+0E1D fofathai +!BE U+0E1E phophanthai +!BF U+0E1F fofanthai +!C0 U+0E20 phosamphaothai +!C1 U+0E21 momathai +!C2 U+0E22 yoyakthai +!C3 U+0E23 roruathai +!C4 U+0E24 ruthai +!C5 U+0E25 lolingthai +!C6 U+0E26 luthai +!C7 U+0E27 wowaenthai +!C8 U+0E28 sosalathai +!C9 U+0E29 sorusithai +!CA U+0E2A sosuathai +!CB U+0E2B hohipthai +!CC U+0E2C lochulathai +!CD U+0E2D oangthai +!CE U+0E2E honokhukthai +!CF U+0E2F paiyannoithai +!D0 U+0E30 saraathai +!D1 U+0E31 maihanakatthai +!D2 U+0E32 saraaathai +!D3 U+0E33 saraamthai +!D4 U+0E34 saraithai +!D5 U+0E35 saraiithai +!D6 U+0E36 sarauethai +!D7 U+0E37 saraueethai +!D8 U+0E38 sarauthai +!D9 U+0E39 sarauuthai +!DA U+0E3A phinthuthai +!DF U+0E3F bahtthai +!E0 U+0E40 saraethai +!E1 U+0E41 saraaethai +!E2 U+0E42 saraothai +!E3 U+0E43 saraaimaimuanthai +!E4 U+0E44 saraaimaimalaithai +!E5 U+0E45 lakkhangyaothai +!E6 U+0E46 maiyamokthai +!E7 U+0E47 maitaikhuthai +!E8 U+0E48 maiekthai +!E9 U+0E49 maithothai +!EA U+0E4A maitrithai +!EB U+0E4B maichattawathai +!EC U+0E4C thanthakhatthai +!ED U+0E4D nikhahitthai +!EE U+0E4E yamakkanthai +!EF U+0E4F fongmanthai +!F0 U+0E50 zerothai +!F1 U+0E51 onethai +!F2 U+0E52 twothai +!F3 U+0E53 threethai +!F4 U+0E54 fourthai +!F5 U+0E55 fivethai +!F6 U+0E56 sixthai +!F7 U+0E57 seventhai +!F8 U+0E58 eightthai +!F9 U+0E59 ninethai +!FA U+0E5A angkhankhuthai +!FB U+0E5B khomutthai diff --git a/application/libraries/fpdf/font/makefont/iso-8859-15.map b/application/libraries/fpdf/font/makefont/iso-8859-15.map new file mode 100644 index 0000000..6c2b571 --- /dev/null +++ b/application/libraries/fpdf/font/makefont/iso-8859-15.map @@ -0,0 +1,256 @@ +!00 U+0000 .notdef +!01 U+0001 .notdef +!02 U+0002 .notdef +!03 U+0003 .notdef +!04 U+0004 .notdef +!05 U+0005 .notdef +!06 U+0006 .notdef +!07 U+0007 .notdef +!08 U+0008 .notdef +!09 U+0009 .notdef +!0A U+000A .notdef +!0B U+000B .notdef +!0C U+000C .notdef +!0D U+000D .notdef +!0E U+000E .notdef +!0F U+000F .notdef +!10 U+0010 .notdef +!11 U+0011 .notdef +!12 U+0012 .notdef +!13 U+0013 .notdef +!14 U+0014 .notdef +!15 U+0015 .notdef +!16 U+0016 .notdef +!17 U+0017 .notdef +!18 U+0018 .notdef +!19 U+0019 .notdef +!1A U+001A .notdef +!1B U+001B .notdef +!1C U+001C .notdef +!1D U+001D .notdef +!1E U+001E .notdef +!1F U+001F .notdef +!20 U+0020 space +!21 U+0021 exclam +!22 U+0022 quotedbl +!23 U+0023 numbersign +!24 U+0024 dollar +!25 U+0025 percent +!26 U+0026 ampersand +!27 U+0027 quotesingle +!28 U+0028 parenleft +!29 U+0029 parenright +!2A U+002A asterisk +!2B U+002B plus +!2C U+002C comma +!2D U+002D hyphen +!2E U+002E period +!2F U+002F slash +!30 U+0030 zero +!31 U+0031 one +!32 U+0032 two +!33 U+0033 three +!34 U+0034 four +!35 U+0035 five +!36 U+0036 six +!37 U+0037 seven +!38 U+0038 eight +!39 U+0039 nine +!3A U+003A colon +!3B U+003B semicolon +!3C U+003C less +!3D U+003D equal +!3E U+003E greater +!3F U+003F question +!40 U+0040 at +!41 U+0041 A +!42 U+0042 B +!43 U+0043 C +!44 U+0044 D +!45 U+0045 E +!46 U+0046 F +!47 U+0047 G +!48 U+0048 H +!49 U+0049 I +!4A U+004A J +!4B U+004B K +!4C U+004C L +!4D U+004D M +!4E U+004E N +!4F U+004F O +!50 U+0050 P +!51 U+0051 Q +!52 U+0052 R +!53 U+0053 S +!54 U+0054 T +!55 U+0055 U +!56 U+0056 V +!57 U+0057 W +!58 U+0058 X +!59 U+0059 Y +!5A U+005A Z +!5B U+005B bracketleft +!5C U+005C backslash +!5D U+005D bracketright +!5E U+005E asciicircum +!5F U+005F underscore +!60 U+0060 grave +!61 U+0061 a +!62 U+0062 b +!63 U+0063 c +!64 U+0064 d +!65 U+0065 e +!66 U+0066 f +!67 U+0067 g +!68 U+0068 h +!69 U+0069 i +!6A U+006A j +!6B U+006B k +!6C U+006C l +!6D U+006D m +!6E U+006E n +!6F U+006F o +!70 U+0070 p +!71 U+0071 q +!72 U+0072 r +!73 U+0073 s +!74 U+0074 t +!75 U+0075 u +!76 U+0076 v +!77 U+0077 w +!78 U+0078 x +!79 U+0079 y +!7A U+007A z +!7B U+007B braceleft +!7C U+007C bar +!7D U+007D braceright +!7E U+007E asciitilde +!7F U+007F .notdef +!80 U+0080 .notdef +!81 U+0081 .notdef +!82 U+0082 .notdef +!83 U+0083 .notdef +!84 U+0084 .notdef +!85 U+0085 .notdef +!86 U+0086 .notdef +!87 U+0087 .notdef +!88 U+0088 .notdef +!89 U+0089 .notdef +!8A U+008A .notdef +!8B U+008B .notdef +!8C U+008C .notdef +!8D U+008D .notdef +!8E U+008E .notdef +!8F U+008F .notdef +!90 U+0090 .notdef +!91 U+0091 .notdef +!92 U+0092 .notdef +!93 U+0093 .notdef +!94 U+0094 .notdef +!95 U+0095 .notdef +!96 U+0096 .notdef +!97 U+0097 .notdef +!98 U+0098 .notdef +!99 U+0099 .notdef +!9A U+009A .notdef +!9B U+009B .notdef +!9C U+009C .notdef +!9D U+009D .notdef +!9E U+009E .notdef +!9F U+009F .notdef +!A0 U+00A0 space +!A1 U+00A1 exclamdown +!A2 U+00A2 cent +!A3 U+00A3 sterling +!A4 U+20AC Euro +!A5 U+00A5 yen +!A6 U+0160 Scaron +!A7 U+00A7 section +!A8 U+0161 scaron +!A9 U+00A9 copyright +!AA U+00AA ordfeminine +!AB U+00AB guillemotleft +!AC U+00AC logicalnot +!AD U+00AD hyphen +!AE U+00AE registered +!AF U+00AF macron +!B0 U+00B0 degree +!B1 U+00B1 plusminus +!B2 U+00B2 twosuperior +!B3 U+00B3 threesuperior +!B4 U+017D Zcaron +!B5 U+00B5 mu +!B6 U+00B6 paragraph +!B7 U+00B7 periodcentered +!B8 U+017E zcaron +!B9 U+00B9 onesuperior +!BA U+00BA ordmasculine +!BB U+00BB guillemotright +!BC U+0152 OE +!BD U+0153 oe +!BE U+0178 Ydieresis +!BF U+00BF questiondown +!C0 U+00C0 Agrave +!C1 U+00C1 Aacute +!C2 U+00C2 Acircumflex +!C3 U+00C3 Atilde +!C4 U+00C4 Adieresis +!C5 U+00C5 Aring +!C6 U+00C6 AE +!C7 U+00C7 Ccedilla +!C8 U+00C8 Egrave +!C9 U+00C9 Eacute +!CA U+00CA Ecircumflex +!CB U+00CB Edieresis +!CC U+00CC Igrave +!CD U+00CD Iacute +!CE U+00CE Icircumflex +!CF U+00CF Idieresis +!D0 U+00D0 Eth +!D1 U+00D1 Ntilde +!D2 U+00D2 Ograve +!D3 U+00D3 Oacute +!D4 U+00D4 Ocircumflex +!D5 U+00D5 Otilde +!D6 U+00D6 Odieresis +!D7 U+00D7 multiply +!D8 U+00D8 Oslash +!D9 U+00D9 Ugrave +!DA U+00DA Uacute +!DB U+00DB Ucircumflex +!DC U+00DC Udieresis +!DD U+00DD Yacute +!DE U+00DE Thorn +!DF U+00DF germandbls +!E0 U+00E0 agrave +!E1 U+00E1 aacute +!E2 U+00E2 acircumflex +!E3 U+00E3 atilde +!E4 U+00E4 adieresis +!E5 U+00E5 aring +!E6 U+00E6 ae +!E7 U+00E7 ccedilla +!E8 U+00E8 egrave +!E9 U+00E9 eacute +!EA U+00EA ecircumflex +!EB U+00EB edieresis +!EC U+00EC igrave +!ED U+00ED iacute +!EE U+00EE icircumflex +!EF U+00EF idieresis +!F0 U+00F0 eth +!F1 U+00F1 ntilde +!F2 U+00F2 ograve +!F3 U+00F3 oacute +!F4 U+00F4 ocircumflex +!F5 U+00F5 otilde +!F6 U+00F6 odieresis +!F7 U+00F7 divide +!F8 U+00F8 oslash +!F9 U+00F9 ugrave +!FA U+00FA uacute +!FB U+00FB ucircumflex +!FC U+00FC udieresis +!FD U+00FD yacute +!FE U+00FE thorn +!FF U+00FF ydieresis diff --git a/application/libraries/fpdf/font/makefont/iso-8859-16.map b/application/libraries/fpdf/font/makefont/iso-8859-16.map new file mode 100644 index 0000000..202c8fe --- /dev/null +++ b/application/libraries/fpdf/font/makefont/iso-8859-16.map @@ -0,0 +1,256 @@ +!00 U+0000 .notdef +!01 U+0001 .notdef +!02 U+0002 .notdef +!03 U+0003 .notdef +!04 U+0004 .notdef +!05 U+0005 .notdef +!06 U+0006 .notdef +!07 U+0007 .notdef +!08 U+0008 .notdef +!09 U+0009 .notdef +!0A U+000A .notdef +!0B U+000B .notdef +!0C U+000C .notdef +!0D U+000D .notdef +!0E U+000E .notdef +!0F U+000F .notdef +!10 U+0010 .notdef +!11 U+0011 .notdef +!12 U+0012 .notdef +!13 U+0013 .notdef +!14 U+0014 .notdef +!15 U+0015 .notdef +!16 U+0016 .notdef +!17 U+0017 .notdef +!18 U+0018 .notdef +!19 U+0019 .notdef +!1A U+001A .notdef +!1B U+001B .notdef +!1C U+001C .notdef +!1D U+001D .notdef +!1E U+001E .notdef +!1F U+001F .notdef +!20 U+0020 space +!21 U+0021 exclam +!22 U+0022 quotedbl +!23 U+0023 numbersign +!24 U+0024 dollar +!25 U+0025 percent +!26 U+0026 ampersand +!27 U+0027 quotesingle +!28 U+0028 parenleft +!29 U+0029 parenright +!2A U+002A asterisk +!2B U+002B plus +!2C U+002C comma +!2D U+002D hyphen +!2E U+002E period +!2F U+002F slash +!30 U+0030 zero +!31 U+0031 one +!32 U+0032 two +!33 U+0033 three +!34 U+0034 four +!35 U+0035 five +!36 U+0036 six +!37 U+0037 seven +!38 U+0038 eight +!39 U+0039 nine +!3A U+003A colon +!3B U+003B semicolon +!3C U+003C less +!3D U+003D equal +!3E U+003E greater +!3F U+003F question +!40 U+0040 at +!41 U+0041 A +!42 U+0042 B +!43 U+0043 C +!44 U+0044 D +!45 U+0045 E +!46 U+0046 F +!47 U+0047 G +!48 U+0048 H +!49 U+0049 I +!4A U+004A J +!4B U+004B K +!4C U+004C L +!4D U+004D M +!4E U+004E N +!4F U+004F O +!50 U+0050 P +!51 U+0051 Q +!52 U+0052 R +!53 U+0053 S +!54 U+0054 T +!55 U+0055 U +!56 U+0056 V +!57 U+0057 W +!58 U+0058 X +!59 U+0059 Y +!5A U+005A Z +!5B U+005B bracketleft +!5C U+005C backslash +!5D U+005D bracketright +!5E U+005E asciicircum +!5F U+005F underscore +!60 U+0060 grave +!61 U+0061 a +!62 U+0062 b +!63 U+0063 c +!64 U+0064 d +!65 U+0065 e +!66 U+0066 f +!67 U+0067 g +!68 U+0068 h +!69 U+0069 i +!6A U+006A j +!6B U+006B k +!6C U+006C l +!6D U+006D m +!6E U+006E n +!6F U+006F o +!70 U+0070 p +!71 U+0071 q +!72 U+0072 r +!73 U+0073 s +!74 U+0074 t +!75 U+0075 u +!76 U+0076 v +!77 U+0077 w +!78 U+0078 x +!79 U+0079 y +!7A U+007A z +!7B U+007B braceleft +!7C U+007C bar +!7D U+007D braceright +!7E U+007E asciitilde +!7F U+007F .notdef +!80 U+0080 .notdef +!81 U+0081 .notdef +!82 U+0082 .notdef +!83 U+0083 .notdef +!84 U+0084 .notdef +!85 U+0085 .notdef +!86 U+0086 .notdef +!87 U+0087 .notdef +!88 U+0088 .notdef +!89 U+0089 .notdef +!8A U+008A .notdef +!8B U+008B .notdef +!8C U+008C .notdef +!8D U+008D .notdef +!8E U+008E .notdef +!8F U+008F .notdef +!90 U+0090 .notdef +!91 U+0091 .notdef +!92 U+0092 .notdef +!93 U+0093 .notdef +!94 U+0094 .notdef +!95 U+0095 .notdef +!96 U+0096 .notdef +!97 U+0097 .notdef +!98 U+0098 .notdef +!99 U+0099 .notdef +!9A U+009A .notdef +!9B U+009B .notdef +!9C U+009C .notdef +!9D U+009D .notdef +!9E U+009E .notdef +!9F U+009F .notdef +!A0 U+00A0 space +!A1 U+0104 Aogonek +!A2 U+0105 aogonek +!A3 U+0141 Lslash +!A4 U+20AC Euro +!A5 U+201E quotedblbase +!A6 U+0160 Scaron +!A7 U+00A7 section +!A8 U+0161 scaron +!A9 U+00A9 copyright +!AA U+0218 Scommaaccent +!AB U+00AB guillemotleft +!AC U+0179 Zacute +!AD U+00AD hyphen +!AE U+017A zacute +!AF U+017B Zdotaccent +!B0 U+00B0 degree +!B1 U+00B1 plusminus +!B2 U+010C Ccaron +!B3 U+0142 lslash +!B4 U+017D Zcaron +!B5 U+201D quotedblright +!B6 U+00B6 paragraph +!B7 U+00B7 periodcentered +!B8 U+017E zcaron +!B9 U+010D ccaron +!BA U+0219 scommaaccent +!BB U+00BB guillemotright +!BC U+0152 OE +!BD U+0153 oe +!BE U+0178 Ydieresis +!BF U+017C zdotaccent +!C0 U+00C0 Agrave +!C1 U+00C1 Aacute +!C2 U+00C2 Acircumflex +!C3 U+0102 Abreve +!C4 U+00C4 Adieresis +!C5 U+0106 Cacute +!C6 U+00C6 AE +!C7 U+00C7 Ccedilla +!C8 U+00C8 Egrave +!C9 U+00C9 Eacute +!CA U+00CA Ecircumflex +!CB U+00CB Edieresis +!CC U+00CC Igrave +!CD U+00CD Iacute +!CE U+00CE Icircumflex +!CF U+00CF Idieresis +!D0 U+0110 Dcroat +!D1 U+0143 Nacute +!D2 U+00D2 Ograve +!D3 U+00D3 Oacute +!D4 U+00D4 Ocircumflex +!D5 U+0150 Ohungarumlaut +!D6 U+00D6 Odieresis +!D7 U+015A Sacute +!D8 U+0170 Uhungarumlaut +!D9 U+00D9 Ugrave +!DA U+00DA Uacute +!DB U+00DB Ucircumflex +!DC U+00DC Udieresis +!DD U+0118 Eogonek +!DE U+021A Tcommaaccent +!DF U+00DF germandbls +!E0 U+00E0 agrave +!E1 U+00E1 aacute +!E2 U+00E2 acircumflex +!E3 U+0103 abreve +!E4 U+00E4 adieresis +!E5 U+0107 cacute +!E6 U+00E6 ae +!E7 U+00E7 ccedilla +!E8 U+00E8 egrave +!E9 U+00E9 eacute +!EA U+00EA ecircumflex +!EB U+00EB edieresis +!EC U+00EC igrave +!ED U+00ED iacute +!EE U+00EE icircumflex +!EF U+00EF idieresis +!F0 U+0111 dcroat +!F1 U+0144 nacute +!F2 U+00F2 ograve +!F3 U+00F3 oacute +!F4 U+00F4 ocircumflex +!F5 U+0151 ohungarumlaut +!F6 U+00F6 odieresis +!F7 U+015B sacute +!F8 U+0171 uhungarumlaut +!F9 U+00F9 ugrave +!FA U+00FA uacute +!FB U+00FB ucircumflex +!FC U+00FC udieresis +!FD U+0119 eogonek +!FE U+021B tcommaaccent +!FF U+00FF ydieresis diff --git a/application/libraries/fpdf/font/makefont/iso-8859-2.map b/application/libraries/fpdf/font/makefont/iso-8859-2.map new file mode 100644 index 0000000..65ae09f --- /dev/null +++ b/application/libraries/fpdf/font/makefont/iso-8859-2.map @@ -0,0 +1,256 @@ +!00 U+0000 .notdef +!01 U+0001 .notdef +!02 U+0002 .notdef +!03 U+0003 .notdef +!04 U+0004 .notdef +!05 U+0005 .notdef +!06 U+0006 .notdef +!07 U+0007 .notdef +!08 U+0008 .notdef +!09 U+0009 .notdef +!0A U+000A .notdef +!0B U+000B .notdef +!0C U+000C .notdef +!0D U+000D .notdef +!0E U+000E .notdef +!0F U+000F .notdef +!10 U+0010 .notdef +!11 U+0011 .notdef +!12 U+0012 .notdef +!13 U+0013 .notdef +!14 U+0014 .notdef +!15 U+0015 .notdef +!16 U+0016 .notdef +!17 U+0017 .notdef +!18 U+0018 .notdef +!19 U+0019 .notdef +!1A U+001A .notdef +!1B U+001B .notdef +!1C U+001C .notdef +!1D U+001D .notdef +!1E U+001E .notdef +!1F U+001F .notdef +!20 U+0020 space +!21 U+0021 exclam +!22 U+0022 quotedbl +!23 U+0023 numbersign +!24 U+0024 dollar +!25 U+0025 percent +!26 U+0026 ampersand +!27 U+0027 quotesingle +!28 U+0028 parenleft +!29 U+0029 parenright +!2A U+002A asterisk +!2B U+002B plus +!2C U+002C comma +!2D U+002D hyphen +!2E U+002E period +!2F U+002F slash +!30 U+0030 zero +!31 U+0031 one +!32 U+0032 two +!33 U+0033 three +!34 U+0034 four +!35 U+0035 five +!36 U+0036 six +!37 U+0037 seven +!38 U+0038 eight +!39 U+0039 nine +!3A U+003A colon +!3B U+003B semicolon +!3C U+003C less +!3D U+003D equal +!3E U+003E greater +!3F U+003F question +!40 U+0040 at +!41 U+0041 A +!42 U+0042 B +!43 U+0043 C +!44 U+0044 D +!45 U+0045 E +!46 U+0046 F +!47 U+0047 G +!48 U+0048 H +!49 U+0049 I +!4A U+004A J +!4B U+004B K +!4C U+004C L +!4D U+004D M +!4E U+004E N +!4F U+004F O +!50 U+0050 P +!51 U+0051 Q +!52 U+0052 R +!53 U+0053 S +!54 U+0054 T +!55 U+0055 U +!56 U+0056 V +!57 U+0057 W +!58 U+0058 X +!59 U+0059 Y +!5A U+005A Z +!5B U+005B bracketleft +!5C U+005C backslash +!5D U+005D bracketright +!5E U+005E asciicircum +!5F U+005F underscore +!60 U+0060 grave +!61 U+0061 a +!62 U+0062 b +!63 U+0063 c +!64 U+0064 d +!65 U+0065 e +!66 U+0066 f +!67 U+0067 g +!68 U+0068 h +!69 U+0069 i +!6A U+006A j +!6B U+006B k +!6C U+006C l +!6D U+006D m +!6E U+006E n +!6F U+006F o +!70 U+0070 p +!71 U+0071 q +!72 U+0072 r +!73 U+0073 s +!74 U+0074 t +!75 U+0075 u +!76 U+0076 v +!77 U+0077 w +!78 U+0078 x +!79 U+0079 y +!7A U+007A z +!7B U+007B braceleft +!7C U+007C bar +!7D U+007D braceright +!7E U+007E asciitilde +!7F U+007F .notdef +!80 U+0080 .notdef +!81 U+0081 .notdef +!82 U+0082 .notdef +!83 U+0083 .notdef +!84 U+0084 .notdef +!85 U+0085 .notdef +!86 U+0086 .notdef +!87 U+0087 .notdef +!88 U+0088 .notdef +!89 U+0089 .notdef +!8A U+008A .notdef +!8B U+008B .notdef +!8C U+008C .notdef +!8D U+008D .notdef +!8E U+008E .notdef +!8F U+008F .notdef +!90 U+0090 .notdef +!91 U+0091 .notdef +!92 U+0092 .notdef +!93 U+0093 .notdef +!94 U+0094 .notdef +!95 U+0095 .notdef +!96 U+0096 .notdef +!97 U+0097 .notdef +!98 U+0098 .notdef +!99 U+0099 .notdef +!9A U+009A .notdef +!9B U+009B .notdef +!9C U+009C .notdef +!9D U+009D .notdef +!9E U+009E .notdef +!9F U+009F .notdef +!A0 U+00A0 space +!A1 U+0104 Aogonek +!A2 U+02D8 breve +!A3 U+0141 Lslash +!A4 U+00A4 currency +!A5 U+013D Lcaron +!A6 U+015A Sacute +!A7 U+00A7 section +!A8 U+00A8 dieresis +!A9 U+0160 Scaron +!AA U+015E Scedilla +!AB U+0164 Tcaron +!AC U+0179 Zacute +!AD U+00AD hyphen +!AE U+017D Zcaron +!AF U+017B Zdotaccent +!B0 U+00B0 degree +!B1 U+0105 aogonek +!B2 U+02DB ogonek +!B3 U+0142 lslash +!B4 U+00B4 acute +!B5 U+013E lcaron +!B6 U+015B sacute +!B7 U+02C7 caron +!B8 U+00B8 cedilla +!B9 U+0161 scaron +!BA U+015F scedilla +!BB U+0165 tcaron +!BC U+017A zacute +!BD U+02DD hungarumlaut +!BE U+017E zcaron +!BF U+017C zdotaccent +!C0 U+0154 Racute +!C1 U+00C1 Aacute +!C2 U+00C2 Acircumflex +!C3 U+0102 Abreve +!C4 U+00C4 Adieresis +!C5 U+0139 Lacute +!C6 U+0106 Cacute +!C7 U+00C7 Ccedilla +!C8 U+010C Ccaron +!C9 U+00C9 Eacute +!CA U+0118 Eogonek +!CB U+00CB Edieresis +!CC U+011A Ecaron +!CD U+00CD Iacute +!CE U+00CE Icircumflex +!CF U+010E Dcaron +!D0 U+0110 Dcroat +!D1 U+0143 Nacute +!D2 U+0147 Ncaron +!D3 U+00D3 Oacute +!D4 U+00D4 Ocircumflex +!D5 U+0150 Ohungarumlaut +!D6 U+00D6 Odieresis +!D7 U+00D7 multiply +!D8 U+0158 Rcaron +!D9 U+016E Uring +!DA U+00DA Uacute +!DB U+0170 Uhungarumlaut +!DC U+00DC Udieresis +!DD U+00DD Yacute +!DE U+0162 Tcommaaccent +!DF U+00DF germandbls +!E0 U+0155 racute +!E1 U+00E1 aacute +!E2 U+00E2 acircumflex +!E3 U+0103 abreve +!E4 U+00E4 adieresis +!E5 U+013A lacute +!E6 U+0107 cacute +!E7 U+00E7 ccedilla +!E8 U+010D ccaron +!E9 U+00E9 eacute +!EA U+0119 eogonek +!EB U+00EB edieresis +!EC U+011B ecaron +!ED U+00ED iacute +!EE U+00EE icircumflex +!EF U+010F dcaron +!F0 U+0111 dcroat +!F1 U+0144 nacute +!F2 U+0148 ncaron +!F3 U+00F3 oacute +!F4 U+00F4 ocircumflex +!F5 U+0151 ohungarumlaut +!F6 U+00F6 odieresis +!F7 U+00F7 divide +!F8 U+0159 rcaron +!F9 U+016F uring +!FA U+00FA uacute +!FB U+0171 uhungarumlaut +!FC U+00FC udieresis +!FD U+00FD yacute +!FE U+0163 tcommaaccent +!FF U+02D9 dotaccent diff --git a/application/libraries/fpdf/font/makefont/iso-8859-4.map b/application/libraries/fpdf/font/makefont/iso-8859-4.map new file mode 100644 index 0000000..a7d87bf --- /dev/null +++ b/application/libraries/fpdf/font/makefont/iso-8859-4.map @@ -0,0 +1,256 @@ +!00 U+0000 .notdef +!01 U+0001 .notdef +!02 U+0002 .notdef +!03 U+0003 .notdef +!04 U+0004 .notdef +!05 U+0005 .notdef +!06 U+0006 .notdef +!07 U+0007 .notdef +!08 U+0008 .notdef +!09 U+0009 .notdef +!0A U+000A .notdef +!0B U+000B .notdef +!0C U+000C .notdef +!0D U+000D .notdef +!0E U+000E .notdef +!0F U+000F .notdef +!10 U+0010 .notdef +!11 U+0011 .notdef +!12 U+0012 .notdef +!13 U+0013 .notdef +!14 U+0014 .notdef +!15 U+0015 .notdef +!16 U+0016 .notdef +!17 U+0017 .notdef +!18 U+0018 .notdef +!19 U+0019 .notdef +!1A U+001A .notdef +!1B U+001B .notdef +!1C U+001C .notdef +!1D U+001D .notdef +!1E U+001E .notdef +!1F U+001F .notdef +!20 U+0020 space +!21 U+0021 exclam +!22 U+0022 quotedbl +!23 U+0023 numbersign +!24 U+0024 dollar +!25 U+0025 percent +!26 U+0026 ampersand +!27 U+0027 quotesingle +!28 U+0028 parenleft +!29 U+0029 parenright +!2A U+002A asterisk +!2B U+002B plus +!2C U+002C comma +!2D U+002D hyphen +!2E U+002E period +!2F U+002F slash +!30 U+0030 zero +!31 U+0031 one +!32 U+0032 two +!33 U+0033 three +!34 U+0034 four +!35 U+0035 five +!36 U+0036 six +!37 U+0037 seven +!38 U+0038 eight +!39 U+0039 nine +!3A U+003A colon +!3B U+003B semicolon +!3C U+003C less +!3D U+003D equal +!3E U+003E greater +!3F U+003F question +!40 U+0040 at +!41 U+0041 A +!42 U+0042 B +!43 U+0043 C +!44 U+0044 D +!45 U+0045 E +!46 U+0046 F +!47 U+0047 G +!48 U+0048 H +!49 U+0049 I +!4A U+004A J +!4B U+004B K +!4C U+004C L +!4D U+004D M +!4E U+004E N +!4F U+004F O +!50 U+0050 P +!51 U+0051 Q +!52 U+0052 R +!53 U+0053 S +!54 U+0054 T +!55 U+0055 U +!56 U+0056 V +!57 U+0057 W +!58 U+0058 X +!59 U+0059 Y +!5A U+005A Z +!5B U+005B bracketleft +!5C U+005C backslash +!5D U+005D bracketright +!5E U+005E asciicircum +!5F U+005F underscore +!60 U+0060 grave +!61 U+0061 a +!62 U+0062 b +!63 U+0063 c +!64 U+0064 d +!65 U+0065 e +!66 U+0066 f +!67 U+0067 g +!68 U+0068 h +!69 U+0069 i +!6A U+006A j +!6B U+006B k +!6C U+006C l +!6D U+006D m +!6E U+006E n +!6F U+006F o +!70 U+0070 p +!71 U+0071 q +!72 U+0072 r +!73 U+0073 s +!74 U+0074 t +!75 U+0075 u +!76 U+0076 v +!77 U+0077 w +!78 U+0078 x +!79 U+0079 y +!7A U+007A z +!7B U+007B braceleft +!7C U+007C bar +!7D U+007D braceright +!7E U+007E asciitilde +!7F U+007F .notdef +!80 U+0080 .notdef +!81 U+0081 .notdef +!82 U+0082 .notdef +!83 U+0083 .notdef +!84 U+0084 .notdef +!85 U+0085 .notdef +!86 U+0086 .notdef +!87 U+0087 .notdef +!88 U+0088 .notdef +!89 U+0089 .notdef +!8A U+008A .notdef +!8B U+008B .notdef +!8C U+008C .notdef +!8D U+008D .notdef +!8E U+008E .notdef +!8F U+008F .notdef +!90 U+0090 .notdef +!91 U+0091 .notdef +!92 U+0092 .notdef +!93 U+0093 .notdef +!94 U+0094 .notdef +!95 U+0095 .notdef +!96 U+0096 .notdef +!97 U+0097 .notdef +!98 U+0098 .notdef +!99 U+0099 .notdef +!9A U+009A .notdef +!9B U+009B .notdef +!9C U+009C .notdef +!9D U+009D .notdef +!9E U+009E .notdef +!9F U+009F .notdef +!A0 U+00A0 space +!A1 U+0104 Aogonek +!A2 U+0138 kgreenlandic +!A3 U+0156 Rcommaaccent +!A4 U+00A4 currency +!A5 U+0128 Itilde +!A6 U+013B Lcommaaccent +!A7 U+00A7 section +!A8 U+00A8 dieresis +!A9 U+0160 Scaron +!AA U+0112 Emacron +!AB U+0122 Gcommaaccent +!AC U+0166 Tbar +!AD U+00AD hyphen +!AE U+017D Zcaron +!AF U+00AF macron +!B0 U+00B0 degree +!B1 U+0105 aogonek +!B2 U+02DB ogonek +!B3 U+0157 rcommaaccent +!B4 U+00B4 acute +!B5 U+0129 itilde +!B6 U+013C lcommaaccent +!B7 U+02C7 caron +!B8 U+00B8 cedilla +!B9 U+0161 scaron +!BA U+0113 emacron +!BB U+0123 gcommaaccent +!BC U+0167 tbar +!BD U+014A Eng +!BE U+017E zcaron +!BF U+014B eng +!C0 U+0100 Amacron +!C1 U+00C1 Aacute +!C2 U+00C2 Acircumflex +!C3 U+00C3 Atilde +!C4 U+00C4 Adieresis +!C5 U+00C5 Aring +!C6 U+00C6 AE +!C7 U+012E Iogonek +!C8 U+010C Ccaron +!C9 U+00C9 Eacute +!CA U+0118 Eogonek +!CB U+00CB Edieresis +!CC U+0116 Edotaccent +!CD U+00CD Iacute +!CE U+00CE Icircumflex +!CF U+012A Imacron +!D0 U+0110 Dcroat +!D1 U+0145 Ncommaaccent +!D2 U+014C Omacron +!D3 U+0136 Kcommaaccent +!D4 U+00D4 Ocircumflex +!D5 U+00D5 Otilde +!D6 U+00D6 Odieresis +!D7 U+00D7 multiply +!D8 U+00D8 Oslash +!D9 U+0172 Uogonek +!DA U+00DA Uacute +!DB U+00DB Ucircumflex +!DC U+00DC Udieresis +!DD U+0168 Utilde +!DE U+016A Umacron +!DF U+00DF germandbls +!E0 U+0101 amacron +!E1 U+00E1 aacute +!E2 U+00E2 acircumflex +!E3 U+00E3 atilde +!E4 U+00E4 adieresis +!E5 U+00E5 aring +!E6 U+00E6 ae +!E7 U+012F iogonek +!E8 U+010D ccaron +!E9 U+00E9 eacute +!EA U+0119 eogonek +!EB U+00EB edieresis +!EC U+0117 edotaccent +!ED U+00ED iacute +!EE U+00EE icircumflex +!EF U+012B imacron +!F0 U+0111 dcroat +!F1 U+0146 ncommaaccent +!F2 U+014D omacron +!F3 U+0137 kcommaaccent +!F4 U+00F4 ocircumflex +!F5 U+00F5 otilde +!F6 U+00F6 odieresis +!F7 U+00F7 divide +!F8 U+00F8 oslash +!F9 U+0173 uogonek +!FA U+00FA uacute +!FB U+00FB ucircumflex +!FC U+00FC udieresis +!FD U+0169 utilde +!FE U+016B umacron +!FF U+02D9 dotaccent diff --git a/application/libraries/fpdf/font/makefont/iso-8859-5.map b/application/libraries/fpdf/font/makefont/iso-8859-5.map new file mode 100644 index 0000000..f9cd4ed --- /dev/null +++ b/application/libraries/fpdf/font/makefont/iso-8859-5.map @@ -0,0 +1,256 @@ +!00 U+0000 .notdef +!01 U+0001 .notdef +!02 U+0002 .notdef +!03 U+0003 .notdef +!04 U+0004 .notdef +!05 U+0005 .notdef +!06 U+0006 .notdef +!07 U+0007 .notdef +!08 U+0008 .notdef +!09 U+0009 .notdef +!0A U+000A .notdef +!0B U+000B .notdef +!0C U+000C .notdef +!0D U+000D .notdef +!0E U+000E .notdef +!0F U+000F .notdef +!10 U+0010 .notdef +!11 U+0011 .notdef +!12 U+0012 .notdef +!13 U+0013 .notdef +!14 U+0014 .notdef +!15 U+0015 .notdef +!16 U+0016 .notdef +!17 U+0017 .notdef +!18 U+0018 .notdef +!19 U+0019 .notdef +!1A U+001A .notdef +!1B U+001B .notdef +!1C U+001C .notdef +!1D U+001D .notdef +!1E U+001E .notdef +!1F U+001F .notdef +!20 U+0020 space +!21 U+0021 exclam +!22 U+0022 quotedbl +!23 U+0023 numbersign +!24 U+0024 dollar +!25 U+0025 percent +!26 U+0026 ampersand +!27 U+0027 quotesingle +!28 U+0028 parenleft +!29 U+0029 parenright +!2A U+002A asterisk +!2B U+002B plus +!2C U+002C comma +!2D U+002D hyphen +!2E U+002E period +!2F U+002F slash +!30 U+0030 zero +!31 U+0031 one +!32 U+0032 two +!33 U+0033 three +!34 U+0034 four +!35 U+0035 five +!36 U+0036 six +!37 U+0037 seven +!38 U+0038 eight +!39 U+0039 nine +!3A U+003A colon +!3B U+003B semicolon +!3C U+003C less +!3D U+003D equal +!3E U+003E greater +!3F U+003F question +!40 U+0040 at +!41 U+0041 A +!42 U+0042 B +!43 U+0043 C +!44 U+0044 D +!45 U+0045 E +!46 U+0046 F +!47 U+0047 G +!48 U+0048 H +!49 U+0049 I +!4A U+004A J +!4B U+004B K +!4C U+004C L +!4D U+004D M +!4E U+004E N +!4F U+004F O +!50 U+0050 P +!51 U+0051 Q +!52 U+0052 R +!53 U+0053 S +!54 U+0054 T +!55 U+0055 U +!56 U+0056 V +!57 U+0057 W +!58 U+0058 X +!59 U+0059 Y +!5A U+005A Z +!5B U+005B bracketleft +!5C U+005C backslash +!5D U+005D bracketright +!5E U+005E asciicircum +!5F U+005F underscore +!60 U+0060 grave +!61 U+0061 a +!62 U+0062 b +!63 U+0063 c +!64 U+0064 d +!65 U+0065 e +!66 U+0066 f +!67 U+0067 g +!68 U+0068 h +!69 U+0069 i +!6A U+006A j +!6B U+006B k +!6C U+006C l +!6D U+006D m +!6E U+006E n +!6F U+006F o +!70 U+0070 p +!71 U+0071 q +!72 U+0072 r +!73 U+0073 s +!74 U+0074 t +!75 U+0075 u +!76 U+0076 v +!77 U+0077 w +!78 U+0078 x +!79 U+0079 y +!7A U+007A z +!7B U+007B braceleft +!7C U+007C bar +!7D U+007D braceright +!7E U+007E asciitilde +!7F U+007F .notdef +!80 U+0080 .notdef +!81 U+0081 .notdef +!82 U+0082 .notdef +!83 U+0083 .notdef +!84 U+0084 .notdef +!85 U+0085 .notdef +!86 U+0086 .notdef +!87 U+0087 .notdef +!88 U+0088 .notdef +!89 U+0089 .notdef +!8A U+008A .notdef +!8B U+008B .notdef +!8C U+008C .notdef +!8D U+008D .notdef +!8E U+008E .notdef +!8F U+008F .notdef +!90 U+0090 .notdef +!91 U+0091 .notdef +!92 U+0092 .notdef +!93 U+0093 .notdef +!94 U+0094 .notdef +!95 U+0095 .notdef +!96 U+0096 .notdef +!97 U+0097 .notdef +!98 U+0098 .notdef +!99 U+0099 .notdef +!9A U+009A .notdef +!9B U+009B .notdef +!9C U+009C .notdef +!9D U+009D .notdef +!9E U+009E .notdef +!9F U+009F .notdef +!A0 U+00A0 space +!A1 U+0401 afii10023 +!A2 U+0402 afii10051 +!A3 U+0403 afii10052 +!A4 U+0404 afii10053 +!A5 U+0405 afii10054 +!A6 U+0406 afii10055 +!A7 U+0407 afii10056 +!A8 U+0408 afii10057 +!A9 U+0409 afii10058 +!AA U+040A afii10059 +!AB U+040B afii10060 +!AC U+040C afii10061 +!AD U+00AD hyphen +!AE U+040E afii10062 +!AF U+040F afii10145 +!B0 U+0410 afii10017 +!B1 U+0411 afii10018 +!B2 U+0412 afii10019 +!B3 U+0413 afii10020 +!B4 U+0414 afii10021 +!B5 U+0415 afii10022 +!B6 U+0416 afii10024 +!B7 U+0417 afii10025 +!B8 U+0418 afii10026 +!B9 U+0419 afii10027 +!BA U+041A afii10028 +!BB U+041B afii10029 +!BC U+041C afii10030 +!BD U+041D afii10031 +!BE U+041E afii10032 +!BF U+041F afii10033 +!C0 U+0420 afii10034 +!C1 U+0421 afii10035 +!C2 U+0422 afii10036 +!C3 U+0423 afii10037 +!C4 U+0424 afii10038 +!C5 U+0425 afii10039 +!C6 U+0426 afii10040 +!C7 U+0427 afii10041 +!C8 U+0428 afii10042 +!C9 U+0429 afii10043 +!CA U+042A afii10044 +!CB U+042B afii10045 +!CC U+042C afii10046 +!CD U+042D afii10047 +!CE U+042E afii10048 +!CF U+042F afii10049 +!D0 U+0430 afii10065 +!D1 U+0431 afii10066 +!D2 U+0432 afii10067 +!D3 U+0433 afii10068 +!D4 U+0434 afii10069 +!D5 U+0435 afii10070 +!D6 U+0436 afii10072 +!D7 U+0437 afii10073 +!D8 U+0438 afii10074 +!D9 U+0439 afii10075 +!DA U+043A afii10076 +!DB U+043B afii10077 +!DC U+043C afii10078 +!DD U+043D afii10079 +!DE U+043E afii10080 +!DF U+043F afii10081 +!E0 U+0440 afii10082 +!E1 U+0441 afii10083 +!E2 U+0442 afii10084 +!E3 U+0443 afii10085 +!E4 U+0444 afii10086 +!E5 U+0445 afii10087 +!E6 U+0446 afii10088 +!E7 U+0447 afii10089 +!E8 U+0448 afii10090 +!E9 U+0449 afii10091 +!EA U+044A afii10092 +!EB U+044B afii10093 +!EC U+044C afii10094 +!ED U+044D afii10095 +!EE U+044E afii10096 +!EF U+044F afii10097 +!F0 U+2116 afii61352 +!F1 U+0451 afii10071 +!F2 U+0452 afii10099 +!F3 U+0453 afii10100 +!F4 U+0454 afii10101 +!F5 U+0455 afii10102 +!F6 U+0456 afii10103 +!F7 U+0457 afii10104 +!F8 U+0458 afii10105 +!F9 U+0459 afii10106 +!FA U+045A afii10107 +!FB U+045B afii10108 +!FC U+045C afii10109 +!FD U+00A7 section +!FE U+045E afii10110 +!FF U+045F afii10193 diff --git a/application/libraries/fpdf/font/makefont/iso-8859-7.map b/application/libraries/fpdf/font/makefont/iso-8859-7.map new file mode 100644 index 0000000..e163796 --- /dev/null +++ b/application/libraries/fpdf/font/makefont/iso-8859-7.map @@ -0,0 +1,250 @@ +!00 U+0000 .notdef +!01 U+0001 .notdef +!02 U+0002 .notdef +!03 U+0003 .notdef +!04 U+0004 .notdef +!05 U+0005 .notdef +!06 U+0006 .notdef +!07 U+0007 .notdef +!08 U+0008 .notdef +!09 U+0009 .notdef +!0A U+000A .notdef +!0B U+000B .notdef +!0C U+000C .notdef +!0D U+000D .notdef +!0E U+000E .notdef +!0F U+000F .notdef +!10 U+0010 .notdef +!11 U+0011 .notdef +!12 U+0012 .notdef +!13 U+0013 .notdef +!14 U+0014 .notdef +!15 U+0015 .notdef +!16 U+0016 .notdef +!17 U+0017 .notdef +!18 U+0018 .notdef +!19 U+0019 .notdef +!1A U+001A .notdef +!1B U+001B .notdef +!1C U+001C .notdef +!1D U+001D .notdef +!1E U+001E .notdef +!1F U+001F .notdef +!20 U+0020 space +!21 U+0021 exclam +!22 U+0022 quotedbl +!23 U+0023 numbersign +!24 U+0024 dollar +!25 U+0025 percent +!26 U+0026 ampersand +!27 U+0027 quotesingle +!28 U+0028 parenleft +!29 U+0029 parenright +!2A U+002A asterisk +!2B U+002B plus +!2C U+002C comma +!2D U+002D hyphen +!2E U+002E period +!2F U+002F slash +!30 U+0030 zero +!31 U+0031 one +!32 U+0032 two +!33 U+0033 three +!34 U+0034 four +!35 U+0035 five +!36 U+0036 six +!37 U+0037 seven +!38 U+0038 eight +!39 U+0039 nine +!3A U+003A colon +!3B U+003B semicolon +!3C U+003C less +!3D U+003D equal +!3E U+003E greater +!3F U+003F question +!40 U+0040 at +!41 U+0041 A +!42 U+0042 B +!43 U+0043 C +!44 U+0044 D +!45 U+0045 E +!46 U+0046 F +!47 U+0047 G +!48 U+0048 H +!49 U+0049 I +!4A U+004A J +!4B U+004B K +!4C U+004C L +!4D U+004D M +!4E U+004E N +!4F U+004F O +!50 U+0050 P +!51 U+0051 Q +!52 U+0052 R +!53 U+0053 S +!54 U+0054 T +!55 U+0055 U +!56 U+0056 V +!57 U+0057 W +!58 U+0058 X +!59 U+0059 Y +!5A U+005A Z +!5B U+005B bracketleft +!5C U+005C backslash +!5D U+005D bracketright +!5E U+005E asciicircum +!5F U+005F underscore +!60 U+0060 grave +!61 U+0061 a +!62 U+0062 b +!63 U+0063 c +!64 U+0064 d +!65 U+0065 e +!66 U+0066 f +!67 U+0067 g +!68 U+0068 h +!69 U+0069 i +!6A U+006A j +!6B U+006B k +!6C U+006C l +!6D U+006D m +!6E U+006E n +!6F U+006F o +!70 U+0070 p +!71 U+0071 q +!72 U+0072 r +!73 U+0073 s +!74 U+0074 t +!75 U+0075 u +!76 U+0076 v +!77 U+0077 w +!78 U+0078 x +!79 U+0079 y +!7A U+007A z +!7B U+007B braceleft +!7C U+007C bar +!7D U+007D braceright +!7E U+007E asciitilde +!7F U+007F .notdef +!80 U+0080 .notdef +!81 U+0081 .notdef +!82 U+0082 .notdef +!83 U+0083 .notdef +!84 U+0084 .notdef +!85 U+0085 .notdef +!86 U+0086 .notdef +!87 U+0087 .notdef +!88 U+0088 .notdef +!89 U+0089 .notdef +!8A U+008A .notdef +!8B U+008B .notdef +!8C U+008C .notdef +!8D U+008D .notdef +!8E U+008E .notdef +!8F U+008F .notdef +!90 U+0090 .notdef +!91 U+0091 .notdef +!92 U+0092 .notdef +!93 U+0093 .notdef +!94 U+0094 .notdef +!95 U+0095 .notdef +!96 U+0096 .notdef +!97 U+0097 .notdef +!98 U+0098 .notdef +!99 U+0099 .notdef +!9A U+009A .notdef +!9B U+009B .notdef +!9C U+009C .notdef +!9D U+009D .notdef +!9E U+009E .notdef +!9F U+009F .notdef +!A0 U+00A0 space +!A1 U+2018 quoteleft +!A2 U+2019 quoteright +!A3 U+00A3 sterling +!A6 U+00A6 brokenbar +!A7 U+00A7 section +!A8 U+00A8 dieresis +!A9 U+00A9 copyright +!AB U+00AB guillemotleft +!AC U+00AC logicalnot +!AD U+00AD hyphen +!AF U+2015 afii00208 +!B0 U+00B0 degree +!B1 U+00B1 plusminus +!B2 U+00B2 twosuperior +!B3 U+00B3 threesuperior +!B4 U+0384 tonos +!B5 U+0385 dieresistonos +!B6 U+0386 Alphatonos +!B7 U+00B7 periodcentered +!B8 U+0388 Epsilontonos +!B9 U+0389 Etatonos +!BA U+038A Iotatonos +!BB U+00BB guillemotright +!BC U+038C Omicrontonos +!BD U+00BD onehalf +!BE U+038E Upsilontonos +!BF U+038F Omegatonos +!C0 U+0390 iotadieresistonos +!C1 U+0391 Alpha +!C2 U+0392 Beta +!C3 U+0393 Gamma +!C4 U+0394 Delta +!C5 U+0395 Epsilon +!C6 U+0396 Zeta +!C7 U+0397 Eta +!C8 U+0398 Theta +!C9 U+0399 Iota +!CA U+039A Kappa +!CB U+039B Lambda +!CC U+039C Mu +!CD U+039D Nu +!CE U+039E Xi +!CF U+039F Omicron +!D0 U+03A0 Pi +!D1 U+03A1 Rho +!D3 U+03A3 Sigma +!D4 U+03A4 Tau +!D5 U+03A5 Upsilon +!D6 U+03A6 Phi +!D7 U+03A7 Chi +!D8 U+03A8 Psi +!D9 U+03A9 Omega +!DA U+03AA Iotadieresis +!DB U+03AB Upsilondieresis +!DC U+03AC alphatonos +!DD U+03AD epsilontonos +!DE U+03AE etatonos +!DF U+03AF iotatonos +!E0 U+03B0 upsilondieresistonos +!E1 U+03B1 alpha +!E2 U+03B2 beta +!E3 U+03B3 gamma +!E4 U+03B4 delta +!E5 U+03B5 epsilon +!E6 U+03B6 zeta +!E7 U+03B7 eta +!E8 U+03B8 theta +!E9 U+03B9 iota +!EA U+03BA kappa +!EB U+03BB lambda +!EC U+03BC mu +!ED U+03BD nu +!EE U+03BE xi +!EF U+03BF omicron +!F0 U+03C0 pi +!F1 U+03C1 rho +!F2 U+03C2 sigma1 +!F3 U+03C3 sigma +!F4 U+03C4 tau +!F5 U+03C5 upsilon +!F6 U+03C6 phi +!F7 U+03C7 chi +!F8 U+03C8 psi +!F9 U+03C9 omega +!FA U+03CA iotadieresis +!FB U+03CB upsilondieresis +!FC U+03CC omicrontonos +!FD U+03CD upsilontonos +!FE U+03CE omegatonos diff --git a/application/libraries/fpdf/font/makefont/iso-8859-9.map b/application/libraries/fpdf/font/makefont/iso-8859-9.map new file mode 100644 index 0000000..48c123a --- /dev/null +++ b/application/libraries/fpdf/font/makefont/iso-8859-9.map @@ -0,0 +1,256 @@ +!00 U+0000 .notdef +!01 U+0001 .notdef +!02 U+0002 .notdef +!03 U+0003 .notdef +!04 U+0004 .notdef +!05 U+0005 .notdef +!06 U+0006 .notdef +!07 U+0007 .notdef +!08 U+0008 .notdef +!09 U+0009 .notdef +!0A U+000A .notdef +!0B U+000B .notdef +!0C U+000C .notdef +!0D U+000D .notdef +!0E U+000E .notdef +!0F U+000F .notdef +!10 U+0010 .notdef +!11 U+0011 .notdef +!12 U+0012 .notdef +!13 U+0013 .notdef +!14 U+0014 .notdef +!15 U+0015 .notdef +!16 U+0016 .notdef +!17 U+0017 .notdef +!18 U+0018 .notdef +!19 U+0019 .notdef +!1A U+001A .notdef +!1B U+001B .notdef +!1C U+001C .notdef +!1D U+001D .notdef +!1E U+001E .notdef +!1F U+001F .notdef +!20 U+0020 space +!21 U+0021 exclam +!22 U+0022 quotedbl +!23 U+0023 numbersign +!24 U+0024 dollar +!25 U+0025 percent +!26 U+0026 ampersand +!27 U+0027 quotesingle +!28 U+0028 parenleft +!29 U+0029 parenright +!2A U+002A asterisk +!2B U+002B plus +!2C U+002C comma +!2D U+002D hyphen +!2E U+002E period +!2F U+002F slash +!30 U+0030 zero +!31 U+0031 one +!32 U+0032 two +!33 U+0033 three +!34 U+0034 four +!35 U+0035 five +!36 U+0036 six +!37 U+0037 seven +!38 U+0038 eight +!39 U+0039 nine +!3A U+003A colon +!3B U+003B semicolon +!3C U+003C less +!3D U+003D equal +!3E U+003E greater +!3F U+003F question +!40 U+0040 at +!41 U+0041 A +!42 U+0042 B +!43 U+0043 C +!44 U+0044 D +!45 U+0045 E +!46 U+0046 F +!47 U+0047 G +!48 U+0048 H +!49 U+0049 I +!4A U+004A J +!4B U+004B K +!4C U+004C L +!4D U+004D M +!4E U+004E N +!4F U+004F O +!50 U+0050 P +!51 U+0051 Q +!52 U+0052 R +!53 U+0053 S +!54 U+0054 T +!55 U+0055 U +!56 U+0056 V +!57 U+0057 W +!58 U+0058 X +!59 U+0059 Y +!5A U+005A Z +!5B U+005B bracketleft +!5C U+005C backslash +!5D U+005D bracketright +!5E U+005E asciicircum +!5F U+005F underscore +!60 U+0060 grave +!61 U+0061 a +!62 U+0062 b +!63 U+0063 c +!64 U+0064 d +!65 U+0065 e +!66 U+0066 f +!67 U+0067 g +!68 U+0068 h +!69 U+0069 i +!6A U+006A j +!6B U+006B k +!6C U+006C l +!6D U+006D m +!6E U+006E n +!6F U+006F o +!70 U+0070 p +!71 U+0071 q +!72 U+0072 r +!73 U+0073 s +!74 U+0074 t +!75 U+0075 u +!76 U+0076 v +!77 U+0077 w +!78 U+0078 x +!79 U+0079 y +!7A U+007A z +!7B U+007B braceleft +!7C U+007C bar +!7D U+007D braceright +!7E U+007E asciitilde +!7F U+007F .notdef +!80 U+0080 .notdef +!81 U+0081 .notdef +!82 U+0082 .notdef +!83 U+0083 .notdef +!84 U+0084 .notdef +!85 U+0085 .notdef +!86 U+0086 .notdef +!87 U+0087 .notdef +!88 U+0088 .notdef +!89 U+0089 .notdef +!8A U+008A .notdef +!8B U+008B .notdef +!8C U+008C .notdef +!8D U+008D .notdef +!8E U+008E .notdef +!8F U+008F .notdef +!90 U+0090 .notdef +!91 U+0091 .notdef +!92 U+0092 .notdef +!93 U+0093 .notdef +!94 U+0094 .notdef +!95 U+0095 .notdef +!96 U+0096 .notdef +!97 U+0097 .notdef +!98 U+0098 .notdef +!99 U+0099 .notdef +!9A U+009A .notdef +!9B U+009B .notdef +!9C U+009C .notdef +!9D U+009D .notdef +!9E U+009E .notdef +!9F U+009F .notdef +!A0 U+00A0 space +!A1 U+00A1 exclamdown +!A2 U+00A2 cent +!A3 U+00A3 sterling +!A4 U+00A4 currency +!A5 U+00A5 yen +!A6 U+00A6 brokenbar +!A7 U+00A7 section +!A8 U+00A8 dieresis +!A9 U+00A9 copyright +!AA U+00AA ordfeminine +!AB U+00AB guillemotleft +!AC U+00AC logicalnot +!AD U+00AD hyphen +!AE U+00AE registered +!AF U+00AF macron +!B0 U+00B0 degree +!B1 U+00B1 plusminus +!B2 U+00B2 twosuperior +!B3 U+00B3 threesuperior +!B4 U+00B4 acute +!B5 U+00B5 mu +!B6 U+00B6 paragraph +!B7 U+00B7 periodcentered +!B8 U+00B8 cedilla +!B9 U+00B9 onesuperior +!BA U+00BA ordmasculine +!BB U+00BB guillemotright +!BC U+00BC onequarter +!BD U+00BD onehalf +!BE U+00BE threequarters +!BF U+00BF questiondown +!C0 U+00C0 Agrave +!C1 U+00C1 Aacute +!C2 U+00C2 Acircumflex +!C3 U+00C3 Atilde +!C4 U+00C4 Adieresis +!C5 U+00C5 Aring +!C6 U+00C6 AE +!C7 U+00C7 Ccedilla +!C8 U+00C8 Egrave +!C9 U+00C9 Eacute +!CA U+00CA Ecircumflex +!CB U+00CB Edieresis +!CC U+00CC Igrave +!CD U+00CD Iacute +!CE U+00CE Icircumflex +!CF U+00CF Idieresis +!D0 U+011E Gbreve +!D1 U+00D1 Ntilde +!D2 U+00D2 Ograve +!D3 U+00D3 Oacute +!D4 U+00D4 Ocircumflex +!D5 U+00D5 Otilde +!D6 U+00D6 Odieresis +!D7 U+00D7 multiply +!D8 U+00D8 Oslash +!D9 U+00D9 Ugrave +!DA U+00DA Uacute +!DB U+00DB Ucircumflex +!DC U+00DC Udieresis +!DD U+0130 Idotaccent +!DE U+015E Scedilla +!DF U+00DF germandbls +!E0 U+00E0 agrave +!E1 U+00E1 aacute +!E2 U+00E2 acircumflex +!E3 U+00E3 atilde +!E4 U+00E4 adieresis +!E5 U+00E5 aring +!E6 U+00E6 ae +!E7 U+00E7 ccedilla +!E8 U+00E8 egrave +!E9 U+00E9 eacute +!EA U+00EA ecircumflex +!EB U+00EB edieresis +!EC U+00EC igrave +!ED U+00ED iacute +!EE U+00EE icircumflex +!EF U+00EF idieresis +!F0 U+011F gbreve +!F1 U+00F1 ntilde +!F2 U+00F2 ograve +!F3 U+00F3 oacute +!F4 U+00F4 ocircumflex +!F5 U+00F5 otilde +!F6 U+00F6 odieresis +!F7 U+00F7 divide +!F8 U+00F8 oslash +!F9 U+00F9 ugrave +!FA U+00FA uacute +!FB U+00FB ucircumflex +!FC U+00FC udieresis +!FD U+0131 dotlessi +!FE U+015F scedilla +!FF U+00FF ydieresis diff --git a/application/libraries/fpdf/font/makefont/koi8-r.map b/application/libraries/fpdf/font/makefont/koi8-r.map new file mode 100644 index 0000000..6ad5d05 --- /dev/null +++ b/application/libraries/fpdf/font/makefont/koi8-r.map @@ -0,0 +1,256 @@ +!00 U+0000 .notdef +!01 U+0001 .notdef +!02 U+0002 .notdef +!03 U+0003 .notdef +!04 U+0004 .notdef +!05 U+0005 .notdef +!06 U+0006 .notdef +!07 U+0007 .notdef +!08 U+0008 .notdef +!09 U+0009 .notdef +!0A U+000A .notdef +!0B U+000B .notdef +!0C U+000C .notdef +!0D U+000D .notdef +!0E U+000E .notdef +!0F U+000F .notdef +!10 U+0010 .notdef +!11 U+0011 .notdef +!12 U+0012 .notdef +!13 U+0013 .notdef +!14 U+0014 .notdef +!15 U+0015 .notdef +!16 U+0016 .notdef +!17 U+0017 .notdef +!18 U+0018 .notdef +!19 U+0019 .notdef +!1A U+001A .notdef +!1B U+001B .notdef +!1C U+001C .notdef +!1D U+001D .notdef +!1E U+001E .notdef +!1F U+001F .notdef +!20 U+0020 space +!21 U+0021 exclam +!22 U+0022 quotedbl +!23 U+0023 numbersign +!24 U+0024 dollar +!25 U+0025 percent +!26 U+0026 ampersand +!27 U+0027 quotesingle +!28 U+0028 parenleft +!29 U+0029 parenright +!2A U+002A asterisk +!2B U+002B plus +!2C U+002C comma +!2D U+002D hyphen +!2E U+002E period +!2F U+002F slash +!30 U+0030 zero +!31 U+0031 one +!32 U+0032 two +!33 U+0033 three +!34 U+0034 four +!35 U+0035 five +!36 U+0036 six +!37 U+0037 seven +!38 U+0038 eight +!39 U+0039 nine +!3A U+003A colon +!3B U+003B semicolon +!3C U+003C less +!3D U+003D equal +!3E U+003E greater +!3F U+003F question +!40 U+0040 at +!41 U+0041 A +!42 U+0042 B +!43 U+0043 C +!44 U+0044 D +!45 U+0045 E +!46 U+0046 F +!47 U+0047 G +!48 U+0048 H +!49 U+0049 I +!4A U+004A J +!4B U+004B K +!4C U+004C L +!4D U+004D M +!4E U+004E N +!4F U+004F O +!50 U+0050 P +!51 U+0051 Q +!52 U+0052 R +!53 U+0053 S +!54 U+0054 T +!55 U+0055 U +!56 U+0056 V +!57 U+0057 W +!58 U+0058 X +!59 U+0059 Y +!5A U+005A Z +!5B U+005B bracketleft +!5C U+005C backslash +!5D U+005D bracketright +!5E U+005E asciicircum +!5F U+005F underscore +!60 U+0060 grave +!61 U+0061 a +!62 U+0062 b +!63 U+0063 c +!64 U+0064 d +!65 U+0065 e +!66 U+0066 f +!67 U+0067 g +!68 U+0068 h +!69 U+0069 i +!6A U+006A j +!6B U+006B k +!6C U+006C l +!6D U+006D m +!6E U+006E n +!6F U+006F o +!70 U+0070 p +!71 U+0071 q +!72 U+0072 r +!73 U+0073 s +!74 U+0074 t +!75 U+0075 u +!76 U+0076 v +!77 U+0077 w +!78 U+0078 x +!79 U+0079 y +!7A U+007A z +!7B U+007B braceleft +!7C U+007C bar +!7D U+007D braceright +!7E U+007E asciitilde +!7F U+007F .notdef +!80 U+2500 SF100000 +!81 U+2502 SF110000 +!82 U+250C SF010000 +!83 U+2510 SF030000 +!84 U+2514 SF020000 +!85 U+2518 SF040000 +!86 U+251C SF080000 +!87 U+2524 SF090000 +!88 U+252C SF060000 +!89 U+2534 SF070000 +!8A U+253C SF050000 +!8B U+2580 upblock +!8C U+2584 dnblock +!8D U+2588 block +!8E U+258C lfblock +!8F U+2590 rtblock +!90 U+2591 ltshade +!91 U+2592 shade +!92 U+2593 dkshade +!93 U+2320 integraltp +!94 U+25A0 filledbox +!95 U+2219 periodcentered +!96 U+221A radical +!97 U+2248 approxequal +!98 U+2264 lessequal +!99 U+2265 greaterequal +!9A U+00A0 space +!9B U+2321 integralbt +!9C U+00B0 degree +!9D U+00B2 twosuperior +!9E U+00B7 periodcentered +!9F U+00F7 divide +!A0 U+2550 SF430000 +!A1 U+2551 SF240000 +!A2 U+2552 SF510000 +!A3 U+0451 afii10071 +!A4 U+2553 SF520000 +!A5 U+2554 SF390000 +!A6 U+2555 SF220000 +!A7 U+2556 SF210000 +!A8 U+2557 SF250000 +!A9 U+2558 SF500000 +!AA U+2559 SF490000 +!AB U+255A SF380000 +!AC U+255B SF280000 +!AD U+255C SF270000 +!AE U+255D SF260000 +!AF U+255E SF360000 +!B0 U+255F SF370000 +!B1 U+2560 SF420000 +!B2 U+2561 SF190000 +!B3 U+0401 afii10023 +!B4 U+2562 SF200000 +!B5 U+2563 SF230000 +!B6 U+2564 SF470000 +!B7 U+2565 SF480000 +!B8 U+2566 SF410000 +!B9 U+2567 SF450000 +!BA U+2568 SF460000 +!BB U+2569 SF400000 +!BC U+256A SF540000 +!BD U+256B SF530000 +!BE U+256C SF440000 +!BF U+00A9 copyright +!C0 U+044E afii10096 +!C1 U+0430 afii10065 +!C2 U+0431 afii10066 +!C3 U+0446 afii10088 +!C4 U+0434 afii10069 +!C5 U+0435 afii10070 +!C6 U+0444 afii10086 +!C7 U+0433 afii10068 +!C8 U+0445 afii10087 +!C9 U+0438 afii10074 +!CA U+0439 afii10075 +!CB U+043A afii10076 +!CC U+043B afii10077 +!CD U+043C afii10078 +!CE U+043D afii10079 +!CF U+043E afii10080 +!D0 U+043F afii10081 +!D1 U+044F afii10097 +!D2 U+0440 afii10082 +!D3 U+0441 afii10083 +!D4 U+0442 afii10084 +!D5 U+0443 afii10085 +!D6 U+0436 afii10072 +!D7 U+0432 afii10067 +!D8 U+044C afii10094 +!D9 U+044B afii10093 +!DA U+0437 afii10073 +!DB U+0448 afii10090 +!DC U+044D afii10095 +!DD U+0449 afii10091 +!DE U+0447 afii10089 +!DF U+044A afii10092 +!E0 U+042E afii10048 +!E1 U+0410 afii10017 +!E2 U+0411 afii10018 +!E3 U+0426 afii10040 +!E4 U+0414 afii10021 +!E5 U+0415 afii10022 +!E6 U+0424 afii10038 +!E7 U+0413 afii10020 +!E8 U+0425 afii10039 +!E9 U+0418 afii10026 +!EA U+0419 afii10027 +!EB U+041A afii10028 +!EC U+041B afii10029 +!ED U+041C afii10030 +!EE U+041D afii10031 +!EF U+041E afii10032 +!F0 U+041F afii10033 +!F1 U+042F afii10049 +!F2 U+0420 afii10034 +!F3 U+0421 afii10035 +!F4 U+0422 afii10036 +!F5 U+0423 afii10037 +!F6 U+0416 afii10024 +!F7 U+0412 afii10019 +!F8 U+042C afii10046 +!F9 U+042B afii10045 +!FA U+0417 afii10025 +!FB U+0428 afii10042 +!FC U+042D afii10047 +!FD U+0429 afii10043 +!FE U+0427 afii10041 +!FF U+042A afii10044 diff --git a/application/libraries/fpdf/font/makefont/koi8-u.map b/application/libraries/fpdf/font/makefont/koi8-u.map new file mode 100644 index 0000000..40a7e4f --- /dev/null +++ b/application/libraries/fpdf/font/makefont/koi8-u.map @@ -0,0 +1,256 @@ +!00 U+0000 .notdef +!01 U+0001 .notdef +!02 U+0002 .notdef +!03 U+0003 .notdef +!04 U+0004 .notdef +!05 U+0005 .notdef +!06 U+0006 .notdef +!07 U+0007 .notdef +!08 U+0008 .notdef +!09 U+0009 .notdef +!0A U+000A .notdef +!0B U+000B .notdef +!0C U+000C .notdef +!0D U+000D .notdef +!0E U+000E .notdef +!0F U+000F .notdef +!10 U+0010 .notdef +!11 U+0011 .notdef +!12 U+0012 .notdef +!13 U+0013 .notdef +!14 U+0014 .notdef +!15 U+0015 .notdef +!16 U+0016 .notdef +!17 U+0017 .notdef +!18 U+0018 .notdef +!19 U+0019 .notdef +!1A U+001A .notdef +!1B U+001B .notdef +!1C U+001C .notdef +!1D U+001D .notdef +!1E U+001E .notdef +!1F U+001F .notdef +!20 U+0020 space +!21 U+0021 exclam +!22 U+0022 quotedbl +!23 U+0023 numbersign +!24 U+0024 dollar +!25 U+0025 percent +!26 U+0026 ampersand +!27 U+0027 quotesingle +!28 U+0028 parenleft +!29 U+0029 parenright +!2A U+002A asterisk +!2B U+002B plus +!2C U+002C comma +!2D U+002D hyphen +!2E U+002E period +!2F U+002F slash +!30 U+0030 zero +!31 U+0031 one +!32 U+0032 two +!33 U+0033 three +!34 U+0034 four +!35 U+0035 five +!36 U+0036 six +!37 U+0037 seven +!38 U+0038 eight +!39 U+0039 nine +!3A U+003A colon +!3B U+003B semicolon +!3C U+003C less +!3D U+003D equal +!3E U+003E greater +!3F U+003F question +!40 U+0040 at +!41 U+0041 A +!42 U+0042 B +!43 U+0043 C +!44 U+0044 D +!45 U+0045 E +!46 U+0046 F +!47 U+0047 G +!48 U+0048 H +!49 U+0049 I +!4A U+004A J +!4B U+004B K +!4C U+004C L +!4D U+004D M +!4E U+004E N +!4F U+004F O +!50 U+0050 P +!51 U+0051 Q +!52 U+0052 R +!53 U+0053 S +!54 U+0054 T +!55 U+0055 U +!56 U+0056 V +!57 U+0057 W +!58 U+0058 X +!59 U+0059 Y +!5A U+005A Z +!5B U+005B bracketleft +!5C U+005C backslash +!5D U+005D bracketright +!5E U+005E asciicircum +!5F U+005F underscore +!60 U+0060 grave +!61 U+0061 a +!62 U+0062 b +!63 U+0063 c +!64 U+0064 d +!65 U+0065 e +!66 U+0066 f +!67 U+0067 g +!68 U+0068 h +!69 U+0069 i +!6A U+006A j +!6B U+006B k +!6C U+006C l +!6D U+006D m +!6E U+006E n +!6F U+006F o +!70 U+0070 p +!71 U+0071 q +!72 U+0072 r +!73 U+0073 s +!74 U+0074 t +!75 U+0075 u +!76 U+0076 v +!77 U+0077 w +!78 U+0078 x +!79 U+0079 y +!7A U+007A z +!7B U+007B braceleft +!7C U+007C bar +!7D U+007D braceright +!7E U+007E asciitilde +!7F U+007F .notdef +!80 U+2500 SF100000 +!81 U+2502 SF110000 +!82 U+250C SF010000 +!83 U+2510 SF030000 +!84 U+2514 SF020000 +!85 U+2518 SF040000 +!86 U+251C SF080000 +!87 U+2524 SF090000 +!88 U+252C SF060000 +!89 U+2534 SF070000 +!8A U+253C SF050000 +!8B U+2580 upblock +!8C U+2584 dnblock +!8D U+2588 block +!8E U+258C lfblock +!8F U+2590 rtblock +!90 U+2591 ltshade +!91 U+2592 shade +!92 U+2593 dkshade +!93 U+2320 integraltp +!94 U+25A0 filledbox +!95 U+2022 bullet +!96 U+221A radical +!97 U+2248 approxequal +!98 U+2264 lessequal +!99 U+2265 greaterequal +!9A U+00A0 space +!9B U+2321 integralbt +!9C U+00B0 degree +!9D U+00B2 twosuperior +!9E U+00B7 periodcentered +!9F U+00F7 divide +!A0 U+2550 SF430000 +!A1 U+2551 SF240000 +!A2 U+2552 SF510000 +!A3 U+0451 afii10071 +!A4 U+0454 afii10101 +!A5 U+2554 SF390000 +!A6 U+0456 afii10103 +!A7 U+0457 afii10104 +!A8 U+2557 SF250000 +!A9 U+2558 SF500000 +!AA U+2559 SF490000 +!AB U+255A SF380000 +!AC U+255B SF280000 +!AD U+0491 afii10098 +!AE U+255D SF260000 +!AF U+255E SF360000 +!B0 U+255F SF370000 +!B1 U+2560 SF420000 +!B2 U+2561 SF190000 +!B3 U+0401 afii10023 +!B4 U+0404 afii10053 +!B5 U+2563 SF230000 +!B6 U+0406 afii10055 +!B7 U+0407 afii10056 +!B8 U+2566 SF410000 +!B9 U+2567 SF450000 +!BA U+2568 SF460000 +!BB U+2569 SF400000 +!BC U+256A SF540000 +!BD U+0490 afii10050 +!BE U+256C SF440000 +!BF U+00A9 copyright +!C0 U+044E afii10096 +!C1 U+0430 afii10065 +!C2 U+0431 afii10066 +!C3 U+0446 afii10088 +!C4 U+0434 afii10069 +!C5 U+0435 afii10070 +!C6 U+0444 afii10086 +!C7 U+0433 afii10068 +!C8 U+0445 afii10087 +!C9 U+0438 afii10074 +!CA U+0439 afii10075 +!CB U+043A afii10076 +!CC U+043B afii10077 +!CD U+043C afii10078 +!CE U+043D afii10079 +!CF U+043E afii10080 +!D0 U+043F afii10081 +!D1 U+044F afii10097 +!D2 U+0440 afii10082 +!D3 U+0441 afii10083 +!D4 U+0442 afii10084 +!D5 U+0443 afii10085 +!D6 U+0436 afii10072 +!D7 U+0432 afii10067 +!D8 U+044C afii10094 +!D9 U+044B afii10093 +!DA U+0437 afii10073 +!DB U+0448 afii10090 +!DC U+044D afii10095 +!DD U+0449 afii10091 +!DE U+0447 afii10089 +!DF U+044A afii10092 +!E0 U+042E afii10048 +!E1 U+0410 afii10017 +!E2 U+0411 afii10018 +!E3 U+0426 afii10040 +!E4 U+0414 afii10021 +!E5 U+0415 afii10022 +!E6 U+0424 afii10038 +!E7 U+0413 afii10020 +!E8 U+0425 afii10039 +!E9 U+0418 afii10026 +!EA U+0419 afii10027 +!EB U+041A afii10028 +!EC U+041B afii10029 +!ED U+041C afii10030 +!EE U+041D afii10031 +!EF U+041E afii10032 +!F0 U+041F afii10033 +!F1 U+042F afii10049 +!F2 U+0420 afii10034 +!F3 U+0421 afii10035 +!F4 U+0422 afii10036 +!F5 U+0423 afii10037 +!F6 U+0416 afii10024 +!F7 U+0412 afii10019 +!F8 U+042C afii10046 +!F9 U+042B afii10045 +!FA U+0417 afii10025 +!FB U+0428 afii10042 +!FC U+042D afii10047 +!FD U+0429 afii10043 +!FE U+0427 afii10041 +!FF U+042A afii10044 diff --git a/application/libraries/fpdf/font/makefont/makefont.php b/application/libraries/fpdf/font/makefont/makefont.php new file mode 100644 index 0000000..7fe558f --- /dev/null +++ b/application/libraries/fpdf/font/makefont/makefont.php @@ -0,0 +1,419 @@ +Error: encoding not found: '.$enc); + $cc2gn=array(); + foreach($a as $l) + { + if($l[0]=='!') + { + $e=preg_split('/[ \\t]+/',rtrim($l)); + $cc=hexdec(substr($e[0],1)); + $gn=$e[2]; + $cc2gn[$cc]=$gn; + } + } + for($i=0;$i<=255;$i++) + { + if(!isset($cc2gn[$i])) + $cc2gn[$i]='.notdef'; + } + return $cc2gn; +} + +function ReadAFM($file, &$map) +{ + //Read a font metric file + $a=file($file); + if(empty($a)) + die('File not found'); + $widths=array(); + $fm=array(); + $fix=array('Edot'=>'Edotaccent','edot'=>'edotaccent','Idot'=>'Idotaccent','Zdot'=>'Zdotaccent','zdot'=>'zdotaccent', + 'Odblacute'=>'Ohungarumlaut','odblacute'=>'ohungarumlaut','Udblacute'=>'Uhungarumlaut','udblacute'=>'uhungarumlaut', + 'Gcedilla'=>'Gcommaaccent','gcedilla'=>'gcommaaccent','Kcedilla'=>'Kcommaaccent','kcedilla'=>'kcommaaccent', + 'Lcedilla'=>'Lcommaaccent','lcedilla'=>'lcommaaccent','Ncedilla'=>'Ncommaaccent','ncedilla'=>'ncommaaccent', + 'Rcedilla'=>'Rcommaaccent','rcedilla'=>'rcommaaccent','Scedilla'=>'Scommaaccent','scedilla'=>'scommaaccent', + 'Tcedilla'=>'Tcommaaccent','tcedilla'=>'tcommaaccent','Dslash'=>'Dcroat','dslash'=>'dcroat','Dmacron'=>'Dcroat','dmacron'=>'dcroat', + 'combininggraveaccent'=>'gravecomb','combininghookabove'=>'hookabovecomb','combiningtildeaccent'=>'tildecomb', + 'combiningacuteaccent'=>'acutecomb','combiningdotbelow'=>'dotbelowcomb','dongsign'=>'dong'); + foreach($a as $l) + { + $e=explode(' ',rtrim($l)); + if(count($e)<2) + continue; + $code=$e[0]; + $param=$e[1]; + if($code=='C') + { + //Character metrics + $cc=(int)$e[1]; + $w=$e[4]; + $gn=$e[7]; + if(substr($gn,-4)=='20AC') + $gn='Euro'; + if(isset($fix[$gn])) + { + //Fix incorrect glyph name + foreach($map as $c=>$n) + { + if($n==$fix[$gn]) + $map[$c]=$gn; + } + } + if(empty($map)) + { + //Symbolic font: use built-in encoding + $widths[$cc]=$w; + } + else + { + $widths[$gn]=$w; + if($gn=='X') + $fm['CapXHeight']=$e[13]; + } + if($gn=='.notdef') + $fm['MissingWidth']=$w; + } + elseif($code=='FontName') + $fm['FontName']=$param; + elseif($code=='Weight') + $fm['Weight']=$param; + elseif($code=='ItalicAngle') + $fm['ItalicAngle']=(double)$param; + elseif($code=='Ascender') + $fm['Ascender']=(int)$param; + elseif($code=='Descender') + $fm['Descender']=(int)$param; + elseif($code=='UnderlineThickness') + $fm['UnderlineThickness']=(int)$param; + elseif($code=='UnderlinePosition') + $fm['UnderlinePosition']=(int)$param; + elseif($code=='IsFixedPitch') + $fm['IsFixedPitch']=($param=='true'); + elseif($code=='FontBBox') + $fm['FontBBox']=array($e[1],$e[2],$e[3],$e[4]); + elseif($code=='CapHeight') + $fm['CapHeight']=(int)$param; + elseif($code=='StdVW') + $fm['StdVW']=(int)$param; + } + if(!isset($fm['FontName'])) + die('FontName not found'); + if(!empty($map)) + { + if(!isset($widths['.notdef'])) + $widths['.notdef']=600; + if(!isset($widths['Delta']) && isset($widths['increment'])) + $widths['Delta']=$widths['increment']; + //Order widths according to map + for($i=0;$i<=255;$i++) + { + if(!isset($widths[$map[$i]])) + { + echo 'Warning: character '.$map[$i].' is missing
    '; + $widths[$i]=$widths['.notdef']; + } + else + $widths[$i]=$widths[$map[$i]]; + } + } + $fm['Widths']=$widths; + return $fm; +} + +function MakeFontDescriptor($fm, $symbolic) +{ + //Ascent + $asc=(isset($fm['Ascender']) ? $fm['Ascender'] : 1000); + $fd="array('Ascent'=>".$asc; + //Descent + $desc=(isset($fm['Descender']) ? $fm['Descender'] : -200); + $fd.=",'Descent'=>".$desc; + //CapHeight + if(isset($fm['CapHeight'])) + $ch=$fm['CapHeight']; + elseif(isset($fm['CapXHeight'])) + $ch=$fm['CapXHeight']; + else + $ch=$asc; + $fd.=",'CapHeight'=>".$ch; + //Flags + $flags=0; + if(isset($fm['IsFixedPitch']) && $fm['IsFixedPitch']) + $flags+=1<<0; + if($symbolic) + $flags+=1<<2; + if(!$symbolic) + $flags+=1<<5; + if(isset($fm['ItalicAngle']) && $fm['ItalicAngle']!=0) + $flags+=1<<6; + $fd.=",'Flags'=>".$flags; + //FontBBox + if(isset($fm['FontBBox'])) + $fbb=$fm['FontBBox']; + else + $fbb=array(0,$desc-100,1000,$asc+100); + $fd.=",'FontBBox'=>'[".$fbb[0].' '.$fbb[1].' '.$fbb[2].' '.$fbb[3]."]'"; + //ItalicAngle + $ia=(isset($fm['ItalicAngle']) ? $fm['ItalicAngle'] : 0); + $fd.=",'ItalicAngle'=>".$ia; + //StemV + if(isset($fm['StdVW'])) + $stemv=$fm['StdVW']; + elseif(isset($fm['Weight']) && preg_match('/bold|black/i',$fm['Weight'])) + $stemv=120; + else + $stemv=70; + $fd.=",'StemV'=>".$stemv; + //MissingWidth + if(isset($fm['MissingWidth'])) + $fd.=",'MissingWidth'=>".$fm['MissingWidth']; + $fd.=')'; + return $fd; +} + +function MakeWidthArray($fm) +{ + //Make character width array + $s="array(\n\t"; + $cw=$fm['Widths']; + for($i=0;$i<=255;$i++) + { + if(chr($i)=="'") + $s.="'\\''"; + elseif(chr($i)=="\\") + $s.="'\\\\'"; + elseif($i>=32 && $i<=126) + $s.="'".chr($i)."'"; + else + $s.="chr($i)"; + $s.='=>'.$fm['Widths'][$i]; + if($i<255) + $s.=','; + if(($i+1)%22==0) + $s.="\n\t"; + } + $s.=')'; + return $s; +} + +function MakeFontEncoding($map) +{ + //Build differences from reference encoding + $ref=ReadMap('cp1252'); + $s=''; + $last=0; + for($i=32;$i<=255;$i++) + { + if($map[$i]!=$ref[$i]) + { + if($i!=$last+1) + $s.=$i.' '; + $last=$i; + $s.='/'.$map[$i].' '; + } + } + return rtrim($s); +} + +function SaveToFile($file, $s, $mode) +{ + $f=fopen($file,'w'.$mode); + if(!$f) + die('Can\'t write to file '.$file); + fwrite($f,$s,strlen($s)); + fclose($f); +} + +function ReadShort($f) +{ + $a=unpack('n1n',fread($f,2)); + return $a['n']; +} + +function ReadLong($f) +{ + $a=unpack('N1N',fread($f,4)); + return $a['N']; +} + +function CheckTTF($file) +{ + //Check if font license allows embedding + $f=fopen($file,'rb'); + if(!$f) + die('Error: Can\'t open '.$file); + //Extract number of tables + fseek($f,4,SEEK_CUR); + $nb=ReadShort($f); + fseek($f,6,SEEK_CUR); + //Seek OS/2 table + $found=false; + for($i=0;$i<$nb;$i++) + { + if(fread($f,4)=='OS/2') + { + $found=true; + break; + } + fseek($f,12,SEEK_CUR); + } + if(!$found) + { + fclose($f); + return; + } + fseek($f,4,SEEK_CUR); + $offset=ReadLong($f); + fseek($f,$offset,SEEK_SET); + //Extract fsType flags + fseek($f,8,SEEK_CUR); + $fsType=ReadShort($f); + $rl=($fsType & 0x02)!=0; + $pp=($fsType & 0x04)!=0; + $e=($fsType & 0x08)!=0; + fclose($f); + if($rl && !$pp && !$e) + echo 'Warning: font license does not allow embedding'; +} + +/******************************************************************************* +* fontfile: path to TTF file (or empty string if not to be embedded) * +* afmfile: path to AFM file * +* enc: font encoding (or empty string for symbolic fonts) * +* patch: optional patch for encoding * +* type: font type if fontfile is empty * +*******************************************************************************/ +function MakeFont($fontfile, $afmfile, $enc='cp1252', $patch=array(), $type='TrueType') +{ + //Generate a font definition file + if(get_magic_quotes_runtime()) + @set_magic_quotes_runtime(0); + ini_set('auto_detect_line_endings','1'); + if($enc) + { + $map=ReadMap($enc); + foreach($patch as $cc=>$gn) + $map[$cc]=$gn; + } + else + $map=array(); + if(!file_exists($afmfile)) + die('Error: AFM file not found: '.$afmfile); + $fm=ReadAFM($afmfile,$map); + if($enc) + $diff=MakeFontEncoding($map); + else + $diff=''; + $fd=MakeFontDescriptor($fm,empty($map)); + //Find font type + if($fontfile) + { + $ext=strtolower(substr($fontfile,-3)); + if($ext=='ttf') + $type='TrueType'; + elseif($ext=='pfb') + $type='Type1'; + else + die('Error: unrecognized font file extension: '.$ext); + } + else + { + if($type!='TrueType' && $type!='Type1') + die('Error: incorrect font type: '.$type); + } + //Start generation + $s='Error: font file not found: '.$fontfile); + if($type=='TrueType') + CheckTTF($fontfile); + $f=fopen($fontfile,'rb'); + if(!$f) + die('Error: Can\'t open '.$fontfile); + $file=fread($f,filesize($fontfile)); + fclose($f); + if($type=='Type1') + { + //Find first two sections and discard third one + $header=(ord($file[0])==128); + if($header) + { + //Strip first binary header + $file=substr($file,6); + } + $pos=strpos($file,'eexec'); + if(!$pos) + die('Error: font file does not seem to be valid Type1'); + $size1=$pos+6; + if($header && ord($file[$size1])==128) + { + //Strip second binary header + $file=substr($file,0,$size1).substr($file,$size1+6); + } + $pos=strpos($file,'00000000'); + if(!$pos) + die('Error: font file does not seem to be valid Type1'); + $size2=$pos-$size1; + $file=substr($file,0,$size1+$size2); + } + if(function_exists('gzcompress')) + { + $cmp=$basename.'.z'; + SaveToFile($cmp,gzcompress($file),'b'); + $s.='$file=\''.$cmp."';\n"; + echo 'Font file compressed ('.$cmp.')
    '; + } + else + { + $s.='$file=\''.basename($fontfile)."';\n"; + echo 'Notice: font file could not be compressed (zlib extension not available)
    '; + } + if($type=='Type1') + { + $s.='$size1='.$size1.";\n"; + $s.='$size2='.$size2.";\n"; + } + else + $s.='$originalsize='.filesize($fontfile).";\n"; + } + else + { + //Not embedded font + $s.='$file='."'';\n"; + } + $s.="?>\n"; + SaveToFile($basename.'.php',$s,'t'); + echo 'Font definition file generated ('.$basename.'.php'.')
    '; +} +?> diff --git a/application/libraries/fpdf/font/symbol.php b/application/libraries/fpdf/font/symbol.php new file mode 100644 index 0000000..a89f295 --- /dev/null +++ b/application/libraries/fpdf/font/symbol.php @@ -0,0 +1,19 @@ +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, + 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, + ','=>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, + '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, + '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, + '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, + 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, + 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, + 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, + 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, + 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, + 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); +?> diff --git a/application/libraries/fpdf/font/times.php b/application/libraries/fpdf/font/times.php new file mode 100644 index 0000000..57b9bce --- /dev/null +++ b/application/libraries/fpdf/font/times.php @@ -0,0 +1,19 @@ +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, + 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, + ','=>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, + '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, + '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, + '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, + 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, + 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, + 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, + 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, + 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, + 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); +?> diff --git a/application/libraries/fpdf/font/timesb.php b/application/libraries/fpdf/font/timesb.php new file mode 100644 index 0000000..6946b9e --- /dev/null +++ b/application/libraries/fpdf/font/timesb.php @@ -0,0 +1,19 @@ +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, + 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, + ','=>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, + '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, + '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, + '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, + 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, + 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, + 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, + 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, + 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, + 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); +?> diff --git a/application/libraries/fpdf/font/timesbi.php b/application/libraries/fpdf/font/timesbi.php new file mode 100644 index 0000000..cd5e5f1 --- /dev/null +++ b/application/libraries/fpdf/font/timesbi.php @@ -0,0 +1,19 @@ +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, + 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, + ','=>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, + '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, + '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, + '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, + 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, + 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, + 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, + 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, + 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, + 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); +?> diff --git a/application/libraries/fpdf/font/timesi.php b/application/libraries/fpdf/font/timesi.php new file mode 100644 index 0000000..d6da2a9 --- /dev/null +++ b/application/libraries/fpdf/font/timesi.php @@ -0,0 +1,19 @@ +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, + 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, + ','=>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, + '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, + '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, + '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, + 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, + 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, + 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, + 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, + 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, + 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); +?> diff --git a/application/libraries/fpdf/font/zapfdingbats.php b/application/libraries/fpdf/font/zapfdingbats.php new file mode 100644 index 0000000..8f7d490 --- /dev/null +++ b/application/libraries/fpdf/font/zapfdingbats.php @@ -0,0 +1,19 @@ +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, + 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, + ','=>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, + '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, + '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, + '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, + 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, + 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, + 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, + 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, + 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, + 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); +?> diff --git a/application/libraries/fpdf/fpdf.css b/application/libraries/fpdf/fpdf.css new file mode 100644 index 0000000..c4acb86 --- /dev/null +++ b/application/libraries/fpdf/fpdf.css @@ -0,0 +1,21 @@ +body {font-family:"Times New Roman",serif} +h1 {font:bold 135% Arial,sans-serif; color:#4000A0; margin-bottom:0.9em} +h2 {font:bold 100% Arial,sans-serif; color:#900000; margin-top:1.5em} +dl.param dt {text-decoration:underline} +dl.param dd {margin-top:1em; margin-bottom:1em} +dl.param ul {margin-top:1em; margin-bottom:1em} +tt, code, kbd {font-family:"Courier New",Courier,monospace; font-size:82%} +div.source {margin-top:1.4em; margin-bottom:1.3em} +div.source pre {display:table; border:1px solid #24246A; width:100%; margin:0em; font-family:inherit; font-size:100%} +div.source code {display:block; border:1px solid #C5C5EC; background-color:#F0F5FF; padding:6px; color:#000000} +div.doc-source {margin-top:1.4em; margin-bottom:1.3em} +div.doc-source pre {display:table; width:100%; margin:0em; font-family:inherit; font-size:100%} +div.doc-source code {display:block; background-color:#E0E0E0; padding:4px} +.kw {color:#000080; font-weight:bold} +.str {color:#CC0000} +.cmt {color:#008000} +p.demo {text-align:center; margin-top:-0.9em} +a.demo {text-decoration:none; font-weight:bold; color:#0000CC} +a.demo:link {text-decoration:none; font-weight:bold; color:#0000CC} +a.demo:hover {text-decoration:none; font-weight:bold; color:#0000FF} +a.demo:active {text-decoration:none; font-weight:bold; color:#0000FF} diff --git a/application/libraries/fpdf/fpdf.php b/application/libraries/fpdf/fpdf.php new file mode 100644 index 0000000..308406b --- /dev/null +++ b/application/libraries/fpdf/fpdf.php @@ -0,0 +1,1804 @@ +_dochecks(); + // Initialization of properties + $this->page = 0; + $this->n = 2; + $this->buffer = ''; + $this->pages = array(); + $this->PageSizes = array(); + $this->state = 0; + $this->fonts = array(); + $this->FontFiles = array(); + $this->diffs = array(); + $this->images = array(); + $this->links = array(); + $this->InHeader = false; + $this->InFooter = false; + $this->lasth = 0; + $this->FontFamily = ''; + $this->FontStyle = ''; + $this->FontSizePt = 12; + $this->underline = false; + $this->DrawColor = '0 G'; + $this->FillColor = '0 g'; + $this->TextColor = '0 g'; + $this->ColorFlag = false; + $this->ws = 0; + // Font path + if(defined('FPDF_FONTPATH')) + { + $this->fontpath = FPDF_FONTPATH; + if(substr($this->fontpath,-1)!='/' && substr($this->fontpath,-1)!='\\') + $this->fontpath .= '/'; + } + elseif(is_dir(dirname(__FILE__).'/font')) + $this->fontpath = dirname(__FILE__).'/font/'; + else + $this->fontpath = ''; + // Core fonts + $this->CoreFonts = array('courier', 'helvetica', 'times', 'symbol', 'zapfdingbats'); + // Scale factor + if($unit=='pt') + $this->k = 1; + elseif($unit=='mm') + $this->k = 72/25.4; + elseif($unit=='cm') + $this->k = 72/2.54; + elseif($unit=='in') + $this->k = 72; + else + $this->Error('Incorrect unit: '.$unit); + // Page sizes + $this->StdPageSizes = array('a3'=>array(841.89,1190.55), 'a4'=>array(595.28,841.89), 'a5'=>array(420.94,595.28), + 'letter'=>array(612,792), 'legal'=>array(612,1008)); + $size = $this->_getpagesize($size); + $this->DefPageSize = $size; + $this->CurPageSize = $size; + // Page orientation + $orientation = strtolower($orientation); + if($orientation=='p' || $orientation=='portrait') + { + $this->DefOrientation = 'P'; + $this->w = $size[0]; + $this->h = $size[1]; + } + elseif($orientation=='l' || $orientation=='landscape') + { + $this->DefOrientation = 'L'; + $this->w = $size[1]; + $this->h = $size[0]; + } + else + $this->Error('Incorrect orientation: '.$orientation); + $this->CurOrientation = $this->DefOrientation; + $this->wPt = $this->w*$this->k; + $this->hPt = $this->h*$this->k; + // Page margins (1 cm) + $margin = 28.35/$this->k; + $this->SetMargins($margin,$margin); + // Interior cell margin (1 mm) + $this->cMargin = $margin/10; + // Line width (0.2 mm) + $this->LineWidth = .567/$this->k; + // Automatic page break + $this->SetAutoPageBreak(true,2*$margin); + // Default display mode + $this->SetDisplayMode('default'); + // Enable compression + $this->SetCompression(true); + // Set default PDF version number + $this->PDFVersion = '1.3'; +} + +function SetMargins($left, $top, $right=null) +{ + // Set left, top and right margins + $this->lMargin = $left; + $this->tMargin = $top; + if($right===null) + $right = $left; + $this->rMargin = $right; +} + +function SetLeftMargin($margin) +{ + // Set left margin + $this->lMargin = $margin; + if($this->page>0 && $this->x<$margin) + $this->x = $margin; +} + +function SetTopMargin($margin) +{ + // Set top margin + $this->tMargin = $margin; +} + +function SetRightMargin($margin) +{ + // Set right margin + $this->rMargin = $margin; +} + +function SetAutoPageBreak($auto, $margin=0) +{ + // Set auto page break mode and triggering margin + $this->AutoPageBreak = $auto; + $this->bMargin = $margin; + $this->PageBreakTrigger = $this->h-$margin; +} + +function SetDisplayMode($zoom, $layout='default') +{ + // Set display mode in viewer + if($zoom=='fullpage' || $zoom=='fullwidth' || $zoom=='real' || $zoom=='default' || !is_string($zoom)) + $this->ZoomMode = $zoom; + else + $this->Error('Incorrect zoom display mode: '.$zoom); + if($layout=='single' || $layout=='continuous' || $layout=='two' || $layout=='default') + $this->LayoutMode = $layout; + else + $this->Error('Incorrect layout display mode: '.$layout); +} + +function SetCompression($compress) +{ + // Set page compression + if(function_exists('gzcompress')) + $this->compress = $compress; + else + $this->compress = false; +} + +function SetTitle($title, $isUTF8=false) +{ + // Title of document + if($isUTF8) + $title = $this->_UTF8toUTF16($title); + $this->title = $title; +} + +function SetSubject($subject, $isUTF8=false) +{ + // Subject of document + if($isUTF8) + $subject = $this->_UTF8toUTF16($subject); + $this->subject = $subject; +} + +function SetAuthor($author, $isUTF8=false) +{ + // Author of document + if($isUTF8) + $author = $this->_UTF8toUTF16($author); + $this->author = $author; +} + +function SetKeywords($keywords, $isUTF8=false) +{ + // Keywords of document + if($isUTF8) + $keywords = $this->_UTF8toUTF16($keywords); + $this->keywords = $keywords; +} + +function SetCreator($creator, $isUTF8=false) +{ + // Creator of document + if($isUTF8) + $creator = $this->_UTF8toUTF16($creator); + $this->creator = $creator; +} + +function AliasNbPages($alias='{nb}') +{ + // Define an alias for total number of pages + $this->AliasNbPages = $alias; +} + +function Error($msg) +{ + // Fatal error + die('FPDF error: '.$msg); +} + +function Open() +{ + // Begin document + $this->state = 1; +} + +function Close() +{ + // Terminate document + if($this->state==3) + return; + if($this->page==0) + $this->AddPage(); + // Page footer + $this->InFooter = true; + $this->Footer(); + $this->InFooter = false; + // Close page + $this->_endpage(); + // Close document + $this->_enddoc(); +} + +function AddPage($orientation='', $size='') +{ + // Start a new page + if($this->state==0) + $this->Open(); + $family = $this->FontFamily; + $style = $this->FontStyle.($this->underline ? 'U' : ''); + $fontsize = $this->FontSizePt; + $lw = $this->LineWidth; + $dc = $this->DrawColor; + $fc = $this->FillColor; + $tc = $this->TextColor; + $cf = $this->ColorFlag; + if($this->page>0) + { + // Page footer + $this->InFooter = true; + $this->Footer(); + $this->InFooter = false; + // Close page + $this->_endpage(); + } + // Start new page + $this->_beginpage($orientation,$size); + // Set line cap style to square + $this->_out('2 J'); + // Set line width + $this->LineWidth = $lw; + $this->_out(sprintf('%.2F w',$lw*$this->k)); + // Set font + if($family) + $this->SetFont($family,$style,$fontsize); + // Set colors + $this->DrawColor = $dc; + if($dc!='0 G') + $this->_out($dc); + $this->FillColor = $fc; + if($fc!='0 g') + $this->_out($fc); + $this->TextColor = $tc; + $this->ColorFlag = $cf; + // Page header + $this->InHeader = true; + $this->Header(); + $this->InHeader = false; + // Restore line width + if($this->LineWidth!=$lw) + { + $this->LineWidth = $lw; + $this->_out(sprintf('%.2F w',$lw*$this->k)); + } + // Restore font + if($family) + $this->SetFont($family,$style,$fontsize); + // Restore colors + if($this->DrawColor!=$dc) + { + $this->DrawColor = $dc; + $this->_out($dc); + } + if($this->FillColor!=$fc) + { + $this->FillColor = $fc; + $this->_out($fc); + } + $this->TextColor = $tc; + $this->ColorFlag = $cf; +} + +function Header() +{ + // To be implemented in your own inherited class +} + +function Footer() +{ + // To be implemented in your own inherited class +} + +function PageNo() +{ + // Get current page number + return $this->page; +} + +function SetDrawColor($r, $g=null, $b=null) +{ + // Set color for all stroking operations + if(($r==0 && $g==0 && $b==0) || $g===null) + $this->DrawColor = sprintf('%.3F G',$r/255); + else + $this->DrawColor = sprintf('%.3F %.3F %.3F RG',$r/255,$g/255,$b/255); + if($this->page>0) + $this->_out($this->DrawColor); +} + +function SetFillColor($r, $g=null, $b=null) +{ + // Set color for all filling operations + if(($r==0 && $g==0 && $b==0) || $g===null) + $this->FillColor = sprintf('%.3F g',$r/255); + else + $this->FillColor = sprintf('%.3F %.3F %.3F rg',$r/255,$g/255,$b/255); + $this->ColorFlag = ($this->FillColor!=$this->TextColor); + if($this->page>0) + $this->_out($this->FillColor); +} + +function SetTextColor($r, $g=null, $b=null) +{ + // Set color for text + if(($r==0 && $g==0 && $b==0) || $g===null) + $this->TextColor = sprintf('%.3F g',$r/255); + else + $this->TextColor = sprintf('%.3F %.3F %.3F rg',$r/255,$g/255,$b/255); + $this->ColorFlag = ($this->FillColor!=$this->TextColor); +} + +function GetStringWidth($s) +{ + // Get width of a string in the current font + $s = (string)$s; + $cw = &$this->CurrentFont['cw']; + $w = 0; + $l = strlen($s); + for($i=0;$i<$l;$i++) + $w += $cw[$s[$i]]; + return $w*$this->FontSize/1000; +} + +function SetLineWidth($width) +{ + // Set line width + $this->LineWidth = $width; + if($this->page>0) + $this->_out(sprintf('%.2F w',$width*$this->k)); +} + +function Line($x1, $y1, $x2, $y2) +{ + // Draw a line + $this->_out(sprintf('%.2F %.2F m %.2F %.2F l S',$x1*$this->k,($this->h-$y1)*$this->k,$x2*$this->k,($this->h-$y2)*$this->k)); +} + +function Rect($x, $y, $w, $h, $style='') +{ + // Draw a rectangle + if($style=='F') + $op = 'f'; + elseif($style=='FD' || $style=='DF') + $op = 'B'; + else + $op = 'S'; + $this->_out(sprintf('%.2F %.2F %.2F %.2F re %s',$x*$this->k,($this->h-$y)*$this->k,$w*$this->k,-$h*$this->k,$op)); +} + +function AddFont($family, $style='', $file='') +{ + // Add a TrueType, OpenType or Type1 font + $family = strtolower($family); + if($file=='') + $file = str_replace(' ','',$family).strtolower($style).'.php'; + $style = strtoupper($style); + if($style=='IB') + $style = 'BI'; + $fontkey = $family.$style; + if(isset($this->fonts[$fontkey])) + return; + $info = $this->_loadfont($file); + $info['i'] = count($this->fonts)+1; + if(!empty($info['diff'])) + { + // Search existing encodings + $n = array_search($info['diff'],$this->diffs); + if(!$n) + { + $n = count($this->diffs)+1; + $this->diffs[$n] = $info['diff']; + } + $info['diffn'] = $n; + } + if(!empty($info['file'])) + { + // Embedded font + if($info['type']=='TrueType') + $this->FontFiles[$info['file']] = array('length1'=>$info['originalsize']); + else + $this->FontFiles[$info['file']] = array('length1'=>$info['size1'], 'length2'=>$info['size2']); + } + $this->fonts[$fontkey] = $info; +} + +function SetFont($family, $style='', $size=0) +{ + // Select a font; size given in points + if($family=='') + $family = $this->FontFamily; + else + $family = strtolower($family); + $style = strtoupper($style); + if(strpos($style,'U')!==false) + { + $this->underline = true; + $style = str_replace('U','',$style); + } + else + $this->underline = false; + if($style=='IB') + $style = 'BI'; + if($size==0) + $size = $this->FontSizePt; + // Test if font is already selected + if($this->FontFamily==$family && $this->FontStyle==$style && $this->FontSizePt==$size) + return; + // Test if font is already loaded + $fontkey = $family.$style; + if(!isset($this->fonts[$fontkey])) + { + // Test if one of the core fonts + if($family=='arial') + $family = 'helvetica'; + if(in_array($family,$this->CoreFonts)) + { + if($family=='symbol' || $family=='zapfdingbats') + $style = ''; + $fontkey = $family.$style; + if(!isset($this->fonts[$fontkey])) + $this->AddFont($family,$style); + } + else + $this->Error('Undefined font: '.$family.' '.$style); + } + // Select it + $this->FontFamily = $family; + $this->FontStyle = $style; + $this->FontSizePt = $size; + $this->FontSize = $size/$this->k; + $this->CurrentFont = &$this->fonts[$fontkey]; + if($this->page>0) + $this->_out(sprintf('BT /F%d %.2F Tf ET',$this->CurrentFont['i'],$this->FontSizePt)); +} + +function SetFontSize($size) +{ + // Set font size in points + if($this->FontSizePt==$size) + return; + $this->FontSizePt = $size; + $this->FontSize = $size/$this->k; + if($this->page>0) + $this->_out(sprintf('BT /F%d %.2F Tf ET',$this->CurrentFont['i'],$this->FontSizePt)); +} + +function AddLink() +{ + // Create a new internal link + $n = count($this->links)+1; + $this->links[$n] = array(0, 0); + return $n; +} + +function SetLink($link, $y=0, $page=-1) +{ + // Set destination of internal link + if($y==-1) + $y = $this->y; + if($page==-1) + $page = $this->page; + $this->links[$link] = array($page, $y); +} + +function Link($x, $y, $w, $h, $link) +{ + // Put a link on the page + $this->PageLinks[$this->page][] = array($x*$this->k, $this->hPt-$y*$this->k, $w*$this->k, $h*$this->k, $link); +} + +function Text($x, $y, $txt) +{ + // Output a string + $s = sprintf('BT %.2F %.2F Td (%s) Tj ET',$x*$this->k,($this->h-$y)*$this->k,$this->_escape($txt)); + if($this->underline && $txt!='') + $s .= ' '.$this->_dounderline($x,$y,$txt); + if($this->ColorFlag) + $s = 'q '.$this->TextColor.' '.$s.' Q'; + $this->_out($s); +} + +function AcceptPageBreak() +{ + // Accept automatic page break or not + return $this->AutoPageBreak; +} + +function Cell($w, $h=0, $txt='', $border=0, $ln=0, $align='', $fill=false, $link='') +{ + // Output a cell + $k = $this->k; + if($this->y+$h>$this->PageBreakTrigger && !$this->InHeader && !$this->InFooter && $this->AcceptPageBreak()) + { + // Automatic page break + $x = $this->x; + $ws = $this->ws; + if($ws>0) + { + $this->ws = 0; + $this->_out('0 Tw'); + } + $this->AddPage($this->CurOrientation,$this->CurPageSize); + $this->x = $x; + if($ws>0) + { + $this->ws = $ws; + $this->_out(sprintf('%.3F Tw',$ws*$k)); + } + } + if($w==0) + $w = $this->w-$this->rMargin-$this->x; + $s = ''; + if($fill || $border==1) + { + if($fill) + $op = ($border==1) ? 'B' : 'f'; + else + $op = 'S'; + $s = sprintf('%.2F %.2F %.2F %.2F re %s ',$this->x*$k,($this->h-$this->y)*$k,$w*$k,-$h*$k,$op); + } + if(is_string($border)) + { + $x = $this->x; + $y = $this->y; + if(strpos($border,'L')!==false) + $s .= sprintf('%.2F %.2F m %.2F %.2F l S ',$x*$k,($this->h-$y)*$k,$x*$k,($this->h-($y+$h))*$k); + if(strpos($border,'T')!==false) + $s .= sprintf('%.2F %.2F m %.2F %.2F l S ',$x*$k,($this->h-$y)*$k,($x+$w)*$k,($this->h-$y)*$k); + if(strpos($border,'R')!==false) + $s .= sprintf('%.2F %.2F m %.2F %.2F l S ',($x+$w)*$k,($this->h-$y)*$k,($x+$w)*$k,($this->h-($y+$h))*$k); + if(strpos($border,'B')!==false) + $s .= sprintf('%.2F %.2F m %.2F %.2F l S ',$x*$k,($this->h-($y+$h))*$k,($x+$w)*$k,($this->h-($y+$h))*$k); + } + if($txt!=='') + { + if($align=='R') + $dx = $w-$this->cMargin-$this->GetStringWidth($txt); + elseif($align=='C') + $dx = ($w-$this->GetStringWidth($txt))/2; + else + $dx = $this->cMargin; + if($this->ColorFlag) + $s .= 'q '.$this->TextColor.' '; + $txt2 = str_replace(')','\\)',str_replace('(','\\(',str_replace('\\','\\\\',$txt))); + $s .= sprintf('BT %.2F %.2F Td (%s) Tj ET',($this->x+$dx)*$k,($this->h-($this->y+.5*$h+.3*$this->FontSize))*$k,$txt2); + if($this->underline) + $s .= ' '.$this->_dounderline($this->x+$dx,$this->y+.5*$h+.3*$this->FontSize,$txt); + if($this->ColorFlag) + $s .= ' Q'; + if($link) + $this->Link($this->x+$dx,$this->y+.5*$h-.5*$this->FontSize,$this->GetStringWidth($txt),$this->FontSize,$link); + } + if($s) + $this->_out($s); + $this->lasth = $h; + if($ln>0) + { + // Go to next line + $this->y += $h; + if($ln==1) + $this->x = $this->lMargin; + } + else + $this->x += $w; +} + +function MultiCell($w, $h, $txt, $border=0, $align='J', $fill=false) +{ + // Output text with automatic or explicit line breaks + $cw = &$this->CurrentFont['cw']; + if($w==0) + $w = $this->w-$this->rMargin-$this->x; + $wmax = ($w-2*$this->cMargin)*1000/$this->FontSize; + $s = str_replace("\r",'',$txt); + $nb = strlen($s); + if($nb>0 && $s[$nb-1]=="\n") + $nb--; + $b = 0; + if($border) + { + if($border==1) + { + $border = 'LTRB'; + $b = 'LRT'; + $b2 = 'LR'; + } + else + { + $b2 = ''; + if(strpos($border,'L')!==false) + $b2 .= 'L'; + if(strpos($border,'R')!==false) + $b2 .= 'R'; + $b = (strpos($border,'T')!==false) ? $b2.'T' : $b2; + } + } + $sep = -1; + $i = 0; + $j = 0; + $l = 0; + $ns = 0; + $nl = 1; + while($i<$nb) + { + // Get next character + $c = $s[$i]; + if($c=="\n") + { + // Explicit line break + if($this->ws>0) + { + $this->ws = 0; + $this->_out('0 Tw'); + } + $this->Cell($w,$h,substr($s,$j,$i-$j),$b,2,$align,$fill); + $i++; + $sep = -1; + $j = $i; + $l = 0; + $ns = 0; + $nl++; + if($border && $nl==2) + $b = $b2; + continue; + } + if($c==' ') + { + $sep = $i; + $ls = $l; + $ns++; + } + $l += $cw[$c]; + if($l>$wmax) + { + // Automatic line break + if($sep==-1) + { + if($i==$j) + $i++; + if($this->ws>0) + { + $this->ws = 0; + $this->_out('0 Tw'); + } + $this->Cell($w,$h,substr($s,$j,$i-$j),$b,2,$align,$fill); + } + else + { + if($align=='J') + { + $this->ws = ($ns>1) ? ($wmax-$ls)/1000*$this->FontSize/($ns-1) : 0; + $this->_out(sprintf('%.3F Tw',$this->ws*$this->k)); + } + $this->Cell($w,$h,substr($s,$j,$sep-$j),$b,2,$align,$fill); + $i = $sep+1; + } + $sep = -1; + $j = $i; + $l = 0; + $ns = 0; + $nl++; + if($border && $nl==2) + $b = $b2; + } + else + $i++; + } + // Last chunk + if($this->ws>0) + { + $this->ws = 0; + $this->_out('0 Tw'); + } + if($border && strpos($border,'B')!==false) + $b .= 'B'; + $this->Cell($w,$h,substr($s,$j,$i-$j),$b,2,$align,$fill); + $this->x = $this->lMargin; +} + +function Write($h, $txt, $link='') +{ + // Output text in flowing mode + $cw = &$this->CurrentFont['cw']; + $w = $this->w-$this->rMargin-$this->x; + $wmax = ($w-2*$this->cMargin)*1000/$this->FontSize; + $s = str_replace("\r",'',$txt); + $nb = strlen($s); + $sep = -1; + $i = 0; + $j = 0; + $l = 0; + $nl = 1; + while($i<$nb) + { + // Get next character + $c = $s[$i]; + if($c=="\n") + { + // Explicit line break + $this->Cell($w,$h,substr($s,$j,$i-$j),0,2,'',0,$link); + $i++; + $sep = -1; + $j = $i; + $l = 0; + if($nl==1) + { + $this->x = $this->lMargin; + $w = $this->w-$this->rMargin-$this->x; + $wmax = ($w-2*$this->cMargin)*1000/$this->FontSize; + } + $nl++; + continue; + } + if($c==' ') + $sep = $i; + $l += $cw[$c]; + if($l>$wmax) + { + // Automatic line break + if($sep==-1) + { + if($this->x>$this->lMargin) + { + // Move to next line + $this->x = $this->lMargin; + $this->y += $h; + $w = $this->w-$this->rMargin-$this->x; + $wmax = ($w-2*$this->cMargin)*1000/$this->FontSize; + $i++; + $nl++; + continue; + } + if($i==$j) + $i++; + $this->Cell($w,$h,substr($s,$j,$i-$j),0,2,'',0,$link); + } + else + { + $this->Cell($w,$h,substr($s,$j,$sep-$j),0,2,'',0,$link); + $i = $sep+1; + } + $sep = -1; + $j = $i; + $l = 0; + if($nl==1) + { + $this->x = $this->lMargin; + $w = $this->w-$this->rMargin-$this->x; + $wmax = ($w-2*$this->cMargin)*1000/$this->FontSize; + } + $nl++; + } + else + $i++; + } + // Last chunk + if($i!=$j) + $this->Cell($l/1000*$this->FontSize,$h,substr($s,$j),0,0,'',0,$link); +} + +function Ln($h=null) +{ + // Line feed; default value is last cell height + $this->x = $this->lMargin; + if($h===null) + $this->y += $this->lasth; + else + $this->y += $h; +} + +function Image($file, $x=null, $y=null, $w=0, $h=0, $type='', $link='') +{ + // Put an image on the page + if(!isset($this->images[$file])) + { + // First use of this image, get info + if($type=='') + { + $pos = strrpos($file,'.'); + if(!$pos) + $this->Error('Image file has no extension and no type was specified: '.$file); + $type = substr($file,$pos+1); + } + $type = strtolower($type); + if($type=='jpeg') + $type = 'jpg'; + $mtd = '_parse'.$type; + if(!method_exists($this,$mtd)) + $this->Error('Unsupported image type: '.$type); + $info = $this->$mtd($file); + $info['i'] = count($this->images)+1; + $this->images[$file] = $info; + } + else + $info = $this->images[$file]; + + // Automatic width and height calculation if needed + if($w==0 && $h==0) + { + // Put image at 96 dpi + $w = -96; + $h = -96; + } + if($w<0) + $w = -$info['w']*72/$w/$this->k; + if($h<0) + $h = -$info['h']*72/$h/$this->k; + if($w==0) + $w = $h*$info['w']/$info['h']; + if($h==0) + $h = $w*$info['h']/$info['w']; + + // Flowing mode + if($y===null) + { + if($this->y+$h>$this->PageBreakTrigger && !$this->InHeader && !$this->InFooter && $this->AcceptPageBreak()) + { + // Automatic page break + $x2 = $this->x; + $this->AddPage($this->CurOrientation,$this->CurPageSize); + $this->x = $x2; + } + $y = $this->y; + $this->y += $h; + } + + if($x===null) + $x = $this->x; + $this->_out(sprintf('q %.2F 0 0 %.2F %.2F %.2F cm /I%d Do Q',$w*$this->k,$h*$this->k,$x*$this->k,($this->h-($y+$h))*$this->k,$info['i'])); + if($link) + $this->Link($x,$y,$w,$h,$link); +} + +function GetX() +{ + // Get x position + return $this->x; +} + +function SetX($x) +{ + // Set x position + if($x>=0) + $this->x = $x; + else + $this->x = $this->w+$x; +} + +function GetY() +{ + // Get y position + return $this->y; +} + +function SetY($y) +{ + // Set y position and reset x + $this->x = $this->lMargin; + if($y>=0) + $this->y = $y; + else + $this->y = $this->h+$y; +} + +function SetXY($x, $y) +{ + // Set x and y positions + $this->SetY($y); + $this->SetX($x); +} + +function Output($name='', $dest='') +{ + // Output PDF to some destination + if($this->state<3) + $this->Close(); + $dest = strtoupper($dest); + if($dest=='') + { + if($name=='') + { + $name = 'doc.pdf'; + $dest = 'I'; + } + else + $dest = 'F'; + } + switch($dest) + { + case 'I': + // Send to standard output + $this->_checkoutput(); + if(PHP_SAPI!='cli') + { + // We send to a browser + header('Content-Type: application/pdf'); + header('Content-Disposition: inline; filename="'.$name.'"'); + header('Cache-Control: private, max-age=0, must-revalidate'); + header('Pragma: public'); + } + echo $this->buffer; + break; + case 'D': + // Download file + $this->_checkoutput(); + header('Content-Type: application/x-download'); + header('Content-Disposition: attachment; filename="'.$name.'"'); + header('Cache-Control: private, max-age=0, must-revalidate'); + header('Pragma: public'); + echo $this->buffer; + break; + case 'F': + // Save to local file + $f = fopen($name,'wb'); + if(!$f) + $this->Error('Unable to create output file: '.$name); + fwrite($f,$this->buffer,strlen($this->buffer)); + fclose($f); + break; + case 'S': + // Return as a string + return $this->buffer; + default: + $this->Error('Incorrect output destination: '.$dest); + } + return ''; +} + +/******************************************************************************* +* * +* Protected methods * +* * +*******************************************************************************/ +function _dochecks() +{ + // Check availability of %F + if(sprintf('%.1F',1.0)!='1.0') + $this->Error('This version of PHP is not supported'); + // Check mbstring overloading + if(ini_get('mbstring.func_overload') & 2) + $this->Error('mbstring overloading must be disabled'); + // Ensure runtime magic quotes are disabled + if(get_magic_quotes_runtime()) + @set_magic_quotes_runtime(0); +} + +function _checkoutput() +{ + if(PHP_SAPI!='cli') + { + if(headers_sent($file,$line)) + $this->Error("Some data has already been output, can't send PDF file (output started at $file:$line)"); + } + if(ob_get_length()) + { + // The output buffer is not empty + if(preg_match('/^(\xEF\xBB\xBF)?\s*$/',ob_get_contents())) + { + // It contains only a UTF-8 BOM and/or whitespace, let's clean it + ob_clean(); + } + else + $this->Error("Some data has already been output, can't send PDF file"); + } +} + +function _getpagesize($size) +{ + if(is_string($size)) + { + $size = strtolower($size); + if(!isset($this->StdPageSizes[$size])) + $this->Error('Unknown page size: '.$size); + $a = $this->StdPageSizes[$size]; + return array($a[0]/$this->k, $a[1]/$this->k); + } + else + { + if($size[0]>$size[1]) + return array($size[1], $size[0]); + else + return $size; + } +} + +function _beginpage($orientation, $size) +{ + $this->page++; + $this->pages[$this->page] = ''; + $this->state = 2; + $this->x = $this->lMargin; + $this->y = $this->tMargin; + $this->FontFamily = ''; + // Check page size and orientation + if($orientation=='') + $orientation = $this->DefOrientation; + else + $orientation = strtoupper($orientation[0]); + if($size=='') + $size = $this->DefPageSize; + else + $size = $this->_getpagesize($size); + if($orientation!=$this->CurOrientation || $size[0]!=$this->CurPageSize[0] || $size[1]!=$this->CurPageSize[1]) + { + // New size or orientation + if($orientation=='P') + { + $this->w = $size[0]; + $this->h = $size[1]; + } + else + { + $this->w = $size[1]; + $this->h = $size[0]; + } + $this->wPt = $this->w*$this->k; + $this->hPt = $this->h*$this->k; + $this->PageBreakTrigger = $this->h-$this->bMargin; + $this->CurOrientation = $orientation; + $this->CurPageSize = $size; + } + if($orientation!=$this->DefOrientation || $size[0]!=$this->DefPageSize[0] || $size[1]!=$this->DefPageSize[1]) + $this->PageSizes[$this->page] = array($this->wPt, $this->hPt); +} + +function _endpage() +{ + $this->state = 1; +} + +function _loadfont($font) +{ + // Load a font definition file from the font directory + include($this->fontpath.$font); + $a = get_defined_vars(); + if(!isset($a['name'])) + $this->Error('Could not include font definition file'); + return $a; +} + +function _escape($s) +{ + // Escape special characters in strings + $s = str_replace('\\','\\\\',$s); + $s = str_replace('(','\\(',$s); + $s = str_replace(')','\\)',$s); + $s = str_replace("\r",'\\r',$s); + return $s; +} + +function _textstring($s) +{ + // Format a text string + return '('.$this->_escape($s).')'; +} + +function _UTF8toUTF16($s) +{ + // Convert UTF-8 to UTF-16BE with BOM + $res = "\xFE\xFF"; + $nb = strlen($s); + $i = 0; + while($i<$nb) + { + $c1 = ord($s[$i++]); + if($c1>=224) + { + // 3-byte character + $c2 = ord($s[$i++]); + $c3 = ord($s[$i++]); + $res .= chr((($c1 & 0x0F)<<4) + (($c2 & 0x3C)>>2)); + $res .= chr((($c2 & 0x03)<<6) + ($c3 & 0x3F)); + } + elseif($c1>=192) + { + // 2-byte character + $c2 = ord($s[$i++]); + $res .= chr(($c1 & 0x1C)>>2); + $res .= chr((($c1 & 0x03)<<6) + ($c2 & 0x3F)); + } + else + { + // Single-byte character + $res .= "\0".chr($c1); + } + } + return $res; +} + +function _dounderline($x, $y, $txt) +{ + // Underline text + $up = $this->CurrentFont['up']; + $ut = $this->CurrentFont['ut']; + $w = $this->GetStringWidth($txt)+$this->ws*substr_count($txt,' '); + return sprintf('%.2F %.2F %.2F %.2F re f',$x*$this->k,($this->h-($y-$up/1000*$this->FontSize))*$this->k,$w*$this->k,-$ut/1000*$this->FontSizePt); +} + +function _parsejpg($file) +{ + // Extract info from a JPEG file + $a = getimagesize($file); + if(!$a) + $this->Error('Missing or incorrect image file: '.$file); + if($a[2]!=2) + $this->Error('Not a JPEG file: '.$file); + if(!isset($a['channels']) || $a['channels']==3) + $colspace = 'DeviceRGB'; + elseif($a['channels']==4) + $colspace = 'DeviceCMYK'; + else + $colspace = 'DeviceGray'; + $bpc = isset($a['bits']) ? $a['bits'] : 8; + $data = file_get_contents($file); + return array('w'=>$a[0], 'h'=>$a[1], 'cs'=>$colspace, 'bpc'=>$bpc, 'f'=>'DCTDecode', 'data'=>$data); +} + +function _parsepng($file) +{ + // Extract info from a PNG file + $f = fopen($file,'rb'); + if(!$f) + $this->Error('Can\'t open image file: '.$file); + $info = $this->_parsepngstream($f,$file); + fclose($f); + return $info; +} + +function _parsepngstream($f, $file) +{ + // Check signature + if($this->_readstream($f,8)!=chr(137).'PNG'.chr(13).chr(10).chr(26).chr(10)) + $this->Error('Not a PNG file: '.$file); + + // Read header chunk + $this->_readstream($f,4); + if($this->_readstream($f,4)!='IHDR') + $this->Error('Incorrect PNG file: '.$file); + $w = $this->_readint($f); + $h = $this->_readint($f); + $bpc = ord($this->_readstream($f,1)); + if($bpc>8) + $this->Error('16-bit depth not supported: '.$file); + $ct = ord($this->_readstream($f,1)); + if($ct==0 || $ct==4) + $colspace = 'DeviceGray'; + elseif($ct==2 || $ct==6) + $colspace = 'DeviceRGB'; + elseif($ct==3) + $colspace = 'Indexed'; + else + $this->Error('Unknown color type: '.$file); + if(ord($this->_readstream($f,1))!=0) + $this->Error('Unknown compression method: '.$file); + if(ord($this->_readstream($f,1))!=0) + $this->Error('Unknown filter method: '.$file); + if(ord($this->_readstream($f,1))!=0) + $this->Error('Interlacing not supported: '.$file); + $this->_readstream($f,4); + $dp = '/Predictor 15 /Colors '.($colspace=='DeviceRGB' ? 3 : 1).' /BitsPerComponent '.$bpc.' /Columns '.$w; + + // Scan chunks looking for palette, transparency and image data + $pal = ''; + $trns = ''; + $data = ''; + do + { + $n = $this->_readint($f); + $type = $this->_readstream($f,4); + if($type=='PLTE') + { + // Read palette + $pal = $this->_readstream($f,$n); + $this->_readstream($f,4); + } + elseif($type=='tRNS') + { + // Read transparency info + $t = $this->_readstream($f,$n); + if($ct==0) + $trns = array(ord(substr($t,1,1))); + elseif($ct==2) + $trns = array(ord(substr($t,1,1)), ord(substr($t,3,1)), ord(substr($t,5,1))); + else + { + $pos = strpos($t,chr(0)); + if($pos!==false) + $trns = array($pos); + } + $this->_readstream($f,4); + } + elseif($type=='IDAT') + { + // Read image data block + $data .= $this->_readstream($f,$n); + $this->_readstream($f,4); + } + elseif($type=='IEND') + break; + else + $this->_readstream($f,$n+4); + } + while($n); + + if($colspace=='Indexed' && empty($pal)) + $this->Error('Missing palette in '.$file); + $info = array('w'=>$w, 'h'=>$h, 'cs'=>$colspace, 'bpc'=>$bpc, 'f'=>'FlateDecode', 'dp'=>$dp, 'pal'=>$pal, 'trns'=>$trns); + if($ct>=4) + { + // Extract alpha channel + if(!function_exists('gzuncompress')) + $this->Error('Zlib not available, can\'t handle alpha channel: '.$file); + $data = gzuncompress($data); + $color = ''; + $alpha = ''; + if($ct==4) + { + // Gray image + $len = 2*$w; + for($i=0;$i<$h;$i++) + { + $pos = (1+$len)*$i; + $color .= $data[$pos]; + $alpha .= $data[$pos]; + $line = substr($data,$pos+1,$len); + $color .= preg_replace('/(.)./s','$1',$line); + $alpha .= preg_replace('/.(.)/s','$1',$line); + } + } + else + { + // RGB image + $len = 4*$w; + for($i=0;$i<$h;$i++) + { + $pos = (1+$len)*$i; + $color .= $data[$pos]; + $alpha .= $data[$pos]; + $line = substr($data,$pos+1,$len); + $color .= preg_replace('/(.{3})./s','$1',$line); + $alpha .= preg_replace('/.{3}(.)/s','$1',$line); + } + } + unset($data); + $data = gzcompress($color); + $info['smask'] = gzcompress($alpha); + if($this->PDFVersion<'1.4') + $this->PDFVersion = '1.4'; + } + $info['data'] = $data; + return $info; +} + +function _readstream($f, $n) +{ + // Read n bytes from stream + $res = ''; + while($n>0 && !feof($f)) + { + $s = fread($f,$n); + if($s===false) + $this->Error('Error while reading stream'); + $n -= strlen($s); + $res .= $s; + } + if($n>0) + $this->Error('Unexpected end of stream'); + return $res; +} + +function _readint($f) +{ + // Read a 4-byte integer from stream + $a = unpack('Ni',$this->_readstream($f,4)); + return $a['i']; +} + +function _parsegif($file) +{ + // Extract info from a GIF file (via PNG conversion) + if(!function_exists('imagepng')) + $this->Error('GD extension is required for GIF support'); + if(!function_exists('imagecreatefromgif')) + $this->Error('GD has no GIF read support'); + $im = imagecreatefromgif($file); + if(!$im) + $this->Error('Missing or incorrect image file: '.$file); + imageinterlace($im,0); + $f = @fopen('php://temp','rb+'); + if($f) + { + // Perform conversion in memory + ob_start(); + imagepng($im); + $data = ob_get_clean(); + imagedestroy($im); + fwrite($f,$data); + rewind($f); + $info = $this->_parsepngstream($f,$file); + fclose($f); + } + else + { + // Use temporary file + $tmp = tempnam('.','gif'); + if(!$tmp) + $this->Error('Unable to create a temporary file'); + if(!imagepng($im,$tmp)) + $this->Error('Error while saving to temporary file'); + imagedestroy($im); + $info = $this->_parsepng($tmp); + unlink($tmp); + } + return $info; +} + +function _newobj() +{ + // Begin a new object + $this->n++; + $this->offsets[$this->n] = strlen($this->buffer); + $this->_out($this->n.' 0 obj'); +} + +function _putstream($s) +{ + $this->_out('stream'); + $this->_out($s); + $this->_out('endstream'); +} + +function _out($s) +{ + // Add a line to the document + if($this->state==2) + $this->pages[$this->page] .= $s."\n"; + else + $this->buffer .= $s."\n"; +} + +function _putpages() +{ + $nb = $this->page; + if(!empty($this->AliasNbPages)) + { + // Replace number of pages + for($n=1;$n<=$nb;$n++) + $this->pages[$n] = str_replace($this->AliasNbPages,$nb,$this->pages[$n]); + } + if($this->DefOrientation=='P') + { + $wPt = $this->DefPageSize[0]*$this->k; + $hPt = $this->DefPageSize[1]*$this->k; + } + else + { + $wPt = $this->DefPageSize[1]*$this->k; + $hPt = $this->DefPageSize[0]*$this->k; + } + $filter = ($this->compress) ? '/Filter /FlateDecode ' : ''; + for($n=1;$n<=$nb;$n++) + { + // Page + $this->_newobj(); + $this->_out('<_out('/Parent 1 0 R'); + if(isset($this->PageSizes[$n])) + $this->_out(sprintf('/MediaBox [0 0 %.2F %.2F]',$this->PageSizes[$n][0],$this->PageSizes[$n][1])); + $this->_out('/Resources 2 0 R'); + if(isset($this->PageLinks[$n])) + { + // Links + $annots = '/Annots ['; + foreach($this->PageLinks[$n] as $pl) + { + $rect = sprintf('%.2F %.2F %.2F %.2F',$pl[0],$pl[1],$pl[0]+$pl[2],$pl[1]-$pl[3]); + $annots .= '<_textstring($pl[4]).'>>>>'; + else + { + $l = $this->links[$pl[4]]; + $h = isset($this->PageSizes[$l[0]]) ? $this->PageSizes[$l[0]][1] : $hPt; + $annots .= sprintf('/Dest [%d 0 R /XYZ 0 %.2F null]>>',1+2*$l[0],$h-$l[1]*$this->k); + } + } + $this->_out($annots.']'); + } + if($this->PDFVersion>'1.3') + $this->_out('/Group <>'); + $this->_out('/Contents '.($this->n+1).' 0 R>>'); + $this->_out('endobj'); + // Page content + $p = ($this->compress) ? gzcompress($this->pages[$n]) : $this->pages[$n]; + $this->_newobj(); + $this->_out('<<'.$filter.'/Length '.strlen($p).'>>'); + $this->_putstream($p); + $this->_out('endobj'); + } + // Pages root + $this->offsets[1] = strlen($this->buffer); + $this->_out('1 0 obj'); + $this->_out('<_out($kids.']'); + $this->_out('/Count '.$nb); + $this->_out(sprintf('/MediaBox [0 0 %.2F %.2F]',$wPt,$hPt)); + $this->_out('>>'); + $this->_out('endobj'); +} + +function _putfonts() +{ + $nf = $this->n; + foreach($this->diffs as $diff) + { + // Encodings + $this->_newobj(); + $this->_out('<>'); + $this->_out('endobj'); + } + foreach($this->FontFiles as $file=>$info) + { + // Font file embedding + $this->_newobj(); + $this->FontFiles[$file]['n'] = $this->n; + $font = file_get_contents($this->fontpath.$file,true); + if(!$font) + $this->Error('Font file not found: '.$file); + $compressed = (substr($file,-2)=='.z'); + if(!$compressed && isset($info['length2'])) + $font = substr($font,6,$info['length1']).substr($font,6+$info['length1']+6,$info['length2']); + $this->_out('<_out('/Filter /FlateDecode'); + $this->_out('/Length1 '.$info['length1']); + if(isset($info['length2'])) + $this->_out('/Length2 '.$info['length2'].' /Length3 0'); + $this->_out('>>'); + $this->_putstream($font); + $this->_out('endobj'); + } + foreach($this->fonts as $k=>$font) + { + // Font objects + $this->fonts[$k]['n'] = $this->n+1; + $type = $font['type']; + $name = $font['name']; + if($type=='Core') + { + // Core font + $this->_newobj(); + $this->_out('<_out('/BaseFont /'.$name); + $this->_out('/Subtype /Type1'); + if($name!='Symbol' && $name!='ZapfDingbats') + $this->_out('/Encoding /WinAnsiEncoding'); + $this->_out('>>'); + $this->_out('endobj'); + } + elseif($type=='Type1' || $type=='TrueType') + { + // Additional Type1 or TrueType/OpenType font + $this->_newobj(); + $this->_out('<_out('/BaseFont /'.$name); + $this->_out('/Subtype /'.$type); + $this->_out('/FirstChar 32 /LastChar 255'); + $this->_out('/Widths '.($this->n+1).' 0 R'); + $this->_out('/FontDescriptor '.($this->n+2).' 0 R'); + if(isset($font['diffn'])) + $this->_out('/Encoding '.($nf+$font['diffn']).' 0 R'); + else + $this->_out('/Encoding /WinAnsiEncoding'); + $this->_out('>>'); + $this->_out('endobj'); + // Widths + $this->_newobj(); + $cw = &$font['cw']; + $s = '['; + for($i=32;$i<=255;$i++) + $s .= $cw[chr($i)].' '; + $this->_out($s.']'); + $this->_out('endobj'); + // Descriptor + $this->_newobj(); + $s = '<$v) + $s .= ' /'.$k.' '.$v; + if(!empty($font['file'])) + $s .= ' /FontFile'.($type=='Type1' ? '' : '2').' '.$this->FontFiles[$font['file']]['n'].' 0 R'; + $this->_out($s.'>>'); + $this->_out('endobj'); + } + else + { + // Allow for additional types + $mtd = '_put'.strtolower($type); + if(!method_exists($this,$mtd)) + $this->Error('Unsupported font type: '.$type); + $this->$mtd($font); + } + } +} + +function _putimages() +{ + foreach(array_keys($this->images) as $file) + { + $this->_putimage($this->images[$file]); + unset($this->images[$file]['data']); + unset($this->images[$file]['smask']); + } +} + +function _putimage(&$info) +{ + $this->_newobj(); + $info['n'] = $this->n; + $this->_out('<_out('/Subtype /Image'); + $this->_out('/Width '.$info['w']); + $this->_out('/Height '.$info['h']); + if($info['cs']=='Indexed') + $this->_out('/ColorSpace [/Indexed /DeviceRGB '.(strlen($info['pal'])/3-1).' '.($this->n+1).' 0 R]'); + else + { + $this->_out('/ColorSpace /'.$info['cs']); + if($info['cs']=='DeviceCMYK') + $this->_out('/Decode [1 0 1 0 1 0 1 0]'); + } + $this->_out('/BitsPerComponent '.$info['bpc']); + if(isset($info['f'])) + $this->_out('/Filter /'.$info['f']); + if(isset($info['dp'])) + $this->_out('/DecodeParms <<'.$info['dp'].'>>'); + if(isset($info['trns']) && is_array($info['trns'])) + { + $trns = ''; + for($i=0;$i_out('/Mask ['.$trns.']'); + } + if(isset($info['smask'])) + $this->_out('/SMask '.($this->n+1).' 0 R'); + $this->_out('/Length '.strlen($info['data']).'>>'); + $this->_putstream($info['data']); + $this->_out('endobj'); + // Soft mask + if(isset($info['smask'])) + { + $dp = '/Predictor 15 /Colors 1 /BitsPerComponent 8 /Columns '.$info['w']; + $smask = array('w'=>$info['w'], 'h'=>$info['h'], 'cs'=>'DeviceGray', 'bpc'=>8, 'f'=>$info['f'], 'dp'=>$dp, 'data'=>$info['smask']); + $this->_putimage($smask); + } + // Palette + if($info['cs']=='Indexed') + { + $filter = ($this->compress) ? '/Filter /FlateDecode ' : ''; + $pal = ($this->compress) ? gzcompress($info['pal']) : $info['pal']; + $this->_newobj(); + $this->_out('<<'.$filter.'/Length '.strlen($pal).'>>'); + $this->_putstream($pal); + $this->_out('endobj'); + } +} + +function _putxobjectdict() +{ + foreach($this->images as $image) + $this->_out('/I'.$image['i'].' '.$image['n'].' 0 R'); +} + +function _putresourcedict() +{ + $this->_out('/ProcSet [/PDF /Text /ImageB /ImageC /ImageI]'); + $this->_out('/Font <<'); + foreach($this->fonts as $font) + $this->_out('/F'.$font['i'].' '.$font['n'].' 0 R'); + $this->_out('>>'); + $this->_out('/XObject <<'); + $this->_putxobjectdict(); + $this->_out('>>'); +} + +function _putresources() +{ + $this->_putfonts(); + $this->_putimages(); + // Resource dictionary + $this->offsets[2] = strlen($this->buffer); + $this->_out('2 0 obj'); + $this->_out('<<'); + $this->_putresourcedict(); + $this->_out('>>'); + $this->_out('endobj'); +} + +function _putinfo() +{ + $this->_out('/Producer '.$this->_textstring('FPDF '.FPDF_VERSION)); + if(!empty($this->title)) + $this->_out('/Title '.$this->_textstring($this->title)); + if(!empty($this->subject)) + $this->_out('/Subject '.$this->_textstring($this->subject)); + if(!empty($this->author)) + $this->_out('/Author '.$this->_textstring($this->author)); + if(!empty($this->keywords)) + $this->_out('/Keywords '.$this->_textstring($this->keywords)); + if(!empty($this->creator)) + $this->_out('/Creator '.$this->_textstring($this->creator)); + $this->_out('/CreationDate '.$this->_textstring('D:'.@date('YmdHis'))); +} + +function _putcatalog() +{ + $this->_out('/Type /Catalog'); + $this->_out('/Pages 1 0 R'); + if($this->ZoomMode=='fullpage') + $this->_out('/OpenAction [3 0 R /Fit]'); + elseif($this->ZoomMode=='fullwidth') + $this->_out('/OpenAction [3 0 R /FitH null]'); + elseif($this->ZoomMode=='real') + $this->_out('/OpenAction [3 0 R /XYZ null null 1]'); + elseif(!is_string($this->ZoomMode)) + $this->_out('/OpenAction [3 0 R /XYZ null null '.sprintf('%.2F',$this->ZoomMode/100).']'); + if($this->LayoutMode=='single') + $this->_out('/PageLayout /SinglePage'); + elseif($this->LayoutMode=='continuous') + $this->_out('/PageLayout /OneColumn'); + elseif($this->LayoutMode=='two') + $this->_out('/PageLayout /TwoColumnLeft'); +} + +function _putheader() +{ + $this->_out('%PDF-'.$this->PDFVersion); +} + +function _puttrailer() +{ + $this->_out('/Size '.($this->n+1)); + $this->_out('/Root '.$this->n.' 0 R'); + $this->_out('/Info '.($this->n-1).' 0 R'); +} + +function _enddoc() +{ + $this->_putheader(); + $this->_putpages(); + $this->_putresources(); + // Info + $this->_newobj(); + $this->_out('<<'); + $this->_putinfo(); + $this->_out('>>'); + $this->_out('endobj'); + // Catalog + $this->_newobj(); + $this->_out('<<'); + $this->_putcatalog(); + $this->_out('>>'); + $this->_out('endobj'); + // Cross-ref + $o = strlen($this->buffer); + $this->_out('xref'); + $this->_out('0 '.($this->n+1)); + $this->_out('0000000000 65535 f '); + for($i=1;$i<=$this->n;$i++) + $this->_out(sprintf('%010d 00000 n ',$this->offsets[$i])); + // Trailer + $this->_out('trailer'); + $this->_out('<<'); + $this->_puttrailer(); + $this->_out('>>'); + $this->_out('startxref'); + $this->_out($o); + $this->_out('%%EOF'); + $this->state = 3; +} +// End of class +} + +// Handle special IE contype request +if(isset($_SERVER['HTTP_USER_AGENT']) && $_SERVER['HTTP_USER_AGENT']=='contype') +{ + header('Content-Type: application/pdf'); + exit; +} + +?> diff --git a/application/libraries/fpdf/makefont/cp1250.map b/application/libraries/fpdf/makefont/cp1250.map new file mode 100644 index 0000000..ec110af --- /dev/null +++ b/application/libraries/fpdf/makefont/cp1250.map @@ -0,0 +1,251 @@ +!00 U+0000 .notdef +!01 U+0001 .notdef +!02 U+0002 .notdef +!03 U+0003 .notdef +!04 U+0004 .notdef +!05 U+0005 .notdef +!06 U+0006 .notdef +!07 U+0007 .notdef +!08 U+0008 .notdef +!09 U+0009 .notdef +!0A U+000A .notdef +!0B U+000B .notdef +!0C U+000C .notdef +!0D U+000D .notdef +!0E U+000E .notdef +!0F U+000F .notdef +!10 U+0010 .notdef +!11 U+0011 .notdef +!12 U+0012 .notdef +!13 U+0013 .notdef +!14 U+0014 .notdef +!15 U+0015 .notdef +!16 U+0016 .notdef +!17 U+0017 .notdef +!18 U+0018 .notdef +!19 U+0019 .notdef +!1A U+001A .notdef +!1B U+001B .notdef +!1C U+001C .notdef +!1D U+001D .notdef +!1E U+001E .notdef +!1F U+001F .notdef +!20 U+0020 space +!21 U+0021 exclam +!22 U+0022 quotedbl +!23 U+0023 numbersign +!24 U+0024 dollar +!25 U+0025 percent +!26 U+0026 ampersand +!27 U+0027 quotesingle +!28 U+0028 parenleft +!29 U+0029 parenright +!2A U+002A asterisk +!2B U+002B plus +!2C U+002C comma +!2D U+002D hyphen +!2E U+002E period +!2F U+002F slash +!30 U+0030 zero +!31 U+0031 one +!32 U+0032 two +!33 U+0033 three +!34 U+0034 four +!35 U+0035 five +!36 U+0036 six +!37 U+0037 seven +!38 U+0038 eight +!39 U+0039 nine +!3A U+003A colon +!3B U+003B semicolon +!3C U+003C less +!3D U+003D equal +!3E U+003E greater +!3F U+003F question +!40 U+0040 at +!41 U+0041 A +!42 U+0042 B +!43 U+0043 C +!44 U+0044 D +!45 U+0045 E +!46 U+0046 F +!47 U+0047 G +!48 U+0048 H +!49 U+0049 I +!4A U+004A J +!4B U+004B K +!4C U+004C L +!4D U+004D M +!4E U+004E N +!4F U+004F O +!50 U+0050 P +!51 U+0051 Q +!52 U+0052 R +!53 U+0053 S +!54 U+0054 T +!55 U+0055 U +!56 U+0056 V +!57 U+0057 W +!58 U+0058 X +!59 U+0059 Y +!5A U+005A Z +!5B U+005B bracketleft +!5C U+005C backslash +!5D U+005D bracketright +!5E U+005E asciicircum +!5F U+005F underscore +!60 U+0060 grave +!61 U+0061 a +!62 U+0062 b +!63 U+0063 c +!64 U+0064 d +!65 U+0065 e +!66 U+0066 f +!67 U+0067 g +!68 U+0068 h +!69 U+0069 i +!6A U+006A j +!6B U+006B k +!6C U+006C l +!6D U+006D m +!6E U+006E n +!6F U+006F o +!70 U+0070 p +!71 U+0071 q +!72 U+0072 r +!73 U+0073 s +!74 U+0074 t +!75 U+0075 u +!76 U+0076 v +!77 U+0077 w +!78 U+0078 x +!79 U+0079 y +!7A U+007A z +!7B U+007B braceleft +!7C U+007C bar +!7D U+007D braceright +!7E U+007E asciitilde +!7F U+007F .notdef +!80 U+20AC Euro +!82 U+201A quotesinglbase +!84 U+201E quotedblbase +!85 U+2026 ellipsis +!86 U+2020 dagger +!87 U+2021 daggerdbl +!89 U+2030 perthousand +!8A U+0160 Scaron +!8B U+2039 guilsinglleft +!8C U+015A Sacute +!8D U+0164 Tcaron +!8E U+017D Zcaron +!8F U+0179 Zacute +!91 U+2018 quoteleft +!92 U+2019 quoteright +!93 U+201C quotedblleft +!94 U+201D quotedblright +!95 U+2022 bullet +!96 U+2013 endash +!97 U+2014 emdash +!99 U+2122 trademark +!9A U+0161 scaron +!9B U+203A guilsinglright +!9C U+015B sacute +!9D U+0165 tcaron +!9E U+017E zcaron +!9F U+017A zacute +!A0 U+00A0 space +!A1 U+02C7 caron +!A2 U+02D8 breve +!A3 U+0141 Lslash +!A4 U+00A4 currency +!A5 U+0104 Aogonek +!A6 U+00A6 brokenbar +!A7 U+00A7 section +!A8 U+00A8 dieresis +!A9 U+00A9 copyright +!AA U+015E Scedilla +!AB U+00AB guillemotleft +!AC U+00AC logicalnot +!AD U+00AD hyphen +!AE U+00AE registered +!AF U+017B Zdotaccent +!B0 U+00B0 degree +!B1 U+00B1 plusminus +!B2 U+02DB ogonek +!B3 U+0142 lslash +!B4 U+00B4 acute +!B5 U+00B5 mu +!B6 U+00B6 paragraph +!B7 U+00B7 periodcentered +!B8 U+00B8 cedilla +!B9 U+0105 aogonek +!BA U+015F scedilla +!BB U+00BB guillemotright +!BC U+013D Lcaron +!BD U+02DD hungarumlaut +!BE U+013E lcaron +!BF U+017C zdotaccent +!C0 U+0154 Racute +!C1 U+00C1 Aacute +!C2 U+00C2 Acircumflex +!C3 U+0102 Abreve +!C4 U+00C4 Adieresis +!C5 U+0139 Lacute +!C6 U+0106 Cacute +!C7 U+00C7 Ccedilla +!C8 U+010C Ccaron +!C9 U+00C9 Eacute +!CA U+0118 Eogonek +!CB U+00CB Edieresis +!CC U+011A Ecaron +!CD U+00CD Iacute +!CE U+00CE Icircumflex +!CF U+010E Dcaron +!D0 U+0110 Dcroat +!D1 U+0143 Nacute +!D2 U+0147 Ncaron +!D3 U+00D3 Oacute +!D4 U+00D4 Ocircumflex +!D5 U+0150 Ohungarumlaut +!D6 U+00D6 Odieresis +!D7 U+00D7 multiply +!D8 U+0158 Rcaron +!D9 U+016E Uring +!DA U+00DA Uacute +!DB U+0170 Uhungarumlaut +!DC U+00DC Udieresis +!DD U+00DD Yacute +!DE U+0162 Tcommaaccent +!DF U+00DF germandbls +!E0 U+0155 racute +!E1 U+00E1 aacute +!E2 U+00E2 acircumflex +!E3 U+0103 abreve +!E4 U+00E4 adieresis +!E5 U+013A lacute +!E6 U+0107 cacute +!E7 U+00E7 ccedilla +!E8 U+010D ccaron +!E9 U+00E9 eacute +!EA U+0119 eogonek +!EB U+00EB edieresis +!EC U+011B ecaron +!ED U+00ED iacute +!EE U+00EE icircumflex +!EF U+010F dcaron +!F0 U+0111 dcroat +!F1 U+0144 nacute +!F2 U+0148 ncaron +!F3 U+00F3 oacute +!F4 U+00F4 ocircumflex +!F5 U+0151 ohungarumlaut +!F6 U+00F6 odieresis +!F7 U+00F7 divide +!F8 U+0159 rcaron +!F9 U+016F uring +!FA U+00FA uacute +!FB U+0171 uhungarumlaut +!FC U+00FC udieresis +!FD U+00FD yacute +!FE U+0163 tcommaaccent +!FF U+02D9 dotaccent diff --git a/application/libraries/fpdf/makefont/cp1251.map b/application/libraries/fpdf/makefont/cp1251.map new file mode 100644 index 0000000..de6a198 --- /dev/null +++ b/application/libraries/fpdf/makefont/cp1251.map @@ -0,0 +1,255 @@ +!00 U+0000 .notdef +!01 U+0001 .notdef +!02 U+0002 .notdef +!03 U+0003 .notdef +!04 U+0004 .notdef +!05 U+0005 .notdef +!06 U+0006 .notdef +!07 U+0007 .notdef +!08 U+0008 .notdef +!09 U+0009 .notdef +!0A U+000A .notdef +!0B U+000B .notdef +!0C U+000C .notdef +!0D U+000D .notdef +!0E U+000E .notdef +!0F U+000F .notdef +!10 U+0010 .notdef +!11 U+0011 .notdef +!12 U+0012 .notdef +!13 U+0013 .notdef +!14 U+0014 .notdef +!15 U+0015 .notdef +!16 U+0016 .notdef +!17 U+0017 .notdef +!18 U+0018 .notdef +!19 U+0019 .notdef +!1A U+001A .notdef +!1B U+001B .notdef +!1C U+001C .notdef +!1D U+001D .notdef +!1E U+001E .notdef +!1F U+001F .notdef +!20 U+0020 space +!21 U+0021 exclam +!22 U+0022 quotedbl +!23 U+0023 numbersign +!24 U+0024 dollar +!25 U+0025 percent +!26 U+0026 ampersand +!27 U+0027 quotesingle +!28 U+0028 parenleft +!29 U+0029 parenright +!2A U+002A asterisk +!2B U+002B plus +!2C U+002C comma +!2D U+002D hyphen +!2E U+002E period +!2F U+002F slash +!30 U+0030 zero +!31 U+0031 one +!32 U+0032 two +!33 U+0033 three +!34 U+0034 four +!35 U+0035 five +!36 U+0036 six +!37 U+0037 seven +!38 U+0038 eight +!39 U+0039 nine +!3A U+003A colon +!3B U+003B semicolon +!3C U+003C less +!3D U+003D equal +!3E U+003E greater +!3F U+003F question +!40 U+0040 at +!41 U+0041 A +!42 U+0042 B +!43 U+0043 C +!44 U+0044 D +!45 U+0045 E +!46 U+0046 F +!47 U+0047 G +!48 U+0048 H +!49 U+0049 I +!4A U+004A J +!4B U+004B K +!4C U+004C L +!4D U+004D M +!4E U+004E N +!4F U+004F O +!50 U+0050 P +!51 U+0051 Q +!52 U+0052 R +!53 U+0053 S +!54 U+0054 T +!55 U+0055 U +!56 U+0056 V +!57 U+0057 W +!58 U+0058 X +!59 U+0059 Y +!5A U+005A Z +!5B U+005B bracketleft +!5C U+005C backslash +!5D U+005D bracketright +!5E U+005E asciicircum +!5F U+005F underscore +!60 U+0060 grave +!61 U+0061 a +!62 U+0062 b +!63 U+0063 c +!64 U+0064 d +!65 U+0065 e +!66 U+0066 f +!67 U+0067 g +!68 U+0068 h +!69 U+0069 i +!6A U+006A j +!6B U+006B k +!6C U+006C l +!6D U+006D m +!6E U+006E n +!6F U+006F o +!70 U+0070 p +!71 U+0071 q +!72 U+0072 r +!73 U+0073 s +!74 U+0074 t +!75 U+0075 u +!76 U+0076 v +!77 U+0077 w +!78 U+0078 x +!79 U+0079 y +!7A U+007A z +!7B U+007B braceleft +!7C U+007C bar +!7D U+007D braceright +!7E U+007E asciitilde +!7F U+007F .notdef +!80 U+0402 afii10051 +!81 U+0403 afii10052 +!82 U+201A quotesinglbase +!83 U+0453 afii10100 +!84 U+201E quotedblbase +!85 U+2026 ellipsis +!86 U+2020 dagger +!87 U+2021 daggerdbl +!88 U+20AC Euro +!89 U+2030 perthousand +!8A U+0409 afii10058 +!8B U+2039 guilsinglleft +!8C U+040A afii10059 +!8D U+040C afii10061 +!8E U+040B afii10060 +!8F U+040F afii10145 +!90 U+0452 afii10099 +!91 U+2018 quoteleft +!92 U+2019 quoteright +!93 U+201C quotedblleft +!94 U+201D quotedblright +!95 U+2022 bullet +!96 U+2013 endash +!97 U+2014 emdash +!99 U+2122 trademark +!9A U+0459 afii10106 +!9B U+203A guilsinglright +!9C U+045A afii10107 +!9D U+045C afii10109 +!9E U+045B afii10108 +!9F U+045F afii10193 +!A0 U+00A0 space +!A1 U+040E afii10062 +!A2 U+045E afii10110 +!A3 U+0408 afii10057 +!A4 U+00A4 currency +!A5 U+0490 afii10050 +!A6 U+00A6 brokenbar +!A7 U+00A7 section +!A8 U+0401 afii10023 +!A9 U+00A9 copyright +!AA U+0404 afii10053 +!AB U+00AB guillemotleft +!AC U+00AC logicalnot +!AD U+00AD hyphen +!AE U+00AE registered +!AF U+0407 afii10056 +!B0 U+00B0 degree +!B1 U+00B1 plusminus +!B2 U+0406 afii10055 +!B3 U+0456 afii10103 +!B4 U+0491 afii10098 +!B5 U+00B5 mu +!B6 U+00B6 paragraph +!B7 U+00B7 periodcentered +!B8 U+0451 afii10071 +!B9 U+2116 afii61352 +!BA U+0454 afii10101 +!BB U+00BB guillemotright +!BC U+0458 afii10105 +!BD U+0405 afii10054 +!BE U+0455 afii10102 +!BF U+0457 afii10104 +!C0 U+0410 afii10017 +!C1 U+0411 afii10018 +!C2 U+0412 afii10019 +!C3 U+0413 afii10020 +!C4 U+0414 afii10021 +!C5 U+0415 afii10022 +!C6 U+0416 afii10024 +!C7 U+0417 afii10025 +!C8 U+0418 afii10026 +!C9 U+0419 afii10027 +!CA U+041A afii10028 +!CB U+041B afii10029 +!CC U+041C afii10030 +!CD U+041D afii10031 +!CE U+041E afii10032 +!CF U+041F afii10033 +!D0 U+0420 afii10034 +!D1 U+0421 afii10035 +!D2 U+0422 afii10036 +!D3 U+0423 afii10037 +!D4 U+0424 afii10038 +!D5 U+0425 afii10039 +!D6 U+0426 afii10040 +!D7 U+0427 afii10041 +!D8 U+0428 afii10042 +!D9 U+0429 afii10043 +!DA U+042A afii10044 +!DB U+042B afii10045 +!DC U+042C afii10046 +!DD U+042D afii10047 +!DE U+042E afii10048 +!DF U+042F afii10049 +!E0 U+0430 afii10065 +!E1 U+0431 afii10066 +!E2 U+0432 afii10067 +!E3 U+0433 afii10068 +!E4 U+0434 afii10069 +!E5 U+0435 afii10070 +!E6 U+0436 afii10072 +!E7 U+0437 afii10073 +!E8 U+0438 afii10074 +!E9 U+0439 afii10075 +!EA U+043A afii10076 +!EB U+043B afii10077 +!EC U+043C afii10078 +!ED U+043D afii10079 +!EE U+043E afii10080 +!EF U+043F afii10081 +!F0 U+0440 afii10082 +!F1 U+0441 afii10083 +!F2 U+0442 afii10084 +!F3 U+0443 afii10085 +!F4 U+0444 afii10086 +!F5 U+0445 afii10087 +!F6 U+0446 afii10088 +!F7 U+0447 afii10089 +!F8 U+0448 afii10090 +!F9 U+0449 afii10091 +!FA U+044A afii10092 +!FB U+044B afii10093 +!FC U+044C afii10094 +!FD U+044D afii10095 +!FE U+044E afii10096 +!FF U+044F afii10097 diff --git a/application/libraries/fpdf/makefont/cp1252.map b/application/libraries/fpdf/makefont/cp1252.map new file mode 100644 index 0000000..dd490e5 --- /dev/null +++ b/application/libraries/fpdf/makefont/cp1252.map @@ -0,0 +1,251 @@ +!00 U+0000 .notdef +!01 U+0001 .notdef +!02 U+0002 .notdef +!03 U+0003 .notdef +!04 U+0004 .notdef +!05 U+0005 .notdef +!06 U+0006 .notdef +!07 U+0007 .notdef +!08 U+0008 .notdef +!09 U+0009 .notdef +!0A U+000A .notdef +!0B U+000B .notdef +!0C U+000C .notdef +!0D U+000D .notdef +!0E U+000E .notdef +!0F U+000F .notdef +!10 U+0010 .notdef +!11 U+0011 .notdef +!12 U+0012 .notdef +!13 U+0013 .notdef +!14 U+0014 .notdef +!15 U+0015 .notdef +!16 U+0016 .notdef +!17 U+0017 .notdef +!18 U+0018 .notdef +!19 U+0019 .notdef +!1A U+001A .notdef +!1B U+001B .notdef +!1C U+001C .notdef +!1D U+001D .notdef +!1E U+001E .notdef +!1F U+001F .notdef +!20 U+0020 space +!21 U+0021 exclam +!22 U+0022 quotedbl +!23 U+0023 numbersign +!24 U+0024 dollar +!25 U+0025 percent +!26 U+0026 ampersand +!27 U+0027 quotesingle +!28 U+0028 parenleft +!29 U+0029 parenright +!2A U+002A asterisk +!2B U+002B plus +!2C U+002C comma +!2D U+002D hyphen +!2E U+002E period +!2F U+002F slash +!30 U+0030 zero +!31 U+0031 one +!32 U+0032 two +!33 U+0033 three +!34 U+0034 four +!35 U+0035 five +!36 U+0036 six +!37 U+0037 seven +!38 U+0038 eight +!39 U+0039 nine +!3A U+003A colon +!3B U+003B semicolon +!3C U+003C less +!3D U+003D equal +!3E U+003E greater +!3F U+003F question +!40 U+0040 at +!41 U+0041 A +!42 U+0042 B +!43 U+0043 C +!44 U+0044 D +!45 U+0045 E +!46 U+0046 F +!47 U+0047 G +!48 U+0048 H +!49 U+0049 I +!4A U+004A J +!4B U+004B K +!4C U+004C L +!4D U+004D M +!4E U+004E N +!4F U+004F O +!50 U+0050 P +!51 U+0051 Q +!52 U+0052 R +!53 U+0053 S +!54 U+0054 T +!55 U+0055 U +!56 U+0056 V +!57 U+0057 W +!58 U+0058 X +!59 U+0059 Y +!5A U+005A Z +!5B U+005B bracketleft +!5C U+005C backslash +!5D U+005D bracketright +!5E U+005E asciicircum +!5F U+005F underscore +!60 U+0060 grave +!61 U+0061 a +!62 U+0062 b +!63 U+0063 c +!64 U+0064 d +!65 U+0065 e +!66 U+0066 f +!67 U+0067 g +!68 U+0068 h +!69 U+0069 i +!6A U+006A j +!6B U+006B k +!6C U+006C l +!6D U+006D m +!6E U+006E n +!6F U+006F o +!70 U+0070 p +!71 U+0071 q +!72 U+0072 r +!73 U+0073 s +!74 U+0074 t +!75 U+0075 u +!76 U+0076 v +!77 U+0077 w +!78 U+0078 x +!79 U+0079 y +!7A U+007A z +!7B U+007B braceleft +!7C U+007C bar +!7D U+007D braceright +!7E U+007E asciitilde +!7F U+007F .notdef +!80 U+20AC Euro +!82 U+201A quotesinglbase +!83 U+0192 florin +!84 U+201E quotedblbase +!85 U+2026 ellipsis +!86 U+2020 dagger +!87 U+2021 daggerdbl +!88 U+02C6 circumflex +!89 U+2030 perthousand +!8A U+0160 Scaron +!8B U+2039 guilsinglleft +!8C U+0152 OE +!8E U+017D Zcaron +!91 U+2018 quoteleft +!92 U+2019 quoteright +!93 U+201C quotedblleft +!94 U+201D quotedblright +!95 U+2022 bullet +!96 U+2013 endash +!97 U+2014 emdash +!98 U+02DC tilde +!99 U+2122 trademark +!9A U+0161 scaron +!9B U+203A guilsinglright +!9C U+0153 oe +!9E U+017E zcaron +!9F U+0178 Ydieresis +!A0 U+00A0 space +!A1 U+00A1 exclamdown +!A2 U+00A2 cent +!A3 U+00A3 sterling +!A4 U+00A4 currency +!A5 U+00A5 yen +!A6 U+00A6 brokenbar +!A7 U+00A7 section +!A8 U+00A8 dieresis +!A9 U+00A9 copyright +!AA U+00AA ordfeminine +!AB U+00AB guillemotleft +!AC U+00AC logicalnot +!AD U+00AD hyphen +!AE U+00AE registered +!AF U+00AF macron +!B0 U+00B0 degree +!B1 U+00B1 plusminus +!B2 U+00B2 twosuperior +!B3 U+00B3 threesuperior +!B4 U+00B4 acute +!B5 U+00B5 mu +!B6 U+00B6 paragraph +!B7 U+00B7 periodcentered +!B8 U+00B8 cedilla +!B9 U+00B9 onesuperior +!BA U+00BA ordmasculine +!BB U+00BB guillemotright +!BC U+00BC onequarter +!BD U+00BD onehalf +!BE U+00BE threequarters +!BF U+00BF questiondown +!C0 U+00C0 Agrave +!C1 U+00C1 Aacute +!C2 U+00C2 Acircumflex +!C3 U+00C3 Atilde +!C4 U+00C4 Adieresis +!C5 U+00C5 Aring +!C6 U+00C6 AE +!C7 U+00C7 Ccedilla +!C8 U+00C8 Egrave +!C9 U+00C9 Eacute +!CA U+00CA Ecircumflex +!CB U+00CB Edieresis +!CC U+00CC Igrave +!CD U+00CD Iacute +!CE U+00CE Icircumflex +!CF U+00CF Idieresis +!D0 U+00D0 Eth +!D1 U+00D1 Ntilde +!D2 U+00D2 Ograve +!D3 U+00D3 Oacute +!D4 U+00D4 Ocircumflex +!D5 U+00D5 Otilde +!D6 U+00D6 Odieresis +!D7 U+00D7 multiply +!D8 U+00D8 Oslash +!D9 U+00D9 Ugrave +!DA U+00DA Uacute +!DB U+00DB Ucircumflex +!DC U+00DC Udieresis +!DD U+00DD Yacute +!DE U+00DE Thorn +!DF U+00DF germandbls +!E0 U+00E0 agrave +!E1 U+00E1 aacute +!E2 U+00E2 acircumflex +!E3 U+00E3 atilde +!E4 U+00E4 adieresis +!E5 U+00E5 aring +!E6 U+00E6 ae +!E7 U+00E7 ccedilla +!E8 U+00E8 egrave +!E9 U+00E9 eacute +!EA U+00EA ecircumflex +!EB U+00EB edieresis +!EC U+00EC igrave +!ED U+00ED iacute +!EE U+00EE icircumflex +!EF U+00EF idieresis +!F0 U+00F0 eth +!F1 U+00F1 ntilde +!F2 U+00F2 ograve +!F3 U+00F3 oacute +!F4 U+00F4 ocircumflex +!F5 U+00F5 otilde +!F6 U+00F6 odieresis +!F7 U+00F7 divide +!F8 U+00F8 oslash +!F9 U+00F9 ugrave +!FA U+00FA uacute +!FB U+00FB ucircumflex +!FC U+00FC udieresis +!FD U+00FD yacute +!FE U+00FE thorn +!FF U+00FF ydieresis diff --git a/application/libraries/fpdf/makefont/cp1253.map b/application/libraries/fpdf/makefont/cp1253.map new file mode 100644 index 0000000..4bd826f --- /dev/null +++ b/application/libraries/fpdf/makefont/cp1253.map @@ -0,0 +1,239 @@ +!00 U+0000 .notdef +!01 U+0001 .notdef +!02 U+0002 .notdef +!03 U+0003 .notdef +!04 U+0004 .notdef +!05 U+0005 .notdef +!06 U+0006 .notdef +!07 U+0007 .notdef +!08 U+0008 .notdef +!09 U+0009 .notdef +!0A U+000A .notdef +!0B U+000B .notdef +!0C U+000C .notdef +!0D U+000D .notdef +!0E U+000E .notdef +!0F U+000F .notdef +!10 U+0010 .notdef +!11 U+0011 .notdef +!12 U+0012 .notdef +!13 U+0013 .notdef +!14 U+0014 .notdef +!15 U+0015 .notdef +!16 U+0016 .notdef +!17 U+0017 .notdef +!18 U+0018 .notdef +!19 U+0019 .notdef +!1A U+001A .notdef +!1B U+001B .notdef +!1C U+001C .notdef +!1D U+001D .notdef +!1E U+001E .notdef +!1F U+001F .notdef +!20 U+0020 space +!21 U+0021 exclam +!22 U+0022 quotedbl +!23 U+0023 numbersign +!24 U+0024 dollar +!25 U+0025 percent +!26 U+0026 ampersand +!27 U+0027 quotesingle +!28 U+0028 parenleft +!29 U+0029 parenright +!2A U+002A asterisk +!2B U+002B plus +!2C U+002C comma +!2D U+002D hyphen +!2E U+002E period +!2F U+002F slash +!30 U+0030 zero +!31 U+0031 one +!32 U+0032 two +!33 U+0033 three +!34 U+0034 four +!35 U+0035 five +!36 U+0036 six +!37 U+0037 seven +!38 U+0038 eight +!39 U+0039 nine +!3A U+003A colon +!3B U+003B semicolon +!3C U+003C less +!3D U+003D equal +!3E U+003E greater +!3F U+003F question +!40 U+0040 at +!41 U+0041 A +!42 U+0042 B +!43 U+0043 C +!44 U+0044 D +!45 U+0045 E +!46 U+0046 F +!47 U+0047 G +!48 U+0048 H +!49 U+0049 I +!4A U+004A J +!4B U+004B K +!4C U+004C L +!4D U+004D M +!4E U+004E N +!4F U+004F O +!50 U+0050 P +!51 U+0051 Q +!52 U+0052 R +!53 U+0053 S +!54 U+0054 T +!55 U+0055 U +!56 U+0056 V +!57 U+0057 W +!58 U+0058 X +!59 U+0059 Y +!5A U+005A Z +!5B U+005B bracketleft +!5C U+005C backslash +!5D U+005D bracketright +!5E U+005E asciicircum +!5F U+005F underscore +!60 U+0060 grave +!61 U+0061 a +!62 U+0062 b +!63 U+0063 c +!64 U+0064 d +!65 U+0065 e +!66 U+0066 f +!67 U+0067 g +!68 U+0068 h +!69 U+0069 i +!6A U+006A j +!6B U+006B k +!6C U+006C l +!6D U+006D m +!6E U+006E n +!6F U+006F o +!70 U+0070 p +!71 U+0071 q +!72 U+0072 r +!73 U+0073 s +!74 U+0074 t +!75 U+0075 u +!76 U+0076 v +!77 U+0077 w +!78 U+0078 x +!79 U+0079 y +!7A U+007A z +!7B U+007B braceleft +!7C U+007C bar +!7D U+007D braceright +!7E U+007E asciitilde +!7F U+007F .notdef +!80 U+20AC Euro +!82 U+201A quotesinglbase +!83 U+0192 florin +!84 U+201E quotedblbase +!85 U+2026 ellipsis +!86 U+2020 dagger +!87 U+2021 daggerdbl +!89 U+2030 perthousand +!8B U+2039 guilsinglleft +!91 U+2018 quoteleft +!92 U+2019 quoteright +!93 U+201C quotedblleft +!94 U+201D quotedblright +!95 U+2022 bullet +!96 U+2013 endash +!97 U+2014 emdash +!99 U+2122 trademark +!9B U+203A guilsinglright +!A0 U+00A0 space +!A1 U+0385 dieresistonos +!A2 U+0386 Alphatonos +!A3 U+00A3 sterling +!A4 U+00A4 currency +!A5 U+00A5 yen +!A6 U+00A6 brokenbar +!A7 U+00A7 section +!A8 U+00A8 dieresis +!A9 U+00A9 copyright +!AB U+00AB guillemotleft +!AC U+00AC logicalnot +!AD U+00AD hyphen +!AE U+00AE registered +!AF U+2015 afii00208 +!B0 U+00B0 degree +!B1 U+00B1 plusminus +!B2 U+00B2 twosuperior +!B3 U+00B3 threesuperior +!B4 U+0384 tonos +!B5 U+00B5 mu +!B6 U+00B6 paragraph +!B7 U+00B7 periodcentered +!B8 U+0388 Epsilontonos +!B9 U+0389 Etatonos +!BA U+038A Iotatonos +!BB U+00BB guillemotright +!BC U+038C Omicrontonos +!BD U+00BD onehalf +!BE U+038E Upsilontonos +!BF U+038F Omegatonos +!C0 U+0390 iotadieresistonos +!C1 U+0391 Alpha +!C2 U+0392 Beta +!C3 U+0393 Gamma +!C4 U+0394 Delta +!C5 U+0395 Epsilon +!C6 U+0396 Zeta +!C7 U+0397 Eta +!C8 U+0398 Theta +!C9 U+0399 Iota +!CA U+039A Kappa +!CB U+039B Lambda +!CC U+039C Mu +!CD U+039D Nu +!CE U+039E Xi +!CF U+039F Omicron +!D0 U+03A0 Pi +!D1 U+03A1 Rho +!D3 U+03A3 Sigma +!D4 U+03A4 Tau +!D5 U+03A5 Upsilon +!D6 U+03A6 Phi +!D7 U+03A7 Chi +!D8 U+03A8 Psi +!D9 U+03A9 Omega +!DA U+03AA Iotadieresis +!DB U+03AB Upsilondieresis +!DC U+03AC alphatonos +!DD U+03AD epsilontonos +!DE U+03AE etatonos +!DF U+03AF iotatonos +!E0 U+03B0 upsilondieresistonos +!E1 U+03B1 alpha +!E2 U+03B2 beta +!E3 U+03B3 gamma +!E4 U+03B4 delta +!E5 U+03B5 epsilon +!E6 U+03B6 zeta +!E7 U+03B7 eta +!E8 U+03B8 theta +!E9 U+03B9 iota +!EA U+03BA kappa +!EB U+03BB lambda +!EC U+03BC mu +!ED U+03BD nu +!EE U+03BE xi +!EF U+03BF omicron +!F0 U+03C0 pi +!F1 U+03C1 rho +!F2 U+03C2 sigma1 +!F3 U+03C3 sigma +!F4 U+03C4 tau +!F5 U+03C5 upsilon +!F6 U+03C6 phi +!F7 U+03C7 chi +!F8 U+03C8 psi +!F9 U+03C9 omega +!FA U+03CA iotadieresis +!FB U+03CB upsilondieresis +!FC U+03CC omicrontonos +!FD U+03CD upsilontonos +!FE U+03CE omegatonos diff --git a/application/libraries/fpdf/makefont/cp1254.map b/application/libraries/fpdf/makefont/cp1254.map new file mode 100644 index 0000000..829473b --- /dev/null +++ b/application/libraries/fpdf/makefont/cp1254.map @@ -0,0 +1,249 @@ +!00 U+0000 .notdef +!01 U+0001 .notdef +!02 U+0002 .notdef +!03 U+0003 .notdef +!04 U+0004 .notdef +!05 U+0005 .notdef +!06 U+0006 .notdef +!07 U+0007 .notdef +!08 U+0008 .notdef +!09 U+0009 .notdef +!0A U+000A .notdef +!0B U+000B .notdef +!0C U+000C .notdef +!0D U+000D .notdef +!0E U+000E .notdef +!0F U+000F .notdef +!10 U+0010 .notdef +!11 U+0011 .notdef +!12 U+0012 .notdef +!13 U+0013 .notdef +!14 U+0014 .notdef +!15 U+0015 .notdef +!16 U+0016 .notdef +!17 U+0017 .notdef +!18 U+0018 .notdef +!19 U+0019 .notdef +!1A U+001A .notdef +!1B U+001B .notdef +!1C U+001C .notdef +!1D U+001D .notdef +!1E U+001E .notdef +!1F U+001F .notdef +!20 U+0020 space +!21 U+0021 exclam +!22 U+0022 quotedbl +!23 U+0023 numbersign +!24 U+0024 dollar +!25 U+0025 percent +!26 U+0026 ampersand +!27 U+0027 quotesingle +!28 U+0028 parenleft +!29 U+0029 parenright +!2A U+002A asterisk +!2B U+002B plus +!2C U+002C comma +!2D U+002D hyphen +!2E U+002E period +!2F U+002F slash +!30 U+0030 zero +!31 U+0031 one +!32 U+0032 two +!33 U+0033 three +!34 U+0034 four +!35 U+0035 five +!36 U+0036 six +!37 U+0037 seven +!38 U+0038 eight +!39 U+0039 nine +!3A U+003A colon +!3B U+003B semicolon +!3C U+003C less +!3D U+003D equal +!3E U+003E greater +!3F U+003F question +!40 U+0040 at +!41 U+0041 A +!42 U+0042 B +!43 U+0043 C +!44 U+0044 D +!45 U+0045 E +!46 U+0046 F +!47 U+0047 G +!48 U+0048 H +!49 U+0049 I +!4A U+004A J +!4B U+004B K +!4C U+004C L +!4D U+004D M +!4E U+004E N +!4F U+004F O +!50 U+0050 P +!51 U+0051 Q +!52 U+0052 R +!53 U+0053 S +!54 U+0054 T +!55 U+0055 U +!56 U+0056 V +!57 U+0057 W +!58 U+0058 X +!59 U+0059 Y +!5A U+005A Z +!5B U+005B bracketleft +!5C U+005C backslash +!5D U+005D bracketright +!5E U+005E asciicircum +!5F U+005F underscore +!60 U+0060 grave +!61 U+0061 a +!62 U+0062 b +!63 U+0063 c +!64 U+0064 d +!65 U+0065 e +!66 U+0066 f +!67 U+0067 g +!68 U+0068 h +!69 U+0069 i +!6A U+006A j +!6B U+006B k +!6C U+006C l +!6D U+006D m +!6E U+006E n +!6F U+006F o +!70 U+0070 p +!71 U+0071 q +!72 U+0072 r +!73 U+0073 s +!74 U+0074 t +!75 U+0075 u +!76 U+0076 v +!77 U+0077 w +!78 U+0078 x +!79 U+0079 y +!7A U+007A z +!7B U+007B braceleft +!7C U+007C bar +!7D U+007D braceright +!7E U+007E asciitilde +!7F U+007F .notdef +!80 U+20AC Euro +!82 U+201A quotesinglbase +!83 U+0192 florin +!84 U+201E quotedblbase +!85 U+2026 ellipsis +!86 U+2020 dagger +!87 U+2021 daggerdbl +!88 U+02C6 circumflex +!89 U+2030 perthousand +!8A U+0160 Scaron +!8B U+2039 guilsinglleft +!8C U+0152 OE +!91 U+2018 quoteleft +!92 U+2019 quoteright +!93 U+201C quotedblleft +!94 U+201D quotedblright +!95 U+2022 bullet +!96 U+2013 endash +!97 U+2014 emdash +!98 U+02DC tilde +!99 U+2122 trademark +!9A U+0161 scaron +!9B U+203A guilsinglright +!9C U+0153 oe +!9F U+0178 Ydieresis +!A0 U+00A0 space +!A1 U+00A1 exclamdown +!A2 U+00A2 cent +!A3 U+00A3 sterling +!A4 U+00A4 currency +!A5 U+00A5 yen +!A6 U+00A6 brokenbar +!A7 U+00A7 section +!A8 U+00A8 dieresis +!A9 U+00A9 copyright +!AA U+00AA ordfeminine +!AB U+00AB guillemotleft +!AC U+00AC logicalnot +!AD U+00AD hyphen +!AE U+00AE registered +!AF U+00AF macron +!B0 U+00B0 degree +!B1 U+00B1 plusminus +!B2 U+00B2 twosuperior +!B3 U+00B3 threesuperior +!B4 U+00B4 acute +!B5 U+00B5 mu +!B6 U+00B6 paragraph +!B7 U+00B7 periodcentered +!B8 U+00B8 cedilla +!B9 U+00B9 onesuperior +!BA U+00BA ordmasculine +!BB U+00BB guillemotright +!BC U+00BC onequarter +!BD U+00BD onehalf +!BE U+00BE threequarters +!BF U+00BF questiondown +!C0 U+00C0 Agrave +!C1 U+00C1 Aacute +!C2 U+00C2 Acircumflex +!C3 U+00C3 Atilde +!C4 U+00C4 Adieresis +!C5 U+00C5 Aring +!C6 U+00C6 AE +!C7 U+00C7 Ccedilla +!C8 U+00C8 Egrave +!C9 U+00C9 Eacute +!CA U+00CA Ecircumflex +!CB U+00CB Edieresis +!CC U+00CC Igrave +!CD U+00CD Iacute +!CE U+00CE Icircumflex +!CF U+00CF Idieresis +!D0 U+011E Gbreve +!D1 U+00D1 Ntilde +!D2 U+00D2 Ograve +!D3 U+00D3 Oacute +!D4 U+00D4 Ocircumflex +!D5 U+00D5 Otilde +!D6 U+00D6 Odieresis +!D7 U+00D7 multiply +!D8 U+00D8 Oslash +!D9 U+00D9 Ugrave +!DA U+00DA Uacute +!DB U+00DB Ucircumflex +!DC U+00DC Udieresis +!DD U+0130 Idotaccent +!DE U+015E Scedilla +!DF U+00DF germandbls +!E0 U+00E0 agrave +!E1 U+00E1 aacute +!E2 U+00E2 acircumflex +!E3 U+00E3 atilde +!E4 U+00E4 adieresis +!E5 U+00E5 aring +!E6 U+00E6 ae +!E7 U+00E7 ccedilla +!E8 U+00E8 egrave +!E9 U+00E9 eacute +!EA U+00EA ecircumflex +!EB U+00EB edieresis +!EC U+00EC igrave +!ED U+00ED iacute +!EE U+00EE icircumflex +!EF U+00EF idieresis +!F0 U+011F gbreve +!F1 U+00F1 ntilde +!F2 U+00F2 ograve +!F3 U+00F3 oacute +!F4 U+00F4 ocircumflex +!F5 U+00F5 otilde +!F6 U+00F6 odieresis +!F7 U+00F7 divide +!F8 U+00F8 oslash +!F9 U+00F9 ugrave +!FA U+00FA uacute +!FB U+00FB ucircumflex +!FC U+00FC udieresis +!FD U+0131 dotlessi +!FE U+015F scedilla +!FF U+00FF ydieresis diff --git a/application/libraries/fpdf/makefont/cp1255.map b/application/libraries/fpdf/makefont/cp1255.map new file mode 100644 index 0000000..079e10c --- /dev/null +++ b/application/libraries/fpdf/makefont/cp1255.map @@ -0,0 +1,233 @@ +!00 U+0000 .notdef +!01 U+0001 .notdef +!02 U+0002 .notdef +!03 U+0003 .notdef +!04 U+0004 .notdef +!05 U+0005 .notdef +!06 U+0006 .notdef +!07 U+0007 .notdef +!08 U+0008 .notdef +!09 U+0009 .notdef +!0A U+000A .notdef +!0B U+000B .notdef +!0C U+000C .notdef +!0D U+000D .notdef +!0E U+000E .notdef +!0F U+000F .notdef +!10 U+0010 .notdef +!11 U+0011 .notdef +!12 U+0012 .notdef +!13 U+0013 .notdef +!14 U+0014 .notdef +!15 U+0015 .notdef +!16 U+0016 .notdef +!17 U+0017 .notdef +!18 U+0018 .notdef +!19 U+0019 .notdef +!1A U+001A .notdef +!1B U+001B .notdef +!1C U+001C .notdef +!1D U+001D .notdef +!1E U+001E .notdef +!1F U+001F .notdef +!20 U+0020 space +!21 U+0021 exclam +!22 U+0022 quotedbl +!23 U+0023 numbersign +!24 U+0024 dollar +!25 U+0025 percent +!26 U+0026 ampersand +!27 U+0027 quotesingle +!28 U+0028 parenleft +!29 U+0029 parenright +!2A U+002A asterisk +!2B U+002B plus +!2C U+002C comma +!2D U+002D hyphen +!2E U+002E period +!2F U+002F slash +!30 U+0030 zero +!31 U+0031 one +!32 U+0032 two +!33 U+0033 three +!34 U+0034 four +!35 U+0035 five +!36 U+0036 six +!37 U+0037 seven +!38 U+0038 eight +!39 U+0039 nine +!3A U+003A colon +!3B U+003B semicolon +!3C U+003C less +!3D U+003D equal +!3E U+003E greater +!3F U+003F question +!40 U+0040 at +!41 U+0041 A +!42 U+0042 B +!43 U+0043 C +!44 U+0044 D +!45 U+0045 E +!46 U+0046 F +!47 U+0047 G +!48 U+0048 H +!49 U+0049 I +!4A U+004A J +!4B U+004B K +!4C U+004C L +!4D U+004D M +!4E U+004E N +!4F U+004F O +!50 U+0050 P +!51 U+0051 Q +!52 U+0052 R +!53 U+0053 S +!54 U+0054 T +!55 U+0055 U +!56 U+0056 V +!57 U+0057 W +!58 U+0058 X +!59 U+0059 Y +!5A U+005A Z +!5B U+005B bracketleft +!5C U+005C backslash +!5D U+005D bracketright +!5E U+005E asciicircum +!5F U+005F underscore +!60 U+0060 grave +!61 U+0061 a +!62 U+0062 b +!63 U+0063 c +!64 U+0064 d +!65 U+0065 e +!66 U+0066 f +!67 U+0067 g +!68 U+0068 h +!69 U+0069 i +!6A U+006A j +!6B U+006B k +!6C U+006C l +!6D U+006D m +!6E U+006E n +!6F U+006F o +!70 U+0070 p +!71 U+0071 q +!72 U+0072 r +!73 U+0073 s +!74 U+0074 t +!75 U+0075 u +!76 U+0076 v +!77 U+0077 w +!78 U+0078 x +!79 U+0079 y +!7A U+007A z +!7B U+007B braceleft +!7C U+007C bar +!7D U+007D braceright +!7E U+007E asciitilde +!7F U+007F .notdef +!80 U+20AC Euro +!82 U+201A quotesinglbase +!83 U+0192 florin +!84 U+201E quotedblbase +!85 U+2026 ellipsis +!86 U+2020 dagger +!87 U+2021 daggerdbl +!88 U+02C6 circumflex +!89 U+2030 perthousand +!8B U+2039 guilsinglleft +!91 U+2018 quoteleft +!92 U+2019 quoteright +!93 U+201C quotedblleft +!94 U+201D quotedblright +!95 U+2022 bullet +!96 U+2013 endash +!97 U+2014 emdash +!98 U+02DC tilde +!99 U+2122 trademark +!9B U+203A guilsinglright +!A0 U+00A0 space +!A1 U+00A1 exclamdown +!A2 U+00A2 cent +!A3 U+00A3 sterling +!A4 U+20AA afii57636 +!A5 U+00A5 yen +!A6 U+00A6 brokenbar +!A7 U+00A7 section +!A8 U+00A8 dieresis +!A9 U+00A9 copyright +!AA U+00D7 multiply +!AB U+00AB guillemotleft +!AC U+00AC logicalnot +!AD U+00AD sfthyphen +!AE U+00AE registered +!AF U+00AF macron +!B0 U+00B0 degree +!B1 U+00B1 plusminus +!B2 U+00B2 twosuperior +!B3 U+00B3 threesuperior +!B4 U+00B4 acute +!B5 U+00B5 mu +!B6 U+00B6 paragraph +!B7 U+00B7 middot +!B8 U+00B8 cedilla +!B9 U+00B9 onesuperior +!BA U+00F7 divide +!BB U+00BB guillemotright +!BC U+00BC onequarter +!BD U+00BD onehalf +!BE U+00BE threequarters +!BF U+00BF questiondown +!C0 U+05B0 afii57799 +!C1 U+05B1 afii57801 +!C2 U+05B2 afii57800 +!C3 U+05B3 afii57802 +!C4 U+05B4 afii57793 +!C5 U+05B5 afii57794 +!C6 U+05B6 afii57795 +!C7 U+05B7 afii57798 +!C8 U+05B8 afii57797 +!C9 U+05B9 afii57806 +!CB U+05BB afii57796 +!CC U+05BC afii57807 +!CD U+05BD afii57839 +!CE U+05BE afii57645 +!CF U+05BF afii57841 +!D0 U+05C0 afii57842 +!D1 U+05C1 afii57804 +!D2 U+05C2 afii57803 +!D3 U+05C3 afii57658 +!D4 U+05F0 afii57716 +!D5 U+05F1 afii57717 +!D6 U+05F2 afii57718 +!D7 U+05F3 gereshhebrew +!D8 U+05F4 gershayimhebrew +!E0 U+05D0 afii57664 +!E1 U+05D1 afii57665 +!E2 U+05D2 afii57666 +!E3 U+05D3 afii57667 +!E4 U+05D4 afii57668 +!E5 U+05D5 afii57669 +!E6 U+05D6 afii57670 +!E7 U+05D7 afii57671 +!E8 U+05D8 afii57672 +!E9 U+05D9 afii57673 +!EA U+05DA afii57674 +!EB U+05DB afii57675 +!EC U+05DC afii57676 +!ED U+05DD afii57677 +!EE U+05DE afii57678 +!EF U+05DF afii57679 +!F0 U+05E0 afii57680 +!F1 U+05E1 afii57681 +!F2 U+05E2 afii57682 +!F3 U+05E3 afii57683 +!F4 U+05E4 afii57684 +!F5 U+05E5 afii57685 +!F6 U+05E6 afii57686 +!F7 U+05E7 afii57687 +!F8 U+05E8 afii57688 +!F9 U+05E9 afii57689 +!FA U+05EA afii57690 +!FD U+200E afii299 +!FE U+200F afii300 diff --git a/application/libraries/fpdf/makefont/cp1257.map b/application/libraries/fpdf/makefont/cp1257.map new file mode 100644 index 0000000..2f2ecfa --- /dev/null +++ b/application/libraries/fpdf/makefont/cp1257.map @@ -0,0 +1,244 @@ +!00 U+0000 .notdef +!01 U+0001 .notdef +!02 U+0002 .notdef +!03 U+0003 .notdef +!04 U+0004 .notdef +!05 U+0005 .notdef +!06 U+0006 .notdef +!07 U+0007 .notdef +!08 U+0008 .notdef +!09 U+0009 .notdef +!0A U+000A .notdef +!0B U+000B .notdef +!0C U+000C .notdef +!0D U+000D .notdef +!0E U+000E .notdef +!0F U+000F .notdef +!10 U+0010 .notdef +!11 U+0011 .notdef +!12 U+0012 .notdef +!13 U+0013 .notdef +!14 U+0014 .notdef +!15 U+0015 .notdef +!16 U+0016 .notdef +!17 U+0017 .notdef +!18 U+0018 .notdef +!19 U+0019 .notdef +!1A U+001A .notdef +!1B U+001B .notdef +!1C U+001C .notdef +!1D U+001D .notdef +!1E U+001E .notdef +!1F U+001F .notdef +!20 U+0020 space +!21 U+0021 exclam +!22 U+0022 quotedbl +!23 U+0023 numbersign +!24 U+0024 dollar +!25 U+0025 percent +!26 U+0026 ampersand +!27 U+0027 quotesingle +!28 U+0028 parenleft +!29 U+0029 parenright +!2A U+002A asterisk +!2B U+002B plus +!2C U+002C comma +!2D U+002D hyphen +!2E U+002E period +!2F U+002F slash +!30 U+0030 zero +!31 U+0031 one +!32 U+0032 two +!33 U+0033 three +!34 U+0034 four +!35 U+0035 five +!36 U+0036 six +!37 U+0037 seven +!38 U+0038 eight +!39 U+0039 nine +!3A U+003A colon +!3B U+003B semicolon +!3C U+003C less +!3D U+003D equal +!3E U+003E greater +!3F U+003F question +!40 U+0040 at +!41 U+0041 A +!42 U+0042 B +!43 U+0043 C +!44 U+0044 D +!45 U+0045 E +!46 U+0046 F +!47 U+0047 G +!48 U+0048 H +!49 U+0049 I +!4A U+004A J +!4B U+004B K +!4C U+004C L +!4D U+004D M +!4E U+004E N +!4F U+004F O +!50 U+0050 P +!51 U+0051 Q +!52 U+0052 R +!53 U+0053 S +!54 U+0054 T +!55 U+0055 U +!56 U+0056 V +!57 U+0057 W +!58 U+0058 X +!59 U+0059 Y +!5A U+005A Z +!5B U+005B bracketleft +!5C U+005C backslash +!5D U+005D bracketright +!5E U+005E asciicircum +!5F U+005F underscore +!60 U+0060 grave +!61 U+0061 a +!62 U+0062 b +!63 U+0063 c +!64 U+0064 d +!65 U+0065 e +!66 U+0066 f +!67 U+0067 g +!68 U+0068 h +!69 U+0069 i +!6A U+006A j +!6B U+006B k +!6C U+006C l +!6D U+006D m +!6E U+006E n +!6F U+006F o +!70 U+0070 p +!71 U+0071 q +!72 U+0072 r +!73 U+0073 s +!74 U+0074 t +!75 U+0075 u +!76 U+0076 v +!77 U+0077 w +!78 U+0078 x +!79 U+0079 y +!7A U+007A z +!7B U+007B braceleft +!7C U+007C bar +!7D U+007D braceright +!7E U+007E asciitilde +!7F U+007F .notdef +!80 U+20AC Euro +!82 U+201A quotesinglbase +!84 U+201E quotedblbase +!85 U+2026 ellipsis +!86 U+2020 dagger +!87 U+2021 daggerdbl +!89 U+2030 perthousand +!8B U+2039 guilsinglleft +!8D U+00A8 dieresis +!8E U+02C7 caron +!8F U+00B8 cedilla +!91 U+2018 quoteleft +!92 U+2019 quoteright +!93 U+201C quotedblleft +!94 U+201D quotedblright +!95 U+2022 bullet +!96 U+2013 endash +!97 U+2014 emdash +!99 U+2122 trademark +!9B U+203A guilsinglright +!9D U+00AF macron +!9E U+02DB ogonek +!A0 U+00A0 space +!A2 U+00A2 cent +!A3 U+00A3 sterling +!A4 U+00A4 currency +!A6 U+00A6 brokenbar +!A7 U+00A7 section +!A8 U+00D8 Oslash +!A9 U+00A9 copyright +!AA U+0156 Rcommaaccent +!AB U+00AB guillemotleft +!AC U+00AC logicalnot +!AD U+00AD hyphen +!AE U+00AE registered +!AF U+00C6 AE +!B0 U+00B0 degree +!B1 U+00B1 plusminus +!B2 U+00B2 twosuperior +!B3 U+00B3 threesuperior +!B4 U+00B4 acute +!B5 U+00B5 mu +!B6 U+00B6 paragraph +!B7 U+00B7 periodcentered +!B8 U+00F8 oslash +!B9 U+00B9 onesuperior +!BA U+0157 rcommaaccent +!BB U+00BB guillemotright +!BC U+00BC onequarter +!BD U+00BD onehalf +!BE U+00BE threequarters +!BF U+00E6 ae +!C0 U+0104 Aogonek +!C1 U+012E Iogonek +!C2 U+0100 Amacron +!C3 U+0106 Cacute +!C4 U+00C4 Adieresis +!C5 U+00C5 Aring +!C6 U+0118 Eogonek +!C7 U+0112 Emacron +!C8 U+010C Ccaron +!C9 U+00C9 Eacute +!CA U+0179 Zacute +!CB U+0116 Edotaccent +!CC U+0122 Gcommaaccent +!CD U+0136 Kcommaaccent +!CE U+012A Imacron +!CF U+013B Lcommaaccent +!D0 U+0160 Scaron +!D1 U+0143 Nacute +!D2 U+0145 Ncommaaccent +!D3 U+00D3 Oacute +!D4 U+014C Omacron +!D5 U+00D5 Otilde +!D6 U+00D6 Odieresis +!D7 U+00D7 multiply +!D8 U+0172 Uogonek +!D9 U+0141 Lslash +!DA U+015A Sacute +!DB U+016A Umacron +!DC U+00DC Udieresis +!DD U+017B Zdotaccent +!DE U+017D Zcaron +!DF U+00DF germandbls +!E0 U+0105 aogonek +!E1 U+012F iogonek +!E2 U+0101 amacron +!E3 U+0107 cacute +!E4 U+00E4 adieresis +!E5 U+00E5 aring +!E6 U+0119 eogonek +!E7 U+0113 emacron +!E8 U+010D ccaron +!E9 U+00E9 eacute +!EA U+017A zacute +!EB U+0117 edotaccent +!EC U+0123 gcommaaccent +!ED U+0137 kcommaaccent +!EE U+012B imacron +!EF U+013C lcommaaccent +!F0 U+0161 scaron +!F1 U+0144 nacute +!F2 U+0146 ncommaaccent +!F3 U+00F3 oacute +!F4 U+014D omacron +!F5 U+00F5 otilde +!F6 U+00F6 odieresis +!F7 U+00F7 divide +!F8 U+0173 uogonek +!F9 U+0142 lslash +!FA U+015B sacute +!FB U+016B umacron +!FC U+00FC udieresis +!FD U+017C zdotaccent +!FE U+017E zcaron +!FF U+02D9 dotaccent diff --git a/application/libraries/fpdf/makefont/cp1258.map b/application/libraries/fpdf/makefont/cp1258.map new file mode 100644 index 0000000..fed915f --- /dev/null +++ b/application/libraries/fpdf/makefont/cp1258.map @@ -0,0 +1,247 @@ +!00 U+0000 .notdef +!01 U+0001 .notdef +!02 U+0002 .notdef +!03 U+0003 .notdef +!04 U+0004 .notdef +!05 U+0005 .notdef +!06 U+0006 .notdef +!07 U+0007 .notdef +!08 U+0008 .notdef +!09 U+0009 .notdef +!0A U+000A .notdef +!0B U+000B .notdef +!0C U+000C .notdef +!0D U+000D .notdef +!0E U+000E .notdef +!0F U+000F .notdef +!10 U+0010 .notdef +!11 U+0011 .notdef +!12 U+0012 .notdef +!13 U+0013 .notdef +!14 U+0014 .notdef +!15 U+0015 .notdef +!16 U+0016 .notdef +!17 U+0017 .notdef +!18 U+0018 .notdef +!19 U+0019 .notdef +!1A U+001A .notdef +!1B U+001B .notdef +!1C U+001C .notdef +!1D U+001D .notdef +!1E U+001E .notdef +!1F U+001F .notdef +!20 U+0020 space +!21 U+0021 exclam +!22 U+0022 quotedbl +!23 U+0023 numbersign +!24 U+0024 dollar +!25 U+0025 percent +!26 U+0026 ampersand +!27 U+0027 quotesingle +!28 U+0028 parenleft +!29 U+0029 parenright +!2A U+002A asterisk +!2B U+002B plus +!2C U+002C comma +!2D U+002D hyphen +!2E U+002E period +!2F U+002F slash +!30 U+0030 zero +!31 U+0031 one +!32 U+0032 two +!33 U+0033 three +!34 U+0034 four +!35 U+0035 five +!36 U+0036 six +!37 U+0037 seven +!38 U+0038 eight +!39 U+0039 nine +!3A U+003A colon +!3B U+003B semicolon +!3C U+003C less +!3D U+003D equal +!3E U+003E greater +!3F U+003F question +!40 U+0040 at +!41 U+0041 A +!42 U+0042 B +!43 U+0043 C +!44 U+0044 D +!45 U+0045 E +!46 U+0046 F +!47 U+0047 G +!48 U+0048 H +!49 U+0049 I +!4A U+004A J +!4B U+004B K +!4C U+004C L +!4D U+004D M +!4E U+004E N +!4F U+004F O +!50 U+0050 P +!51 U+0051 Q +!52 U+0052 R +!53 U+0053 S +!54 U+0054 T +!55 U+0055 U +!56 U+0056 V +!57 U+0057 W +!58 U+0058 X +!59 U+0059 Y +!5A U+005A Z +!5B U+005B bracketleft +!5C U+005C backslash +!5D U+005D bracketright +!5E U+005E asciicircum +!5F U+005F underscore +!60 U+0060 grave +!61 U+0061 a +!62 U+0062 b +!63 U+0063 c +!64 U+0064 d +!65 U+0065 e +!66 U+0066 f +!67 U+0067 g +!68 U+0068 h +!69 U+0069 i +!6A U+006A j +!6B U+006B k +!6C U+006C l +!6D U+006D m +!6E U+006E n +!6F U+006F o +!70 U+0070 p +!71 U+0071 q +!72 U+0072 r +!73 U+0073 s +!74 U+0074 t +!75 U+0075 u +!76 U+0076 v +!77 U+0077 w +!78 U+0078 x +!79 U+0079 y +!7A U+007A z +!7B U+007B braceleft +!7C U+007C bar +!7D U+007D braceright +!7E U+007E asciitilde +!7F U+007F .notdef +!80 U+20AC Euro +!82 U+201A quotesinglbase +!83 U+0192 florin +!84 U+201E quotedblbase +!85 U+2026 ellipsis +!86 U+2020 dagger +!87 U+2021 daggerdbl +!88 U+02C6 circumflex +!89 U+2030 perthousand +!8B U+2039 guilsinglleft +!8C U+0152 OE +!91 U+2018 quoteleft +!92 U+2019 quoteright +!93 U+201C quotedblleft +!94 U+201D quotedblright +!95 U+2022 bullet +!96 U+2013 endash +!97 U+2014 emdash +!98 U+02DC tilde +!99 U+2122 trademark +!9B U+203A guilsinglright +!9C U+0153 oe +!9F U+0178 Ydieresis +!A0 U+00A0 space +!A1 U+00A1 exclamdown +!A2 U+00A2 cent +!A3 U+00A3 sterling +!A4 U+00A4 currency +!A5 U+00A5 yen +!A6 U+00A6 brokenbar +!A7 U+00A7 section +!A8 U+00A8 dieresis +!A9 U+00A9 copyright +!AA U+00AA ordfeminine +!AB U+00AB guillemotleft +!AC U+00AC logicalnot +!AD U+00AD hyphen +!AE U+00AE registered +!AF U+00AF macron +!B0 U+00B0 degree +!B1 U+00B1 plusminus +!B2 U+00B2 twosuperior +!B3 U+00B3 threesuperior +!B4 U+00B4 acute +!B5 U+00B5 mu +!B6 U+00B6 paragraph +!B7 U+00B7 periodcentered +!B8 U+00B8 cedilla +!B9 U+00B9 onesuperior +!BA U+00BA ordmasculine +!BB U+00BB guillemotright +!BC U+00BC onequarter +!BD U+00BD onehalf +!BE U+00BE threequarters +!BF U+00BF questiondown +!C0 U+00C0 Agrave +!C1 U+00C1 Aacute +!C2 U+00C2 Acircumflex +!C3 U+0102 Abreve +!C4 U+00C4 Adieresis +!C5 U+00C5 Aring +!C6 U+00C6 AE +!C7 U+00C7 Ccedilla +!C8 U+00C8 Egrave +!C9 U+00C9 Eacute +!CA U+00CA Ecircumflex +!CB U+00CB Edieresis +!CC U+0300 gravecomb +!CD U+00CD Iacute +!CE U+00CE Icircumflex +!CF U+00CF Idieresis +!D0 U+0110 Dcroat +!D1 U+00D1 Ntilde +!D2 U+0309 hookabovecomb +!D3 U+00D3 Oacute +!D4 U+00D4 Ocircumflex +!D5 U+01A0 Ohorn +!D6 U+00D6 Odieresis +!D7 U+00D7 multiply +!D8 U+00D8 Oslash +!D9 U+00D9 Ugrave +!DA U+00DA Uacute +!DB U+00DB Ucircumflex +!DC U+00DC Udieresis +!DD U+01AF Uhorn +!DE U+0303 tildecomb +!DF U+00DF germandbls +!E0 U+00E0 agrave +!E1 U+00E1 aacute +!E2 U+00E2 acircumflex +!E3 U+0103 abreve +!E4 U+00E4 adieresis +!E5 U+00E5 aring +!E6 U+00E6 ae +!E7 U+00E7 ccedilla +!E8 U+00E8 egrave +!E9 U+00E9 eacute +!EA U+00EA ecircumflex +!EB U+00EB edieresis +!EC U+0301 acutecomb +!ED U+00ED iacute +!EE U+00EE icircumflex +!EF U+00EF idieresis +!F0 U+0111 dcroat +!F1 U+00F1 ntilde +!F2 U+0323 dotbelowcomb +!F3 U+00F3 oacute +!F4 U+00F4 ocircumflex +!F5 U+01A1 ohorn +!F6 U+00F6 odieresis +!F7 U+00F7 divide +!F8 U+00F8 oslash +!F9 U+00F9 ugrave +!FA U+00FA uacute +!FB U+00FB ucircumflex +!FC U+00FC udieresis +!FD U+01B0 uhorn +!FE U+20AB dong +!FF U+00FF ydieresis diff --git a/application/libraries/fpdf/makefont/cp874.map b/application/libraries/fpdf/makefont/cp874.map new file mode 100644 index 0000000..1006e6b --- /dev/null +++ b/application/libraries/fpdf/makefont/cp874.map @@ -0,0 +1,225 @@ +!00 U+0000 .notdef +!01 U+0001 .notdef +!02 U+0002 .notdef +!03 U+0003 .notdef +!04 U+0004 .notdef +!05 U+0005 .notdef +!06 U+0006 .notdef +!07 U+0007 .notdef +!08 U+0008 .notdef +!09 U+0009 .notdef +!0A U+000A .notdef +!0B U+000B .notdef +!0C U+000C .notdef +!0D U+000D .notdef +!0E U+000E .notdef +!0F U+000F .notdef +!10 U+0010 .notdef +!11 U+0011 .notdef +!12 U+0012 .notdef +!13 U+0013 .notdef +!14 U+0014 .notdef +!15 U+0015 .notdef +!16 U+0016 .notdef +!17 U+0017 .notdef +!18 U+0018 .notdef +!19 U+0019 .notdef +!1A U+001A .notdef +!1B U+001B .notdef +!1C U+001C .notdef +!1D U+001D .notdef +!1E U+001E .notdef +!1F U+001F .notdef +!20 U+0020 space +!21 U+0021 exclam +!22 U+0022 quotedbl +!23 U+0023 numbersign +!24 U+0024 dollar +!25 U+0025 percent +!26 U+0026 ampersand +!27 U+0027 quotesingle +!28 U+0028 parenleft +!29 U+0029 parenright +!2A U+002A asterisk +!2B U+002B plus +!2C U+002C comma +!2D U+002D hyphen +!2E U+002E period +!2F U+002F slash +!30 U+0030 zero +!31 U+0031 one +!32 U+0032 two +!33 U+0033 three +!34 U+0034 four +!35 U+0035 five +!36 U+0036 six +!37 U+0037 seven +!38 U+0038 eight +!39 U+0039 nine +!3A U+003A colon +!3B U+003B semicolon +!3C U+003C less +!3D U+003D equal +!3E U+003E greater +!3F U+003F question +!40 U+0040 at +!41 U+0041 A +!42 U+0042 B +!43 U+0043 C +!44 U+0044 D +!45 U+0045 E +!46 U+0046 F +!47 U+0047 G +!48 U+0048 H +!49 U+0049 I +!4A U+004A J +!4B U+004B K +!4C U+004C L +!4D U+004D M +!4E U+004E N +!4F U+004F O +!50 U+0050 P +!51 U+0051 Q +!52 U+0052 R +!53 U+0053 S +!54 U+0054 T +!55 U+0055 U +!56 U+0056 V +!57 U+0057 W +!58 U+0058 X +!59 U+0059 Y +!5A U+005A Z +!5B U+005B bracketleft +!5C U+005C backslash +!5D U+005D bracketright +!5E U+005E asciicircum +!5F U+005F underscore +!60 U+0060 grave +!61 U+0061 a +!62 U+0062 b +!63 U+0063 c +!64 U+0064 d +!65 U+0065 e +!66 U+0066 f +!67 U+0067 g +!68 U+0068 h +!69 U+0069 i +!6A U+006A j +!6B U+006B k +!6C U+006C l +!6D U+006D m +!6E U+006E n +!6F U+006F o +!70 U+0070 p +!71 U+0071 q +!72 U+0072 r +!73 U+0073 s +!74 U+0074 t +!75 U+0075 u +!76 U+0076 v +!77 U+0077 w +!78 U+0078 x +!79 U+0079 y +!7A U+007A z +!7B U+007B braceleft +!7C U+007C bar +!7D U+007D braceright +!7E U+007E asciitilde +!7F U+007F .notdef +!80 U+20AC Euro +!85 U+2026 ellipsis +!91 U+2018 quoteleft +!92 U+2019 quoteright +!93 U+201C quotedblleft +!94 U+201D quotedblright +!95 U+2022 bullet +!96 U+2013 endash +!97 U+2014 emdash +!A0 U+00A0 space +!A1 U+0E01 kokaithai +!A2 U+0E02 khokhaithai +!A3 U+0E03 khokhuatthai +!A4 U+0E04 khokhwaithai +!A5 U+0E05 khokhonthai +!A6 U+0E06 khorakhangthai +!A7 U+0E07 ngonguthai +!A8 U+0E08 chochanthai +!A9 U+0E09 chochingthai +!AA U+0E0A chochangthai +!AB U+0E0B sosothai +!AC U+0E0C chochoethai +!AD U+0E0D yoyingthai +!AE U+0E0E dochadathai +!AF U+0E0F topatakthai +!B0 U+0E10 thothanthai +!B1 U+0E11 thonangmonthothai +!B2 U+0E12 thophuthaothai +!B3 U+0E13 nonenthai +!B4 U+0E14 dodekthai +!B5 U+0E15 totaothai +!B6 U+0E16 thothungthai +!B7 U+0E17 thothahanthai +!B8 U+0E18 thothongthai +!B9 U+0E19 nonuthai +!BA U+0E1A bobaimaithai +!BB U+0E1B poplathai +!BC U+0E1C phophungthai +!BD U+0E1D fofathai +!BE U+0E1E phophanthai +!BF U+0E1F fofanthai +!C0 U+0E20 phosamphaothai +!C1 U+0E21 momathai +!C2 U+0E22 yoyakthai +!C3 U+0E23 roruathai +!C4 U+0E24 ruthai +!C5 U+0E25 lolingthai +!C6 U+0E26 luthai +!C7 U+0E27 wowaenthai +!C8 U+0E28 sosalathai +!C9 U+0E29 sorusithai +!CA U+0E2A sosuathai +!CB U+0E2B hohipthai +!CC U+0E2C lochulathai +!CD U+0E2D oangthai +!CE U+0E2E honokhukthai +!CF U+0E2F paiyannoithai +!D0 U+0E30 saraathai +!D1 U+0E31 maihanakatthai +!D2 U+0E32 saraaathai +!D3 U+0E33 saraamthai +!D4 U+0E34 saraithai +!D5 U+0E35 saraiithai +!D6 U+0E36 sarauethai +!D7 U+0E37 saraueethai +!D8 U+0E38 sarauthai +!D9 U+0E39 sarauuthai +!DA U+0E3A phinthuthai +!DF U+0E3F bahtthai +!E0 U+0E40 saraethai +!E1 U+0E41 saraaethai +!E2 U+0E42 saraothai +!E3 U+0E43 saraaimaimuanthai +!E4 U+0E44 saraaimaimalaithai +!E5 U+0E45 lakkhangyaothai +!E6 U+0E46 maiyamokthai +!E7 U+0E47 maitaikhuthai +!E8 U+0E48 maiekthai +!E9 U+0E49 maithothai +!EA U+0E4A maitrithai +!EB U+0E4B maichattawathai +!EC U+0E4C thanthakhatthai +!ED U+0E4D nikhahitthai +!EE U+0E4E yamakkanthai +!EF U+0E4F fongmanthai +!F0 U+0E50 zerothai +!F1 U+0E51 onethai +!F2 U+0E52 twothai +!F3 U+0E53 threethai +!F4 U+0E54 fourthai +!F5 U+0E55 fivethai +!F6 U+0E56 sixthai +!F7 U+0E57 seventhai +!F8 U+0E58 eightthai +!F9 U+0E59 ninethai +!FA U+0E5A angkhankhuthai +!FB U+0E5B khomutthai diff --git a/application/libraries/fpdf/makefont/iso-8859-1.map b/application/libraries/fpdf/makefont/iso-8859-1.map new file mode 100644 index 0000000..61740a3 --- /dev/null +++ b/application/libraries/fpdf/makefont/iso-8859-1.map @@ -0,0 +1,256 @@ +!00 U+0000 .notdef +!01 U+0001 .notdef +!02 U+0002 .notdef +!03 U+0003 .notdef +!04 U+0004 .notdef +!05 U+0005 .notdef +!06 U+0006 .notdef +!07 U+0007 .notdef +!08 U+0008 .notdef +!09 U+0009 .notdef +!0A U+000A .notdef +!0B U+000B .notdef +!0C U+000C .notdef +!0D U+000D .notdef +!0E U+000E .notdef +!0F U+000F .notdef +!10 U+0010 .notdef +!11 U+0011 .notdef +!12 U+0012 .notdef +!13 U+0013 .notdef +!14 U+0014 .notdef +!15 U+0015 .notdef +!16 U+0016 .notdef +!17 U+0017 .notdef +!18 U+0018 .notdef +!19 U+0019 .notdef +!1A U+001A .notdef +!1B U+001B .notdef +!1C U+001C .notdef +!1D U+001D .notdef +!1E U+001E .notdef +!1F U+001F .notdef +!20 U+0020 space +!21 U+0021 exclam +!22 U+0022 quotedbl +!23 U+0023 numbersign +!24 U+0024 dollar +!25 U+0025 percent +!26 U+0026 ampersand +!27 U+0027 quotesingle +!28 U+0028 parenleft +!29 U+0029 parenright +!2A U+002A asterisk +!2B U+002B plus +!2C U+002C comma +!2D U+002D hyphen +!2E U+002E period +!2F U+002F slash +!30 U+0030 zero +!31 U+0031 one +!32 U+0032 two +!33 U+0033 three +!34 U+0034 four +!35 U+0035 five +!36 U+0036 six +!37 U+0037 seven +!38 U+0038 eight +!39 U+0039 nine +!3A U+003A colon +!3B U+003B semicolon +!3C U+003C less +!3D U+003D equal +!3E U+003E greater +!3F U+003F question +!40 U+0040 at +!41 U+0041 A +!42 U+0042 B +!43 U+0043 C +!44 U+0044 D +!45 U+0045 E +!46 U+0046 F +!47 U+0047 G +!48 U+0048 H +!49 U+0049 I +!4A U+004A J +!4B U+004B K +!4C U+004C L +!4D U+004D M +!4E U+004E N +!4F U+004F O +!50 U+0050 P +!51 U+0051 Q +!52 U+0052 R +!53 U+0053 S +!54 U+0054 T +!55 U+0055 U +!56 U+0056 V +!57 U+0057 W +!58 U+0058 X +!59 U+0059 Y +!5A U+005A Z +!5B U+005B bracketleft +!5C U+005C backslash +!5D U+005D bracketright +!5E U+005E asciicircum +!5F U+005F underscore +!60 U+0060 grave +!61 U+0061 a +!62 U+0062 b +!63 U+0063 c +!64 U+0064 d +!65 U+0065 e +!66 U+0066 f +!67 U+0067 g +!68 U+0068 h +!69 U+0069 i +!6A U+006A j +!6B U+006B k +!6C U+006C l +!6D U+006D m +!6E U+006E n +!6F U+006F o +!70 U+0070 p +!71 U+0071 q +!72 U+0072 r +!73 U+0073 s +!74 U+0074 t +!75 U+0075 u +!76 U+0076 v +!77 U+0077 w +!78 U+0078 x +!79 U+0079 y +!7A U+007A z +!7B U+007B braceleft +!7C U+007C bar +!7D U+007D braceright +!7E U+007E asciitilde +!7F U+007F .notdef +!80 U+0080 .notdef +!81 U+0081 .notdef +!82 U+0082 .notdef +!83 U+0083 .notdef +!84 U+0084 .notdef +!85 U+0085 .notdef +!86 U+0086 .notdef +!87 U+0087 .notdef +!88 U+0088 .notdef +!89 U+0089 .notdef +!8A U+008A .notdef +!8B U+008B .notdef +!8C U+008C .notdef +!8D U+008D .notdef +!8E U+008E .notdef +!8F U+008F .notdef +!90 U+0090 .notdef +!91 U+0091 .notdef +!92 U+0092 .notdef +!93 U+0093 .notdef +!94 U+0094 .notdef +!95 U+0095 .notdef +!96 U+0096 .notdef +!97 U+0097 .notdef +!98 U+0098 .notdef +!99 U+0099 .notdef +!9A U+009A .notdef +!9B U+009B .notdef +!9C U+009C .notdef +!9D U+009D .notdef +!9E U+009E .notdef +!9F U+009F .notdef +!A0 U+00A0 space +!A1 U+00A1 exclamdown +!A2 U+00A2 cent +!A3 U+00A3 sterling +!A4 U+00A4 currency +!A5 U+00A5 yen +!A6 U+00A6 brokenbar +!A7 U+00A7 section +!A8 U+00A8 dieresis +!A9 U+00A9 copyright +!AA U+00AA ordfeminine +!AB U+00AB guillemotleft +!AC U+00AC logicalnot +!AD U+00AD hyphen +!AE U+00AE registered +!AF U+00AF macron +!B0 U+00B0 degree +!B1 U+00B1 plusminus +!B2 U+00B2 twosuperior +!B3 U+00B3 threesuperior +!B4 U+00B4 acute +!B5 U+00B5 mu +!B6 U+00B6 paragraph +!B7 U+00B7 periodcentered +!B8 U+00B8 cedilla +!B9 U+00B9 onesuperior +!BA U+00BA ordmasculine +!BB U+00BB guillemotright +!BC U+00BC onequarter +!BD U+00BD onehalf +!BE U+00BE threequarters +!BF U+00BF questiondown +!C0 U+00C0 Agrave +!C1 U+00C1 Aacute +!C2 U+00C2 Acircumflex +!C3 U+00C3 Atilde +!C4 U+00C4 Adieresis +!C5 U+00C5 Aring +!C6 U+00C6 AE +!C7 U+00C7 Ccedilla +!C8 U+00C8 Egrave +!C9 U+00C9 Eacute +!CA U+00CA Ecircumflex +!CB U+00CB Edieresis +!CC U+00CC Igrave +!CD U+00CD Iacute +!CE U+00CE Icircumflex +!CF U+00CF Idieresis +!D0 U+00D0 Eth +!D1 U+00D1 Ntilde +!D2 U+00D2 Ograve +!D3 U+00D3 Oacute +!D4 U+00D4 Ocircumflex +!D5 U+00D5 Otilde +!D6 U+00D6 Odieresis +!D7 U+00D7 multiply +!D8 U+00D8 Oslash +!D9 U+00D9 Ugrave +!DA U+00DA Uacute +!DB U+00DB Ucircumflex +!DC U+00DC Udieresis +!DD U+00DD Yacute +!DE U+00DE Thorn +!DF U+00DF germandbls +!E0 U+00E0 agrave +!E1 U+00E1 aacute +!E2 U+00E2 acircumflex +!E3 U+00E3 atilde +!E4 U+00E4 adieresis +!E5 U+00E5 aring +!E6 U+00E6 ae +!E7 U+00E7 ccedilla +!E8 U+00E8 egrave +!E9 U+00E9 eacute +!EA U+00EA ecircumflex +!EB U+00EB edieresis +!EC U+00EC igrave +!ED U+00ED iacute +!EE U+00EE icircumflex +!EF U+00EF idieresis +!F0 U+00F0 eth +!F1 U+00F1 ntilde +!F2 U+00F2 ograve +!F3 U+00F3 oacute +!F4 U+00F4 ocircumflex +!F5 U+00F5 otilde +!F6 U+00F6 odieresis +!F7 U+00F7 divide +!F8 U+00F8 oslash +!F9 U+00F9 ugrave +!FA U+00FA uacute +!FB U+00FB ucircumflex +!FC U+00FC udieresis +!FD U+00FD yacute +!FE U+00FE thorn +!FF U+00FF ydieresis diff --git a/application/libraries/fpdf/makefont/iso-8859-11.map b/application/libraries/fpdf/makefont/iso-8859-11.map new file mode 100644 index 0000000..9168812 --- /dev/null +++ b/application/libraries/fpdf/makefont/iso-8859-11.map @@ -0,0 +1,248 @@ +!00 U+0000 .notdef +!01 U+0001 .notdef +!02 U+0002 .notdef +!03 U+0003 .notdef +!04 U+0004 .notdef +!05 U+0005 .notdef +!06 U+0006 .notdef +!07 U+0007 .notdef +!08 U+0008 .notdef +!09 U+0009 .notdef +!0A U+000A .notdef +!0B U+000B .notdef +!0C U+000C .notdef +!0D U+000D .notdef +!0E U+000E .notdef +!0F U+000F .notdef +!10 U+0010 .notdef +!11 U+0011 .notdef +!12 U+0012 .notdef +!13 U+0013 .notdef +!14 U+0014 .notdef +!15 U+0015 .notdef +!16 U+0016 .notdef +!17 U+0017 .notdef +!18 U+0018 .notdef +!19 U+0019 .notdef +!1A U+001A .notdef +!1B U+001B .notdef +!1C U+001C .notdef +!1D U+001D .notdef +!1E U+001E .notdef +!1F U+001F .notdef +!20 U+0020 space +!21 U+0021 exclam +!22 U+0022 quotedbl +!23 U+0023 numbersign +!24 U+0024 dollar +!25 U+0025 percent +!26 U+0026 ampersand +!27 U+0027 quotesingle +!28 U+0028 parenleft +!29 U+0029 parenright +!2A U+002A asterisk +!2B U+002B plus +!2C U+002C comma +!2D U+002D hyphen +!2E U+002E period +!2F U+002F slash +!30 U+0030 zero +!31 U+0031 one +!32 U+0032 two +!33 U+0033 three +!34 U+0034 four +!35 U+0035 five +!36 U+0036 six +!37 U+0037 seven +!38 U+0038 eight +!39 U+0039 nine +!3A U+003A colon +!3B U+003B semicolon +!3C U+003C less +!3D U+003D equal +!3E U+003E greater +!3F U+003F question +!40 U+0040 at +!41 U+0041 A +!42 U+0042 B +!43 U+0043 C +!44 U+0044 D +!45 U+0045 E +!46 U+0046 F +!47 U+0047 G +!48 U+0048 H +!49 U+0049 I +!4A U+004A J +!4B U+004B K +!4C U+004C L +!4D U+004D M +!4E U+004E N +!4F U+004F O +!50 U+0050 P +!51 U+0051 Q +!52 U+0052 R +!53 U+0053 S +!54 U+0054 T +!55 U+0055 U +!56 U+0056 V +!57 U+0057 W +!58 U+0058 X +!59 U+0059 Y +!5A U+005A Z +!5B U+005B bracketleft +!5C U+005C backslash +!5D U+005D bracketright +!5E U+005E asciicircum +!5F U+005F underscore +!60 U+0060 grave +!61 U+0061 a +!62 U+0062 b +!63 U+0063 c +!64 U+0064 d +!65 U+0065 e +!66 U+0066 f +!67 U+0067 g +!68 U+0068 h +!69 U+0069 i +!6A U+006A j +!6B U+006B k +!6C U+006C l +!6D U+006D m +!6E U+006E n +!6F U+006F o +!70 U+0070 p +!71 U+0071 q +!72 U+0072 r +!73 U+0073 s +!74 U+0074 t +!75 U+0075 u +!76 U+0076 v +!77 U+0077 w +!78 U+0078 x +!79 U+0079 y +!7A U+007A z +!7B U+007B braceleft +!7C U+007C bar +!7D U+007D braceright +!7E U+007E asciitilde +!7F U+007F .notdef +!80 U+0080 .notdef +!81 U+0081 .notdef +!82 U+0082 .notdef +!83 U+0083 .notdef +!84 U+0084 .notdef +!85 U+0085 .notdef +!86 U+0086 .notdef +!87 U+0087 .notdef +!88 U+0088 .notdef +!89 U+0089 .notdef +!8A U+008A .notdef +!8B U+008B .notdef +!8C U+008C .notdef +!8D U+008D .notdef +!8E U+008E .notdef +!8F U+008F .notdef +!90 U+0090 .notdef +!91 U+0091 .notdef +!92 U+0092 .notdef +!93 U+0093 .notdef +!94 U+0094 .notdef +!95 U+0095 .notdef +!96 U+0096 .notdef +!97 U+0097 .notdef +!98 U+0098 .notdef +!99 U+0099 .notdef +!9A U+009A .notdef +!9B U+009B .notdef +!9C U+009C .notdef +!9D U+009D .notdef +!9E U+009E .notdef +!9F U+009F .notdef +!A0 U+00A0 space +!A1 U+0E01 kokaithai +!A2 U+0E02 khokhaithai +!A3 U+0E03 khokhuatthai +!A4 U+0E04 khokhwaithai +!A5 U+0E05 khokhonthai +!A6 U+0E06 khorakhangthai +!A7 U+0E07 ngonguthai +!A8 U+0E08 chochanthai +!A9 U+0E09 chochingthai +!AA U+0E0A chochangthai +!AB U+0E0B sosothai +!AC U+0E0C chochoethai +!AD U+0E0D yoyingthai +!AE U+0E0E dochadathai +!AF U+0E0F topatakthai +!B0 U+0E10 thothanthai +!B1 U+0E11 thonangmonthothai +!B2 U+0E12 thophuthaothai +!B3 U+0E13 nonenthai +!B4 U+0E14 dodekthai +!B5 U+0E15 totaothai +!B6 U+0E16 thothungthai +!B7 U+0E17 thothahanthai +!B8 U+0E18 thothongthai +!B9 U+0E19 nonuthai +!BA U+0E1A bobaimaithai +!BB U+0E1B poplathai +!BC U+0E1C phophungthai +!BD U+0E1D fofathai +!BE U+0E1E phophanthai +!BF U+0E1F fofanthai +!C0 U+0E20 phosamphaothai +!C1 U+0E21 momathai +!C2 U+0E22 yoyakthai +!C3 U+0E23 roruathai +!C4 U+0E24 ruthai +!C5 U+0E25 lolingthai +!C6 U+0E26 luthai +!C7 U+0E27 wowaenthai +!C8 U+0E28 sosalathai +!C9 U+0E29 sorusithai +!CA U+0E2A sosuathai +!CB U+0E2B hohipthai +!CC U+0E2C lochulathai +!CD U+0E2D oangthai +!CE U+0E2E honokhukthai +!CF U+0E2F paiyannoithai +!D0 U+0E30 saraathai +!D1 U+0E31 maihanakatthai +!D2 U+0E32 saraaathai +!D3 U+0E33 saraamthai +!D4 U+0E34 saraithai +!D5 U+0E35 saraiithai +!D6 U+0E36 sarauethai +!D7 U+0E37 saraueethai +!D8 U+0E38 sarauthai +!D9 U+0E39 sarauuthai +!DA U+0E3A phinthuthai +!DF U+0E3F bahtthai +!E0 U+0E40 saraethai +!E1 U+0E41 saraaethai +!E2 U+0E42 saraothai +!E3 U+0E43 saraaimaimuanthai +!E4 U+0E44 saraaimaimalaithai +!E5 U+0E45 lakkhangyaothai +!E6 U+0E46 maiyamokthai +!E7 U+0E47 maitaikhuthai +!E8 U+0E48 maiekthai +!E9 U+0E49 maithothai +!EA U+0E4A maitrithai +!EB U+0E4B maichattawathai +!EC U+0E4C thanthakhatthai +!ED U+0E4D nikhahitthai +!EE U+0E4E yamakkanthai +!EF U+0E4F fongmanthai +!F0 U+0E50 zerothai +!F1 U+0E51 onethai +!F2 U+0E52 twothai +!F3 U+0E53 threethai +!F4 U+0E54 fourthai +!F5 U+0E55 fivethai +!F6 U+0E56 sixthai +!F7 U+0E57 seventhai +!F8 U+0E58 eightthai +!F9 U+0E59 ninethai +!FA U+0E5A angkhankhuthai +!FB U+0E5B khomutthai diff --git a/application/libraries/fpdf/makefont/iso-8859-15.map b/application/libraries/fpdf/makefont/iso-8859-15.map new file mode 100644 index 0000000..6c2b571 --- /dev/null +++ b/application/libraries/fpdf/makefont/iso-8859-15.map @@ -0,0 +1,256 @@ +!00 U+0000 .notdef +!01 U+0001 .notdef +!02 U+0002 .notdef +!03 U+0003 .notdef +!04 U+0004 .notdef +!05 U+0005 .notdef +!06 U+0006 .notdef +!07 U+0007 .notdef +!08 U+0008 .notdef +!09 U+0009 .notdef +!0A U+000A .notdef +!0B U+000B .notdef +!0C U+000C .notdef +!0D U+000D .notdef +!0E U+000E .notdef +!0F U+000F .notdef +!10 U+0010 .notdef +!11 U+0011 .notdef +!12 U+0012 .notdef +!13 U+0013 .notdef +!14 U+0014 .notdef +!15 U+0015 .notdef +!16 U+0016 .notdef +!17 U+0017 .notdef +!18 U+0018 .notdef +!19 U+0019 .notdef +!1A U+001A .notdef +!1B U+001B .notdef +!1C U+001C .notdef +!1D U+001D .notdef +!1E U+001E .notdef +!1F U+001F .notdef +!20 U+0020 space +!21 U+0021 exclam +!22 U+0022 quotedbl +!23 U+0023 numbersign +!24 U+0024 dollar +!25 U+0025 percent +!26 U+0026 ampersand +!27 U+0027 quotesingle +!28 U+0028 parenleft +!29 U+0029 parenright +!2A U+002A asterisk +!2B U+002B plus +!2C U+002C comma +!2D U+002D hyphen +!2E U+002E period +!2F U+002F slash +!30 U+0030 zero +!31 U+0031 one +!32 U+0032 two +!33 U+0033 three +!34 U+0034 four +!35 U+0035 five +!36 U+0036 six +!37 U+0037 seven +!38 U+0038 eight +!39 U+0039 nine +!3A U+003A colon +!3B U+003B semicolon +!3C U+003C less +!3D U+003D equal +!3E U+003E greater +!3F U+003F question +!40 U+0040 at +!41 U+0041 A +!42 U+0042 B +!43 U+0043 C +!44 U+0044 D +!45 U+0045 E +!46 U+0046 F +!47 U+0047 G +!48 U+0048 H +!49 U+0049 I +!4A U+004A J +!4B U+004B K +!4C U+004C L +!4D U+004D M +!4E U+004E N +!4F U+004F O +!50 U+0050 P +!51 U+0051 Q +!52 U+0052 R +!53 U+0053 S +!54 U+0054 T +!55 U+0055 U +!56 U+0056 V +!57 U+0057 W +!58 U+0058 X +!59 U+0059 Y +!5A U+005A Z +!5B U+005B bracketleft +!5C U+005C backslash +!5D U+005D bracketright +!5E U+005E asciicircum +!5F U+005F underscore +!60 U+0060 grave +!61 U+0061 a +!62 U+0062 b +!63 U+0063 c +!64 U+0064 d +!65 U+0065 e +!66 U+0066 f +!67 U+0067 g +!68 U+0068 h +!69 U+0069 i +!6A U+006A j +!6B U+006B k +!6C U+006C l +!6D U+006D m +!6E U+006E n +!6F U+006F o +!70 U+0070 p +!71 U+0071 q +!72 U+0072 r +!73 U+0073 s +!74 U+0074 t +!75 U+0075 u +!76 U+0076 v +!77 U+0077 w +!78 U+0078 x +!79 U+0079 y +!7A U+007A z +!7B U+007B braceleft +!7C U+007C bar +!7D U+007D braceright +!7E U+007E asciitilde +!7F U+007F .notdef +!80 U+0080 .notdef +!81 U+0081 .notdef +!82 U+0082 .notdef +!83 U+0083 .notdef +!84 U+0084 .notdef +!85 U+0085 .notdef +!86 U+0086 .notdef +!87 U+0087 .notdef +!88 U+0088 .notdef +!89 U+0089 .notdef +!8A U+008A .notdef +!8B U+008B .notdef +!8C U+008C .notdef +!8D U+008D .notdef +!8E U+008E .notdef +!8F U+008F .notdef +!90 U+0090 .notdef +!91 U+0091 .notdef +!92 U+0092 .notdef +!93 U+0093 .notdef +!94 U+0094 .notdef +!95 U+0095 .notdef +!96 U+0096 .notdef +!97 U+0097 .notdef +!98 U+0098 .notdef +!99 U+0099 .notdef +!9A U+009A .notdef +!9B U+009B .notdef +!9C U+009C .notdef +!9D U+009D .notdef +!9E U+009E .notdef +!9F U+009F .notdef +!A0 U+00A0 space +!A1 U+00A1 exclamdown +!A2 U+00A2 cent +!A3 U+00A3 sterling +!A4 U+20AC Euro +!A5 U+00A5 yen +!A6 U+0160 Scaron +!A7 U+00A7 section +!A8 U+0161 scaron +!A9 U+00A9 copyright +!AA U+00AA ordfeminine +!AB U+00AB guillemotleft +!AC U+00AC logicalnot +!AD U+00AD hyphen +!AE U+00AE registered +!AF U+00AF macron +!B0 U+00B0 degree +!B1 U+00B1 plusminus +!B2 U+00B2 twosuperior +!B3 U+00B3 threesuperior +!B4 U+017D Zcaron +!B5 U+00B5 mu +!B6 U+00B6 paragraph +!B7 U+00B7 periodcentered +!B8 U+017E zcaron +!B9 U+00B9 onesuperior +!BA U+00BA ordmasculine +!BB U+00BB guillemotright +!BC U+0152 OE +!BD U+0153 oe +!BE U+0178 Ydieresis +!BF U+00BF questiondown +!C0 U+00C0 Agrave +!C1 U+00C1 Aacute +!C2 U+00C2 Acircumflex +!C3 U+00C3 Atilde +!C4 U+00C4 Adieresis +!C5 U+00C5 Aring +!C6 U+00C6 AE +!C7 U+00C7 Ccedilla +!C8 U+00C8 Egrave +!C9 U+00C9 Eacute +!CA U+00CA Ecircumflex +!CB U+00CB Edieresis +!CC U+00CC Igrave +!CD U+00CD Iacute +!CE U+00CE Icircumflex +!CF U+00CF Idieresis +!D0 U+00D0 Eth +!D1 U+00D1 Ntilde +!D2 U+00D2 Ograve +!D3 U+00D3 Oacute +!D4 U+00D4 Ocircumflex +!D5 U+00D5 Otilde +!D6 U+00D6 Odieresis +!D7 U+00D7 multiply +!D8 U+00D8 Oslash +!D9 U+00D9 Ugrave +!DA U+00DA Uacute +!DB U+00DB Ucircumflex +!DC U+00DC Udieresis +!DD U+00DD Yacute +!DE U+00DE Thorn +!DF U+00DF germandbls +!E0 U+00E0 agrave +!E1 U+00E1 aacute +!E2 U+00E2 acircumflex +!E3 U+00E3 atilde +!E4 U+00E4 adieresis +!E5 U+00E5 aring +!E6 U+00E6 ae +!E7 U+00E7 ccedilla +!E8 U+00E8 egrave +!E9 U+00E9 eacute +!EA U+00EA ecircumflex +!EB U+00EB edieresis +!EC U+00EC igrave +!ED U+00ED iacute +!EE U+00EE icircumflex +!EF U+00EF idieresis +!F0 U+00F0 eth +!F1 U+00F1 ntilde +!F2 U+00F2 ograve +!F3 U+00F3 oacute +!F4 U+00F4 ocircumflex +!F5 U+00F5 otilde +!F6 U+00F6 odieresis +!F7 U+00F7 divide +!F8 U+00F8 oslash +!F9 U+00F9 ugrave +!FA U+00FA uacute +!FB U+00FB ucircumflex +!FC U+00FC udieresis +!FD U+00FD yacute +!FE U+00FE thorn +!FF U+00FF ydieresis diff --git a/application/libraries/fpdf/makefont/iso-8859-16.map b/application/libraries/fpdf/makefont/iso-8859-16.map new file mode 100644 index 0000000..202c8fe --- /dev/null +++ b/application/libraries/fpdf/makefont/iso-8859-16.map @@ -0,0 +1,256 @@ +!00 U+0000 .notdef +!01 U+0001 .notdef +!02 U+0002 .notdef +!03 U+0003 .notdef +!04 U+0004 .notdef +!05 U+0005 .notdef +!06 U+0006 .notdef +!07 U+0007 .notdef +!08 U+0008 .notdef +!09 U+0009 .notdef +!0A U+000A .notdef +!0B U+000B .notdef +!0C U+000C .notdef +!0D U+000D .notdef +!0E U+000E .notdef +!0F U+000F .notdef +!10 U+0010 .notdef +!11 U+0011 .notdef +!12 U+0012 .notdef +!13 U+0013 .notdef +!14 U+0014 .notdef +!15 U+0015 .notdef +!16 U+0016 .notdef +!17 U+0017 .notdef +!18 U+0018 .notdef +!19 U+0019 .notdef +!1A U+001A .notdef +!1B U+001B .notdef +!1C U+001C .notdef +!1D U+001D .notdef +!1E U+001E .notdef +!1F U+001F .notdef +!20 U+0020 space +!21 U+0021 exclam +!22 U+0022 quotedbl +!23 U+0023 numbersign +!24 U+0024 dollar +!25 U+0025 percent +!26 U+0026 ampersand +!27 U+0027 quotesingle +!28 U+0028 parenleft +!29 U+0029 parenright +!2A U+002A asterisk +!2B U+002B plus +!2C U+002C comma +!2D U+002D hyphen +!2E U+002E period +!2F U+002F slash +!30 U+0030 zero +!31 U+0031 one +!32 U+0032 two +!33 U+0033 three +!34 U+0034 four +!35 U+0035 five +!36 U+0036 six +!37 U+0037 seven +!38 U+0038 eight +!39 U+0039 nine +!3A U+003A colon +!3B U+003B semicolon +!3C U+003C less +!3D U+003D equal +!3E U+003E greater +!3F U+003F question +!40 U+0040 at +!41 U+0041 A +!42 U+0042 B +!43 U+0043 C +!44 U+0044 D +!45 U+0045 E +!46 U+0046 F +!47 U+0047 G +!48 U+0048 H +!49 U+0049 I +!4A U+004A J +!4B U+004B K +!4C U+004C L +!4D U+004D M +!4E U+004E N +!4F U+004F O +!50 U+0050 P +!51 U+0051 Q +!52 U+0052 R +!53 U+0053 S +!54 U+0054 T +!55 U+0055 U +!56 U+0056 V +!57 U+0057 W +!58 U+0058 X +!59 U+0059 Y +!5A U+005A Z +!5B U+005B bracketleft +!5C U+005C backslash +!5D U+005D bracketright +!5E U+005E asciicircum +!5F U+005F underscore +!60 U+0060 grave +!61 U+0061 a +!62 U+0062 b +!63 U+0063 c +!64 U+0064 d +!65 U+0065 e +!66 U+0066 f +!67 U+0067 g +!68 U+0068 h +!69 U+0069 i +!6A U+006A j +!6B U+006B k +!6C U+006C l +!6D U+006D m +!6E U+006E n +!6F U+006F o +!70 U+0070 p +!71 U+0071 q +!72 U+0072 r +!73 U+0073 s +!74 U+0074 t +!75 U+0075 u +!76 U+0076 v +!77 U+0077 w +!78 U+0078 x +!79 U+0079 y +!7A U+007A z +!7B U+007B braceleft +!7C U+007C bar +!7D U+007D braceright +!7E U+007E asciitilde +!7F U+007F .notdef +!80 U+0080 .notdef +!81 U+0081 .notdef +!82 U+0082 .notdef +!83 U+0083 .notdef +!84 U+0084 .notdef +!85 U+0085 .notdef +!86 U+0086 .notdef +!87 U+0087 .notdef +!88 U+0088 .notdef +!89 U+0089 .notdef +!8A U+008A .notdef +!8B U+008B .notdef +!8C U+008C .notdef +!8D U+008D .notdef +!8E U+008E .notdef +!8F U+008F .notdef +!90 U+0090 .notdef +!91 U+0091 .notdef +!92 U+0092 .notdef +!93 U+0093 .notdef +!94 U+0094 .notdef +!95 U+0095 .notdef +!96 U+0096 .notdef +!97 U+0097 .notdef +!98 U+0098 .notdef +!99 U+0099 .notdef +!9A U+009A .notdef +!9B U+009B .notdef +!9C U+009C .notdef +!9D U+009D .notdef +!9E U+009E .notdef +!9F U+009F .notdef +!A0 U+00A0 space +!A1 U+0104 Aogonek +!A2 U+0105 aogonek +!A3 U+0141 Lslash +!A4 U+20AC Euro +!A5 U+201E quotedblbase +!A6 U+0160 Scaron +!A7 U+00A7 section +!A8 U+0161 scaron +!A9 U+00A9 copyright +!AA U+0218 Scommaaccent +!AB U+00AB guillemotleft +!AC U+0179 Zacute +!AD U+00AD hyphen +!AE U+017A zacute +!AF U+017B Zdotaccent +!B0 U+00B0 degree +!B1 U+00B1 plusminus +!B2 U+010C Ccaron +!B3 U+0142 lslash +!B4 U+017D Zcaron +!B5 U+201D quotedblright +!B6 U+00B6 paragraph +!B7 U+00B7 periodcentered +!B8 U+017E zcaron +!B9 U+010D ccaron +!BA U+0219 scommaaccent +!BB U+00BB guillemotright +!BC U+0152 OE +!BD U+0153 oe +!BE U+0178 Ydieresis +!BF U+017C zdotaccent +!C0 U+00C0 Agrave +!C1 U+00C1 Aacute +!C2 U+00C2 Acircumflex +!C3 U+0102 Abreve +!C4 U+00C4 Adieresis +!C5 U+0106 Cacute +!C6 U+00C6 AE +!C7 U+00C7 Ccedilla +!C8 U+00C8 Egrave +!C9 U+00C9 Eacute +!CA U+00CA Ecircumflex +!CB U+00CB Edieresis +!CC U+00CC Igrave +!CD U+00CD Iacute +!CE U+00CE Icircumflex +!CF U+00CF Idieresis +!D0 U+0110 Dcroat +!D1 U+0143 Nacute +!D2 U+00D2 Ograve +!D3 U+00D3 Oacute +!D4 U+00D4 Ocircumflex +!D5 U+0150 Ohungarumlaut +!D6 U+00D6 Odieresis +!D7 U+015A Sacute +!D8 U+0170 Uhungarumlaut +!D9 U+00D9 Ugrave +!DA U+00DA Uacute +!DB U+00DB Ucircumflex +!DC U+00DC Udieresis +!DD U+0118 Eogonek +!DE U+021A Tcommaaccent +!DF U+00DF germandbls +!E0 U+00E0 agrave +!E1 U+00E1 aacute +!E2 U+00E2 acircumflex +!E3 U+0103 abreve +!E4 U+00E4 adieresis +!E5 U+0107 cacute +!E6 U+00E6 ae +!E7 U+00E7 ccedilla +!E8 U+00E8 egrave +!E9 U+00E9 eacute +!EA U+00EA ecircumflex +!EB U+00EB edieresis +!EC U+00EC igrave +!ED U+00ED iacute +!EE U+00EE icircumflex +!EF U+00EF idieresis +!F0 U+0111 dcroat +!F1 U+0144 nacute +!F2 U+00F2 ograve +!F3 U+00F3 oacute +!F4 U+00F4 ocircumflex +!F5 U+0151 ohungarumlaut +!F6 U+00F6 odieresis +!F7 U+015B sacute +!F8 U+0171 uhungarumlaut +!F9 U+00F9 ugrave +!FA U+00FA uacute +!FB U+00FB ucircumflex +!FC U+00FC udieresis +!FD U+0119 eogonek +!FE U+021B tcommaaccent +!FF U+00FF ydieresis diff --git a/application/libraries/fpdf/makefont/iso-8859-2.map b/application/libraries/fpdf/makefont/iso-8859-2.map new file mode 100644 index 0000000..65ae09f --- /dev/null +++ b/application/libraries/fpdf/makefont/iso-8859-2.map @@ -0,0 +1,256 @@ +!00 U+0000 .notdef +!01 U+0001 .notdef +!02 U+0002 .notdef +!03 U+0003 .notdef +!04 U+0004 .notdef +!05 U+0005 .notdef +!06 U+0006 .notdef +!07 U+0007 .notdef +!08 U+0008 .notdef +!09 U+0009 .notdef +!0A U+000A .notdef +!0B U+000B .notdef +!0C U+000C .notdef +!0D U+000D .notdef +!0E U+000E .notdef +!0F U+000F .notdef +!10 U+0010 .notdef +!11 U+0011 .notdef +!12 U+0012 .notdef +!13 U+0013 .notdef +!14 U+0014 .notdef +!15 U+0015 .notdef +!16 U+0016 .notdef +!17 U+0017 .notdef +!18 U+0018 .notdef +!19 U+0019 .notdef +!1A U+001A .notdef +!1B U+001B .notdef +!1C U+001C .notdef +!1D U+001D .notdef +!1E U+001E .notdef +!1F U+001F .notdef +!20 U+0020 space +!21 U+0021 exclam +!22 U+0022 quotedbl +!23 U+0023 numbersign +!24 U+0024 dollar +!25 U+0025 percent +!26 U+0026 ampersand +!27 U+0027 quotesingle +!28 U+0028 parenleft +!29 U+0029 parenright +!2A U+002A asterisk +!2B U+002B plus +!2C U+002C comma +!2D U+002D hyphen +!2E U+002E period +!2F U+002F slash +!30 U+0030 zero +!31 U+0031 one +!32 U+0032 two +!33 U+0033 three +!34 U+0034 four +!35 U+0035 five +!36 U+0036 six +!37 U+0037 seven +!38 U+0038 eight +!39 U+0039 nine +!3A U+003A colon +!3B U+003B semicolon +!3C U+003C less +!3D U+003D equal +!3E U+003E greater +!3F U+003F question +!40 U+0040 at +!41 U+0041 A +!42 U+0042 B +!43 U+0043 C +!44 U+0044 D +!45 U+0045 E +!46 U+0046 F +!47 U+0047 G +!48 U+0048 H +!49 U+0049 I +!4A U+004A J +!4B U+004B K +!4C U+004C L +!4D U+004D M +!4E U+004E N +!4F U+004F O +!50 U+0050 P +!51 U+0051 Q +!52 U+0052 R +!53 U+0053 S +!54 U+0054 T +!55 U+0055 U +!56 U+0056 V +!57 U+0057 W +!58 U+0058 X +!59 U+0059 Y +!5A U+005A Z +!5B U+005B bracketleft +!5C U+005C backslash +!5D U+005D bracketright +!5E U+005E asciicircum +!5F U+005F underscore +!60 U+0060 grave +!61 U+0061 a +!62 U+0062 b +!63 U+0063 c +!64 U+0064 d +!65 U+0065 e +!66 U+0066 f +!67 U+0067 g +!68 U+0068 h +!69 U+0069 i +!6A U+006A j +!6B U+006B k +!6C U+006C l +!6D U+006D m +!6E U+006E n +!6F U+006F o +!70 U+0070 p +!71 U+0071 q +!72 U+0072 r +!73 U+0073 s +!74 U+0074 t +!75 U+0075 u +!76 U+0076 v +!77 U+0077 w +!78 U+0078 x +!79 U+0079 y +!7A U+007A z +!7B U+007B braceleft +!7C U+007C bar +!7D U+007D braceright +!7E U+007E asciitilde +!7F U+007F .notdef +!80 U+0080 .notdef +!81 U+0081 .notdef +!82 U+0082 .notdef +!83 U+0083 .notdef +!84 U+0084 .notdef +!85 U+0085 .notdef +!86 U+0086 .notdef +!87 U+0087 .notdef +!88 U+0088 .notdef +!89 U+0089 .notdef +!8A U+008A .notdef +!8B U+008B .notdef +!8C U+008C .notdef +!8D U+008D .notdef +!8E U+008E .notdef +!8F U+008F .notdef +!90 U+0090 .notdef +!91 U+0091 .notdef +!92 U+0092 .notdef +!93 U+0093 .notdef +!94 U+0094 .notdef +!95 U+0095 .notdef +!96 U+0096 .notdef +!97 U+0097 .notdef +!98 U+0098 .notdef +!99 U+0099 .notdef +!9A U+009A .notdef +!9B U+009B .notdef +!9C U+009C .notdef +!9D U+009D .notdef +!9E U+009E .notdef +!9F U+009F .notdef +!A0 U+00A0 space +!A1 U+0104 Aogonek +!A2 U+02D8 breve +!A3 U+0141 Lslash +!A4 U+00A4 currency +!A5 U+013D Lcaron +!A6 U+015A Sacute +!A7 U+00A7 section +!A8 U+00A8 dieresis +!A9 U+0160 Scaron +!AA U+015E Scedilla +!AB U+0164 Tcaron +!AC U+0179 Zacute +!AD U+00AD hyphen +!AE U+017D Zcaron +!AF U+017B Zdotaccent +!B0 U+00B0 degree +!B1 U+0105 aogonek +!B2 U+02DB ogonek +!B3 U+0142 lslash +!B4 U+00B4 acute +!B5 U+013E lcaron +!B6 U+015B sacute +!B7 U+02C7 caron +!B8 U+00B8 cedilla +!B9 U+0161 scaron +!BA U+015F scedilla +!BB U+0165 tcaron +!BC U+017A zacute +!BD U+02DD hungarumlaut +!BE U+017E zcaron +!BF U+017C zdotaccent +!C0 U+0154 Racute +!C1 U+00C1 Aacute +!C2 U+00C2 Acircumflex +!C3 U+0102 Abreve +!C4 U+00C4 Adieresis +!C5 U+0139 Lacute +!C6 U+0106 Cacute +!C7 U+00C7 Ccedilla +!C8 U+010C Ccaron +!C9 U+00C9 Eacute +!CA U+0118 Eogonek +!CB U+00CB Edieresis +!CC U+011A Ecaron +!CD U+00CD Iacute +!CE U+00CE Icircumflex +!CF U+010E Dcaron +!D0 U+0110 Dcroat +!D1 U+0143 Nacute +!D2 U+0147 Ncaron +!D3 U+00D3 Oacute +!D4 U+00D4 Ocircumflex +!D5 U+0150 Ohungarumlaut +!D6 U+00D6 Odieresis +!D7 U+00D7 multiply +!D8 U+0158 Rcaron +!D9 U+016E Uring +!DA U+00DA Uacute +!DB U+0170 Uhungarumlaut +!DC U+00DC Udieresis +!DD U+00DD Yacute +!DE U+0162 Tcommaaccent +!DF U+00DF germandbls +!E0 U+0155 racute +!E1 U+00E1 aacute +!E2 U+00E2 acircumflex +!E3 U+0103 abreve +!E4 U+00E4 adieresis +!E5 U+013A lacute +!E6 U+0107 cacute +!E7 U+00E7 ccedilla +!E8 U+010D ccaron +!E9 U+00E9 eacute +!EA U+0119 eogonek +!EB U+00EB edieresis +!EC U+011B ecaron +!ED U+00ED iacute +!EE U+00EE icircumflex +!EF U+010F dcaron +!F0 U+0111 dcroat +!F1 U+0144 nacute +!F2 U+0148 ncaron +!F3 U+00F3 oacute +!F4 U+00F4 ocircumflex +!F5 U+0151 ohungarumlaut +!F6 U+00F6 odieresis +!F7 U+00F7 divide +!F8 U+0159 rcaron +!F9 U+016F uring +!FA U+00FA uacute +!FB U+0171 uhungarumlaut +!FC U+00FC udieresis +!FD U+00FD yacute +!FE U+0163 tcommaaccent +!FF U+02D9 dotaccent diff --git a/application/libraries/fpdf/makefont/iso-8859-4.map b/application/libraries/fpdf/makefont/iso-8859-4.map new file mode 100644 index 0000000..a7d87bf --- /dev/null +++ b/application/libraries/fpdf/makefont/iso-8859-4.map @@ -0,0 +1,256 @@ +!00 U+0000 .notdef +!01 U+0001 .notdef +!02 U+0002 .notdef +!03 U+0003 .notdef +!04 U+0004 .notdef +!05 U+0005 .notdef +!06 U+0006 .notdef +!07 U+0007 .notdef +!08 U+0008 .notdef +!09 U+0009 .notdef +!0A U+000A .notdef +!0B U+000B .notdef +!0C U+000C .notdef +!0D U+000D .notdef +!0E U+000E .notdef +!0F U+000F .notdef +!10 U+0010 .notdef +!11 U+0011 .notdef +!12 U+0012 .notdef +!13 U+0013 .notdef +!14 U+0014 .notdef +!15 U+0015 .notdef +!16 U+0016 .notdef +!17 U+0017 .notdef +!18 U+0018 .notdef +!19 U+0019 .notdef +!1A U+001A .notdef +!1B U+001B .notdef +!1C U+001C .notdef +!1D U+001D .notdef +!1E U+001E .notdef +!1F U+001F .notdef +!20 U+0020 space +!21 U+0021 exclam +!22 U+0022 quotedbl +!23 U+0023 numbersign +!24 U+0024 dollar +!25 U+0025 percent +!26 U+0026 ampersand +!27 U+0027 quotesingle +!28 U+0028 parenleft +!29 U+0029 parenright +!2A U+002A asterisk +!2B U+002B plus +!2C U+002C comma +!2D U+002D hyphen +!2E U+002E period +!2F U+002F slash +!30 U+0030 zero +!31 U+0031 one +!32 U+0032 two +!33 U+0033 three +!34 U+0034 four +!35 U+0035 five +!36 U+0036 six +!37 U+0037 seven +!38 U+0038 eight +!39 U+0039 nine +!3A U+003A colon +!3B U+003B semicolon +!3C U+003C less +!3D U+003D equal +!3E U+003E greater +!3F U+003F question +!40 U+0040 at +!41 U+0041 A +!42 U+0042 B +!43 U+0043 C +!44 U+0044 D +!45 U+0045 E +!46 U+0046 F +!47 U+0047 G +!48 U+0048 H +!49 U+0049 I +!4A U+004A J +!4B U+004B K +!4C U+004C L +!4D U+004D M +!4E U+004E N +!4F U+004F O +!50 U+0050 P +!51 U+0051 Q +!52 U+0052 R +!53 U+0053 S +!54 U+0054 T +!55 U+0055 U +!56 U+0056 V +!57 U+0057 W +!58 U+0058 X +!59 U+0059 Y +!5A U+005A Z +!5B U+005B bracketleft +!5C U+005C backslash +!5D U+005D bracketright +!5E U+005E asciicircum +!5F U+005F underscore +!60 U+0060 grave +!61 U+0061 a +!62 U+0062 b +!63 U+0063 c +!64 U+0064 d +!65 U+0065 e +!66 U+0066 f +!67 U+0067 g +!68 U+0068 h +!69 U+0069 i +!6A U+006A j +!6B U+006B k +!6C U+006C l +!6D U+006D m +!6E U+006E n +!6F U+006F o +!70 U+0070 p +!71 U+0071 q +!72 U+0072 r +!73 U+0073 s +!74 U+0074 t +!75 U+0075 u +!76 U+0076 v +!77 U+0077 w +!78 U+0078 x +!79 U+0079 y +!7A U+007A z +!7B U+007B braceleft +!7C U+007C bar +!7D U+007D braceright +!7E U+007E asciitilde +!7F U+007F .notdef +!80 U+0080 .notdef +!81 U+0081 .notdef +!82 U+0082 .notdef +!83 U+0083 .notdef +!84 U+0084 .notdef +!85 U+0085 .notdef +!86 U+0086 .notdef +!87 U+0087 .notdef +!88 U+0088 .notdef +!89 U+0089 .notdef +!8A U+008A .notdef +!8B U+008B .notdef +!8C U+008C .notdef +!8D U+008D .notdef +!8E U+008E .notdef +!8F U+008F .notdef +!90 U+0090 .notdef +!91 U+0091 .notdef +!92 U+0092 .notdef +!93 U+0093 .notdef +!94 U+0094 .notdef +!95 U+0095 .notdef +!96 U+0096 .notdef +!97 U+0097 .notdef +!98 U+0098 .notdef +!99 U+0099 .notdef +!9A U+009A .notdef +!9B U+009B .notdef +!9C U+009C .notdef +!9D U+009D .notdef +!9E U+009E .notdef +!9F U+009F .notdef +!A0 U+00A0 space +!A1 U+0104 Aogonek +!A2 U+0138 kgreenlandic +!A3 U+0156 Rcommaaccent +!A4 U+00A4 currency +!A5 U+0128 Itilde +!A6 U+013B Lcommaaccent +!A7 U+00A7 section +!A8 U+00A8 dieresis +!A9 U+0160 Scaron +!AA U+0112 Emacron +!AB U+0122 Gcommaaccent +!AC U+0166 Tbar +!AD U+00AD hyphen +!AE U+017D Zcaron +!AF U+00AF macron +!B0 U+00B0 degree +!B1 U+0105 aogonek +!B2 U+02DB ogonek +!B3 U+0157 rcommaaccent +!B4 U+00B4 acute +!B5 U+0129 itilde +!B6 U+013C lcommaaccent +!B7 U+02C7 caron +!B8 U+00B8 cedilla +!B9 U+0161 scaron +!BA U+0113 emacron +!BB U+0123 gcommaaccent +!BC U+0167 tbar +!BD U+014A Eng +!BE U+017E zcaron +!BF U+014B eng +!C0 U+0100 Amacron +!C1 U+00C1 Aacute +!C2 U+00C2 Acircumflex +!C3 U+00C3 Atilde +!C4 U+00C4 Adieresis +!C5 U+00C5 Aring +!C6 U+00C6 AE +!C7 U+012E Iogonek +!C8 U+010C Ccaron +!C9 U+00C9 Eacute +!CA U+0118 Eogonek +!CB U+00CB Edieresis +!CC U+0116 Edotaccent +!CD U+00CD Iacute +!CE U+00CE Icircumflex +!CF U+012A Imacron +!D0 U+0110 Dcroat +!D1 U+0145 Ncommaaccent +!D2 U+014C Omacron +!D3 U+0136 Kcommaaccent +!D4 U+00D4 Ocircumflex +!D5 U+00D5 Otilde +!D6 U+00D6 Odieresis +!D7 U+00D7 multiply +!D8 U+00D8 Oslash +!D9 U+0172 Uogonek +!DA U+00DA Uacute +!DB U+00DB Ucircumflex +!DC U+00DC Udieresis +!DD U+0168 Utilde +!DE U+016A Umacron +!DF U+00DF germandbls +!E0 U+0101 amacron +!E1 U+00E1 aacute +!E2 U+00E2 acircumflex +!E3 U+00E3 atilde +!E4 U+00E4 adieresis +!E5 U+00E5 aring +!E6 U+00E6 ae +!E7 U+012F iogonek +!E8 U+010D ccaron +!E9 U+00E9 eacute +!EA U+0119 eogonek +!EB U+00EB edieresis +!EC U+0117 edotaccent +!ED U+00ED iacute +!EE U+00EE icircumflex +!EF U+012B imacron +!F0 U+0111 dcroat +!F1 U+0146 ncommaaccent +!F2 U+014D omacron +!F3 U+0137 kcommaaccent +!F4 U+00F4 ocircumflex +!F5 U+00F5 otilde +!F6 U+00F6 odieresis +!F7 U+00F7 divide +!F8 U+00F8 oslash +!F9 U+0173 uogonek +!FA U+00FA uacute +!FB U+00FB ucircumflex +!FC U+00FC udieresis +!FD U+0169 utilde +!FE U+016B umacron +!FF U+02D9 dotaccent diff --git a/application/libraries/fpdf/makefont/iso-8859-5.map b/application/libraries/fpdf/makefont/iso-8859-5.map new file mode 100644 index 0000000..f9cd4ed --- /dev/null +++ b/application/libraries/fpdf/makefont/iso-8859-5.map @@ -0,0 +1,256 @@ +!00 U+0000 .notdef +!01 U+0001 .notdef +!02 U+0002 .notdef +!03 U+0003 .notdef +!04 U+0004 .notdef +!05 U+0005 .notdef +!06 U+0006 .notdef +!07 U+0007 .notdef +!08 U+0008 .notdef +!09 U+0009 .notdef +!0A U+000A .notdef +!0B U+000B .notdef +!0C U+000C .notdef +!0D U+000D .notdef +!0E U+000E .notdef +!0F U+000F .notdef +!10 U+0010 .notdef +!11 U+0011 .notdef +!12 U+0012 .notdef +!13 U+0013 .notdef +!14 U+0014 .notdef +!15 U+0015 .notdef +!16 U+0016 .notdef +!17 U+0017 .notdef +!18 U+0018 .notdef +!19 U+0019 .notdef +!1A U+001A .notdef +!1B U+001B .notdef +!1C U+001C .notdef +!1D U+001D .notdef +!1E U+001E .notdef +!1F U+001F .notdef +!20 U+0020 space +!21 U+0021 exclam +!22 U+0022 quotedbl +!23 U+0023 numbersign +!24 U+0024 dollar +!25 U+0025 percent +!26 U+0026 ampersand +!27 U+0027 quotesingle +!28 U+0028 parenleft +!29 U+0029 parenright +!2A U+002A asterisk +!2B U+002B plus +!2C U+002C comma +!2D U+002D hyphen +!2E U+002E period +!2F U+002F slash +!30 U+0030 zero +!31 U+0031 one +!32 U+0032 two +!33 U+0033 three +!34 U+0034 four +!35 U+0035 five +!36 U+0036 six +!37 U+0037 seven +!38 U+0038 eight +!39 U+0039 nine +!3A U+003A colon +!3B U+003B semicolon +!3C U+003C less +!3D U+003D equal +!3E U+003E greater +!3F U+003F question +!40 U+0040 at +!41 U+0041 A +!42 U+0042 B +!43 U+0043 C +!44 U+0044 D +!45 U+0045 E +!46 U+0046 F +!47 U+0047 G +!48 U+0048 H +!49 U+0049 I +!4A U+004A J +!4B U+004B K +!4C U+004C L +!4D U+004D M +!4E U+004E N +!4F U+004F O +!50 U+0050 P +!51 U+0051 Q +!52 U+0052 R +!53 U+0053 S +!54 U+0054 T +!55 U+0055 U +!56 U+0056 V +!57 U+0057 W +!58 U+0058 X +!59 U+0059 Y +!5A U+005A Z +!5B U+005B bracketleft +!5C U+005C backslash +!5D U+005D bracketright +!5E U+005E asciicircum +!5F U+005F underscore +!60 U+0060 grave +!61 U+0061 a +!62 U+0062 b +!63 U+0063 c +!64 U+0064 d +!65 U+0065 e +!66 U+0066 f +!67 U+0067 g +!68 U+0068 h +!69 U+0069 i +!6A U+006A j +!6B U+006B k +!6C U+006C l +!6D U+006D m +!6E U+006E n +!6F U+006F o +!70 U+0070 p +!71 U+0071 q +!72 U+0072 r +!73 U+0073 s +!74 U+0074 t +!75 U+0075 u +!76 U+0076 v +!77 U+0077 w +!78 U+0078 x +!79 U+0079 y +!7A U+007A z +!7B U+007B braceleft +!7C U+007C bar +!7D U+007D braceright +!7E U+007E asciitilde +!7F U+007F .notdef +!80 U+0080 .notdef +!81 U+0081 .notdef +!82 U+0082 .notdef +!83 U+0083 .notdef +!84 U+0084 .notdef +!85 U+0085 .notdef +!86 U+0086 .notdef +!87 U+0087 .notdef +!88 U+0088 .notdef +!89 U+0089 .notdef +!8A U+008A .notdef +!8B U+008B .notdef +!8C U+008C .notdef +!8D U+008D .notdef +!8E U+008E .notdef +!8F U+008F .notdef +!90 U+0090 .notdef +!91 U+0091 .notdef +!92 U+0092 .notdef +!93 U+0093 .notdef +!94 U+0094 .notdef +!95 U+0095 .notdef +!96 U+0096 .notdef +!97 U+0097 .notdef +!98 U+0098 .notdef +!99 U+0099 .notdef +!9A U+009A .notdef +!9B U+009B .notdef +!9C U+009C .notdef +!9D U+009D .notdef +!9E U+009E .notdef +!9F U+009F .notdef +!A0 U+00A0 space +!A1 U+0401 afii10023 +!A2 U+0402 afii10051 +!A3 U+0403 afii10052 +!A4 U+0404 afii10053 +!A5 U+0405 afii10054 +!A6 U+0406 afii10055 +!A7 U+0407 afii10056 +!A8 U+0408 afii10057 +!A9 U+0409 afii10058 +!AA U+040A afii10059 +!AB U+040B afii10060 +!AC U+040C afii10061 +!AD U+00AD hyphen +!AE U+040E afii10062 +!AF U+040F afii10145 +!B0 U+0410 afii10017 +!B1 U+0411 afii10018 +!B2 U+0412 afii10019 +!B3 U+0413 afii10020 +!B4 U+0414 afii10021 +!B5 U+0415 afii10022 +!B6 U+0416 afii10024 +!B7 U+0417 afii10025 +!B8 U+0418 afii10026 +!B9 U+0419 afii10027 +!BA U+041A afii10028 +!BB U+041B afii10029 +!BC U+041C afii10030 +!BD U+041D afii10031 +!BE U+041E afii10032 +!BF U+041F afii10033 +!C0 U+0420 afii10034 +!C1 U+0421 afii10035 +!C2 U+0422 afii10036 +!C3 U+0423 afii10037 +!C4 U+0424 afii10038 +!C5 U+0425 afii10039 +!C6 U+0426 afii10040 +!C7 U+0427 afii10041 +!C8 U+0428 afii10042 +!C9 U+0429 afii10043 +!CA U+042A afii10044 +!CB U+042B afii10045 +!CC U+042C afii10046 +!CD U+042D afii10047 +!CE U+042E afii10048 +!CF U+042F afii10049 +!D0 U+0430 afii10065 +!D1 U+0431 afii10066 +!D2 U+0432 afii10067 +!D3 U+0433 afii10068 +!D4 U+0434 afii10069 +!D5 U+0435 afii10070 +!D6 U+0436 afii10072 +!D7 U+0437 afii10073 +!D8 U+0438 afii10074 +!D9 U+0439 afii10075 +!DA U+043A afii10076 +!DB U+043B afii10077 +!DC U+043C afii10078 +!DD U+043D afii10079 +!DE U+043E afii10080 +!DF U+043F afii10081 +!E0 U+0440 afii10082 +!E1 U+0441 afii10083 +!E2 U+0442 afii10084 +!E3 U+0443 afii10085 +!E4 U+0444 afii10086 +!E5 U+0445 afii10087 +!E6 U+0446 afii10088 +!E7 U+0447 afii10089 +!E8 U+0448 afii10090 +!E9 U+0449 afii10091 +!EA U+044A afii10092 +!EB U+044B afii10093 +!EC U+044C afii10094 +!ED U+044D afii10095 +!EE U+044E afii10096 +!EF U+044F afii10097 +!F0 U+2116 afii61352 +!F1 U+0451 afii10071 +!F2 U+0452 afii10099 +!F3 U+0453 afii10100 +!F4 U+0454 afii10101 +!F5 U+0455 afii10102 +!F6 U+0456 afii10103 +!F7 U+0457 afii10104 +!F8 U+0458 afii10105 +!F9 U+0459 afii10106 +!FA U+045A afii10107 +!FB U+045B afii10108 +!FC U+045C afii10109 +!FD U+00A7 section +!FE U+045E afii10110 +!FF U+045F afii10193 diff --git a/application/libraries/fpdf/makefont/iso-8859-7.map b/application/libraries/fpdf/makefont/iso-8859-7.map new file mode 100644 index 0000000..e163796 --- /dev/null +++ b/application/libraries/fpdf/makefont/iso-8859-7.map @@ -0,0 +1,250 @@ +!00 U+0000 .notdef +!01 U+0001 .notdef +!02 U+0002 .notdef +!03 U+0003 .notdef +!04 U+0004 .notdef +!05 U+0005 .notdef +!06 U+0006 .notdef +!07 U+0007 .notdef +!08 U+0008 .notdef +!09 U+0009 .notdef +!0A U+000A .notdef +!0B U+000B .notdef +!0C U+000C .notdef +!0D U+000D .notdef +!0E U+000E .notdef +!0F U+000F .notdef +!10 U+0010 .notdef +!11 U+0011 .notdef +!12 U+0012 .notdef +!13 U+0013 .notdef +!14 U+0014 .notdef +!15 U+0015 .notdef +!16 U+0016 .notdef +!17 U+0017 .notdef +!18 U+0018 .notdef +!19 U+0019 .notdef +!1A U+001A .notdef +!1B U+001B .notdef +!1C U+001C .notdef +!1D U+001D .notdef +!1E U+001E .notdef +!1F U+001F .notdef +!20 U+0020 space +!21 U+0021 exclam +!22 U+0022 quotedbl +!23 U+0023 numbersign +!24 U+0024 dollar +!25 U+0025 percent +!26 U+0026 ampersand +!27 U+0027 quotesingle +!28 U+0028 parenleft +!29 U+0029 parenright +!2A U+002A asterisk +!2B U+002B plus +!2C U+002C comma +!2D U+002D hyphen +!2E U+002E period +!2F U+002F slash +!30 U+0030 zero +!31 U+0031 one +!32 U+0032 two +!33 U+0033 three +!34 U+0034 four +!35 U+0035 five +!36 U+0036 six +!37 U+0037 seven +!38 U+0038 eight +!39 U+0039 nine +!3A U+003A colon +!3B U+003B semicolon +!3C U+003C less +!3D U+003D equal +!3E U+003E greater +!3F U+003F question +!40 U+0040 at +!41 U+0041 A +!42 U+0042 B +!43 U+0043 C +!44 U+0044 D +!45 U+0045 E +!46 U+0046 F +!47 U+0047 G +!48 U+0048 H +!49 U+0049 I +!4A U+004A J +!4B U+004B K +!4C U+004C L +!4D U+004D M +!4E U+004E N +!4F U+004F O +!50 U+0050 P +!51 U+0051 Q +!52 U+0052 R +!53 U+0053 S +!54 U+0054 T +!55 U+0055 U +!56 U+0056 V +!57 U+0057 W +!58 U+0058 X +!59 U+0059 Y +!5A U+005A Z +!5B U+005B bracketleft +!5C U+005C backslash +!5D U+005D bracketright +!5E U+005E asciicircum +!5F U+005F underscore +!60 U+0060 grave +!61 U+0061 a +!62 U+0062 b +!63 U+0063 c +!64 U+0064 d +!65 U+0065 e +!66 U+0066 f +!67 U+0067 g +!68 U+0068 h +!69 U+0069 i +!6A U+006A j +!6B U+006B k +!6C U+006C l +!6D U+006D m +!6E U+006E n +!6F U+006F o +!70 U+0070 p +!71 U+0071 q +!72 U+0072 r +!73 U+0073 s +!74 U+0074 t +!75 U+0075 u +!76 U+0076 v +!77 U+0077 w +!78 U+0078 x +!79 U+0079 y +!7A U+007A z +!7B U+007B braceleft +!7C U+007C bar +!7D U+007D braceright +!7E U+007E asciitilde +!7F U+007F .notdef +!80 U+0080 .notdef +!81 U+0081 .notdef +!82 U+0082 .notdef +!83 U+0083 .notdef +!84 U+0084 .notdef +!85 U+0085 .notdef +!86 U+0086 .notdef +!87 U+0087 .notdef +!88 U+0088 .notdef +!89 U+0089 .notdef +!8A U+008A .notdef +!8B U+008B .notdef +!8C U+008C .notdef +!8D U+008D .notdef +!8E U+008E .notdef +!8F U+008F .notdef +!90 U+0090 .notdef +!91 U+0091 .notdef +!92 U+0092 .notdef +!93 U+0093 .notdef +!94 U+0094 .notdef +!95 U+0095 .notdef +!96 U+0096 .notdef +!97 U+0097 .notdef +!98 U+0098 .notdef +!99 U+0099 .notdef +!9A U+009A .notdef +!9B U+009B .notdef +!9C U+009C .notdef +!9D U+009D .notdef +!9E U+009E .notdef +!9F U+009F .notdef +!A0 U+00A0 space +!A1 U+2018 quoteleft +!A2 U+2019 quoteright +!A3 U+00A3 sterling +!A6 U+00A6 brokenbar +!A7 U+00A7 section +!A8 U+00A8 dieresis +!A9 U+00A9 copyright +!AB U+00AB guillemotleft +!AC U+00AC logicalnot +!AD U+00AD hyphen +!AF U+2015 afii00208 +!B0 U+00B0 degree +!B1 U+00B1 plusminus +!B2 U+00B2 twosuperior +!B3 U+00B3 threesuperior +!B4 U+0384 tonos +!B5 U+0385 dieresistonos +!B6 U+0386 Alphatonos +!B7 U+00B7 periodcentered +!B8 U+0388 Epsilontonos +!B9 U+0389 Etatonos +!BA U+038A Iotatonos +!BB U+00BB guillemotright +!BC U+038C Omicrontonos +!BD U+00BD onehalf +!BE U+038E Upsilontonos +!BF U+038F Omegatonos +!C0 U+0390 iotadieresistonos +!C1 U+0391 Alpha +!C2 U+0392 Beta +!C3 U+0393 Gamma +!C4 U+0394 Delta +!C5 U+0395 Epsilon +!C6 U+0396 Zeta +!C7 U+0397 Eta +!C8 U+0398 Theta +!C9 U+0399 Iota +!CA U+039A Kappa +!CB U+039B Lambda +!CC U+039C Mu +!CD U+039D Nu +!CE U+039E Xi +!CF U+039F Omicron +!D0 U+03A0 Pi +!D1 U+03A1 Rho +!D3 U+03A3 Sigma +!D4 U+03A4 Tau +!D5 U+03A5 Upsilon +!D6 U+03A6 Phi +!D7 U+03A7 Chi +!D8 U+03A8 Psi +!D9 U+03A9 Omega +!DA U+03AA Iotadieresis +!DB U+03AB Upsilondieresis +!DC U+03AC alphatonos +!DD U+03AD epsilontonos +!DE U+03AE etatonos +!DF U+03AF iotatonos +!E0 U+03B0 upsilondieresistonos +!E1 U+03B1 alpha +!E2 U+03B2 beta +!E3 U+03B3 gamma +!E4 U+03B4 delta +!E5 U+03B5 epsilon +!E6 U+03B6 zeta +!E7 U+03B7 eta +!E8 U+03B8 theta +!E9 U+03B9 iota +!EA U+03BA kappa +!EB U+03BB lambda +!EC U+03BC mu +!ED U+03BD nu +!EE U+03BE xi +!EF U+03BF omicron +!F0 U+03C0 pi +!F1 U+03C1 rho +!F2 U+03C2 sigma1 +!F3 U+03C3 sigma +!F4 U+03C4 tau +!F5 U+03C5 upsilon +!F6 U+03C6 phi +!F7 U+03C7 chi +!F8 U+03C8 psi +!F9 U+03C9 omega +!FA U+03CA iotadieresis +!FB U+03CB upsilondieresis +!FC U+03CC omicrontonos +!FD U+03CD upsilontonos +!FE U+03CE omegatonos diff --git a/application/libraries/fpdf/makefont/iso-8859-9.map b/application/libraries/fpdf/makefont/iso-8859-9.map new file mode 100644 index 0000000..48c123a --- /dev/null +++ b/application/libraries/fpdf/makefont/iso-8859-9.map @@ -0,0 +1,256 @@ +!00 U+0000 .notdef +!01 U+0001 .notdef +!02 U+0002 .notdef +!03 U+0003 .notdef +!04 U+0004 .notdef +!05 U+0005 .notdef +!06 U+0006 .notdef +!07 U+0007 .notdef +!08 U+0008 .notdef +!09 U+0009 .notdef +!0A U+000A .notdef +!0B U+000B .notdef +!0C U+000C .notdef +!0D U+000D .notdef +!0E U+000E .notdef +!0F U+000F .notdef +!10 U+0010 .notdef +!11 U+0011 .notdef +!12 U+0012 .notdef +!13 U+0013 .notdef +!14 U+0014 .notdef +!15 U+0015 .notdef +!16 U+0016 .notdef +!17 U+0017 .notdef +!18 U+0018 .notdef +!19 U+0019 .notdef +!1A U+001A .notdef +!1B U+001B .notdef +!1C U+001C .notdef +!1D U+001D .notdef +!1E U+001E .notdef +!1F U+001F .notdef +!20 U+0020 space +!21 U+0021 exclam +!22 U+0022 quotedbl +!23 U+0023 numbersign +!24 U+0024 dollar +!25 U+0025 percent +!26 U+0026 ampersand +!27 U+0027 quotesingle +!28 U+0028 parenleft +!29 U+0029 parenright +!2A U+002A asterisk +!2B U+002B plus +!2C U+002C comma +!2D U+002D hyphen +!2E U+002E period +!2F U+002F slash +!30 U+0030 zero +!31 U+0031 one +!32 U+0032 two +!33 U+0033 three +!34 U+0034 four +!35 U+0035 five +!36 U+0036 six +!37 U+0037 seven +!38 U+0038 eight +!39 U+0039 nine +!3A U+003A colon +!3B U+003B semicolon +!3C U+003C less +!3D U+003D equal +!3E U+003E greater +!3F U+003F question +!40 U+0040 at +!41 U+0041 A +!42 U+0042 B +!43 U+0043 C +!44 U+0044 D +!45 U+0045 E +!46 U+0046 F +!47 U+0047 G +!48 U+0048 H +!49 U+0049 I +!4A U+004A J +!4B U+004B K +!4C U+004C L +!4D U+004D M +!4E U+004E N +!4F U+004F O +!50 U+0050 P +!51 U+0051 Q +!52 U+0052 R +!53 U+0053 S +!54 U+0054 T +!55 U+0055 U +!56 U+0056 V +!57 U+0057 W +!58 U+0058 X +!59 U+0059 Y +!5A U+005A Z +!5B U+005B bracketleft +!5C U+005C backslash +!5D U+005D bracketright +!5E U+005E asciicircum +!5F U+005F underscore +!60 U+0060 grave +!61 U+0061 a +!62 U+0062 b +!63 U+0063 c +!64 U+0064 d +!65 U+0065 e +!66 U+0066 f +!67 U+0067 g +!68 U+0068 h +!69 U+0069 i +!6A U+006A j +!6B U+006B k +!6C U+006C l +!6D U+006D m +!6E U+006E n +!6F U+006F o +!70 U+0070 p +!71 U+0071 q +!72 U+0072 r +!73 U+0073 s +!74 U+0074 t +!75 U+0075 u +!76 U+0076 v +!77 U+0077 w +!78 U+0078 x +!79 U+0079 y +!7A U+007A z +!7B U+007B braceleft +!7C U+007C bar +!7D U+007D braceright +!7E U+007E asciitilde +!7F U+007F .notdef +!80 U+0080 .notdef +!81 U+0081 .notdef +!82 U+0082 .notdef +!83 U+0083 .notdef +!84 U+0084 .notdef +!85 U+0085 .notdef +!86 U+0086 .notdef +!87 U+0087 .notdef +!88 U+0088 .notdef +!89 U+0089 .notdef +!8A U+008A .notdef +!8B U+008B .notdef +!8C U+008C .notdef +!8D U+008D .notdef +!8E U+008E .notdef +!8F U+008F .notdef +!90 U+0090 .notdef +!91 U+0091 .notdef +!92 U+0092 .notdef +!93 U+0093 .notdef +!94 U+0094 .notdef +!95 U+0095 .notdef +!96 U+0096 .notdef +!97 U+0097 .notdef +!98 U+0098 .notdef +!99 U+0099 .notdef +!9A U+009A .notdef +!9B U+009B .notdef +!9C U+009C .notdef +!9D U+009D .notdef +!9E U+009E .notdef +!9F U+009F .notdef +!A0 U+00A0 space +!A1 U+00A1 exclamdown +!A2 U+00A2 cent +!A3 U+00A3 sterling +!A4 U+00A4 currency +!A5 U+00A5 yen +!A6 U+00A6 brokenbar +!A7 U+00A7 section +!A8 U+00A8 dieresis +!A9 U+00A9 copyright +!AA U+00AA ordfeminine +!AB U+00AB guillemotleft +!AC U+00AC logicalnot +!AD U+00AD hyphen +!AE U+00AE registered +!AF U+00AF macron +!B0 U+00B0 degree +!B1 U+00B1 plusminus +!B2 U+00B2 twosuperior +!B3 U+00B3 threesuperior +!B4 U+00B4 acute +!B5 U+00B5 mu +!B6 U+00B6 paragraph +!B7 U+00B7 periodcentered +!B8 U+00B8 cedilla +!B9 U+00B9 onesuperior +!BA U+00BA ordmasculine +!BB U+00BB guillemotright +!BC U+00BC onequarter +!BD U+00BD onehalf +!BE U+00BE threequarters +!BF U+00BF questiondown +!C0 U+00C0 Agrave +!C1 U+00C1 Aacute +!C2 U+00C2 Acircumflex +!C3 U+00C3 Atilde +!C4 U+00C4 Adieresis +!C5 U+00C5 Aring +!C6 U+00C6 AE +!C7 U+00C7 Ccedilla +!C8 U+00C8 Egrave +!C9 U+00C9 Eacute +!CA U+00CA Ecircumflex +!CB U+00CB Edieresis +!CC U+00CC Igrave +!CD U+00CD Iacute +!CE U+00CE Icircumflex +!CF U+00CF Idieresis +!D0 U+011E Gbreve +!D1 U+00D1 Ntilde +!D2 U+00D2 Ograve +!D3 U+00D3 Oacute +!D4 U+00D4 Ocircumflex +!D5 U+00D5 Otilde +!D6 U+00D6 Odieresis +!D7 U+00D7 multiply +!D8 U+00D8 Oslash +!D9 U+00D9 Ugrave +!DA U+00DA Uacute +!DB U+00DB Ucircumflex +!DC U+00DC Udieresis +!DD U+0130 Idotaccent +!DE U+015E Scedilla +!DF U+00DF germandbls +!E0 U+00E0 agrave +!E1 U+00E1 aacute +!E2 U+00E2 acircumflex +!E3 U+00E3 atilde +!E4 U+00E4 adieresis +!E5 U+00E5 aring +!E6 U+00E6 ae +!E7 U+00E7 ccedilla +!E8 U+00E8 egrave +!E9 U+00E9 eacute +!EA U+00EA ecircumflex +!EB U+00EB edieresis +!EC U+00EC igrave +!ED U+00ED iacute +!EE U+00EE icircumflex +!EF U+00EF idieresis +!F0 U+011F gbreve +!F1 U+00F1 ntilde +!F2 U+00F2 ograve +!F3 U+00F3 oacute +!F4 U+00F4 ocircumflex +!F5 U+00F5 otilde +!F6 U+00F6 odieresis +!F7 U+00F7 divide +!F8 U+00F8 oslash +!F9 U+00F9 ugrave +!FA U+00FA uacute +!FB U+00FB ucircumflex +!FC U+00FC udieresis +!FD U+0131 dotlessi +!FE U+015F scedilla +!FF U+00FF ydieresis diff --git a/application/libraries/fpdf/makefont/koi8-r.map b/application/libraries/fpdf/makefont/koi8-r.map new file mode 100644 index 0000000..6ad5d05 --- /dev/null +++ b/application/libraries/fpdf/makefont/koi8-r.map @@ -0,0 +1,256 @@ +!00 U+0000 .notdef +!01 U+0001 .notdef +!02 U+0002 .notdef +!03 U+0003 .notdef +!04 U+0004 .notdef +!05 U+0005 .notdef +!06 U+0006 .notdef +!07 U+0007 .notdef +!08 U+0008 .notdef +!09 U+0009 .notdef +!0A U+000A .notdef +!0B U+000B .notdef +!0C U+000C .notdef +!0D U+000D .notdef +!0E U+000E .notdef +!0F U+000F .notdef +!10 U+0010 .notdef +!11 U+0011 .notdef +!12 U+0012 .notdef +!13 U+0013 .notdef +!14 U+0014 .notdef +!15 U+0015 .notdef +!16 U+0016 .notdef +!17 U+0017 .notdef +!18 U+0018 .notdef +!19 U+0019 .notdef +!1A U+001A .notdef +!1B U+001B .notdef +!1C U+001C .notdef +!1D U+001D .notdef +!1E U+001E .notdef +!1F U+001F .notdef +!20 U+0020 space +!21 U+0021 exclam +!22 U+0022 quotedbl +!23 U+0023 numbersign +!24 U+0024 dollar +!25 U+0025 percent +!26 U+0026 ampersand +!27 U+0027 quotesingle +!28 U+0028 parenleft +!29 U+0029 parenright +!2A U+002A asterisk +!2B U+002B plus +!2C U+002C comma +!2D U+002D hyphen +!2E U+002E period +!2F U+002F slash +!30 U+0030 zero +!31 U+0031 one +!32 U+0032 two +!33 U+0033 three +!34 U+0034 four +!35 U+0035 five +!36 U+0036 six +!37 U+0037 seven +!38 U+0038 eight +!39 U+0039 nine +!3A U+003A colon +!3B U+003B semicolon +!3C U+003C less +!3D U+003D equal +!3E U+003E greater +!3F U+003F question +!40 U+0040 at +!41 U+0041 A +!42 U+0042 B +!43 U+0043 C +!44 U+0044 D +!45 U+0045 E +!46 U+0046 F +!47 U+0047 G +!48 U+0048 H +!49 U+0049 I +!4A U+004A J +!4B U+004B K +!4C U+004C L +!4D U+004D M +!4E U+004E N +!4F U+004F O +!50 U+0050 P +!51 U+0051 Q +!52 U+0052 R +!53 U+0053 S +!54 U+0054 T +!55 U+0055 U +!56 U+0056 V +!57 U+0057 W +!58 U+0058 X +!59 U+0059 Y +!5A U+005A Z +!5B U+005B bracketleft +!5C U+005C backslash +!5D U+005D bracketright +!5E U+005E asciicircum +!5F U+005F underscore +!60 U+0060 grave +!61 U+0061 a +!62 U+0062 b +!63 U+0063 c +!64 U+0064 d +!65 U+0065 e +!66 U+0066 f +!67 U+0067 g +!68 U+0068 h +!69 U+0069 i +!6A U+006A j +!6B U+006B k +!6C U+006C l +!6D U+006D m +!6E U+006E n +!6F U+006F o +!70 U+0070 p +!71 U+0071 q +!72 U+0072 r +!73 U+0073 s +!74 U+0074 t +!75 U+0075 u +!76 U+0076 v +!77 U+0077 w +!78 U+0078 x +!79 U+0079 y +!7A U+007A z +!7B U+007B braceleft +!7C U+007C bar +!7D U+007D braceright +!7E U+007E asciitilde +!7F U+007F .notdef +!80 U+2500 SF100000 +!81 U+2502 SF110000 +!82 U+250C SF010000 +!83 U+2510 SF030000 +!84 U+2514 SF020000 +!85 U+2518 SF040000 +!86 U+251C SF080000 +!87 U+2524 SF090000 +!88 U+252C SF060000 +!89 U+2534 SF070000 +!8A U+253C SF050000 +!8B U+2580 upblock +!8C U+2584 dnblock +!8D U+2588 block +!8E U+258C lfblock +!8F U+2590 rtblock +!90 U+2591 ltshade +!91 U+2592 shade +!92 U+2593 dkshade +!93 U+2320 integraltp +!94 U+25A0 filledbox +!95 U+2219 periodcentered +!96 U+221A radical +!97 U+2248 approxequal +!98 U+2264 lessequal +!99 U+2265 greaterequal +!9A U+00A0 space +!9B U+2321 integralbt +!9C U+00B0 degree +!9D U+00B2 twosuperior +!9E U+00B7 periodcentered +!9F U+00F7 divide +!A0 U+2550 SF430000 +!A1 U+2551 SF240000 +!A2 U+2552 SF510000 +!A3 U+0451 afii10071 +!A4 U+2553 SF520000 +!A5 U+2554 SF390000 +!A6 U+2555 SF220000 +!A7 U+2556 SF210000 +!A8 U+2557 SF250000 +!A9 U+2558 SF500000 +!AA U+2559 SF490000 +!AB U+255A SF380000 +!AC U+255B SF280000 +!AD U+255C SF270000 +!AE U+255D SF260000 +!AF U+255E SF360000 +!B0 U+255F SF370000 +!B1 U+2560 SF420000 +!B2 U+2561 SF190000 +!B3 U+0401 afii10023 +!B4 U+2562 SF200000 +!B5 U+2563 SF230000 +!B6 U+2564 SF470000 +!B7 U+2565 SF480000 +!B8 U+2566 SF410000 +!B9 U+2567 SF450000 +!BA U+2568 SF460000 +!BB U+2569 SF400000 +!BC U+256A SF540000 +!BD U+256B SF530000 +!BE U+256C SF440000 +!BF U+00A9 copyright +!C0 U+044E afii10096 +!C1 U+0430 afii10065 +!C2 U+0431 afii10066 +!C3 U+0446 afii10088 +!C4 U+0434 afii10069 +!C5 U+0435 afii10070 +!C6 U+0444 afii10086 +!C7 U+0433 afii10068 +!C8 U+0445 afii10087 +!C9 U+0438 afii10074 +!CA U+0439 afii10075 +!CB U+043A afii10076 +!CC U+043B afii10077 +!CD U+043C afii10078 +!CE U+043D afii10079 +!CF U+043E afii10080 +!D0 U+043F afii10081 +!D1 U+044F afii10097 +!D2 U+0440 afii10082 +!D3 U+0441 afii10083 +!D4 U+0442 afii10084 +!D5 U+0443 afii10085 +!D6 U+0436 afii10072 +!D7 U+0432 afii10067 +!D8 U+044C afii10094 +!D9 U+044B afii10093 +!DA U+0437 afii10073 +!DB U+0448 afii10090 +!DC U+044D afii10095 +!DD U+0449 afii10091 +!DE U+0447 afii10089 +!DF U+044A afii10092 +!E0 U+042E afii10048 +!E1 U+0410 afii10017 +!E2 U+0411 afii10018 +!E3 U+0426 afii10040 +!E4 U+0414 afii10021 +!E5 U+0415 afii10022 +!E6 U+0424 afii10038 +!E7 U+0413 afii10020 +!E8 U+0425 afii10039 +!E9 U+0418 afii10026 +!EA U+0419 afii10027 +!EB U+041A afii10028 +!EC U+041B afii10029 +!ED U+041C afii10030 +!EE U+041D afii10031 +!EF U+041E afii10032 +!F0 U+041F afii10033 +!F1 U+042F afii10049 +!F2 U+0420 afii10034 +!F3 U+0421 afii10035 +!F4 U+0422 afii10036 +!F5 U+0423 afii10037 +!F6 U+0416 afii10024 +!F7 U+0412 afii10019 +!F8 U+042C afii10046 +!F9 U+042B afii10045 +!FA U+0417 afii10025 +!FB U+0428 afii10042 +!FC U+042D afii10047 +!FD U+0429 afii10043 +!FE U+0427 afii10041 +!FF U+042A afii10044 diff --git a/application/libraries/fpdf/makefont/koi8-u.map b/application/libraries/fpdf/makefont/koi8-u.map new file mode 100644 index 0000000..40a7e4f --- /dev/null +++ b/application/libraries/fpdf/makefont/koi8-u.map @@ -0,0 +1,256 @@ +!00 U+0000 .notdef +!01 U+0001 .notdef +!02 U+0002 .notdef +!03 U+0003 .notdef +!04 U+0004 .notdef +!05 U+0005 .notdef +!06 U+0006 .notdef +!07 U+0007 .notdef +!08 U+0008 .notdef +!09 U+0009 .notdef +!0A U+000A .notdef +!0B U+000B .notdef +!0C U+000C .notdef +!0D U+000D .notdef +!0E U+000E .notdef +!0F U+000F .notdef +!10 U+0010 .notdef +!11 U+0011 .notdef +!12 U+0012 .notdef +!13 U+0013 .notdef +!14 U+0014 .notdef +!15 U+0015 .notdef +!16 U+0016 .notdef +!17 U+0017 .notdef +!18 U+0018 .notdef +!19 U+0019 .notdef +!1A U+001A .notdef +!1B U+001B .notdef +!1C U+001C .notdef +!1D U+001D .notdef +!1E U+001E .notdef +!1F U+001F .notdef +!20 U+0020 space +!21 U+0021 exclam +!22 U+0022 quotedbl +!23 U+0023 numbersign +!24 U+0024 dollar +!25 U+0025 percent +!26 U+0026 ampersand +!27 U+0027 quotesingle +!28 U+0028 parenleft +!29 U+0029 parenright +!2A U+002A asterisk +!2B U+002B plus +!2C U+002C comma +!2D U+002D hyphen +!2E U+002E period +!2F U+002F slash +!30 U+0030 zero +!31 U+0031 one +!32 U+0032 two +!33 U+0033 three +!34 U+0034 four +!35 U+0035 five +!36 U+0036 six +!37 U+0037 seven +!38 U+0038 eight +!39 U+0039 nine +!3A U+003A colon +!3B U+003B semicolon +!3C U+003C less +!3D U+003D equal +!3E U+003E greater +!3F U+003F question +!40 U+0040 at +!41 U+0041 A +!42 U+0042 B +!43 U+0043 C +!44 U+0044 D +!45 U+0045 E +!46 U+0046 F +!47 U+0047 G +!48 U+0048 H +!49 U+0049 I +!4A U+004A J +!4B U+004B K +!4C U+004C L +!4D U+004D M +!4E U+004E N +!4F U+004F O +!50 U+0050 P +!51 U+0051 Q +!52 U+0052 R +!53 U+0053 S +!54 U+0054 T +!55 U+0055 U +!56 U+0056 V +!57 U+0057 W +!58 U+0058 X +!59 U+0059 Y +!5A U+005A Z +!5B U+005B bracketleft +!5C U+005C backslash +!5D U+005D bracketright +!5E U+005E asciicircum +!5F U+005F underscore +!60 U+0060 grave +!61 U+0061 a +!62 U+0062 b +!63 U+0063 c +!64 U+0064 d +!65 U+0065 e +!66 U+0066 f +!67 U+0067 g +!68 U+0068 h +!69 U+0069 i +!6A U+006A j +!6B U+006B k +!6C U+006C l +!6D U+006D m +!6E U+006E n +!6F U+006F o +!70 U+0070 p +!71 U+0071 q +!72 U+0072 r +!73 U+0073 s +!74 U+0074 t +!75 U+0075 u +!76 U+0076 v +!77 U+0077 w +!78 U+0078 x +!79 U+0079 y +!7A U+007A z +!7B U+007B braceleft +!7C U+007C bar +!7D U+007D braceright +!7E U+007E asciitilde +!7F U+007F .notdef +!80 U+2500 SF100000 +!81 U+2502 SF110000 +!82 U+250C SF010000 +!83 U+2510 SF030000 +!84 U+2514 SF020000 +!85 U+2518 SF040000 +!86 U+251C SF080000 +!87 U+2524 SF090000 +!88 U+252C SF060000 +!89 U+2534 SF070000 +!8A U+253C SF050000 +!8B U+2580 upblock +!8C U+2584 dnblock +!8D U+2588 block +!8E U+258C lfblock +!8F U+2590 rtblock +!90 U+2591 ltshade +!91 U+2592 shade +!92 U+2593 dkshade +!93 U+2320 integraltp +!94 U+25A0 filledbox +!95 U+2022 bullet +!96 U+221A radical +!97 U+2248 approxequal +!98 U+2264 lessequal +!99 U+2265 greaterequal +!9A U+00A0 space +!9B U+2321 integralbt +!9C U+00B0 degree +!9D U+00B2 twosuperior +!9E U+00B7 periodcentered +!9F U+00F7 divide +!A0 U+2550 SF430000 +!A1 U+2551 SF240000 +!A2 U+2552 SF510000 +!A3 U+0451 afii10071 +!A4 U+0454 afii10101 +!A5 U+2554 SF390000 +!A6 U+0456 afii10103 +!A7 U+0457 afii10104 +!A8 U+2557 SF250000 +!A9 U+2558 SF500000 +!AA U+2559 SF490000 +!AB U+255A SF380000 +!AC U+255B SF280000 +!AD U+0491 afii10098 +!AE U+255D SF260000 +!AF U+255E SF360000 +!B0 U+255F SF370000 +!B1 U+2560 SF420000 +!B2 U+2561 SF190000 +!B3 U+0401 afii10023 +!B4 U+0404 afii10053 +!B5 U+2563 SF230000 +!B6 U+0406 afii10055 +!B7 U+0407 afii10056 +!B8 U+2566 SF410000 +!B9 U+2567 SF450000 +!BA U+2568 SF460000 +!BB U+2569 SF400000 +!BC U+256A SF540000 +!BD U+0490 afii10050 +!BE U+256C SF440000 +!BF U+00A9 copyright +!C0 U+044E afii10096 +!C1 U+0430 afii10065 +!C2 U+0431 afii10066 +!C3 U+0446 afii10088 +!C4 U+0434 afii10069 +!C5 U+0435 afii10070 +!C6 U+0444 afii10086 +!C7 U+0433 afii10068 +!C8 U+0445 afii10087 +!C9 U+0438 afii10074 +!CA U+0439 afii10075 +!CB U+043A afii10076 +!CC U+043B afii10077 +!CD U+043C afii10078 +!CE U+043D afii10079 +!CF U+043E afii10080 +!D0 U+043F afii10081 +!D1 U+044F afii10097 +!D2 U+0440 afii10082 +!D3 U+0441 afii10083 +!D4 U+0442 afii10084 +!D5 U+0443 afii10085 +!D6 U+0436 afii10072 +!D7 U+0432 afii10067 +!D8 U+044C afii10094 +!D9 U+044B afii10093 +!DA U+0437 afii10073 +!DB U+0448 afii10090 +!DC U+044D afii10095 +!DD U+0449 afii10091 +!DE U+0447 afii10089 +!DF U+044A afii10092 +!E0 U+042E afii10048 +!E1 U+0410 afii10017 +!E2 U+0411 afii10018 +!E3 U+0426 afii10040 +!E4 U+0414 afii10021 +!E5 U+0415 afii10022 +!E6 U+0424 afii10038 +!E7 U+0413 afii10020 +!E8 U+0425 afii10039 +!E9 U+0418 afii10026 +!EA U+0419 afii10027 +!EB U+041A afii10028 +!EC U+041B afii10029 +!ED U+041C afii10030 +!EE U+041D afii10031 +!EF U+041E afii10032 +!F0 U+041F afii10033 +!F1 U+042F afii10049 +!F2 U+0420 afii10034 +!F3 U+0421 afii10035 +!F4 U+0422 afii10036 +!F5 U+0423 afii10037 +!F6 U+0416 afii10024 +!F7 U+0412 afii10019 +!F8 U+042C afii10046 +!F9 U+042B afii10045 +!FA U+0417 afii10025 +!FB U+0428 afii10042 +!FC U+042D afii10047 +!FD U+0429 afii10043 +!FE U+0427 afii10041 +!FF U+042A afii10044 diff --git a/application/libraries/fpdf/makefont/makefont.php b/application/libraries/fpdf/makefont/makefont.php new file mode 100644 index 0000000..eb92a26 --- /dev/null +++ b/application/libraries/fpdf/makefont/makefont.php @@ -0,0 +1,373 @@ +$severity: "; + echo "$txt
    "; + } +} + +function Notice($txt) +{ + Message($txt, 'Notice'); +} + +function Warning($txt) +{ + Message($txt, 'Warning'); +} + +function Error($txt) +{ + Message($txt, 'Error'); + exit; +} + +function LoadMap($enc) +{ + $file = dirname(__FILE__).'/'.strtolower($enc).'.map'; + $a = file($file); + if(empty($a)) + Error('Encoding not found: '.$enc); + $map = array_fill(0, 256, array('uv'=>-1, 'name'=>'.notdef')); + foreach($a as $line) + { + $e = explode(' ', rtrim($line)); + $c = hexdec(substr($e[0],1)); + $uv = hexdec(substr($e[1],2)); + $name = $e[2]; + $map[$c] = array('uv'=>$uv, 'name'=>$name); + } + return $map; +} + +function GetInfoFromTrueType($file, $embed, $map) +{ + // Return informations from a TrueType font + $ttf = new TTFParser(); + $ttf->Parse($file); + if($embed) + { + if(!$ttf->Embeddable) + Error('Font license does not allow embedding'); + $info['Data'] = file_get_contents($file); + $info['OriginalSize'] = filesize($file); + } + $k = 1000/$ttf->unitsPerEm; + $info['FontName'] = $ttf->postScriptName; + $info['Bold'] = $ttf->Bold; + $info['ItalicAngle'] = $ttf->italicAngle; + $info['IsFixedPitch'] = $ttf->isFixedPitch; + $info['Ascender'] = round($k*$ttf->typoAscender); + $info['Descender'] = round($k*$ttf->typoDescender); + $info['UnderlineThickness'] = round($k*$ttf->underlineThickness); + $info['UnderlinePosition'] = round($k*$ttf->underlinePosition); + $info['FontBBox'] = array(round($k*$ttf->xMin), round($k*$ttf->yMin), round($k*$ttf->xMax), round($k*$ttf->yMax)); + $info['CapHeight'] = round($k*$ttf->capHeight); + $info['MissingWidth'] = round($k*$ttf->widths[0]); + $widths = array_fill(0, 256, $info['MissingWidth']); + for($c=0;$c<=255;$c++) + { + if($map[$c]['name']!='.notdef') + { + $uv = $map[$c]['uv']; + if(isset($ttf->chars[$uv])) + { + $w = $ttf->widths[$ttf->chars[$uv]]; + $widths[$c] = round($k*$w); + } + else + Warning('Character '.$map[$c]['name'].' is missing'); + } + } + $info['Widths'] = $widths; + return $info; +} + +function GetInfoFromType1($file, $embed, $map) +{ + // Return informations from a Type1 font + if($embed) + { + $f = fopen($file, 'rb'); + if(!$f) + Error('Can\'t open font file'); + // Read first segment + $a = unpack('Cmarker/Ctype/Vsize', fread($f,6)); + if($a['marker']!=128) + Error('Font file is not a valid binary Type1'); + $size1 = $a['size']; + $data = fread($f, $size1); + // Read second segment + $a = unpack('Cmarker/Ctype/Vsize', fread($f,6)); + if($a['marker']!=128) + Error('Font file is not a valid binary Type1'); + $size2 = $a['size']; + $data .= fread($f, $size2); + fclose($f); + $info['Data'] = $data; + $info['Size1'] = $size1; + $info['Size2'] = $size2; + } + + $afm = substr($file, 0, -3).'afm'; + if(!file_exists($afm)) + Error('AFM font file not found: '.$afm); + $a = file($afm); + if(empty($a)) + Error('AFM file empty or not readable'); + foreach($a as $line) + { + $e = explode(' ', rtrim($line)); + if(count($e)<2) + continue; + $entry = $e[0]; + if($entry=='C') + { + $w = $e[4]; + $name = $e[7]; + $cw[$name] = $w; + } + elseif($entry=='FontName') + $info['FontName'] = $e[1]; + elseif($entry=='Weight') + $info['Weight'] = $e[1]; + elseif($entry=='ItalicAngle') + $info['ItalicAngle'] = (int)$e[1]; + elseif($entry=='Ascender') + $info['Ascender'] = (int)$e[1]; + elseif($entry=='Descender') + $info['Descender'] = (int)$e[1]; + elseif($entry=='UnderlineThickness') + $info['UnderlineThickness'] = (int)$e[1]; + elseif($entry=='UnderlinePosition') + $info['UnderlinePosition'] = (int)$e[1]; + elseif($entry=='IsFixedPitch') + $info['IsFixedPitch'] = ($e[1]=='true'); + elseif($entry=='FontBBox') + $info['FontBBox'] = array((int)$e[1], (int)$e[2], (int)$e[3], (int)$e[4]); + elseif($entry=='CapHeight') + $info['CapHeight'] = (int)$e[1]; + elseif($entry=='StdVW') + $info['StdVW'] = (int)$e[1]; + } + + if(!isset($info['FontName'])) + Error('FontName missing in AFM file'); + $info['Bold'] = isset($info['Weight']) && preg_match('/bold|black/i', $info['Weight']); + if(isset($cw['.notdef'])) + $info['MissingWidth'] = $cw['.notdef']; + else + $info['MissingWidth'] = 0; + $widths = array_fill(0, 256, $info['MissingWidth']); + for($c=0;$c<=255;$c++) + { + $name = $map[$c]['name']; + if($name!='.notdef') + { + if(isset($cw[$name])) + $widths[$c] = $cw[$name]; + else + Warning('Character '.$name.' is missing'); + } + } + $info['Widths'] = $widths; + return $info; +} + +function MakeFontDescriptor($info) +{ + // Ascent + $fd = "array('Ascent'=>".$info['Ascender']; + // Descent + $fd .= ",'Descent'=>".$info['Descender']; + // CapHeight + if(!empty($info['CapHeight'])) + $fd .= ",'CapHeight'=>".$info['CapHeight']; + else + $fd .= ",'CapHeight'=>".$info['Ascender']; + // Flags + $flags = 0; + if($info['IsFixedPitch']) + $flags += 1<<0; + $flags += 1<<5; + if($info['ItalicAngle']!=0) + $flags += 1<<6; + $fd .= ",'Flags'=>".$flags; + // FontBBox + $fbb = $info['FontBBox']; + $fd .= ",'FontBBox'=>'[".$fbb[0].' '.$fbb[1].' '.$fbb[2].' '.$fbb[3]."]'"; + // ItalicAngle + $fd .= ",'ItalicAngle'=>".$info['ItalicAngle']; + // StemV + if(isset($info['StdVW'])) + $stemv = $info['StdVW']; + elseif($info['Bold']) + $stemv = 120; + else + $stemv = 70; + $fd .= ",'StemV'=>".$stemv; + // MissingWidth + $fd .= ",'MissingWidth'=>".$info['MissingWidth'].')'; + return $fd; +} + +function MakeWidthArray($widths) +{ + $s = "array(\n\t"; + for($c=0;$c<=255;$c++) + { + if(chr($c)=="'") + $s .= "'\\''"; + elseif(chr($c)=="\\") + $s .= "'\\\\'"; + elseif($c>=32 && $c<=126) + $s .= "'".chr($c)."'"; + else + $s .= "chr($c)"; + $s .= '=>'.$widths[$c]; + if($c<255) + $s .= ','; + if(($c+1)%22==0) + $s .= "\n\t"; + } + $s .= ')'; + return $s; +} + +function MakeFontEncoding($map) +{ + // Build differences from reference encoding + $ref = LoadMap('cp1252'); + $s = ''; + $last = 0; + for($c=32;$c<=255;$c++) + { + if($map[$c]['name']!=$ref[$c]['name']) + { + if($c!=$last+1) + $s .= $c.' '; + $last = $c; + $s .= '/'.$map[$c]['name'].' '; + } + } + return rtrim($s); +} + +function SaveToFile($file, $s, $mode) +{ + $f = fopen($file, 'w'.$mode); + if(!$f) + Error('Can\'t write to file '.$file); + fwrite($f, $s, strlen($s)); + fclose($f); +} + +function MakeDefinitionFile($file, $type, $enc, $embed, $map, $info) +{ + $s = "\n"; + SaveToFile($file, $s, 't'); +} + +function MakeFont($fontfile, $enc='cp1252', $embed=true) +{ + // Generate a font definition file + if(get_magic_quotes_runtime()) + @set_magic_quotes_runtime(0); + ini_set('auto_detect_line_endings', '1'); + + if(!file_exists($fontfile)) + Error('Font file not found: '.$fontfile); + $ext = strtolower(substr($fontfile,-3)); + if($ext=='ttf' || $ext=='otf') + $type = 'TrueType'; + elseif($ext=='pfb') + $type = 'Type1'; + else + Error('Unrecognized font file extension: '.$ext); + + $map = LoadMap($enc); + + if($type=='TrueType') + $info = GetInfoFromTrueType($fontfile, $embed, $map); + else + $info = GetInfoFromType1($fontfile, $embed, $map); + + $basename = substr(basename($fontfile), 0, -4); + if($embed) + { + if(function_exists('gzcompress')) + { + $file = $basename.'.z'; + SaveToFile($file, gzcompress($info['Data']), 'b'); + $info['File'] = $file; + Message('Font file compressed: '.$file); + } + else + { + $info['File'] = basename($fontfile); + Notice('Font file could not be compressed (zlib extension not available)'); + } + } + + MakeDefinitionFile($basename.'.php', $type, $enc, $embed, $map, $info); + Message('Font definition file generated: '.$basename.'.php'); +} + +if(PHP_SAPI=='cli') +{ + // Command-line interface + if($argc==1) + die("Usage: php makefont.php fontfile [enc] [embed]\n"); + $fontfile = $argv[1]; + if($argc>=3) + $enc = $argv[2]; + else + $enc = 'cp1252'; + if($argc>=4) + $embed = ($argv[3]=='true' || $argv[3]=='1'); + else + $embed = true; + MakeFont($fontfile, $enc, $embed); +} +?> diff --git a/application/libraries/fpdf/makefont/ttfparser.php b/application/libraries/fpdf/makefont/ttfparser.php new file mode 100644 index 0000000..2417781 --- /dev/null +++ b/application/libraries/fpdf/makefont/ttfparser.php @@ -0,0 +1,289 @@ +f = fopen($file, 'rb'); + if(!$this->f) + $this->Error('Can\'t open file: '.$file); + + $version = $this->Read(4); + if($version=='OTTO') + $this->Error('OpenType fonts based on PostScript outlines are not supported'); + if($version!="\x00\x01\x00\x00") + $this->Error('Unrecognized file format'); + $numTables = $this->ReadUShort(); + $this->Skip(3*2); // searchRange, entrySelector, rangeShift + $this->tables = array(); + for($i=0;$i<$numTables;$i++) + { + $tag = $this->Read(4); + $this->Skip(4); // checkSum + $offset = $this->ReadULong(); + $this->Skip(4); // length + $this->tables[$tag] = $offset; + } + + $this->ParseHead(); + $this->ParseHhea(); + $this->ParseMaxp(); + $this->ParseHmtx(); + $this->ParseCmap(); + $this->ParseName(); + $this->ParseOS2(); + $this->ParsePost(); + + fclose($this->f); + } + + function ParseHead() + { + $this->Seek('head'); + $this->Skip(3*4); // version, fontRevision, checkSumAdjustment + $magicNumber = $this->ReadULong(); + if($magicNumber!=0x5F0F3CF5) + $this->Error('Incorrect magic number'); + $this->Skip(2); // flags + $this->unitsPerEm = $this->ReadUShort(); + $this->Skip(2*8); // created, modified + $this->xMin = $this->ReadShort(); + $this->yMin = $this->ReadShort(); + $this->xMax = $this->ReadShort(); + $this->yMax = $this->ReadShort(); + } + + function ParseHhea() + { + $this->Seek('hhea'); + $this->Skip(4+15*2); + $this->numberOfHMetrics = $this->ReadUShort(); + } + + function ParseMaxp() + { + $this->Seek('maxp'); + $this->Skip(4); + $this->numGlyphs = $this->ReadUShort(); + } + + function ParseHmtx() + { + $this->Seek('hmtx'); + $this->widths = array(); + for($i=0;$i<$this->numberOfHMetrics;$i++) + { + $advanceWidth = $this->ReadUShort(); + $this->Skip(2); // lsb + $this->widths[$i] = $advanceWidth; + } + if($this->numberOfHMetrics<$this->numGlyphs) + { + $lastWidth = $this->widths[$this->numberOfHMetrics-1]; + $this->widths = array_pad($this->widths, $this->numGlyphs, $lastWidth); + } + } + + function ParseCmap() + { + $this->Seek('cmap'); + $this->Skip(2); // version + $numTables = $this->ReadUShort(); + $offset31 = 0; + for($i=0;$i<$numTables;$i++) + { + $platformID = $this->ReadUShort(); + $encodingID = $this->ReadUShort(); + $offset = $this->ReadULong(); + if($platformID==3 && $encodingID==1) + $offset31 = $offset; + } + if($offset31==0) + $this->Error('No Unicode encoding found'); + + $startCount = array(); + $endCount = array(); + $idDelta = array(); + $idRangeOffset = array(); + $this->chars = array(); + fseek($this->f, $this->tables['cmap']+$offset31, SEEK_SET); + $format = $this->ReadUShort(); + if($format!=4) + $this->Error('Unexpected subtable format: '.$format); + $this->Skip(2*2); // length, language + $segCount = $this->ReadUShort()/2; + $this->Skip(3*2); // searchRange, entrySelector, rangeShift + for($i=0;$i<$segCount;$i++) + $endCount[$i] = $this->ReadUShort(); + $this->Skip(2); // reservedPad + for($i=0;$i<$segCount;$i++) + $startCount[$i] = $this->ReadUShort(); + for($i=0;$i<$segCount;$i++) + $idDelta[$i] = $this->ReadShort(); + $offset = ftell($this->f); + for($i=0;$i<$segCount;$i++) + $idRangeOffset[$i] = $this->ReadUShort(); + + for($i=0;$i<$segCount;$i++) + { + $c1 = $startCount[$i]; + $c2 = $endCount[$i]; + $d = $idDelta[$i]; + $ro = $idRangeOffset[$i]; + if($ro>0) + fseek($this->f, $offset+2*$i+$ro, SEEK_SET); + for($c=$c1;$c<=$c2;$c++) + { + if($c==0xFFFF) + break; + if($ro>0) + { + $gid = $this->ReadUShort(); + if($gid>0) + $gid += $d; + } + else + $gid = $c+$d; + if($gid>=65536) + $gid -= 65536; + if($gid>0) + $this->chars[$c] = $gid; + } + } + } + + function ParseName() + { + $this->Seek('name'); + $tableOffset = ftell($this->f); + $this->postScriptName = ''; + $this->Skip(2); // format + $count = $this->ReadUShort(); + $stringOffset = $this->ReadUShort(); + for($i=0;$i<$count;$i++) + { + $this->Skip(3*2); // platformID, encodingID, languageID + $nameID = $this->ReadUShort(); + $length = $this->ReadUShort(); + $offset = $this->ReadUShort(); + if($nameID==6) + { + // PostScript name + fseek($this->f, $tableOffset+$stringOffset+$offset, SEEK_SET); + $s = $this->Read($length); + $s = str_replace(chr(0), '', $s); + $s = preg_replace('|[ \[\](){}<>/%]|', '', $s); + $this->postScriptName = $s; + break; + } + } + if($this->postScriptName=='') + $this->Error('PostScript name not found'); + } + + function ParseOS2() + { + $this->Seek('OS/2'); + $version = $this->ReadUShort(); + $this->Skip(3*2); // xAvgCharWidth, usWeightClass, usWidthClass + $fsType = $this->ReadUShort(); + $this->Embeddable = ($fsType!=2) && ($fsType & 0x200)==0; + $this->Skip(11*2+10+4*4+4); + $fsSelection = $this->ReadUShort(); + $this->Bold = ($fsSelection & 32)!=0; + $this->Skip(2*2); // usFirstCharIndex, usLastCharIndex + $this->typoAscender = $this->ReadShort(); + $this->typoDescender = $this->ReadShort(); + if($version>=2) + { + $this->Skip(3*2+2*4+2); + $this->capHeight = $this->ReadShort(); + } + else + $this->capHeight = 0; + } + + function ParsePost() + { + $this->Seek('post'); + $this->Skip(4); // version + $this->italicAngle = $this->ReadShort(); + $this->Skip(2); // Skip decimal part + $this->underlinePosition = $this->ReadShort(); + $this->underlineThickness = $this->ReadShort(); + $this->isFixedPitch = ($this->ReadULong()!=0); + } + + function Error($msg) + { + if(PHP_SAPI=='cli') + die("Error: $msg\n"); + else + die("Error: $msg"); + } + + function Seek($tag) + { + if(!isset($this->tables[$tag])) + $this->Error('Table not found: '.$tag); + fseek($this->f, $this->tables[$tag], SEEK_SET); + } + + function Skip($n) + { + fseek($this->f, $n, SEEK_CUR); + } + + function Read($n) + { + return fread($this->f, $n); + } + + function ReadUShort() + { + $a = unpack('nn', fread($this->f,2)); + return $a['n']; + } + + function ReadShort() + { + $a = unpack('nn', fread($this->f,2)); + $v = $a['n']; + if($v>=0x8000) + $v -= 65536; + return $v; + } + + function ReadULong() + { + $a = unpack('NN', fread($this->f,4)); + return $a['N']; + } +} +?> diff --git a/application/libraries/index.html b/application/libraries/index.html new file mode 100644 index 0000000..b702fbc --- /dev/null +++ b/application/libraries/index.html @@ -0,0 +1,11 @@ + + + + 403 Forbidden + + + +

    Directory access is forbidden.

    + + + diff --git a/application/logs/index.html b/application/logs/index.html new file mode 100644 index 0000000..b702fbc --- /dev/null +++ b/application/logs/index.html @@ -0,0 +1,11 @@ + + + + 403 Forbidden + + + +

    Directory access is forbidden.

    + + + diff --git a/application/logs/log-2020-05-14.php b/application/logs/log-2020-05-14.php new file mode 100644 index 0000000..3909f5c --- /dev/null +++ b/application/logs/log-2020-05-14.php @@ -0,0 +1,153 @@ + + +ERROR - 2020-05-14 15:58:26 --> 404 Page Not Found: Assets/plugins +ERROR - 2020-05-14 15:58:26 --> 404 Page Not Found: Assets/plugins +ERROR - 2020-05-14 15:58:29 --> [] +ERROR - 2020-05-14 15:58:29 --> 404 Page Not Found: Assets/plugins +ERROR - 2020-05-14 15:58:29 --> 404 Page Not Found: Assets/plugins +ERROR - 2020-05-14 15:58:56 --> [] +ERROR - 2020-05-14 15:58:56 --> 404 Page Not Found: Assets/plugins +ERROR - 2020-05-14 15:58:56 --> 404 Page Not Found: Assets/plugins +ERROR - 2020-05-14 15:59:27 --> 404 Page Not Found: Assets/plugins +ERROR - 2020-05-14 15:59:27 --> 404 Page Not Found: Assets/plugins +ERROR - 2020-05-14 15:59:31 --> [] +ERROR - 2020-05-14 15:59:31 --> 404 Page Not Found: Assets/plugins +ERROR - 2020-05-14 15:59:31 --> 404 Page Not Found: Assets/plugins +ERROR - 2020-05-14 16:03:58 --> [{"pengguna_id":"8","pengguna_nama":"angelyna","pengguna_moto":null,"pengguna_jenkel":"P","pengguna_username":"angelyna","pengguna_password":"e10adc3949ba59abbe56e057f20f883e","pengguna_tentang":null,"pengguna_email":"angelyna826@gmail.com","pengguna_nohp":"085215345580","pengguna_facebook":null,"pengguna_twitter":null,"pengguna_linkdin":null,"pengguna_google_plus":null,"pengguna_status":"1","pengguna_level":"1","pengguna_register":"2020-01-30 08:50:17","pengguna_photo":"2979fe765fbd69dacb8340abf4e48e98.jpg"},{"pengguna_id":"9","pengguna_nama":"smkalbashry","pengguna_moto":null,"pengguna_jenkel":"L","pengguna_username":"smk","pengguna_password":"d82247a1e46c1a3b5ca6b90b3d1c0fe5","pengguna_tentang":null,"pengguna_email":"smkkomputeralbashry@rocketmail.com","pengguna_nohp":"0266620309 ","pengguna_facebook":null,"pengguna_twitter":null,"pengguna_linkdin":null,"pengguna_google_plus":null,"pengguna_status":"1","pengguna_level":"1","pengguna_register":"2020-02-03 02:47:56","pengguna_photo":"79a2e2b5461903311d4175f3569f58a8.png"},{"pengguna_id":"10","pengguna_nama":"admin","pengguna_moto":null,"pengguna_jenkel":"L","pengguna_username":"admin","pengguna_password":"21232f297a57a5a743894a0e4a801fc3","pengguna_tentang":null,"pengguna_email":"admin@admin.com","pengguna_nohp":"admin","pengguna_facebook":null,"pengguna_twitter":null,"pengguna_linkdin":null,"pengguna_google_plus":null,"pengguna_status":"3","pengguna_level":"1","pengguna_register":"2020-05-14 17:53:37","pengguna_photo":null}] +ERROR - 2020-05-14 16:03:58 --> Severity: error --> Exception: syntax error, unexpected '}' C:\xampp\htdocs\application\controllers\elearning\Home.php 6 +ERROR - 2020-05-14 16:03:59 --> 404 Page Not Found: Faviconico/index +ERROR - 2020-05-14 16:05:02 --> [{"pengguna_status":"1"},{"pengguna_status":"1"},{"pengguna_status":"3"}] +ERROR - 2020-05-14 16:05:02 --> Severity: error --> Exception: syntax error, unexpected '}' C:\xampp\htdocs\application\controllers\elearning\Home.php 6 +ERROR - 2020-05-14 16:11:04 --> 404 Page Not Found: Assets/plugins +ERROR - 2020-05-14 16:11:05 --> 404 Page Not Found: Assets/plugins +ERROR - 2020-05-14 16:11:08 --> Query error: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '1 * FROM tbl_pengguna' at line 1 - Invalid query: SELECT TOP 1 * FROM tbl_pengguna +ERROR - 2020-05-14 16:13:13 --> Query error: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'LIMIT 1 * FROM tbl_pengguna' at line 1 - Invalid query: SELECT LIMIT 1 * FROM tbl_pengguna +ERROR - 2020-05-14 16:14:08 --> [{"pengguna_id":"8","pengguna_nama":"angelyna","pengguna_moto":null,"pengguna_jenkel":"P","pengguna_username":"angelyna","pengguna_password":"e10adc3949ba59abbe56e057f20f883e","pengguna_tentang":null,"pengguna_email":"angelyna826@gmail.com","pengguna_nohp":"085215345580","pengguna_facebook":null,"pengguna_twitter":null,"pengguna_linkdin":null,"pengguna_google_plus":null,"pengguna_status":"1","pengguna_level":"1","pengguna_register":"2020-01-30 08:50:17","pengguna_photo":"2979fe765fbd69dacb8340abf4e48e98.jpg"}] +ERROR - 2020-05-14 16:14:08 --> Severity: error --> Exception: syntax error, unexpected '}' C:\xampp\htdocs\application\controllers\elearning\Home.php 6 +ERROR - 2020-05-14 16:16:38 --> [] +ERROR - 2020-05-14 16:16:39 --> 404 Page Not Found: Assets/plugins +ERROR - 2020-05-14 16:16:39 --> 404 Page Not Found: Assets/plugins +ERROR - 2020-05-14 16:16:43 --> [] +ERROR - 2020-05-14 16:16:43 --> 404 Page Not Found: Assets/plugins +ERROR - 2020-05-14 16:16:43 --> 404 Page Not Found: Assets/plugins +ERROR - 2020-05-14 16:17:28 --> [] +ERROR - 2020-05-14 16:17:28 --> 404 Page Not Found: Assets/plugins +ERROR - 2020-05-14 16:17:28 --> 404 Page Not Found: Assets/plugins +ERROR - 2020-05-14 16:17:55 --> 404 Page Not Found: Assets/plugins +ERROR - 2020-05-14 16:17:55 --> 404 Page Not Found: Assets/plugins +ERROR - 2020-05-14 16:17:57 --> [] +ERROR - 2020-05-14 16:17:57 --> 404 Page Not Found: Assets/plugins +ERROR - 2020-05-14 16:17:58 --> 404 Page Not Found: Assets/plugins +ERROR - 2020-05-14 16:19:31 --> [] +ERROR - 2020-05-14 16:19:31 --> 404 Page Not Found: Assets/plugins +ERROR - 2020-05-14 16:19:31 --> 404 Page Not Found: Assets/plugins +ERROR - 2020-05-14 16:20:27 --> 404 Page Not Found: Assets/plugins +ERROR - 2020-05-14 16:20:27 --> 404 Page Not Found: Assets/plugins +ERROR - 2020-05-14 16:20:30 --> [{"pengguna_status":"3"}] +ERROR - 2020-05-14 16:20:30 --> Severity: error --> Exception: syntax error, unexpected '}' C:\xampp\htdocs\application\controllers\elearning\Home.php 6 +ERROR - 2020-05-14 16:21:30 --> Severity: error --> Exception: syntax error, unexpected 'redirect' (T_STRING) C:\xampp\htdocs\application\controllers\elearning\Login.php 18 +ERROR - 2020-05-14 16:21:32 --> Severity: error --> Exception: syntax error, unexpected 'redirect' (T_STRING) C:\xampp\htdocs\application\controllers\elearning\Login.php 18 +ERROR - 2020-05-14 16:21:50 --> 404 Page Not Found: Assets/plugins +ERROR - 2020-05-14 16:21:50 --> 404 Page Not Found: Assets/plugins +ERROR - 2020-05-14 16:21:55 --> Severity: Notice --> Undefined variable: login C:\xampp\htdocs\application\controllers\elearning\Login.php 13 +ERROR - 2020-05-14 16:21:55 --> Severity: error --> Exception: Call to a member function result() on null C:\xampp\htdocs\application\controllers\elearning\Login.php 13 +ERROR - 2020-05-14 16:23:12 --> 404 Page Not Found: Assets/plugins +ERROR - 2020-05-14 16:23:12 --> 404 Page Not Found: Assets/plugins +ERROR - 2020-05-14 16:23:12 --> 404 Page Not Found: Assets/plugins +ERROR - 2020-05-14 16:23:43 --> 404 Page Not Found: Assets/plugins +ERROR - 2020-05-14 16:23:43 --> 404 Page Not Found: Assets/plugins +ERROR - 2020-05-14 16:23:47 --> Severity: error --> Exception: syntax error, unexpected '}' C:\xampp\htdocs\application\controllers\elearning\Home.php 6 +ERROR - 2020-05-14 16:31:17 --> Severity: error --> Exception: Object of class stdClass could not be converted to string C:\xampp\htdocs\system\core\Log.php 254 +ERROR - 2020-05-14 16:31:56 --> 3 +ERROR - 2020-05-14 16:31:56 --> Severity: error --> Exception: syntax error, unexpected '}' C:\xampp\htdocs\application\controllers\elearning\Home.php 6 +ERROR - 2020-05-14 16:34:15 --> 3 +ERROR - 2020-05-14 16:34:15 --> Severity: error --> Exception: syntax error, unexpected '}' C:\xampp\htdocs\application\controllers\elearning\Home.php 6 +ERROR - 2020-05-14 16:49:25 --> 404 Page Not Found: Assets/plugins +ERROR - 2020-05-14 16:49:25 --> 404 Page Not Found: Assets/plugins +ERROR - 2020-05-14 16:49:35 --> Severity: error --> Exception: Too few arguments to function log_message(), 1 passed in C:\xampp\htdocs\application\controllers\elearning\Home.php on line 12 and exactly 2 expected C:\xampp\htdocs\system\core\Common.php 459 +ERROR - 2020-05-14 16:50:13 --> +ERROR - 2020-05-14 16:51:13 --> +ERROR - 2020-05-14 16:51:13 --> 404 Page Not Found: Assets/plugins +ERROR - 2020-05-14 16:51:14 --> 404 Page Not Found: Assets/plugins +ERROR - 2020-05-14 16:51:18 --> +ERROR - 2020-05-14 16:51:18 --> 404 Page Not Found: Assets/plugins +ERROR - 2020-05-14 16:51:18 --> 404 Page Not Found: Assets/plugins +ERROR - 2020-05-14 16:51:45 --> siswapintar +ERROR - 2020-05-14 16:52:01 --> siswapintar +ERROR - 2020-05-14 16:52:19 --> siswapintar +ERROR - 2020-05-14 16:52:19 --> 404 Page Not Found: Faviconico/index +ERROR - 2020-05-14 16:52:22 --> siswapintar +ERROR - 2020-05-14 16:52:22 --> 404 Page Not Found: Faviconico/index +ERROR - 2020-05-14 16:52:34 --> +ERROR - 2020-05-14 16:52:34 --> 404 Page Not Found: Assets/plugins +ERROR - 2020-05-14 16:52:35 --> 404 Page Not Found: Assets/plugins +ERROR - 2020-05-14 16:52:35 --> 404 Page Not Found: Assets/images +ERROR - 2020-05-14 16:52:44 --> 404 Page Not Found: Assets/plugins +ERROR - 2020-05-14 16:52:44 --> 404 Page Not Found: Assets/plugins +ERROR - 2020-05-14 16:52:49 --> siswapintar +ERROR - 2020-05-14 16:54:22 --> Severity: Warning --> Use of undefined constant user - assumed 'user' (this will throw an Error in a future version of PHP) C:\xampp\htdocs\application\controllers\elearning\Login.php 9 +ERROR - 2020-05-14 16:56:36 --> Severity: Warning --> Use of undefined constant user - assumed 'user' (this will throw an Error in a future version of PHP) C:\xampp\htdocs\application\controllers\elearning\Login.php 9 +ERROR - 2020-05-14 16:56:36 --> Severity: Warning --> Use of undefined constant user - assumed 'user' (this will throw an Error in a future version of PHP) C:\xampp\htdocs\application\controllers\elearning\Login.php 9 +ERROR - 2020-05-14 16:56:36 --> Severity: Warning --> Use of undefined constant user - assumed 'user' (this will throw an Error in a future version of PHP) C:\xampp\htdocs\application\controllers\elearning\Login.php 9 +ERROR - 2020-05-14 16:56:37 --> Severity: Warning --> Use of undefined constant user - assumed 'user' (this will throw an Error in a future version of PHP) C:\xampp\htdocs\application\controllers\elearning\Login.php 9 +ERROR - 2020-05-14 16:56:37 --> Severity: Warning --> Use of undefined constant user - assumed 'user' (this will throw an Error in a future version of PHP) C:\xampp\htdocs\application\controllers\elearning\Login.php 9 +ERROR - 2020-05-14 16:56:37 --> Severity: Warning --> Use of undefined constant user - assumed 'user' (this will throw an Error in a future version of PHP) C:\xampp\htdocs\application\controllers\elearning\Login.php 9 +ERROR - 2020-05-14 16:56:37 --> Severity: Warning --> Use of undefined constant user - assumed 'user' (this will throw an Error in a future version of PHP) C:\xampp\htdocs\application\controllers\elearning\Login.php 9 +ERROR - 2020-05-14 16:56:38 --> Severity: Warning --> Use of undefined constant user - assumed 'user' (this will throw an Error in a future version of PHP) C:\xampp\htdocs\application\controllers\elearning\Login.php 9 +ERROR - 2020-05-14 16:56:38 --> Severity: Warning --> Use of undefined constant user - assumed 'user' (this will throw an Error in a future version of PHP) C:\xampp\htdocs\application\controllers\elearning\Login.php 9 +ERROR - 2020-05-14 16:56:38 --> Severity: Warning --> Use of undefined constant user - assumed 'user' (this will throw an Error in a future version of PHP) C:\xampp\htdocs\application\controllers\elearning\Login.php 9 +ERROR - 2020-05-14 16:56:39 --> Severity: Warning --> Use of undefined constant user - assumed 'user' (this will throw an Error in a future version of PHP) C:\xampp\htdocs\application\controllers\elearning\Login.php 9 +ERROR - 2020-05-14 16:56:39 --> Severity: Warning --> Use of undefined constant user - assumed 'user' (this will throw an Error in a future version of PHP) C:\xampp\htdocs\application\controllers\elearning\Login.php 9 +ERROR - 2020-05-14 16:56:39 --> Severity: Warning --> Use of undefined constant user - assumed 'user' (this will throw an Error in a future version of PHP) C:\xampp\htdocs\application\controllers\elearning\Login.php 9 +ERROR - 2020-05-14 16:56:40 --> Severity: Warning --> Use of undefined constant user - assumed 'user' (this will throw an Error in a future version of PHP) C:\xampp\htdocs\application\controllers\elearning\Login.php 9 +ERROR - 2020-05-14 16:56:40 --> Severity: Warning --> Use of undefined constant user - assumed 'user' (this will throw an Error in a future version of PHP) C:\xampp\htdocs\application\controllers\elearning\Login.php 9 +ERROR - 2020-05-14 16:56:40 --> Severity: Warning --> Use of undefined constant user - assumed 'user' (this will throw an Error in a future version of PHP) C:\xampp\htdocs\application\controllers\elearning\Login.php 9 +ERROR - 2020-05-14 16:56:40 --> Severity: Warning --> Use of undefined constant user - assumed 'user' (this will throw an Error in a future version of PHP) C:\xampp\htdocs\application\controllers\elearning\Login.php 9 +ERROR - 2020-05-14 16:56:40 --> Severity: Warning --> Use of undefined constant user - assumed 'user' (this will throw an Error in a future version of PHP) C:\xampp\htdocs\application\controllers\elearning\Login.php 9 +ERROR - 2020-05-14 16:56:41 --> Severity: Warning --> Use of undefined constant user - assumed 'user' (this will throw an Error in a future version of PHP) C:\xampp\htdocs\application\controllers\elearning\Login.php 9 +ERROR - 2020-05-14 16:56:41 --> Severity: Warning --> Use of undefined constant user - assumed 'user' (this will throw an Error in a future version of PHP) C:\xampp\htdocs\application\controllers\elearning\Login.php 9 +ERROR - 2020-05-14 16:56:46 --> Severity: Warning --> Use of undefined constant user - assumed 'user' (this will throw an Error in a future version of PHP) C:\xampp\htdocs\application\controllers\elearning\Login.php 9 +ERROR - 2020-05-14 16:56:46 --> Severity: Warning --> Use of undefined constant user - assumed 'user' (this will throw an Error in a future version of PHP) C:\xampp\htdocs\application\controllers\elearning\Login.php 9 +ERROR - 2020-05-14 16:56:47 --> Severity: Warning --> Use of undefined constant user - assumed 'user' (this will throw an Error in a future version of PHP) C:\xampp\htdocs\application\controllers\elearning\Login.php 9 +ERROR - 2020-05-14 16:56:47 --> Severity: Warning --> Use of undefined constant user - assumed 'user' (this will throw an Error in a future version of PHP) C:\xampp\htdocs\application\controllers\elearning\Login.php 9 +ERROR - 2020-05-14 16:56:47 --> Severity: Warning --> Use of undefined constant user - assumed 'user' (this will throw an Error in a future version of PHP) C:\xampp\htdocs\application\controllers\elearning\Login.php 9 +ERROR - 2020-05-14 16:56:48 --> Severity: Warning --> Use of undefined constant user - assumed 'user' (this will throw an Error in a future version of PHP) C:\xampp\htdocs\application\controllers\elearning\Login.php 9 +ERROR - 2020-05-14 16:56:48 --> Severity: Warning --> Use of undefined constant user - assumed 'user' (this will throw an Error in a future version of PHP) C:\xampp\htdocs\application\controllers\elearning\Login.php 9 +ERROR - 2020-05-14 16:56:48 --> Severity: Warning --> Use of undefined constant user - assumed 'user' (this will throw an Error in a future version of PHP) C:\xampp\htdocs\application\controllers\elearning\Login.php 9 +ERROR - 2020-05-14 16:56:48 --> Severity: Warning --> Use of undefined constant user - assumed 'user' (this will throw an Error in a future version of PHP) C:\xampp\htdocs\application\controllers\elearning\Login.php 9 +ERROR - 2020-05-14 16:56:49 --> Severity: Warning --> Use of undefined constant user - assumed 'user' (this will throw an Error in a future version of PHP) C:\xampp\htdocs\application\controllers\elearning\Login.php 9 +ERROR - 2020-05-14 16:57:10 --> 404 Page Not Found: Assets/plugins +ERROR - 2020-05-14 16:57:10 --> 404 Page Not Found: Assets/plugins +ERROR - 2020-05-14 16:57:10 --> 404 Page Not Found: Assets/plugins +ERROR - 2020-05-14 16:57:12 --> 404 Page Not Found: Assets/plugins +ERROR - 2020-05-14 16:57:12 --> 404 Page Not Found: Assets/plugins +ERROR - 2020-05-14 16:57:20 --> 404 Page Not Found: Assets/plugins +ERROR - 2020-05-14 16:57:20 --> 404 Page Not Found: Assets/plugins +ERROR - 2020-05-14 16:58:34 --> 404 Page Not Found: Assets/plugins +ERROR - 2020-05-14 16:58:34 --> 404 Page Not Found: Assets/plugins +ERROR - 2020-05-14 18:35:55 --> 404 Page Not Found: Assets/plugins +ERROR - 2020-05-14 18:35:55 --> 404 Page Not Found: Assets/plugins +ERROR - 2020-05-14 21:55:35 --> 404 Page Not Found: Theme/css +ERROR - 2020-05-14 22:01:09 --> 404 Page Not Found: Theme/css +ERROR - 2020-05-14 22:01:14 --> 404 Page Not Found: Theme/css +ERROR - 2020-05-14 22:01:21 --> 404 Page Not Found: Theme/css +ERROR - 2020-05-14 22:02:58 --> 404 Page Not Found: Theme/css +ERROR - 2020-05-14 22:04:31 --> 404 Page Not Found: Theme/css +ERROR - 2020-05-14 22:18:03 --> 404 Page Not Found: Theme/css +ERROR - 2020-05-14 22:18:32 --> 404 Page Not Found: Theme/css +ERROR - 2020-05-14 22:25:46 --> 404 Page Not Found: Assets/plugins +ERROR - 2020-05-14 22:25:46 --> 404 Page Not Found: Assets/plugins +ERROR - 2020-05-14 22:25:47 --> 404 Page Not Found: Assets/images +ERROR - 2020-05-14 22:25:51 --> 404 Page Not Found: Assets/plugins +ERROR - 2020-05-14 22:25:51 --> 404 Page Not Found: Assets/plugins +ERROR - 2020-05-14 22:25:51 --> 404 Page Not Found: Assets/plugins +ERROR - 2020-05-14 22:25:51 --> 404 Page Not Found: Assets/plugins +ERROR - 2020-05-14 22:25:52 --> 404 Page Not Found: Assets/plugins +ERROR - 2020-05-14 22:25:52 --> 404 Page Not Found: Assets/plugins +ERROR - 2020-05-14 22:25:52 --> 404 Page Not Found: Assets/plugins +ERROR - 2020-05-14 22:26:24 --> Query error: Cannot add or update a child row: a foreign key constraint fails (`sekolah`.`tbl_guru`, CONSTRAINT `tbl_guru_ibfk_1` FOREIGN KEY (`guru_pengguna_id`) REFERENCES `tbl_pengguna` (`pengguna_id`)) - Invalid query: INSERT INTO tbl_guru (guru_nik,guru_nama,guru_jenkel,guru_tmp_lahir,guru_tgl_lahir,guru_mapel) VALUES ('500500','Guru','L','Bandung','25 September 1993','Fisika') +ERROR - 2020-05-14 22:26:24 --> 404 Page Not Found: Faviconico/index +ERROR - 2020-05-14 22:28:04 --> 404 Page Not Found: Assets/images +ERROR - 2020-05-14 22:28:33 --> 404 Page Not Found: Assets/images +ERROR - 2020-05-14 22:35:02 --> Severity: error --> Exception: syntax error, unexpected end of file C:\xampp\htdocs\application\views\elearning\v_home_siswa.php 156 +ERROR - 2020-05-14 22:35:27 --> Severity: error --> Exception: Object of class stdClass could not be converted to string C:\xampp\htdocs\application\views\elearning\v_home_siswa.php 91 diff --git a/application/logs/log-2020-05-15.php b/application/logs/log-2020-05-15.php new file mode 100644 index 0000000..8680205 --- /dev/null +++ b/application/logs/log-2020-05-15.php @@ -0,0 +1,22 @@ + + +ERROR - 2020-05-15 11:19:10 --> Severity: error --> Exception: Too few arguments to function log_message(), 1 passed in C:\xampp\htdocs\application\controllers\elearning\Pelajaran.php on line 12 and exactly 2 expected C:\xampp\htdocs\system\core\Common.php 459 +ERROR - 2020-05-15 11:19:32 --> [{"materi_id":"0","materi_guru_id":"51","materi_kelas_id":"0","materi_mapel":"Fisika","materi_judul":"Hukum Newton I, II, & III","materi_konten":null,"materi_catatan":null,"guru_id":"51","guru_pengguna_id":"12","guru_nik":"500500","guru_nama":"Guru","guru_jenkel":"L","guru_tmp_lahir":"Bandung","guru_tgl_lahir":"25 September 1993","guru_mapel":"Fisika","guru_photo":null,"guru_tgl_input":"2020-05-15 03:27:26"}] +ERROR - 2020-05-15 11:19:32 --> Severity: Notice --> Undefined variable: nama_guru C:\xampp\htdocs\application\views\elearning\v_pelajaran.php 53 +ERROR - 2020-05-15 12:47:22 --> Severity: error --> Exception: syntax error, unexpected '$kelas_id' (T_VARIABLE) C:\xampp\htdocs\application\controllers\elearning\Login.php 23 +ERROR - 2020-05-15 12:47:29 --> Severity: error --> Exception: Call to a member function row() on null C:\xampp\htdocs\application\controllers\elearning\Login.php 22 +ERROR - 2020-05-15 12:48:03 --> siswapintar +ERROR - 2020-05-15 12:48:03 --> Severity: error --> Exception: Call to a member function row() on null C:\xampp\htdocs\application\controllers\elearning\Login.php 23 +ERROR - 2020-05-15 12:48:20 --> siswapintar +ERROR - 2020-05-15 12:48:20 --> Severity: error --> Exception: Call to a member function result() on null C:\xampp\htdocs\application\controllers\elearning\Login.php 23 +ERROR - 2020-05-15 12:51:28 --> siswapintar +ERROR - 2020-05-15 12:51:28 --> Severity: error --> Exception: Call to a member function result() on null C:\xampp\htdocs\application\controllers\elearning\Login.php 23 +ERROR - 2020-05-15 12:51:49 --> siswapintar +ERROR - 2020-05-15 12:51:49 --> Severity: error --> Exception: Call to a member function result() on null C:\xampp\htdocs\application\controllers\elearning\Login.php 23 +ERROR - 2020-05-15 12:52:15 --> siswapintar +ERROR - 2020-05-15 12:52:15 --> [{"siswa_kelas_id":"0"}] +ERROR - 2020-05-15 12:52:15 --> Severity: error --> Exception: Cannot use object of type stdClass as array C:\xampp\htdocs\application\controllers\elearning\Login.php 27 +ERROR - 2020-05-15 12:52:38 --> Severity: error --> Exception: Cannot use object of type stdClass as array C:\xampp\htdocs\application\controllers\elearning\Login.php 25 +ERROR - 2020-05-15 12:53:01 --> Severity: error --> Exception: Cannot use object of type stdClass as array C:\xampp\htdocs\application\controllers\elearning\Login.php 25 +ERROR - 2020-05-15 12:53:25 --> 0 +ERROR - 2020-05-15 18:58:16 --> 404 Page Not Found: Faviconico/index diff --git a/application/logs/log-2020-05-16.php b/application/logs/log-2020-05-16.php new file mode 100644 index 0000000..dc89cef --- /dev/null +++ b/application/logs/log-2020-05-16.php @@ -0,0 +1,40 @@ + + +ERROR - 2020-05-16 17:57:42 --> 404 Page Not Found: Faviconico/index +ERROR - 2020-05-16 18:17:05 --> Severity: error --> Exception: syntax error, unexpected '->' (T_OBJECT_OPERATOR) C:\xampp\htdocs\application\controllers\elearning\Login.php 39 +ERROR - 2020-05-16 18:17:24 --> Severity: Compile Error --> Cannot redeclare M_materi::get_all_materi() C:\xampp\htdocs\application\models\M_materi.php 11 +ERROR - 2020-05-16 18:22:01 --> Severity: Notice --> Undefined variable: mapel C:\xampp\htdocs\application\models\M_materi.php 13 +ERROR - 2020-05-16 18:22:01 --> Severity: Notice --> Undefined variable: kelas_id C:\xampp\htdocs\application\models\M_materi.php 14 +ERROR - 2020-05-16 18:22:01 --> Severity: Notice --> Trying to get property 'materi_mapel' of non-object C:\xampp\htdocs\application\views\elearning\v_pelajaran.php 45 +ERROR - 2020-05-16 18:23:11 --> 404 Page Not Found: Assets/plugins +ERROR - 2020-05-16 18:23:11 --> 404 Page Not Found: Assets/plugins +ERROR - 2020-05-16 18:23:11 --> 404 Page Not Found: Assets/plugins +ERROR - 2020-05-16 18:23:11 --> 404 Page Not Found: Assets/images +ERROR - 2020-05-16 18:23:16 --> Severity: Notice --> Undefined variable: guru_id C:\xampp\htdocs\application\controllers\elearning\Login.php 41 +ERROR - 2020-05-16 18:23:17 --> Severity: Notice --> Undefined property: Home::$m_mater C:\xampp\htdocs\application\controllers\elearning\Home.php 12 +ERROR - 2020-05-16 18:23:17 --> Severity: error --> Exception: Call to a member function get_all_materi() on null C:\xampp\htdocs\application\controllers\elearning\Home.php 12 +ERROR - 2020-05-16 18:25:31 --> Severity: Notice --> Undefined property: Home::$m_mater C:\xampp\htdocs\application\controllers\elearning\Home.php 12 +ERROR - 2020-05-16 18:25:31 --> Severity: error --> Exception: Call to a member function get_all_materi() on null C:\xampp\htdocs\application\controllers\elearning\Home.php 12 +ERROR - 2020-05-16 18:26:49 --> +ERROR - 2020-05-16 18:26:49 --> guru +ERROR - 2020-05-16 18:26:49 --> Severity: Notice --> Undefined property: Home::$m_mater C:\xampp\htdocs\application\controllers\elearning\Home.php 14 +ERROR - 2020-05-16 18:26:49 --> Severity: error --> Exception: Call to a member function get_all_materi() on null C:\xampp\htdocs\application\controllers\elearning\Home.php 14 +ERROR - 2020-05-16 18:28:17 --> +ERROR - 2020-05-16 18:28:17 --> guru +ERROR - 2020-05-16 18:28:17 --> Severity: Notice --> Undefined property: Home::$m_mater C:\xampp\htdocs\application\controllers\elearning\Home.php 14 +ERROR - 2020-05-16 18:28:17 --> Severity: error --> Exception: Call to a member function get_all_materi() on null C:\xampp\htdocs\application\controllers\elearning\Home.php 14 +ERROR - 2020-05-16 18:28:50 --> +ERROR - 2020-05-16 18:28:50 --> guru +ERROR - 2020-05-16 18:28:50 --> Severity: Notice --> Undefined property: Home::$m_mater C:\xampp\htdocs\application\controllers\elearning\Home.php 14 +ERROR - 2020-05-16 18:28:50 --> Severity: error --> Exception: Call to a member function get_all_materi() on null C:\xampp\htdocs\application\controllers\elearning\Home.php 14 +ERROR - 2020-05-16 18:29:10 --> 404 Page Not Found: Assets/plugins +ERROR - 2020-05-16 18:29:10 --> 404 Page Not Found: Assets/plugins +ERROR - 2020-05-16 18:29:15 --> 51 +ERROR - 2020-05-16 18:29:16 --> 51 +ERROR - 2020-05-16 18:29:16 --> guru +ERROR - 2020-05-16 18:29:16 --> Severity: Notice --> Undefined property: Home::$m_mater C:\xampp\htdocs\application\controllers\elearning\Home.php 14 +ERROR - 2020-05-16 18:29:16 --> Severity: error --> Exception: Call to a member function get_all_materi() on null C:\xampp\htdocs\application\controllers\elearning\Home.php 14 +ERROR - 2020-05-16 18:31:02 --> Severity: Notice --> Undefined property: Home::$m_mater C:\xampp\htdocs\application\controllers\elearning\Home.php 12 +ERROR - 2020-05-16 18:31:02 --> Severity: error --> Exception: Call to a member function get_all_materi() on null C:\xampp\htdocs\application\controllers\elearning\Home.php 12 +ERROR - 2020-05-16 18:36:12 --> Severity: error --> Exception: syntax error, unexpected 'echo' (T_ECHO) C:\xampp\htdocs\application\views\elearning\v_home_guru.php 33 +ERROR - 2020-05-16 18:36:46 --> Severity: error --> Exception: syntax error, unexpected 'echo' (T_ECHO) C:\xampp\htdocs\application\views\elearning\v_home_guru.php 33 diff --git a/application/logs/log-2020-05-17.php b/application/logs/log-2020-05-17.php new file mode 100644 index 0000000..c172e49 --- /dev/null +++ b/application/logs/log-2020-05-17.php @@ -0,0 +1,216 @@ + + +ERROR - 2020-05-17 07:48:16 --> 404 Page Not Found: Faviconico/index +ERROR - 2020-05-17 07:49:11 --> Severity: error --> Exception: syntax error, unexpected '{', expecting '(' C:\xampp\htdocs\application\controllers\elearning\Upload.php 3 +ERROR - 2020-05-17 07:49:38 --> 404 Page Not Found: elearning/Upload/index +ERROR - 2020-05-17 07:49:45 --> 404 Page Not Found: elearning/Upload/index +ERROR - 2020-05-17 07:50:11 --> Severity: error --> Exception: syntax error, unexpected '->' (T_OBJECT_OPERATOR), expecting ';' C:\xampp\htdocs\application\models\M_guru.php 47 +ERROR - 2020-05-17 07:50:43 --> Severity: Notice --> Trying to get property 'ajar_kelas_id' of non-object C:\xampp\htdocs\application\controllers\elearning\Upload.php 13 +ERROR - 2020-05-17 07:50:43 --> +ERROR - 2020-05-17 07:51:47 --> [{"ajar_kelas_id":"0"}] +ERROR - 2020-05-17 07:52:06 --> {"ajar_kelas_id":"0"} +ERROR - 2020-05-17 07:52:35 --> {"ajar_kelas_id":"0"} +ERROR - 2020-05-17 07:53:39 --> [{"ajar_kelas_id":"0"}] +ERROR - 2020-05-17 07:54:01 --> [{"ajar_kelas_id":"0"}] +ERROR - 2020-05-17 07:54:28 --> [{"ajar_kelas_id":"0"}] +ERROR - 2020-05-17 07:57:16 --> [{"ajar_kelas_id":"0"}] +ERROR - 2020-05-17 08:02:33 --> ["ajar_kelas_id"] +ERROR - 2020-05-17 08:03:27 --> "0" +ERROR - 2020-05-17 08:04:06 --> 0 +ERROR - 2020-05-17 09:37:44 --> Severity: error --> Exception: syntax error, unexpected '}', expecting ';' or '{' C:\xampp\htdocs\application\models\M_materi.php 29 +ERROR - 2020-05-17 09:40:15 --> {"ajar_kelas_id":"0"} +ERROR - 2020-05-17 09:40:15 --> {"ajar_kelas_id":"0"} +ERROR - 2020-05-17 09:40:54 --> {"ajar_kelas_id":"0"} +ERROR - 2020-05-17 09:42:15 --> "0" +ERROR - 2020-05-17 09:42:32 --> Severity: Notice --> Trying to get property 'ajar_kelas_id' of non-object C:\xampp\htdocs\application\controllers\elearning\Upload.php 14 +ERROR - 2020-05-17 09:42:32 --> null +ERROR - 2020-05-17 09:43:42 --> Severity: Notice --> Trying to get property 'ajar_kelas_id' of non-object C:\xampp\htdocs\application\controllers\elearning\Upload.php 14 +ERROR - 2020-05-17 09:43:42 --> null +ERROR - 2020-05-17 09:44:08 --> "0" +ERROR - 2020-05-17 09:44:24 --> 0 +ERROR - 2020-05-17 09:45:48 --> Severity: Notice --> Undefined index: ajar_kelas_id C:\xampp\htdocs\application\controllers\elearning\Upload.php 14 +ERROR - 2020-05-17 09:45:48 --> +ERROR - 2020-05-17 09:46:25 --> [{"ajar_kelas_id":"0"}] +ERROR - 2020-05-17 09:49:24 --> Severity: Warning --> array_column() expects at least 2 parameters, 1 given C:\xampp\htdocs\application\controllers\elearning\Upload.php 14 +ERROR - 2020-05-17 09:49:24 --> +ERROR - 2020-05-17 09:51:34 --> Severity: error --> Exception: syntax error, unexpected ';', expecting ')' C:\xampp\htdocs\application\controllers\elearning\Upload.php 15 +ERROR - 2020-05-17 09:52:00 --> Severity: Warning --> array_column() expects at least 2 parameters, 1 given C:\xampp\htdocs\application\controllers\elearning\Upload.php 15 +ERROR - 2020-05-17 09:52:00 --> +ERROR - 2020-05-17 09:52:18 --> Severity: Warning --> array_column() expects at least 2 parameters, 1 given C:\xampp\htdocs\application\controllers\elearning\Upload.php 15 +ERROR - 2020-05-17 09:52:18 --> +ERROR - 2020-05-17 09:53:00 --> ["0"] +ERROR - 2020-05-17 10:07:33 --> 404 Page Not Found: Assets/plugins +ERROR - 2020-05-17 10:07:33 --> 404 Page Not Found: Assets/plugins +ERROR - 2020-05-17 10:07:33 --> 404 Page Not Found: Assets/plugins +ERROR - 2020-05-17 10:07:33 --> 404 Page Not Found: Assets/images +ERROR - 2020-05-17 10:07:37 --> 404 Page Not Found: Assets/plugins +ERROR - 2020-05-17 10:07:37 --> 404 Page Not Found: Assets/plugins +ERROR - 2020-05-17 10:07:37 --> 404 Page Not Found: Assets/plugins +ERROR - 2020-05-17 10:07:37 --> 404 Page Not Found: Assets/plugins +ERROR - 2020-05-17 10:07:37 --> 404 Page Not Found: Assets/plugins +ERROR - 2020-05-17 10:07:37 --> 404 Page Not Found: Assets/plugins +ERROR - 2020-05-17 10:07:37 --> 404 Page Not Found: Assets/plugins +ERROR - 2020-05-17 10:07:41 --> 404 Page Not Found: Assets/images +ERROR - 2020-05-17 10:08:18 --> 404 Page Not Found: Assets/images +ERROR - 2020-05-17 10:16:16 --> Severity: error --> Exception: syntax error, unexpected '}' C:\xampp\htdocs\application\models\M_materi.php 48 +ERROR - 2020-05-17 10:18:03 --> Severity: error --> Exception: syntax error, unexpected ':' C:\xampp\htdocs\application\views\elearning\v_upload.php 33 +ERROR - 2020-05-17 10:21:25 --> Severity: error --> Exception: syntax error, unexpected '$route' (T_VARIABLE) C:\xampp\htdocs\application\config\routes.php 60 +ERROR - 2020-05-17 10:21:50 --> Severity: error --> Exception: Call to undefined function library() C:\xampp\htdocs\application\controllers\elearning\Upload.php 21 +ERROR - 2020-05-17 10:22:11 --> The upload path does not appear to be valid. +ERROR - 2020-05-17 10:25:19 --> Severity: Warning --> Invalid argument supplied for foreach() C:\xampp\htdocs\application\models\M_materi.php 29 +ERROR - 2020-05-17 10:28:03 --> Severity: Warning --> error_log(): Failed to connect to mailserver at "localhost" port 25, verify your "SMTP" and "smtp_port" setting in php.ini or use ini_set() C:\xampp\htdocs\application\controllers\elearning\Upload.php 34 +ERROR - 2020-05-17 10:28:03 --> Severity: Warning --> Invalid argument supplied for foreach() C:\xampp\htdocs\application\models\M_materi.php 29 +ERROR - 2020-05-17 10:29:32 --> 1 +ERROR - 2020-05-17 10:29:32 --> Severity: Warning --> Invalid argument supplied for foreach() C:\xampp\htdocs\application\models\M_materi.php 29 +ERROR - 2020-05-17 10:30:05 --> 404 Page Not Found: Assets/plugins +ERROR - 2020-05-17 10:30:05 --> 404 Page Not Found: Assets/plugins +ERROR - 2020-05-17 10:30:11 --> Severity: Notice --> Undefined variable: id C:\xampp\htdocs\application\controllers\elearning\Login.php 41 +ERROR - 2020-05-17 10:30:11 --> Severity: Warning --> array_column() expects at least 2 parameters, 1 given C:\xampp\htdocs\application\controllers\elearning\Login.php 41 +ERROR - 2020-05-17 10:30:11 --> Severity: Notice --> Undefined variable: kelas_id C:\xampp\htdocs\application\controllers\elearning\Login.php 42 +ERROR - 2020-05-17 10:30:21 --> Severity: Warning --> Invalid argument supplied for foreach() C:\xampp\htdocs\application\models\M_materi.php 29 +ERROR - 2020-05-17 10:30:46 --> 1 +ERROR - 2020-05-17 10:30:46 --> Severity: Warning --> Invalid argument supplied for foreach() C:\xampp\htdocs\application\models\M_materi.php 29 +ERROR - 2020-05-17 10:31:28 --> Severity: Notice --> Undefined offset: 0 C:\xampp\htdocs\application\controllers\elearning\Upload.php 12 +ERROR - 2020-05-17 10:31:28 --> Severity: Notice --> Trying to get property 'guru_mapel' of non-object C:\xampp\htdocs\application\views\elearning\v_upload.php 43 +ERROR - 2020-05-17 10:31:33 --> 404 Page Not Found: Assets/plugins +ERROR - 2020-05-17 10:31:34 --> 404 Page Not Found: Assets/plugins +ERROR - 2020-05-17 10:31:42 --> Severity: Notice --> Undefined variable: id C:\xampp\htdocs\application\controllers\elearning\Login.php 41 +ERROR - 2020-05-17 10:31:43 --> Severity: Warning --> array_column() expects at least 2 parameters, 1 given C:\xampp\htdocs\application\controllers\elearning\Login.php 41 +ERROR - 2020-05-17 10:31:43 --> 1 +ERROR - 2020-05-17 10:31:43 --> Severity: Notice --> Undefined variable: kelas_id C:\xampp\htdocs\application\controllers\elearning\Login.php 43 +ERROR - 2020-05-17 10:32:42 --> 404 Page Not Found: Assets/plugins +ERROR - 2020-05-17 10:32:42 --> 404 Page Not Found: Assets/plugins +ERROR - 2020-05-17 10:32:47 --> Severity: Notice --> Undefined variable: id C:\xampp\htdocs\application\controllers\elearning\Login.php 41 +ERROR - 2020-05-17 10:32:47 --> 1 +ERROR - 2020-05-17 10:32:47 --> Severity: Notice --> Undefined variable: kelas_id C:\xampp\htdocs\application\controllers\elearning\Login.php 43 +ERROR - 2020-05-17 10:32:55 --> Severity: Warning --> Invalid argument supplied for foreach() C:\xampp\htdocs\application\models\M_materi.php 29 +ERROR - 2020-05-17 10:34:34 --> Severity: Notice --> Undefined variable: id C:\xampp\htdocs\application\controllers\elearning\Upload.php 29 +ERROR - 2020-05-17 10:35:50 --> 404 Page Not Found: Assets/plugins +ERROR - 2020-05-17 10:35:51 --> 404 Page Not Found: Assets/plugins +ERROR - 2020-05-17 10:38:16 --> 404 Page Not Found: Assets/plugins +ERROR - 2020-05-17 10:38:16 --> 404 Page Not Found: Assets/plugins +ERROR - 2020-05-17 10:38:25 --> Severity: error --> Exception: Too few arguments to function Pelajaran::index(), 0 passed in C:\xampp\htdocs\system\core\CodeIgniter.php on line 532 and exactly 1 expected C:\xampp\htdocs\application\controllers\elearning\Pelajaran.php 8 +ERROR - 2020-05-17 10:40:44 --> Severity: error --> Exception: Object of class stdClass could not be converted to string C:\xampp\htdocs\application\views\elearning\v_home_siswa.php 38 +ERROR - 2020-05-17 10:40:52 --> Severity: Notice --> Array to string conversion C:\xampp\htdocs\application\views\elearning\v_home_siswa.php 38 +ERROR - 2020-05-17 10:40:52 --> Severity: Notice --> Array to string conversion C:\xampp\htdocs\application\views\elearning\v_home_siswa.php 38 +ERROR - 2020-05-17 10:40:52 --> Severity: Notice --> Array to string conversion C:\xampp\htdocs\application\views\elearning\v_home_siswa.php 38 +ERROR - 2020-05-17 10:40:52 --> Severity: Notice --> Trying to get property 'materi_mapel' of non-object C:\xampp\htdocs\application\views\elearning\v_home_siswa.php 39 +ERROR - 2020-05-17 10:40:52 --> Severity: Notice --> Trying to get property 'materi_mapel' of non-object C:\xampp\htdocs\application\views\elearning\v_home_siswa.php 40 +ERROR - 2020-05-17 10:41:15 --> Severity: Notice --> Trying to get property 'materi_mapel' of non-object C:\xampp\htdocs\application\views\elearning\v_home_siswa.php 39 +ERROR - 2020-05-17 10:41:15 --> Severity: Notice --> Trying to get property 'materi_mapel' of non-object C:\xampp\htdocs\application\views\elearning\v_home_siswa.php 40 +ERROR - 2020-05-17 10:45:04 --> Severity: Notice --> Array to string conversion C:\xampp\htdocs\application\views\elearning\v_home_siswa.php 38 +ERROR - 2020-05-17 10:45:04 --> Severity: Notice --> Array to string conversion C:\xampp\htdocs\application\views\elearning\v_home_siswa.php 38 +ERROR - 2020-05-17 10:45:04 --> Severity: Notice --> Array to string conversion C:\xampp\htdocs\application\views\elearning\v_home_siswa.php 38 +ERROR - 2020-05-17 10:45:04 --> Severity: Notice --> Trying to get property 'materi_mapel' of non-object C:\xampp\htdocs\application\views\elearning\v_home_siswa.php 39 +ERROR - 2020-05-17 10:45:04 --> Severity: Notice --> Trying to get property 'materi_mapel' of non-object C:\xampp\htdocs\application\views\elearning\v_home_siswa.php 40 +ERROR - 2020-05-17 10:45:46 --> Severity: Notice --> Array to string conversion C:\xampp\htdocs\application\views\elearning\v_home_siswa.php 38 +ERROR - 2020-05-17 10:45:46 --> Severity: Notice --> Array to string conversion C:\xampp\htdocs\application\views\elearning\v_home_siswa.php 38 +ERROR - 2020-05-17 10:45:46 --> Severity: Notice --> Array to string conversion C:\xampp\htdocs\application\views\elearning\v_home_siswa.php 38 +ERROR - 2020-05-17 10:45:46 --> Severity: Notice --> Trying to get property 'materi_mapel' of non-object C:\xampp\htdocs\application\views\elearning\v_home_siswa.php 39 +ERROR - 2020-05-17 10:45:46 --> Severity: Notice --> Array to string conversion C:\xampp\htdocs\application\views\elearning\v_home_siswa.php 40 +ERROR - 2020-05-17 10:45:57 --> Severity: Notice --> Array to string conversion C:\xampp\htdocs\application\views\elearning\v_home_siswa.php 38 +ERROR - 2020-05-17 10:45:57 --> Severity: Notice --> Array to string conversion C:\xampp\htdocs\application\views\elearning\v_home_siswa.php 38 +ERROR - 2020-05-17 10:45:57 --> Severity: Notice --> Array to string conversion C:\xampp\htdocs\application\views\elearning\v_home_siswa.php 38 +ERROR - 2020-05-17 10:45:57 --> Severity: Warning --> strtolower() expects parameter 1 to be string, array given C:\xampp\htdocs\application\views\elearning\v_home_siswa.php 39 +ERROR - 2020-05-17 10:45:57 --> Severity: Notice --> Array to string conversion C:\xampp\htdocs\application\views\elearning\v_home_siswa.php 40 +ERROR - 2020-05-17 10:47:03 --> Severity: Notice --> Array to string conversion C:\xampp\htdocs\application\controllers\elearning\Home.php 15 +ERROR - 2020-05-17 10:47:03 --> Severity: Notice --> Array to string conversion C:\xampp\htdocs\application\controllers\elearning\Home.php 15 +ERROR - 2020-05-17 10:47:03 --> Severity: Notice --> Array to string conversion C:\xampp\htdocs\application\controllers\elearning\Home.php 15 +ERROR - 2020-05-17 10:47:03 --> 1 +ERROR - 2020-05-17 10:47:03 --> Severity: Notice --> Array to string conversion C:\xampp\htdocs\application\views\elearning\v_home_siswa.php 38 +ERROR - 2020-05-17 10:47:03 --> Severity: Notice --> Array to string conversion C:\xampp\htdocs\application\views\elearning\v_home_siswa.php 38 +ERROR - 2020-05-17 10:47:03 --> Severity: Notice --> Array to string conversion C:\xampp\htdocs\application\views\elearning\v_home_siswa.php 38 +ERROR - 2020-05-17 10:47:03 --> Severity: Warning --> strtolower() expects parameter 1 to be string, array given C:\xampp\htdocs\application\views\elearning\v_home_siswa.php 39 +ERROR - 2020-05-17 10:47:03 --> Severity: Notice --> Array to string conversion C:\xampp\htdocs\application\views\elearning\v_home_siswa.php 40 +ERROR - 2020-05-17 10:47:28 --> Severity: Notice --> Array to string conversion C:\xampp\htdocs\application\controllers\elearning\Home.php 15 +ERROR - 2020-05-17 10:47:28 --> Severity: Notice --> Array to string conversion C:\xampp\htdocs\application\controllers\elearning\Home.php 15 +ERROR - 2020-05-17 10:47:28 --> Severity: Notice --> Array to string conversion C:\xampp\htdocs\application\controllers\elearning\Home.php 15 +ERROR - 2020-05-17 10:47:28 --> [{"materi_mapel":"Fisika"}] +ERROR - 2020-05-17 10:47:28 --> Severity: Notice --> Array to string conversion C:\xampp\htdocs\application\views\elearning\v_home_siswa.php 38 +ERROR - 2020-05-17 10:47:28 --> Severity: Notice --> Array to string conversion C:\xampp\htdocs\application\views\elearning\v_home_siswa.php 38 +ERROR - 2020-05-17 10:47:28 --> Severity: Notice --> Array to string conversion C:\xampp\htdocs\application\views\elearning\v_home_siswa.php 38 +ERROR - 2020-05-17 10:47:28 --> Severity: Warning --> strtolower() expects parameter 1 to be string, array given C:\xampp\htdocs\application\views\elearning\v_home_siswa.php 39 +ERROR - 2020-05-17 10:47:28 --> Severity: Notice --> Array to string conversion C:\xampp\htdocs\application\views\elearning\v_home_siswa.php 40 +ERROR - 2020-05-17 10:48:08 --> Severity: Warning --> array_column() expects at least 2 parameters, 1 given C:\xampp\htdocs\application\controllers\elearning\Home.php 15 +ERROR - 2020-05-17 10:48:08 --> Severity: Warning --> array_unique() expects parameter 1 to be array, null given C:\xampp\htdocs\application\controllers\elearning\Home.php 15 +ERROR - 2020-05-17 10:48:08 --> null +ERROR - 2020-05-17 10:48:08 --> Severity: Notice --> Array to string conversion C:\xampp\htdocs\application\views\elearning\v_home_siswa.php 38 +ERROR - 2020-05-17 10:48:08 --> Severity: Notice --> Array to string conversion C:\xampp\htdocs\application\views\elearning\v_home_siswa.php 38 +ERROR - 2020-05-17 10:48:08 --> Severity: Notice --> Array to string conversion C:\xampp\htdocs\application\views\elearning\v_home_siswa.php 38 +ERROR - 2020-05-17 10:48:08 --> Severity: Warning --> strtolower() expects parameter 1 to be string, array given C:\xampp\htdocs\application\views\elearning\v_home_siswa.php 39 +ERROR - 2020-05-17 10:48:08 --> Severity: Notice --> Array to string conversion C:\xampp\htdocs\application\views\elearning\v_home_siswa.php 40 +ERROR - 2020-05-17 10:48:33 --> {"0":"Fisika","2":"Matematika"} +ERROR - 2020-05-17 10:48:33 --> Severity: Notice --> Array to string conversion C:\xampp\htdocs\application\views\elearning\v_home_siswa.php 38 +ERROR - 2020-05-17 10:48:33 --> Severity: Notice --> Array to string conversion C:\xampp\htdocs\application\views\elearning\v_home_siswa.php 38 +ERROR - 2020-05-17 10:48:33 --> Severity: Notice --> Array to string conversion C:\xampp\htdocs\application\views\elearning\v_home_siswa.php 38 +ERROR - 2020-05-17 10:48:33 --> Severity: Warning --> strtolower() expects parameter 1 to be string, array given C:\xampp\htdocs\application\views\elearning\v_home_siswa.php 39 +ERROR - 2020-05-17 10:48:33 --> Severity: Notice --> Array to string conversion C:\xampp\htdocs\application\views\elearning\v_home_siswa.php 40 +ERROR - 2020-05-17 10:53:42 --> Severity: Warning --> array_column() expects at least 2 parameters, 1 given C:\xampp\htdocs\application\controllers\elearning\Home.php 18 +ERROR - 2020-05-17 10:53:42 --> Severity: Warning --> array_unique() expects parameter 1 to be array, null given C:\xampp\htdocs\application\controllers\elearning\Home.php 18 +ERROR - 2020-05-17 10:53:42 --> Severity: Notice --> Undefined variable: mapel C:\xampp\htdocs\application\views\elearning\v_home_siswa.php 38 +ERROR - 2020-05-17 10:53:42 --> Severity: error --> Exception: Call to a member function result_array() on null C:\xampp\htdocs\application\views\elearning\v_home_siswa.php 38 +ERROR - 2020-05-17 10:54:23 --> Severity: Notice --> Undefined variable: mapel C:\xampp\htdocs\application\views\elearning\v_home_siswa.php 38 +ERROR - 2020-05-17 10:54:23 --> Severity: error --> Exception: Call to a member function result_array() on null C:\xampp\htdocs\application\views\elearning\v_home_siswa.php 38 +ERROR - 2020-05-17 10:56:10 --> Severity: error --> Exception: Call to a member function result_array() on array C:\xampp\htdocs\application\views\elearning\v_home_siswa.php 38 +ERROR - 2020-05-17 10:58:55 --> Severity: Notice --> Array to string conversion C:\xampp\htdocs\application\controllers\elearning\Home.php 15 +ERROR - 2020-05-17 10:58:55 --> Severity: Notice --> Array to string conversion C:\xampp\htdocs\application\controllers\elearning\Home.php 15 +ERROR - 2020-05-17 10:58:55 --> Severity: Notice --> Array to string conversion C:\xampp\htdocs\application\controllers\elearning\Home.php 15 +ERROR - 2020-05-17 10:58:55 --> Severity: error --> Exception: Call to a member function result_array() on array C:\xampp\htdocs\application\views\elearning\v_home_siswa.php 38 +ERROR - 2020-05-17 10:59:40 --> Severity: Notice --> Array to string conversion C:\xampp\htdocs\application\controllers\elearning\Home.php 15 +ERROR - 2020-05-17 10:59:40 --> Severity: Notice --> Array to string conversion C:\xampp\htdocs\application\controllers\elearning\Home.php 15 +ERROR - 2020-05-17 10:59:40 --> Severity: Notice --> Array to string conversion C:\xampp\htdocs\application\controllers\elearning\Home.php 15 +ERROR - 2020-05-17 10:59:40 --> Severity: error --> Exception: Call to a member function result_array() on array C:\xampp\htdocs\application\views\elearning\v_home_siswa.php 38 +ERROR - 2020-05-17 11:00:01 --> Severity: Notice --> Array to string conversion C:\xampp\htdocs\application\controllers\elearning\Home.php 15 +ERROR - 2020-05-17 11:00:01 --> Severity: Notice --> Array to string conversion C:\xampp\htdocs\application\controllers\elearning\Home.php 15 +ERROR - 2020-05-17 11:00:01 --> Severity: Notice --> Array to string conversion C:\xampp\htdocs\application\controllers\elearning\Home.php 15 +ERROR - 2020-05-17 11:00:23 --> Severity: Notice --> Array to string conversion C:\xampp\htdocs\application\controllers\elearning\Home.php 15 +ERROR - 2020-05-17 11:00:23 --> Severity: Notice --> Array to string conversion C:\xampp\htdocs\application\controllers\elearning\Home.php 15 +ERROR - 2020-05-17 11:00:23 --> Severity: Notice --> Array to string conversion C:\xampp\htdocs\application\controllers\elearning\Home.php 15 +ERROR - 2020-05-17 11:01:26 --> Severity: Notice --> Array to string conversion C:\xampp\htdocs\application\controllers\elearning\Home.php 15 +ERROR - 2020-05-17 11:01:26 --> Severity: Notice --> Array to string conversion C:\xampp\htdocs\application\controllers\elearning\Home.php 15 +ERROR - 2020-05-17 11:01:26 --> Severity: Notice --> Array to string conversion C:\xampp\htdocs\application\controllers\elearning\Home.php 15 +ERROR - 2020-05-17 11:01:59 --> Severity: error --> Exception: syntax error, unexpected '$data' (T_VARIABLE) C:\xampp\htdocs\application\controllers\elearning\Home.php 16 +ERROR - 2020-05-17 11:02:10 --> Severity: Notice --> Array to string conversion C:\xampp\htdocs\application\controllers\elearning\Home.php 15 +ERROR - 2020-05-17 11:02:10 --> Severity: Notice --> Array to string conversion C:\xampp\htdocs\application\controllers\elearning\Home.php 15 +ERROR - 2020-05-17 11:02:10 --> Severity: Notice --> Array to string conversion C:\xampp\htdocs\application\controllers\elearning\Home.php 15 +ERROR - 2020-05-17 11:02:28 --> Severity: Notice --> Array to string conversion C:\xampp\htdocs\application\controllers\elearning\Home.php 15 +ERROR - 2020-05-17 11:02:28 --> Severity: Notice --> Array to string conversion C:\xampp\htdocs\application\controllers\elearning\Home.php 15 +ERROR - 2020-05-17 11:02:28 --> Severity: Notice --> Array to string conversion C:\xampp\htdocs\application\controllers\elearning\Home.php 15 +ERROR - 2020-05-17 11:02:28 --> [{"materi_mapel":"Fisika"}] +ERROR - 2020-05-17 11:02:28 --> Severity: Notice --> Array to string conversion C:\xampp\htdocs\application\controllers\elearning\Home.php 16 +ERROR - 2020-05-17 11:02:28 --> Severity: Notice --> Array to string conversion C:\xampp\htdocs\application\controllers\elearning\Home.php 16 +ERROR - 2020-05-17 11:02:28 --> Severity: Notice --> Array to string conversion C:\xampp\htdocs\application\controllers\elearning\Home.php 16 +ERROR - 2020-05-17 11:02:49 --> Severity: Notice --> Trying to get property 'materi_mapel' of non-object C:\xampp\htdocs\application\controllers\elearning\Home.php 14 +ERROR - 2020-05-17 11:02:49 --> Severity: Warning --> array_unique() expects parameter 1 to be array, null given C:\xampp\htdocs\application\controllers\elearning\Home.php 15 +ERROR - 2020-05-17 11:02:49 --> null +ERROR - 2020-05-17 11:02:49 --> Severity: Warning --> array_unique() expects parameter 1 to be array, null given C:\xampp\htdocs\application\controllers\elearning\Home.php 16 +ERROR - 2020-05-17 11:02:49 --> Severity: Warning --> array_column() expects parameter 1 to be array, null given C:\xampp\htdocs\application\controllers\elearning\Home.php 17 +ERROR - 2020-05-17 11:02:49 --> Severity: Warning --> Invalid argument supplied for foreach() C:\xampp\htdocs\application\views\elearning\v_home_siswa.php 38 +ERROR - 2020-05-17 11:03:20 --> Severity: Notice --> Trying to get property 'materi_mapel' of non-object C:\xampp\htdocs\application\controllers\elearning\Home.php 14 +ERROR - 2020-05-17 11:03:20 --> Severity: Warning --> array_unique() expects parameter 1 to be array, null given C:\xampp\htdocs\application\controllers\elearning\Home.php 15 +ERROR - 2020-05-17 11:03:20 --> null +ERROR - 2020-05-17 11:03:20 --> Severity: Warning --> array_unique() expects parameter 1 to be array, null given C:\xampp\htdocs\application\controllers\elearning\Home.php 16 +ERROR - 2020-05-17 11:03:20 --> Severity: Warning --> array_column() expects parameter 1 to be array, null given C:\xampp\htdocs\application\controllers\elearning\Home.php 17 +ERROR - 2020-05-17 11:03:20 --> Severity: Warning --> Invalid argument supplied for foreach() C:\xampp\htdocs\application\views\elearning\v_home_siswa.php 38 +ERROR - 2020-05-17 11:07:24 --> 404 Page Not Found: Assets/files +ERROR - 2020-05-17 11:12:17 --> 404 Page Not Found: Assets/plugins +ERROR - 2020-05-17 11:12:17 --> 404 Page Not Found: Assets/plugins +ERROR - 2020-05-17 11:17:10 --> 404 Page Not Found: Assets/plugins +ERROR - 2020-05-17 11:17:10 --> 404 Page Not Found: Assets/plugins +ERROR - 2020-05-17 11:24:44 --> Severity: error --> Exception: Call to undefined function ereg_replace() C:\xampp\htdocs\application\views\elearning\v_pelajaran.php 48 +ERROR - 2020-05-17 11:25:44 --> Severity: Warning --> preg_replace(): Unknown modifier '+' C:\xampp\htdocs\application\views\elearning\v_pelajaran.php 48 +ERROR - 2020-05-17 11:25:44 --> Severity: Warning --> preg_replace(): Unknown modifier '+' C:\xampp\htdocs\application\views\elearning\v_pelajaran.php 48 +ERROR - 2020-05-17 11:28:23 --> Severity: Warning --> preg_replace() expects at least 3 parameters, 2 given C:\xampp\htdocs\application\views\elearning\v_pelajaran.php 51 +ERROR - 2020-05-17 11:28:23 --> Severity: Warning --> preg_replace() expects at least 3 parameters, 2 given C:\xampp\htdocs\application\views\elearning\v_pelajaran.php 51 +ERROR - 2020-05-17 11:33:33 --> Severity: Warning --> preg_replace(): Unknown modifier 'g' C:\xampp\htdocs\application\views\elearning\v_pelajaran.php 48 +ERROR - 2020-05-17 11:33:33 --> Severity: Warning --> preg_replace(): Unknown modifier 'g' C:\xampp\htdocs\application\views\elearning\v_pelajaran.php 51 +ERROR - 2020-05-17 11:33:33 --> Severity: Warning --> preg_replace(): Unknown modifier 'g' C:\xampp\htdocs\application\views\elearning\v_pelajaran.php 48 +ERROR - 2020-05-17 11:33:33 --> Severity: Warning --> preg_replace(): Unknown modifier 'g' C:\xampp\htdocs\application\views\elearning\v_pelajaran.php 51 +ERROR - 2020-05-17 11:34:29 --> Severity: Warning --> preg_replace(): Compilation failed: invalid range in character class at offset 3 C:\xampp\htdocs\application\views\elearning\v_pelajaran.php 48 +ERROR - 2020-05-17 11:34:29 --> Severity: Warning --> preg_replace(): Compilation failed: invalid range in character class at offset 3 C:\xampp\htdocs\application\views\elearning\v_pelajaran.php 51 +ERROR - 2020-05-17 11:34:29 --> Severity: Warning --> preg_replace(): Compilation failed: invalid range in character class at offset 3 C:\xampp\htdocs\application\views\elearning\v_pelajaran.php 48 +ERROR - 2020-05-17 11:34:29 --> Severity: Warning --> preg_replace(): Compilation failed: invalid range in character class at offset 3 C:\xampp\htdocs\application\views\elearning\v_pelajaran.php 51 +ERROR - 2020-05-17 11:39:45 --> 404 Page Not Found: Assets/plugins +ERROR - 2020-05-17 11:39:45 --> 404 Page Not Found: Assets/plugins +ERROR - 2020-05-17 11:40:10 --> 404 Page Not Found: Assets/plugins +ERROR - 2020-05-17 11:40:10 --> 404 Page Not Found: Assets/plugins diff --git a/application/models/M_album.php b/application/models/M_album.php new file mode 100644 index 0000000..96e8173 --- /dev/null +++ b/application/models/M_album.php @@ -0,0 +1,30 @@ +db->query("SELECT tbl_album.*,DATE_FORMAT(album_tanggal,'%d/%m/%Y') AS tanggal FROM tbl_album ORDER BY album_id DESC"); + return $hsl; + } + function simpan_album($album,$user_id,$user_nama,$gambar){ + $hsl=$this->db->query("insert into tbl_album(album_nama,album_pengguna_id,album_author,album_cover) values ('$album','$user_id','$user_nama','$gambar')"); + return $hsl; + } + function get_tulisan_by_kode($kode){ + $hsl=$this->db->query("SELECT tbl_tulisan.*,DATE_FORMAT(tulisan_tanggal,'%d/%m/%Y') AS tanggal FROM tbl_tulisan where tulisan_id='$kode'"); + return $hsl; + } + function update_album($album_id,$album_nama,$user_id,$user_nama,$gambar){ + $hsl=$this->db->query("update tbl_album set album_nama='$album_nama',album_pengguna_id='$user_id',album_author='$user_nama',album_cover='$gambar' where album_id='$album_id'"); + return $hsl; + } + function update_album_tanpa_img($album_id,$album_nama,$user_id,$user_nama){ + $hsl=$this->db->query("update tbl_album set album_nama='$album_nama',album_pengguna_id='$user_id',album_author='$user_nama' where album_id='$album_id'"); + return $hsl; + } + function hapus_album($kode){ + $hsl=$this->db->query("delete from tbl_album where album_id='$kode'"); + return $hsl; + } + + +} \ No newline at end of file diff --git a/application/models/M_files.php b/application/models/M_files.php new file mode 100644 index 0000000..d7404e8 --- /dev/null +++ b/application/models/M_files.php @@ -0,0 +1,36 @@ +db->query("SELECT file_id,file_judul,file_deskripsi,DATE_FORMAT(file_tanggal,'%d/%m/%Y') AS tanggal,file_oleh,file_download,file_data FROM tbl_files ORDER BY file_id DESC"); + return $hsl; + } + function simpan_file($judul,$deskripsi,$oleh,$file){ + $hsl=$this->db->query("INSERT INTO tbl_files(file_judul,file_deskripsi,file_oleh,file_data) VALUES ('$judul','$deskripsi','$oleh','$file')"); + return $hsl; + } + function update_file($kode,$judul,$deskripsi,$oleh,$file){ + $hsl=$this->db->query("UPDATE tbl_files SET file_judul='$judul',file_deskripsi='$deskripsi',file_oleh='$oleh',file_data='$file' WHERE file_id='$kode'"); + return $hsl; + } + function update_file_tanpa_file($kode,$judul,$deskripsi,$oleh){ + $hsl=$this->db->query("UPDATE tbl_files SET file_judul='$judul',file_deskripsi='$deskripsi',file_oleh='$oleh' WHERE file_id='$kode'"); + return $hsl; + } + function hapus_file($kode){ + $hsl=$this->db->query("DELETE FROM tbl_files WHERE file_id='$kode'"); + return $hsl; + } + + function get_file_byid($id){ + $hsl=$this->db->query("SELECT file_id,file_judul,file_deskripsi,DATE_FORMAT(file_tanggal,'%d/%m/%Y') AS tanggal,file_oleh,file_download,file_data FROM tbl_files WHERE file_id='$id'"); + return $hsl; + } + + //Front-end + function get_files_home(){ + $hsl=$this->db->query("SELECT file_id,file_judul,file_deskripsi,DATE_FORMAT(file_tanggal,'%d/%m/%Y') AS tanggal,file_oleh,file_download,file_data FROM tbl_files ORDER BY file_id DESC limit 7"); + return $hsl; + } + +} \ No newline at end of file diff --git a/application/models/M_galeri.php b/application/models/M_galeri.php new file mode 100644 index 0000000..b45f263 --- /dev/null +++ b/application/models/M_galeri.php @@ -0,0 +1,50 @@ +db->query("SELECT tbl_galeri.*,DATE_FORMAT(galeri_tanggal,'%d/%m/%Y') AS tanggal,album_nama FROM tbl_galeri join tbl_album on galeri_album_id=album_id ORDER BY galeri_id DESC"); + return $hsl; + } + function simpan_galeri($judul,$album,$user_id,$user_nama,$gambar){ + $this->db->trans_start(); + $this->db->query("insert into tbl_galeri(galeri_judul,galeri_album_id,galeri_pengguna_id,galeri_author,galeri_gambar) values ('$judul','$album','$user_id','$user_nama','$gambar')"); + $this->db->query("update tbl_album set album_count=album_count+1 where album_id='$album'"); + $this->db->trans_complete(); + if($this->db->trans_status()==true) + return true; + else + return false; + } + + function update_galeri($galeri_id,$judul,$album,$user_id,$user_nama,$gambar){ + $hsl=$this->db->query("update tbl_galeri set galeri_judul='$judul',galeri_album_id='$album',galeri_pengguna_id='$user_id',galeri_author='$user_nama',galeri_gambar='$gambar' where galeri_id='$galeri_id'"); + return $hsl; + } + function update_galeri_tanpa_img($galeri_id,$judul,$album,$user_id,$user_nama){ + $hsl=$this->db->query("update tbl_galeri set galeri_judul='$judul',galeri_album_id='$album',galeri_pengguna_id='$user_id',galeri_author='$user_nama' where galeri_id='$galeri_id'"); + return $hsl; + } + function hapus_galeri($kode,$album){ + $this->db->trans_start(); + $this->db->query("delete from tbl_galeri where galeri_id='$kode'"); + $this->db->query("update tbl_album set album_count=album_count-1 where album_id='$album'"); + $this->db->trans_complete(); + if($this->db->trans_status()==true) + return true; + else + return false; + } + + //Front-End + function get_galeri_home(){ + $hsl=$this->db->query("SELECT tbl_galeri.*,DATE_FORMAT(galeri_tanggal,'%d/%m/%Y') AS tanggal,album_nama FROM tbl_galeri join tbl_album on galeri_album_id=album_id ORDER BY galeri_id DESC limit 4"); + return $hsl; + } + + function get_galeri_by_album_id($idalbum){ + $hsl=$this->db->query("SELECT tbl_galeri.*,DATE_FORMAT(galeri_tanggal,'%d/%m/%Y') AS tanggal,album_nama FROM tbl_galeri join tbl_album on galeri_album_id=album_id where galeri_album_id='$idalbum' ORDER BY galeri_id DESC"); + return $hsl; + } + + +} \ No newline at end of file diff --git a/application/models/M_guru.php b/application/models/M_guru.php new file mode 100644 index 0000000..cd21bb7 --- /dev/null +++ b/application/models/M_guru.php @@ -0,0 +1,53 @@ +db->query("SELECT * FROM tbl_guru"); + return $hsl; + } + + function simpan_guru($nik,$nama,$jenkel,$tmp_lahir,$tgl_lahir,$mapel,$photo){ + $hsl=$this->db->query("INSERT INTO tbl_guru (guru_nik,guru_nama,guru_jenkel,guru_tmp_lahir,guru_tgl_lahir,guru_mapel,guru_photo) VALUES ('$nik','$nama','$jenkel','$tmp_lahir','$tgl_lahir','$mapel','$photo')"); + return $hsl; + } + function simpan_guru_tanpa_img($nik,$nama,$jenkel,$tmp_lahir,$tgl_lahir,$mapel){ + $hsl=$this->db->query("INSERT INTO tbl_guru (guru_nik,guru_nama,guru_jenkel,guru_tmp_lahir,guru_tgl_lahir,guru_mapel) VALUES ('$nik','$nama','$jenkel','$tmp_lahir','$tgl_lahir','$mapel')"); + return $hsl; + } + + function update_guru($kode,$nik,$nama,$jenkel,$tmp_lahir,$tgl_lahir,$mapel,$photo){ + $hsl=$this->db->query("UPDATE tbl_guru SET guru_nik='$nik',guru_nama='$nama',guru_jenkel='$jenkel',guru_tmp_lahir='$tmp_lahir',guru_tgl_lahir='$tgl_lahir',guru_mapel='$mapel',guru_photo='$photo' WHERE guru_id='$kode'"); + return $hsl; + } + function update_guru_tanpa_img($kode,$nik,$nama,$jenkel,$tmp_lahir,$tgl_lahir,$mapel){ + $hsl=$this->db->query("UPDATE tbl_guru SET guru_nik='$nik',guru_nama='$nama',guru_jenkel='$jenkel',guru_tmp_lahir='$tmp_lahir',guru_tgl_lahir='$tgl_lahir',guru_mapel='$mapel' WHERE guru_id='$kode'"); + return $hsl; + } + function hapus_guru($kode){ + $hsl=$this->db->query("DELETE FROM tbl_guru WHERE guru_id='$kode'"); + return $hsl; + } + + //front-end + function guru(){ + $hsl=$this->db->query("SELECT * FROM tbl_guru"); + return $hsl; + } + function guru_perpage($offset,$limit){ + $hsl=$this->db->query("SELECT * FROM tbl_guru limit $offset,$limit"); + return $hsl; + } + + // e-learning + function get_guru_id($username) { + return $this->db->query("SELECT pengguna_guru FROM tbl_pengguna WHERE pengguna_username='$username'"); + } + + function get_guru($id) { + return $this->db->query("SELECT * FROM tbl_guru WHERE guru_id='$id'"); + } + + function get_guru_kelas($id) { + return $this->db->query("SELECT ajar_kelas_id FROM tbl_ajar WHERE ajar_guru_id='$id'"); + } +} \ No newline at end of file diff --git a/application/models/M_kategori.php b/application/models/M_kategori.php new file mode 100644 index 0000000..83b3f03 --- /dev/null +++ b/application/models/M_kategori.php @@ -0,0 +1,26 @@ +db->query("select * from tbl_kategori"); + return $hsl; + } + function simpan_kategori($kategori){ + $hsl=$this->db->query("insert into tbl_kategori(kategori_nama) values('$kategori')"); + return $hsl; + } + function update_kategori($kode,$kategori){ + $hsl=$this->db->query("update tbl_kategori set kategori_nama='$kategori' where kategori_id='$kode'"); + return $hsl; + } + function hapus_kategori($kode){ + $hsl=$this->db->query("delete from tbl_kategori where kategori_id='$kode'"); + return $hsl; + } + + function get_kategori_byid($kategori_id){ + $hsl=$this->db->query("select * from tbl_kategori where kategori_id='$kategori_id'"); + return $hsl; + } + +} \ No newline at end of file diff --git a/application/models/M_kontak.php b/application/models/M_kontak.php new file mode 100644 index 0000000..63b4df6 --- /dev/null +++ b/application/models/M_kontak.php @@ -0,0 +1,23 @@ +db->query("INSERT INTO tbl_inbox(inbox_nama,inbox_email,inbox_kontak,inbox_pesan) VALUES ('$nama','$email','$kontak','$pesan')"); + return $hsl; + } + + function get_all_inbox(){ + $hsl=$this->db->query("SELECT tbl_inbox.*,DATE_FORMAT(inbox_tanggal,'%d %M %Y') AS tanggal FROM tbl_inbox ORDER BY inbox_id DESC"); + return $hsl; + } + + function hapus_kontak($kode){ + $hsl=$this->db->query("DELETE FROM tbl_inbox WHERE inbox_id='$kode'"); + return $hsl; + } + + function update_status_kontak(){ + $hsl=$this->db->query("UPDATE tbl_inbox SET inbox_status='0'"); + return $hsl; + } +} \ No newline at end of file diff --git a/application/models/M_login.php b/application/models/M_login.php new file mode 100644 index 0000000..32806cc --- /dev/null +++ b/application/models/M_login.php @@ -0,0 +1,15 @@ +db->query("SELECT * FROM tbl_pengguna WHERE pengguna_username='$u' AND pengguna_password=md5('$p')"); + return $hasil; + } + + function login_elearning($u, $p) { + return $this->db->query("SELECT pengguna_status + FROM tbl_pengguna + WHERE pengguna_username='$u' AND pengguna_password=md5('$p') AND pengguna_status < 3 + LIMIT 1"); + } + +} diff --git a/application/models/M_materi.php b/application/models/M_materi.php new file mode 100644 index 0000000..bcded0f --- /dev/null +++ b/application/models/M_materi.php @@ -0,0 +1,51 @@ +db->query("SELECT * FROM tbl_materi WHERE materi_guru_id='$arg[0]'"); + + case 2: + return $this->db->query("SELECT * FROM tbl_materi + JOIN tbl_guru + ON tbl_guru.guru_id=tbl_materi.materi_guru_id + AND tbl_materi.materi_mapel='$arg[0]' + AND tbl_materi.materi_kelas_id='$arg[1]'"); + + } + } + } + + function get_all_mapel() { + return $this->db->query("SELECT materi_mapel FROM tbl_materi"); + } + + function get_guru_nama($id) { + return $this->db->query("SELECT guru_nama FROM tbl_guru WHERE guru_id=$id"); + } + + function save_materi($guru_id, $kelas_guru, $materi_mapel, $materi_judul, $konten, $materi_catatan) { + foreach($kelas_guru as $k) { + $this->db->query("INSERT INTO + tbl_materi ( + materi_guru_id, + materi_kelas_id, + materi_mapel, + materi_judul, + materi_konten, + materi_catatan + ) + VALUES ( + '$guru_id', + '$k', + '$materi_mapel', + '$materi_judul', + '$konten', + '$materi_catatan' + ) + "); + } + } +} +?> \ No newline at end of file diff --git a/application/models/M_misi.php b/application/models/M_misi.php new file mode 100644 index 0000000..2b42af5 --- /dev/null +++ b/application/models/M_misi.php @@ -0,0 +1,20 @@ +db->query("SELECT misi_id,misi_deskripsi FROM tbl_misi ORDER BY misi_id ASC"); + return $hsl; + } + function simpan_misi($misi){ + $hsl=$this->db->query("INSERT INTO tbl_misi(misi_deskripsi) VALUES ('$misi')"); + return $hsl; + } + function update_misi($kode,$misi){ + $hsl=$this->db->query("UPDATE tbl_misi SET misi_deskripsi='$misi' WHERE misi_id='$kode'"); + return $hsl; + } + function hapus_misi($kode){ + $hsl=$this->db->query("DELETE FROM tbl_misi WHERE misi_id='$kode'"); + return $hsl; + } +} diff --git a/application/models/M_pengguna.php b/application/models/M_pengguna.php new file mode 100644 index 0000000..1c0fd89 --- /dev/null +++ b/application/models/M_pengguna.php @@ -0,0 +1,58 @@ +db->query("SELECT tbl_pengguna.*,IF(pengguna_jenkel='L','Laki-Laki','Perempuan') AS jenkel FROM tbl_pengguna"); + return $hsl; + } + + function simpan_pengguna($nama,$jenkel,$username,$password,$email,$nohp,$status,$level,$gambar){ + $hsl=$this->db->query("INSERT INTO tbl_pengguna (pengguna_nama,pengguna_jenkel,pengguna_username,pengguna_password,pengguna_email,pengguna_nohp,pengguna_status,pengguna_level,pengguna_photo) VALUES ('$nama','$jenkel','$username',md5('$password'),'$email','$nohp','$status','$level','$gambar')"); + return $hsl; + } + + function simpan_pengguna_tanpa_gambar($nama,$jenkel,$username,$password,$email,$nohp,$status,$level){ + $hsl=$this->db->query("INSERT INTO tbl_pengguna (pengguna_nama,pengguna_jenkel,pengguna_username,pengguna_password,pengguna_email,pengguna_nohp,pengguna_status,pengguna_level) VALUES ('$nama','$jenkel','$username',md5('$password'),'$email','$nohp','$status','$level')"); + return $hsl; + } + + //UPDATE PENGGUNA // + function update_pengguna_tanpa_pass($kode,$nama,$jenkel,$username,$password,$email,$nohp,$level,$gambar){ + $hsl=$this->db->query("UPDATE tbl_pengguna set pengguna_nama='$nama',pengguna_jenkel='$jenkel',pengguna_username='$username',pengguna_email='$email',pengguna_nohp='$nohp',pengguna_level='$level',pengguna_photo='$gambar' where pengguna_id='$kode'"); + return $hsl; + } + function update_pengguna($kode,$nama,$jenkel,$username,$password,$email,$nohp,$level,$gambar){ + $hsl=$this->db->query("UPDATE tbl_pengguna set pengguna_nama='$nama',pengguna_jenkel='$jenkel',pengguna_username='$username',pengguna_password='$password',pengguna_email='$email',pengguna_nohp='$nohp',pengguna_level='$level',pengguna_photo='$gambar' where pengguna_id='$kode'"); + return $hsl; + } + + function update_pengguna_tanpa_pass_dan_gambar($kode,$nama,$jenkel,$username,$password,$email,$nohp,$level){ + $hsl=$this->db->query("UPDATE tbl_pengguna set pengguna_nama='$nama',pengguna_jenkel='$jenkel',pengguna_username='$username',pengguna_email='$email',pengguna_nohp='$nohp',pengguna_level='$level' where pengguna_id='$kode'"); + return $hsl; + } + function update_pengguna_tanpa_gambar($kode,$nama,$jenkel,$username,$password,$email,$nohp,$level){ + $hsl=$this->db->query("UPDATE tbl_pengguna set pengguna_nama='$nama',pengguna_jenkel='$jenkel',pengguna_username='$username',pengguna_password='$password',pengguna_email='$email',pengguna_nohp='$nohp',pengguna_level='$level' where pengguna_id='$kode'"); + return $hsl; + } + //END UPDATE PENGGUNA// + + function hapus_pengguna($kode){ + $hsl=$this->db->query("DELETE FROM tbl_pengguna where pengguna_id='$kode'"); + return $hsl; + } + function getusername($id){ + $hsl=$this->db->query("SELECT * FROM tbl_pengguna where pengguna_id='$id'"); + return $hsl; + } + function resetpass($id,$pass){ + $hsl=$this->db->query("UPDATE tbl_pengguna set pengguna_password=md5('$pass') where pengguna_id='$id'"); + return $hsl; + } + + function get_pengguna_login($kode){ + $hsl=$this->db->query("SELECT * FROM tbl_pengguna where pengguna_id='$kode'"); + return $hsl; + } + + +} \ No newline at end of file diff --git a/application/models/M_pengumuman.php b/application/models/M_pengumuman.php new file mode 100644 index 0000000..13e39ea --- /dev/null +++ b/application/models/M_pengumuman.php @@ -0,0 +1,39 @@ +db->query("SELECT pengumuman_id,pengumuman_judul,pengumuman_deskripsi,DATE_FORMAT(pengumuman_tanggal,'%d/%m/%Y') AS tanggal,pengumuman_author FROM tbl_pengumuman ORDER BY pengumuman_id DESC"); + return $hsl; + } + function simpan_pengumuman($judul,$deskripsi){ + $author=$this->session->userdata('nama'); + $hsl=$this->db->query("INSERT INTO tbl_pengumuman(pengumuman_judul,pengumuman_deskripsi,pengumuman_author) VALUES ('$judul','$deskripsi','$author')"); + return $hsl; + } + function update_pengumuman($kode,$judul,$deskripsi){ + $author=$this->session->userdata('nama'); + $hsl=$this->db->query("UPDATE tbl_pengumuman SET pengumuman_judul='$judul',pengumuman_deskripsi='$deskripsi',pengumuman_author='$author' where pengumuman_id='$kode'"); + return $hsl; + } + function hapus_pengumuman($kode){ + $hsl=$this->db->query("DELETE FROM tbl_pengumuman WHERE pengumuman_id='$kode'"); + return $hsl; + } + + //Front-end + function get_pengumuman_home(){ + $hsl=$this->db->query("SELECT pengumuman_id,pengumuman_judul,pengumuman_deskripsi,DATE_FORMAT(pengumuman_tanggal,'%d/%m/%Y') AS tanggal,pengumuman_author FROM tbl_pengumuman ORDER BY pengumuman_id DESC limit 3"); + return $hsl; + } + + function pengumuman(){ + $hsl=$this->db->query("SELECT pengumuman_id,pengumuman_judul,pengumuman_deskripsi,DATE_FORMAT(pengumuman_tanggal,'%d/%m/%Y') AS tanggal,pengumuman_author FROM tbl_pengumuman ORDER BY pengumuman_id DESC"); + return $hsl; + } + function pengumuman_perpage($offset,$limit){ + $hsl=$this->db->query("SELECT pengumuman_id,pengumuman_judul,pengumuman_deskripsi,pengumuman_tanggal,DATE_FORMAT(pengumuman_tanggal,'%d/%m/%Y') AS tanggal,pengumuman_author FROM tbl_pengumuman ORDER BY pengumuman_id DESC limit $offset,$limit"); + return $hsl; + } + + +} diff --git a/application/models/M_pengunjung.php b/application/models/M_pengunjung.php new file mode 100644 index 0000000..6d2749c --- /dev/null +++ b/application/models/M_pengunjung.php @@ -0,0 +1,89 @@ +db->query("SELECT DATE_FORMAT(pengunjung_tanggal,'%d') AS tgl,COUNT(pengunjung_ip) AS jumlah FROM tbl_pengunjung WHERE MONTH(pengunjung_tanggal)=MONTH(CURDATE()) GROUP BY DATE(pengunjung_tanggal)"); + + if($query->num_rows() > 0){ + foreach($query->result() as $data){ + $hasil[] = $data; + } + return $hasil; + } + } + + function visitor_this_year(){ + $query = $this->db->query("SELECT DATE_FORMAT(pengunjung_tanggal,'%M') AS bulan,COUNT(pengunjung_ip) AS jumlah FROM tbl_pengunjung WHERE YEAR(pengunjung_tanggal)=YEAR(CURDATE()) GROUP BY MONTH(pengunjung_tanggal)"); + + if($query->num_rows() > 0){ + foreach($query->result() as $data){ + $hasil[] = $data; + } + return $hasil; + } + } + + function get_all_visitors(){ + $hsl=$this->db->query("SELECT * FROM tbl_pengunjung"); + return $hsl; + } + + function get_sum_visitor_last_year(){ + $hsl=$this->db->query("SELECT COUNT(pengunjung_ip) AS visitor_last_year FROM tbl_pengunjung WHERE YEAR(pengunjung_tanggal)=YEAR(DATE_SUB(CURDATE(), INTERVAL 1 YEAR))"); + return $hsl; + } + + function get_sum_visitor_this_year(){ + $hsl=$this->db->query("SELECT COUNT(pengunjung_ip) AS jumlah FROM tbl_pengunjung WHERE YEAR(pengunjung_tanggal)=YEAR(CURDATE())"); + return $hsl; + } + + function get_average_perbulan(){ + $hsl=$this->db->query("SELECT COUNT(pengunjung_ip)/COUNT(DISTINCT MONTH(pengunjung_tanggal)) AS jumlah FROM tbl_pengunjung WHERE YEAR(pengunjung_tanggal)=YEAR(CURDATE())"); + return $hsl; + } + + function get_sum_visitor_this_month(){ + $hsl=$this->db->query("SELECT COUNT(pengunjung_ip) AS jumlah FROM tbl_pengunjung WHERE MONTH(pengunjung_tanggal)=MONTH(CURDATE())"); + return $hsl; + } + + function get_sum_visitor_last_month(){ + $hsl=$this->db->query("SELECT COUNT(pengunjung_ip) AS jumlah FROM tbl_pengunjung WHERE MONTH(pengunjung_tanggal)=MONTH(DATE_SUB(CURDATE(), INTERVAL 1 MONTH))"); + return $hsl; + } + + function get_average_perday(){ + $hsl=$this->db->query("SELECT COUNT(pengunjung_ip)/COUNT(DISTINCT DAY(pengunjung_tanggal)) AS jumlah FROM tbl_pengunjung WHERE MONTH(pengunjung_tanggal)=MONTH(CURDATE())"); + return $hsl; + } + + function simpan_user_agent($user_ip,$agent){ + $hsl=$this->db->query("INSERT INTO tbl_pengunjung (pengunjung_ip,pengunjung_perangkat) VALUES('$user_ip','$agent')"); + return $hsl; + } + + function cek_ip($user_ip){ + $hsl=$this->db->query("SELECT * FROM tbl_pengunjung WHERE pengunjung_ip='$user_ip' AND DATE(pengunjung_tanggal)=CURDATE()"); + return $hsl; + } + + function count_visitor(){ + $user_ip=$_SERVER['REMOTE_ADDR']; + if ($this->agent->is_browser()){ + $agent = $this->agent->browser(); + }elseif ($this->agent->is_robot()){ + $agent = $this->agent->robot(); + }elseif ($this->agent->is_mobile()){ + $agent = $this->agent->mobile(); + }else{ + $agent='Other'; + } + $cek_ip=$this->db->query("SELECT * FROM tbl_pengunjung WHERE pengunjung_ip='$user_ip' AND DATE(pengunjung_tanggal)=CURDATE()"); + if($cek_ip->num_rows() <= 0){ + $hsl=$this->db->query("INSERT INTO tbl_pengunjung (pengunjung_ip,pengunjung_perangkat) VALUES('$user_ip','$agent')"); + return $hsl; + } + } + +} diff --git a/application/models/M_sejarah.php b/application/models/M_sejarah.php new file mode 100644 index 0000000..5bee841 --- /dev/null +++ b/application/models/M_sejarah.php @@ -0,0 +1,20 @@ +db->query("SELECT sejarah_id,sejarah_deskripsi FROM tbl_sejarah ORDER BY sejarah_id ASC"); + return $hsl; + } + function simpan_sejarah($sejarah){ + $hsl=$this->db->query("INSERT INTO tbl_sejarah(sejarah_deskripsi) VALUES ('$sejarah')"); + return $hsl; + } + function update_sejarah($kode,$sejarah){ + $hsl=$this->db->query("UPDATE tbl_sejarah SET sejarah_deskripsi='$sejarah' WHERE sejarah_id='$kode'"); + return $hsl; + } + function hapus_sejarah($kode){ + $hsl=$this->db->query("DELETE FROM tbl_sejarah WHERE sejarah_id='$kode'"); + return $hsl; + } +} diff --git a/application/models/M_siswa.php b/application/models/M_siswa.php new file mode 100644 index 0000000..220a6c3 --- /dev/null +++ b/application/models/M_siswa.php @@ -0,0 +1,13 @@ +db->query("SELECT siswa_kelas_id FROM tbl_siswa + JOIN tbl_pengguna + ON tbl_pengguna.pengguna_username='$username'"); + } + + function get_siswa_id($username) { + return $this->db->query("SELECT pengguna_siswa FROM tbl_pengguna WHERE pengguna_username='$username'"); + } +} +?> \ No newline at end of file diff --git a/application/models/M_staptu.php b/application/models/M_staptu.php new file mode 100644 index 0000000..4164ad2 --- /dev/null +++ b/application/models/M_staptu.php @@ -0,0 +1,41 @@ +db->query("SELECT * FROM tbl_staptu"); + return $hsl; + } + + function simpan_staptu($nik,$nama,$jenkel,$tmp_lahir,$tgl_lahir,$jabatan,$photo){ + $hsl=$this->db->query("INSERT INTO tbl_staptu (staptu_nik,staptu_nama,staptu_jenkel,staptu_tmp_lahir,staptu_tgl_lahir,staptu_jabatan,staptu_photo) VALUES ('$nik','$nama','$jenkel','$tmp_lahir','$tgl_lahir','$jabatan','$photo')"); + return $hsl; + } + function simpan_staptu_tanpa_img($nik,$nama,$jenkel,$tmp_lahir,$tgl_lahir,$jabatan){ + $hsl=$this->db->query("INSERT INTO tbl_staptu (staptu_nik,staptu_nama,staptu_jenkel,staptu_tmp_lahir,staptu_tgl_lahir,staptu_jabatan) VALUES ('$nik','$nama','$jenkel','$tmp_lahir','$tgl_lahir','$jabatan')"); + return $hsl; + } + + function update_staptu($kode,$nik,$nama,$jenkel,$tmp_lahir,$tgl_lahir,$jabatan,$photo){ + $hsl=$this->db->query("UPDATE tbl_staptu SET staptu_nik='$nik',staptu_nama='$nama',staptu_jenkel='$jenkel',staptu_tmp_lahir='$tmp_lahir',staptu_tgl_lahir='$tgl_lahir',staptu_jabatan='$jabatan',staptu_photo='$photo' WHERE staptu_id='$kode'"); + return $hsl; + } + function update_staptu_tanpa_img($kode,$nik,$nama,$jenkel,$tmp_lahir,$tgl_lahir,$jabatan){ + $hsl=$this->db->query("UPDATE tbl_staptu SET staptu_nik='$nik',staptu_nama='$nama',staptu_jenkel='$jenkel',staptu_tmp_lahir='$tmp_lahir',staptu_tgl_lahir='$tgl_lahir',staptu_jabatan='$jabatan' WHERE staptu_id='$kode'"); + return $hsl; + } + function hapus_staptu($kode){ + $hsl=$this->db->query("DELETE FROM tbl_staptu WHERE staptu_id='$kode'"); + return $hsl; + } + + //front-end + function staptu(){ + $hsl=$this->db->query("SELECT * FROM tbl_staptu"); + return $hsl; + } + function staptu_perpage($offset,$limit){ + $hsl=$this->db->query("SELECT * FROM tbl_staptu limit $offset,$limit"); + return $hsl; + } + +} \ No newline at end of file diff --git a/application/models/M_tulisan.php b/application/models/M_tulisan.php new file mode 100644 index 0000000..8c6c567 --- /dev/null +++ b/application/models/M_tulisan.php @@ -0,0 +1,64 @@ +db->query("SELECT tbl_tulisan.*,DATE_FORMAT(tulisan_tanggal,'%d/%m/%Y') AS tanggal FROM tbl_tulisan ORDER BY tulisan_id DESC"); + return $hsl; + } + function simpan_tulisan($judul,$isi,$kategori_id,$kategori_nama,$imgslider,$user_id,$user_nama,$gambar,$slug){ + $hsl=$this->db->query("insert into tbl_tulisan(tulisan_judul,tulisan_isi,tulisan_kategori_id,tulisan_kategori_nama,tulisan_img_slider,tulisan_pengguna_id,tulisan_author,tulisan_gambar,tulisan_slug) values ('$judul','$isi','$kategori_id','$kategori_nama','$imgslider','$user_id','$user_nama','$gambar','$slug')"); + return $hsl; + } + function get_tulisan_by_kode($kode){ + $hsl=$this->db->query("SELECT tbl_tulisan.*,DATE_FORMAT(tulisan_tanggal,'%d/%m/%Y') AS tanggal FROM tbl_tulisan where tulisan_id='$kode'"); + return $hsl; + } + function update_tulisan($tulisan_id,$judul,$isi,$kategori_id,$kategori_nama,$imgslider,$user_id,$user_nama,$gambar,$slug){ + $hsl=$this->db->query("update tbl_tulisan set tulisan_judul='$judul',tulisan_isi='$isi',tulisan_kategori_id='$kategori_id',tulisan_kategori_nama='$kategori_nama',tulisan_img_slider='$imgslider',tulisan_pengguna_id='$user_id',tulisan_author='$user_nama',tulisan_gambar='$gambar',tulisan_slug='$slug' where tulisan_id='$tulisan_id'"); + return $hsl; + } + function update_tulisan_tanpa_img($tulisan_id,$judul,$isi,$kategori_id,$kategori_nama,$imgslider,$user_id,$user_nama,$slug){ + $hsl=$this->db->query("update tbl_tulisan set tulisan_judul='$judul',tulisan_isi='$isi',tulisan_kategori_id='$kategori_id',tulisan_kategori_nama='$kategori_nama',tulisan_img_slider='$imgslider',tulisan_pengguna_id='$user_id',tulisan_author='$user_nama',tulisan_slug='$slug' where tulisan_id='$tulisan_id'"); + return $hsl; + } + function hapus_tulisan($kode){ + $hsl=$this->db->query("delete from tbl_tulisan where tulisan_id='$kode'"); + return $hsl; + } + + //Front-End + function get_berita_slider(){ + $hsl=$this->db->query("SELECT tbl_tulisan.*,DATE_FORMAT(tulisan_tanggal,'%d/%m/%Y') AS tanggal FROM tbl_tulisan where tulisan_img_slider='1' ORDER BY tulisan_id DESC"); + return $hsl; + } + function get_berita_home(){ + $hsl=$this->db->query("SELECT tbl_tulisan.*,DATE_FORMAT(tulisan_tanggal,'%d/%m/%Y') AS tanggal FROM tbl_tulisan ORDER BY tulisan_id DESC limit 4"); + return $hsl; + } + + function berita_perpage($offset,$limit){ + $hsl=$this->db->query("SELECT tbl_tulisan.*,DATE_FORMAT(tulisan_tanggal,'%d/%m/%Y') AS tanggal FROM tbl_tulisan ORDER BY tulisan_id DESC limit $offset,$limit"); + return $hsl; + } + + function berita(){ + $hsl=$this->db->query("SELECT tbl_tulisan.*,DATE_FORMAT(tulisan_tanggal,'%d/%m/%Y') AS tanggal FROM tbl_tulisan ORDER BY tulisan_id DESC"); + return $hsl; + } + function get_berita_by_kode($kode){ + $hsl=$this->db->query("SELECT tbl_tulisan.*,DATE_FORMAT(tulisan_tanggal,'%d/%m/%Y') AS tanggal FROM tbl_tulisan where tulisan_id='$kode'"); + return $hsl; + } + + function cari_berita($keyword){ + $hsl=$this->db->query("SELECT tbl_tulisan.*,DATE_FORMAT(tulisan_tanggal,'%d/%m/%Y') AS tanggal FROM tbl_tulisan WHERE tulisan_judul LIKE '%$keyword%' LIMIT 5"); + return $hsl; + } + + function show_komentar_by_tulisan_id($kode){ + $hsl=$this->db->query("SELECT * FROM tbl_komentar WHERE komentar_tulisan_id='$kode' AND komentar_status='1' AND komentar_parent='0'"); + return $hsl; + } + + +} diff --git a/application/models/M_visi.php b/application/models/M_visi.php new file mode 100644 index 0000000..086fae5 --- /dev/null +++ b/application/models/M_visi.php @@ -0,0 +1,20 @@ +db->query("SELECT visi_id,visi_deskripsi FROM tbl_visi ORDER BY visi_id ASC"); + return $hsl; + } + function simpan_visi($visi){ + $hsl=$this->db->query("INSERT INTO tbl_visi(visi_deskripsi) VALUES ('$visi')"); + return $hsl; + } + function update_visi($kode,$visi){ + $hsl=$this->db->query("UPDATE tbl_visi SET visi_deskripsi='$visi' WHERE visi_id='$kode'"); + return $hsl; + } + function hapus_visi($kode){ + $hsl=$this->db->query("DELETE FROM tbl_visi WHERE visi_id='$kode'"); + return $hsl; + } +} diff --git a/application/models/index.html b/application/models/index.html new file mode 100644 index 0000000..b702fbc --- /dev/null +++ b/application/models/index.html @@ -0,0 +1,11 @@ + + + + 403 Forbidden + + + +

    Directory access is forbidden.

    + + + diff --git a/application/third_party/index.html b/application/third_party/index.html new file mode 100644 index 0000000..b702fbc --- /dev/null +++ b/application/third_party/index.html @@ -0,0 +1,11 @@ + + + + 403 Forbidden + + + +

    Directory access is forbidden.

    + + + diff --git a/application/views/admin/v_add_tulisan.php b/application/views/admin/v_add_tulisan.php new file mode 100644 index 0000000..5312cd4 --- /dev/null +++ b/application/views/admin/v_add_tulisan.php @@ -0,0 +1,409 @@ + +db->query("SELECT * FROM tbl_inbox WHERE inbox_status='1'"); + $query2=$this->db->query("SELECT * FROM tbl_komentar WHERE komentar_status='0'"); + $jum_comment=$query2->num_rows(); + $jum_pesan=$query->num_rows(); +?> + + + + + + Add Post + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + load->view('admin/v_header'); + ?> + + + + + +
    + +
    +

    + Berita + +

    + +
    + + +
    + + +
    +
    +

    Post Berita

    +
    + +
    + + +
    +
    +
    + +
    + +
    +
    + + +
    + +
    + +
    + + +
    +
    + + +
    +
    + +
    +
    +

    Berita

    +
    +
    + + + +
    + +
    + + +
    + +
    +
    +
    +

    Pengaturan Lainnya

    +
    +
    + +
    + + +
    + +
    + + +
    + +
    + + +
    + +
    + + + + +
    + +
    + + +
    + +
    + +
    + + Copyright © 2020>SMK KOMPUTER AL-BASHRY<. All rights reserved. +
    + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/application/views/admin/v_album.php b/application/views/admin/v_album.php new file mode 100644 index 0000000..30897dd --- /dev/null +++ b/application/views/admin/v_album.php @@ -0,0 +1,449 @@ + +db->query("SELECT * FROM tbl_inbox WHERE inbox_status='1'"); + $query2=$this->db->query("SELECT * FROM tbl_komentar WHERE komentar_status='0'"); + $jum_comment=$query2->num_rows(); + $jum_pesan=$query->num_rows(); +?> + + + + + + SMAN SITURAJA | Album + + + + + + + + + + + + + + + + + + + +
    + + load->view('admin/v_header'); + ?> + + + + +
    + +
    +

    + Data Album + +

    + +
    + + +
    +
    +
    +
    + +
    + + +
    + + + + + + + + + + + + + result_array() as $i) : + $no++; + $album_id=$i['album_id']; + $album_nama=$i['album_nama']; + $album_tanggal=$i['tanggal']; + $album_author=$i['album_author']; + $album_cover=$i['album_cover']; + $album_jumlah=$i['album_count']; + + ?> + + + + + + + + + + +
    GambarAlbumTanggalAuthorJumlahAksi
    + + +
    +
    + +
    + +
    + +
    + +
    + +
    + +
    + + Copyright © 2020>SMK KOMPUTER AL-BASHRY. All rights reserved. +
    +
    + + + + + + + result_array() as $i) : + $album_id=$i['album_id']; + $album_nama=$i['album_nama']; + $album_tanggal=$i['tanggal']; + $album_author=$i['album_author']; + $album_cover=$i['album_cover']; + $album_jumlah=$i['album_count']; + ?> + + + + + + result_array() as $i) : + $album_id=$i['album_id']; + $album_nama=$i['album_nama']; + $album_tanggal=$i['tanggal']; + $album_author=$i['album_author']; + $album_cover=$i['album_cover']; + $album_jumlah=$i['album_count']; + ?> + + + + + + + + + + + + + + + + + + + + + + + + + +session->flashdata('msg')=='error'):?> + + + session->flashdata('msg')=='success'):?> + + session->flashdata('msg')=='info'):?> + + session->flashdata('msg')=='success-hapus'):?> + + + + + + diff --git a/application/views/admin/v_dashboard.php b/application/views/admin/v_dashboard.php new file mode 100644 index 0000000..81b8103 --- /dev/null +++ b/application/views/admin/v_dashboard.php @@ -0,0 +1,496 @@ + +db->query("SELECT * FROM tbl_inbox WHERE inbox_status='1'"); + $query2=$this->db->query("SELECT * FROM tbl_komentar WHERE komentar_status='0'"); + $jum_comment=$query2->num_rows(); + $jum_pesan=$query->num_rows(); +?> + + + + + + SMA NEGERI SITURAJA + + + + + + + + + + + + + + + tgl; //ambil bulan + $value[] = (float) $result->jumlah; //ambil nilai + } + /* end mengambil query*/ + + ?> + + + +
    + + + load->view('admin/v_header'); + ?> + + + + + +
    + +
    +

    + Dashboard + +

    + +
    + + +
    + +
    +
    +
    + + db->query("SELECT * FROM tbl_pengunjung WHERE pengunjung_perangkat='Chrome'"); + $jml=$query->num_rows(); + ?> +
    + Chrome + +
    + +
    + +
    + +
    +
    + + db->query("SELECT * FROM tbl_pengunjung WHERE pengunjung_perangkat='Firefox' OR pengunjung_perangkat='Mozilla'"); + $jml=$query->num_rows(); + ?> +
    + Mozilla Firefox + +
    + +
    + +
    + + + +
    + +
    +
    + + db->query("SELECT * FROM tbl_pengunjung WHERE pengunjung_perangkat='Googlebot'"); + $jml=$query->num_rows(); + ?> +
    + Googlebot + +
    + +
    + +
    + +
    +
    + + db->query("SELECT * FROM tbl_pengunjung WHERE pengunjung_perangkat='Opera'"); + $jml=$query->num_rows(); + ?> +
    + Opera + +
    + +
    + +
    + +
    + + +
    +
    +
    +
    +

    Pengunjung bulan ini

    + +
    + +
    +
    +
    + +
    + +
    + +
    + + + +
    + +
    + + + +
    + +
    + +
    + + + +
    + +
    + +
    +
    +

    Posting Populer

    + + + db->query("SELECT * FROM tbl_tulisan ORDER BY tulisan_views DESC"); + foreach ($query->result_array() as $i) : + $tulisan_id=$i['tulisan_id']; + $tulisan_judul=$i['tulisan_judul']; + $tulisan_views=$i['tulisan_views']; + ?> + + + + + +
    +
    + + +
    + + + +
    + + +
    + +
    + + db->query("SELECT * FROM tbl_pengunjung WHERE pengunjung_perangkat='Safari'"); + $jml=$query->num_rows(); + ?> +
    + Safari + + +
    +
    +
    + + Penggunjung + +
    + +
    + +
    + + db->query("SELECT * FROM tbl_pengunjung WHERE pengunjung_perangkat='Other' OR pengunjung_perangkat='Internet Explorer'"); + $jml=$query->num_rows(); + ?> +
    + Lainnya + + +
    +
    +
    + + Pengunjung + +
    + +
    + +
    + + db->query("SELECT * FROM tbl_pengunjung WHERE DATE_FORMAT(pengunjung_tanggal,'%m%y')=DATE_FORMAT(DATE_SUB(CURDATE(), INTERVAL 1 MONTH),'%m%y')"); + $jml=$query->num_rows(); + ?> +
    + Pengunjung Bulan Lalu + + +
    +
    +
    + + Pengunjung + +
    + +
    + +
    + + db->query("SELECT * FROM tbl_pengunjung WHERE DATE_FORMAT(pengunjung_tanggal,'%m%y')=DATE_FORMAT(CURDATE(),'%m%y')"); + $jml=$query->num_rows(); + ?> +
    + Pengunjung Bulan Ini + + +
    +
    +
    + + Pengunjung + +
    + +
    + + + + + +
    + +
    + +
    + +
    + + +
    + + Copyright © 2020>SMK KOMPUTER AL-BASHRY. All rights reserved. +
    +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/application/views/admin/v_edit_tulisan.php b/application/views/admin/v_edit_tulisan.php new file mode 100644 index 0000000..46f67d5 --- /dev/null +++ b/application/views/admin/v_edit_tulisan.php @@ -0,0 +1,406 @@ + +db->query("SELECT * FROM tbl_inbox WHERE inbox_status='1'"); + $query2=$this->db->query("SELECT * FROM tbl_komentar WHERE komentar_status='0'"); + $jum_comment=$query2->num_rows(); + $jum_pesan=$query->num_rows(); +?> + + + + + + Update Post + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + load->view('admin/v_header'); + ?> + + + + +
    + +
    +

    + Berita + +

    + +
    + + +
    + + +
    +
    +

    Update Berita

    +
    + row_array(); + ?> +
    + + +
    +
    +
    + + +
    + +
    +
    + + +
    + +
    + +
    + + +
    +
    + + +
    +
    + +
    +
    +

    Berita

    +
    +
    + + + +
    + +
    + + +
    + +
    +
    +
    +

    Pengaturan Lainnya

    +
    +
    + +
    + + +
    + +
    + + +
    + +
    + +
    + +
    + +
    + + + + +
    + +
    + + +
    + +
    + +
    + + Copyright ©2020>SMK KOMPUTER AL-BASHRY. All rights reserved. +
    +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/application/views/admin/v_files.php b/application/views/admin/v_files.php new file mode 100644 index 0000000..df88709 --- /dev/null +++ b/application/views/admin/v_files.php @@ -0,0 +1,501 @@ + +db->query("SELECT * FROM tbl_inbox WHERE inbox_status='1'"); + $query2=$this->db->query("SELECT * FROM tbl_komentar WHERE komentar_status='0'"); + $jum_comment=$query2->num_rows(); + $jum_pesan=$query->num_rows(); +?> + + + + + + SMK ALBASHRY | Download + + + + + + + + + + + + + + + + + + + + + + +
    + + load->view('admin/v_header'); + ?> + + + + +
    + +
    +

    + Download + +

    + +
    + + +
    +
    +
    +
    + +
    + + +
    + + + + + + + + + + + + + result_array() as $i) : + $no++; + $id=$i['file_id']; + $judul=$i['file_judul']; + $deskripsi=$i['file_deskripsi']; + $oleh=$i['file_oleh']; + $tanggal=$i['tanggal']; + $download=$i['file_download']; + $file=$i['file_data']; + ?> + + + + + + + + + + +
    #FileTanggal PostOlehDownloadAksi
    + + +
    +
    + +
    + +
    + +
    + +
    + +
    + +
    + + Copyright © 2020>SMK KOMPUTER AL-BASHRY. All rights reserved. +
    +
    + + + + + + + result_array() as $i) : + $id=$i['file_id']; + $judul=$i['file_judul']; + $deskripsi=$i['file_deskripsi']; + $oleh=$i['file_oleh']; + $tanggal=$i['tanggal']; + $download=$i['file_download']; + $file=$i['file_data']; + ?> + + + + + result_array() as $i) : + $id=$i['file_id']; + $judul=$i['file_judul']; + $deskripsi=$i['file_deskripsi']; + $oleh=$i['file_oleh']; + $tanggal=$i['tanggal']; + $download=$i['file_download']; + $file=$i['file_data']; + ?> + + + + + + + + + + + + + + + + + + + + + + + + + + + + +session->flashdata('msg')=='error'):?> + + + session->flashdata('msg')=='success'):?> + + session->flashdata('msg')=='info'):?> + + session->flashdata('msg')=='success-hapus'):?> + + + + + + diff --git a/application/views/admin/v_galeri.php b/application/views/admin/v_galeri.php new file mode 100644 index 0000000..df471db --- /dev/null +++ b/application/views/admin/v_galeri.php @@ -0,0 +1,490 @@ + +db->query("SELECT * FROM tbl_inbox WHERE inbox_status='1'"); + $query2=$this->db->query("SELECT * FROM tbl_komentar WHERE komentar_status='0'"); + $jum_comment=$query2->num_rows(); + $jum_pesan=$query->num_rows(); +?> + + + + + + SMK ALBASHRY | Gallery + + + + + + + + + + + + + + + + + + + +
    + + load->view('admin/v_header'); + ?> + + + + +
    + +
    +

    + Gallery Photos + +

    + +
    + + +
    +
    +
    +
    + +
    + + +
    + + + + + + + + + + + + + result_array() as $i) : + $no++; + $galeri_id=$i['galeri_id']; + $galeri_judul=$i['galeri_judul']; + $galeri_tanggal=$i['tanggal']; + $galeri_author=$i['galeri_author']; + $galeri_gambar=$i['galeri_gambar']; + $galeri_album_id=$i['galeri_album_id']; + $galeri_album_nama=$i['album_nama']; + + ?> + + + + + + + + + + +
    GambarJudulTanggalAlbumAuthorAksi
    + + +
    +
    + +
    + +
    + +
    + +
    + +
    + +
    + + Copyright © 2020>SMK KOMPUTER AL-BASHRY. All rights reserved. +
    +
    + + + + + + + result_array() as $i) : + $galeri_id=$i['galeri_id']; + $galeri_judul=$i['galeri_judul']; + $galeri_tanggal=$i['tanggal']; + $galeri_author=$i['galeri_author']; + $galeri_gambar=$i['galeri_gambar']; + $galeri_album_id=$i['galeri_album_id']; + $galeri_album_nama=$i['album_nama']; + ?> + + + + + + result_array() as $i) : + $galeri_id=$i['galeri_id']; + $galeri_judul=$i['galeri_judul']; + $galeri_tanggal=$i['tanggal']; + $galeri_author=$i['galeri_author']; + $galeri_gambar=$i['galeri_gambar']; + $galeri_album_id=$i['galeri_album_id']; + $galeri_album_nama=$i['album_nama']; + ?> + + + + + + + + + + + + + + + + + + + + + + + + + +session->flashdata('msg')=='error'):?> + + + session->flashdata('msg')=='success'):?> + + session->flashdata('msg')=='info'):?> + + session->flashdata('msg')=='success-hapus'):?> + + + + + + diff --git a/application/views/admin/v_guru.php b/application/views/admin/v_guru.php new file mode 100644 index 0000000..d23cc23 --- /dev/null +++ b/application/views/admin/v_guru.php @@ -0,0 +1,560 @@ + +db->query("SELECT * FROM tbl_inbox WHERE inbox_status='1'"); + $query2=$this->db->query("SELECT * FROM tbl_komentar WHERE komentar_status='0'"); + $jum_comment=$query2->num_rows(); + $jum_pesan=$query->num_rows(); +?> + + + + + + SMK ALBASHRY | Data Guru + + + + + + + + + + + + + + + + + + + +
    + + load->view('admin/v_header'); + ?> + + + + +
    + +
    +

    + Data Guru + +

    + +
    + + +
    +
    +
    +
    + +
    + + +
    + + + + + + + + + + + + + + result_array() as $i) : + $no++; + $id=$i['guru_id']; + $nik=$i['guru_nik']; + $nama=$i['guru_nama']; + $jenkel=$i['guru_jenkel']; + $tmp_lahir=$i['guru_tmp_lahir']; + $tgl_lahir=$i['guru_tgl_lahir']; + $mapel=$i['guru_mapel']; + $photo=$i['guru_photo']; + + ?> + + + + + + + + + + + + + + + + + + + +
    PhotoNIKNamaTempat/Tgl LahirJenis KelaminMata PelajaranAksi
    Laki-LakiPerempuan + + +
    +
    + +
    + +
    + +
    + +
    + +
    + +
    + + Copyright © 2020>SMK KOMPUTER AL-BASHRY. All rights reserved. +
    +
    + + + + + + + result_array() as $i) : + $id=$i['guru_id']; + $nik=$i['guru_nik']; + $nama=$i['guru_nama']; + $jenkel=$i['guru_jenkel']; + $tmp_lahir=$i['guru_tmp_lahir']; + $tgl_lahir=$i['guru_tgl_lahir']; + $mapel=$i['guru_mapel']; + $photo=$i['guru_photo']; + ?> + + + + + + result_array() as $i) : + $id=$i['guru_id']; + $nik=$i['guru_nik']; + $nama=$i['guru_nama']; + $jenkel=$i['guru_jenkel']; + $tmp_lahir=$i['guru_tmp_lahir']; + $tgl_lahir=$i['guru_tgl_lahir']; + $mapel=$i['guru_mapel']; + $photo=$i['guru_photo']; + ?> + + + + + + + + + + + + + + + + + + + + + + + + + +session->flashdata('msg')=='error'):?> + + + session->flashdata('msg')=='success'):?> + + session->flashdata('msg')=='info'):?> + + session->flashdata('msg')=='success-hapus'):?> + + + + + + diff --git a/application/views/admin/v_header.php b/application/views/admin/v_header.php new file mode 100644 index 0000000..9b37ae2 --- /dev/null +++ b/application/views/admin/v_header.php @@ -0,0 +1,107 @@ + +db->query("SELECT * FROM tbl_inbox WHERE inbox_status='1'"); + $jum_pesan=$query->num_rows(); +?> +
    + + + + + + + +
    diff --git a/application/views/admin/v_inbox.php b/application/views/admin/v_inbox.php new file mode 100644 index 0000000..da1cf18 --- /dev/null +++ b/application/views/admin/v_inbox.php @@ -0,0 +1,456 @@ + +db->query("SELECT * FROM tbl_inbox WHERE inbox_status='1'"); + $query2=$this->db->query("SELECT * FROM tbl_komentar WHERE komentar_status='0'"); + $jum_comment=$query2->num_rows(); + $jum_pesan=$query->num_rows(); +?> + + + + + + SMK ALBASHRY | Inbox + + + + + + + + + + + + + + + + + + + + + + +
    + + load->view('admin/v_header'); + ?> + + + + +
    + +
    +

    + Inbox + +

    + +
    + + +
    +
    +
    +
    + +
    + +
    + + + + + + + + + + + + result_array() as $i) : + $no++; + $inbox_id=$i['inbox_id']; + $inbox_nama=$i['inbox_nama']; + $inbox_email=$i['inbox_email']; + $inbox_msg=$i['inbox_pesan']; + $tanggal=$i['tanggal']; + + ?> + + + + + + + + + +
    #TanggalNamaEmailPesanAksi
    + +
    +
    + +
    + +
    + +
    + +
    + +
    + +
    + + Copyright © 2020>SMK KOMPUTER AL-BASHRY. All rights reserved. +
    +
    + + + + + + + + result_array() as $i) : + $inbox_id=$i['inbox_id']; + $inbox_nama=$i['inbox_nama']; + $inbox_email=$i['inbox_email']; + $inbox_msg=$i['inbox_pesan']; + $tanggal=$i['tanggal']; + ?> + + + + + + + + + + + + + + + + + + + + + + + + + + + + +session->flashdata('msg')=='error'):?> + + + session->flashdata('msg')=='info'):?> + + session->flashdata('msg')=='success-hapus'):?> + + + + + + diff --git a/application/views/admin/v_kategori.php b/application/views/admin/v_kategori.php new file mode 100644 index 0000000..3246b7e --- /dev/null +++ b/application/views/admin/v_kategori.php @@ -0,0 +1,414 @@ +SMK ALBASHRY +db->query("SELECT * FROM tbl_inbox WHERE inbox_status='1'"); + $query2=$this->db->query("SELECT * FROM tbl_komentar WHERE komentar_status='0'"); + $jum_comment=$query2->num_rows(); + $jum_pesan=$query->num_rows(); +?> + + + + + + SMK ALBASHRY| Kategori Berita + + + + + + + + + + + + + + + + + +
    + + load->view('admin/v_header'); + ?> + + + + +
    + +
    +

    + Kategori Berita + +

    + +
    + + +
    +
    +
    +
    + +
    + + +
    + + + + + + + + + + result_array() as $i) : + $no++; + $kategori_id=$i['kategori_id']; + $kategori_nama=$i['kategori_nama']; + + ?> + + + + + + + + +
    #KategoriAksi
    + + +
    +
    + +
    + +
    + +
    + +
    + +
    + +
    + + Copyright ©2020>SMK KOMPUTER AL-BASHRY. All rights reserved. +
    +
    + + + + + + + result_array() as $i) : + $kategori_id=$i['kategori_id']; + $kategori_nama=$i['kategori_nama']; + ?> + + + + + result_array() as $i) : + $kategori_id=$i['kategori_id']; + $kategori_nama=$i['kategori_nama']; + ?> + + + + + + + + + + + + + + + + + + + + + + + + + +session->flashdata('msg')=='error'):?> + + + session->flashdata('msg')=='success'):?> + + session->flashdata('msg')=='info'):?> + + session->flashdata('msg')=='success-hapus'):?> + + + + + + diff --git a/application/views/admin/v_komentar.php b/application/views/admin/v_komentar.php new file mode 100644 index 0000000..d7788e1 --- /dev/null +++ b/application/views/admin/v_komentar.php @@ -0,0 +1,491 @@ + +db->query("SELECT * FROM tbl_inbox WHERE inbox_status='1'"); + $query2=$this->db->query("SELECT * FROM tbl_komentar WHERE komentar_status='0'"); + $jum_comment=$query2->num_rows(); + $jum_pesan=$query->num_rows(); +?> + + + + + + Komentar + + + + + + + + + + + + + + + + + + + + + + +
    + + load->view('admin/v_header'); + ?> + + + + +
    + +
    +

    + Komentar + +

    + +
    + + +
    +
    +
    +
    + +
    + +
    + + + + + + + + + + + + result() as $row) :?> + + + + + + + + + +
    NamaKomentarTanggapan UntukDikirimkan PadaAksi
    komentar_nama;?>komentar_isi;?>tulisan_judul;?>komentar_tanggal));?> + komentar_status=='1' && $row->komentar_parent=='0'):?> + + + komentar_status=='1'):?> + + + + + +
    +
    + +
    + +
    + +
    + +
    + +
    + +
    + + Copyright © 2020>SMK KOMPUTER AL-BASHRY. All rights reserved. +
    +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +session->flashdata('msg')=='error'):?> + + + session->flashdata('msg')=='info'):?> + + session->flashdata('msg')=='success'):?> + + session->flashdata('msg')=='success-hapus'):?> + + + + + + diff --git a/application/views/admin/v_login.php b/application/views/admin/v_login.php new file mode 100644 index 0000000..4aa76c1 --- /dev/null +++ b/application/views/admin/v_login.php @@ -0,0 +1,74 @@ + + + + + + SMK ALBASHRY | Log in + + + + + + + + + + + + + + + + + + + + +
    +
    +
    +
    + +
    +
    +
    +

    Menu Utama

    + +
    +
    +
    +
    +

    Akademik

    + +
    +
    +
    +
    +

    Hubungi Kami

    +

    Alamat: Jl.Palasarigirang No.39 Kalapanunggal-Sukabumi 40552

    +

    Email : smkkomputeralbashry@rocketmail.com +
    Phone : (0266)620309

    +
    +
    +
    +
    +
    + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/application/views/depan/v_blog.php b/application/views/depan/v_blog.php new file mode 100644 index 0000000..a943a33 --- /dev/null +++ b/application/views/depan/v_blog.php @@ -0,0 +1,238 @@ + + + + + + + + Informasi + + + + + + + + + + + + + + + + + + + + +
    + +
    +
    +
    + + +
    +
    +
    +
    + session->flashdata('msg');?> + result() as $row) : ?> +
    +
    + blog-img +
    + tanggal;?> +
    +
    +
    +

    tulisan_judul;?>

    +
    tulisan_author;?> | tulisan_kategori_nama;?>
    + tulisan_isi,10).'...';?> +
    +
    + Read More +
    +
    +
    +
    + + +
    +
    +
    + + +
    +
    +

    Kategori

    + +
    +
    +

    Populer

    + result() as $row) :?> + +
    + +
    + +
    +
    +
    +
    + + +
    +
    +
    +
    + +
    +
    +
    +

    Menu Utama

    + +
    +
    +
    +
    +

    Akademik

    + +
    +
    +
    +
    +

    Alamat: Jl.Palasarigirang No.39 Kalapanunggal-Sukabumi 40552

    +

    Email : smkkomputeralbashry@rocketmail.com +
    Phone : (0266)620309

    +
    +
    +
    +
    +
    + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/application/views/depan/v_blog_detail.php b/application/views/depan/v_blog_detail.php new file mode 100644 index 0000000..c9d009f --- /dev/null +++ b/application/views/depan/v_blog_detail.php @@ -0,0 +1,329 @@ + + + + + + + + <?php echo $title;?> + + + + + + + + + + + + + + + + + + + + + + + +
    + +
    +
    +
    + + +
    +
    +
    +
    +
    + blog-img +
    + +
    +
    +
    +

    +
    |
    + +
    + +
    + +
    +
    +
    Bagikan Ke:
    +
    +
    +
    + + +
    + session->flashdata('msg');?> +
    + +
    +
    + result() as $row) : + shuffle($colors); + ?> +
    +
    +
    +
    +
    +

    komentar_nama,0,1);?>

    +
    +
    +
    +
    +
    komentar_nama;?>
    komentar_tanggal));?> +

    komentar_isi;?>

    +
    +
    +
    +
    +
    +
    + komentar_id; + $query=$this->db->query("SELECT * FROM tbl_komentar WHERE komentar_status='1' AND komentar_parent='$komentar_id' ORDER BY komentar_id ASC"); + foreach ($query->result() as $res) : + shuffle($colors); + ?> +
    +
    +
    +
    +
    +

    komentar_nama,0,1);?>

    +
    +
    +
    +
    +
    komentar_nama;?>
    komentar_tanggal));?> +

    komentar_isi;?>

    +
    +
    +
    +
    +
    + + +
    +
    +
    +
    +
    +
    + + +
    + +
    +
    +
    + + +
    + +
    +
    +
    + + +
    + +
    +
    + + +
    + +
    +
    +
    +
    +
    +
    +
    +
    +
    + + +
    +
    +

    Kategori

    + +
    +
    +

    Populer

    + result() as $row) :?> + +
    + +
    + +
    +
    +
    +
    + + +
    +
    +
    +
    + +
    +
    +
    +

    Menu Utama

    + +
    +
    +
    +
    +

    Akademik

    + +
    +
    +
    +
    +

    Alamat: Jl.Palasarigirang No.39 Kalapanunggal-Sukabumi 40552

    +

    Email : smkkomputeralbashry@rocketmail.com +
    Phone : (0266)620309

    +
    +
    +
    +
    +
    + + + + + + + + + + + + + + + + + + + diff --git a/application/views/depan/v_contact.php b/application/views/depan/v_contact.php new file mode 100644 index 0000000..94fc9cb --- /dev/null +++ b/application/views/depan/v_contact.php @@ -0,0 +1,223 @@ + + + + + + + + Contact + + + + + + + + + + + + + + + + + +
    + +
    +
    +
    + +
    +
    +
    +
    +
    +

    Hubungi Kami

    + + +
    + +
    +
    +
    +
    +
    +
    +
    +
    +
    +

    Tinggalkan Pesan

    +
    +
    + +
    + +
    + +
    + +
    + +
    + +
    + +
    + + +
    session->flashdata('msg');?>
    + +
    +
    +
    +
    +
    +

    Lokasi

    +
    + +
    Alamat
    +

    SMAN SITURAJA +
    Jl.Kaum NO.14 +
    Situraja-Sumedang 45371

    +
    +
    +
    + +
    Email
    +

    Smantura@yahoo.co.id

    +
    +
    +
    + +
    Phone
    +

    (0261)2727445

    +
    +
    +
    +
    +
    +
    +
    +
    +
    +

    OR

    +
    +
    +
    +
    + + +
    +
    +
    +
    + +
    +
    +
    +

    Menu Utama

    + +
    +
    +
    +
    +

    Akademik

    + +
    +
    +
    +
    +

    Alamat: Jl.Palasarigirang No.39 Kalapanunggal-Sukabumi 40552

    +

    Email : smkkomputeralbashry@rocketmail.com +
    Phone : (0266)620309

    +
    +
    +
    +
    +
    + + + + + + + + + + + + + + + + + + + diff --git a/application/views/depan/v_download.php b/application/views/depan/v_download.php new file mode 100644 index 0000000..da39d36 --- /dev/null +++ b/application/views/depan/v_download.php @@ -0,0 +1,190 @@ + + + + + + + + Download + + + + + + + + + + + + + + + + + + + +
    + +
    +
    +
    + +
    +
    +
    +
    +
    +

    Download Formulir

    +
    +
    +
    +
    +
    +
    + + + + + + + + + + + + result() as $row): + ?> + + + + + + + + + +
    NoFilesTanggalOlehAksi
    file_judul;?>tanggal;?>file_oleh;?>Download
    +
    +
    +
    +
    +
    + + + +
    +
    +
    +
    + +
    +
    +
    +

    Menu Utama

    + +
    +
    +
    +
    +

    Akademik

    + +
    +
    +
    +
    +

    Alamat: Jl.Palasarigirang No.39 Kalapanunggal-Sukabumi 40552

    +

    Email : smkkomputeralbashry@rocketmail.com +
    Phone : (0266)620309

    +
    +
    +
    +
    +
    + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/application/views/depan/v_galeri.php b/application/views/depan/v_galeri.php new file mode 100644 index 0000000..1b7d1ef --- /dev/null +++ b/application/views/depan/v_galeri.php @@ -0,0 +1,202 @@ + + + + + + + Gallery Photo + + + + + + + + + + + + + + + + + + + + + + + +
    + +
    +
    +
    + +
    +
    + +

    Galeri

    +
    + result_array() as $i) { + + $alb_id=$i['album_id']; + $alb_nama=$i['album_nama']; + + ?> + + + +
    + + + + + +
    + + result_array() as $a) { + $id=$a['galeri_id']; + $judul=$a['galeri_judul']; + $gambar=$a['galeri_gambar']; + + ?> + <?php echo $judul?> + + +
    +
    + + +
    +
    +
    +
    + +
    +
    +
    +

    Menu Utama

    + +
    +
    +
    +
    +

    Akademik

    + +
    +
    +
    +
    +

    Alamat: Jl.Palasarigirang No.39 Kalapanunggal-Sukabumi 40552

    +

    Email : smkkomputeralbashry@rocketmail.com +
    Phone : (0266)620309

    +
    +
    +
    +
    +
    + + + + + + + + + + + + + + + + + + + diff --git a/application/views/depan/v_galeri_per_album.php b/application/views/depan/v_galeri_per_album.php new file mode 100644 index 0000000..3af7a75 --- /dev/null +++ b/application/views/depan/v_galeri_per_album.php @@ -0,0 +1,196 @@ + + + + + + + + Guru + + + + + + + + + + + + + + + + + + + +
    + +
    +
    +
    + +
    +
    + result_array() as $i) { + + $alb_id=$i['album_id']; + $alb_nama=$i['album_nama']; + + ?> + + + +
    + + + + + +
    + + + result_array() as $a) { + $id=$a['galeri_id']; + $judul=$a['galeri_judul']; + $gambar=$a['galeri_gambar']; + + ?> + <?php echo $judul?> + + + +
    + +
    +
    +
    +
    + +
    +
    +
    +

    Menu Utama

    + +
    +
    +
    +
    +

    Akademik

    + +
    +
    +
    +
    +

    Alamat: Jl.Palasarigirang No.39 Kalapanunggal-Sukabumi 40552

    +

    Email : smkkomputeralbashry@rocketmail.com +
    Phone : (0266)620309

    +
    +
    +
    +
    +
    + + + + + + + + + + + + + + + + + + + diff --git a/application/views/depan/v_guru.php b/application/views/depan/v_guru.php new file mode 100644 index 0000000..2b0c82f --- /dev/null +++ b/application/views/depan/v_guru.php @@ -0,0 +1,177 @@ + + + + + + + + Guru + + + + + + + + + + + + + + + + + + + +
    + +
    +
    +
    + + +
    +
    +
    +
    +

    Guru Kami

    +
    +
    +
    + result() as $row) : ?> +
    +
    + guru_photo)):?> + # + + # + +

    guru_nama;?> +
    +

    guru_mapel;?>

    +

    NIK: guru_nik;?>

    +
    +
    + +
    + + +
    +
    + + + +
    +
    +
    +
    + +
    +
    +
    +

    Menu Utama

    + +
    +
    +
    +
    +

    Akademik

    + +
    +
    +
    +
    +

    Alamat: Jl.Palasarigirang No.39 Kalapanunggal-Sukabumi 40552

    +

    Email : smkkomputeralbashry@rocketmail.com +
    Phone : (0266)620309

    +
    +
    +
    +
    +
    + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/application/views/depan/v_home.php b/application/views/depan/v_home.php new file mode 100644 index 0000000..5d71366 --- /dev/null +++ b/application/views/depan/v_home.php @@ -0,0 +1,281 @@ + + + + + + + + Selamat Datang Di Web SMK Komputer Al-bashry + + + + + + + + + + + + + + + + + + + + +
    + +
    +
    +
    +
    + +
    + + + Previous + + + + Next + + + + + + +
    +
    +
    +
    +
    +

    Selamat Datang

    +

    Assalamu'alaikum Wr. Wb
    + Selamat datang di website SMK Komputer Al-bashry. Website ini adalah website resmi sekolah yang berfungsi sebagai pemberi informasi, penghubung antara warga sekolah dan masyarakat serta stakeholder. Dengan adanya website ini, kami akan berusaha untuk transparan, jujur, akuntable dan berintegrasi. Mudah-mudahan dengan hadirnya website ini dapat menjadikan SMK Kompute Al-bashry selalu terdepan dalam memajukan pendidikan dan mencerdaskan bangsa.
    + Wassalamu'alaikum Wr. Wb

    +
    +
    +
    + # + +
    +
    +
    +
    + + +
    +
    +
    +
    +

    Informasi Terbaru

    +
    +
    +
    + result() as $row) :?> +
    + +
    + +

    +
    +
    + View More +
    +
    +
    +
    + + +

    ========== NEWS ===========

    +
    +
    +
    +
    +
    + result() as $row) :?> +
    +
    event-img
    +

    pengumuman_judul;?>

    + tanggal;?> +

    pengumuman_deskripsi,10).'...';?>

    + +
    +
    + +
    +
    +
    +
    +
    + +
    +
    + +
    +
    +
    +
    + +
    +
    +
    +
    + +
    +
    +
    +

    Menu Utama

    + +
    +
    +
    +
    +

    Akademik

    + +
    +
    +
    +
    +

    Hubungi Kami

    +

    Alamat: Jl.Palasarigirang No.39 Kalapanunggal-Sukabumi 40552

    +

    Email : smkkomputeralbashry@rocketmail.com +
    Phone : (0266)620309

    +
    +
    +
    +
    +
    + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/application/views/depan/v_pengumuman.php b/application/views/depan/v_pengumuman.php new file mode 100644 index 0000000..ab4d19f --- /dev/null +++ b/application/views/depan/v_pengumuman.php @@ -0,0 +1,198 @@ + + + + + + + + Pengumuman + + + + + + + + + + + + + + + + + + + +
    + +
    +
    +
    + + +
    +
    +
    +
    +

    Pengumuman

    +
    +
    + + +
    +
    +
    +
    + +
    +
    + result() as $row):?> +
    +
    +
    +
    +

    pengumuman_tanggal));?>

    pengumuman_tanggal));?> +
    + pengumuman_tanggal)).' WIB';?> +
    +
    +
    +

    pengumuman_judul;?>

    +

    pengumuman_deskripsi;?>

    +
    +
    +
    +
    +
    + + +
    + +
    +
    + +
    +
    +
    +
    + + +
    +
    +
    +
    + +
    +
    +
    +

    Menu Utama

    + +
    +
    +
    +
    +

    Akademik

    + +
    +
    +
    +
    +

    Alamat: Jl.Palasarigirang No.39 Kalapanunggal-Sukabumi 40552

    +

    Email : smkkomputeralbashry@rocketmail.com +
    Phone : (0266)620309

    +
    +
    +
    +
    +
    + + + + + + + + + + + + + + + + + + + diff --git a/application/views/depan/v_sejarah.php b/application/views/depan/v_sejarah.php new file mode 100644 index 0000000..3458b94 --- /dev/null +++ b/application/views/depan/v_sejarah.php @@ -0,0 +1,189 @@ + + + + + + + + Sejarah + + + + + + + + + + + + + + + + + + + +
    + +
    +
    +
    + + + +
    + + +
    + +
    +
    + +
    +
    +

    SEJARAH SMK KOMPUTER AL-BASHRY


    +
    + # +
    + + + result_array() as $i) { + + $sejarah_id=$i['sejarah_id']; + $sejarah_deskripsi=$i['sejarah_deskripsi']; + + ?> + + + + +
    +
    + + +
    +
    + + +
    +
    +
    + + + +
    +
    +
    +
    + +
    +
    +
    +

    Menu Utama

    + +
    +
    +
    +
    +

    Akademik

    + +
    +
    +
    +
    +

    Alamat: Jl.Palasarigirang No.39 Kalapanunggal-Sukabumi 40552

    +

    Email : smkkomputeralbashry@rocketmail.com +
    Phone : (0266)620309

    +
    +
    +
    +
    +
    + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/application/views/depan/v_staptu.php b/application/views/depan/v_staptu.php new file mode 100644 index 0000000..9eb3e55 --- /dev/null +++ b/application/views/depan/v_staptu.php @@ -0,0 +1,180 @@ +; + + + + + + + Stap TU + + + + + + + + + + + + + + + + + + + + +
    + +
    +
    +
    + + +
    +
    +
    +
    +

    STAP TU

    +
    +
    +
    + result() as $row) : ?> +
    +
    + staptu_photo)):?> + # + + # + +

    staptu_nama;?> +
    +

    staptu_jabatan;?>

    +
    +
    + +
    + + +
    +
    + + + +
    +
    +
    +
    + +
    +
    +
    +

    Menu Utama

    + +
    +
    +
    +
    +

    Akademik

    + +
    +
    +
    +
    +

    Alamat: Jl.Palasarigirang No.39 Kalapanunggal-Sukabumi 40552

    +

    Email : smkkomputeralbashry@rocketmail.com +
    Phone : (0266)620309

    +
    +
    +
    +
    +
    + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/application/views/depan/v_visimisi.php b/application/views/depan/v_visimisi.php new file mode 100644 index 0000000..e299753 --- /dev/null +++ b/application/views/depan/v_visimisi.php @@ -0,0 +1,200 @@ + + + + + + + + VisiMisi + + + + + + + + + + + + + + + + + + + +
    + +
    +
    +
    + + + +
    + + +
    + +
    +
    +
    +
    +

    VISI


    +
      + result_array() as $i) { + + $visi_id=$i['visi_id']; + $visi_deskripsi=$i['visi_deskripsi']; + + ?> +
    1. + + +
    +
    +
    +

    MISI


    +
      + result_array() as $i) { + + $misi_id=$i['misi_id']; + $misi_deskripsi=$i['misi_deskripsi']; + + ?> +
    1. + + +
    +
    +
    + + + + +
    +
    + + +
    +
    +
    + + + +
    +
    +
    +
    + +
    +
    +
    +

    Menu Utama

    + +
    +
    +
    +
    +

    Akademik

    + +
    +
    +
    +
    +

    Alamat: Jl.Palasarigirang No.39 Kalapanunggal-Sukabumi 40552

    +

    Email : smkkomputeralbashry@rocketmail.com +
    Phone : (0266)620309

    +
    +
    +
    +
    +
    + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/application/views/elearning/v_home_guru.php b/application/views/elearning/v_home_guru.php new file mode 100644 index 0000000..226f06e --- /dev/null +++ b/application/views/elearning/v_home_guru.php @@ -0,0 +1,58 @@ + + + + + + + + + + +
    + session->flashdata('msg'))): ?> + session->flashdata('msg'); ?> + +
    +
    +
    +

    Daftar Materi Terupload

    +
    + result() as $m): ?> + + materi_judul; ?> + + +
    + +
    +
    +
    +
    + + + +
    +

    © ppl-6

    +
    + + + \ No newline at end of file diff --git a/application/views/elearning/v_home_siswa.php b/application/views/elearning/v_home_siswa.php new file mode 100644 index 0000000..f8c47a6 --- /dev/null +++ b/application/views/elearning/v_home_siswa.php @@ -0,0 +1,50 @@ + + + + + + + + + + +
    +
    +
    +
    +

    Daftar Mata Pelajaran

    +
    + + + + + +
    +
    +
    +
    +
    + + + +
    +

    © ppl-6

    +
    + + + \ No newline at end of file diff --git a/application/views/elearning/v_login.php b/application/views/elearning/v_login.php new file mode 100644 index 0000000..b3c4152 --- /dev/null +++ b/application/views/elearning/v_login.php @@ -0,0 +1,65 @@ + + + + + + E-LEARNING SMK ALBASHRY | Log in + + + + + + + + + + + + + + + +'),m.$tb.append(t)):(m.$tb.append(t),m.$tb.find(".fr-newline").remove(),m.$tb.append('
    '),m.$tb.append(n)),m.$tb.removeClass("fr-toolbar-open"),m.$box.removeClass("fr-toolbar-open"),m.events.trigger("codeView.toggle")}S()}function n(e,t){setTimeout(function(){if((!e||e.which!=H.KEYCODE.ESC)&&m.selection.inEditor()&&m.core.hasFocus()&&!m.popups.areVisible()&&"false"!=b(m.selection.blocks()[0]).closest("table").attr("contenteditable")&&(m.opts.toolbarVisibleWithoutSelection||!m.selection.isCollapsed()&&!m.keys.isIME()||t)){if(m.$tb.data("instance",m),!1===m.events.trigger("toolbar.show",[e]))return;m.$tb.show(),m.opts.toolbarContainer||m.position.forSelection(m.$tb),1 .fr-command, .fr-more-toolbar > .fr-command").addClass("fr-disabled fr-no-refresh").attr("aria-disabled",!0),f=!0)},enable:function g(){f&&m.$tb&&(m.$tb.find(".fr-btn-grp > .fr-command, .fr-more-toolbar > .fr-command").removeClass("fr-disabled fr-no-refresh").attr("aria-disabled",!1),f=!1),m.button.bulkRefresh()},setMoreToolbarsHeight:S}};var c=["scroll","wheel","touchmove","touchstart","touchend"],d=["webkit","moz","ms","o"],f=["transitionend"],o=document.createElement("div").style,i=["Webkit","Moz","ms","O","css","style"],s={visibility:"hidden",display:"block"},r=["focus","blur","click"],a={},l=function l(e,t){return{altKey:e.altKey,bubbles:e.bubbles,cancelable:e.cancelable,changedTouches:e.changedTouches,ctrlKey:e.ctrlKey,detail:e.detail,eventPhase:e.eventPhase,metaKey:e.metaKey,pageX:e.pageX,pageY:e.pageY,shiftKey:e.shiftKey,view:e.view,"char":e["char"],key:e.key,keyCode:e.keyCode,button:e.button,buttons:e.buttons,clientX:e.clientX,clientY:e.clientY,offsetX:e.offsetX,offsetY:e.offsetY,pointerId:e.pointerId,pointerType:e.pointerType,screenX:e.screenX,screenY:e.screenY,targetTouches:e.targetTouches,toElement:e.toElement,touches:e.touches,type:e.type,which:e.which,target:e.target,currentTarget:t,originalEvent:e,stopPropagation:function(){e.stopPropagation()},stopImmediatePropagation:function(){e.stopImmediatePropagation()},preventDefault:function(){-1===c.indexOf(e.type)&&e.preventDefault()}}},p=function p(e){return e.ownerDocument&&e.ownerDocument.body.contains(e)||"#document"===e.nodeName||"HTML"===e.nodeName||e===window},u=function u(n,r){return function(e){var t=e.target;if(r)for(r=g(r);t&&t!==this;)t.matches&&t.matches(g(r))&&n.call(t,l(e,t)),t=t.parentNode;else p(t)&&n.call(t,l(e,t))}},h=function h(e,t){return new b(e,t)},g=function g(e){return e&&"string"==typeof e?e.replace(/^\s*>/g,":scope >").replace(/,\s*>/g,", :scope >"):e},m=function m(e){return"function"==typeof e&&"number"!=typeof e.nodeType},v=h;h.fn=h.prototype={constructor:h,length:0,contains:function(e){if(!e)return!1;if(Array.isArray(e)){for(var t=0;t'),this.$wp=h("
    "),this.$box.html(this.$wp),this.$wp.append(this.$iframe),this.$iframe.get(0).contentWindow.document.open(),this.$iframe.get(0).contentWindow.document.write(""),this.$iframe.get(0).contentWindow.document.write(""),this.$iframe.get(0).contentWindow.document.close(),this.iframe_document=this.$iframe.get(0).contentWindow.document,this.$el=h(this.iframe_document.querySelector("body")),this.el=this.$el.get(0),this.$head=h(this.iframe_document.querySelector("head")),this.$html=h(this.iframe_document.querySelector("html"))):(this.$el=h(this.o_doc.createElement("DIV")),this.el=this.$el.get(0),this.$wp=h(this.o_doc.createElement("DIV")).append(this.$el),this.$box.html(this.$wp)),setTimeout(S.bind(this),0)}.bind(this),n=function(){this.$box=h("
    "),this.$oel.before(this.$box).hide(),this._original_html=this.$oel.val();var e=this;this.$oel.parents("form").on("submit.".concat(this.id),function(){e.events.trigger("form.submit")}),this.$oel.parents("form").on("reset.".concat(this.id),function(){e.events.trigger("form.reset")}),t()}.bind(this),r=function(){this.$el=this.$oel,this.el=this.$el.get(0),this.$el.attr("contenteditable",!0).css("outline","none").css("display","inline-block"),this.opts.multiLine=!1,this.opts.toolbarInline=!1,setTimeout(S.bind(this),0)}.bind(this),o=function(){this.$el=this.$oel,this.el=this.$el.get(0),this.opts.toolbarInline=!1,setTimeout(S.bind(this),0)}.bind(this),i=function(){this.$el=this.$oel,this.el=this.$el.get(0),this.opts.toolbarInline=!1,this.$oel.on("click.popup",function(e){e.preventDefault()}),setTimeout(S.bind(this),0)}.bind(this);this.opts.editInPopup?i():"TEXTAREA"===e?n():"A"===e?r():"IMG"===e?o():"BUTTON"===e||"INPUT"===e?(this.opts.editInPopup=!0,this.opts.toolbarInline=!1,i()):t()},E.Bootstrap.prototype.load=function(e){for(var t in e)if(Object.prototype.hasOwnProperty.call(e,t)){if(this[t])continue;if(E.PLUGINS[t]&&this.opts.pluginsEnabled.indexOf(t)<0)continue;if(this[t]=new e[t](this),this[t]._init&&(this[t]._init(),this.opts.initOnClick&&"core"===t))return!1}},E.Bootstrap.prototype.destroy=function(){this.destrying=!0,this.shared.count--,this.events.$off();var e=this.html.get();if(this.opts.iframe&&(this.events.disableBlur(),this.win.focus(),this.events.enableBlur()),this.events.trigger("destroy",[],!0),this.events.trigger("shared.destroy",[],!0),0===this.shared.count){for(var t in this.shared)Object.prototype.hasOwnProperty.call(this.shared,t)&&(this.shared[t]=null,E.SHARED[this.sid][t]=null);delete E.SHARED[this.sid]}this.$oel.parents("form").off(".".concat(this.id)),this.$oel.off("click.popup"),this.$oel.removeData("froala.editor"),this.$oel.off("froalaEditor"),this.core.destroy(e),E.INSTANCES.splice(E.INSTANCES.indexOf(this),1)},H}); \ No newline at end of file diff --git a/assets/plugins/froala/js/froala_editor.pkgd.min.js b/assets/plugins/froala/js/froala_editor.pkgd.min.js new file mode 100644 index 0000000..aff95c9 --- /dev/null +++ b/assets/plugins/froala/js/froala_editor.pkgd.min.js @@ -0,0 +1,7 @@ +/*! + * froala_editor v3.0.3 (https://www.froala.com/wysiwyg-editor) + * License https://froala.com/wysiwyg-editor/terms/ + * Copyright 2014-2019 Froala Labs + */ + +!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):e.FroalaEditor=t()}(this,function(){"use strict";function Fe(e){return(Fe="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}Element.prototype.matches||(Element.prototype.matches=Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector),Element.prototype.closest||(Element.prototype.closest=function(e){var t=this;if(!document.documentElement.contains(t))return null;do{if(t.matches(e))return t;t=t.parentElement||t.parentNode}while(null!==t&&1===t.nodeType);return null}),Element.prototype.matches||(Element.prototype.matches=Element.prototype.matchesSelector||Element.prototype.mozMatchesSelector||Element.prototype.msMatchesSelector||Element.prototype.oMatchesSelector||Element.prototype.webkitMatchesSelector||function(e){for(var t=(this.document||this.ownerDocument).querySelectorAll(e),n=t.length;0<=--n&&t.item(n)!==this;);return-1")},closeTagString:function u(e){return"")},isFirstSibling:function h(e,t){void 0===t&&(t=!0);for(var n=e.previousSibling;n&&t&&i.node.hasClass(n,"fr-marker");)n=n.previousSibling;return!n||n.nodeType===Node.TEXT_NODE&&""===n.textContent&&h(n)},isLastSibling:function g(e,t){void 0===t&&(t=!0);for(var n=e.nextSibling;n&&t&&i.node.hasClass(n,"fr-marker");)n=n.nextSibling;return!n||n.nodeType===Node.TEXT_NODE&&""===n.textContent&&g(n)},isList:function m(e){return!!e&&0<=["UL","OL"].indexOf(e.tagName)},isLink:function v(e){return!!e&&e.nodeType===Node.ELEMENT_NODE&&"a"===e.tagName.toLowerCase()},isElement:r,contents:s,isVoid:function b(e){return e&&e.nodeType===Node.ELEMENT_NODE&&0<=$e.VOID_ELEMENTS.indexOf((e.tagName||"").toLowerCase())},hasFocus:function E(e){return e===i.doc.activeElement&&(!i.doc.hasFocus||i.doc.hasFocus())&&Boolean(r(e)||e.type||e.href||~e.tabIndex)},isEditable:function T(e){return(!e.getAttribute||"false"!==e.getAttribute("contenteditable"))&&["STYLE","SCRIPT"].indexOf(e.tagName)<0},isDeletable:function A(e){return e&&e.nodeType===Node.ELEMENT_NODE&&e.getAttribute("class")&&0<=(e.getAttribute("class")||"").indexOf("fr-deletable")},hasClass:function C(e,t){return e instanceof n&&(e=e.get(0)),e&&e.classList&&e.classList.contains(t)},filter:function S(e){return i.browser.msie?e:{acceptNode:e}}}},Object.assign($e.DEFAULTS,{htmlAllowedTags:["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","blockquote","br","button","canvas","caption","cite","code","col","colgroup","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","hr","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","menu","menuitem","meter","nav","noscript","object","ol","optgroup","option","output","p","param","pre","progress","queue","rp","rt","ruby","s","samp","script","style","section","select","small","source","span","strike","strong","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","track","u","ul","var","video","wbr"],htmlRemoveTags:["script","style"],htmlAllowedAttrs:["accept","accept-charset","accesskey","action","align","allowfullscreen","allowtransparency","alt","async","autocomplete","autofocus","autoplay","autosave","background","bgcolor","border","charset","cellpadding","cellspacing","checked","cite","class","color","cols","colspan","content","contenteditable","contextmenu","controls","coords","data","data-.*","datetime","default","defer","dir","dirname","disabled","download","draggable","dropzone","enctype","for","form","formaction","frameborder","headers","height","hidden","high","href","hreflang","http-equiv","icon","id","ismap","itemprop","keytype","kind","label","lang","language","list","loop","low","max","maxlength","media","method","min","mozallowfullscreen","multiple","muted","name","novalidate","open","optimum","pattern","ping","placeholder","playsinline","poster","preload","pubdate","radiogroup","readonly","rel","required","reversed","rows","rowspan","sandbox","scope","scoped","scrolling","seamless","selected","shape","size","sizes","span","src","srcdoc","srclang","srcset","start","step","summary","spellcheck","style","tabindex","target","title","type","translate","usemap","value","valign","webkitallowfullscreen","width","wrap"],htmlAllowedStyleProps:[".*"],htmlAllowComments:!0,htmlUntouched:!1,fullPage:!1}),$e.HTML5Map={B:"STRONG",I:"EM",STRIKE:"S"},$e.MODULES.clean=function(f){var d,p,u,h,g=f.$;function a(e){if(e.nodeType===Node.ELEMENT_NODE&&e.getAttribute("class")&&0<=e.getAttribute("class").indexOf("fr-marker"))return!1;var t,n=f.node.contents(e),r=[];for(t=0;t/g,">"):e.textContent.replace(/&/g,"&").replace(//g,">").replace(/\u00A0/g," ").replace(/\u0009/g,"");if(e.nodeType!==Node.ELEMENT_NODE)return e.outerHTML;if(e.nodeType===Node.ELEMENT_NODE&&0<=["STYLE","SCRIPT","NOSCRIPT"].indexOf(e.tagName))return e.outerHTML;if(e.nodeType===Node.ELEMENT_NODE&&"svg"===e.tagName){var n=document.createElement("div"),r=e.cloneNode(!0);return n.appendChild(r),n.innerHTML}if("IFRAME"===e.tagName)return e.outerHTML.replace(/</g,"<").replace(/>/g,">");var a=e.childNodes;if(0===a.length)return e.outerHTML;for(var o="",i=0;i)<[^<]*)*<\/script>/gi,function(e){return l.push(e),"[FROALA.EDITOR.SCRIPT ".concat(l.length-1,"]")})).replace(/)<[^<]*)*<\/noscript>/gi,function(e){return l.push(e),"[FROALA.EDITOR.NOSCRIPT ".concat(l.length-1,"]")})).replace(/")})).replace(/":t;var o=c(f.html.extractNodeAttrs(n,"head")),i=c(f.html.extractNodeAttrs(n,"body"));return"".concat(r,"").concat(t,"").concat(e,"")}return e}(r,a,e))}function E(e){var t=f.doc.createElement("DIV");return t.innerText=e,t.textContent}function T(e){for(var t=f.node.contents(e),n=0;n"))}(e),e.nodeType===Node.ELEMENT_NODE&&(e.getAttribute("data-fr-src")&&0!==e.getAttribute("data-fr-src").indexOf("blob:")&&e.setAttribute("data-fr-src",f.helpers.sanitizeURL(E(e.getAttribute("data-fr-src")))),e.getAttribute("href")&&e.setAttribute("href",f.helpers.sanitizeURL(E(e.getAttribute("href")))),e.getAttribute("src")&&e.setAttribute("src",f.helpers.sanitizeURL(E(e.getAttribute("src")))),0<=["TABLE","TBODY","TFOOT","TR"].indexOf(e.tagName)&&(e.innerHTML=e.innerHTML.trim())),!f.opts.pasteAllowLocalImages&&e.nodeType===Node.ELEMENT_NODE&&"IMG"===e.tagName&&e.getAttribute("data-fr-src")&&0===e.getAttribute("data-fr-src").indexOf("file://"))return e.parentNode.removeChild(e),!1;if(e.nodeType===Node.ELEMENT_NODE&&$e.HTML5Map[e.tagName]&&""===f.node.attributes(e)){var t=$e.HTML5Map[e.tagName],n="<".concat(t,">").concat(e.innerHTML,"");e.insertAdjacentHTML("beforebegin",n),(e=e.previousSibling).parentNode.removeChild(e.nextSibling)}if(f.opts.htmlAllowComments||e.nodeType!==Node.COMMENT_NODE)if(e.tagName&&e.tagName.match(p))e.parentNode.removeChild(e);else if(e.tagName&&!e.tagName.match(d))"svg"===e.tagName?e.parentNode.removeChild(e):f.browser.safari&&"path"===e.tagName&&e.parentNode&&"svg"===e.parentNode.tagName||(e.outerHTML=e.innerHTML);else{var r=e.attributes;if(r)for(var a=r.length-1;0<=a;a--){var o=r[a],i=o.nodeName.match(u),s=null;"style"===o.nodeName&&f.opts.htmlAllowedStyleProps.length&&(s=o.value.match(h)),i&&s?o.value=m(s.join(";")):i&&("style"!==o.nodeName||s)||e.removeAttribute(o.nodeName)}}else 0!==e.data.indexOf("[FROALA.EDITOR")&&e.parentNode.removeChild(e)}(e)}return{_init:function e(){f.opts.fullPage&&g.merge(f.opts.htmlAllowedTags,["head","title","style","link","base","body","html","meta"])},html:function A(e,t,n,r){void 0===t&&(t=[]),void 0===n&&(n=[]),void 0===r&&(r=!1);var a,o=g.merge([],f.opts.htmlAllowedTags);for(a=0;a").concat(e[n].innerHTML,""));t&&f.selection.restore()}},tables:function t(){!function s(){for(var e=f.el.querySelectorAll("tr"),t=0;t ul, ol > ol, ul > ol, ol > ul"),t=0;t"))}}(),function c(){for(var e=f.el.querySelectorAll("li > ul, li > ol"),t=0;t ul, li > ol"),t=0;t");else if(n.previousSibling&&"BR"===n.previousSibling.tagName){for(var r=n.previousSibling.previousSibling;r&&f.node.hasClass(r,"fr-marker");)r=r.previousSibling;r&&"BR"!==r.tagName&&g(n.previousSibling).remove()}}}(),function n(){for(var e=f.el.querySelectorAll("li:empty"),t=0;t/g,"%3E").replace(/"/g,"%22").replace(/ /g,"%20"),new RegExp("^".concat($e.LinkRegExHTTP).concat($e.LinkRegExEnd,"$"),"gi").test(e))},getAlignment:function C(e){e.css||(e=s(e));var t=(e.css("text-align")||"").replace(/-(.*)-/g,"");if(["left","right","justify","center"].indexOf(t)<0){if(!i){var n=s('
    ..
    '));s("body").first().append(n);var r=n.find("#s1").get(0).getBoundingClientRect().left,a=n.find("#s2").get(0).getBoundingClientRect().left;n.remove(),i=r=(window.innerHeight||document.documentElement.clientHeight)}}},$e.MODULES.events=function(l){var e,o=l.$,i={};function s(e,t,n){m(e,t,n)}function c(e){if(void 0===e&&(e=!0),!l.$wp)return!1;if(l.helpers.isIOS()&&l.$win.get(0).focus(),l.core.hasFocus())return!1;if(!l.core.hasFocus()&&e){var t=l.$win.scrollTop();if(l.browser.msie&&l.$box&&l.$box.css("position","fixed"),l.browser.msie&&l.$wp&&l.$wp.css("overflow","visible"),l.browser.msie&&l.$sc&&l.$sc.css("position","fixed"),p(),l.el.focus(),l.events.trigger("focus"),f(),l.browser.msie&&l.$sc&&l.$sc.css("position",""),l.browser.msie&&l.$box&&l.$box.css("position",""),l.browser.msie&&l.$wp&&l.$wp.css("overflow","auto"),t!==l.$win.scrollTop()&&l.$win.scrollTop(t),!l.selection.info(l.el).atStart)return!1}if(!l.core.hasFocus()||0").concat(e,"")),e}var o={bold:function(){e("bold","strong")},subscript:function(){i.format.is("sup")&&i.format.remove("sup"),e("subscript","sub")},superscript:function(){i.format.is("sub")&&i.format.remove("sub"),e("superscript","sup")},italic:function(){e("italic","em")},strikeThrough:function(){e("strikeThrough","s")},underline:function(){e("underline","u")},undo:function(){i.undo.run()},redo:function(){i.undo.redo()},indent:function(){r(1)},outdent:function(){r(-1)},show:function(){i.opts.toolbarInline&&i.toolbar.showInline(null,!0)},insertHR:function(){i.selection.remove();var e="";i.core.isEmpty()&&(e=a(e="
    ")),i.html.insert('
    '.concat(e));var t,n=i.$el.find("hr#fr-just");if(n.removeAttr("id"),0===n.next().length){var r=i.html.defaultTag();r?n.after(s(i.doc.createElement(r)).append("
    ").get(0)):n.after("
    ")}n.prev().is("hr")?t=i.selection.setAfter(n.get(0),!1):n.next().is("hr")?t=i.selection.setBefore(n.get(0),!1):i.selection.setAfter(n.get(0),!1)||i.selection.setBefore(n.get(0),!1),t||void 0===t||(e=a(e="".concat($e.MARKERS,"
    ")),n.after(e)),i.selection.restore()},clearFormatting:function(){i.format.remove()},selectAll:function(){i.doc.execCommand("selectAll",!1,!1)},moreText:function(e){t(e)},moreParagraph:function(e){t(e)},moreRich:function(e){t(e)},moreMisc:function(e){t(e)}};function t(e){!function n(e){var t=i.$tb.find('.fr-more-toolbar[data-name="'.concat(e.attr("data-group-name"),'"]'));i.$tb.find(".fr-open").not(e).removeClass("fr-open"),e.toggleClass("fr-open"),i.$tb.find(".fr-more-toolbar").removeClass("fr-overflow-visible"),i.$tb.find(".fr-expanded").not(t).length?(i.$tb.find(".fr-expanded").toggleClass("fr-expanded"),t.toggleClass("fr-expanded")):(t.toggleClass("fr-expanded"),i.$box.toggleClass("fr-toolbar-open"),i.$tb.toggleClass("fr-toolbar-open"))}(i.$tb.find("[data-cmd=".concat(e,"]"))),i.toolbar.setMoreToolbarsHeight()}function n(e,t){if(!1!==i.events.trigger("commands.before",s.merge([e],t||[]))){var n=$e.COMMANDS[e]&&$e.COMMANDS[e].callback||o[e],r=!0,a=!1;$e.COMMANDS[e]&&("undefined"!=typeof $e.COMMANDS[e].focus&&(r=$e.COMMANDS[e].focus),"undefined"!=typeof $e.COMMANDS[e].accessibilityFocus&&(a=$e.COMMANDS[e].accessibilityFocus)),(!i.core.hasFocus()&&r&&!i.popups.areVisible()||!i.core.hasFocus()&&a&&i.accessibility.hasFocus())&&i.events.focus(!0),$e.COMMANDS[e]&&!1!==$e.COMMANDS[e].undo&&(i.$el.find(".fr-marker").length&&(i.events.disableBlur(),i.selection.restore()),i.undo.saveStep()),n&&n.apply(i,s.merge([e],t||[])),i.events.trigger("commands.after",s.merge([e],t||[])),$e.COMMANDS[e]&&!1!==$e.COMMANDS[e].undo&&i.undo.saveStep()}}function e(e,t){i.format.toggle(t)}function r(e){i.selection.save(),i.html.wrap(!0,!0,!0,!0),i.selection.restore();for(var t=i.selection.blocks(),n=0;n").concat($e.MARKERS,"
    ").concat(i):o?"".concat(s,"<").concat(o,">").concat($e.MARKERS,"
    ").concat(i):"".concat(s+$e.MARKERS,"
    ").concat(i);["UL","OL"].indexOf(l.tagName)<0||l.parentNode&&"LI"===l.parentNode.tagName;)l=l.parentNode;m(n).replaceWith('');var d=g.node.openTagString(l)+m(l).html()+g.node.closeTagString(l);d=d.replace(/<\/span>/g,c),m(l).replaceWith(d),g.$el.find("li:empty").remove()}else if(a&&r||!g.node.isEmpty(n,!0)){for(var f="
    ",p=e.parentNode;p&&"LI"!==p.tagName;)f=g.node.openTagString(p)+f+g.node.closeTagString(p),p=p.parentNode;m(n).before("
  • ".concat(f,"
  • ")),m(e).remove()}else if(a){t=b(n);for(var u="".concat($e.MARKERS,"
    "),h=e.parentNode;h&&"LI"!==h.tagName;)u=g.node.openTagString(h)+u+g.node.closeTagString(h),h=h.parentNode;t.parentNode&&"LI"===t.parentNode.tagName?m(t.parentNode).after("
  • ".concat(u,"
  • ")):o?m(t).after("<".concat(o,">").concat(u,"")):m(t).after(u),m(n).remove()}else(t=b(n)).parentNode&&"LI"===t.parentNode.tagName?r?m(t.parentNode).before("".concat(g.node.openTagString(n)+$e.MARKERS,"
    ")):m(t.parentNode).after("".concat(g.node.openTagString(n)+$e.MARKERS,"
    ")):o?m(t).before("<".concat(o,">").concat($e.MARKERS,"
    ")):m(t).before("".concat($e.MARKERS,"
    ")),m(n).remove()},_middleEnter:function c(e){for(var t=v(e),n="",r=e,a="",o="",i=!1;r!==t;){var s="A"===(r=r.parentNode).tagName&&g.cursor.isAtEnd(e,r)?"fr-to-remove":"";i||r==t||g.node.isBlock(r)||(i=!0,a+=$e.INVISIBLE_SPACE),a=g.node.openTagString(m(r).clone().addClass(s).get(0))+a,o=g.node.closeTagString(r)+o}n=o+n+a+$e.MARKERS+(g.opts.keepFormatOnDelete?$e.INVISIBLE_SPACE:""),m(e).replaceWith('');var l=g.node.openTagString(t)+m(t).html()+g.node.closeTagString(t);l=l.replace(/<\/span>/g,n),m(t).replaceWith(l)},_endEnter:function l(e){for(var t=v(e),n=$e.MARKERS,r="",a=e,o=!1;a!==t;){var i="A"===(a=a.parentNode).tagName&&g.cursor.isAtEnd(e,a)?"fr-to-remove":"";o||a===t||g.node.isBlock(a)||(o=!0,r+=$e.INVISIBLE_SPACE),r=g.node.openTagString(m(a).clone().addClass(i).get(0))+r,n+=g.node.closeTagString(a)}var s=r+n;m(e).remove(),m(t).after(s)},_backspace:function d(e){var t=v(e),n=t.previousSibling;if(n){n=m(n).find(g.html.blockTagsQuery()).get(-1)||n,m(e).replaceWith($e.MARKERS);var r=g.node.contents(n);r.length&&"BR"===r[r.length-1].tagName&&m(r[r.length-1]).remove(),m(t).find(g.html.blockTagsQuery()).not("ol, ul, table").each(function(){this.parentNode===t&&m(this).replaceWith(m(this).html()+(g.node.isEmpty(this)?"":"
    "))});for(var a,o=g.node.contents(t)[0];o&&!g.node.isList(o);)a=o.nextSibling,m(n).append(o),o=a;for(n=t.previousSibling;o;)a=o.nextSibling,m(n).append(o),o=a;1<(r=g.node.contents(n)).length&&"BR"===r[r.length-1].tagName&&m(r[r.length-1]).remove(),m(t).remove()}else{var i=b(t);if(m(e).replaceWith($e.MARKERS),i.parentNode&&"LI"===i.parentNode.tagName){var s=i.previousSibling;g.node.isBlock(s)?(m(t).find(g.html.blockTagsQuery()).not("ol, ul, table").each(function(){this.parentNode===t&&m(this).replaceWith(m(this).html()+(g.node.isEmpty(this)?"":"
    "))}),m(s).append(m(t).html())):m(i).before(m(t).html())}else{var l=g.html.defaultTag();l&&0===m(t).find(g.html.blockTagsQuery()).length?m(i).before("<".concat(l,">").concat(m(t).html(),"")):m(i).before(m(t).html())}m(t).remove(),g.html.wrap(),0===m(i).find("li").length&&m(i).remove()}},_del:function f(e){var t,n=v(e),r=n.nextSibling;if(r){(t=g.node.contents(r)).length&&"BR"===t[0].tagName&&m(t[0]).remove(),m(r).find(g.html.blockTagsQuery()).not("ol, ul, table").each(function(){this.parentNode===r&&m(this).replaceWith(m(this).html()+(g.node.isEmpty(this)?"":"
    "))});for(var a,o=e,i=g.node.contents(r)[0];i&&!g.node.isList(i);)a=i.nextSibling,m(o).after(i),o=i,i=a;for(;i;)a=i.nextSibling,m(n).append(i),i=a;m(e).replaceWith($e.MARKERS),m(r).remove()}else{for(var s=n;!s.nextSibling&&s!==g.el;)s=s.parentNode;if(s===g.el)return!1;if(s=s.nextSibling,g.node.isBlock(s))$e.NO_DELETE_TAGS.indexOf(s.tagName)<0&&(m(e).replaceWith($e.MARKERS),(t=g.node.contents(n)).length&&"BR"===t[t.length-1].tagName&&m(t[t.length-1]).remove(),m(n).append(m(s).html()),m(s).remove());else for((t=g.node.contents(n)).length&&"BR"===t[t.length-1].tagName&&m(t[t.length-1]).remove(),m(e).replaceWith($e.MARKERS);s&&!g.node.isBlock(s)&&"BR"!==s.tagName;)m(n).append(m(s)),s=s.nextSibling}}}},$e.NO_DELETE_TAGS=["TH","TD","TR","TABLE","FORM"],$e.SIMPLE_ENTER_TAGS=["TH","TD","LI","DL","DT","FORM"],$e.MODULES.cursor=function(u){var h=u.$;function o(e){return!!e&&(!!u.node.isBlock(e)||(e.nextSibling&&e.nextSibling.nodeType===Node.TEXT_NODE&&0===e.nextSibling.textContent.replace(/\u200b/g,"").length?o(e.nextSibling):!(e.nextSibling&&(!e.previousSibling||"BR"!==e.nextSibling.tagName||e.nextSibling.nextSibling))&&o(e.parentNode)))}function i(e){return!!e&&(!!u.node.isBlock(e)||(e.previousSibling&&e.previousSibling.nodeType===Node.TEXT_NODE&&0===e.previousSibling.textContent.replace(/\u200b/g,"").length?i(e.previousSibling):!e.previousSibling&&(!(e.previousSibling||!u.node.hasClass(e.parentNode,"fr-inner"))||i(e.parentNode))))}function g(e,t){return!!e&&(e!==u.$wp.get(0)&&(e.previousSibling&&e.previousSibling.nodeType===Node.TEXT_NODE&&0===e.previousSibling.textContent.replace(/\u200b/g,"").length?g(e.previousSibling,t):!e.previousSibling&&(e.parentNode===t||g(e.parentNode,t))))}function m(e,t){return!!e&&(e!==u.$wp.get(0)&&(e.nextSibling&&e.nextSibling.nodeType===Node.TEXT_NODE&&0===e.nextSibling.textContent.replace(/\u200b/g,"").length?m(e.nextSibling,t):!(e.nextSibling&&(!e.previousSibling||"BR"!==e.nextSibling.tagName||e.nextSibling.nextSibling))&&(e.parentNode===t||m(e.parentNode,t))))}function c(e){return 0=u.opts.tabSpaces)0===r.substr(r.length-u.opts.tabSpaces,r.length-1).replace(/ /g,"").replace(new RegExp($e.UNICODE_NBSP,"g"),"").length&&(a=r.length-u.opts.tabSpaces+1);n.textContent=r.substring(0,a-d(r)),u.opts.htmlUntouched&&!e.nextSibling&&n.textContent.length&&" "===n.textContent[n.textContent.length-1]&&(n.textContent=n.textContent.substring(0,n.textContent.length-1)+$e.UNICODE_NBSP);var o=r.length!==n.textContent.length;if(0===n.textContent.length)if(o&&u.opts.keepFormatOnDelete)h(n).after($e.INVISIBLE_SPACE+$e.MARKERS);else if(0!==r.length&&u.node.isBlock(n.parentNode))h(n).after($e.MARKERS);else if((2!=n.parentNode.childNodes.length||n.parentNode!=e.parentNode)&&1!=n.parentNode.childNodes.length||u.node.isBlock(n.parentNode)||u.node.isElement(n.parentNode)||!u.node.isDeletable(n.parentNode)){for(;!u.node.isElement(n.parentNode)&&u.node.isEmpty(n.parentNode)&&$e.NO_DELETE_TAGS.indexOf(n.parentNode.tagName)<0;){var i=n;n=n.parentNode,i.parentNode.removeChild(i)}h(n).after($e.MARKERS),u.node.isElement(n.parentNode)&&!e.nextSibling&&n.previousSibling&&"BR"===n.previousSibling.tagName&&h(e).after("
    "),n.parentNode.removeChild(n)}else h(n.parentNode).after($e.MARKERS),h(n.parentNode).remove();else h(n).after($e.MARKERS)}else u.node.isDeletable(n)?(h(n).after($e.MARKERS),h(n).remove()):e.nextSibling&&"BR"===e.nextSibling.tagName&&u.node.isVoid(n)&&"BR"!==n.tagName?(h(e.nextSibling).remove(),h(e).replaceWith($e.MARKERS)):!1!==u.events.trigger("node.remove",[h(n)])&&(h(n).after($e.MARKERS),h(n).remove())}else if($e.NO_DELETE_TAGS.indexOf(n.tagName)<0&&(u.node.isEditable(n)||u.node.isDeletable(n)))if(u.node.isDeletable(n))h(e).replaceWith($e.MARKERS),h(n).remove();else if(u.node.isEmpty(n)&&!u.node.isList(n))h(n).remove(),h(e).replaceWith($e.MARKERS);else{for(u.node.isList(n)&&(n=h(n).find("li").last().get(0)),(t=u.node.contents(n))&&"BR"===t[t.length-1].tagName&&h(t[t.length-1]).remove(),t=u.node.contents(n);t&&u.node.isBlock(t[t.length-1]);)n=t[t.length-1],t=u.node.contents(n);h(n).append($e.MARKERS);for(var s=e;!s.previousSibling;)s=s.parentNode;for(;s&&"BR"!==s.tagName&&!u.node.isBlock(s);){var l=s;s=s.nextSibling,h(n).append(l)}s&&"BR"===s.tagName&&h(s).remove(),h(e).remove()}else e.nextSibling&&"BR"===e.nextSibling.tagName&&h(e.nextSibling).remove();return!0}function s(e){var t=0"))}),h(n).append(u.node.contents(i.get(0))),i.remove(),0===h(o).find("li").length&&h(o).remove())}else{if((a=u.node.contents(o)).length&&"BR"===a[0].tagName&&h(a[0]).remove(),"BLOCKQUOTE"!==o.tagName&&"BLOCKQUOTE"===n.tagName)for(a=u.node.contents(n);a.length&&u.node.isBlock(a[a.length-1]);)n=a[a.length-1],a=u.node.contents(n);else if("BLOCKQUOTE"===o.tagName&&"BLOCKQUOTE"!==n.tagName)for(a=u.node.contents(o);a.length&&u.node.isBlock(a[0]);)o=a[0],a=u.node.contents(o);h(e).replaceWith($e.MARKERS),h(n).append(o.innerHTML),h(o).remove()}else{for(h(e).replaceWith($e.MARKERS);o&&"BR"!==o.tagName&&!u.node.isBlock(o)&&u.node.isEditable(o);){var s=o;o=o.nextSibling,h(n).append(s)}o&&"BR"===o.tagName&&u.node.isEditable(o)&&h(o).remove()}}}function n(e){for(var t,n=e;!n.nextSibling;)if(n=n.parentNode,u.node.isElement(n))return!1;if("BR"===(n=n.nextSibling).tagName&&u.node.isEditable(n))if(n.nextSibling){if(u.node.isBlock(n.nextSibling)&&u.node.isEditable(n.nextSibling)){if(!($e.NO_DELETE_TAGS.indexOf(n.nextSibling.tagName)<0))return void h(n).remove();n=n.nextSibling,h(n.previousSibling).remove()}}else if(o(n)){if(c(e))u.cursorLists._del(e);else u.node.deepestParent(n)&&((!u.node.isEmpty(u.node.blockParent(n))||(u.node.blockParent(n).nextSibling&&$e.NO_DELETE_TAGS.indexOf(u.node.blockParent(n).nextSibling.tagName))<0)&&h(n).remove(),s(e));return}if(!u.node.isBlock(n)&&u.node.isEditable(n)){for(t=u.node.contents(n);n.nodeType!==Node.TEXT_NODE&&t.length&&!u.node.isDeletable(n)&&u.node.isEditable(n);)n=t[0],t=u.node.contents(n);n.nodeType===Node.TEXT_NODE?(h(n).before($e.MARKERS),n.textContent.length&&(n.textContent=n.textContent.substring(d(n.textContent,!0),n.textContent.length))):u.node.isDeletable(n)?(h(n).before($e.MARKERS),h(n).remove()):!1!==u.events.trigger("node.remove",[h(n)])&&(h(n).before($e.MARKERS),h(n).remove()),h(e).remove()}else if($e.NO_DELETE_TAGS.indexOf(n.tagName)<0&&(u.node.isEditable(n)||u.node.isDeletable(n)))if(u.node.isDeletable(n))h(e).replaceWith($e.MARKERS),h(n).remove();else if(u.node.isList(n))e.previousSibling?(h(n).find("li").first().prepend(e),u.cursorLists._backspace(e)):(h(n).find("li").first().prepend($e.MARKERS),h(e).remove());else if((t=u.node.contents(n))&&"BR"===t[0].tagName&&h(t[0]).remove(),t&&"BLOCKQUOTE"===n.tagName){var r=t[0];for(h(e).before($e.MARKERS);r&&"BR"!==r.tagName;){var a=r;r=r.nextSibling,h(e).before(a)}r&&"BR"===r.tagName&&h(r).remove()}else h(e).after(h(n).html()).after($e.MARKERS),h(n).remove()}function p(){for(var e=u.el.querySelectorAll("blockquote:empty"),t=0;t"+$e.MARKERS):r?h(a).after("<".concat(r,">").concat($e.MARKERS,"
    ")):h(a).after("".concat($e.MARKERS,"
    ")),h(e).remove()):v(e,t,n),!1;if(null===a)(r=u.html.defaultTag())&&u.node.isElement(e.parentNode)?h(e).replaceWith("<".concat(r,">").concat($e.MARKERS,"
    ")):!e.previousSibling||h(e.previousSibling).is("br")||e.nextSibling?h(e).replaceWith("
    ".concat($e.MARKERS)):h(e).replaceWith("
    ".concat($e.MARKERS,"
    "));else{var o=e,i="";"PRE"!=a.tagName||e.nextSibling||(t=!0),u.node.isBlock(a)&&!t||(i="
    ");var s,l="",c="",d="",f="";(r=u.html.defaultTag())&&u.node.isBlock(a)&&(d="<".concat(r,">"),f=""),a.tagName===r.toUpperCase()&&(d=u.node.openTagString(h(a).clone().removeAttr("id").get(0))));do{if(o=o.parentNode,!t||o!==a||t&&!u.node.isBlock(a))if(l+=u.node.closeTagString(o),o===a&&u.node.isBlock(a))c=d+c;else{var p=("A"===o.tagName||u.node.hasClass(o,"fa"))&&m(e,o)?"fr-to-remove":"";c=u.node.openTagString(h(o).clone().addClass(p).get(0))+c}}while(o!==a);i=l+i+c+(e.parentNode===a&&u.node.isBlock(a)?"":$e.INVISIBLE_SPACE)+$e.MARKERS,u.node.isBlock(a)&&!h(a).find("*").last().is("br")&&h(a).append("
    "),h(e).after(''),h(e).remove(),a.nextSibling&&!u.node.isBlock(a.nextSibling)||u.node.isBlock(a)||h(a).after("
    "),s=(s=!t&&u.node.isBlock(a)?u.node.openTagString(a)+h(a).html()+f:u.node.openTagString(a)+h(a).html()+u.node.closeTagString(a)).replace(/<\/span>/g,i),h(a).replaceWith(s)}}function v(e,t,n){var r=u.node.deepestParent(e,[],!n);if(null===r)u.html.defaultTag()&&e.parentNode===u.el?h(e).replaceWith("<".concat(u.html.defaultTag(),">").concat($e.MARKERS,"
    ")):(e.nextSibling&&!u.node.isBlock(e.nextSibling)||h(e).after("
    "),h(e).replaceWith("
    ".concat($e.MARKERS)));else if(e.previousSibling&&"IMG"==e.previousSibling.tagName||e.nextSibling&&"IMG"==e.nextSibling.tagName)h(e).replaceWith("<"+u.html.defaultTag()+">"+$e.MARKERS+"
    ");else{var a=e,o="";"PRE"===r.tagName&&(t=!0),u.node.isBlock(r)&&!t||(o="
    ");var i="",s="";do{var l=a;if(a=a.parentNode,"BLOCKQUOTE"===r.tagName&&u.node.isEmpty(l)&&!u.node.hasClass(l,"fr-marker")&&h(l).contains(e)&&h(l).after(e),"BLOCKQUOTE"!==r.tagName||!m(e,a)&&!g(e,a))if(!t||a!==r||t&&!u.node.isBlock(r)){i+=u.node.closeTagString(a);var c="A"==a.tagName&&m(e,a)||u.node.hasClass(a,"fa")?"fr-to-remove":"";s=u.node.openTagString(h(a).clone().addClass(c).removeAttr("id").get(0))+s}else"BLOCKQUOTE"==r.tagName&&t&&(s=i="")}while(a!==r);var d=r===e.parentNode&&u.node.isBlock(r)||e.nextSibling;if("BLOCKQUOTE"===r.tagName)if(e.previousSibling&&u.node.isBlock(e.previousSibling)&&e.nextSibling&&"BR"===e.nextSibling.tagName&&(h(e.nextSibling).after(e),e.nextSibling&&"BR"===e.nextSibling.tagName&&h(e.nextSibling).remove()),t)o=i+o+$e.MARKERS+s;else{var f=u.html.defaultTag();o="".concat(i+o+(f?"<".concat(f,">"):"")+$e.MARKERS,"
    ").concat(f?""):"").concat(s)}else o=i+o+s+(d?"":$e.INVISIBLE_SPACE)+$e.MARKERS;h(e).replaceWith('');var p=u.node.openTagString(r)+h(r).html()+u.node.closeTagString(r);p=p.replace(/<\/span>/g,o),h(r).replaceWith(p)}}return{enter:function b(e){var t=u.markers.insert();if(!t)return!0;for(var n=t.parentNode;n&&!u.node.isElement(n);){if("false"===n.getAttribute("contenteditable"))return h(t).replaceWith($e.MARKERS),u.selection.restore(),!1;if("true"===n.getAttribute("contenteditable"))break;n=n.parentNode}u.el.normalize();var r=!1;0").concat($e.MARKERS,"
    ")):h(a).before("".concat($e.MARKERS,"
    ")),h(e).remove(),!1}else m(e,a)?l(e,t,!0):v(e,t,!0);if(null===a)(r=u.html.defaultTag())&&u.node.isElement(e.parentNode)?h(e).replaceWith("<".concat(r,">").concat($e.MARKERS,"
    ")):h(e).replaceWith("
    ".concat($e.MARKERS));else{if(u.node.isBlock(a))if("PRE"===a.tagName&&(t=!0),t)h(e).remove(),h(a).prepend("
    ".concat($e.MARKERS));else if(e.nextSibling&&"IMG"==e.nextSibling.tagName||e.nextSibling&&e.nextSibling.nextElementSibling&&"IMG"==e.nextSibling.nextElementSibling)h(e).replaceWith("<"+u.html.defaultTag()+">"+$e.MARKERS+"
    ");else{if(u.node.isEmpty(a,!0))return l(e,t,n);if(u.opts.keepFormatOnDelete){for(var o=e,i=$e.INVISIBLE_SPACE;o!==a&&!u.node.isElement(o);)o=o.parentNode,i=u.node.openTagString(o)+i+u.node.closeTagString(o);h(a).before(i)}else h(a).before("".concat(u.node.openTagString(h(a).clone().removeAttr("id").get(0)),"
    ").concat(u.node.closeTagString(a)))}else h(a).before("
    ");h(e).remove()}}(t,e,r):u.cursorLists._startEnter(t):!c(t)||e||r?v(t,e,r):u.cursorLists._middleEnter(t),function a(){u.$el.find(".fr-to-remove").each(function(){for(var e=u.node.contents(this),t=0;t div").first(),b=v.find("> a"),"rtl"===f.opts.direction&&v.css("left","auto").css("right",0).attr("direction","rtl"),e++}function m(e){for(var t=[R("9qqG-7amjlwq=="),R("KA3B3C2A6D1D5H5H1A3=="),R("3B9B3B5F3C4G3E3=="),R("QzbzvxyB2yA-9m=="),R("ji1kacwmgG5bc=="),R("nmA-13aogi1A3c1jd=="),R("BA9ggq=="),R("emznbjbH3fij=="),R("tkC-22d1qC-13sD1wzF-7=="),R("tA3jjf=="),R("1D1brkm==")],n=0;nthis.length)&&(t=this.length),this.substring(t-e.length,t)===e}),e.endsWith(t[n]))return!0;return!1}var v,b,E=f.$,T="sC-7OB2fwhVC4vsG-7ohPA4ZD4D-8f1J3stzB-11bFE2FC1A3NB2IF1HE1TH4WB8eB-11zVG2F3I3yYB5ZG4CB2DA15CC5AD3F1A1KG1oLA10B1A6wQF1H3vgale2C4F4XA2qc2A5D5B3pepmriKB3OE1HD1fUC10pjD-11E-11TB4YJ3bC-16zE-11yc1B2CE2BC3jhjKC1pdA-21OA6C1D5B-8vF4QA11pD6sqf1C3lldA-16BD4A2H3qoEA7bB-16rmNH5H1F1vSB7RE2A3TH4YC5A5b1A4d1B3whepyAC3AA2zknC3mbgf1SC4WH4PD8TC5ZB2C3H3jb2A5ZA2EF2aoFC5qqHC4B1H1zeGA7UA5RF4TA29TA6ZC4d1C3hyWA10A3rBB2E3decorationRD3QC10UD3E6E6ZD2F3F3fme2E5uxxrEC9C3E4fB-11azhHB1LD7D6VF4VVTPC6b1C4TYG3qzDD6B3B3AH4I2H2kxbHE1JD1yihfd1QD6WB1D4mhrc1B5rvFG3A14A7cDA2OC1AA1JB5zC-16KA6WB4C-8wvlTB5A5lkZB2C2C7zynBD2D2bI-7C-21d1HE2cubyvPC8A6VB3aroxxZE4C4F4e1I2BE1WjdifH1H4A14NA1GB1YG-10tWA3A14A9sVA2C5XH2A29b2A6gsleGG2jaED2D-13fhE1OA8NjwytyTD4e1sc1D-16ZC3B5C-9e1C2FB6EFF5B2C2JH4E1C2tdLE5A3UG4G-7b2D3B4fA-9oh1G3kqvB4AG3ibnjcAC6D2B1cDA9KC2QA6bRC4VA30RB8hYB2A4A-8h1A21A2B2==",A="7D4YH4fkhHB3pqDC3H2E1fkMD1IB1NF1D3QD9wB5rxqlh1A8c2B4ZA3FD2AA6FB5EB3jJG4D2J-7aC-21GB6PC5RE4TC11QD6XC4XE3XH3mlvnqjbaOA2OC2BE6A1fmI-7ujwbc1G5f1F3e1C11mXF4owBG3E1yD1E4F1D2D-8B-8C-7yC-22HD1MF5UE4cWA3D8D6a1B2C3H3a3I3sZA4B3A2akfwEB3xHD5D1F1wIC11pA-16xdxtVI2C9A6YC4a1A2F3B2GA6B4C3lsjyJB1eMA1D-11MF5PE4ja1D3D7byrf1C3e1C7D-16lwqAF3H2A1B-21wNE1MA1OG1HB2A-16tSE5UD4RB3icRA4F-10wtwzBB3E1C3CC2DA8LA2LA1EB1kdH-8uVB7decorg1J2B7B6qjrqGI2J1C6ijehIB1hkemC-13hqkrH4H-7QD6XF5XF3HLNAC3CB2aD2CD2KB10B4ycg1A-8KA4H4B11jVB5TC4yqpB-21pd1E4pedzGB6MD5B3ncB-7MA4LD2JB6PD5uH-8TB9C7YD5XD2E3I3jmiDB3zeimhLD8E2F2JC1H-9ivkPC5lG-10SB1D3H3A-21rc1A3d1E3fsdqwfGA2KA1OrC-22LA6D1B4afUB16SC7AitC-8qYA11fsxcajGA15avjNE2A-9h1hDB16B9tPC1C5F5UC1G3B8d2A5d1D4RnHJ3C3JB5D3ucMG1yzD-17hafjC-8VD3yWC6e1YD2H3ZE2C8C5oBA3H3D2vFA4WzJC4C2i1A-65fNB8afWA1H4A26mvkC-13ZB3E3h1A21BC4eFB2GD2AA5ghqND2A2B2==",C="IC1A8A3A5A8B1E2E5A4B3==",S="sC-7OB2fwhVC4vsG-7ohPA4ZD4D-8f1J3stzB-11bFE2EE1MA2ND1KD1IE4cA-21pSD2D5ve1G3h1A8b1E5ZC3CD2FA16mC5OC5E1hpnG1NA10B1D7hkUD4I-7b2C3C5nXD2E3F3whidEC2EH3GI2mJE2E2bxci1WA10VC7pllSG2F3A7xd1A4ZC3DB2aaeGA2DE4H2E1j1ywD-13FD1A3VE4WA3D8C6wuc1A2hf1B5B7vnrrjA1B9ic1mpbD1oMB1iSB7rWC4RI4G-7upB6jd1A2F3H2EA4FD3kDF4A2moc1anJD1TD4VI4b2C7oeQF4c1E3XC7ZA3C3G3uDB2wGB6D1JC4D1JD4C1hTE6QC5pH4pD3C-22D7c1A3textAA4gdlB2mpozkmhNC1mrxA3yWA5edhg1I2H3B7ozgmvAI3I2B5GD1LD2RSNH1KA1XA5SB4PA3sA9tlmC-9tnf1G3nd1coBH4I2I2JC3C-16LE6A1tnUA3vbwQB1G3f1A20a3A8a1C6pxAB2eniuE1F3kH2lnjB2hB-16XA5PF1G4zwtYA5B-11mzTG2B9pHB3BE2hGH3B3B2cMD5C1F1wzPA8E7VG5H5vD3H-7C8tyvsVF2I1G2A5fE3bg1mgajoyxMA4fhuzSD8aQB2B4g1A20ukb1A4B3F3GG2CujjanIC1ObiB11SD1C5pWC1D4YB8YE5FE-11jXE2F-7jB4CC2G-10uLH4E1C2tA-13yjUH5d1H1A7sWD5E4hmjF-7pykafoGA16hDD4joyD-8OA33B3C2tC7cRE4SA31a1B8d1e2A4F4g1A2A22CC5zwlAC2C1A12==",y=function(){for(var e=0,t=document.domain,n=t.split("."),r="_gd".concat((new Date).getTime());e")}(e)),m.selection.restore()}else{var r;m.selection.save(),b(m.$el.find('.fr-marker[data-type="true"]').length&&m.$el.find('.fr-marker[data-type="true"]').get(0).nextSibling,e,t);do{for(r=m.$el.find("".concat(p(e,t)," > ").concat(p(e,t))),n=0;n
    ');var c=s.html().replace(/<\/span>/,o+m.node.closeTagString(s.get(0))+i+l+o+m.node.openTagString(s.get(0))+i);return s.replaceWith(m.node.openTagString(s.get(0))+c+m.node.closeTagString(s.get(0))),!0}return!1}function r(e,t){void 0===t&&(t={}),t.style&&delete t.style;var n=m.selection.isCollapsed();m.selection.save();for(var r=!0;r;){r=!1;for(var a=m.$el.find(".fr-marker"),o=0;o')){if(m.node.isEmpty(l.get(0)))s=v(m.doc.createElement("span")).attr("style","".concat(e,": ").concat(t,";")).html("".concat($e.INVISIBLE_SPACE).concat($e.MARKERS)),l.replaceWith(s);else{var c={};c["style*"]="".concat(e,":"),E(r,"span",c,!0),r=m.$el.find(".fr-marker"),t?(s=v(m.doc.createElement("span")).attr("style","".concat(e,": ").concat(t,";")).html("".concat($e.INVISIBLE_SPACE).concat($e.MARKERS)),r.replaceWith(s)):r.replaceWith($e.INVISIBLE_SPACE+$e.MARKERS)}m.html.cleanEmptyTags()}else m.node.isEmpty(l.get(0))&&l.is("span")?(r.replaceWith($e.MARKERS),l.css(e,t)):(s=v('').concat($e.INVISIBLE_SPACE).concat($e.MARKERS,"")),r.replaceWith(s));s&&T(s,e,t)}else{if(m.selection.save(),null===t||"color"===e&&0").concat(c);e.replaceWith('');var h=i.get(0).outerHTML;v(i.get(0)).replaceWith(h.replace(/<\/span>/g,function(){return u}))}}function a(e,t){void 0===t&&(t={}),t.style&&delete t.style;var n=m.selection.ranges(0),r=n.startContainer;if(r.nodeType===Node.ELEMENT_NODE&&0"),$e.END_MARKER='"),$e.MARKERS=$e.START_MARKER+$e.END_MARKER,$e.MODULES.markers=function(d){var f=d.$;function l(){if(!d.$wp)return null;try{var e=d.selection.ranges(0),t=e.commonAncestorContainer;if(t!==d.el&&!d.$el.contains(t))return null;var n=e.cloneRange(),r=e.cloneRange();n.collapse(!0);var a=f(d.doc.createElement("SPAN")).addClass("fr-marker").attr("style","display: none; line-height: 0;").html($e.INVISIBLE_SPACE).get(0);if(n.insertNode(a),a=d.$el.find("span.fr-marker").get(0)){for(var o=a.nextSibling;o&&o.nodeType===Node.TEXT_NODE&&0===o.textContent.length;)f(o).remove(),o=d.$el.find("span.fr-marker").get(0).nextSibling;return d.selection.clear(),d.selection.get().addRange(r),a}return null}catch(i){}}function c(){d.$el.find(".fr-marker").remove()}return{place:function p(e,t,n){var r,a,o;try{var i=e.cloneRange();if(i.collapse(t),i.insertNode(function l(e,t){var n=f(d.doc.createElement("SPAN"));return n.addClass("fr-marker").attr("data-id",t).attr("data-type",e).attr("style","display: ".concat(d.browser.safari?"none":"inline-block","; line-height: 0;")).html($e.INVISIBLE_SPACE),n.get(0)}(t,n)),!0===t)for(o=(r=d.$el.find('span.fr-marker[data-type="true"][data-id="'.concat(n,'"]')).get(0)).nextSibling;o&&o.nodeType===Node.TEXT_NODE&&0===o.textContent.length;)f(o).remove(),o=r.nextSibling;if(!0===t&&!e.collapsed){for(;!d.node.isElement(r.parentNode)&&!o;)f(r.parentNode).after(r),o=r.nextSibling;if(o&&o.nodeType===Node.ELEMENT_NODE&&d.node.isBlock(o)&&"HR"!==o.tagName){for(a=[o];o=a[0],(a=d.node.contents(o))[0]&&d.node.isBlock(a[0]););f(o).prepend(f(r))}}if(!1===t&&!e.collapsed){if((o=(r=d.$el.find('span.fr-marker[data-type="false"][data-id="'.concat(n,'"]')).get(0)).previousSibling)&&o.nodeType===Node.ELEMENT_NODE&&d.node.isBlock(o)&&"HR"!==o.tagName){for(a=[o];o=a[a.length-1],(a=d.node.contents(o))[a.length-1]&&d.node.isBlock(a[a.length-1]););f(o).append(f(r))}(r.parentNode&&0<=["TD","TH"].indexOf(r.parentNode.tagName)||!r.previousSibling&&d.node.isBlock(r.parentElement))&&r.parentNode.previousSibling&&!r.previousSibling&&f(r.parentNode.previousSibling).append(r)}var s=d.$el.find('span.fr-marker[data-type="'.concat(t,'"][data-id="').concat(n,'"]')).get(0);return s&&(s.style.display="none"),s}catch(c){return null}},insert:l,split:function i(){d.selection.isCollapsed()||d.selection.remove();var e=d.$el.find(".fr-marker").get(0);if(e||(e=l()),!e)return null;var t=d.node.deepestParent(e);if(t||(t=d.node.blockParent(e))&&"LI"!==t.tagName&&(t=null),t)if(d.node.isBlock(t)&&d.node.isEmpty(t))"LI"!==t.tagName||t.parentNode.firstElementChild!==t||d.node.isEmpty(t.parentNode)?f(t).replaceWith(''):f(t).append('');else if(d.cursor.isAtStart(e,t))f(t).before(''),f(e).remove();else if(d.cursor.isAtEnd(e,t))f(t).after(''),f(e).remove();else{for(var n=e,r="",a="";n=n.parentNode,r+=d.node.closeTagString(n),a=d.node.openTagString(n)+a,n!==t;);f(e).replaceWith('');var o=d.node.openTagString(t)+f(t).html()+d.node.closeTagString(t);o=o.replace(/<\/span>/g,"".concat(r,'').concat(a)),f(t).replaceWith(o)}return d.$el.find(".fr-marker").get(0)},insertAtPoint:function u(e){var t,n=e.clientX,r=e.clientY;c();var a=null;if("undefined"!=typeof d.doc.caretPositionFromPoint?(t=d.doc.caretPositionFromPoint(n,r),(a=d.doc.createRange()).setStart(t.offsetNode,t.offset),a.setEnd(t.offsetNode,t.offset)):"undefined"!=typeof d.doc.caretRangeFromPoint&&(t=d.doc.caretRangeFromPoint(n,r),(a=d.doc.createRange()).setStart(t.startContainer,t.startOffset),a.setEnd(t.startContainer,t.startOffset)),null!==a&&"undefined"!=typeof d.win.getSelection){var o=d.win.getSelection();o.removeAllRanges(),o.addRange(a)}else if("undefined"!=typeof d.doc.body.createTextRange)try{(a=d.doc.body.createTextRange()).moveToPoint(n,r);var i=a.duplicate();i.moveToPoint(n,r),a.setEndPoint("EndToEnd",i),a.select()}catch(s){return!1}l()},remove:c}},$e.MODULES.selection=function(A){var C=A.$;function s(){var e="";return A.win.getSelection?e=A.win.getSelection():A.doc.getSelection?e=A.doc.getSelection():A.doc.selection&&(e=A.doc.selection.createRange().text),e.toString()}function T(){return A.win.getSelection?A.win.getSelection():A.doc.getSelection?A.doc.getSelection():A.doc.selection.createRange()}function d(e){var t=T(),n=[];if(t&&t.getRangeAt&&t.rangeCount){n=[];for(var r=0;r'.concat($e.INVISIBLE_SPACE,"").concat(t[e].innerHTML));var n=!1,r=a(A.el);for(r.atStart&&r.atEnd&&(n=!0),t=A.el.querySelectorAll(".fr-mk"),e=0;e"):C(a).find(".fr-inner").filter(O).html("
    "):(C(a).empty(),C(a).attr("data-del-cell",!0)):0"),A.spaces.normalize());var v=A.$el.find(".fr-marker").last().get(0),b=A.$el.find(".fr-marker").first().get(0);void 0!==v&&void 0!==b&&!v.nextSibling&&b.previousSibling&&"BR"===b.previousSibling.tagName&&A.node.isElement(v.parentNode)&&A.node.isElement(b.parentNode)&&A.$el.append("
    "),R()},blocks:function u(){var e,t,n=[],r=T();if(p()&&r.rangeCount){var a=d();for(e=0;e"))}function t(){f.$wp.removeClass("show-placeholder")}function n(){if(!f.$wp)return!1;f.core.isEmpty()?e():t()}return{_init:function r(){if(!f.$wp)return!1;f.events.on("init input keydown keyup contentChanged initialized",n)},show:e,hide:t,refresh:n,isVisible:function a(){return!f.$wp||f.node.hasClass(f.$wp.get(0),"show-placeholder")}}},$e.UNICODE_NBSP=String.fromCharCode(160),$e.VOID_ELEMENTS=["area","base","br","col","embed","hr","img","input","keygen","link","menuitem","meta","param","source","track","wbr"],$e.BLOCK_TAGS=["address","article","aside","audio","blockquote","canvas","details","dd","div","dl","dt","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","hr","li","main","nav","noscript","ol","output","p","pre","section","table","tbody","td","tfoot","th","thead","tr","ul","video"],Object.assign($e.DEFAULTS,{htmlAllowedEmptyTags:["textarea","a","iframe","object","video","style","script",".fa",".fr-emoticon",".fr-inner","path","line"],htmlDoNotWrapTags:["script","style"],htmlSimpleAmpersand:!1,htmlIgnoreCSSProperties:[],htmlExecuteScripts:!0}),$e.MODULES.html=function(N){var p=N.$;function d(){return N.opts.enter===$e.ENTER_P?"p":N.opts.enter===$e.ENTER_DIV?"div":N.opts.enter===$e.ENTER_BR?null:void 0}function s(e,t){return!(!e||e===N.el)&&(t?-1!=["PRE","SCRIPT","STYLE"].indexOf(e.tagName)||s(e.parentNode,t):-1!==["PRE","SCRIPT","STYLE"].indexOf(e.tagName))}function o(e){var t,n=[],r=[];if(e){var a=N.el.querySelectorAll(".fr-marker");for(t=0;t";return t&&(n="")),n}function c(e){var t=e.parentNode;if(t&&(N.node.isBlock(t)||N.node.isElement(t))&&["TD","TH"].indexOf(t.tagName)<0){for(var n=e.previousSibling,r=e.nextSibling;n&&(n.nodeType===Node.TEXT_NODE&&0===n.textContent.replace(/\n|\r/g,"").length||N.node.hasClass(n,"fr-tmp"));)n=n.previousSibling;if(r)return!1;n&&t&&"BR"!==n.tagName&&!N.node.isBlock(n)&&!r&&0").concat($e.MARKERS,"
    ")),N.selection.restore()):N.$el.html("<".concat(d(),">
    "))):N.el.querySelector("*:not(.fr-marker):not(br)")||(N.core.hasFocus()?(N.$el.html("".concat($e.MARKERS,"
    ")),N.selection.restore()):N.$el.html("
    ")))}function g(e,t){return r(e,"<".concat(t,"[^>]*?>([\\w\\W]*)"),1)}function m(e,t){var n=p("
    ]*?)>"),1)||"",">"));return N.node.rawAttributes(n.get(0))}function v(e){return(r(e,"]*?)>",0)||"").replace(/\n/g," ").replace(/ {2,}/g," ")}function b(e,t){N.opts.htmlExecuteScripts?e.html(t):e.get(0).innerHTML=t}function I(e){var t;(t=/:not\(([^)]*)\)/g).test(e)&&(e=e.replace(t," $1 "));var n=100*(e.match(/(#[^\s+>~.[:]+)/g)||[]).length+10*(e.match(/(\[[^]]+\])/g)||[]).length+10*(e.match(/(\.[^\s+>~.[:]+)/g)||[]).length+10*(e.match(/(:[\w-]+\([^)]*\))/gi)||[]).length+10*(e.match(/(:[^\s+>~.[:]+)/g)||[]).length+(e.match(/(::[^\s+>~.[:]+|:first-line|:first-letter|:before|:after)/gi)||[]).length;return n+=((e=(e=e.replace(/[*\s+>~]/g," ")).replace(/[#.]/g," ")).match(/([^\s+>~.[:]+)/g)||[]).length}function k(e){if(N.events.trigger("html.processGet",[e]),e&&e.getAttribute&&""===e.getAttribute("class")&&e.removeAttribute("class"),e&&e.getAttribute&&""===e.getAttribute("style")&&e.removeAttribute("style"),e&&e.nodeType===Node.ELEMENT_NODE){var t,n=e.querySelectorAll('[class=""],[style=""]');for(t=0;t")}},cleanEmptyTags:e,cleanWhiteTags:E,cleanBlankSpaces:n,blocks:function S(){return N.$el.get(0).querySelectorAll(u())},getDoctype:x,set:function y(e){var t=N.clean.html((e||"").trim(),[],[],N.opts.fullPage);if(N.opts.fullPage){var n=g(t,"body")||(0<=t.indexOf("",o=m(t,"head"),i=p("
    ");i.append(a).contents().each(function(){(this.nodeType===Node.COMMENT_NODE||0<=["BASE","LINK","META","NOSCRIPT","SCRIPT","STYLE","TEMPLATE","TITLE"].indexOf(this.tagName))&&this.parentNode.removeChild(this)});var s=i.html().trim();a=p("
    ").append(a).contents().map(function(){return this.nodeType===Node.COMMENT_NODE?"\x3c!--".concat(this.nodeValue,"--\x3e"):0<=["BASE","LINK","META","NOSCRIPT","SCRIPT","STYLE","TEMPLATE","TITLE"].indexOf(this.tagName)?this.outerHTML:""}).toArray().join("");var l=v(t),c=m(t,"html");b(N.$el,"".concat(s,"\n").concat(n)),N.node.clearAttributes(N.el),N.$el.attr(r),N.$el.addClass("fr-view"),N.$el.attr("spellcheck",N.opts.spellcheck),N.$el.attr("dir",N.opts.direction),b(N.$head,a),N.node.clearAttributes(N.$head.get(0)),N.$head.attr(o),N.node.clearAttributes(N.$html.get(0)),N.$html.attr(c),N.iframe_document.doctype.parentNode.replaceChild(function f(e,t){var n=e.match(//i);return n?t.implementation.createDocumentType(n[1],n[3],n[4]):t.implementation.createDocumentType("html")}(l,N.iframe_document),N.iframe_document.doctype)}else b(N.$el,t);var d=N.edit.isDisabled();N.edit.on(),N.core.injectStyle(N.opts.iframeDefaultStyle+N.opts.iframeStyle),h(),N.opts.useClasses||(N.$el.find("[fr-original-class]").each(function(){this.setAttribute("class",this.getAttribute("fr-original-class")),this.removeAttribute("fr-original-class")}),N.$el.find("[fr-original-style]").each(function(){this.setAttribute("style",this.getAttribute("fr-original-style")),this.removeAttribute("fr-original-style")})),d&&N.edit.off(),N.events.trigger("html.set")},get:function D(e,t){if(!N.$wp)return N.$oel.clone().removeClass("fr-view").removeAttr("contenteditable").get(0).outerHTML;var n="";N.events.trigger("html.beforeGet");var r,a,o=[],i={},s=[],l=N.el.querySelectorAll("input, textarea");for(r=0;r=i[g[a]][E]&&(i[g[a]][E]=m,v[b].trim().length))){var T=v[b].trim().split(":");T.splice(0,1),s.push([g[a],E.trim(),T.join(":").trim(),m])}}}}}for(s.sort(M),r=0;r").concat(N.$html.find("head").get(0).outerHTML,""));else if(void 0===e&&(e=!1),N.opts.fullPage){n=x(N.iframe_document),N.$el.removeClass("fr-view");var R=N.opts.heightMin,L=N.opts.height,w=N.opts.heightMax;N.opts.heightMin=null,N.opts.height=null,N.opts.heightMax=null,N.size.refresh(),n+="").concat(N.$html.html(),""),N.opts.heightMin=R,N.opts.height=L,N.opts.heightMax=w,N.size.refresh(),N.$el.addClass("fr-view")}else n=N.$el.html();if(!N.opts.useClasses&&!t)for(r=0;r(?:[\w\W]*?)<\/style>/g,"")).replace(/]*)data-fr-style="true"([^>]*)>/g,"")).replace(/(?:[\w\W]*?)<\/style>/g,"")).replace(/((?:[\w\W]*?))<\/body>/g,"$3")).replace(/((?:[\w\W]*?))<\/body>/g,"$4")).replace(/((?:[\w\W]*?))<\/body>/g,"$4")).replace(/((?:[\w\W]*?))<\/body>/g,'$6')).replace(/((?:[\w\W]*?))<\/body>/g,"$3")),N.opts.htmlSimpleAmpersand&&(n=n.replace(/&/gi,"&")),N.events.trigger("html.afterGet"),e||(n=n.replace(/]*? class\s*=\s*["']?fr-marker["']?[^>]+>\u200b<\/span>/gi,"")),n=N.clean.invisibleSpaces(n),n=N.clean.exec(n,k);var _=N.events.chainTrigger("html.get",n);return"string"==typeof _&&(n=_),n=(n=n.replace(/(?:[\w\W]*?)<\/pre>/g,function(e){return e.replace(/
    /g,"\n")})).replace(/ ".concat(N.html.defaultTag())),r=n.length-1;0<=r;r--){var a=n[r];N.node.isBlock(a.previousSibling)||(a.previousSibling&&!N.node.isEmpty(a)&&p("
    ").insertAfter(a.previousSibling),a.outerHTML=a.innerHTML)}return t.innerHTML}(r)),!(a=N.markers.split()))return!1;a.outerHTML=r}else a.outerHTML=r}else N.el.innerHTML+=r}h(),N.keys.positionCaret(),N.events.trigger("html.inserted")},wrap:t,unwrap:function w(){N.$el.find("div.fr-temp-div").each(function(){this.previousSibling&&this.previousSibling.nodeType===Node.TEXT_NODE&&p(this).before("
    "),p(this).attr("data-empty")||!this.nextSibling||N.node.isBlock(this.nextSibling)&&!p(this.nextSibling).hasClass("fr-temp-div")?p(this).replaceWith(p(this).html()):p(this).replaceWith("".concat(p(this).html(),"
    "))}),N.$el.find(".fr-temp-div").removeClass("fr-temp-div").filter(function(){return""===p(this).attr("class")}).removeAttr("class")},escapeEntities:function _(e){return e.replace(//gi,">").replace(/"/gi,""").replace(/'/gi,"'")},checkIfEmpty:a,extractNode:g,extractNodeAttrs:m,extractDoctype:v,cleanBRs:function O(){for(var e=N.el.getElementsByTagName("br"),t=0;t").concat($e.MARKERS,"
    ")):p.$el.html("".concat($e.MARKERS,"
    ")),p.selection.restore(),p.placeholder.refresh(),p.button.bulkRefresh(),p.undo.saveStep()},0)}function o(){h=!1}function i(){h=!1}function g(){var e=p.html.defaultTag();e?p.$el.html("<".concat(e,">").concat($e.MARKERS,"
    ")):p.$el.html("".concat($e.MARKERS,"
    ")),p.selection.restore()}function s(e){var t=p.selection.element();if(t&&0<=["INPUT","TEXTAREA"].indexOf(t.tagName))return!0;if(e&&v(e.which))return!0;p.events.disableBlur();var n=e.which;if(16===n)return!0;if((u=n)===$e.KEYCODE.IME)return h=!0;h=!1;var r=b(n)&&!m(e)&&!e.altKey,a=n===$e.KEYCODE.BACKSPACE||n===$e.KEYCODE.DELETE;if((p.selection.isFull()&&!p.opts.keepFormatOnDelete&&!p.placeholder.isVisible()||a&&p.placeholder.isVisible()&&p.opts.keepFormatOnDelete)&&(r||a)&&(g(),!b(n)))return e.preventDefault(),!0;n===$e.KEYCODE.ENTER?e.shiftKey?function o(e){e.preventDefault(),e.stopPropagation(),p.opts.multiLine&&(p.selection.isCollapsed()||p.selection.remove(),p.cursor.enter(!0))}(e):function i(e){p.opts.multiLine?(p.helpers.isIOS()||(e.preventDefault(),e.stopPropagation()),p.selection.isCollapsed()||p.selection.remove(),p.cursor.enter()):(e.preventDefault(),e.stopPropagation())}(e):n===$e.KEYCODE.BACKSPACE&&(e.metaKey||e.ctrlKey)?function s(){setTimeout(function(){p.events.disableBlur(),p.events.focus()},0)}():n!==$e.KEYCODE.BACKSPACE||m(e)||e.altKey?n!==$e.KEYCODE.DELETE||m(e)||e.altKey||e.shiftKey?n===$e.KEYCODE.SPACE?function l(e){var t=p.selection.element();if(!p.helpers.isMobile()&&t&&"A"===t.tagName){e.preventDefault(),e.stopPropagation(),p.selection.isCollapsed()||p.selection.remove();var n=p.markers.insert();if(n){var r=n.previousSibling;!n.nextSibling&&n.parentNode&&"A"===n.parentNode.tagName?(n.parentNode.insertAdjacentHTML("afterend"," ".concat($e.MARKERS)),n.parentNode.removeChild(n)):(r&&r.nodeType===Node.TEXT_NODE&&1===r.textContent.length&&160===r.textContent.charCodeAt(0)?r.textContent+=" ":n.insertAdjacentHTML("beforebegin"," "),n.outerHTML=$e.MARKERS),p.selection.restore()}}}(e):n===$e.KEYCODE.TAB?function c(e){if(0p.$wp.offset().top-p.helpers.scrollTop()+p.$wp.height()-20&&p.$wp.scrollTop(e+p.$wp.scrollTop()-(p.$wp.height()+p.$wp.offset().top)+p.helpers.scrollTop()+20)):(e=p.position.getBoundingRect().top,p.opts.toolbarBottom&&(e+=p.opts.toolbarStickyOffset),(p.helpers.isIOS()||p.helpers.isAndroid())&&(e-=p.helpers.scrollTop()),p.opts.iframe&&(e+=p.$iframe.offset().top,e-=p.helpers.scrollTop()),(e+=p.opts.toolbarStickyOffset)>p.o_win.innerHeight-20&&t(p.o_win).scrollTop(e+p.helpers.scrollTop()-p.o_win.innerHeight+20),e=p.position.getBoundingRect().top,p.opts.toolbarBottom||(e-=p.opts.toolbarStickyOffset),(p.helpers.isIOS()||p.helpers.isAndroid())&&(e-=p.helpers.scrollTop()),p.opts.iframe&&(e+=p.$iframe.offset().top,e-=p.helpers.scrollTop()),e<100&&t(p.o_win).scrollTop(e+p.helpers.scrollTop()-100))}function c(e){var t=p.selection.element();if(t&&0<=["INPUT","TEXTAREA"].indexOf(t.tagName))return!0;if(e&&0===e.which&&u&&(e.which=u),p.helpers.isAndroid()&&p.browser.mozilla)return!0;if(h)return!1;if(e&&p.helpers.isIOS()&&e.which===$e.KEYCODE.ENTER&&p.doc.execCommand("undo"),!p.selection.isCollapsed())return!0;if(e&&(e.which===$e.KEYCODE.META||e.which===$e.KEYCODE.CTRL))return!0;if(e&&v(e.which))return!0;if(e&&!p.helpers.isIOS()&&(e.which===$e.KEYCODE.ENTER||e.which===$e.KEYCODE.BACKSPACE||37<=e.which&&e.which<=40&&!p.browser.msie))try{l()}catch(r){}var n=p.selection.element();(function a(e){if(!e)return!1;var t=e.innerHTML;return!!((t=t.replace(/]*? class\s*=\s*["']?fr-marker["']?[^>]+>\u200b<\/span>/gi,""))&&/\u200B/.test(t)&&0=$e.KEYCODE.ARROW_LEFT&&e<=$e.KEYCODE.ARROW_DOWN)return!0}function b(e){if(e>=$e.KEYCODE.ZERO&&e<=$e.KEYCODE.NINE)return!0;if(e>=$e.KEYCODE.NUM_ZERO&&e<=$e.KEYCODE.NUM_MULTIPLY)return!0;if(e>=$e.KEYCODE.A&&e<=$e.KEYCODE.Z)return!0;if(p.browser.webkit&&0===e)return!0;switch(e){case $e.KEYCODE.SPACE:case $e.KEYCODE.QUESTION_MARK:case $e.KEYCODE.NUM_PLUS:case $e.KEYCODE.NUM_MINUS:case $e.KEYCODE.NUM_PERIOD:case $e.KEYCODE.NUM_DIVISION:case $e.KEYCODE.SEMICOLON:case $e.KEYCODE.FF_SEMICOLON:case $e.KEYCODE.DASH:case $e.KEYCODE.EQUALS:case $e.KEYCODE.FF_EQUALS:case $e.KEYCODE.COMMA:case $e.KEYCODE.PERIOD:case $e.KEYCODE.SLASH:case $e.KEYCODE.APOSTROPHE:case $e.KEYCODE.SINGLE_QUOTE:case $e.KEYCODE.OPEN_SQUARE_BRACKET:case $e.KEYCODE.BACKSLASH:case $e.KEYCODE.CLOSE_SQUARE_BRACKET:return!0;default:return!1}}function d(e){var t=e.which;if(m(e)||37<=t&&t<=40||!b(t)&&t!==$e.KEYCODE.DELETE&&t!==$e.KEYCODE.BACKSPACE&&t!==$e.KEYCODE.ENTER&&t!==$e.KEYCODE.IME)return!0;n||(r=p.snapshot.get(),p.undo.canDo()||p.undo.saveStep()),clearTimeout(n),n=setTimeout(function(){n=null,p.undo.saveStep()},Math.max(250,p.opts.typingTimer))}function f(e){var t=e.which;if(m(e)||37<=t&&t<=40)return!0;r&&n?(p.undo.saveStep(r),r=null):void 0!==t&&0!==t||r||n||p.undo.saveStep()}function E(e){if(e&&"BR"===e.tagName)return!1;try{return 0===(e.textContent||"").length&&e.querySelector&&!e.querySelector(":scope > br")||e.childNodes&&1===e.childNodes.length&&e.childNodes[0].getAttribute&&("false"===e.childNodes[0].getAttribute("contenteditable")||p.node.hasClass(e.childNodes[0],"fr-img-caption"))}catch(t){return!1}}function T(e){var t=p.el.childNodes,n=p.html.defaultTag(),r=p.node.blockParent(p.selection.blocks()[0]);return r&&"TR"==r.tagName&&r.getAttribute("contenteditable")==undefined&&(r=r.closest("table")),!p.node.isEditable(e.target)||r&&"false"===r.getAttribute("contenteditable")?p.toolbar.disable():p.toolbar.enable(),!(!e.target||e.target===p.el)||(0===t.length||void(t[0].offsetHeight+t[0].offsetTop<=e.offsetY?E(t[t.length-1])&&(n?p.$el.append("<".concat(n,">").concat($e.MARKERS,"
    ")):p.$el.append("".concat($e.MARKERS,"
    ")),p.selection.restore(),l()):e.offsetY<=10&&E(t[0])&&(n?p.$el.prepend("<".concat(n,">").concat($e.MARKERS,"
    ")):p.$el.prepend("".concat($e.MARKERS,"
    ")),p.selection.restore(),l())))}function A(){n&&clearTimeout(n)}return{_init:function C(){p.events.on("keydown",d),p.events.on("input",e),p.events.on("mousedown",i),p.events.on("keyup input",f),p.events.on("keypress",o),p.events.on("keydown",s),p.events.on("keyup",c),p.events.on("destroy",A),p.events.on("html.inserted",c),p.events.on("cut",a),p.opts.multiLine&&p.events.on("click",T)},ctrlKey:m,isCharacter:b,isArrow:v,forceUndo:function S(){n&&(clearTimeout(n),p.undo.saveStep(),r=null)},isIME:function y(){return h},isBrowserAction:function R(e){var t=e.which;return m(e)||t===$e.KEYCODE.F5},positionCaret:l}},Object.assign($e.DEFAULTS,{pastePlain:!1,pasteDeniedTags:["colgroup","col","meta"],pasteDeniedAttrs:["class","id","style"],pasteAllowedStyleProps:[".*"],pasteAllowLocalImages:!1}),$e.MODULES.paste=function(L){var i,s,o,w,_=L.$;function n(e,t){try{L.win.localStorage.setItem("fr-copied-html",e),L.win.localStorage.setItem("fr-copied-text",t)}catch(n){}}function e(e){var t=L.html.getSelected();n(t,_(L.doc.createElement("div")).html(t).text()),"cut"===e.type&&(L.undo.saveStep(),setTimeout(function(){L.selection.save(),L.html.wrap(),L.selection.restore(),L.events.focus(),L.undo.saveStep()},0))}var l=!1;function t(e){if(L.edit.isDisabled())return!1;if(l)return!1;if(e.originalEvent&&(e=e.originalEvent),!1===L.events.trigger("paste.before",[e]))return e.preventDefault(),!1;if(e&&e.clipboardData&&e.clipboardData.getData){var t="",n=e.clipboardData.types;if(L.helpers.isArray(n))for(var r=0;r
    '),L.browser.webkit||L.browser.mozilla?(o.css("top",L.$sc.scrollTop()),L.$el.after(o)):L.browser.edge&&L.opts.iframe?L.$el.append(o):L.$box.after(o),L.events.on("destroy",function(){o.remove()}));var e;L.helpers.isIOS()&&L.$sc&&(e=L.$sc.scrollTop());L.opts.iframe&&L.$el.attr("contenteditable","false");o.focus(),L.helpers.isIOS()&&L.$sc&&L.$sc.scrollTop(e);L.win.setTimeout(c,1)}(),!1}function r(e){if(e.originalEvent&&(e=e.originalEvent),e&&e.dataTransfer&&e.dataTransfer.getData){var t="",n=e.dataTransfer.types;if(L.helpers.isArray(n))for(var r=0;r")),""!==i){L.keys.forceUndo(),w=L.snapshot.get(),L.selection.save(),L.$el.find(".fr-marker").removeClass("fr-marker").addClass("fr-marker-helper");var a=L.markers.insertAtPoint(e);if(L.$el.find(".fr-marker").removeClass("fr-marker").addClass("fr-marker-placeholder"),L.$el.find(".fr-marker-helper").addClass("fr-marker").removeClass("fr-marker-helper"),L.selection.restore(),L.selection.remove(),L.$el.find(".fr-marker-placeholder").addClass("fr-marker").removeClass("fr-marker-placeholder"),!1!==a){var o=L.el.querySelector(".fr-marker");return _(o).replaceWith($e.MARKERS),L.selection.restore(),c(),e.preventDefault&&(e.stopPropagation(),e.preventDefault()),!1}}else i=null}}function c(){L.opts.iframe&&L.$el.attr("contenteditable","true"),L.browser.edge&&L.opts.iframe&&L.$box.after(o),w||(L.keys.forceUndo(),w=L.snapshot.get()),i||(i=o.get(0).innerHTML,L.selection.restore(),L.events.enableBlur());var e=i.match(/(class="?Mso|class='?Mso|class="?Xl|class='?Xl|class=Xl|style="[^"]*\bmso-|style='[^']*\bmso-|w:WordDocument)/gi),t=L.events.chainTrigger("paste.beforeCleanup",i);t&&"string"==typeof t&&(i=t),(!e||e&&!1!==L.events.trigger("paste.wordPaste",[i]))&&a(i,e)}function O(e){for(var t="",n=0;n++]*(]*>[\s]*[.\s\S\w\W<>]*[\s]*<\/style>)[.\s\S\w\W<>]*/gi,"$1")),e=(e=i+e.replace(/[.\s\S\w\W<>]*]*>[\s]*([.\s\S\w\W<>]*)[\s]*<\/body>[.\s\S\w\W<>]*/gi,"$1")).replace(/ \n/g," ").replace(/\n /g," ").replace(/([^>])\n([^<])/g,"$1 $2")}var s=!1;0<=e.indexOf('id="docs-internal-guid')&&(e=e.replace(/^[\w\W\s\S]* id="docs-internal-guid[^>]*>([\w\W\s\S]*)<\/b>[\w\W\s\S]*$/g,"$1"),s=!0),0<=e.indexOf('content="Sheets"')&&(e=e.replace(/width:0px;/g,""));var l=!1;if(!t)if((l=function A(e){var t=null;try{t=L.win.localStorage.getItem("fr-copied-text")}catch(n){}return!(!t||_("
    ").html(e).text().replace(/\u00A0/gi," ").replace(/\r|\n/gi,"")!==t.replace(/\u00A0/gi," ").replace(/\r|\n/gi,""))}(e))&&(e=L.win.localStorage.getItem("fr-copied-html")),l)e=L.clean.html(e,L.opts.pasteDeniedTags,L.opts.pasteDeniedAttrs);else{var c=L.opts.htmlAllowedStyleProps;L.opts.htmlAllowedStyleProps=L.opts.pasteAllowedStyleProps,L.opts.htmlAllowComments=!1,e=(e=(e=e.replace(/\s*<\/span>/g,O(L.opts.tabSpaces||4))).replace(/(\t*)<\/span>/g,function(e,t){return O(t.length*(L.opts.tabSpaces||4))})).replace(/\t/g,O(L.opts.tabSpaces||4)),e=L.clean.html(e,L.opts.pasteDeniedTags,L.opts.pasteDeniedAttrs),L.opts.htmlAllowedStyleProps=c,L.opts.htmlAllowComments=!0,e=(e=(e=N(e)).replace(/\r/g,"")).replace(/^ */g,"").replace(/ *$/g,"")}!t||L.wordPaste&&n||(0===(e=e.replace(/^\n*/g,"").replace(/^ /g,"")).indexOf("")&&(e="".concat(e,"
    ")),e=N(e=function C(e){var t;e=(e=(e=(e=(e=(e=(e=(e=(e=(e=(e=(e=(e=(e=(e=e.replace(/([\s\S]*?)<\/p>/gi,"
    • $3
    ")).replace(/([\s\S]*?)<\/p>/gi,"
    1. $3
    ")).replace(/([\s\S]*?)<\/p>/gi,"
      $5")).replace(/([\s\S]*?)<\/p>/gi,"
        $5")).replace(/([\s\S]*?)<\/p>/gi,"$5")).replace(/([\s\S]*?)<\/p>/gi,"$5")).replace(/([\s\S]*?)<\/p>/gi,"$5")).replace(/([\s\S]*?)<\/p>/gi,"$5
    ")).replace(/([\s\S]*?)<\/p>/gi,"$5")).replace(/([\s\S]*?)([\s\S]*?)/gi,"")).replace(/([\s\S]*?)/gi,"")).replace(/(\n|\r| class=(")?Mso[a-zA-Z0-9]+(")?)/gi," ")).replace(//gi,"")).replace(/<(\/)*(meta|link|span|\\?xml:|st1:|o:|font)(.*?)>/gi,"");var n,r=["style","script","applet","embed","noframes","noscript"];for(t=0;t"),"gi");e=e.replace(a,"")}for(e=(e=(e=e.replace(/ /gi," ")).replace(/]*)><\/td>/g,"
    ")).replace(/]*)><\/th>/g,"
    ");(e=(n=e).replace(/<[^/>][^>]*><\/[^>]+>/gi,""))!==n;);e=(e=e.replace(/]*)>/gi,'
  • ')).replace(/]*)>/gi,""),e=(e=(e=L.clean.html(e,L.opts.pasteDeniedTags,L.opts.pasteDeniedAttrs)).replace(/(.[^<]+)<\/a>/gi,"$1")).replace(/
    */g,"
    ");var o=L.o_doc.createElement("div");o.innerHTML=e;var i=o.querySelectorAll("li[data-indent]");for(t=0;t ul, :scope > ol");c||(c=document.createElement("ul"),l.appendChild(c)),c.appendChild(s)}else s.removeAttribute("data-indent")}return L.html.cleanBlankSpaces(o),e=o.innerHTML}(e))),L.opts.pastePlain&&!l&&(e=function S(e){var t,n=null,r=L.doc.createElement("div");r.innerHTML=e;var a=r.querySelectorAll("p, div, h1, h2, h3, h4, h5, h6, pre, blockquote");for(t=0;t").concat(n.innerHTML,"");for(t=(a=r.querySelectorAll("*:not(".concat("p, div, h1, h2, h3, h4, h5, h6, pre, blockquote, ul, ol, li, table, tbody, thead, tr, td, br, img".split(",").join("):not("),")"))).length-1;0<=t;t--)(n=a[t]).outerHTML=n.innerHTML;return function o(e){for(var t=L.node.contents(e),n=0;n")?(L.html.cleanBlankSpaces(f),L.spaces.normalize(f,!0)):L.spaces.normalize(f);var p=f.getElementsByTagName("span");for(r=p.length-1;0<=r;r--){var u=p[r];0===u.attributes.length&&(u.outerHTML=u.innerHTML)}if(!0===L.opts.linkAlwaysBlank){var h=f.getElementsByTagName("a");for(r=h.length-1;0<=r;r--){var g=h[r];g.getAttribute("target")||g.setAttribute("target","_blank")}}var m=L.selection.element(),v=!1;if(m&&_(m).parentsUntil(L.el,"ul, ol").length&&(v=!0),v){var b=f.children;1===b.length&&0<=["OL","UL"].indexOf(b[0].tagName)&&(b[0].outerHTML=b[0].innerHTML)}if(!s){var E=f.getElementsByTagName("br");for(r=E.length-1;0<=r;r--){var T=E[r];L.node.isBlock(T.previousSibling)&&T.parentNode.removeChild(T)}}if(L.opts.enter===$e.ENTER_BR)for(r=(a=f.querySelectorAll("p, div")).length-1;0<=r;r--)0===(o=a[r]).attributes.length&&(o.outerHTML=o.innerHTML+(o.nextSibling&&!L.node.isEmpty(o)?"
    ":""));else if(L.opts.enter===$e.ENTER_DIV)for(r=(a=f.getElementsByTagName("p")).length-1;0<=r;r--)0===(o=a[r]).attributes.length&&(o.outerHTML="
    ".concat(o.innerHTML,"
    "));else L.opts.enter===$e.ENTER_P&&1===f.childNodes.length&&"P"===f.childNodes[0].tagName&&0===f.childNodes[0].attributes.length&&(f.childNodes[0].outerHTML=f.childNodes[0].innerHTML);e=f.innerHTML,l&&(e=function y(e){var t,n=L.o_doc.createElement("div");n.innerHTML=e;var r=n.querySelectorAll("*:empty:not(td):not(th):not(tr):not(iframe):not(svg):not(".concat($e.VOID_ELEMENTS.join("):not("),"):not(").concat(L.opts.htmlAllowedEmptyTags.join("):not("),")"));for(;r.length;){for(t=0;t div:not([style]), td > div:not([style]), th > div:not([style]), li > div:not([style])")));r.length;){var a=r[r.length-1];if(L.html.defaultTag()&&"div"!==L.html.defaultTag())a.querySelector(L.html.blockTagsQuery())?a.outerHTML=a.innerHTML:a.outerHTML="<".concat(L.html.defaultTag(),">").concat(a.innerHTML,"");else{var o=a.querySelectorAll("*");!o.length||"BR"!==o[o.length-1].tagName&&0===a.innerText.length?a.outerHTML=a.innerHTML+(a.nextSibling?"
    ":""):!o.length||"BR"!==o[o.length-1].tagName||o[o.length-1].nextSibling?a.outerHTML=a.innerHTML+(a.nextSibling?"
    ":""):a.outerHTML=a.innerHTML}r=d(Array.prototype.slice.call(n.querySelectorAll(":scope > div:not([style]), td > div:not([style]), th > div:not([style]), li > div:not([style])")))}for(r=d(Array.prototype.slice.call(n.querySelectorAll("div:not([style])")));r.length;){for(t=0;tn.undo_index;)n.undo_stack.pop()}function a(){n.undo_index=0,n.undo_stack=[]}function o(){n.undo_stack=[]}return{_init:function i(){a(),n.events.on("initialized",function(){t=(n.$wp?n.$el.html():n.$oel.get(0).outerHTML).replace(/ style=""/g,"")}),n.events.on("blur",function(){n.el.querySelector(".fr-dragging")||n.undo.saveStep()}),n.events.on("keydown",e),n.events.on("destroy",o)},run:function s(){if(1'.concat(e,""));for(var t=0;t'));n.get(0).addEventListener("load",i.size.syncIframe),i.$head.append(n)}}},hasFocus:function l(){return i.browser.mozilla&&i.helpers.isMobile()?i.selection.inEditor():i.node.hasFocus(i.el)||0 span").css("width")),s=f.helpers.getPX(o.css("paddingLeft")),l=f.helpers.getPX(o.css("paddingRight"));o.css("width",i*f.opts.colorsStep+s+l)}return f.button.bindCommands(a,!1),a}function E(r){var a=u[r];return{_windowResize:function(){var e=a.data("instance")||f;!e.helpers.isMobile()&&a.isVisible()&&(e.events.disableBlur(),e.popups.hide(r),e.events.enableBlur())},_inputFocus:function(e){var t=a.data("instance")||f,n=d(e.currentTarget);if(n.is("input:file")&&n.closest(".fr-layer").addClass("fr-input-focus"),e.preventDefault(),e.stopPropagation(),setTimeout(function(){t.events.enableBlur()},100),t.helpers.isMobile()){var r=d(t.o_win).scrollTop();setTimeout(function(){d(t.o_win).scrollTop(r)},0)}},_inputBlur:function(e){var t=a.data("instance")||f,n=d(e.currentTarget);n.is("input:file")&&n.closest(".fr-layer").removeClass("fr-input-focus"),document.activeElement!==this&&d(this).isVisible()&&(t.events.blurActive()&&t.events.trigger("blur"),t.events.enableBlur())},_editorKeydown:function(e){var t=a.data("instance")||f;t.keys.ctrlKey(e)||e.which===$e.KEYCODE.ALT||e.which===$e.KEYCODE.ESC||(g(r)&&a.findVisible(".fr-back").length?t.button.exec(a.findVisible(".fr-back").first()):e.which!==$e.KEYCODE.ALT&&t.popups.hide(r))},_preventFocus:function(e){var t=a.data("instance")||f,n=e.originalEvent?e.originalEvent.target||e.originalEvent.originalTarget:null;"mouseup"===e.type||d(n).is(":focus")||t.events.disableBlur(),"mouseup"!==e.type||d(n).hasClass("fr-command")||0').concat(r.attr("placeholder"),"")),r.attr("placeholder",""))}}(a),f.events.$on(a,"focus",i),f.events.$on(a,"blur change",s),f.events.$on(n,"click",".fr-checkbox + label",T),f.accessibility.registerPopup(e),f.helpers.isIOS()&&f.events.$on(n,"touchend","label",function(){d("#".concat(d(this).attr("for"))).prop("checked",function(e,t){return!t})},!0),f.events.$on(d(f.o_win),"resize",r._windowResize,!0),n},get:function a(e){var t=u[e];return t&&!t.data("inst".concat(f.id))&&c(E(e),e),t},show:function C(e,t,n,r,a){if(g(e)||(m()&&0 .fr-dropdown-wrapper").css("height",""),o.next().attr("aria-hidden",!0).css("overflow","").find("> .fr-dropdown-wrapper").css("height",""),u[e].data("instance",f),f.$tb&&f.$tb.data("instance",f);var i=g(e);u[e].addClass("fr-active").removeClass("fr-hidden").find("input, textarea").removeAttr("disabled");var s=u[e].data("container");if(function d(e,t){t.isVisible()||(t=f.$sc),t.contains([u[e].get(0)])||t.append(u[e])}(e,s),f.opts.toolbarInline&&s&&f.$tb&&s.get(0)===f.$tb.get(0)&&(h(e,f.$sc),n=f.$tb.offset().top-f.helpers.getPX(f.$tb.css("margin-top")),t=f.$tb.offset().left+f.$tb.outerWidth()/2,f.node.hasClass(f.$tb.get(0),"fr-above")&&n&&(n+=f.$tb.outerHeight()),r=0),s=u[e].data("container"),f.opts.iframe&&!r&&!i){var l=f.helpers.getPX(f.$wp.find(".fr-iframe").css("padding-top")),c=f.helpers.getPX(f.$wp.find(".fr-iframe").css("padding-left"));t&&(t-=f.$iframe.offset().left+c),n&&(n-=f.$iframe.offset().top+l)}s.is(f.$tb)?f.$tb.css("zIndex",(f.opts.zIndex||1)+4):u[e].css("zIndex",(f.opts.zIndex||1)+4),f.opts.toolbarBottom&&s&&f.$tb&&s.get(0)===f.$tb.get(0)&&(u[e].addClass("fr-above"),n&&(n-=u[e].outerHeight())),a&&(t-=u[e].width()/2),t+u[e].outerWidth()>f.$sc.offset().left+f.$sc.width()&&(t-=t+u[e].outerWidth()-f.$sc.offset().left-f.$sc.width()),t button.fr-command").first());if(0i(o.o_win).width()&&(n=i(o.o_win).width()-o.$tooltip.outerWidth()),void 0===t&&(t=o.opts.toolbarBottom),e.offset().top-i(window).scrollTop()+e.outerHeight()+10>=i(window).height()&&(t=!0);var r=t?e.offset().top-o.$tooltip.height():e.offset().top+e.outerHeight();o.$tooltip.css("position",""),o.$tooltip.css("left",n),o.$tooltip.css("top",Math.ceil(r)),"static"!==i(o.o_doc).find("body").first().css("position")?(o.$tooltip.css("margin-left",-i(o.o_doc).find("body").first().offset().left),o.$tooltip.css("margin-top",-i(o.o_doc).find("body").first().offset().top)):(o.$tooltip.css("margin-left",""),o.$tooltip.css("margin-top",""))}}return{hide:r,to:a,bind:function s(e,t,n){o.opts.tooltips&&!o.helpers.isMobile()&&(o.events.$on(e,"mouseover",t,function(e){o.node.hasClass(e.currentTarget,"fr-disabled")||o.edit.isDisabled()||a(i(e.currentTarget),n)},!0),o.events.$on(e,"mouseout ".concat(o._mousedown," ").concat(o._mouseup),t,function(){r()},!0))}}},$e.TOOLBAR_VISIBLE_BUTTONS=3,$e.MODULES.button=function(g){var h=g.$,i=[];(g.opts.toolbarInline||g.opts.toolbarContainer)&&(g.shared.buttons||(g.shared.buttons=[]),i=g.shared.buttons);var s=[];function l(e,t,n){for(var r=h(),a=0;a .fr-dropdown-wrapper");if(!n){var l=e.data("cmd");t.find(".fr-command").removeClass("fr-active").attr("aria-selected",!1),$e.COMMANDS[l]&&$e.COMMANDS[l].refreshOnShow&&$e.COMMANDS[l].refreshOnShow.apply(a,[e,t]),t.css("left",e.offset().left-e.parents(".fr-btn-wrap, .fr-toolbar, .fr-buttons").offset().left-("rtl"===g.opts.direction?t.width()-e.outerWidth():0)),t.addClass("test-height"),o=t.outerHeight(),i=g.helpers.getPX(s.css("max-height")),t.removeClass("test-height"),t.css("top","").css("bottom","");var c=e.outerHeight()/10;if(!g.opts.toolbarBottom&&t.offset().top+e.outerHeight()+og.$sc.offset().left+g.$sc.width()&&t.css("margin-left",-(t.offset().left+t.outerWidth()-g.$sc.offset().left-g.$sc.width())),t.offset().left .fr-dropdown-wrapper").css("height",""),r.prev(".fr-expanded").removeClass("fr-expanded"),r.parents(".fr-toolbar:not(.fr-inline)").css("zIndex",""),0!==e.parents(".fr-popup").length||g.opts.toolbarInline||(g.node.hasClass(e.get(0),"fr-active")?g.$tb.css("zIndex",(g.opts.zIndex||1)+4):g.$tb.css("zIndex",""));var p=t.find("a.fr-command.fr-active").first();g.helpers.isMobile()||(p.length?(g.accessibility.focusToolbarElement(p),s.scrollTop(Math.abs(p.parents(".fr-dropdown-content").offset().top-p.offset().top)-p.offset().top)):(g.accessibility.focusToolbarElement(e),s.scrollTop(0)))}function o(e){e.addClass("fr-blink"),setTimeout(function(){e.removeClass("fr-blink")},500);for(var t=e.data("cmd"),n=[];void 0!==e.data("param".concat(n.length+1));)n.push(e.data("param".concat(n.length+1)));var r=m(".fr-dropdown.fr-active");r.length&&(r.removeClass("fr-active").attr("aria-expanded",!1).next().attr("aria-hidden",!0).css("overflow","").find("> .fr-dropdown-wrapper").css("height",""),r.prev(".fr-expanded").removeClass("fr-expanded"),r.parents(".fr-toolbar:not(.fr-inline)").css("zIndex","")),e.parents(".fr-popup, .fr-toolbar").data("instance").commands.exec(t,n)}function t(e){var t=e.parents(".fr-popup, .fr-toolbar").data("instance");if(0===e.parents(".fr-popup").length&&e.data("popup")&&!e.hasClass("fr-btn-active-popup")&&e.addClass("fr-btn-active-popup"),0!==e.parents(".fr-popup").length||e.data("popup")||t.popups.hideAll(),t.popups.areVisible()&&!t.popups.areVisible(t)){for(var n=0;n<$e.INSTANCES.length;n++)$e.INSTANCES[n]!==t&&$e.INSTANCES[n].popups&&$e.INSTANCES[n].popups.areVisible()&&$e.INSTANCES[n].$el.find(".fr-marker").remove();t.popups.hideAll()}g.node.hasClass(e.get(0),"fr-dropdown")?a(e):(!function r(e){o(e)}(e),$e.COMMANDS[e.data("cmd")]&&!1!==$e.COMMANDS[e.data("cmd")].refreshAfterCallback&&t.button.bulkRefresh())}function c(e){t(h(e.currentTarget))}function d(e){var t=e.find(".fr-dropdown.fr-active");t.length&&(t.removeClass("fr-active").attr("aria-expanded",!1).next().attr("aria-hidden",!0).css("overflow","").find("> .fr-dropdown-wrapper").css("height",""),t.parents(".fr-toolbar:not(.fr-inline)").css("zIndex",""),t.prev().removeClass("fr-expanded"))}function f(e){e.preventDefault(),e.stopPropagation()}function p(e){if(e.stopPropagation(),!g.helpers.isMobile())return!1}function v(e){var t=1').concat(g.language.translate(o||t.title),"")}else a=g.icon.create(t.icon||e),a+=''.concat(g.language.translate(t.title)||"","");var i=t.popup?' data-popup="true"':"",s=t.modal?' data-modal="true"':"",l=g.shortcuts.get("".concat(e,"."));l=l?" (".concat(l,")"):"";var c="".concat(e,"-").concat(g.id),d="dropdown-menu-".concat(c),f='");if("dropdown"===t.type||"options"===t.type){var p='
    "}return t.hasOptions&&t.hasOptions.apply(g)&&(f='
    '.concat(f," ").concat(v(e+"Options",Object.assign({},t,{type:"options",hasOptions:!1}),n),"
    ")),f}function e(a){var o=g.$tb&&g.$tb.data("instance")||g;if(!1===g.events.trigger("buttons.refresh"))return!0;setTimeout(function(){for(var e=o.selection.inEditor()&&o.core.hasFocus(),t=0;t
  • ':"-"===a&&(n+=''))}return n},buildGroup:function A(e){var t="",n="";for(var r in e){var a=e[r];if(a.buttons){for(var o="",i="",s=0,l="left",c=$e.TOOLBAR_VISIBLE_BUTTONS,d=0;d').concat(o,"
    "),e.showMoreButtons&&0').concat(i,"
    "))}}return g.opts.toolbarBottom?"".concat(n,'
    ').concat(t):"".concat(t,'
    ').concat(n)},bindCommands:function C(t,e){g.events.bindClick(t,".fr-command:not(.fr-disabled)",c),g.events.$on(t,"".concat(g._mousedown," ").concat(g._mouseup," ").concat(g._move),".fr-dropdown-menu",f,!0),g.events.$on(t,"".concat(g._mousedown," ").concat(g._mouseup," ").concat(g._move),".fr-dropdown-menu .fr-dropdown-wrapper",p,!0);var n=t.get(0).ownerDocument,r="defaultView"in n?n.defaultView:n.parentWindow;function a(e){(!e||e.type===g._mouseup&&e.target!==h("html").get(0)||"keydown"===e.type&&(g.keys.isCharacter(e.which)&&!g.keys.ctrlKey(e)||e.which===$e.KEYCODE.ESC))&&d(t)}g.events.$on(h(r),"".concat(g._mouseup," resize keydown"),a,!0),g.opts.iframe&&g.events.$on(g.$win,g._mouseup,a,!0),g.node.hasClass(t.get(0),"fr-popup")?h.merge(s,t.find(".fr-btn").toArray()):h.merge(i,t.find(".fr-btn").toArray()),g.tooltip.bind(t,".fr-btn, .fr-title",e)},refresh:function S(e){var t,n=e.parents(".fr-popup, .fr-toolbar").data("instance")||g,r=e.data("cmd");g.node.hasClass(e.get(0),"fr-dropdown")?t=e.next():(e.removeClass("fr-active"),e.attr("aria-pressed")&&e.attr("aria-pressed",!1)),$e.COMMANDS[r]&&$e.COMMANDS[r].refresh?$e.COMMANDS[r].refresh.apply(n,[e,t]):g.refresh[r]&&n.refresh[r](e,t)},bulkRefresh:n,exec:o,click:t,hideActiveDropdowns:d,addButtons:function y(e){for(var t=0;t
    ',font_awesome_5:'',font_awesome_5r:'',font_awesome_5l:'',font_awesome_5b:'',text:'[NAME]',image:"[ALT]",svg:'',empty:" "},$e.ICONS={bold:{NAME:"bold",SVG_KEY:"bold"},italic:{NAME:"italic",SVG_KEY:"italic"},underline:{NAME:"underline",SVG_KEY:"underline"},strikeThrough:{NAME:"strikethrough",SVG_KEY:"strikeThrough"},subscript:{NAME:"subscript",SVG_KEY:"subscript"},superscript:{NAME:"superscript",SVG_KEY:"superscript"},color:{NAME:"tint",SVG_KEY:"textColor"},outdent:{NAME:"outdent",SVG_KEY:"outdent"},indent:{NAME:"indent",SVG_KEY:"indent"},undo:{NAME:"rotate-left",FA5NAME:"undo",SVG_KEY:"undo"},redo:{NAME:"rotate-right",FA5NAME:"redo",SVG_KEY:"redo"},insertHR:{NAME:"minus",SVG_KEY:"horizontalLine"},clearFormatting:{NAME:"eraser",SVG_KEY:"clearFormatting"},selectAll:{NAME:"mouse-pointer",SVG_KEY:"selectAll"},moreText:{NAME:"ellipsis-v",SVG_KEY:"textMore"},moreParagraph:{NAME:"ellipsis-v",SVG_KEY:"paragraphMore"},moreRich:{NAME:"ellipsis-v",SVG_KEY:"insertMore"},moreMisc:{NAME:"ellipsis-v",SVG_KEY:"more"}},$e.DefineIconTemplate=function(e,t){$e.ICON_TEMPLATES[e]=t},$e.DefineIcon=function(e,t){$e.ICONS[e]=t},Object.assign($e.DEFAULTS,{iconsTemplate:"svg"}),$e.MODULES.icon=function(a){return{create:function o(n){var e=null,r=$e.ICONS[n];if(void 0!==r){var t=r.template||$e.ICON_DEFAULT_TEMPLATE||a.opts.iconsTemplate;t&&t.apply&&(t=t.apply(a)),r.FA5NAME||(r.FA5NAME=r.NAME),"svg"!==t||r.PATH||(r.PATH=$e.SVG[r.SVG_KEY]||""),t&&(t=$e.ICON_TEMPLATES[t])&&(e=t.replace(/\[([a-zA-Z0-9]*)\]/g,function(e,t){return"NAME"===t?r[t]||n:r[t]}))}return e||n},getTemplate:function r(e){var t=$e.ICONS[e],n=a.opts.iconsTemplate;return void 0!==t?n=t.template||$e.ICON_DEFAULT_TEMPLATE||a.opts.iconsTemplate:n}}},$e.SVG={add:"M19,13h-6v6h-2v-6H5v-2h6V5h2v6h6V13z",advancedImageEditor:"M3,17v2h6v-2H3z M3,5v2h10V5H3z M13,21v-2h8v-2h-8v-2h-2v6H13z M7,9v2H3v2h4v2h2V9H7z M21,13v-2H11v2H21z M15,9h2V7h4V5h-4 V3h-2V9z",alignCenter:"M9,18h6v-2H9V18z M6,11v2h12v-2H6z M3,6v2h18V6H3z",alignJustify:"M3,18h18v-2H3V18z M3,11v2h18v-2H3z M3,6v2h18V6H3z",alignLeft:"M3,18h6v-2H3V18z M3,11v2h12v-2H3z M3,6v2h18V6H3z",alignRight:"M15,18h6v-2h-6V18z M9,11v2h12v-2H9z M3,6v2h18V6H3z",anchors:"M16,4h-4H8C6.9,4,6,4.9,6,6v4v10l6-2.6l6,2.6V10V6C18,4.9,17.1,4,16,4z M16,17l-4-1.8L8,17v-7V6h4h4v4V17z",back:"M20 11L7.83 11 11.425 7.405 10.01 5.991 5.416 10.586 5.414 10.584 4 11.998 4.002 12 4 12.002 5.414 13.416 5.416 13.414 10.01 18.009 11.425 16.595 7.83 13 20 13 20 13 20 11 20 11Z",backgroundColor:"M9.91752,12.24082l7.74791-5.39017,1.17942,1.29591-6.094,7.20747L9.91752,12.24082M7.58741,12.652l4.53533,4.98327a.93412.93412,0,0,0,1.39531-.0909L20.96943,8.7314A.90827.90827,0,0,0,20.99075,7.533l-2.513-2.76116a.90827.90827,0,0,0-1.19509-.09132L7.809,11.27135A.93412.93412,0,0,0,7.58741,12.652ZM2.7939,18.52772,8.41126,19.5l1.47913-1.34617-3.02889-3.328Z",blockquote:"M10.31788,5l.93817,1.3226A12.88271,12.88271,0,0,0,8.1653,9.40125a5.54242,5.54242,0,0,0-.998,3.07866v.33733q.36089-.04773.66067-.084a4.75723,4.75723,0,0,1,.56519-.03691,2.87044,2.87044,0,0,1,2.11693.8427,2.8416,2.8416,0,0,1,.8427,2.09274,3.37183,3.37183,0,0,1-.8898,2.453A3.143,3.143,0,0,1,8.10547,19,3.40532,3.40532,0,0,1,5.375,17.7245,4.91156,4.91156,0,0,1,4.30442,14.453,9.3672,9.3672,0,0,1,5.82051,9.32933,14.75716,14.75716,0,0,1,10.31788,5Zm8.39243,0,.9369,1.3226a12.88289,12.88289,0,0,0-3.09075,3.07865,5.54241,5.54241,0,0,0-.998,3.07866v.33733q.33606-.04773.63775-.084a4.91773,4.91773,0,0,1,.58938-.03691,2.8043,2.8043,0,0,1,2.1042.83,2.89952,2.89952,0,0,1,.80578,2.10547,3.42336,3.42336,0,0,1-.86561,2.453A3.06291,3.06291,0,0,1,16.49664,19,3.47924,3.47924,0,0,1,13.742,17.7245,4.846,4.846,0,0,1,12.64721,14.453,9.25867,9.25867,0,0,1,14.17476,9.3898,15.26076,15.26076,0,0,1,18.71031,5Z",bold:"M15.25,11.8h0A3.68,3.68,0,0,0,17,9a3.93,3.93,0,0,0-3.86-4H6.65V19h7a3.74,3.74,0,0,0,3.7-3.78V15.1A3.64,3.64,0,0,0,15.25,11.8ZM8.65,7h4.2a2.09,2.09,0,0,1,2,1.3,2.09,2.09,0,0,1-1.37,2.61,2.23,2.23,0,0,1-.63.09H8.65Zm4.6,10H8.65V13h4.6a2.09,2.09,0,0,1,2,1.3,2.09,2.09,0,0,1-1.37,2.61A2.23,2.23,0,0,1,13.25,17Z",cellBackground:"M16.6,12.4L7.6,3.5L6.2,4.9l2.4,2.4l-5.2,5.2c-0.6,0.6-0.6,1.5,0,2.1l5.5,5.5c0.3,0.3,0.7,0.4,1.1,0.4s0.8-0.1,1.1-0.4 l5.5-5.5C17.2,14,17.2,13,16.6,12.4z M5.2,13.5L10,8.7l4.8,4.8H5.2z M19,15c0,0-2,2.2-2,3.5c0,1.1,0.9,2,2,2s2-0.9,2-2 C21,17.2,19,15,19,15z",cellBorderColor:"M22,22H2v2h20V22z",cellOptions:"M20,5H4C2.9,5,2,5.9,2,7v10c0,1.1,0.9,2,2,2h16c1.1,0,2-0.9,2-2V7C22,5.9,21.1,5,20,5z M9.5,6.5h5V9h-5V6.5z M8,17.5H4 c-0.3,0-0.5-0.2-0.5-0.4c0,0,0,0,0,0V17v-2H8V17.5z M8,13.5H3.5v-3H8V13.5z M8,9H3.5V7c0-0.3,0.2-0.5,0.4-0.5c0,0,0,0,0,0H8V9z M14.5,17.5h-5V15h5V17.5z M20.5,17c0,0.3-0.2,0.5-0.4,0.5c0,0,0,0,0,0H16V15h4.5V17z M20.5,13.5H16v-3h4.5V13.5z M20.5,9H16V6.5h4 c0.3,0,0.5,0.2,0.5,0.4c0,0,0,0,0,0V9z",cellStyle:"M20,19.9l0.9,3.6l-3.2-1.9l-3.3,1.9l0.8-3.6L12.3,17h3.8l1.7-3.5l1.4,3.5H23L20,19.9z M20,5H4C2.9,5,2,5.9,2,7v10 c0,1.1,0.9,2,2,2h7.5l-0.6-0.6L10,17.5H9.5V15h5.4l1.1-2.3v-2.2h4.5v3H20l0.6,1.5H22V7C22,5.9,21.1,5,20,5z M3.5,7 c0-0.3,0.2-0.5,0.4-0.5c0,0,0,0,0.1,0h4V9H3.5V7z M3.5,10.5H8v3H3.5V10.5z M4,17.5c-0.3,0-0.5-0.2-0.5-0.4c0,0,0,0,0-0.1v-2H8v2.5H4 z M14.5,9h-5V6.5h5V9z M20.5,9H16V6.5h4c0.3,0,0.5,0.2,0.5,0.4c0,0,0,0,0,0.1V9z",clearFormatting:"M11.48,10.09l-1.2-1.21L8.8,7.41,6.43,5,5.37,6.1,8.25,9,4.66,19h2l1.43-4h5.14l1.43,4h2l-.89-2.51L18.27,19l1.07-1.06L14.59,13.2ZM8.8,13l.92-2.56L12.27,13Zm.56-7.15L9.66,5h2l1.75,4.9Z",close:"M13.4,12l5.6,5.6L17.6,19L12,13.4L6.4,19L5,17.6l5.6-5.6L5,6.4L6.4,5l5.6,5.6L17.6,5L19,6.4L13.4,12z",codeView:"M9.4,16.6,4.8,12,9.4,7.4,8,6,2,12l6,6Zm5.2,0L19.2,12,14.6,7.4,16,6l6,6-6,6Z",cogs:"M18.877 12.907a6.459 6.459 0 0 0 0 -1.814l1.952 -1.526a0.468 0.468 0 0 0 0.111 -0.593l-1.851 -3.2a0.461 0.461 0 0 0 -0.407 -0.231 0.421 0.421 0 0 0 -0.157 0.028l-2.3 0.925a6.755 6.755 0 0 0 -1.563 -0.907l-0.352 -2.452a0.451 0.451 0 0 0 -0.453 -0.388h-3.7a0.451 0.451 0 0 0 -0.454 0.388L9.347 5.588A7.077 7.077 0 0 0 7.783 6.5l-2.3 -0.925a0.508 0.508 0 0 0 -0.166 -0.028 0.457 0.457 0 0 0 -0.4 0.231l-1.851 3.2a0.457 0.457 0 0 0 0.111 0.593l1.952 1.526A7.348 7.348 0 0 0 5.063 12a7.348 7.348 0 0 0 0.064 0.907L3.175 14.433a0.468 0.468 0 0 0 -0.111 0.593l1.851 3.2a0.461 0.461 0 0 0 0.407 0.231 0.421 0.421 0 0 0 0.157 -0.028l2.3 -0.925a6.74 6.74 0 0 0 1.564 0.907L9.7 20.864a0.451 0.451 0 0 0 0.454 0.388h3.7a0.451 0.451 0 0 0 0.453 -0.388l0.352 -2.452a7.093 7.093 0 0 0 1.563 -0.907l2.3 0.925a0.513 0.513 0 0 0 0.167 0.028 0.457 0.457 0 0 0 0.4 -0.231l1.851 -3.2a0.468 0.468 0 0 0 -0.111 -0.593Zm-0.09 2.029l-0.854 1.476 -2.117 -0.852 -0.673 0.508a5.426 5.426 0 0 1 -1.164 0.679l-0.795 0.323 -0.33 2.269h-1.7l-0.32 -2.269 -0.793 -0.322a5.3 5.3 0 0 1 -1.147 -0.662L8.2 15.56l-2.133 0.86 -0.854 -1.475 1.806 -1.411 -0.1 -0.847c-0.028 -0.292 -0.046 -0.5 -0.046 -0.687s0.018 -0.4 0.045 -0.672l0.106 -0.854L5.217 9.064l0.854 -1.475 2.117 0.851 0.673 -0.508a5.426 5.426 0 0 1 1.164 -0.679l0.8 -0.323 0.331 -2.269h1.7l0.321 2.269 0.792 0.322a5.3 5.3 0 0 1 1.148 0.661l0.684 0.526 2.133 -0.859 0.853 1.473 -1.8 1.421 0.1 0.847a5 5 0 0 1 0.046 0.679c0 0.193 -0.018 0.4 -0.045 0.672l-0.106 0.853ZM12 14.544A2.544 2.544 0 1 1 14.546 12 2.552 2.552 0 0 1 12 14.544Z",columns:"M20,5H4C2.9,5,2,5.9,2,7v10c0,1.1,0.9,2,2,2h16c1.1,0,2-0.9,2-2V7C22,5.9,21.1,5,20,5z M8,17.5H4c-0.3,0-0.5-0.2-0.5-0.4 c0,0,0,0,0,0V17v-2H8V17.5z M8,13.5H3.5v-3H8V13.5z M8,9H3.5V7c0-0.3,0.2-0.5,0.4-0.5c0,0,0,0,0,0H8V9z M20.5,17 c0,0.3-0.2,0.5-0.4,0.5c0,0,0,0,0,0H16V15h4.5V17z M20.5,13.5H16v-3h4.5V13.5z M20.5,9H16V6.5h4c0.3,0,0.5,0.2,0.5,0.4c0,0,0,0,0,0 V9z",editLink:"M17,11.2L12.8,7L5,14.8V19h4.2L17,11.2z M7,16.8v-1.5l5.6-5.6l1.4,1.5l-5.6,5.6H7z M13.5,6.3l0.7-0.7c0.8-0.8,2.1-0.8,2.8,0 c0,0,0,0,0,0L18.4,7c0.8,0.8,0.8,2,0,2.8l-0.7,0.7L13.5,6.3z",exitFullscreen:"M5,16H8v3h2V14H5ZM8,8H5v2h5V5H8Zm6,11h2V16h3V14H14ZM16,8V5H14v5h5V8Z",fontAwesome:"M18.99018,13.98212V7.52679c-.08038-1.21875-1.33929-.683-1.33929-.683-2.933,1.39282-4.36274.61938-5.85938.15625a6.23272,6.23272,0,0,0-2.79376-.20062l-.00946.004A1.98777,1.98777,0,0,0,7.62189,5.106a.984.984,0,0,0-.17517-.05432c-.02447-.0055-.04882-.01032-.0736-.0149A.9565.9565,0,0,0,7.1908,5H6.82539a.9565.9565,0,0,0-.18232.0368c-.02472.00458-.04907.0094-.07348.01484a.985.985,0,0,0-.17523.05438,1.98585,1.98585,0,0,0-.573,3.49585v9.394A1.004,1.004,0,0,0,6.82539,19H7.1908a1.00406,1.00406,0,0,0,1.00409-1.00409V15.52234c3.64221-1.09827,5.19709.64282,7.09888.57587a5.57291,5.57291,0,0,0,3.25446-1.05805A1.2458,1.2458,0,0,0,18.99018,13.98212Z",fontFamily:"M16,19h2L13,5H11L6,19H8l1.43-4h5.14Zm-5.86-6L12,7.8,13.86,13Z",fontSize:"M20.75,19h1.5l-3-10h-1.5l-3,10h1.5L17,16.5h3Zm-3.3-4,1.05-3.5L19.55,15Zm-5.7,4h2l-5-14h-2l-5,14h2l1.43-4h5.14ZM5.89,13,7.75,7.8,9.61,13Z",fullscreen:"M7,14H5v5h5V17H7ZM5,10H7V7h3V5H5Zm12,7H14v2h5V14H17ZM14,5V7h3v3h2V5Z",help:"M11,17h2v2h-2V17z M12,5C9.8,5,8,6.8,8,9h2c0-1.1,0.9-2,2-2s2,0.9,2,2c0,2-3,1.7-3,5v1h2v-1c0-2.2,3-2.5,3-5 C16,6.8,14.2,5,12,5z",horizontalLine:"M5,12h14 M19,11H5v2h14V11z",imageAltText:"M19,7h-6v12h-2V7H5V5h6h2h6V7z",imageCaption:"M14.2,11l3.8,5H6l3-3.9l2.1,2.7L14,11H14.2z M8.5,11c0.8,0,1.5-0.7,1.5-1.5S9.3,8,8.5,8S7,8.7,7,9.5C7,10.3,7.7,11,8.5,11z M22,6v12c0,1.1-0.9,2-2,2H4c-1.1,0-2-0.9-2-2V6c0-1.1,0.9-2,2-2h16C21.1,4,22,4.9,22,6z M20,8.8V6H4v12h16V8.8z M22,22H2v2h20V22z",imageClass:"M9.5,13.4l-2.9-2.9h3.8L12.2,7l1.4,3.5h3.8l-3,2.9l0.9,3.6L12,15.1L8.8,17L9.5,13.4z M22,6v12c0,1.1-0.9,2-2,2H4 c-1.1,0-2-0.9-2-2V6c0-1.1,0.9-2,2-2h16C21.1,4,22,4.9,22,6z M20,6H4v12h16V8.8V6z",imageDisplay:"M3,5h18v2H3V5z M13,9h8v2h-8V9z M13,13h8v2h-8V13z M3,17h18v2H3V17z M3,9h8v6H3V9z",imageManager:"M20,6h-7l-2-2H4C2.9,4,2,4.9,2,6v12c0,1.1,0.9,2,2,2h16c1.1,0,2-0.9,2-2V8C22,6.9,21.1,6,20,6z M20,18H4V6h6.2l2,2H20V18z M18,16l-3.8-5H14l-2.9,3.8L9,12.1L6,16H18z M10,9.5C10,8.7,9.3,8,8.5,8S7,8.7,7,9.5S7.7,11,8.5,11S10,10.3,10,9.5z",imageSize:"M16.9,4c-0.3,0-0.5,0.2-0.8,0.3L3.3,13c-0.9,0.6-1.1,1.9-0.5,2.8l2.2,3.3c0.4,0.7,1.2,1,2,0.8c0.3,0,0.5-0.2,0.8-0.3 L20.7,11c0.9-0.6,1.1-1.9,0.5-2.8l-2.2-3.3C18.5,4.2,17.7,3.9,16.9,4L16.9,4z M16.9,9.9L18.1,9l-2-2.9L17,5.6c0.1,0,0.1-0.1,0.2-0.1 c0.2,0,0.4,0,0.5,0.2L19.9,9c0.2,0.2,0.1,0.5-0.1,0.7L7,18.4c-0.1,0-0.1,0.1-0.2,0.1c-0.2,0-0.4,0-0.5-0.2L4.1,15 c-0.2-0.2-0.1-0.5,0.1-0.7L5,13.7l2,2.9l1.2-0.8l-2-2.9L7.5,12l1.1,1.7l1.2-0.8l-1.1-1.7l1.2-0.8l2,2.9l1.2-0.8l-2-2.9l1.2-0.8 l1.1,1.7l1.2-0.8l-1.1-1.7L14.9,7L16.9,9.9z",indent:"M3,9v6l3-3L3,9z M3,19h18v-2H3V19z M3,7h18V5H3V7z M9,11h12V9H9V11z M9,15h12v-2H9V15z",inlineClass:"M9.9,13.313A1.2,1.2,0,0,1,9.968,13H6.277l1.86-5.2,1.841,5.148A1.291,1.291,0,0,1,11.212,12h.426l-2.5-7h-2l-5,14h2l1.43-4H9.9Zm2.651,6.727a2.884,2.884,0,0,1-.655-2.018v-2.71A1.309,1.309,0,0,1,13.208,14h3.113a3.039,3.039,0,0,1,2,1.092s1.728,1.818,2.964,2.928a1.383,1.383,0,0,1,.318,1.931,1.44,1.44,0,0,1-.19.215l-3.347,3.31a1.309,1.309,0,0,1-1.832.258h0a1.282,1.282,0,0,1-.258-.257l-1.71-1.728Zm2.48-3.96a.773.773,0,1,0,.008,0Z",inlineStyle:"M11.88,15h.7l.7-1.7-3-8.3h-2l-5,14h2l1.4-4Zm-4.4-2,1.9-5.2,1.9,5.2ZM15.4,21.545l3.246,1.949-.909-3.637L20.72,17H16.954l-1.429-3.506L13.837,17H10.071l2.857,2.857-.779,3.637Z",insertEmbed:"M20.73889,15.45929a3.4768,3.4768,0,0,0-5.45965-.28662L9.5661,12.50861a3.49811,3.49811,0,0,0-.00873-1.01331l5.72174-2.66809a3.55783,3.55783,0,1,0-.84527-1.81262L8.70966,9.6839a3.50851,3.50851,0,1,0,.0111,4.63727l5.7132,2.66412a3.49763,3.49763,0,1,0,6.30493-1.526ZM18.00745,5.01056A1.49993,1.49993,0,1,1,16.39551,6.3894,1.49994,1.49994,0,0,1,18.00745,5.01056ZM5.99237,13.49536a1.49989,1.49989,0,1,1,1.61194-1.37878A1.49982,1.49982,0,0,1,5.99237,13.49536Zm11.78211,5.494a1.49993,1.49993,0,1,1,1.61193-1.37885A1.49987,1.49987,0,0,1,17.77448,18.98932Z",insertFile:"M7,3C5.9,3,5,3.9,5,5v14c0,1.1,0.9,2,2,2h10c1.1,0,2-0.9,2-2V7.6L14.4,3H7z M17,19H7V5h6v4h4V19z",insertImage:"M14.2,11l3.8,5H6l3-3.9l2.1,2.7L14,11H14.2z M8.5,11c0.8,0,1.5-0.7,1.5-1.5S9.3,8,8.5,8S7,8.7,7,9.5C7,10.3,7.7,11,8.5,11z M22,6v12c0,1.1-0.9,2-2,2H4c-1.1,0-2-0.9-2-2V6c0-1.1,0.9-2,2-2h16C21.1,4,22,4.9,22,6z M20,8.8V6H4v12h16V8.8z",insertLink:"M11,17H7A5,5,0,0,1,7,7h4V9H7a3,3,0,0,0,0,6h4ZM17,7H13V9h4a3,3,0,0,1,0,6H13v2h4A5,5,0,0,0,17,7Zm-1,4H8v2h8Z",insertMore:"M16.5,13h-6v6h-2V13h-6V11h6V5h2v6h6Zm5,4.5A1.5,1.5,0,1,1,20,16,1.5,1.5,0,0,1,21.5,17.5Zm0-4A1.5,1.5,0,1,1,20,12,1.5,1.5,0,0,1,21.5,13.5Zm0-4A1.5,1.5,0,1,1,20,8,1.5,1.5,0,0,1,21.5,9.5Z",insertTable:"M20,5H4C2.9,5,2,5.9,2,7v2v1.5v3V15v2c0,1.1,0.9,2,2,2h16c1.1,0,2-0.9,2-2v-2v-1.5v-3V9V7C22,5.9,21.1,5,20,5z M9.5,13.5v-3 h5v3H9.5z M14.5,15v2.5h-5V15H14.5z M9.5,9V6.5h5V9H9.5z M3.5,7c0-0.3,0.2-0.5,0.5-0.5h4V9H3.5V7z M3.5,10.5H8v3H3.5V10.5z M3.5,17 v-2H8v2.5H4C3.7,17.5,3.5,17.3,3.5,17z M20.5,17c0,0.3-0.2,0.5-0.5,0.5h-4V15h4.5V17z M20.5,13.5H16v-3h4.5V13.5z M16,9V6.5h4 c0.3,0,0.5,0.2,0.5,0.5v2H16z",insertVideo:"M15,8v8H5V8H15m2,2.5V7a1,1,0,0,0-1-1H4A1,1,0,0,0,3,7V17a1,1,0,0,0,1,1H16a1,1,0,0,0,1-1V13.5l2.29,2.29A1,1,0,0,0,21,15.08V8.91a1,1,0,0,0-1.71-.71Z",upload:"M12 6.66667a4.87654 4.87654 0 0 1 4.77525 3.92342l0.29618 1.50268 1.52794 0.10578a2.57021 2.57021 0 0 1 -0.1827 5.13478H6.5a3.49774 3.49774 0 0 1 -0.3844 -6.97454l1.06682 -0.11341L7.678 9.29387A4.86024 4.86024 0 0 1 12 6.66667m0 -2A6.871 6.871 0 0 0 5.90417 8.37 5.49773 5.49773 0 0 0 6.5 19.33333H18.41667a4.57019 4.57019 0 0 0 0.32083 -9.13A6.86567 6.86567 0 0 0 12 4.66667Zm0.99976 7.2469h1.91406L11.99976 9 9.08618 11.91357h1.91358v3H11V16h2V14h-0.00024Z",italic:"M11.76,9h2l-2.2,10h-2Zm1.68-4a1,1,0,1,0,1,1,1,1,0,0,0-1-1Z",search:"M15.5 14h-0.79l-0.28 -0.27C15.41 12.59 16 11.11 16 9.5 16 5.91 13.09 3 9.5 3S3 5.91 3 9.5 5.91 16 9.5 16c1.61 0 3.09 -0.59 4.23 -1.57l0.27 0.28v0.79l5 4.99L20.49 19l-4.99 -5zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14z",lineHeight:"M6.25,7h2.5L5.25,3.5,1.75,7h2.5V17H1.75l3.5,3.5L8.75,17H6.25Zm4-2V7h12V5Zm0,14h12V17h-12Zm0-6h12V11h-12Z",linkStyles:"M19,17.9l0.9,3.6l-3.2-1.9l-3.3,1.9l0.8-3.6L11.3,15h3.8l1.7-3.5l1.4,3.5H22L19,17.9z M20,12c0,0.3-0.1,0.7-0.2,1h2.1 c0.1-0.3,0.1-0.6,0.1-1c0-2.8-2.2-5-5-5h-4v2h4C18.7,9,20,10.3,20,12z M14.8,11H8v2h3.3h2.5L14.8,11z M9.9,16.4L8.5,15H7 c-1.7,0-3-1.3-3-3s1.3-3,3-3h4V7H7c-2.8,0-5,2.2-5,5s2.2,5,5,5h3.5L9.9,16.4z",mention:"M12.4,5c-4.1,0-7.5,3.4-7.5,7.5S8.3,20,12.4,20h3.8v-1.5h-3.8c-3.3,0-6-2.7-6-6s2.7-6,6-6s6,2.7,6,6v1.1 c0,0.6-0.5,1.2-1.1,1.2s-1.1-0.6-1.1-1.2v-1.1c0-2.1-1.7-3.8-3.8-3.8s-3.7,1.7-3.7,3.8s1.7,3.8,3.8,3.8c1,0,2-0.4,2.7-1.1 c0.5,0.7,1.3,1.1,2.2,1.1c1.5,0,2.6-1.2,2.6-2.7v-1.1C19.9,8.4,16.6,5,12.4,5z M12.4,14.7c-1.2,0-2.3-1-2.3-2.2s1-2.3,2.3-2.3 s2.3,1,2.3,2.3S13.6,14.7,12.4,14.7z",more:"M13.5,17c0,0.8-0.7,1.5-1.5,1.5s-1.5-0.7-1.5-1.5s0.7-1.5,1.5-1.5S13.5,16.2,13.5,17z M13.5,12c0,0.8-0.7,1.5-1.5,1.5 s-1.5-0.7-1.5-1.5s0.7-1.5,1.5-1.5S13.5,11.2,13.5,12z M13.5,7c0,0.8-0.7,1.5-1.5,1.5S10.5,7.8,10.5,7s0.7-1.5,1.5-1.5 S13.5,6.2,13.5,7z",openLink:"M17,17H7V7h3V5H7C6,5,5,6,5,7v10c0,1,1,2,2,2h10c1,0,2-1,2-2v-3h-2V17z M14,5v2h1.6l-5.8,5.8l1.4,1.4L17,8.4V10h2V5H14z",orderedList:"M2.5,16h2v.5h-1v1h1V18h-2v1h3V15h-3Zm1-7h1V5h-2V6h1Zm-1,2H4.3L2.5,13.1V14h3V13H3.7l1.8-2.1V10h-3Zm5-5V8h14V6Zm0,12h14V16H7.5Zm0-5h14V11H7.5Z",outdent:"M3,12l3,3V9L3,12z M3,19h18v-2H3V19z M3,7h18V5H3V7z M9,11h12V9H9V11z M9,15h12v-2H9V15z",pageBreaker:"M3,9v6l3-3L3,9z M21,9H8V4h2v3h9V4h2V9z M21,20h-2v-3h-9v3H8v-5h13V20z M11,13H8v-2h3V13z M16,13h-3v-2h3V13z M21,13h-3v-2 h3V13z",paragraphFormat:"M10.15,5A4.11,4.11,0,0,0,6.08,8.18,4,4,0,0,0,10,13v6h2V7h2V19h2V7h2V5ZM8,9a2,2,0,0,1,2-2v4A2,2,0,0,1,8,9Z",paragraphMore:"M7.682,5a4.11,4.11,0,0,0-4.07,3.18,4,4,0,0,0,3.11,4.725h0l.027.005a3.766,3.766,0,0,0,.82.09v6h2V7h2V19h2V7h2V5ZM5.532,9a2,2,0,0,1,2-2v4A2,2,0,0,1,5.532,9Zm14.94,8.491a1.5,1.5,0,1,1-1.5-1.5A1.5,1.5,0,0,1,20.472,17.491Zm0-4a1.5,1.5,0,1,1-1.5-1.5A1.5,1.5,0,0,1,20.472,13.491Zm0-4a1.5,1.5,0,1,1-1.5-1.5A1.5,1.5,0,0,1,20.472,9.491Z",paragraphStyle:"M4,9c0-1.1,0.9-2,2-2v4C4.9,11,4,10.1,4,9z M16.7,20.5l3.2,1.9L19,18.8l3-2.9h-3.7l-1.4-3.5L15.3,16h-3.8l2.9,2.9l-0.9,3.6 L16.7,20.5z M10,17.4V19h1.6L10,17.4z M6.1,5c-1.9,0-3.6,1.3-4,3.2c-0.5,2.1,0.8,4.2,2.9,4.7c0,0,0,0,0,0h0.2C5.5,13,5.8,13,6,13v6 h2V7h2v7h2V7h2V5H6.1z",pdfExport:"M7,3C5.9,3,5,3.9,5,5v14c0,1.1,0.9,2,2,2h10c1.1,0,2-0.9,2-2V7.6L14.4,3H7z M17,19H7V5h6v4h4V19z M16.3,13.5 c-0.2-0.6-1.1-0.8-2.6-0.8c-0.1,0-0.1,0-0.2,0c-0.3-0.3-0.8-0.9-1-1.2c-0.2-0.2-0.3-0.3-0.4-0.6c0.2-0.7,0.2-1,0.3-1.5 c0.1-0.9,0-1.6-0.2-1.8c-0.4-0.2-0.7-0.2-0.9-0.2c-0.1,0-0.3,0.2-0.7,0.7c-0.2,0.7-0.1,1.8,0.6,2.8c-0.2,0.8-0.7,1.6-1,2.4 c-0.8,0.2-1.5,0.7-1.9,1.1c-0.7,0.7-0.9,1.1-0.7,1.6c0,0.3,0.2,0.6,0.7,0.6c0.3-0.1,0.3-0.2,0.7-0.3c0.6-0.3,1.2-1.7,1.7-2.4 c0.8-0.2,1.7-0.3,2-0.3c0.1,0,0.3,0,0.6,0c0.8,0.8,1.2,1.1,1.8,1.2c0.1,0,0.2,0,0.3,0c0.3,0,0.8-0.1,1-0.6 C16.4,14.1,16.4,13.9,16.3,13.5z M8.3,15.7c-0.1,0.1-0.2,0.1-0.2,0.1c0-0.1,0-0.3,0.6-0.8c0.2-0.2,0.6-0.3,0.9-0.7 C9,15,8.6,15.5,8.3,15.7z M11.3,9c0-0.1,0.1-0.2,0.1-0.2S11.6,9,11.5,10c0,0.1,0,0.3-0.1,0.7C11.3,10.1,11,9.5,11.3,9z M10.9,13.1 c0.2-0.6,0.6-1,0.7-1.5c0.1,0.1,0.1,0.1,0.2,0.2c0.1,0.2,0.3,0.7,0.7,0.9C12.2,12.8,11.6,13,10.9,13.1z M15.2,14.1 c-0.1,0-0.1,0-0.2,0c-0.2,0-0.7-0.2-1-0.7c1.1,0,1.6,0.2,1.6,0.6C15.5,14.1,15.4,14.1,15.2,14.1z",print:"M16.1,17c0-0.6,0.4-1,1-1c0.6,0,1,0.4,1,1s-0.4,1-1,1C16.5,18,16.1,17.6,16.1,17z M22,15v4c0,1.1-0.9,2-2,2H4 c-1.1,0-2-0.9-2-2v-4c0-1.1,0.9-2,2-2h1V5c0-1.1,0.9-2,2-2h7.4L19,7.6V13h1C21.1,13,22,13.9,22,15z M7,13h10V9h-4V5H7V13z M20,15H4 v4h16V15z",redo:"M13.6,9.4c1.7,0.3,3.2,0.9,4.6,2L21,8.5v7h-7l2.7-2.7C13,10.1,7.9,11,5.3,14.7c-0.2,0.3-0.4,0.5-0.5,0.8L3,14.6 C5.1,10.8,9.3,8.7,13.6,9.4z",removeTable:"M15,10v8H9v-8H15 M14,4H9.9l-1,1H6v2h12V5h-3L14,4z M17,8H7v10c0,1.1,0.9,2,2,2h6c1.1,0,2-0.9,2-2V8z",remove:"M15,10v8H9v-8H15 M14,4H9.9l-1,1H6v2h12V5h-3L14,4z M17,8H7v10c0,1.1,0.9,2,2,2h6c1.1,0,2-0.9,2-2V8z",replaceImage:"M16,5v3H4v2h12v3l4-4L16,5z M8,19v-3h12v-2H8v-3l-4,4L8,19z",row:"M20,5H4C2.9,5,2,5.9,2,7v2v1.5v3V15v2c0,1.1,0.9,2,2,2h16c1.1,0,2-0.9,2-2v-2v-1.5v-3V9V7C22,5.9,21.1,5,20,5z M16,6.5h4 c0.3,0,0.5,0.2,0.5,0.5v2H16V6.5z M9.5,6.5h5V9h-5V6.5z M3.5,7c0-0.3,0.2-0.5,0.5-0.5h4V9H3.5V7z M8,17.5H4c-0.3,0-0.5-0.2-0.5-0.5 v-2H8V17.5z M14.5,17.5h-5V15h5V17.5z M20.5,17c0,0.3-0.2,0.5-0.5,0.5h-4V15h4.5V17z",selectAll:"M5,7h2V5C5.9,5,5,5.9,5,7z M5,11h2V9H5V11z M9,19h2v-2H9V19z M5,11h2V9H5V11z M15,5h-2v2h2V5z M17,5v2h2C19,5.9,18.1,5,17,5 z M7,19v-2H5C5,18.1,5.9,19,7,19z M5,15h2v-2H5V15z M11,5H9v2h2V5z M13,19h2v-2h-2V19z M17,11h2V9h-2V11z M17,19c1.1,0,2-0.9,2-2h-2 V19z M17,11h2V9h-2V11z M17,15h2v-2h-2V15z M13,19h2v-2h-2V19z M13,7h2V5h-2V7z M9,15h6V9H9V15z M11,11h2v2h-2V11z",smile:"M11.991,3A9,9,0,1,0,21,12,8.99557,8.99557,0,0,0,11.991,3ZM12,19a7,7,0,1,1,7-7A6.99808,6.99808,0,0,1,12,19Zm3.105-5.2h1.503a4.94542,4.94542,0,0,1-9.216,0H8.895a3.57808,3.57808,0,0,0,6.21,0ZM7.5,9.75A1.35,1.35,0,1,1,8.85,11.1,1.35,1.35,0,0,1,7.5,9.75Zm6.3,0a1.35,1.35,0,1,1,1.35,1.35A1.35,1.35,0,0,1,13.8,9.75Z",spellcheck:"M19.1,13.6l-5.6,5.6l-2.7-2.7l-1.4,1.4l4.1,4.1l7-7L19.1,13.6z M10.8,13.7l2.7,2.7l0.8-0.8L10.5,5h-2l-5,14h2l1.4-4h2.6 L10.8,13.7z M9.5,7.8l1.9,5.2H7.6L9.5,7.8z",star:"M12.1,7.7l1,2.5l0.4,0.9h1h2.4l-2.1,2l-0.6,0.6l0.2,0.9l0.6,2.3l-2.2-1.3L12,15.2l-0.8,0.5L9,17l0.5-2.5l0.1-0.8L9,13.1 l-2-2h2.5h0.9l0.4-0.8L12.1,7.7 M12.2,4L9.5,9.6H3.4L8,14.2L6.9,20l5.1-3.1l5.3,3.1l-1.5-5.8l4.8-4.6h-6.1L12.2,4L12.2,4z",strikeThrough:"M3,12.20294H21v1.5H16.63422a3.59782,3.59782,0,0,1,.34942,1.5929,3.252,3.252,0,0,1-1.31427,2.6997A5.55082,5.55082,0,0,1,12.20251,19a6.4421,6.4421,0,0,1-2.62335-.539,4.46335,4.46335,0,0,1-1.89264-1.48816,3.668,3.668,0,0,1-.67016-2.15546V14.704h.28723v-.0011h.34149v.0011H9.02v.11334a2.18275,2.18275,0,0,0,.85413,1.83069,3.69,3.69,0,0,0,2.32836.67926,3.38778,3.38778,0,0,0,2.07666-.5462,1.73346,1.73346,0,0,0,.7013-1.46655,1.69749,1.69749,0,0,0-.647-1.43439,3.00525,3.00525,0,0,0-.27491-.17725H3ZM16.34473,7.05981A4.18163,4.18163,0,0,0,14.6236,5.5462,5.627,5.627,0,0,0,12.11072,5,5.16083,5.16083,0,0,0,8.74719,6.06213,3.36315,3.36315,0,0,0,7.44006,8.76855a3.22923,3.22923,0,0,0,.3216,1.42786h2.59668c-.08338-.05365-.18537-.10577-.25269-.16064a1.60652,1.60652,0,0,1-.65283-1.30036,1.79843,1.79843,0,0,1,.68842-1.5108,3.12971,3.12971,0,0,1,1.96948-.55243,3.04779,3.04779,0,0,1,2.106.6687,2.35066,2.35066,0,0,1,.736,1.83258v.11341h2.00317V9.17346A3.90013,3.90013,0,0,0,16.34473,7.05981Z",subscript:"M10.4,12l3.6,3.6L12.6,17L9,13.4L5.4,17L4,15.6L7.6,12L4,8.4L5.4,7L9,10.6L12.6,7L14,8.4L10.4,12z M18.31234,19.674 l1.06812-1.1465c0.196-0.20141,0.37093-0.40739,0.5368-0.6088c0.15975-0.19418,0.30419-0.40046,0.432-0.617 c0.11969-0.20017,0.21776-0.41249,0.29255-0.6334c0.07103-0.21492,0.10703-0.43986,0.10662-0.66621 c0.00297-0.28137-0.04904-0.56062-0.1531-0.82206c-0.09855-0.24575-0.25264-0.46534-0.45022-0.6416 c-0.20984-0.18355-0.45523-0.32191-0.72089-0.40646c-0.63808-0.19005-1.3198-0.17443-1.94851,0.04465 c-0.28703,0.10845-0.54746,0.2772-0.76372,0.49487c-0.20881,0.20858-0.37069,0.45932-0.47483,0.73548 c-0.10002,0.26648-0.15276,0.54838-0.15585,0.833l-0.00364,0.237H17.617l0.00638-0.22692 c0.00158-0.12667,0.01966-0.25258,0.05377-0.37458c0.03337-0.10708,0.08655-0.20693,0.15679-0.29437 c0.07105-0.08037,0.15959-0.14335,0.25882-0.1841c0.22459-0.08899,0.47371-0.09417,0.7018-0.01458 c0.0822,0.03608,0.15559,0.08957,0.21509,0.15679c0.06076,0.07174,0.10745,0.15429,0.13761,0.24333 c0.03567,0.10824,0.05412,0.22141,0.05469,0.33538c-0.00111,0.08959-0.0118,0.17881-0.0319,0.26612 c-0.02913,0.10428-0.07076,0.20465-0.124,0.29893c-0.07733,0.13621-0.1654,0.26603-0.26338,0.38823 c-0.13438,0.17465-0.27767,0.34226-0.42929,0.50217l-2.15634,2.35315V21H21v-1.326H18.31234z",superscript:"M10.4,12,14,15.6,12.6,17,9,13.4,5.4,17,4,15.6,7.6,12,4,8.4,5.4,7,9,10.6,12.6,7,14,8.4Zm8.91234-3.326,1.06812-1.1465c.196-.20141.37093-.40739.5368-.6088a4.85745,4.85745,0,0,0,.432-.617,3.29,3.29,0,0,0,.29255-.6334,2.11079,2.11079,0,0,0,.10662-.66621,2.16127,2.16127,0,0,0-.1531-.82206,1.7154,1.7154,0,0,0-.45022-.6416,2.03,2.03,0,0,0-.72089-.40646,3.17085,3.17085,0,0,0-1.94851.04465,2.14555,2.14555,0,0,0-.76372.49487,2.07379,2.07379,0,0,0-.47483.73548,2.446,2.446,0,0,0-.15585.833l-.00364.237H18.617L18.62338,5.25a1.45865,1.45865,0,0,1,.05377-.37458.89552.89552,0,0,1,.15679-.29437.70083.70083,0,0,1,.25882-.1841,1.00569,1.00569,0,0,1,.7018-.01458.62014.62014,0,0,1,.21509.15679.74752.74752,0,0,1,.13761.24333,1.08893,1.08893,0,0,1,.05469.33538,1.25556,1.25556,0,0,1-.0319.26612,1.34227,1.34227,0,0,1-.124.29893,2.94367,2.94367,0,0,1-.26338.38823,6.41629,6.41629,0,0,1-.42929.50217L17.19709,8.92642V10H22V8.674Z",symbols:"M15.77493,16.98885a8.21343,8.21343,0,0,0,1.96753-2.57651,7.34824,7.34824,0,0,0,.6034-3.07618A6.09092,6.09092,0,0,0,11.99515,5a6.13347,6.13347,0,0,0-4.585,1.79187,6.417,6.417,0,0,0-1.756,4.69207,6.93955,6.93955,0,0,0,.622,2.97415,8.06587,8.06587,0,0,0,1.949,2.53076H5.41452V19h5.54114v-.04331h-.00147V16.84107a5.82825,5.82825,0,0,1-2.2052-2.2352A6.40513,6.40513,0,0,1,7.97672,11.447,4.68548,4.68548,0,0,1,9.07785,8.19191a3.73232,3.73232,0,0,1,2.9173-1.22462,3.76839,3.76839,0,0,1,2.91241,1.21489,4.482,4.482,0,0,1,1.11572,3.154,6.71141,6.71141,0,0,1-.75384,3.24732,5.83562,5.83562,0,0,1-2.22357,2.25759v2.11562H13.0444V19h5.54108V16.98885Z",tags:"M8.9749 7.47489a1.5 1.5 0 1 1 -1.5 1.5A1.5 1.5 0 0 1 8.9749 7.47489Zm3.78866 -3.12713L16.5362 8.12041l0.33565 0.33564 2.77038 2.77038a2.01988 2.01988 0 0 1 0.59 1.42 1.95518 1.95518 0 0 1 -0.5854 1.40455l0.00044 0.00043 -5.59583 5.59583 -0.00043 -0.00044a1.95518 1.95518 0 0 1 -1.40455 0.5854 1.98762 1.98762 0 0 1 -1.41 -0.58L8.45605 16.87185l-0.33564 -0.33565L4.35777 12.77357a1.99576 1.99576 0 0 1 -0.59 -1.42V9.36358l0 -3.59582a2.00579 2.00579 0 0 1 2 -2l3.59582 0h1.98995A1.98762 1.98762 0 0 1 12.76356 4.34776ZM15.46186 9.866l-0.33564 -0.33564L11.36359 5.76776H5.76776v5.59583L9.866 15.46186l2.7794 2.7794 5.5878 -5.60385 -0.001 -0.001Z",tableHeader:"M20,5H4C2.9,5,2,5.9,2,7v10c0,1.1,0.9,2,2,2h16c1.1,0,2-0.9,2-2V7C22,5.9,21.1,5,20,5z M8,17.5H4c-0.3,0-0.5-0.2-0.5-0.4 l0,0V17v-2H8V17.5z M8,13.5H3.5v-3H8V13.5z M14.5,17.5h-5V15h5V17.5z M14.5,13.5h-5v-3h5V13.5z M20.5,17c0,0.3-0.2,0.5-0.4,0.5l0,0 H16V15h4.5V17z M20.5,13.5H16v-3h4.5V13.5z M20.5,9h-4.4H16h-1.5h-5H8H7.9H3.5V7c0-0.3,0.2-0.5,0.4-0.5l0,0h4l0,0h8.2l0,0H20 c0.3,0,0.5,0.2,0.5,0.4l0,0V9z",tableStyle:"M20.0171,19.89752l.9,3.6-3.2-1.9-3.3,1.9.8-3.6-2.9-2.9h3.8l1.7-3.5,1.4,3.5h3.8ZM20,5H4A2.00591,2.00591,0,0,0,2,7V17a2.00591,2.00591,0,0,0,2,2h7.49115l-.58826-.58826L9.99115,17.5H9.5V14.9975h5.36511L16,12.66089V10.5h4.5v3h-.52783l.599,1.4975H22V7A2.00591,2.00591,0,0,0,20,5ZM3.5,7A.4724.4724,0,0,1,4,6.5H8V9H3.5Zm0,3.5H8v3H3.5Zm.5,7a.4724.4724,0,0,1-.5-.5V15H8v2.5Zm10.5-4h-5v-3h5Zm0-4.5h-5V6.5h5Zm6,0H16V6.5h4a.4724.4724,0,0,1,.5.5Z",textColor:"M15.2,13.494s-3.6,3.9-3.6,6.3a3.65,3.65,0,0,0,7.3.1v-.1C18.9,17.394,15.2,13.494,15.2,13.494Zm-1.47-1.357.669-.724L12.1,5h-2l-5,14h2l1.43-4h2.943A24.426,24.426,0,0,1,13.726,12.137ZM11.1,7.8l1.86,5.2H9.244Z",textMore:"M13.55,19h2l-5-14h-2l-5,14h2l1.4-4h5.1Zm-5.9-6,1.9-5.2,1.9,5.2Zm12.8,4.5a1.5,1.5,0,1,1-1.5-1.5A1.5,1.5,0,0,1,20.45,17.5Zm0-4a1.5,1.5,0,1,1-1.5-1.5A1.5,1.5,0,0,1,20.45,13.5Zm0-4A1.5,1.5,0,1,1,18.95,8,1.5,1.5,0,0,1,20.45,9.5Z",underline:"M19,20v2H5V20Zm-3-6.785a4,4,0,0,1-5.74,3.4A3.75,3.75,0,0,1,8,13.085V5.005H6v8.21a6,6,0,0,0,8,5.44,5.851,5.851,0,0,0,4-5.65v-8H16ZM16,5v0h2V5ZM8,5H6v0H8Z",undo:"M10.4,9.4c-1.7,0.3-3.2,0.9-4.6,2L3,8.5v7h7l-2.7-2.7c3.7-2.6,8.8-1.8,11.5,1.9c0.2,0.3,0.4,0.5,0.5,0.8l1.8-0.9 C18.9,10.8,14.7,8.7,10.4,9.4z",unlink:"M14.4,11l1.6,1.6V11H14.4z M17,7h-4v1.9h4c1.7,0,3.1,1.4,3.1,3.1c0,1.3-0.8,2.4-1.9,2.8l1.4,1.4C21,15.4,22,13.8,22,12 C22,9.2,19.8,7,17,7z M2,4.3l3.1,3.1C3.3,8.1,2,9.9,2,12c0,2.8,2.2,5,5,5h4v-1.9H7c-1.7,0-3.1-1.4-3.1-3.1c0-1.6,1.2-2.9,2.8-3.1 L8.7,11H8v2h2.7l2.3,2.3V17h1.7l4,4l1.4-1.4L3.4,2.9L2,4.3z",unorderedList:"M4,10.5c-0.8,0-1.5,0.7-1.5,1.5s0.7,1.5,1.5,1.5s1.5-0.7,1.5-1.5S4.8,10.5,4,10.5z M4,5.5C3.2,5.5,2.5,6.2,2.5,7 S3.2,8.5,4,8.5S5.5,7.8,5.5,7S4.8,5.5,4,5.5z M4,15.5c-0.8,0-1.5,0.7-1.5,1.5s0.7,1.5,1.5,1.5s1.5-0.7,1.5-1.5S4.8,15.5,4,15.5z M7.5,6v2h14V6H7.5z M7.5,18h14v-2h-14V18z M7.5,13h14v-2h-14V13z",verticalAlignBottom:"M16,13h-3V3h-2v10H8l4,4L16,13z M3,19v2h18v-2H3z",verticalAlignMiddle:"M3,11v2h18v-2H3z M8,18h3v3h2v-3h3l-4-4L8,18z M16,6h-3V3h-2v3H8l4,4L16,6z",verticalAlignTop:"M8,11h3v10h2V11h3l-4-4L8,11z M21,5V3H3v2H21z"},$e.MODULES.modals=function(l){var i=l.$;l.shared.modals||(l.shared.modals={});var a,c=l.shared.modals;function e(){for(var e in c)if(Object.prototype.hasOwnProperty.call(c,e)){var t=c[e];t&&t.$modal&&t.$modal.removeData().remove()}a&&a.removeData().remove(),c={}}function s(e,t){if(c[e]){var n=c[e].$modal,r=n.data("instance")||l;r.events.enableBlur(),n.hide(),a.hide(),i(r.o_doc).find("body").first().removeClass("prevent-scroll fr-mobile"),n.removeClass("fr-active"),t||(r.accessibility.restoreSelection(),r.events.trigger("modals.hide"))}}function n(e){var t;if("string"==typeof e){if(!c[e])return;t=c[e].$modal}else t=e;return t&&l.node.hasClass(t,"fr-active")&&l.core.sameInstance(t)||!1}return{_init:function t(){l.events.on("shared.destroy",e,!0)},get:function r(e){return c[e]},create:function d(n,e,t){if(e='
    '.concat(e,"
    "),l.shared.$overlay||(l.shared.$overlay=i(l.doc.createElement("DIV")).addClass("fr-overlay"),i("body").first().append(l.shared.$overlay)),a=l.shared.$overlay,l.opts.theme&&a.addClass("".concat(l.opts.theme,"-theme")),!c[n]){var r=function o(e,t){var n='
    '),r='');n+='
    '.concat(e).concat(r,"
    "),n+='
    '.concat(t,"
    "),n+="
    ";var a=i(l.doc.createElement("DIV"));return a.html(n),a.find("> .fr-modal")}(e,t);c[n]={$modal:r,$head:r.find(".fr-modal-head"),$body:r.find(".fr-modal-body")},l.helpers.isMobile()||r.addClass("fr-desktop"),i("body").first().append(r),l.events.$on(r,"click",".fr-modal-close",function(){s(n)},!0),c[n].$body.css("margin-top",c[n].$head.outerHeight()),l.events.$on(r,"keydown",function(e){var t=e.which;return t===$e.KEYCODE.ESC?(s(n),l.accessibility.focusModalButton(r),!1):!(!i(e.currentTarget).is("input[type=text], textarea")&&t!==$e.KEYCODE.ARROW_UP&&t!==$e.KEYCODE.ARROW_DOWN&&!l.keys.isBrowserAction(e)&&(e.preventDefault(),e.stopPropagation(),1))},!0),s(n,!0)}return c[n]},show:function o(e){if(c[e]){var t=c[e].$modal;t.data("instance",l),t.show(),a.show(),i(l.o_doc).find("body").first().addClass("prevent-scroll"),l.helpers.isMobile()&&i(l.o_doc).find("body").first().addClass("fr-mobile"),t.addClass("fr-active"),l.accessibility.focusModal(t)}},hide:s,resize:function f(e){if(c[e]){var t=c[e],n=t.$modal,r=t.$body,a=l.o_win.innerHeight,o=n.find(".fr-modal-wrapper"),i=a-o.outerHeight(!0)+(o.height()-(r.outerHeight(!0)-r.height())),s="auto";iT.$sc.get(0).clientWidth-10&&(t=T.$sc.get(0).clientWidth-n-10),t<0&&(t=10),t}(n,e);e&&n.css("left",s),t&&n.css("top",function c(e,t,n){var r=e.outerHeight(!0);if(!T.helpers.isMobile()&&T.$tb&&e.parent().get(0)!==T.$tb.get(0)){var a=e.parent().offset().top,o=t-r-(n||0);e.parent().get(0)===T.$sc.get(0)&&(a-=e.parent().position().top);var i=T.$sc.get(0).clientHeight;a+t+r>T.$sc.offset().top+i&&0T.$wp.scrollTop()&&(t=o,e.addClass("fr-above")):e.removeClass("fr-above")}return t}(n,t,r))}function t(e){var n=A(e),t=n.is(".fr-sticky-on"),r=n.data("sticky-top"),a=n.data("sticky-scheduled");if(void 0===r){n.data("sticky-top",0);var o=A('
    '));T.$box.prepend(o)}else T.$box.find(".fr-sticky-dummy").css("height",n.outerHeight());if(T.core.hasFocus()||0
    '))),!r){var p="auto"!==t.css("top")||"auto"!==t.css("bottom");p||t.css("position","fixed"),r={top:T.node.hasClass(t.get(0),"fr-top"),bottom:T.node.hasClass(t.get(0),"fr-bottom")},p||t.css("position",""),t.data("sticky-position",r),t.data("top",T.node.hasClass(t.get(0),"fr-top")?t.css("top"):"auto"),t.data("bottom",T.node.hasClass(t.get(0),"fr-bottom")?t.css("bottom"):"auto")}var u=T.helpers.getPX(t.data("top")),h=T.helpers.getPX(t.data("bottom")),g=r.top&&function b(){return d .fr-command, > .fr-btn-wrap");r.each(function(e,t){n+=c(t).outerWidth()});var a,o=l.helpers.getPX(c(r[0]).css("margin-left")),i=l.helpers.getPX(c(r[0]).css("margin-right"));a="rtl"===l.opts.direction?l.$tb.outerWidth()-e.offset().left+l.$tb.offset().left-(n+e.outerWidth()+r.length*(o+i))/2:e.offset().left-l.$tb.offset().left-(n-e.outerWidth()+r.length*(o+i))/2;a+n+r.length*(o+i)>l.$tb.outerWidth()&&(a-=(n+r.length*(o+i)-e.outerWidth())/2);a<0&&(a=0);return a}(e,t);"rtl"===l.opts.direction?t.css("padding-right",n):t.css("padding-left",n)}return{undo:function t(e){a(e,!l.undo.canDo())},redo:function n(e){a(e,!l.undo.canRedo())},outdent:function o(e){if(l.node.hasClass(e.get(0),"fr-no-refresh"))return!1;for(var t=l.selection.blocks(),n=0;n