├── examples
└── template.html
├── assets
├── libs
│ ├── dompdf
│ │ ├── VERSION
│ │ ├── lib
│ │ │ ├── php-font-lib
│ │ │ │ ├── .htaccess
│ │ │ │ ├── index.php
│ │ │ │ ├── src
│ │ │ │ │ └── FontLib
│ │ │ │ │ │ ├── Autoloader.php
│ │ │ │ │ │ ├── Exception
│ │ │ │ │ │ └── FontNotFoundException.php
│ │ │ │ │ │ ├── OpenType
│ │ │ │ │ │ ├── File.php
│ │ │ │ │ │ └── TableDirectoryEntry.php
│ │ │ │ │ │ ├── Glyph
│ │ │ │ │ │ └── OutlineComponent.php
│ │ │ │ │ │ ├── Header.php
│ │ │ │ │ │ ├── TrueType
│ │ │ │ │ │ ├── Header.php
│ │ │ │ │ │ └── TableDirectoryEntry.php
│ │ │ │ │ │ ├── WOFF
│ │ │ │ │ │ ├── TableDirectoryEntry.php
│ │ │ │ │ │ ├── Header.php
│ │ │ │ │ │ └── File.php
│ │ │ │ │ │ ├── EncodingMap.php
│ │ │ │ │ │ ├── Table
│ │ │ │ │ │ ├── Type
│ │ │ │ │ │ │ ├── hhea.php
│ │ │ │ │ │ │ ├── nameRecord.php
│ │ │ │ │ │ │ ├── maxp.php
│ │ │ │ │ │ │ ├── head.php
│ │ │ │ │ │ │ ├── os2.php
│ │ │ │ │ │ │ ├── hmtx.php
│ │ │ │ │ │ │ ├── loca.php
│ │ │ │ │ │ │ └── kern.php
│ │ │ │ │ │ └── Table.php
│ │ │ │ │ │ └── Font.php
│ │ │ │ ├── sample-fonts
│ │ │ │ │ ├── IntelClear-Light.ttf
│ │ │ │ │ └── NotoSansShavian-Regular.ttf
│ │ │ │ ├── bower.json
│ │ │ │ ├── phpunit.xml.dist
│ │ │ │ ├── .travis.yml
│ │ │ │ ├── composer.json
│ │ │ │ ├── README.md
│ │ │ │ └── tests
│ │ │ │ │ └── FontLib
│ │ │ │ │ └── FontTest.php
│ │ │ ├── fonts
│ │ │ │ ├── DejaVuSans.ttf
│ │ │ │ ├── DejaVuSerif.ttf
│ │ │ │ ├── DejaVuSansMono.ttf
│ │ │ │ ├── DejaVuSans-Bold.ttf
│ │ │ │ ├── DejaVuSerif-Bold.ttf
│ │ │ │ ├── DejaVuSans-Oblique.ttf
│ │ │ │ ├── DejaVuSansMono-Bold.ttf
│ │ │ │ ├── DejaVuSerif-Italic.ttf
│ │ │ │ ├── DejaVuSans-BoldOblique.ttf
│ │ │ │ ├── DejaVuSansMono-Oblique.ttf
│ │ │ │ ├── DejaVuSerif-BoldItalic.ttf
│ │ │ │ ├── DejaVuSansMono-BoldOblique.ttf
│ │ │ │ └── mustRead.html
│ │ │ ├── res
│ │ │ │ └── broken_image.png
│ │ │ ├── php-svg-lib
│ │ │ │ ├── src
│ │ │ │ │ ├── Svg
│ │ │ │ │ │ ├── Document.php
│ │ │ │ │ │ ├── Tag
│ │ │ │ │ │ │ ├── Line.php
│ │ │ │ │ │ │ ├── Path.php
│ │ │ │ │ │ │ ├── Rect.php
│ │ │ │ │ │ │ ├── Stop.php
│ │ │ │ │ │ │ ├── Anchor.php
│ │ │ │ │ │ │ ├── Circle.php
│ │ │ │ │ │ │ ├── Group.php
│ │ │ │ │ │ │ ├── Image.php
│ │ │ │ │ │ │ ├── ClipPath.php
│ │ │ │ │ │ │ ├── Ellipse.php
│ │ │ │ │ │ │ ├── Polygon.php
│ │ │ │ │ │ │ ├── Polyline.php
│ │ │ │ │ │ │ ├── StyleTag.php
│ │ │ │ │ │ │ ├── AbstractTag.php
│ │ │ │ │ │ │ ├── LinearGradient.php
│ │ │ │ │ │ │ ├── RadialGradient.php
│ │ │ │ │ │ │ ├── Shape.php
│ │ │ │ │ │ │ └── Text.php
│ │ │ │ │ │ ├── DefaultStyle.php
│ │ │ │ │ │ └── Gradient
│ │ │ │ │ │ │ └── Stop.php
│ │ │ │ │ └── autoload.php
│ │ │ │ ├── .travis.yml
│ │ │ │ ├── composer.json
│ │ │ │ ├── phpunit.xml
│ │ │ │ ├── README.md
│ │ │ │ └── tests
│ │ │ │ │ └── Svg
│ │ │ │ │ └── StyleTest.php
│ │ │ └── html5lib
│ │ │ │ └── Parser.php
│ │ ├── .travis.yml
│ │ ├── phpunit.xml.dist
│ │ ├── src
│ │ │ ├── Positioner
│ │ │ │ ├── NullPositioner.php
│ │ │ │ ├── TableCell.php
│ │ │ │ ├── TableRow.php
│ │ │ │ ├── AbstractPositioner.php
│ │ │ │ └── Block.php
│ │ │ ├── Frame
│ │ │ │ ├── FrameList.php
│ │ │ │ ├── FrameTreeList.php
│ │ │ │ ├── FrameListIterator.php
│ │ │ │ └── FrameTreeIterator.php
│ │ │ ├── Exception.php
│ │ │ ├── Exception
│ │ │ │ └── ImageException.php
│ │ │ ├── FrameReflower
│ │ │ │ ├── NullFrameReflower.php
│ │ │ │ ├── ListBullet.php
│ │ │ │ ├── TableRow.php
│ │ │ │ └── TableRowGroup.php
│ │ │ ├── FrameDecorator
│ │ │ │ ├── NullFrameDecorator.php
│ │ │ │ ├── TableRow.php
│ │ │ │ └── TableRowGroup.php
│ │ │ ├── Autoloader.php
│ │ │ ├── JavascriptEmbedder.php
│ │ │ ├── PhpEvaluator.php
│ │ │ ├── Renderer
│ │ │ │ └── TableRowGroup.php
│ │ │ └── CanvasFactory.php
│ │ ├── autoload.inc.php
│ │ └── composer.json
│ └── fpdf
│ │ ├── mc_table
│ │ ├── ex.pdf
│ │ ├── ex.php
│ │ └── info.htm
│ │ ├── tutorial
│ │ ├── logo.png
│ │ ├── 20k_c1.txt
│ │ ├── calligra.z
│ │ ├── calligra.ttf
│ │ ├── makefont.php
│ │ ├── tuto1.php
│ │ ├── tuto7.php
│ │ ├── countries.txt
│ │ ├── index.htm
│ │ ├── tuto2.php
│ │ └── tuto3.php
│ │ ├── license.txt
│ │ ├── font
│ │ ├── courier.php
│ │ ├── courierb.php
│ │ ├── courieri.php
│ │ └── courierbi.php
│ │ ├── doc
│ │ ├── pageno.htm
│ │ ├── getpageheight.htm
│ │ ├── getpagewidth.htm
│ │ ├── getx.htm
│ │ ├── gety.htm
│ │ ├── setfontsize.htm
│ │ ├── getstringwidth.htm
│ │ ├── close.htm
│ │ ├── ln.htm
│ │ ├── setx.htm
│ │ ├── error.htm
│ │ ├── settopmargin.htm
│ │ ├── setrightmargin.htm
│ │ ├── addlink.htm
│ │ ├── setxy.htm
│ │ ├── setlinewidth.htm
│ │ ├── setleftmargin.htm
│ │ ├── line.htm
│ │ ├── sety.htm
│ │ ├── setcompression.htm
│ │ ├── settitle.htm
│ │ ├── setsubject.htm
│ │ ├── setauthor.htm
│ │ ├── setlink.htm
│ │ ├── setkeywords.htm
│ │ ├── setmargins.htm
│ │ ├── setcreator.htm
│ │ ├── setautopagebreak.htm
│ │ ├── footer.htm
│ │ ├── header.htm
│ │ ├── text.htm
│ │ ├── aliasnbpages.htm
│ │ ├── settextcolor.htm
│ │ ├── link.htm
│ │ ├── setfillcolor.htm
│ │ ├── rect.htm
│ │ ├── setdrawcolor.htm
│ │ ├── write.htm
│ │ ├── setdisplaymode.htm
│ │ ├── output.htm
│ │ ├── acceptpagebreak.htm
│ │ ├── addfont.htm
│ │ └── __construct.htm
│ │ ├── install.txt
│ │ └── fpdf.css
├── img
│ ├── logo.jpeg
│ ├── mask.png
│ ├── note.png
│ ├── cover.jpeg
│ ├── favicon.png
│ ├── student.png
│ ├── apple-icon.png
│ ├── faces
│ │ └── marc.jpg
│ ├── new_logo.png
│ ├── sidebar-1.jpg
│ ├── sidebar-2.jpg
│ ├── sidebar-3.jpg
│ ├── sidebar-4.jpg
│ └── tim_80x80.png
├── fonts
│ ├── FontAwesome.otf
│ ├── fontawesome-webfont.eot
│ ├── fontawesome-webfont.ttf
│ ├── fontawesome-webfont.woff
│ └── fontawesome-webfont.woff2
├── uploads
│ ├── 03-12-58bri.jpg
│ ├── 02-12-33logo.jpeg
│ ├── 02-12-47test.png
│ ├── 09-12-30test.png
│ ├── 09-12-43logo.jpeg
│ ├── 10-12-35icon.JPG
│ ├── 10-12-47test.png
│ ├── 10-12-59test.png
│ ├── 10-12-11button.png
│ ├── 10-12-35filter.png
│ ├── 10-12-45edittext.png
│ ├── 03-12-03background2.jpg
│ ├── 10-12-24background2.jpg
│ ├── 03-12-391. Berhasil signup.PNG
│ ├── 03-12-501. Berhasil signup.PNG
│ ├── 04-12-241. Berhasil signup.PNG
│ ├── 04-12-441. Berhasil signup.PNG
│ ├── 09-12-43cropped-GGAD-LOGO-2.png
│ ├── 10-12-45cloud-internet-symbol.png
│ ├── 02-12-01WhatsApp Image 2017-11-20 at 21.41.07.jpeg
│ ├── 02-12-41WhatsApp Image 2017-10-24 at 18.35.03.jpeg
│ ├── 09-12-34WhatsApp Image 2017-10-24 at 18.35.03.jpeg
│ ├── 09-12-34WhatsApp Image 2017-11-24 at 16.42.39.jpeg
│ ├── 03-12-092. Gagal signup (data kurang atau sudah terpakai).PNG
│ ├── 03-12-392. Gagal signup (data kurang atau sudah terpakai).PNG
│ ├── 03-12-502. Gagal signup (data kurang atau sudah terpakai).PNG
│ ├── 04-12-112. Gagal signup (data kurang atau sudah terpakai).PNG
│ ├── 04-12-172. Gagal signup (data kurang atau sudah terpakai).PNG
│ ├── 04-12-252. Gagal signup (data kurang atau sudah terpakai).PNG
│ ├── 04-12-322. Gagal signup (data kurang atau sudah terpakai).PNG
│ ├── 04-12-352. Gagal signup (data kurang atau sudah terpakai).PNG
│ └── 04-12-572. Gagal signup (data kurang atau sudah terpakai).PNG
├── sass
│ ├── md
│ │ ├── mixins
│ │ │ └── _transparency.scss
│ │ ├── _tables.scss
│ │ ├── _ripples.scss
│ │ ├── _footers.scss
│ │ ├── _forms.scss
│ │ ├── _tabs.scss
│ │ ├── _alerts.scss
│ │ ├── _typography.scss
│ │ ├── _popups.scss
│ │ ├── _dropdown.scss
│ │ └── _dialogs.scss
│ └── material-dashboard.scss
└── css
│ └── demo.css
├── dashboard
└── include
│ ├── cetak_kwitansi_pembayaran.php
│ ├── home.php
│ ├── hapus_guru.php
│ ├── hapus_mapel.php
│ ├── proses_konfirmasi_pembayaran_kegiatan.php
│ ├── proses_konfirmasi_pembayaran_spp.php
│ ├── libs.php
│ ├── libs_print.php
│ ├── laporan.php
│ ├── cetak_laporan_pendaftar.php
│ ├── cetak_laporan_kegiatan.php
│ └── cetak_laporan_pendapatan.php
├── logout.php
├── auth.php
├── koneksi
└── koneksi.php
├── CHANGELOG.md
├── proses_simpan_pendaftaran.php
├── index.php
├── README.txt
└── success_register.php
/examples/template.html:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/assets/libs/dompdf/VERSION:
--------------------------------------------------------------------------------
1 | 0.8.1
--------------------------------------------------------------------------------
/assets/libs/dompdf/lib/php-font-lib/.htaccess:
--------------------------------------------------------------------------------
1 | #deny from all
--------------------------------------------------------------------------------
/assets/libs/dompdf/lib/php-font-lib/index.php:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/dashboard/include/cetak_kwitansi_pembayaran.php:
--------------------------------------------------------------------------------
1 |
7 | * @license http://www.gnu.org/copyleft/lesser.html GNU Lesser General Public License
8 | */
9 |
10 | /**
11 | * Dompdf autoload function
12 | *
13 | * If you have an existing autoload function, add a call to this function
14 | * from your existing __autoload() implementation.
15 | *
16 | * @param string $class
17 | */
18 |
19 | require_once __DIR__ . '/lib/html5lib/Parser.php';
20 | require_once __DIR__ . '/lib/php-font-lib/src/FontLib/Autoloader.php';
21 | require_once __DIR__ . '/lib/php-svg-lib/src/autoload.php';
22 |
23 | /*
24 | * New PHP 5.3.0 namespaced autoloader
25 | */
26 | require_once __DIR__ . '/src/Autoloader.php';
27 |
28 | Dompdf\Autoloader::register();
29 |
--------------------------------------------------------------------------------
/assets/libs/fpdf/doc/ln.htm:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | Ln
6 |
7 |
8 |
9 | Ln
10 | Ln([float h])
11 | Description
12 | Performs a line break. The current abscissa goes back to the left margin and the ordinate
13 | increases by the amount passed in parameter.
14 | Parameters
15 |
16 | h
17 |
18 | The height of the break.
19 |
20 | By default, the value equals the height of the last printed cell.
21 |
22 |
23 | See also
24 | Cell
25 |
26 |
27 |
28 |
29 |
--------------------------------------------------------------------------------
/assets/libs/fpdf/tutorial/index.htm:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | Tutorials
6 |
7 |
8 |
9 | Tutorials
10 |
19 |
20 |
21 |
--------------------------------------------------------------------------------
/assets/libs/dompdf/lib/php-font-lib/src/FontLib/Header.php:
--------------------------------------------------------------------------------
1 |
6 | * @license http://www.gnu.org/copyleft/lesser.html GNU Lesser General Public License
7 | */
8 | namespace FontLib;
9 |
10 | use FontLib\TrueType\File;
11 |
12 | /**
13 | * Font header container.
14 | *
15 | * @package php-font-lib
16 | */
17 | abstract class Header extends BinaryStream {
18 | /**
19 | * @var File
20 | */
21 | protected $font;
22 | protected $def = array();
23 |
24 | public $data;
25 |
26 | public function __construct(File $font) {
27 | $this->font = $font;
28 | }
29 |
30 | public function encode() {
31 | return $this->font->pack($this->def, $this->data);
32 | }
33 |
34 | public function parse() {
35 | $this->data = $this->font->unpack($this->def);
36 | }
37 | }
--------------------------------------------------------------------------------
/assets/libs/fpdf/doc/setx.htm:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | SetX
6 |
7 |
8 |
9 | SetX
10 | SetX(float x)
11 | Description
12 | Defines the abscissa of the current position. If the passed value is negative, it is relative
13 | to the right of the page.
14 | Parameters
15 |
16 | x
17 |
18 | The value of the abscissa.
19 |
20 |
21 | See also
22 | GetX ,
23 | GetY ,
24 | SetY ,
25 | SetXY
26 |
27 |
28 |
29 |
30 |
--------------------------------------------------------------------------------
/assets/libs/dompdf/lib/php-font-lib/src/FontLib/TrueType/Header.php:
--------------------------------------------------------------------------------
1 |
6 | * @license http://www.gnu.org/copyleft/lesser.html GNU Lesser General Public License
7 | */
8 |
9 | namespace FontLib\TrueType;
10 |
11 | /**
12 | * TrueType font file header.
13 | *
14 | * @package php-font-lib
15 | */
16 | class Header extends \FontLib\Header {
17 | protected $def = array(
18 | "format" => self::uint32,
19 | "numTables" => self::uint16,
20 | "searchRange" => self::uint16,
21 | "entrySelector" => self::uint16,
22 | "rangeShift" => self::uint16,
23 | );
24 |
25 | public function parse() {
26 | parent::parse();
27 |
28 | $format = $this->data["format"];
29 | $this->data["formatText"] = $this->convertUInt32ToStr($format);
30 | }
31 | }
--------------------------------------------------------------------------------
/assets/libs/dompdf/lib/php-font-lib/src/FontLib/TrueType/TableDirectoryEntry.php:
--------------------------------------------------------------------------------
1 |
6 | * @license http://www.gnu.org/copyleft/lesser.html GNU Lesser General Public License
7 | */
8 |
9 | namespace FontLib\TrueType;
10 |
11 | use FontLib\Table\DirectoryEntry;
12 |
13 | /**
14 | * TrueType table directory entry.
15 | *
16 | * @package php-font-lib
17 | */
18 | class TableDirectoryEntry extends DirectoryEntry {
19 | function __construct(File $font) {
20 | parent::__construct($font);
21 | }
22 |
23 | function parse() {
24 | parent::parse();
25 |
26 | $font = $this->font;
27 | $this->checksum = $font->readUInt32();
28 | $this->offset = $font->readUInt32();
29 | $this->length = $font->readUInt32();
30 | $this->entryLength += 12;
31 | }
32 | }
33 |
34 |
--------------------------------------------------------------------------------
/assets/libs/fpdf/doc/error.htm:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | Error
6 |
7 |
8 |
9 | Error
10 | Error(string msg)
11 | Description
12 | This method is automatically called in case of a fatal error; it simply throws an exception
13 | with the provided message.
14 | An inherited class may override it to customize the error handling but the method should
15 | never return, otherwise the resulting document would probably be invalid.
16 | Parameters
17 |
18 | msg
19 |
20 | The error message.
21 |
22 |
23 |
24 |
25 |
26 |
27 |
--------------------------------------------------------------------------------
/assets/libs/fpdf/tutorial/tuto2.php:
--------------------------------------------------------------------------------
1 | Image('logo.png',10,6,30);
11 | // Arial bold 15
12 | $this->SetFont('Arial','B',15);
13 | // Move to the right
14 | $this->Cell(80);
15 | // Title
16 | $this->Cell(30,10,'Title',1,0,'C');
17 | // Line break
18 | $this->Ln(20);
19 | }
20 |
21 | // Page footer
22 | function Footer()
23 | {
24 | // Position at 1.5 cm from bottom
25 | $this->SetY(-15);
26 | // Arial italic 8
27 | $this->SetFont('Arial','I',8);
28 | // Page number
29 | $this->Cell(0,10,'Page '.$this->PageNo().'/{nb}',0,0,'C');
30 | }
31 | }
32 |
33 | // Instanciation of inherited class
34 | $pdf = new PDF();
35 | $pdf->AliasNbPages();
36 | $pdf->AddPage();
37 | $pdf->SetFont('Times','',12);
38 | for($i=1;$i<=40;$i++)
39 | $pdf->Cell(0,10,'Printing line number '.$i,0,1);
40 | $pdf->Output();
41 | ?>
42 |
--------------------------------------------------------------------------------
/assets/libs/dompdf/src/FrameReflower/NullFrameReflower.php:
--------------------------------------------------------------------------------
1 |
6 | * @license http://www.gnu.org/copyleft/lesser.html GNU Lesser General Public License
7 | */
8 |
9 | namespace Dompdf\FrameReflower;
10 |
11 | use Dompdf\Frame;
12 | use Dompdf\FrameDecorator\Block as BlockFrameDecorator;
13 |
14 | /**
15 | * Dummy reflower
16 | *
17 | * @package dompdf
18 | */
19 | class NullFrameReflower extends AbstractFrameReflower
20 | {
21 |
22 | /**
23 | * NullFrameReflower constructor.
24 | * @param Frame $frame
25 | */
26 | function __construct(Frame $frame)
27 | {
28 | parent::__construct($frame);
29 | }
30 |
31 | /**
32 | * @param BlockFrameDecorator|null $block
33 | */
34 | function reflow(BlockFrameDecorator $block = null)
35 | {
36 | return;
37 | }
38 |
39 | }
40 |
--------------------------------------------------------------------------------
/assets/libs/dompdf/src/FrameDecorator/NullFrameDecorator.php:
--------------------------------------------------------------------------------
1 |
6 | * @license http://www.gnu.org/copyleft/lesser.html GNU Lesser General Public License
7 | */
8 | namespace Dompdf\FrameDecorator;
9 |
10 | use Dompdf\Dompdf;
11 | use Dompdf\Frame;
12 |
13 | /**
14 | * Dummy decorator
15 | *
16 | * @package dompdf
17 | */
18 | class NullFrameDecorator extends AbstractFrameDecorator
19 | {
20 | /**
21 | * NullFrameDecorator constructor.
22 | * @param Frame $frame
23 | * @param Dompdf $dompdf
24 | */
25 | function __construct(Frame $frame, Dompdf $dompdf)
26 | {
27 | parent::__construct($frame, $dompdf);
28 | $style = $this->_frame->get_style();
29 | $style->width = 0;
30 | $style->height = 0;
31 | $style->margin = 0;
32 | $style->padding = 0;
33 | }
34 | }
35 |
--------------------------------------------------------------------------------
/assets/libs/dompdf/src/Positioner/TableRow.php:
--------------------------------------------------------------------------------
1 |
6 | * @license http://www.gnu.org/copyleft/lesser.html GNU Lesser General Public License
7 | */
8 |
9 | namespace Dompdf\Positioner;
10 |
11 | use Dompdf\FrameDecorator\AbstractFrameDecorator;
12 |
13 | /**
14 | * Positions table rows
15 | *
16 | * @package dompdf
17 | */
18 | class TableRow extends AbstractPositioner
19 | {
20 |
21 | /**
22 | * @param AbstractFrameDecorator $frame
23 | */
24 | function position(AbstractFrameDecorator $frame)
25 | {
26 | $cb = $frame->get_containing_block();
27 | $p = $frame->get_prev_sibling();
28 |
29 | if ($p) {
30 | $y = $p->get_position("y") + $p->get_margin_height();
31 | } else {
32 | $y = $cb["y"];
33 | }
34 | $frame->set_position($cb["x"], $y);
35 | }
36 | }
37 |
--------------------------------------------------------------------------------
/assets/sass/md/_tables.scss:
--------------------------------------------------------------------------------
1 | .table{
2 | > thead > tr > th{
3 | border-bottom-width: 1px;
4 | font-size: $font-size-h6;
5 | font-weight: $font-weight-light;
6 | }
7 |
8 | .radio,
9 | .checkbox{
10 | margin-top: 0;
11 | margin-bottom: 0;
12 | margin-left: 10px;
13 | padding: 0;
14 | width: 15px;
15 |
16 | .icons{
17 | position: relative;
18 | }
19 | }
20 | > thead > tr > th,
21 | > tbody > tr > th,
22 | > tfoot > tr > th,
23 | > thead > tr > td,
24 | > tbody > tr > td,
25 | > tfoot > tr > td{
26 | padding: 12px 8px;
27 | vertical-align: middle;
28 | }
29 |
30 | > thead > tr > th{
31 | padding-bottom: 4px;
32 | }
33 |
34 | .td-actions{
35 | display: flex;
36 |
37 | .btn{
38 | margin: 0px;
39 | padding: 5px;
40 | }
41 | }
42 | > tbody > tr{
43 | position: relative;
44 | }
45 | }
46 |
--------------------------------------------------------------------------------
/assets/libs/fpdf/doc/settopmargin.htm:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | SetTopMargin
6 |
7 |
8 |
9 | SetTopMargin
10 | SetTopMargin(float margin)
11 | Description
12 | Defines the top margin. The method can be called before creating the first page.
13 | Parameters
14 |
15 | margin
16 |
17 | The margin.
18 |
19 |
20 | See also
21 | SetLeftMargin ,
22 | SetRightMargin ,
23 | SetAutoPageBreak ,
24 | SetMargins
25 |
26 |
27 |
28 |
29 |
--------------------------------------------------------------------------------
/assets/libs/dompdf/lib/php-font-lib/src/FontLib/WOFF/TableDirectoryEntry.php:
--------------------------------------------------------------------------------
1 |
6 | * @license http://www.gnu.org/copyleft/lesser.html GNU Lesser General Public License
7 | */
8 |
9 | namespace FontLib\WOFF;
10 |
11 | use FontLib\Table\DirectoryEntry;
12 |
13 | /**
14 | * WOFF font file table directory entry.
15 | *
16 | * @package php-font-lib
17 | */
18 | class TableDirectoryEntry extends DirectoryEntry {
19 | public $origLength;
20 |
21 | function __construct(File $font) {
22 | parent::__construct($font);
23 | }
24 |
25 | function parse() {
26 | parent::parse();
27 |
28 | $font = $this->font;
29 | $this->offset = $font->readUInt32();
30 | $this->length = $font->readUInt32();
31 | $this->origLength = $font->readUInt32();
32 | $this->checksum = $font->readUInt32();
33 | }
34 | }
35 |
--------------------------------------------------------------------------------
/assets/libs/fpdf/doc/setrightmargin.htm:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | SetRightMargin
6 |
7 |
8 |
9 | SetRightMargin
10 | SetRightMargin(float margin)
11 | Description
12 | Defines the right margin. The method can be called before creating the first page.
13 | Parameters
14 |
15 | margin
16 |
17 | The margin.
18 |
19 |
20 | See also
21 | SetLeftMargin ,
22 | SetTopMargin ,
23 | SetAutoPageBreak ,
24 | SetMargins
25 |
26 |
27 |
28 |
29 |
--------------------------------------------------------------------------------
/assets/libs/fpdf/doc/addlink.htm:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | AddLink
6 |
7 |
8 |
9 | AddLink
10 | int AddLink()
11 | Description
12 | Creates a new internal link and returns its identifier. An internal link is a clickable area
13 | which directs to another place within the document.
14 |
15 | The identifier can then be passed to Cell(), Write(), Image() or Link(). The destination is
16 | defined with SetLink().
17 | See also
18 | Cell ,
19 | Write ,
20 | Image ,
21 | Link ,
22 | SetLink
23 |
24 |
25 |
26 |
27 |
--------------------------------------------------------------------------------
/assets/libs/fpdf/doc/setxy.htm:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | SetXY
6 |
7 |
8 |
9 | SetXY
10 | SetXY(float x, float y)
11 | Description
12 | Defines the abscissa and ordinate of the current position. If the passed values are negative,
13 | they are relative respectively to the right and bottom of the page.
14 | Parameters
15 |
16 | x
17 |
18 | The value of the abscissa.
19 |
20 | y
21 |
22 | The value of the ordinate.
23 |
24 |
25 | See also
26 | SetX ,
27 | SetY
28 |
29 |
30 |
31 |
32 |
--------------------------------------------------------------------------------
/assets/libs/fpdf/doc/setlinewidth.htm:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | SetLineWidth
6 |
7 |
8 |
9 | SetLineWidth
10 | SetLineWidth(float width)
11 | Description
12 | Defines the line width. By default, the value equals 0.2 mm. The method can be called before
13 | the first page is created and the value is retained from page to page.
14 | Parameters
15 |
16 | width
17 |
18 | The width.
19 |
20 |
21 | See also
22 | Line ,
23 | Rect ,
24 | Cell ,
25 | MultiCell
26 |
27 |
28 |
29 |
30 |
--------------------------------------------------------------------------------
/assets/sass/md/_ripples.scss:
--------------------------------------------------------------------------------
1 | .withripple {
2 | position: relative;
3 | }
4 | .ripple-container {
5 | position: absolute;
6 | top: 0;
7 | left: 0;
8 | z-index: 1;
9 | width: 100%;
10 | height: 100%;
11 | overflow: hidden;
12 | border-radius: inherit;
13 | pointer-events: none;
14 |
15 | .disabled &{
16 | display: none;
17 | }
18 | }
19 | .ripple {
20 | position: absolute;
21 | width: 20px;
22 | height: 20px;
23 | margin-left: -10px;
24 | margin-top: -10px;
25 | border-radius: 100%;
26 | background-color: #000; // fallback color
27 | background-color: rgba(0,0,0,0.05);
28 | transform: scale(1);
29 | transform-origin: 50%;
30 | opacity: 0;
31 | pointer-events: none;
32 | }
33 | .ripple.ripple-on {
34 | transition: opacity 0.15s ease-in 0s, transform 0.5s cubic-bezier(0.4, 0, 0.2, 1) 0.1s;
35 | opacity: 0.1;
36 | }
37 | .ripple.ripple-out {
38 | transition: opacity 0.1s linear 0s !important;
39 | opacity: 0;
40 | }
41 |
--------------------------------------------------------------------------------
/dashboard/include/libs.php:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
--------------------------------------------------------------------------------
/dashboard/include/libs_print.php:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
--------------------------------------------------------------------------------
/assets/libs/dompdf/lib/php-font-lib/src/FontLib/EncodingMap.php:
--------------------------------------------------------------------------------
1 |
6 | * @license http://www.gnu.org/copyleft/lesser.html GNU Lesser General Public License
7 | */
8 |
9 | namespace FontLib;
10 |
11 | /**
12 | * Encoding map used to map a code point to a Unicode char.
13 | *
14 | * @package php-font-lib
15 | */
16 | class EncodingMap {
17 | private $f;
18 |
19 | function __construct($file) {
20 | $this->f = fopen($file, "r");
21 | }
22 |
23 | function parse() {
24 | $map = array();
25 |
26 | while ($line = fgets($this->f)) {
27 | if (preg_match('/^[\!\=]([0-9A-F]{2,})\s+U\+([0-9A-F]{2})([0-9A-F]{2})\s+([^\s]+)/', $line, $matches)) {
28 | $unicode = (hexdec($matches[2]) << 8) + hexdec($matches[3]);
29 | $map[hexdec($matches[1])] = array($unicode, $matches[4]);
30 | }
31 | }
32 |
33 | ksort($map);
34 |
35 | return $map;
36 | }
37 | }
38 |
--------------------------------------------------------------------------------
/assets/libs/dompdf/lib/php-font-lib/src/FontLib/WOFF/Header.php:
--------------------------------------------------------------------------------
1 |
6 | * @license http://www.gnu.org/copyleft/lesser.html GNU Lesser General Public License
7 | */
8 |
9 | namespace FontLib\WOFF;
10 |
11 | /**
12 | * WOFF font file header.
13 | *
14 | * @package php-font-lib
15 | */
16 | class Header extends \FontLib\TrueType\Header {
17 | protected $def = array(
18 | "format" => self::uint32,
19 | "flavor" => self::uint32,
20 | "length" => self::uint32,
21 | "numTables" => self::uint16,
22 | self::uint16,
23 | "totalSfntSize" => self::uint32,
24 | "majorVersion" => self::uint16,
25 | "minorVersion" => self::uint16,
26 | "metaOffset" => self::uint32,
27 | "metaLength" => self::uint32,
28 | "metaOrigLength" => self::uint32,
29 | "privOffset" => self::uint32,
30 | "privLength" => self::uint32,
31 | );
32 | }
--------------------------------------------------------------------------------
/assets/libs/fpdf/doc/setleftmargin.htm:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | SetLeftMargin
6 |
7 |
8 |
9 | SetLeftMargin
10 | SetLeftMargin(float margin)
11 | Description
12 | Defines the left margin. The method can be called before creating the first page.
13 |
14 | If the current abscissa gets out of page, it is brought back to the margin.
15 | Parameters
16 |
17 | margin
18 |
19 | The margin.
20 |
21 |
22 | See also
23 | SetTopMargin ,
24 | SetRightMargin ,
25 | SetAutoPageBreak ,
26 | SetMargins
27 |
28 |
29 |
30 |
31 |
--------------------------------------------------------------------------------
/assets/libs/fpdf/doc/line.htm:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | Line
6 |
7 |
8 |
9 | Line
10 | Line(float x1, float y1, float x2, float y2)
11 | Description
12 | Draws a line between two points.
13 | Parameters
14 |
15 | x1
16 |
17 | Abscissa of first point.
18 |
19 | y1
20 |
21 | Ordinate of first point.
22 |
23 | x2
24 |
25 | Abscissa of second point.
26 |
27 | y2
28 |
29 | Ordinate of second point.
30 |
31 |
32 | See also
33 | SetLineWidth ,
34 | SetDrawColor
35 |
36 |
37 |
38 |
39 |
--------------------------------------------------------------------------------
/assets/libs/fpdf/doc/sety.htm:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | SetY
6 |
7 |
8 |
9 | SetY
10 | SetY(float y [, boolean resetX])
11 | Description
12 | Sets the ordinate and optionally moves the current abscissa back to the left margin. If the value
13 | is negative, it is relative to the bottom of the page.
14 | Parameters
15 |
16 | y
17 |
18 | The value of the ordinate.
19 |
20 | resetX
21 |
22 | Whether to reset the abscissa. Default value: true.
23 |
24 |
25 | See also
26 | GetX ,
27 | GetY ,
28 | SetX ,
29 | SetXY
30 |
31 |
32 |
33 |
34 |
--------------------------------------------------------------------------------
/assets/libs/fpdf/doc/setcompression.htm:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | SetCompression
6 |
7 |
8 |
9 | SetCompression
10 | SetCompression(boolean compress)
11 | Description
12 | Activates or deactivates page compression. When activated, the internal representation of
13 | each page is compressed, which leads to a compression ratio of about 2 for the resulting
14 | document.
15 |
16 | Compression is on by default.
17 |
18 |
19 | Note: the Zlib extension is required for this feature. If not present, compression
20 | will be turned off.
21 | Parameters
22 |
23 | compress
24 |
25 | Boolean indicating if compression must be enabled.
26 |
27 |
28 |
29 |
30 |
31 |
32 |
--------------------------------------------------------------------------------
/assets/libs/dompdf/lib/fonts/mustRead.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | Core 14 AFM Files - ReadMe
6 |
7 |
8 | or
9 |
10 |
11 |
12 | This file and the 14 PostScript(R) AFM files it accompanies may be used, copied, and distributed for any purpose and without charge, with or without modification, provided that all copyright notices are retained; that the AFM files are not distributed without this file; that all modifications to this file or any of the AFM files are prominently noted in the modified file(s); and that this paragraph is not modified. Adobe Systems has no responsibility or obligation to support the use of the AFM files. Col
13 |
14 |
15 | Source http://www.adobe.com/devnet/font/#pcfi
16 |
17 |
--------------------------------------------------------------------------------
/assets/libs/fpdf/doc/settitle.htm:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | SetTitle
6 |
7 |
8 |
9 | SetTitle
10 | SetTitle(string title [, boolean isUTF8])
11 | Description
12 | Defines the title of the document.
13 | Parameters
14 |
15 | title
16 |
17 | The title.
18 |
19 | isUTF8
20 |
21 | Indicates if the string is encoded in ISO-8859-1 (false) or UTF-8 (true).
22 | Default value: false.
23 |
24 |
25 | See also
26 | SetAuthor ,
27 | SetCreator ,
28 | SetKeywords ,
29 | SetSubject
30 |
31 |
32 |
33 |
34 |
--------------------------------------------------------------------------------
/assets/libs/dompdf/lib/php-svg-lib/README.md:
--------------------------------------------------------------------------------
1 | # SVG file parsing / rendering library
2 |
3 | [](https://travis-ci.org/PhenX/php-svg-lib)
4 | [](https://coveralls.io/r/PhenX/php-svg-lib)
5 |
6 |
7 | [](https://packagist.org/packages/phenx/php-svg-lib)
8 | [](https://packagist.org/packages/phenx/php-svg-lib)
9 | [](https://packagist.org/packages/phenx/php-svg-lib)
10 | [](https://packagist.org/packages/phenx/php-svg-lib)
11 |
12 | The main purpose of this lib is to rasterize SVG to a surface which can be an image or a PDF for example, through a `\Svg\Surface` PHP interface.
13 |
14 | This project was initialized by the need to render SVG documents inside PDF files for the [DomPdf](http://dompdf.github.io) project.
--------------------------------------------------------------------------------
/assets/sass/md/_footers.scss:
--------------------------------------------------------------------------------
1 | footer{
2 | padding: $padding-base 0;
3 |
4 | ul{
5 | margin-bottom: 0;
6 | padding: 0;
7 | list-style: none;
8 |
9 | li{
10 | display: inline-block;
11 |
12 | a{
13 | color: inherit;
14 | padding: $padding-base;
15 | font-weight: $font-weight-bold;
16 | font-size: $mdb-btn-font-size-base;
17 | text-transform: uppercase;
18 | border-radius: $border-radius-base;
19 | text-decoration: none;
20 | position: relative;
21 | display: block;
22 |
23 | &:hover{
24 | text-decoration: none;
25 | }
26 | }
27 | }
28 | }
29 |
30 | .copyright{
31 | padding: 15px 0;
32 | margin: 0;
33 | .material-icons{
34 | font-size: 18px;
35 | position: relative;
36 | top: 3px;
37 | }
38 | }
39 |
40 | .btn{
41 | margin-top: 0;
42 | margin-bottom: 0;
43 | }
44 | }
45 |
--------------------------------------------------------------------------------
/assets/libs/dompdf/src/Autoloader.php:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | SetSubject
6 |
7 |
8 |
9 | SetSubject
10 | SetSubject(string subject [, boolean isUTF8])
11 | Description
12 | Defines the subject of the document.
13 | Parameters
14 |
15 | subject
16 |
17 | The subject.
18 |
19 | isUTF8
20 |
21 | Indicates if the string is encoded in ISO-8859-1 (false) or UTF-8 (true).
22 | Default value: false.
23 |
24 |
25 | See also
26 | SetAuthor ,
27 | SetCreator ,
28 | SetKeywords ,
29 | SetTitle
30 |
31 |
32 |
33 |
34 |
--------------------------------------------------------------------------------
/assets/libs/fpdf/doc/setauthor.htm:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | SetAuthor
6 |
7 |
8 |
9 | SetAuthor
10 | SetAuthor(string author [, boolean isUTF8])
11 | Description
12 | Defines the author of the document.
13 | Parameters
14 |
15 | author
16 |
17 | The name of the author.
18 |
19 | isUTF8
20 |
21 | Indicates if the string is encoded in ISO-8859-1 (false) or UTF-8 (true).
22 | Default value: false.
23 |
24 |
25 | See also
26 | SetCreator ,
27 | SetKeywords ,
28 | SetSubject ,
29 | SetTitle
30 |
31 |
32 |
33 |
34 |
--------------------------------------------------------------------------------
/assets/libs/fpdf/doc/setlink.htm:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | SetLink
6 |
7 |
8 |
9 | SetLink
10 | SetLink(int link [, float y [, int page]])
11 | Description
12 | Defines the page and position a link points to.
13 | Parameters
14 |
15 | link
16 |
17 | The link identifier returned by AddLink().
18 |
19 | y
20 |
21 | Ordinate of target position; -1 indicates the current position.
22 | The default value is 0 (top of page).
23 |
24 | page
25 |
26 | Number of target page; -1 indicates the current page. This is the default value.
27 |
28 |
29 | See also
30 | AddLink
31 |
32 |
33 |
34 |
35 |
--------------------------------------------------------------------------------
/assets/libs/fpdf/doc/setkeywords.htm:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | SetKeywords
6 |
7 |
8 |
9 | SetKeywords
10 | SetKeywords(string keywords [, boolean isUTF8])
11 | Description
12 | Associates keywords with the document, generally in the form 'keyword1 keyword2 ...'.
13 | Parameters
14 |
15 | keywords
16 |
17 | The list of keywords.
18 |
19 | isUTF8
20 |
21 | Indicates if the string is encoded in ISO-8859-1 (false) or UTF-8 (true).
22 | Default value: false.
23 |
24 |
25 | See also
26 | SetAuthor ,
27 | SetCreator ,
28 | SetSubject ,
29 | SetTitle
30 |
31 |
32 |
33 |
34 |
--------------------------------------------------------------------------------
/assets/libs/dompdf/lib/php-font-lib/README.md:
--------------------------------------------------------------------------------
1 | # PHP Font Lib
2 |
3 | [](https://travis-ci.org/PhenX/php-font-lib)
4 |
5 |
6 | This library can be used to:
7 | * Read TrueType, OpenType (with TrueType glyphs), WOFF font files
8 | * Extract basic info (name, style, etc)
9 | * Extract advanced info (horizontal metrics, glyph names, glyph shapes, etc)
10 | * Make an Adobe Font Metrics (AFM) file from a font
11 |
12 | You can find a demo GUI [here](http://pxd.me/php-font-lib/www/font_explorer.html).
13 |
14 | This project was initiated by the need to read font files in the [DOMPDF project](https://github.com/dompdf/dompdf).
15 |
16 | Usage Example
17 | -------------
18 |
19 | ```
20 | $font = \FontLib\Font::load('../../fontfile.ttf');
21 | $font->parse(); // for getFontWeight() to work this call must be done first!
22 | echo $font->getFontName() .' ';
23 | echo $font->getFontSubfamily() .' ';
24 | echo $font->getFontSubfamilyID() .' ';
25 | echo $font->getFontFullName() .' ';
26 | echo $font->getFontVersion() .' ';
27 | echo $font->getFontWeight() .' ';
28 | echo $font->getFontPostscriptName() .' ';
29 | ```
30 |
--------------------------------------------------------------------------------
/dashboard/include/laporan.php:
--------------------------------------------------------------------------------
1 | Laporan
2 |
3 |
4 |
5 |
6 |
7 |
11 |
12 |
13 |
14 |
15 |
18 |
19 |
22 |
23 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
--------------------------------------------------------------------------------
/assets/libs/fpdf/doc/setmargins.htm:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | SetMargins
6 |
7 |
8 |
9 | SetMargins
10 | SetMargins(float left, float top [, float right])
11 | Description
12 | Defines the left, top and right margins. By default, they equal 1 cm. Call this method to change
13 | them.
14 | Parameters
15 |
16 | left
17 |
18 | Left margin.
19 |
20 | top
21 |
22 | Top margin.
23 |
24 | right
25 |
26 | Right margin. Default value is the left one.
27 |
28 |
29 | See also
30 | SetLeftMargin ,
31 | SetTopMargin ,
32 | SetRightMargin ,
33 | SetAutoPageBreak
34 |
35 |
36 |
37 |
38 |
--------------------------------------------------------------------------------
/assets/libs/fpdf/doc/setcreator.htm:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | SetCreator
6 |
7 |
8 |
9 | SetCreator
10 | SetCreator(string creator [, boolean isUTF8])
11 | Description
12 | Defines the creator of the document. This is typically the name of the application that
13 | generates the PDF.
14 | Parameters
15 |
16 | creator
17 |
18 | The name of the creator.
19 |
20 | isUTF8
21 |
22 | Indicates if the string is encoded in ISO-8859-1 (false) or UTF-8 (true).
23 | Default value: false.
24 |
25 |
26 | See also
27 | SetAuthor ,
28 | SetKeywords ,
29 | SetSubject ,
30 | SetTitle
31 |
32 |
33 |
34 |
35 |
--------------------------------------------------------------------------------
/assets/libs/fpdf/doc/setautopagebreak.htm:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | SetAutoPageBreak
6 |
7 |
8 |
9 | SetAutoPageBreak
10 | SetAutoPageBreak(boolean auto [, float margin])
11 | Description
12 | Enables or disables the automatic page breaking mode. When enabling, the second parameter is
13 | the distance from the bottom of the page that defines the triggering limit. By default, the
14 | mode is on and the margin is 2 cm.
15 | Parameters
16 |
17 | auto
18 |
19 | Boolean indicating if mode should be on or off.
20 |
21 | margin
22 |
23 | Distance from the bottom of the page.
24 |
25 |
26 | See also
27 | Cell ,
28 | MultiCell ,
29 | AcceptPageBreak
30 |
31 |
32 |
33 |
34 |
--------------------------------------------------------------------------------
/assets/libs/fpdf/doc/footer.htm:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | Footer
6 |
7 |
8 |
9 | Footer
10 | Footer()
11 | Description
12 | This method is used to render the page footer. It is automatically called by AddPage() and
13 | Close() and should not be called directly by the application. The implementation in FPDF is
14 | empty, so you have to subclass it and override the method if you want a specific processing.
15 | Example
16 |
17 |
class PDF extends FPDF
18 | {
19 | function Footer()
20 | {
21 | // Go to 1.5 cm from bottom
22 | $this->SetY(-15);
23 | // Select Arial italic 8
24 | $this->SetFont('Arial','I',8);
25 | // Print centered page number
26 | $this->Cell(0,10,'Page '.$this->PageNo(),0,0,'C');
27 | }
28 | }
29 |
30 | See also
31 | Header
32 |
33 |
34 |
35 |
36 |
--------------------------------------------------------------------------------
/assets/libs/fpdf/doc/header.htm:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | Header
6 |
7 |
8 |
9 | Header
10 | Header()
11 | Description
12 | This method is used to render the page header. It is automatically called by AddPage() and
13 | should not be called directly by the application. The implementation in FPDF is empty, so
14 | you have to subclass it and override the method if you want a specific processing.
15 | Example
16 |
17 |
class PDF extends FPDF
18 | {
19 | function Header()
20 | {
21 | // Select Arial bold 15
22 | $this->SetFont('Arial','B',15);
23 | // Move to the right
24 | $this->Cell(80);
25 | // Framed title
26 | $this->Cell(30,10,'Title',1,0,'C');
27 | // Line break
28 | $this->Ln(20);
29 | }
30 | }
31 |
32 | See also
33 | Footer
34 |
35 |
36 |
37 |
38 |
--------------------------------------------------------------------------------
/assets/libs/dompdf/composer.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "dompdf/dompdf",
3 | "type": "library",
4 | "description": "DOMPDF is a CSS 2.1 compliant HTML to PDF converter",
5 | "homepage": "https://github.com/dompdf/dompdf",
6 | "license": "LGPL-2.1",
7 | "authors": [
8 | {
9 | "name": "Fabien Ménager",
10 | "email": "fabien.menager@gmail.com"
11 | },
12 | {
13 | "name": "Brian Sweeney",
14 | "email": "eclecticgeek@gmail.com"
15 | },
16 | {
17 | "name": "Gabriel Bull",
18 | "email": "me@gabrielbull.com"
19 | }
20 | ],
21 | "autoload": {
22 | "psr-4" : {
23 | "Dompdf\\" : "src/"
24 | },
25 | "classmap" : ["lib/"]
26 | },
27 | "require": {
28 | "php": ">=5.3.0",
29 | "ext-gd": "*",
30 | "ext-dom": "*",
31 | "ext-mbstring": "*",
32 | "phenx/php-font-lib": "0.5.*",
33 | "phenx/php-svg-lib": "0.3.*"
34 | },
35 | "require-dev": {
36 | "phpunit/phpunit": "4.8.*",
37 | "squizlabs/php_codesniffer": "2.*"
38 | },
39 | "extra": {
40 | "branch-alias": {
41 | "dev-develop": "0.7-dev"
42 | }
43 | }
44 | }
45 |
--------------------------------------------------------------------------------
/assets/libs/dompdf/src/JavascriptEmbedder.php:
--------------------------------------------------------------------------------
1 |
6 | * @license http://www.gnu.org/copyleft/lesser.html GNU Lesser General Public License
7 | */
8 | namespace Dompdf;
9 |
10 | use Dompdf\Frame;
11 |
12 | /**
13 | * Embeds Javascript into the PDF document
14 | *
15 | * @package dompdf
16 | */
17 | class JavascriptEmbedder
18 | {
19 |
20 | /**
21 | * @var Dompdf
22 | */
23 | protected $_dompdf;
24 |
25 | /**
26 | * JavascriptEmbedder constructor.
27 | *
28 | * @param Dompdf $dompdf
29 | */
30 | public function __construct(Dompdf $dompdf)
31 | {
32 | $this->_dompdf = $dompdf;
33 | }
34 |
35 | /**
36 | * @param $script
37 | */
38 | public function insert($script)
39 | {
40 | $this->_dompdf->getCanvas()->javascript($script);
41 | }
42 |
43 | /**
44 | * @param \Dompdf\Frame $frame
45 | */
46 | public function render(Frame $frame)
47 | {
48 | if (!$this->_dompdf->getOptions()->getIsJavascriptEnabled()) {
49 | return;
50 | }
51 |
52 | $this->insert($frame->get_node()->nodeValue);
53 | }
54 | }
55 |
--------------------------------------------------------------------------------
/assets/css/demo.css:
--------------------------------------------------------------------------------
1 | @media (min-width: 992px) {
2 | .typo-line {
3 | padding-left: 140px;
4 | margin-bottom: 40px;
5 | position: relative;
6 | }
7 | .typo-line .category {
8 | transform: translateY(-50%);
9 | top: 50%;
10 | left: 0px;
11 | position: absolute;
12 | }
13 | .sidebar .nav>li.active-pro {
14 | position: absolute;
15 | width: 100%;
16 | bottom: 10px;
17 | }
18 | }
19 |
20 | #map {
21 | position: relative;
22 | width: 100%;
23 | height: calc(100% - 60px);
24 | margin-top: 70px;
25 | }
26 |
27 | .places-buttons .btn {
28 | margin-bottom: 30px
29 | }
30 |
31 | .space-70 {
32 | height: 70px;
33 | display: block;
34 | }
35 |
36 | .tim-row {
37 | margin-bottom: 20px;
38 | }
39 |
40 | .tim-typo {
41 | padding-left: 25%;
42 | margin-bottom: 40px;
43 | position: relative;
44 | }
45 |
46 | .tim-typo .tim-note {
47 | bottom: 10px;
48 | color: #c0c1c2;
49 | display: block;
50 | font-weight: 400;
51 | font-size: 13px;
52 | line-height: 13px;
53 | left: 0;
54 | margin-left: 20px;
55 | position: absolute;
56 | width: 260px;
57 | }
58 |
59 | .tim-row {
60 | padding-top: 50px;
61 | }
62 |
63 | .tim-row h3 {
64 | margin-top: 0;
65 | }
--------------------------------------------------------------------------------
/assets/libs/fpdf/doc/text.htm:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | Text
6 |
7 |
8 |
9 | Text
10 | Text(float x, float y, string txt)
11 | Description
12 | Prints a character string. The origin is on the left of the first character, on the baseline.
13 | This method allows to place a string precisely on the page, but it is usually easier to use
14 | Cell(), MultiCell() or Write() which are the standard methods to print text.
15 | Parameters
16 |
17 | x
18 |
19 | Abscissa of the origin.
20 |
21 | y
22 |
23 | Ordinate of the origin.
24 |
25 | txt
26 |
27 | String to print.
28 |
29 |
30 | See also
31 | SetFont ,
32 | SetTextColor ,
33 | Cell ,
34 | MultiCell ,
35 | Write
36 |
37 |
38 |
39 |
40 |
--------------------------------------------------------------------------------
/assets/libs/dompdf/src/FrameReflower/ListBullet.php:
--------------------------------------------------------------------------------
1 |
6 | * @license http://www.gnu.org/copyleft/lesser.html GNU Lesser General Public License
7 | */
8 | namespace Dompdf\FrameReflower;
9 |
10 | use Dompdf\FrameDecorator\Block as BlockFrameDecorator;
11 | use Dompdf\FrameDecorator\AbstractFrameDecorator;
12 |
13 | /**
14 | * Reflows list bullets
15 | *
16 | * @package dompdf
17 | */
18 | class ListBullet extends AbstractFrameReflower
19 | {
20 |
21 | /**
22 | * ListBullet constructor.
23 | * @param AbstractFrameDecorator $frame
24 | */
25 | function __construct(AbstractFrameDecorator $frame)
26 | {
27 | parent::__construct($frame);
28 | }
29 |
30 | /**
31 | * @param BlockFrameDecorator|null $block
32 | */
33 | function reflow(BlockFrameDecorator $block = null)
34 | {
35 | $style = $this->_frame->get_style();
36 |
37 | $style->width = $this->_frame->get_width();
38 | $this->_frame->position();
39 |
40 | if ($style->list_style_position === "inside") {
41 | $p = $this->_frame->find_block_parent();
42 | $p->add_frame_to_line($this->_frame);
43 | }
44 | }
45 | }
46 |
--------------------------------------------------------------------------------
/dashboard/include/cetak_laporan_pendaftar.php:
--------------------------------------------------------------------------------
1 | AliasNbPages();
13 | $pdf->AddPage();
14 |
15 |
16 |
17 | $pdf->Ln(15);
18 | $pdf->Cell(40,10,'',0,0,'L');
19 | $pdf->SetFont('TIMES','B',12);
20 | $pdf->Cell(100,10,'List Pendaftaran',1,1,'C');
21 | $pdf->Ln();
22 | $pdf->SetFont('TIMES','',10);
23 | $pdf->Cell(10,10,'No.',1,0,'C');
24 | $pdf->Cell(40,10,'Nama',1,0,'C');
25 | $pdf->Cell(50,10,'Email',1,0,'C');
26 | $pdf->Cell(20,10,'Usia',1,0,'C');
27 | $pdf->Cell(20,10,'Gender',1,0,'C');
28 | $pdf->Cell(20,10,'Kelas',1,0,'C');
29 | $pdf->Cell(30,10,'Tanggal Daftar',1,1,'C');
30 |
31 | $query = "SELECT * FROM pendaftaran a, akun b, detail_pendaftaran c WHERE a.Id = c.id_user AND b.id_user = a.Id";
32 | $exec = mysqli_query($conn, $query);
33 |
34 | $no = 0;
35 |
36 | $pdf->SetWidths(array(10,40,50,20,20,20,30));
37 |
38 | while ($rows = mysqli_fetch_array($exec)) {
39 | $pdf->Row(array(++$no,$rows['nama'],$rows['email'],$rows['usia'],$rows['jenis_kelamin'],$rows['kelas'],$rows['tanggal_daftar']));
40 | }
41 |
42 |
43 | $pdf->Output();
44 |
45 | ?>
--------------------------------------------------------------------------------
/assets/libs/dompdf/src/Positioner/AbstractPositioner.php:
--------------------------------------------------------------------------------
1 |
6 | * @license http://www.gnu.org/copyleft/lesser.html GNU Lesser General Public License
7 | */
8 |
9 | namespace Dompdf\Positioner;
10 |
11 | use Dompdf\FrameDecorator\AbstractFrameDecorator;
12 |
13 | /**
14 | * Base AbstractPositioner class
15 | *
16 | * Defines postioner interface
17 | *
18 | * @access private
19 | * @package dompdf
20 | */
21 | abstract class AbstractPositioner
22 | {
23 |
24 | /**
25 | * @param AbstractFrameDecorator $frame
26 | * @return mixed
27 | */
28 | abstract function position(AbstractFrameDecorator $frame);
29 |
30 | /**
31 | * @param AbstractFrameDecorator $frame
32 | * @param $offset_x
33 | * @param $offset_y
34 | * @param bool $ignore_self
35 | */
36 | function move(AbstractFrameDecorator $frame, $offset_x, $offset_y, $ignore_self = false)
37 | {
38 | list($x, $y) = $frame->get_position();
39 |
40 | if (!$ignore_self) {
41 | $frame->set_position($x + $offset_x, $y + $offset_y);
42 | }
43 |
44 | foreach ($frame->get_children() as $child) {
45 | $child->move($offset_x, $offset_y);
46 | }
47 | }
48 | }
49 |
--------------------------------------------------------------------------------
/assets/libs/dompdf/lib/html5lib/Parser.php:
--------------------------------------------------------------------------------
1 | parse();
22 | return $tokenizer->save();
23 | }
24 |
25 | /**
26 | * Parses an HTML fragment.
27 | * @param $text | HTML text to parse
28 | * @param $context String name of context element to pretend parsing is in.
29 | * @param $builder | Custom builder implementation
30 | * @return DOMDocument|DOMNodeList Parsed HTML as DOMDocument
31 | */
32 | static public function parseFragment($text, $context = null, $builder = null) {
33 | $tokenizer = new HTML5_Tokenizer($text, $builder);
34 | $tokenizer->parseFragment($context);
35 | return $tokenizer->save();
36 | }
37 | }
38 |
--------------------------------------------------------------------------------
/assets/libs/fpdf/doc/aliasnbpages.htm:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | AliasNbPages
6 |
7 |
8 |
9 | AliasNbPages
10 | AliasNbPages([string alias])
11 | Description
12 | Defines an alias for the total number of pages. It will be substituted as the document is
13 | closed.
14 | Parameters
15 |
16 | alias
17 |
18 | The alias. Default value: {nb}.
19 |
20 |
21 | Example
22 |
23 |
class PDF extends FPDF
24 | {
25 | function Footer()
26 | {
27 | // Go to 1.5 cm from bottom
28 | $this->SetY(-15);
29 | // Select Arial italic 8
30 | $this->SetFont('Arial','I',8);
31 | // Print current and total page numbers
32 | $this->Cell(0,10,'Page '.$this->PageNo().'/{nb}',0,0,'C');
33 | }
34 | }
35 |
36 | $pdf = new PDF();
37 | $pdf->AliasNbPages();
38 |
39 | See also
40 | PageNo ,
41 | Footer
42 |
43 |
44 |
45 |
46 |
--------------------------------------------------------------------------------
/assets/sass/md/_forms.scss:
--------------------------------------------------------------------------------
1 | // This file has been autogenerated by grunt task lessToSass. Any changes will be overwritten.
2 |
3 | @mixin mdb-label-color-toggle-focus(){
4 | // override bootstrap focus and keep all the standard color (could be multiple radios in the form group)
5 | .form-group.is-focused & {
6 | color: $mdb-label-color;
7 |
8 | // on focus just darken the specific labels, do not turn them to the brand-primary
9 | &:hover,
10 | &:focus {
11 | color: $mdb-label-color-toggle-focus;
12 | }
13 |
14 | // correct the above focus color for disabled items
15 | fieldset[disabled] & {
16 | color: $mdb-label-color;
17 | }
18 | }
19 | }
20 |
21 | .form-horizontal {
22 |
23 | // Consistent vertical alignment of radios and checkboxes
24 | .radio,
25 | .checkbox,
26 | .radio-inline,
27 | .checkbox-inline {
28 | padding-top: 0;
29 | }
30 |
31 | .radio {
32 | margin-bottom: 10px;
33 | }
34 |
35 | label {
36 | text-align: right;
37 | }
38 |
39 | label.control-label {
40 | margin: 0;
41 | }
42 | }
43 |
44 | .form-newsletter{
45 | .input-group,
46 | .form-group{
47 | float: left;
48 | width: 78%;
49 | margin-right: 2%;
50 | margin-top: 9px;
51 | }
52 |
53 | .btn{
54 | float: left;
55 | width: 20%;
56 | margin: 9px 0 0;
57 | }
58 | }
59 |
--------------------------------------------------------------------------------
/assets/libs/fpdf/fpdf.css:
--------------------------------------------------------------------------------
1 | body {font-family:"Times New Roman",serif}
2 | h1 {font:bold 135% Arial,sans-serif; color:#4000A0; margin-bottom:0.9em}
3 | h2 {font:bold 95% Arial,sans-serif; color:#900000; margin-top:1.5em; margin-bottom:1em}
4 | dl.param dt {text-decoration:underline}
5 | dl.param dd {margin-top:1em; margin-bottom:1em}
6 | dl.param ul {margin-top:1em; margin-bottom:1em}
7 | tt, code, kbd {font-family:"Courier New",Courier,monospace; font-size:82%}
8 | div.source {margin-top:1.4em; margin-bottom:1.3em}
9 | div.source pre {display:table; border:1px solid #24246A; width:100%; margin:0em; font-family:inherit; font-size:100%}
10 | div.source code {display:block; border:1px solid #C5C5EC; background-color:#F0F5FF; padding:6px; color:#000000}
11 | div.doc-source {margin-top:1.4em; margin-bottom:1.3em}
12 | div.doc-source pre {display:table; width:100%; margin:0em; font-family:inherit; font-size:100%}
13 | div.doc-source code {display:block; background-color:#E0E0E0; padding:4px}
14 | .kw {color:#000080; font-weight:bold}
15 | .str {color:#CC0000}
16 | .cmt {color:#008000}
17 | p.demo {text-align:center; margin-top:-0.9em}
18 | a.demo {text-decoration:none; font-weight:bold; color:#0000CC}
19 | a.demo:link {text-decoration:none; font-weight:bold; color:#0000CC}
20 | a.demo:hover {text-decoration:none; font-weight:bold; color:#0000FF}
21 | a.demo:active {text-decoration:none; font-weight:bold; color:#0000FF}
22 |
--------------------------------------------------------------------------------
/assets/libs/fpdf/doc/settextcolor.htm:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | SetTextColor
6 |
7 |
8 |
9 | SetTextColor
10 | SetTextColor(int r [, int g, int b])
11 | Description
12 | Defines the color used for text. It can be expressed in RGB components or gray scale. The
13 | method can be called before the first page is created and the value is retained from page to
14 | page.
15 | Parameters
16 |
17 | r
18 |
19 | If g et b are given, red component; if not, indicates the gray level.
20 | Value between 0 and 255.
21 |
22 | g
23 |
24 | Green component (between 0 and 255).
25 |
26 | b
27 |
28 | Blue component (between 0 and 255).
29 |
30 |
31 | See also
32 | SetDrawColor ,
33 | SetFillColor ,
34 | Text ,
35 | Cell ,
36 | MultiCell
37 |
38 |
39 |
40 |
41 |
--------------------------------------------------------------------------------
/assets/libs/dompdf/lib/php-font-lib/src/FontLib/Table/Type/hhea.php:
--------------------------------------------------------------------------------
1 |
6 | * @license http://www.gnu.org/copyleft/lesser.html GNU Lesser General Public License
7 | */
8 |
9 | namespace FontLib\Table\Type;
10 | use FontLib\Table\Table;
11 |
12 | /**
13 | * `hhea` font table.
14 | *
15 | * @package php-font-lib
16 | */
17 | class hhea extends Table {
18 | protected $def = array(
19 | "version" => self::Fixed,
20 | "ascent" => self::FWord,
21 | "descent" => self::FWord,
22 | "lineGap" => self::FWord,
23 | "advanceWidthMax" => self::uFWord,
24 | "minLeftSideBearing" => self::FWord,
25 | "minRightSideBearing" => self::FWord,
26 | "xMaxExtent" => self::FWord,
27 | "caretSlopeRise" => self::int16,
28 | "caretSlopeRun" => self::int16,
29 | "caretOffset" => self::FWord,
30 | self::int16,
31 | self::int16,
32 | self::int16,
33 | self::int16,
34 | "metricDataFormat" => self::int16,
35 | "numOfLongHorMetrics" => self::uint16,
36 | );
37 |
38 | function _encode() {
39 | $font = $this->getFont();
40 | $this->data["numOfLongHorMetrics"] = count($font->getSubset());
41 |
42 | return parent::_encode();
43 | }
44 | }
--------------------------------------------------------------------------------
/assets/libs/dompdf/lib/php-font-lib/src/FontLib/Table/Type/nameRecord.php:
--------------------------------------------------------------------------------
1 |
6 | * @license http://www.gnu.org/copyleft/lesser.html GNU Lesser General Public License
7 | */
8 | namespace FontLib\Table\Type;
9 |
10 | use FontLib\Font;
11 | use FontLib\BinaryStream;
12 |
13 | /**
14 | * Font table name record.
15 | *
16 | * @package php-font-lib
17 | */
18 | class nameRecord extends BinaryStream {
19 | public $platformID;
20 | public $platformSpecificID;
21 | public $languageID;
22 | public $nameID;
23 | public $length;
24 | public $offset;
25 | public $string;
26 |
27 | public static $format = array(
28 | "platformID" => self::uint16,
29 | "platformSpecificID" => self::uint16,
30 | "languageID" => self::uint16,
31 | "nameID" => self::uint16,
32 | "length" => self::uint16,
33 | "offset" => self::uint16,
34 | );
35 |
36 | public function map($data) {
37 | foreach ($data as $key => $value) {
38 | $this->$key = $value;
39 | }
40 | }
41 |
42 | public function getUTF8() {
43 | return $this->string;
44 | }
45 |
46 | public function getUTF16() {
47 | return Font::UTF8ToUTF16($this->string);
48 | }
49 |
50 | function __toString() {
51 | return $this->string;
52 | }
53 | }
--------------------------------------------------------------------------------
/assets/libs/dompdf/lib/php-font-lib/src/FontLib/Table/Type/maxp.php:
--------------------------------------------------------------------------------
1 |
6 | * @license http://www.gnu.org/copyleft/lesser.html GNU Lesser General Public License
7 | */
8 |
9 | namespace FontLib\Table\Type;
10 | use FontLib\Table\Table;
11 |
12 | /**
13 | * `maxp` font table.
14 | *
15 | * @package php-font-lib
16 | */
17 | class maxp extends Table {
18 | protected $def = array(
19 | "version" => self::Fixed,
20 | "numGlyphs" => self::uint16,
21 | "maxPoints" => self::uint16,
22 | "maxContours" => self::uint16,
23 | "maxComponentPoints" => self::uint16,
24 | "maxComponentContours" => self::uint16,
25 | "maxZones" => self::uint16,
26 | "maxTwilightPoints" => self::uint16,
27 | "maxStorage" => self::uint16,
28 | "maxFunctionDefs" => self::uint16,
29 | "maxInstructionDefs" => self::uint16,
30 | "maxStackElements" => self::uint16,
31 | "maxSizeOfInstructions" => self::uint16,
32 | "maxComponentElements" => self::uint16,
33 | "maxComponentDepth" => self::uint16,
34 | );
35 |
36 | function _encode() {
37 | $font = $this->getFont();
38 | $this->data["numGlyphs"] = count($font->getSubset());
39 |
40 | return parent::_encode();
41 | }
42 | }
--------------------------------------------------------------------------------
/assets/libs/fpdf/doc/link.htm:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | Link
6 |
7 |
8 |
9 | Link
10 | Link(float x, float y, float w, float h, mixed link)
11 | Description
12 | Puts a link on a rectangular area of the page. Text or image links are generally put via Cell(),
13 | Write() or Image(), but this method can be useful for instance to define a clickable area inside
14 | an image.
15 | Parameters
16 |
17 | x
18 |
19 | Abscissa of the upper-left corner of the rectangle.
20 |
21 | y
22 |
23 | Ordinate of the upper-left corner of the rectangle.
24 |
25 | w
26 |
27 | Width of the rectangle.
28 |
29 | h
30 |
31 | Height of the rectangle.
32 |
33 | link
34 |
35 | URL or identifier returned by AddLink().
36 |
37 |
38 | See also
39 | AddLink ,
40 | Cell ,
41 | Write ,
42 | Image
43 |
44 |
45 |
46 |
47 |
--------------------------------------------------------------------------------
/assets/libs/fpdf/doc/setfillcolor.htm:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | SetFillColor
6 |
7 |
8 |
9 | SetFillColor
10 | SetFillColor(int r [, int g, int b])
11 | Description
12 | Defines the color used for all filling operations (filled rectangles and cell backgrounds).
13 | It can be expressed in RGB components or gray scale. The method can be called before the first
14 | page is created and the value is retained from page to page.
15 | Parameters
16 |
17 | r
18 |
19 | If g and b are given, red component; if not, indicates the gray level.
20 | Value between 0 and 255.
21 |
22 | g
23 |
24 | Green component (between 0 and 255).
25 |
26 | b
27 |
28 | Blue component (between 0 and 255).
29 |
30 |
31 | See also
32 | SetDrawColor ,
33 | SetTextColor ,
34 | Rect ,
35 | Cell ,
36 | MultiCell
37 |
38 |
39 |
40 |
41 |
--------------------------------------------------------------------------------
/assets/libs/fpdf/doc/rect.htm:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | Rect
6 |
7 |
8 |
9 | Rect
10 | Rect(float x, float y, float w, float h [, string style])
11 | Description
12 | Outputs a rectangle. It can be drawn (border only), filled (with no border) or both.
13 | Parameters
14 |
15 | x
16 |
17 | Abscissa of upper-left corner.
18 |
19 | y
20 |
21 | Ordinate of upper-left corner.
22 |
23 | w
24 |
25 | Width.
26 |
27 | h
28 |
29 | Height.
30 |
31 | style
32 |
33 | Style of rendering. Possible values are:
34 |
35 | D or empty string: draw. This is the default value.
36 | F: fill
37 | DF or FD: draw and fill
38 |
39 |
40 |
41 | See also
42 | SetLineWidth ,
43 | SetDrawColor ,
44 | SetFillColor
45 |
46 |
47 |
48 |
49 |
--------------------------------------------------------------------------------
/assets/libs/fpdf/mc_table/info.htm:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | Table with MultiCells
6 |
11 |
12 |
13 | Table with MultiCells
14 | Informations
15 | Author: Olivier
16 | License: FPDF
17 | Description
18 | The goal of this script is to show how to build a table from MultiCells.
19 | As MultiCells go to the next line after being output, the base idea consists in saving the
20 | current position, printing the MultiCell and resetting the position to its right.
21 | There is a difficulty, however, if the table is too long: page breaks. Before outputting a
22 | row, it is necessary to know whether it will cause a break or not. If it does overflow, a
23 | manual page break must be done first.
24 | To do so, the height of the row must be known in advance; it is the maximum of the heights of
25 | the MultiCells it is made up of. To know the height of a MultiCell, the NbLines() method is used:
26 | it returns the number of lines a MultiCell will occupy.
27 |
28 |
29 |
--------------------------------------------------------------------------------
/assets/sass/md/_tabs.scss:
--------------------------------------------------------------------------------
1 | // This file has been autogenerated by grunt task lessToSass. Any changes will be overwritten.
2 |
3 | .nav-tabs {
4 | background: $brand-primary;
5 | border: 0;
6 | border-radius: $border-radius-base;
7 | padding: 0 $padding-base;
8 |
9 | > li {
10 | > a {
11 | color: #FFFFFF;
12 | border: 0;
13 | margin: 0;
14 |
15 | border-radius: $border-radius-base;
16 |
17 | line-height: $mdb-btn-font-size-base * 2;
18 | text-transform: uppercase;
19 | font-size: $mdb-btn-font-size-base;
20 |
21 | &:hover {
22 | background-color: transparent;
23 | border: 0;
24 | }
25 | }
26 | & > a,
27 | & > a:hover,
28 | & > a:focus {
29 | background-color: transparent;
30 | border: 0 !important;
31 | color: #FFFFFF !important;
32 | font-weight: $font-weight-bold;
33 | }
34 | &.disabled > a,
35 | &.disabled > a:hover {
36 | color: rgba(255,255,255,0.5);
37 | }
38 |
39 | .material-icons{
40 | margin: -1px 5px 0 0;
41 | }
42 | }
43 |
44 | >li.active{
45 | & > a,
46 | & > a:hover,
47 | & > a:focus {
48 | background-color: rgba(255,255,255, .2);
49 | transition: background-color .1s .2s;
50 | }
51 | }
52 |
53 | }
54 |
--------------------------------------------------------------------------------
/assets/libs/fpdf/doc/setdrawcolor.htm:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | SetDrawColor
6 |
7 |
8 |
9 | SetDrawColor
10 | SetDrawColor(int r [, int g, int b])
11 | Description
12 | Defines the color used for all drawing operations (lines, rectangles and cell borders). It
13 | can be expressed in RGB components or gray scale. The method can be called before the first
14 | page is created and the value is retained from page to page.
15 | Parameters
16 |
17 | r
18 |
19 | If g et b are given, red component; if not, indicates the gray level.
20 | Value between 0 and 255.
21 |
22 | g
23 |
24 | Green component (between 0 and 255).
25 |
26 | b
27 |
28 | Blue component (between 0 and 255).
29 |
30 |
31 | See also
32 | SetFillColor ,
33 | SetTextColor ,
34 | Line ,
35 | Rect ,
36 | Cell ,
37 | MultiCell
38 |
39 |
40 |
41 |
42 |
--------------------------------------------------------------------------------
/assets/sass/md/_alerts.scss:
--------------------------------------------------------------------------------
1 | // This file has been autogenerated by grunt task lessToSass. Any changes will be overwritten.
2 |
3 | .alert {
4 | border: 0;
5 | border-radius: 0;
6 | position: relative;
7 | padding: 20px 15px;
8 | line-height: 20px;
9 |
10 | b{
11 | font-weight: $font-weight-bold;
12 | text-transform: uppercase;
13 | font-size: $font-size-small;
14 | }
15 | // SASS conversion note: please mirror any content change in _mixins-shared.scss alert-variations-content
16 | @include alert-variations(unquote(".alert"), unquote(""), $mdb-text-color-light);
17 |
18 | &-info, &-danger, &-warning, &-success {
19 | color: $mdb-text-color-light;
20 | }
21 |
22 | &-default {
23 | a, .alert-link {
24 | color: $mdb-text-color-primary;
25 | }
26 | }
27 |
28 | i[data-notify="icon"] {
29 | font-size: 30px;
30 | display: block;
31 | left: 15px;
32 | position: absolute;
33 | top: 50%;
34 | margin-top: -15px;
35 | }
36 |
37 | span{
38 | display: block;
39 | max-width: 89%;
40 | }
41 |
42 | .alert-icon{
43 | display: block;
44 | float: left;
45 | margin-right: $margin-base;
46 |
47 | i{
48 | margin-top: -7px;
49 | top: 5px;
50 | position: relative;
51 | }
52 | }
53 | }
54 |
55 | .alert.alert-with-icon {
56 | padding-left: 65px;
57 | }
58 |
--------------------------------------------------------------------------------
/assets/sass/md/_typography.scss:
--------------------------------------------------------------------------------
1 | h1, .h1 {
2 | font-size: $font-size-h1;
3 | line-height: 1.15em;
4 | }
5 | h2, .h2{
6 | font-size: $font-size-h2;
7 | }
8 | h3, .h3{
9 | font-size: $font-size-h3;
10 | line-height: 1.4em;
11 | margin: 20px 0 10px;
12 | }
13 | h4, .h4{
14 | font-size: $font-size-h4;
15 | line-height: 1.4em;
16 | }
17 | h5, .h5 {
18 | font-size: $font-size-h5;
19 | line-height: 1.4em;
20 | margin-bottom: 15px;
21 | }
22 | h6, .h6{
23 | font-size: $font-size-h6;
24 | text-transform: uppercase;
25 | font-weight: $font-weight-bold;
26 | }
27 |
28 | /*.title,
29 | .card-title,
30 | .info-title,
31 | .footer-brand,
32 | .footer-big h5,
33 | .footer-big h4,
34 | .media .media-heading{
35 | font-weight: $font-weight-extra-bold;
36 | font-family: $font-family-serif;
37 |
38 | &,
39 | a{
40 | color: $black-color;
41 | text-decoration: none;
42 | }
43 | }*/
44 |
45 | h2.title{
46 | margin-bottom: $margin-base * 2;
47 | }
48 |
49 | .description,
50 | .card-description,
51 | .footer-big p{
52 | color: $gray-light;
53 | }
54 |
55 | .text-warning {
56 | color: $brand-warning;
57 | }
58 | .text-primary {
59 | color: $brand-primary;
60 | }
61 | .text-danger {
62 | color: $brand-danger;
63 | }
64 | .text-success {
65 | color: $brand-success;
66 | }
67 | .text-info {
68 | color: $brand-info;
69 | }
70 | .text-rose{
71 | color: $brand-rose;
72 | }
73 | .text-gray{
74 | color: $gray-color;
75 | }
76 |
--------------------------------------------------------------------------------
/assets/libs/dompdf/lib/php-font-lib/src/FontLib/Table/Type/head.php:
--------------------------------------------------------------------------------
1 |
6 | * @license http://www.gnu.org/copyleft/lesser.html GNU Lesser General Public License
7 | */
8 |
9 | namespace FontLib\Table\Type;
10 | use FontLib\Table\Table;
11 | use Exception;
12 |
13 | /**
14 | * `head` font table.
15 | *
16 | * @package php-font-lib
17 | */
18 | class head extends Table {
19 | protected $def = array(
20 | "tableVersion" => self::Fixed,
21 | "fontRevision" => self::Fixed,
22 | "checkSumAdjustment" => self::uint32,
23 | "magicNumber" => self::uint32,
24 | "flags" => self::uint16,
25 | "unitsPerEm" => self::uint16,
26 | "created" => self::longDateTime,
27 | "modified" => self::longDateTime,
28 | "xMin" => self::FWord,
29 | "yMin" => self::FWord,
30 | "xMax" => self::FWord,
31 | "yMax" => self::FWord,
32 | "macStyle" => self::uint16,
33 | "lowestRecPPEM" => self::uint16,
34 | "fontDirectionHint" => self::int16,
35 | "indexToLocFormat" => self::int16,
36 | "glyphDataFormat" => self::int16,
37 | );
38 |
39 | protected function _parse() {
40 | parent::_parse();
41 |
42 | if ($this->data["magicNumber"] != 0x5F0F3CF5) {
43 | throw new Exception("Incorrect magic number (" . dechex($this->data["magicNumber"]) . ")");
44 | }
45 | }
46 | }
--------------------------------------------------------------------------------
/proses_simpan_pendaftaran.php:
--------------------------------------------------------------------------------
1 | $val) {
11 | ${$key} = $val;
12 | }
13 |
14 |
15 | $sql = "INSERT INTO pendaftaran VALUES(null,'$full_name', '$nick_name', '$birth_place'
16 | , '$birth_date' ,'$gender', '$child_number', '$child_total', '$in_jakarta_follow'
17 | , '$father_name', '$birth_place_father','$birth_date_father', '$father_last_education'
18 | , '$father_job', '$father_religion','$mother_name', '$birth_place_mother', '$birth_date_mother'
19 | , '$mother_last_education', '$mother_job', '$mother_religion', '$telp','','','','')";
20 |
21 | $exec = mysqli_query($conn,$sql);
22 |
23 | if ($exec) {
24 |
25 | $id = $conn->insert_id;
26 | //echo $id;
27 | $query = "INSERT INTO akun VALUES(null, '$email', '$password', '',1, $id)";
28 |
29 | $exec_akun = mysqli_query($conn, $query);
30 |
31 | $date_regis = date("Y-m-d");
32 |
33 | $query2 = "INSERT INTO detail_pendaftaran (id_user,tanggal_daftar,status_pendaftaran)
34 | VALUES($id, '$date_regis', 0)";
35 |
36 | $exec_detil = mysqli_query($conn, $query2);
37 |
38 | if ($exec_akun && $exec_detil) {
39 | session_destroy();
40 | echo' ';
41 | }else{
42 | echo mysqli_error($conn);
43 | echo 'gagal';
44 | }
45 |
46 | }else{
47 | echo mysqli_error($conn);
48 | }
49 | }
50 | ?>
--------------------------------------------------------------------------------
/assets/libs/dompdf/src/Positioner/Block.php:
--------------------------------------------------------------------------------
1 |
6 | * @license http://www.gnu.org/copyleft/lesser.html GNU Lesser General Public License
7 | */
8 |
9 | namespace Dompdf\Positioner;
10 |
11 | use Dompdf\FrameDecorator\AbstractFrameDecorator;
12 |
13 | /**
14 | * Positions block frames
15 | *
16 | * @access private
17 | * @package dompdf
18 | */
19 | class Block extends AbstractPositioner {
20 |
21 | function position(AbstractFrameDecorator $frame)
22 | {
23 | $style = $frame->get_style();
24 | $cb = $frame->get_containing_block();
25 | $p = $frame->find_block_parent();
26 |
27 | if ($p) {
28 | $float = $style->float;
29 |
30 | if (!$float || $float === "none") {
31 | $p->add_line(true);
32 | }
33 | $y = $p->get_current_line_box()->y;
34 |
35 | } else {
36 | $y = $cb["y"];
37 | }
38 |
39 | $x = $cb["x"];
40 |
41 | // Relative positionning
42 | if ($style->position === "relative") {
43 | $top = (float)$style->length_in_pt($style->top, $cb["h"]);
44 | //$right = (float)$style->length_in_pt($style->right, $cb["w"]);
45 | //$bottom = (float)$style->length_in_pt($style->bottom, $cb["h"]);
46 | $left = (float)$style->length_in_pt($style->left, $cb["w"]);
47 |
48 | $x += $left;
49 | $y += $top;
50 | }
51 |
52 | $frame->set_position($x, $y);
53 | }
54 | }
55 |
--------------------------------------------------------------------------------
/assets/libs/dompdf/src/PhpEvaluator.php:
--------------------------------------------------------------------------------
1 |
6 | * @license http://www.gnu.org/copyleft/lesser.html GNU Lesser General Public License
7 | */
8 | namespace Dompdf;
9 |
10 | use Dompdf\Frame;
11 |
12 | /**
13 | * Executes inline PHP code during the rendering process
14 | *
15 | * @package dompdf
16 | */
17 | class PhpEvaluator
18 | {
19 |
20 | /**
21 | * @var Canvas
22 | */
23 | protected $_canvas;
24 |
25 | /**
26 | * PhpEvaluator constructor.
27 | * @param Canvas $canvas
28 | */
29 | public function __construct(Canvas $canvas)
30 | {
31 | $this->_canvas = $canvas;
32 | }
33 |
34 | /**
35 | * @param $code
36 | * @param array $vars
37 | */
38 | public function evaluate($code, $vars = array())
39 | {
40 | if (!$this->_canvas->get_dompdf()->getOptions()->getIsPhpEnabled()) {
41 | return;
42 | }
43 |
44 | // Set up some variables for the inline code
45 | $pdf = $this->_canvas;
46 | $fontMetrics = $pdf->get_dompdf()->getFontMetrics();
47 | $PAGE_NUM = $pdf->get_page_number();
48 | $PAGE_COUNT = $pdf->get_page_count();
49 |
50 | // Override those variables if passed in
51 | foreach ($vars as $k => $v) {
52 | $$k = $v;
53 | }
54 |
55 | eval($code);
56 | }
57 |
58 | /**
59 | * @param \Dompdf\Frame $frame
60 | */
61 | public function render(Frame $frame)
62 | {
63 | $this->evaluate($frame->get_node()->nodeValue);
64 | }
65 | }
66 |
--------------------------------------------------------------------------------
/assets/sass/md/_popups.scss:
--------------------------------------------------------------------------------
1 | // This file has been autogenerated by grunt task lessToSass. Any changes will be overwritten.
2 |
3 | .popover, .tooltip-inner {
4 | color: $gray;
5 | line-height: 1.5em;
6 | background: $white-color;
7 | border: none;
8 | border-radius: $border-radius-base;
9 | @include shadow-8dp();
10 | }
11 |
12 | .popover{
13 | padding: 0;
14 | @include shadow-16dp();
15 |
16 | &.left,
17 | &.right,
18 | &.top,
19 | &.bottom{
20 | > .arrow{
21 | border: none;
22 | }
23 | }
24 | }
25 |
26 | .popover-title{
27 | background-color: $white-color;
28 | border: none;
29 | padding: 15px 15px 5px;
30 | font-size: $font-size-h4;
31 | }
32 |
33 | .popover-content{
34 | padding: 10px 15px 15px;
35 | line-height: 1.4;
36 | }
37 |
38 | .tooltip, .tooltip.in {
39 | //opacity: 1;
40 | }
41 | .tooltip.in{
42 | opacity: 1;
43 | @include transform-translate-y(0px);
44 |
45 |
46 | }
47 | .tooltip{
48 | opacity: 0;
49 | transition: opacity, transform .2s ease;
50 | @include transform-translate-y(5px);
51 |
52 | &.left{
53 | .tooltip-arrow{
54 | border-left-color: $white-color;
55 | }
56 | }
57 | &.right{
58 | .tooltip-arrow{
59 | border-right-color: $white-color;
60 | }
61 | }
62 | &.top{
63 | .tooltip-arrow{
64 | border-top-color: $white-color;
65 | }
66 | }
67 | &.bottom{
68 | .tooltip-arrow{
69 | border-bottom-color: $white-color;
70 | }
71 | }
72 | }
73 |
74 | .tooltip-inner{
75 | padding: 10px 15px;
76 | min-width: 130px;
77 | }
78 |
--------------------------------------------------------------------------------
/assets/libs/dompdf/lib/php-font-lib/tests/FontLib/FontTest.php:
--------------------------------------------------------------------------------
1 | assertInstanceOf('FontLib\TrueType\File', $trueTypeFont);
22 | }
23 |
24 | public function test12CmapFormat()
25 | {
26 | $trueTypeFont = Font::load('sample-fonts/NotoSansShavian-Regular.ttf');
27 |
28 | $trueTypeFont->parse();
29 |
30 | $cmapTable = $trueTypeFont->getData("cmap", "subtables");
31 |
32 | $cmapFormat4Table = $cmapTable[0];
33 |
34 | $this->assertEquals(4, $cmapFormat4Table['format']);
35 | $this->assertEquals(6, $cmapFormat4Table['segCount']);
36 | $this->assertEquals($cmapFormat4Table['segCount'], count($cmapFormat4Table['startCode']));
37 | $this->assertEquals($cmapFormat4Table['segCount'], count($cmapFormat4Table['endCode']));
38 |
39 | $cmapFormat12Table = $cmapTable[1];
40 |
41 | $this->assertEquals(12, $cmapFormat12Table['format']);
42 | $this->assertEquals(6, $cmapFormat12Table['ngroups']);
43 | $this->assertEquals(6, count($cmapFormat12Table['startCode']));
44 | $this->assertEquals(6, count($cmapFormat12Table['endCode']));
45 | $this->assertEquals(53, count($cmapFormat12Table['glyphIndexArray']));
46 | }
47 |
48 | }
--------------------------------------------------------------------------------
/assets/libs/dompdf/src/Renderer/TableRowGroup.php:
--------------------------------------------------------------------------------
1 |
6 | * @license http://www.gnu.org/copyleft/lesser.html GNU Lesser General Public License
7 | */
8 | namespace Dompdf\Renderer;
9 |
10 | use Dompdf\Frame;
11 |
12 | /**
13 | * Renders block frames
14 | *
15 | * @package dompdf
16 | */
17 | class TableRowGroup extends Block
18 | {
19 |
20 | /**
21 | * @param Frame $frame
22 | */
23 | function render(Frame $frame)
24 | {
25 | $style = $frame->get_style();
26 |
27 | $this->_set_opacity($frame->get_opacity($style->opacity));
28 |
29 | $this->_render_border($frame);
30 | $this->_render_outline($frame);
31 |
32 | if ($this->_dompdf->getOptions()->getDebugLayout() && $this->_dompdf->getOptions()->getDebugLayoutBlocks()) {
33 | $this->_debug_layout($frame->get_border_box(), "red");
34 | if ($this->_dompdf->getOptions()->getDebugLayoutPaddingBox()) {
35 | $this->_debug_layout($frame->get_padding_box(), "red", array(0.5, 0.5));
36 | }
37 | }
38 |
39 | if ($this->_dompdf->getOptions()->getDebugLayout() && $this->_dompdf->getOptions()->getDebugLayoutLines() && $frame->get_decorator()) {
40 | foreach ($frame->get_decorator()->get_line_boxes() as $line) {
41 | $frame->_debug_layout(array($line->x, $line->y, $line->w, $line->h), "orange");
42 | }
43 | }
44 |
45 | $id = $frame->get_node()->getAttribute("id");
46 | if (strlen($id) > 0) {
47 | $this->_canvas->add_named_dest($id);
48 | }
49 | }
50 | }
51 |
--------------------------------------------------------------------------------
/assets/libs/fpdf/doc/write.htm:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | Write
6 |
7 |
8 |
9 | Write
10 | Write(float h, string txt [, mixed link])
11 | Description
12 | This method prints text from the current position. When the right margin is reached (or the \n
13 | character is met) a line break occurs and text continues from the left margin. Upon method exit,
14 | the current position is left just at the end of the text.
15 |
16 | It is possible to put a link on the text.
17 | Parameters
18 |
19 | h
20 |
21 | Line height.
22 |
23 | txt
24 |
25 | String to print.
26 |
27 | link
28 |
29 | URL or identifier returned by AddLink().
30 |
31 |
32 | Example
33 |
34 |
// Begin with regular font
35 | $pdf->SetFont('Arial','',14);
36 | $pdf->Write(5,'Visit ');
37 | // Then put a blue underlined link
38 | $pdf->SetTextColor(0,0,255);
39 | $pdf->SetFont('','U');
40 | $pdf->Write(5,'www.fpdf.org','http://www.fpdf.org');
41 |
42 | See also
43 | SetFont ,
44 | SetTextColor ,
45 | AddLink ,
46 | MultiCell ,
47 | SetAutoPageBreak
48 |
49 |
50 |
51 |
52 |
--------------------------------------------------------------------------------
/assets/libs/dompdf/src/CanvasFactory.php:
--------------------------------------------------------------------------------
1 |
6 | * @license http://www.gnu.org/copyleft/lesser.html GNU Lesser General Public License
7 | */
8 | namespace Dompdf;
9 |
10 | /**
11 | * Create canvas instances
12 | *
13 | * The canvas factory creates canvas instances based on the
14 | * availability of rendering backends and config options.
15 | *
16 | * @package dompdf
17 | */
18 | class CanvasFactory
19 | {
20 | /**
21 | * Constructor is private: this is a static class
22 | */
23 | private function __construct()
24 | {
25 | }
26 |
27 | /**
28 | * @param Dompdf $dompdf
29 | * @param string|array $paper
30 | * @param string $orientation
31 | * @param string $class
32 | *
33 | * @return Canvas
34 | */
35 | static function get_instance(Dompdf $dompdf, $paper = null, $orientation = null, $class = null)
36 | {
37 | $backend = strtolower($dompdf->getOptions()->getPdfBackend());
38 |
39 | if (isset($class) && class_exists($class, false)) {
40 | $class .= "_Adapter";
41 | } else {
42 | if (($backend === "auto" || $backend === "pdflib") &&
43 | class_exists("PDFLib", false)
44 | ) {
45 | $class = "Dompdf\\Adapter\\PDFLib";
46 | }
47 |
48 | else {
49 | if ($backend === "gd") {
50 | $class = "Dompdf\\Adapter\\GD";
51 | } else {
52 | $class = "Dompdf\\Adapter\\CPDF";
53 | }
54 | }
55 | }
56 |
57 | return new $class($paper, $orientation, $dompdf);
58 | }
59 | }
60 |
--------------------------------------------------------------------------------
/assets/libs/dompdf/lib/php-font-lib/src/FontLib/Table/Type/os2.php:
--------------------------------------------------------------------------------
1 |
6 | * @license http://www.gnu.org/copyleft/lesser.html GNU Lesser General Public License
7 | */
8 |
9 | namespace FontLib\Table\Type;
10 | use FontLib\Table\Table;
11 |
12 | /**
13 | * `OS/2` font table.
14 | *
15 | * @package php-font-lib
16 | */
17 | class os2 extends Table {
18 | protected $def = array(
19 | "version" => self::uint16,
20 | "xAvgCharWidth" => self::int16,
21 | "usWeightClass" => self::uint16,
22 | "usWidthClass" => self::uint16,
23 | "fsType" => self::int16,
24 | "ySubscriptXSize" => self::int16,
25 | "ySubscriptYSize" => self::int16,
26 | "ySubscriptXOffset" => self::int16,
27 | "ySubscriptYOffset" => self::int16,
28 | "ySuperscriptXSize" => self::int16,
29 | "ySuperscriptYSize" => self::int16,
30 | "ySuperscriptXOffset" => self::int16,
31 | "ySuperscriptYOffset" => self::int16,
32 | "yStrikeoutSize" => self::int16,
33 | "yStrikeoutPosition" => self::int16,
34 | "sFamilyClass" => self::int16,
35 | "panose" => array(self::uint8, 10),
36 | "ulCharRange" => array(self::uint32, 4),
37 | "achVendID" => array(self::char, 4),
38 | "fsSelection" => self::uint16,
39 | "fsFirstCharIndex" => self::uint16,
40 | "fsLastCharIndex" => self::uint16,
41 | "typoAscender" => self::int16,
42 | "typoDescender" => self::int16,
43 | "typoLineGap" => self::int16,
44 | "winAscent" => self::int16,
45 | "winDescent" => self::int16,
46 | );
47 | }
--------------------------------------------------------------------------------
/assets/libs/dompdf/lib/php-font-lib/src/FontLib/Table/Type/hmtx.php:
--------------------------------------------------------------------------------
1 |
6 | * @license http://www.gnu.org/copyleft/lesser.html GNU Lesser General Public License
7 | */
8 |
9 | namespace FontLib\Table\Type;
10 | use FontLib\Table\Table;
11 |
12 | /**
13 | * `hmtx` font table.
14 | *
15 | * @package php-font-lib
16 | */
17 | class hmtx extends Table {
18 | protected function _parse() {
19 | $font = $this->getFont();
20 | $offset = $font->pos();
21 |
22 | $numOfLongHorMetrics = $font->getData("hhea", "numOfLongHorMetrics");
23 | $numGlyphs = $font->getData("maxp", "numGlyphs");
24 |
25 | $font->seek($offset);
26 |
27 | $data = array();
28 | $metrics = $font->readUInt16Many($numOfLongHorMetrics * 2);
29 | for ($gid = 0, $mid = 0; $gid < $numOfLongHorMetrics; $gid++) {
30 | $advanceWidth = isset($metrics[$mid]) ? $metrics[$mid] : 0;
31 | $mid += 1;
32 | $leftSideBearing = isset($metrics[$mid]) ? $metrics[$mid] : 0;
33 | $mid += 1;
34 | $data[$gid] = array($advanceWidth, $leftSideBearing);
35 | }
36 |
37 | if ($numOfLongHorMetrics < $numGlyphs) {
38 | $lastWidth = end($data);
39 | $data = array_pad($data, $numGlyphs, $lastWidth);
40 | }
41 |
42 | $this->data = $data;
43 | }
44 |
45 | protected function _encode() {
46 | $font = $this->getFont();
47 | $subset = $font->getSubset();
48 | $data = $this->data;
49 |
50 | $length = 0;
51 |
52 | foreach ($subset as $gid) {
53 | $length += $font->writeUInt16($data[$gid][0]);
54 | $length += $font->writeUInt16($data[$gid][1]);
55 | }
56 |
57 | return $length;
58 | }
59 | }
--------------------------------------------------------------------------------
/assets/libs/dompdf/lib/php-svg-lib/src/Svg/Tag/Shape.php:
--------------------------------------------------------------------------------
1 |
6 | * @license http://www.gnu.org/copyleft/lesser.html GNU Lesser General Public License
7 | */
8 |
9 | namespace Svg\Tag;
10 |
11 | use Svg\Style;
12 |
13 | class Shape extends AbstractTag
14 | {
15 | protected function before($attributes)
16 | {
17 | $surface = $this->document->getSurface();
18 |
19 | $surface->save();
20 |
21 | $style = $this->makeStyle($attributes);
22 |
23 | $this->setStyle($style);
24 | $surface->setStyle($style);
25 |
26 | $this->applyTransform($attributes);
27 | }
28 |
29 | protected function after()
30 | {
31 | $surface = $this->document->getSurface();
32 |
33 | if ($this->hasShape) {
34 | $style = $surface->getStyle();
35 |
36 | $fill = $style->fill && is_array($style->fill);
37 | $stroke = $style->stroke && is_array($style->stroke);
38 |
39 | if ($fill) {
40 | if ($stroke) {
41 | $surface->fillStroke();
42 | } else {
43 | // if (is_string($style->fill)) {
44 | // /** @var LinearGradient|RadialGradient $gradient */
45 | // $gradient = $this->getDocument()->getDef($style->fill);
46 | //
47 | // var_dump($gradient->getStops());
48 | // }
49 |
50 | $surface->fill();
51 | }
52 | }
53 | elseif ($stroke) {
54 | $surface->stroke();
55 | }
56 | else {
57 | $surface->endPath();
58 | }
59 | }
60 |
61 | $surface->restore();
62 | }
63 | }
--------------------------------------------------------------------------------
/assets/libs/fpdf/doc/setdisplaymode.htm:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | SetDisplayMode
6 |
7 |
8 |
9 | SetDisplayMode
10 | SetDisplayMode(mixed zoom [, string layout])
11 | Description
12 | Defines the way the document is to be displayed by the viewer. The zoom level can be set: pages can be
13 | displayed entirely on screen, occupy the full width of the window, use real size, be scaled by a
14 | specific zooming factor or use viewer default (configured in the Preferences menu of Adobe Reader).
15 | The page layout can be specified too: single at once, continuous display, two columns or viewer
16 | default.
17 | Parameters
18 |
19 | zoom
20 |
21 | The zoom to use. It can be one of the following string values:
22 |
23 | fullpage: displays the entire page on screen
24 | fullwidth: uses maximum width of window
25 | real: uses real size (equivalent to 100% zoom)
26 | default: uses viewer default mode
27 |
28 | or a number indicating the zooming factor to use.
29 |
30 | layout
31 |
32 | The page layout. Possible values are:
33 |
34 | single: displays one page at once
35 | continuous: displays pages continuously
36 | two: displays two pages on two columns
37 | default: uses viewer default mode
38 |
39 | Default value is default.
40 |
41 |
42 |
43 |
44 |
45 |
46 |
--------------------------------------------------------------------------------
/assets/libs/dompdf/src/Frame/FrameListIterator.php:
--------------------------------------------------------------------------------
1 | _parent = $frame;
40 | $this->_cur = $frame->get_first_child();
41 | $this->_num = 0;
42 | }
43 |
44 | /**
45 | *
46 | */
47 | public function rewind()
48 | {
49 | $this->_cur = $this->_parent->get_first_child();
50 | $this->_num = 0;
51 | }
52 |
53 | /**
54 | * @return bool
55 | */
56 | public function valid()
57 | {
58 | return isset($this->_cur); // && ($this->_cur->get_prev_sibling() === $this->_prev);
59 | }
60 |
61 | /**
62 | * @return int
63 | */
64 | public function key()
65 | {
66 | return $this->_num;
67 | }
68 |
69 | /**
70 | * @return Frame
71 | */
72 | public function current()
73 | {
74 | return $this->_cur;
75 | }
76 |
77 | /**
78 | * @return Frame
79 | */
80 | public function next()
81 | {
82 | $ret = $this->_cur;
83 | if (!$ret) {
84 | return null;
85 | }
86 |
87 | $this->_cur = $this->_cur->get_next_sibling();
88 | $this->_num++;
89 | return $ret;
90 | }
91 | }
--------------------------------------------------------------------------------
/assets/sass/material-dashboard.scss:
--------------------------------------------------------------------------------
1 | ---
2 | # Front matter comment to ensure Jekyll properly reads file.
3 | ---
4 |
5 | /*!
6 |
7 | =========================================================
8 | * Material Dashboard - v1.2.0
9 | =========================================================
10 |
11 | * Product Page: http://www.creative-tim.com/product/material-dashboard
12 | * Copyright 2017 Creative Tim (http://www.creative-tim.com)
13 | * Licensed under MIT (https://github.com/creativetimofficial/material-dashboard/blob/master/LICENSE.md)
14 |
15 | =========================================================
16 |
17 | * The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
18 |
19 | */
20 |
21 |
22 | //variables and mixins
23 | @import "../_scss/md/variables";
24 | @import "../_scss/md/mixins";
25 | @import "../_scss/md/shadows";
26 |
27 | //plugin css
28 | @import "../_scss/md/plugins/_plugin-nouislider";
29 | @import "../_scss/md/plugins/_animate";
30 | @import "../_scss/md/plugins/_perfect-scrollbar";
31 |
32 | // Core CSS
33 | @import "../_scss/md/typography";
34 | @import "../_scss/md/sidebar-and-main-panel";
35 | @import "../_scss/md/buttons";
36 | @import "../_scss/md/misc";
37 | @import "../_scss/md/inputs";
38 | @import "../_scss/md/forms";
39 | @import "../_scss/md/alerts";
40 | @import "../_scss/md/tables";
41 | @import "../_scss/md/checkboxes";
42 | @import "../_scss/md/radios";
43 | @import "../_scss/md/togglebutton";
44 | @import "../_scss/md/ripples";
45 | @import "../_scss/md/pagination";
46 | @import "../_scss/md/pills";
47 | @import "../_scss/md/dialogs";
48 | @import "../_scss/md/navbars";
49 | @import "../_scss/md/popups";
50 | @import "../_scss/md/footers";
51 |
52 | // Fancy Stuff
53 | @import "../_scss/md/dropdown";
54 | @import "../_scss/md/cards";
55 | @import "../_scss/md/tabs";
56 | @import "../_scss/md/chartist";
57 | @import "../_scss/md/responsive";
58 |
--------------------------------------------------------------------------------
/assets/libs/fpdf/doc/output.htm:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | Output
6 |
7 |
8 |
9 | Output
10 | string Output([string dest [, string name [, boolean isUTF8]]])
11 | Description
12 | Send the document to a given destination: browser, file or string. In the case of a browser, the
13 | PDF viewer may be used or a download may be forced.
14 |
15 | The method first calls Close() if necessary to terminate the document.
16 | Parameters
17 |
18 | dest
19 |
20 | Destination where to send the document. It can be one of the following:
21 |
22 | I: send the file inline to the browser. The PDF viewer is used if available.
23 | D: send to the browser and force a file download with the name given by name.
24 | F: save to a local file with the name given by name (may include a path).
25 | S: return the document as a string.
26 |
27 | The default value is I.
28 |
29 | name
30 |
31 | The name of the file. It is ignored in case of destination S.
32 | The default value is doc.pdf.
33 |
34 | isUTF8
35 |
36 | Indicates if name is encoded in ISO-8859-1 (false) or UTF-8 (true).
37 | Only used for destinations I and D.
38 | The default value is false.
39 |
40 |
41 | See also
42 | Close
43 |
44 |
45 |
46 |
47 |
--------------------------------------------------------------------------------
/assets/libs/fpdf/doc/acceptpagebreak.htm:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | AcceptPageBreak
6 |
7 |
8 |
9 | AcceptPageBreak
10 | boolean AcceptPageBreak()
11 | Description
12 | Whenever a page break condition is met, the method is called, and the break is issued or not
13 | depending on the returned value. The default implementation returns a value according to the
14 | mode selected by SetAutoPageBreak().
15 |
16 | This method is called automatically and should not be called directly by the application.
17 | Example
18 | The method is overriden in an inherited class in order to obtain a 3 column layout:
19 |
20 |
class PDF extends FPDF
21 | {
22 | var $col = 0;
23 |
24 | function SetCol($col)
25 | {
26 | // Move position to a column
27 | $this->col = $col;
28 | $x = 10+$col*65;
29 | $this->SetLeftMargin($x);
30 | $this->SetX($x);
31 | }
32 |
33 | function AcceptPageBreak()
34 | {
35 | if($this->col<2)
36 | {
37 | // Go to next column
38 | $this->SetCol($this->col+1);
39 | $this->SetY(10);
40 | return false;
41 | }
42 | else
43 | {
44 | // Go back to first column and issue page break
45 | $this->SetCol(0);
46 | return true;
47 | }
48 | }
49 | }
50 |
51 | $pdf = new PDF();
52 | $pdf->AddPage();
53 | $pdf->SetFont('Arial','',12);
54 | for($i=1;$i<=300;$i++)
55 | $pdf->Cell(0,5,"Line $i",0,1);
56 | $pdf->Output();
57 |
58 | See also
59 | SetAutoPageBreak
60 |
61 |
62 |
63 |
64 |
--------------------------------------------------------------------------------
/assets/libs/dompdf/src/FrameDecorator/TableRow.php:
--------------------------------------------------------------------------------
1 |
6 | * @license http://www.gnu.org/copyleft/lesser.html GNU Lesser General Public License
7 | */
8 | namespace Dompdf\FrameDecorator;
9 |
10 | use Dompdf\Dompdf;
11 | use Dompdf\Frame;
12 | use Dompdf\FrameDecorator\Table as TableFrameDecorator;
13 |
14 | /**
15 | * Decorates Frames for table row layout
16 | *
17 | * @package dompdf
18 | */
19 | class TableRow extends AbstractFrameDecorator
20 | {
21 | /**
22 | * TableRow constructor.
23 | * @param Frame $frame
24 | * @param Dompdf $dompdf
25 | */
26 | function __construct(Frame $frame, Dompdf $dompdf)
27 | {
28 | parent::__construct($frame, $dompdf);
29 | }
30 |
31 | //........................................................................
32 |
33 | /**
34 | * Remove all non table-cell frames from this row and move them after
35 | * the table.
36 | */
37 | function normalise()
38 | {
39 | // Find our table parent
40 | $p = TableFrameDecorator::find_parent_table($this);
41 |
42 | $erroneous_frames = array();
43 | foreach ($this->get_children() as $child) {
44 | $display = $child->get_style()->display;
45 |
46 | if ($display !== "table-cell") {
47 | $erroneous_frames[] = $child;
48 | }
49 | }
50 |
51 | // dump the extra nodes after the table.
52 | foreach ($erroneous_frames as $frame) {
53 | $p->move_after($frame);
54 | }
55 | }
56 |
57 | function split(Frame $child = null, $force_pagebreak = false)
58 | {
59 | $this->_already_pushed = true;
60 |
61 | if (is_null($child)) {
62 | parent::split();
63 | return;
64 | }
65 |
66 | parent::split($child, $force_pagebreak);
67 | }
68 | }
69 |
--------------------------------------------------------------------------------
/assets/libs/fpdf/doc/addfont.htm:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | AddFont
6 |
7 |
8 |
9 | AddFont
10 | AddFont(string family [, string style [, string file]])
11 | Description
12 | Imports a TrueType, OpenType or Type1 font and makes it available. It is necessary to generate a font
13 | definition file first with the MakeFont utility.
14 |
15 | The definition file (and the font file itself when embedding) must be present in the font directory.
16 | If it is not found, the error "Could not include font definition file" is raised.
17 | Parameters
18 |
19 | family
20 |
21 | Font family. The name can be chosen arbitrarily. If it is a standard family name, it will
22 | override the corresponding font.
23 |
24 | style
25 |
26 | Font style. Possible values are (case insensitive):
27 |
28 | empty string: regular
29 | B: bold
30 | I: italic
31 | BI or IB: bold italic
32 |
33 | The default value is regular.
34 |
35 | file
36 |
37 | The font definition file.
38 |
39 | By default, the name is built from the family and style, in lower case with no space.
40 |
41 |
42 | Example
43 |
44 |
$pdf->AddFont('Comic','I');
45 |
46 | is equivalent to:
47 |
48 |
$pdf->AddFont('Comic','I','comici.php');
49 |
50 | See also
51 | SetFont
52 |
53 |
54 |
55 |
56 |
--------------------------------------------------------------------------------
/assets/libs/dompdf/lib/php-svg-lib/src/Svg/Tag/Text.php:
--------------------------------------------------------------------------------
1 |
6 | * @license http://www.gnu.org/copyleft/lesser.html GNU Lesser General Public License
7 | */
8 |
9 | namespace Svg\Tag;
10 |
11 | class Text extends Shape
12 | {
13 | protected $x = 0;
14 | protected $y = 0;
15 | protected $text = "";
16 |
17 | public function start($attributes)
18 | {
19 | $document = $this->document;
20 | $height = $this->document->getHeight();
21 | $this->y = $height;
22 |
23 | if (isset($attributes['x'])) {
24 | $this->x = $attributes['x'];
25 | }
26 | if (isset($attributes['y'])) {
27 | $this->y = $height - $attributes['y'];
28 | }
29 |
30 | $document->getSurface()->transform(1, 0, 0, -1, 0, $height);
31 | }
32 |
33 | public function end()
34 | {
35 | $surface = $this->document->getSurface();
36 | $x = $this->x;
37 | $y = $this->y;
38 | $style = $surface->getStyle();
39 | $surface->setFont($style->fontFamily, $style->fontStyle, $style->fontWeight);
40 |
41 | switch ($style->textAnchor) {
42 | case "middle":
43 | $width = $surface->measureText($this->text);
44 | $x -= $width / 2;
45 | break;
46 |
47 | case "end":
48 | $width = $surface->measureText($this->text);
49 | $x -= $width;
50 | break;
51 | }
52 |
53 | $surface->fillText($this->getText(), $x, $y);
54 | }
55 |
56 | protected function after()
57 | {
58 | $this->document->getSurface()->restore();
59 | }
60 |
61 | public function appendText($text)
62 | {
63 | $this->text .= $text;
64 | }
65 |
66 | public function getText()
67 | {
68 | return trim($this->text);
69 | }
70 | }
71 |
--------------------------------------------------------------------------------
/assets/libs/dompdf/src/Frame/FrameTreeIterator.php:
--------------------------------------------------------------------------------
1 | _stack[] = $this->_root = $root;
38 | $this->_num = 0;
39 | }
40 |
41 | /**
42 | *
43 | */
44 | public function rewind()
45 | {
46 | $this->_stack = array($this->_root);
47 | $this->_num = 0;
48 | }
49 |
50 | /**
51 | * @return bool
52 | */
53 | public function valid()
54 | {
55 | return count($this->_stack) > 0;
56 | }
57 |
58 | /**
59 | * @return int
60 | */
61 | public function key()
62 | {
63 | return $this->_num;
64 | }
65 |
66 | /**
67 | * @return Frame
68 | */
69 | public function current()
70 | {
71 | return end($this->_stack);
72 | }
73 |
74 | /**
75 | * @return Frame
76 | */
77 | public function next()
78 | {
79 | $b = end($this->_stack);
80 |
81 | // Pop last element
82 | unset($this->_stack[key($this->_stack)]);
83 | $this->_num++;
84 |
85 | // Push all children onto the stack in reverse order
86 | if ($c = $b->get_last_child()) {
87 | $this->_stack[] = $c;
88 | while ($c = $c->get_prev_sibling()) {
89 | $this->_stack[] = $c;
90 | }
91 | }
92 |
93 | return $b;
94 | }
95 | }
96 |
97 |
--------------------------------------------------------------------------------
/index.php:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 | Penerimaan Siswa Baru
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
37 |
38 |
46 |
47 |
48 |
49 |
50 |
51 |
52 |
--------------------------------------------------------------------------------
/assets/libs/fpdf/tutorial/tuto3.php:
--------------------------------------------------------------------------------
1 | SetFont('Arial','B',15);
12 | // Calculate width of title and position
13 | $w = $this->GetStringWidth($title)+6;
14 | $this->SetX((210-$w)/2);
15 | // Colors of frame, background and text
16 | $this->SetDrawColor(0,80,180);
17 | $this->SetFillColor(230,230,0);
18 | $this->SetTextColor(220,50,50);
19 | // Thickness of frame (1 mm)
20 | $this->SetLineWidth(1);
21 | // Title
22 | $this->Cell($w,9,$title,1,1,'C',true);
23 | // Line break
24 | $this->Ln(10);
25 | }
26 |
27 | function Footer()
28 | {
29 | // Position at 1.5 cm from bottom
30 | $this->SetY(-15);
31 | // Arial italic 8
32 | $this->SetFont('Arial','I',8);
33 | // Text color in gray
34 | $this->SetTextColor(128);
35 | // Page number
36 | $this->Cell(0,10,'Page '.$this->PageNo(),0,0,'C');
37 | }
38 |
39 | function ChapterTitle($num, $label)
40 | {
41 | // Arial 12
42 | $this->SetFont('Arial','',12);
43 | // Background color
44 | $this->SetFillColor(200,220,255);
45 | // Title
46 | $this->Cell(0,6,"Chapter $num : $label",0,1,'L',true);
47 | // Line break
48 | $this->Ln(4);
49 | }
50 |
51 | function ChapterBody($file)
52 | {
53 | // Read text file
54 | $txt = file_get_contents($file);
55 | // Times 12
56 | $this->SetFont('Times','',12);
57 | // Output justified text
58 | $this->MultiCell(0,5,$txt);
59 | // Line break
60 | $this->Ln();
61 | // Mention in italics
62 | $this->SetFont('','I');
63 | $this->Cell(0,5,'(end of excerpt)');
64 | }
65 |
66 | function PrintChapter($num, $title, $file)
67 | {
68 | $this->AddPage();
69 | $this->ChapterTitle($num,$title);
70 | $this->ChapterBody($file);
71 | }
72 | }
73 |
74 | $pdf = new PDF();
75 | $title = '20000 Leagues Under the Seas';
76 | $pdf->SetTitle($title);
77 | $pdf->SetAuthor('Jules Verne');
78 | $pdf->PrintChapter(1,'A RUNAWAY REEF','20k_c1.txt');
79 | $pdf->PrintChapter(2,'THE PROS AND CONS','20k_c2.txt');
80 | $pdf->Output();
81 | ?>
82 |
--------------------------------------------------------------------------------
/assets/libs/dompdf/src/FrameDecorator/TableRowGroup.php:
--------------------------------------------------------------------------------
1 |
6 | * @license http://www.gnu.org/copyleft/lesser.html GNU Lesser General Public License
7 | */
8 | namespace Dompdf\FrameDecorator;
9 |
10 | use Dompdf\Dompdf;
11 | use Dompdf\Frame;
12 |
13 | /**
14 | * Table row group decorator
15 | *
16 | * Overrides split() method for tbody, thead & tfoot elements
17 | *
18 | * @package dompdf
19 | */
20 | class TableRowGroup extends AbstractFrameDecorator
21 | {
22 |
23 | /**
24 | * Class constructor
25 | *
26 | * @param Frame $frame Frame to decorate
27 | * @param Dompdf $dompdf Current dompdf instance
28 | */
29 | function __construct(Frame $frame, Dompdf $dompdf)
30 | {
31 | parent::__construct($frame, $dompdf);
32 | }
33 |
34 | /**
35 | * Override split() to remove all child rows and this element from the cellmap
36 | *
37 | * @param Frame $child
38 | * @param bool $force_pagebreak
39 | *
40 | * @return void
41 | */
42 | function split(Frame $child = null, $force_pagebreak = false)
43 | {
44 | if (is_null($child)) {
45 | parent::split();
46 | return;
47 | }
48 |
49 | // Remove child & all subsequent rows from the cellmap
50 | $cellmap = $this->get_parent()->get_cellmap();
51 | $iter = $child;
52 |
53 | while ($iter) {
54 | $cellmap->remove_row($iter);
55 | $iter = $iter->get_next_sibling();
56 | }
57 |
58 | // If we are splitting at the first child remove the
59 | // table-row-group from the cellmap as well
60 | if ($child === $this->get_first_child()) {
61 | $cellmap->remove_row_group($this);
62 | parent::split();
63 | return;
64 | }
65 |
66 | $cellmap->update_row_group($this, $child->get_prev_sibling());
67 | parent::split($child);
68 | }
69 | }
70 |
71 |
--------------------------------------------------------------------------------
/dashboard/include/cetak_laporan_kegiatan.php:
--------------------------------------------------------------------------------
1 | AliasNbPages();
13 | $pdf->AddPage();
14 |
15 |
16 |
17 | $pdf->Ln(15);
18 | $pdf->Cell(40,10,'',0,0,'L');
19 | $pdf->SetFont('TIMES','B',12);
20 | $pdf->Cell(100,10,'List Pembayaran Kegiatan',1,1,'C');
21 | $pdf->Ln();
22 | $pdf->SetFont('TIMES','',10);
23 | $pdf->Cell(20,10,'No.',1,0,'C');
24 | $pdf->Cell(20,10,'Nama',1,0,'C');
25 | $pdf->Cell(30,10,'Email',1,0,'C');
26 | $pdf->Cell(50,10,'Status Pembayaran',1,0,'C');
27 | $pdf->Cell(10,10,'Kelas',1,0,'C');
28 | $pdf->Cell(30,10,'Tanggal Bayar',1,0,'C');
29 | $pdf->Cell(30,10,'Jumlah',1,1,'C');
30 |
31 | $query = "SELECT a.nama nama, c.email email,
32 | b.status_kegiatan status, b.status_kegiatan,
33 | b.kelas,b.tanggal_kegiatan,b.biaya_kegiatan,
34 | b.Id idd
35 | FROM pendaftaran a, detail_pendaftaran b, akun c
36 | WHERE a.Id=b.id_user AND c.id_user=a.Id";
37 | $exec = mysqli_query($conn, $query);
38 |
39 | $no = 0;
40 |
41 | $pdf->SetWidths(array(20,20,30,50,10,30,30));
42 |
43 | $status = '';
44 |
45 | $total = 0;
46 |
47 | while ($rows = mysqli_fetch_array($exec)) {
48 |
49 | if ($rows['status'] == 0) {
50 | $status = 'Belum Bayar';
51 | }else{
52 | $status = 'Sudah Bayar';
53 | }
54 |
55 | $total += $rows['biaya_kegiatan'];
56 |
57 | $pdf->Row(array(++$no,$rows['nama'],$rows['email'],$status,$rows['kelas'],$rows['tanggal_kegiatan'],'Rp. '.thousandSparator($rows['biaya_kegiatan'])));
58 | }
59 |
60 |
61 | $pdf->Ln(0);
62 | $pdf->Cell(160,10,'Total',1,0,'C');
63 | $pdf->Cell(30,10,'Rp.'.thousandSparator($total),1,1,'L');
64 |
65 |
66 | $pdf->Output();
67 |
68 |
69 | function thousandSparator($number){
70 | $example = $number;
71 | $subtotal = number_format($number, 2, ',', '.');
72 | return $subtotal;
73 | }
74 |
75 | ?>
--------------------------------------------------------------------------------
/dashboard/include/cetak_laporan_pendapatan.php:
--------------------------------------------------------------------------------
1 | AliasNbPages();
13 | $pdf->AddPage();
14 |
15 |
16 |
17 | $pdf->Ln(15);
18 | $pdf->Cell(40,10,'',0,0,'L');
19 | $pdf->SetFont('TIMES','B',12);
20 | $pdf->Cell(100,10,'List Pendapatan',1,1,'C');
21 | $pdf->Ln();
22 | $pdf->SetFont('TIMES','',10);
23 | $pdf->Cell(10,10,'No.',1,0,'C');
24 | $pdf->Cell(40,10,'Nama',1,0,'C');
25 | $pdf->Cell(50,10,'Email',1,0,'C');
26 | $pdf->Cell(40,10,'Tanggal Pembayaran',1,0,'C');
27 | $pdf->Cell(20,10,'Cicilan Ke-',1,0,'C');
28 | $pdf->Cell(30,10,'Earn',1,1,'C');
29 |
30 | $query = "SELECT a.nama,b.email, d.nominal as nom, d.tanggal_pembayaran, d.cicilan_ke, c.metode_pembayaran_pendaftaran as metode_pembayaran
31 | FROM pendaftaran a, akun b, detail_pendaftaran c, cicilan_pendaftaran d
32 | WHERE a.Id = c.id_user
33 | AND b.id_user = a.Id
34 | AND c.Id = d.id_detail_pendaftaran";
35 | $exec = mysqli_query($conn, $query);
36 |
37 | $no = 0;
38 |
39 | $pdf->SetWidths(array(10,40,50,40,20,30));
40 |
41 | $count = 0;
42 | $tmp_id = "";
43 | $count = 0;
44 |
45 | while ($rows = mysqli_fetch_array($exec)) {
46 |
47 | $mp = $rows['metode_pembayaran'];
48 |
49 | if ($mp == "C") {
50 | $cicilan = $rows['cicilan_ke'];
51 | if ($cicilan == 2) {
52 | $cicilan = "LUNAS";
53 | }
54 | }else{
55 | $cicilan = "LUNAS";
56 | }
57 |
58 | $pdf->Row(array(++$no,$rows['nama'],$rows['email'],$rows['tanggal_pembayaran'],$cicilan,'Rp. '.thousandSparator($rows['nom'])));
59 | $count+=$rows['nom'];
60 | }
61 |
62 | $pdf->Ln(0);
63 | $pdf->Cell(160,10,'Total',1,0,'C');
64 | $pdf->Cell(30,10,'Rp. '.thousandSparator($count),1,1,'L');
65 |
66 |
67 | $pdf->Output();
68 |
69 |
70 |
71 | function thousandSparator($number){
72 | $example = $number;
73 | $subtotal = number_format($number, 2, ',', '.');
74 | return $subtotal;
75 | }
76 |
77 |
78 | ?>
--------------------------------------------------------------------------------
/README.txt:
--------------------------------------------------------------------------------
1 | **Proses Sistem**
2 |
3 | a. Proses Pendaftaran
4 | -calon siswa melakukan pendaftaran melalui menu daftar
5 | -calon siswa mengisi formulir pendaftaran sampai tuntas
6 | -Data yang diinputkan akan masuk kedalam tabel akun, pendaftaran, detail_pendaftaran
7 | -User akan diinformasikan untuk melakukan login dengan email dan password untuk menyelesaikan pendaftaran
8 | -User harus mengupload Formulir akte kalahiran, kartu keluarga, Foto anak, dan foto ukuran 2r untuk menyelesaikan pendaftaran
9 | -data upload akan masuk ke dalam tabel pendfataran
10 | -Setelah upload berhasil, maka syarat pendaftaran lengkap
11 | -tunggu konfirmasi dari admin
12 | -admin mengkonfirmasi pendaftaran user
13 | -status pendftaran user akan berubah menjadi 1 di table pendaftaran (Pendaftaran sudah dikonfirmasi oleh admin)
14 | -Proses pendaftaran selesai, lanjut ke proses pembayaran.
15 |
16 | b. Proses pembayaran Pendaftaran (Cicilan Pembayaran pendaftara + SPP Bulan ke 1)
17 | -User melakukan melakukan pembayaran di menu pembayaran
18 | -User klik metode pembayaran yang akan digunakan (Metode pembayaran tidak bisa berubah setelah dipilih)
19 | -User Cetak Kwitasi yang harus dibayarkan (sesuai kelas, untuk biaya yg akan dibayarkan)
20 | -User harus melakukan konfirmasi pembayaran di menu konfirmasi pembayaran dengan menyertakan bukti jika telah melakukan pembayaran
21 | -Status Pendaftaran akan diubah jadi 2 (sudah melakukan konfirmasi)
22 | -Admin akan melakukan konfirmasi atas konfirmasi pembayaran oleh user
23 | -Status pendaftaran akan diubah jadi 3 (sudah melakukan konfiramsi pembayaran oleh user)
24 | -Jika User sudah melunasi pembayaran, maka status akan diubah menjadi 4 (sudah lunas)
25 |
26 |
27 |
28 |
29 | 0 - baru daftar (blom selesai melengkapi administrasi didashboard seperti upload akter, dan foto)
30 | 1 - pendaftaran sudah dikonfirmasi oleh admin
31 | 2 - sudah melakukan konfirmarsi pembayaran oleh user
32 | 3 - admin sudah melakukan konfirmasi pembayaran oleh user
33 | 4 - user sudah melunasi pembayaran pendaftaran
34 |
35 |
36 | *USER
37 | email : anggitprayogo@gmail.com
38 | password : test
39 |
40 |
41 | *ADMIN
42 | email : admin@gmail.com
43 | password : 12345678
--------------------------------------------------------------------------------
/assets/libs/dompdf/lib/php-font-lib/src/FontLib/Font.php:
--------------------------------------------------------------------------------
1 |
6 | * @license http://www.gnu.org/copyleft/lesser.html GNU Lesser General Public License
7 | */
8 |
9 | namespace FontLib;
10 |
11 | use FontLib\Exception\FontNotFoundException;
12 |
13 | /**
14 | * Generic font file.
15 | *
16 | * @package php-font-lib
17 | */
18 | class Font {
19 | static $debug = false;
20 |
21 | /**
22 | * @param string $file The font file
23 | *
24 | * @return TrueType\File|null $file
25 | */
26 | public static function load($file) {
27 | if(!file_exists($file)){
28 | throw new FontNotFoundException($file);
29 | }
30 |
31 | $header = file_get_contents($file, false, null, null, 4);
32 | $class = null;
33 |
34 | switch ($header) {
35 | case "\x00\x01\x00\x00":
36 | case "true":
37 | case "typ1":
38 | $class = "TrueType\\File";
39 | break;
40 |
41 | case "OTTO":
42 | $class = "OpenType\\File";
43 | break;
44 |
45 | case "wOFF":
46 | $class = "WOFF\\File";
47 | break;
48 |
49 | case "ttcf":
50 | $class = "TrueType\\Collection";
51 | break;
52 |
53 | // Unknown type or EOT
54 | default:
55 | $magicNumber = file_get_contents($file, false, null, 34, 2);
56 |
57 | if ($magicNumber === "LP") {
58 | $class = "EOT\\File";
59 | }
60 | }
61 |
62 | if ($class) {
63 | $class = "FontLib\\$class";
64 |
65 | /** @var TrueType\File $obj */
66 | $obj = new $class;
67 | $obj->load($file);
68 |
69 | return $obj;
70 | }
71 |
72 | return null;
73 | }
74 |
75 | static function d($str) {
76 | if (!self::$debug) {
77 | return;
78 | }
79 | echo "$str\n";
80 | }
81 |
82 | static function UTF16ToUTF8($str) {
83 | return mb_convert_encoding($str, "utf-8", "utf-16");
84 | }
85 |
86 | static function UTF8ToUTF16($str) {
87 | return mb_convert_encoding($str, "utf-16", "utf-8");
88 | }
89 | }
90 |
--------------------------------------------------------------------------------
/assets/libs/dompdf/lib/php-font-lib/src/FontLib/Table/Type/loca.php:
--------------------------------------------------------------------------------
1 |
6 | * @license http://www.gnu.org/copyleft/lesser.html GNU Lesser General Public License
7 | */
8 |
9 | namespace FontLib\Table\Type;
10 | use FontLib\Table\Table;
11 |
12 | /**
13 | * `loca` font table.
14 | *
15 | * @package php-font-lib
16 | */
17 | class loca extends Table {
18 | protected function _parse() {
19 | $font = $this->getFont();
20 | $offset = $font->pos();
21 |
22 | $indexToLocFormat = $font->getData("head", "indexToLocFormat");
23 | $numGlyphs = $font->getData("maxp", "numGlyphs");
24 |
25 | $font->seek($offset);
26 |
27 | $data = array();
28 |
29 | // 2 bytes
30 | if ($indexToLocFormat == 0) {
31 | $d = $font->read(($numGlyphs + 1) * 2);
32 | $loc = unpack("n*", $d);
33 |
34 | for ($i = 0; $i <= $numGlyphs; $i++) {
35 | $data[] = isset($loc[$i + 1]) ? $loc[$i + 1] * 2 : 0;
36 | }
37 | }
38 |
39 | // 4 bytes
40 | else {
41 | if ($indexToLocFormat == 1) {
42 | $d = $font->read(($numGlyphs + 1) * 4);
43 | $loc = unpack("N*", $d);
44 |
45 | for ($i = 0; $i <= $numGlyphs; $i++) {
46 | $data[] = isset($loc[$i + 1]) ? $loc[$i + 1] : 0;
47 | }
48 | }
49 | }
50 |
51 | $this->data = $data;
52 | }
53 |
54 | function _encode() {
55 | $font = $this->getFont();
56 | $data = $this->data;
57 |
58 | $indexToLocFormat = $font->getData("head", "indexToLocFormat");
59 | $numGlyphs = $font->getData("maxp", "numGlyphs");
60 | $length = 0;
61 |
62 | // 2 bytes
63 | if ($indexToLocFormat == 0) {
64 | for ($i = 0; $i <= $numGlyphs; $i++) {
65 | $length += $font->writeUInt16($data[$i] / 2);
66 | }
67 | }
68 |
69 | // 4 bytes
70 | else {
71 | if ($indexToLocFormat == 1) {
72 | for ($i = 0; $i <= $numGlyphs; $i++) {
73 | $length += $font->writeUInt32($data[$i]);
74 | }
75 | }
76 | }
77 |
78 | return $length;
79 | }
80 | }
--------------------------------------------------------------------------------
/assets/sass/md/_dropdown.scss:
--------------------------------------------------------------------------------
1 | .dropdown-menu {
2 | border: 0;
3 | box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.26);
4 |
5 | .divider {
6 | background-color: rgba(0, 0, 0, .12);
7 | }
8 |
9 |
10 | li > a{
11 | font-size: $mdb-dropdown-font-size;
12 | padding: 10px 20px;
13 | margin: 0 5px;
14 | border-radius: $border-radius-small;
15 | @include transition($fast-transition-time, $transition-linear);
16 |
17 | &:hover,
18 | &:focus {
19 | @include shadow-8dp();
20 |
21 | }
22 | }
23 |
24 | &.dropdown-with-icons{
25 | li > a{
26 | padding: 12px 20px 12px 12px;
27 |
28 | .material-icons{
29 | vertical-align: middle;
30 | font-size: 24px;
31 | position: relative;
32 | margin-top: -4px;
33 | top: 1px;
34 | margin-right: 12px;
35 | opacity: .5;
36 | }
37 | }
38 | }
39 |
40 | li {
41 | position: relative;
42 | a:hover,
43 | a:focus,
44 | a:active {
45 | background-color: $brand-primary;
46 | color: #FFFFFF;
47 | }
48 | }
49 |
50 | .divider{
51 | margin: 5px 0;
52 | }
53 |
54 | .navbar &,
55 | .navbar.navbar-default &{
56 | li{
57 | a:hover,
58 | a:focus,
59 | a:active {
60 | background-color: $brand-primary;
61 | color: #FFFFFF;
62 | @include shadow-big-color($brand-primary);
63 | }
64 | }
65 | }
66 |
67 | }
68 |
69 |
70 | .navbar-nav > li > .dropdown-menu,
71 | .dropdown .dropdown-menu,
72 | .dropdown-menu.bootstrap-datetimepicker-widget{
73 | @include transition($fast-transition-time, $transition-linear);
74 | margin-top: -20px;
75 | visibility: hidden;
76 | display: block;
77 | @include opacity(0);
78 | }
79 | .navbar-nav > li.open > .dropdown-menu,
80 | .dropdown.open .dropdown-menu,
81 | .dropdown-menu.bootstrap-datetimepicker-widget.open{
82 | @include opacity(1);
83 | visibility: visible;
84 | margin-top: 0px;
85 |
86 | }
87 |
--------------------------------------------------------------------------------
/assets/libs/dompdf/src/FrameReflower/TableRow.php:
--------------------------------------------------------------------------------
1 |
6 | * @license http://www.gnu.org/copyleft/lesser.html GNU Lesser General Public License
7 | */
8 | namespace Dompdf\FrameReflower;
9 |
10 | use Dompdf\FrameDecorator\Block as BlockFrameDecorator;
11 | use Dompdf\FrameDecorator\Table as TableFrameDecorator;
12 | use Dompdf\FrameDecorator\TableRow as TableRowFrameDecorator;
13 | use Dompdf\Exception;
14 |
15 | /**
16 | * Reflows table rows
17 | *
18 | * @package dompdf
19 | */
20 | class TableRow extends AbstractFrameReflower
21 | {
22 | /**
23 | * TableRow constructor.
24 | * @param TableRowFrameDecorator $frame
25 | */
26 | function __construct(TableRowFrameDecorator $frame)
27 | {
28 | parent::__construct($frame);
29 | }
30 |
31 | /**
32 | * @param BlockFrameDecorator|null $block
33 | */
34 | function reflow(BlockFrameDecorator $block = null)
35 | {
36 | $page = $this->_frame->get_root();
37 |
38 | if ($page->is_full()) {
39 | return;
40 | }
41 |
42 | $this->_frame->position();
43 | $style = $this->_frame->get_style();
44 | $cb = $this->_frame->get_containing_block();
45 |
46 | foreach ($this->_frame->get_children() as $child) {
47 | if ($page->is_full()) {
48 | return;
49 | }
50 |
51 | $child->set_containing_block($cb);
52 | $child->reflow();
53 | }
54 |
55 | if ($page->is_full()) {
56 | return;
57 | }
58 |
59 | $table = TableFrameDecorator::find_parent_table($this->_frame);
60 | $cellmap = $table->get_cellmap();
61 | $style->width = $cellmap->get_frame_width($this->_frame);
62 | $style->height = $cellmap->get_frame_height($this->_frame);
63 |
64 | $this->_frame->set_position($cellmap->get_frame_position($this->_frame));
65 | }
66 |
67 | /**
68 | * @throws Exception
69 | */
70 | function get_min_max_width()
71 | {
72 | throw new Exception("Min/max width is undefined for table rows");
73 | }
74 | }
75 |
--------------------------------------------------------------------------------
/assets/libs/fpdf/doc/__construct.htm:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | __construct
6 |
7 |
8 |
9 | __construct
10 | __construct([string orientation [, string unit [, mixed size]]])
11 | Description
12 | This is the class constructor. It allows to set up the page size, the orientation and the
13 | unit of measure used in all methods (except for font sizes).
14 | Parameters
15 |
16 | orientation
17 |
18 | Default page orientation. Possible values are (case insensitive):
19 |
20 | P or Portrait
21 | L or Landscape
22 |
23 | Default value is P.
24 |
25 | unit
26 |
27 | User unit. Possible values are:
28 |
29 | pt: point
30 | mm: millimeter
31 | cm: centimeter
32 | in: inch
33 |
34 | A point equals 1/72 of inch, that is to say about 0.35 mm (an inch being 2.54 cm). This
35 | is a very common unit in typography; font sizes are expressed in that unit.
36 |
37 |
38 | Default value is mm.
39 |
40 | size
41 |
42 | The size used for pages. It can be either one of the following values (case insensitive):
43 |
44 | A3
45 | A4
46 | A5
47 | Letter
48 | Legal
49 |
50 | or an array containing the width and the height (expressed in the unit given by unit).
51 |
52 | Default value is A4.
53 |
54 |
55 | Example
56 | Example with a custom 100x150 mm page size:
57 |
58 |
$pdf = new FPDF('P','mm',array(100,150));
59 |
60 |
61 |
62 |
63 |
64 |
--------------------------------------------------------------------------------
/assets/libs/dompdf/lib/php-svg-lib/tests/Svg/StyleTest.php:
--------------------------------------------------------------------------------
1 | assertEquals("none", Style::parseColor("none"));
21 | $this->assertEquals(array(255, 0, 0), Style::parseColor("RED"));
22 | $this->assertEquals(array(0, 0, 255), Style::parseColor("blue"));
23 | $this->assertEquals(null, Style::parseColor("foo"));
24 | $this->assertEquals(array(0, 0, 0), Style::parseColor("black"));
25 | $this->assertEquals(array(255, 255, 255), Style::parseColor("white"));
26 | $this->assertEquals(array(0, 0, 0), Style::parseColor("#000000"));
27 | $this->assertEquals(array(255, 255, 255), Style::parseColor("#ffffff"));
28 | $this->assertEquals(array(0, 0, 0), Style::parseColor("rgb(0,0,0)"));
29 | $this->assertEquals(array(255, 255, 255), Style::parseColor("rgb(255,255,255)"));
30 | $this->assertEquals(array(0, 0, 0), Style::parseColor("rgb(0, 0, 0)"));
31 | $this->assertEquals(array(255, 255, 255), Style::parseColor("rgb(255, 255, 255)"));
32 | }
33 |
34 | public function test_fromAttributes()
35 | {
36 | $style = new Style();
37 |
38 | $attributes = array(
39 | "color" => "blue",
40 | "fill" => "#fff",
41 | "stroke" => "none",
42 | );
43 |
44 | $style->fromAttributes($attributes);
45 |
46 | $this->assertEquals(array(0, 0, 255), $style->color);
47 | $this->assertEquals(array(255, 255, 255), $style->fill);
48 | $this->assertEquals("none", $style->stroke);
49 | }
50 |
51 | public function test_convertSize()
52 | {
53 | $this->assertEquals(1, Style::convertSize(1));
54 | $this->assertEquals(10, Style::convertSize("10px")); // FIXME
55 | $this->assertEquals(10, Style::convertSize("10pt"));
56 | $this->assertEquals(8, Style::convertSize("80%", 10, 72));
57 | }
58 |
59 | }
60 |
--------------------------------------------------------------------------------
/assets/libs/dompdf/lib/php-font-lib/src/FontLib/Table/Type/kern.php:
--------------------------------------------------------------------------------
1 |
6 | * @license http://www.gnu.org/copyleft/lesser.html GNU Lesser General Public License
7 | */
8 |
9 | namespace FontLib\Table\Type;
10 | use FontLib\Table\Table;
11 |
12 | /**
13 | * `kern` font table.
14 | *
15 | * @package php-font-lib
16 | */
17 | class kern extends Table {
18 | protected function _parse() {
19 | $font = $this->getFont();
20 |
21 | $data = $font->unpack(array(
22 | "version" => self::uint16,
23 | "nTables" => self::uint16,
24 |
25 | // only the first subtable will be parsed
26 | "subtableVersion" => self::uint16,
27 | "length" => self::uint16,
28 | "coverage" => self::uint16,
29 | ));
30 |
31 | $data["format"] = ($data["coverage"] >> 8);
32 |
33 | $subtable = array();
34 |
35 | switch ($data["format"]) {
36 | case 0:
37 | $subtable = $font->unpack(array(
38 | "nPairs" => self::uint16,
39 | "searchRange" => self::uint16,
40 | "entrySelector" => self::uint16,
41 | "rangeShift" => self::uint16,
42 | ));
43 |
44 | $pairs = array();
45 | $tree = array();
46 |
47 | $values = $font->readUInt16Many($subtable["nPairs"] * 3);
48 | for ($i = 0, $idx = 0; $i < $subtable["nPairs"]; $i++) {
49 | $left = $values[$idx++];
50 | $right = $values[$idx++];
51 | $value = $values[$idx++];
52 |
53 | if ($value >= 0x8000) {
54 | $value -= 0x10000;
55 | }
56 |
57 | $pairs[] = array(
58 | "left" => $left,
59 | "right" => $right,
60 | "value" => $value,
61 | );
62 |
63 | $tree[$left][$right] = $value;
64 | }
65 |
66 | //$subtable["pairs"] = $pairs;
67 | $subtable["tree"] = $tree;
68 | break;
69 |
70 | case 1:
71 | case 2:
72 | case 3:
73 | break;
74 | }
75 |
76 | $data["subtable"] = $subtable;
77 |
78 | $this->data = $data;
79 | }
80 | }
--------------------------------------------------------------------------------
/assets/libs/dompdf/lib/php-font-lib/src/FontLib/Table/Table.php:
--------------------------------------------------------------------------------
1 |
6 | * @license http://www.gnu.org/copyleft/lesser.html GNU Lesser General Public License
7 | */
8 | namespace FontLib\Table;
9 |
10 | use FontLib\TrueType\File;
11 | use FontLib\Font;
12 | use FontLib\BinaryStream;
13 |
14 | /**
15 | * Generic font table.
16 | *
17 | * @package php-font-lib
18 | */
19 | class Table extends BinaryStream {
20 | /**
21 | * @var DirectoryEntry
22 | */
23 | protected $entry;
24 | protected $def = array();
25 |
26 | public $data;
27 |
28 | final public function __construct(DirectoryEntry $entry) {
29 | $this->entry = $entry;
30 | $entry->setTable($this);
31 | }
32 |
33 | /**
34 | * @return File
35 | */
36 | public function getFont() {
37 | return $this->entry->getFont();
38 | }
39 |
40 | protected function _encode() {
41 | if (empty($this->data)) {
42 | Font::d(" >> Table is empty");
43 |
44 | return 0;
45 | }
46 |
47 | return $this->getFont()->pack($this->def, $this->data);
48 | }
49 |
50 | protected function _parse() {
51 | $this->data = $this->getFont()->unpack($this->def);
52 | }
53 |
54 | protected function _parseRaw() {
55 | $this->data = $this->getFont()->read($this->entry->length);
56 | }
57 |
58 | protected function _encodeRaw() {
59 | return $this->getFont()->write($this->data, $this->entry->length);
60 | }
61 |
62 | public function toHTML() {
63 | return "" . var_export($this->data, true) . " ";
64 | }
65 |
66 | final public function encode() {
67 | $this->entry->startWrite();
68 |
69 | if (false && empty($this->def)) {
70 | $length = $this->_encodeRaw();
71 | }
72 | else {
73 | $length = $this->_encode();
74 | }
75 |
76 | $this->entry->endWrite();
77 |
78 | return $length;
79 | }
80 |
81 | final public function parse() {
82 | $this->entry->startRead();
83 |
84 | if (false && empty($this->def)) {
85 | $this->_parseRaw();
86 | }
87 | else {
88 | $this->_parse();
89 | }
90 |
91 | $this->entry->endRead();
92 | }
93 | }
--------------------------------------------------------------------------------
/assets/sass/md/_dialogs.scss:
--------------------------------------------------------------------------------
1 | // This file has been autogenerated by grunt task lessToSass. Any changes will be overwritten.
2 |
3 | //
4 | // Modals
5 | // Material Design element Dialogs
6 | // --------------------------------------------------
7 | .modal-content {
8 | @include shadow-z-5();
9 | border-radius: $border-radius-large;
10 | border: none;
11 | // Modal header
12 | // Top section of the modal w/ title and dismiss
13 | .modal-header {
14 | border-bottom: none;
15 | padding-top: 24px;
16 | padding-right: 24px;
17 | padding-bottom: 0;
18 | padding-left: 24px;
19 | }
20 | // Modal body
21 | // Where all modal content resides (sibling of .modal-header and .modal-footer)
22 | .modal-body {
23 | padding-top: 24px;
24 | padding-right: 24px;
25 | padding-bottom: 16px;
26 | padding-left: 24px;
27 | }
28 | // Footer (for actions)
29 | .modal-footer {
30 | border-top: none;
31 | padding: 7px;
32 |
33 | &.text-center{
34 | text-align: center;
35 | }
36 |
37 | button {
38 | margin: 0;
39 | padding-left: 16px;
40 | padding-right: 16px;
41 | width: auto;
42 | &.pull-left {
43 | padding-left: 5px;
44 | padding-right: 5px;
45 | position: relative;
46 | left: -5px;
47 | }
48 | }
49 | button+button {
50 | margin-bottom: 16px;
51 | }
52 | }
53 | .modal-body + .modal-footer {
54 | padding-top: 0;
55 | }
56 | }
57 | .modal-backdrop {
58 | background: rgba(0,0,0,0.3);
59 | }
60 |
61 | .modal{
62 | .modal-dialog{
63 | margin-top: 100px;
64 | }
65 | .modal-header .close{
66 | color: $gray-light;
67 |
68 | &:hover,
69 | &:focus{
70 | opacity: 1;
71 | }
72 |
73 | i{
74 | font-size: 16px;
75 | }
76 | }
77 | }
78 |
79 | .modal-notice {
80 | .instruction{
81 | margin-bottom: 25px;
82 | }
83 | .picture{
84 | max-width: 150px;
85 | }
86 |
87 | .modal-content{
88 | .btn-raised{
89 | margin-bottom: 15px;
90 | }
91 | }
92 | }
93 |
94 | .modal-small{
95 | width: 300px;
96 | .modal-body{
97 | margin-top: 20px;
98 | }
99 | }
--------------------------------------------------------------------------------
/assets/libs/dompdf/src/FrameReflower/TableRowGroup.php:
--------------------------------------------------------------------------------
1 |
6 | * @license http://www.gnu.org/copyleft/lesser.html GNU Lesser General Public License
7 | */
8 | namespace Dompdf\FrameReflower;
9 |
10 | use Dompdf\FrameDecorator\Block as BlockFrameDecorator;
11 | use Dompdf\FrameDecorator\Table as TableFrameDecorator;
12 |
13 | /**
14 | * Reflows table row groups (e.g. tbody tags)
15 | *
16 | * @package dompdf
17 | */
18 | class TableRowGroup extends AbstractFrameReflower
19 | {
20 |
21 | /**
22 | * TableRowGroup constructor.
23 | * @param \Dompdf\Frame $frame
24 | */
25 | function __construct($frame)
26 | {
27 | parent::__construct($frame);
28 | }
29 |
30 | /**
31 | * @param BlockFrameDecorator|null $block
32 | */
33 | function reflow(BlockFrameDecorator $block = null)
34 | {
35 | $page = $this->_frame->get_root();
36 |
37 | $style = $this->_frame->get_style();
38 |
39 | // Our width is equal to the width of our parent table
40 | $table = TableFrameDecorator::find_parent_table($this->_frame);
41 |
42 | $cb = $this->_frame->get_containing_block();
43 |
44 | foreach ($this->_frame->get_children() as $child) {
45 | // Bail if the page is full
46 | if ($page->is_full()) {
47 | return;
48 | }
49 |
50 | $child->set_containing_block($cb["x"], $cb["y"], $cb["w"], $cb["h"]);
51 | $child->reflow();
52 |
53 | // Check if a split has occured
54 | $page->check_page_break($child);
55 | }
56 |
57 | if ($page->is_full()) {
58 | return;
59 | }
60 |
61 | $cellmap = $table->get_cellmap();
62 | $style->width = $cellmap->get_frame_width($this->_frame);
63 | $style->height = $cellmap->get_frame_height($this->_frame);
64 |
65 | $this->_frame->set_position($cellmap->get_frame_position($this->_frame));
66 |
67 | if ($table->get_style()->border_collapse === "collapse") {
68 | // Unset our borders because our cells are now using them
69 | $style->border_style = "none";
70 | }
71 | }
72 | }
73 |
--------------------------------------------------------------------------------
/success_register.php:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 | Penerimaan Siswa Baru
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
34 |
35 |
Selamat! anda berhasil melakukan pendaftaran
36 |
Silahkan lalukan login dengan email dan password anda untuk melengkapi persyaratan pendaftaran.
37 |
Login
38 |
39 |
40 |
41 |
42 |
43 |
44 |
45 |
46 |
47 |
--------------------------------------------------------------------------------
/assets/libs/dompdf/lib/php-font-lib/src/FontLib/WOFF/File.php:
--------------------------------------------------------------------------------
1 |
6 | * @license http://www.gnu.org/copyleft/lesser.html GNU Lesser General Public License
7 | */
8 |
9 | namespace FontLib\WOFF;
10 |
11 | use FontLib\Table\DirectoryEntry;
12 |
13 | /**
14 | * WOFF font file.
15 | *
16 | * @package php-font-lib
17 | *
18 | * @property TableDirectoryEntry[] $directory
19 | */
20 | class File extends \FontLib\TrueType\File {
21 | function parseHeader() {
22 | if (!empty($this->header)) {
23 | return;
24 | }
25 |
26 | $this->header = new Header($this);
27 | $this->header->parse();
28 | }
29 |
30 | public function load($file) {
31 | parent::load($file);
32 |
33 | $this->parseTableEntries();
34 | $dataOffset = $this->pos() + count($this->directory) * 20;
35 |
36 | $fw = $this->getTempFile(false);
37 | $fr = $this->f;
38 |
39 | $this->f = $fw;
40 | $offset = $this->header->encode();
41 |
42 | foreach ($this->directory as $entry) {
43 | // Read ...
44 | $this->f = $fr;
45 | $this->seek($entry->offset);
46 | $data = $this->read($entry->length);
47 |
48 | if ($entry->length < $entry->origLength) {
49 | $data = gzuncompress($data);
50 | }
51 |
52 | // Prepare data ...
53 | $length = strlen($data);
54 | $entry->length = $entry->origLength = $length;
55 | $entry->offset = $dataOffset;
56 |
57 | // Write ...
58 | $this->f = $fw;
59 |
60 | // Woff Entry
61 | $this->seek($offset);
62 | $offset += $this->write($entry->tag, 4); // tag
63 | $offset += $this->writeUInt32($dataOffset); // offset
64 | $offset += $this->writeUInt32($length); // length
65 | $offset += $this->writeUInt32($length); // origLength
66 | $offset += $this->writeUInt32(DirectoryEntry::computeChecksum($data)); // checksum
67 |
68 | // Data
69 | $this->seek($dataOffset);
70 | $dataOffset += $this->write($data, $length);
71 | }
72 |
73 | $this->f = $fw;
74 | $this->seek(0);
75 |
76 | // Need to re-parse this, don't know why
77 | $this->header = null;
78 | $this->directory = array();
79 | $this->parseTableEntries();
80 | }
81 | }
82 |
--------------------------------------------------------------------------------