Example #1
0
 public function __construct()
 {
     @parent::__construct($registry);
     Auth::handleLogin();
     $this->nomor = new Nomor();
     $this->view->kantor = Kantor::getNama();
 }
Example #2
0
 public function __construct()
 {
     @parent::__construct($registry);
     $this->view->kantor = Kantor::getNama();
     //$this->view = new View;
     //echo "</br>kelas berhasil di bentuk";
     $this->view->js = array('login/js/default');
 }
Example #3
0
 public function __construct()
 {
     @parent::__construct($registry);
     Auth::handleLogin();
     $this->view->kantor = Kantor::getNama();
     //$this->view = new View;
     //echo "</br>kelas berhasil di bentuk";
 }
 public function __construct()
 {
     @parent::__construct($registry);
     Auth::handleLogin();
     $this->nomor = new Nomor();
     $this->view->kantor = Kantor::getNama();
     $this->view->js = array('suratmasuk/js/default');
 }
 public function __construct()
 {
     @parent::__construct($registry);
     Auth::handleLogin();
     $this->nomor = new Nomor();
     $this->view->kantor = Kantor::getNama();
     $this->view->js = array('suratmasuk/js/default', 'suratkeluar/js/jquery.tipTip', 'suratkeluar/js/jquery.tipTip.minified');
 }
Example #6
0
 public function __construct()
 {
     @parent::__construct($registry);
     Auth::handleLogin();
     $this->view->kantor = Kantor::getNama();
     //$this->view = new View;
     //echo "</br>kelas berhasil di bentuk";
     $this->view->js = array('admin/js/default', 'suratkeluar/js/jquery.tipTip', 'suratkeluar/js/jquery.tipTip.minified');
 }
 public function __construct()
 {
     @parent::__construct($registry);
     Auth::handleLogin();
     $this->nomor = new Nomor();
     $this->view->kantor = Kantor::getNama();
     $this->view->js = array('suratmasuk/js/default');
     //$this->view = new View;
     //echo "</br>kelas berhasil di bentuk";
 }
Example #8
0
 function Header()
 {
     // Logo
     $this->Image('public/images/Logo_Depkeu.jpg', 1.2, 1.2, 2, 2);
     // Times bold 13
     $this->SetFont('Times', 'B', 14);
     // Move to the right
     $this->Cell(0.5, 0.6, '', '', 0);
     // Title 1
     $this->Cell(18.3, 0.6, 'KEMENTERIAN KEUANGAN REPUBLIK INDONESIA', '', 1, 'C');
     // Times bold 12
     $this->SetFont('Times', 'B', 12);
     // Move to the right
     $this->Cell(0.5, 0.6, '', '', 0);
     // Title 2
     $this->Cell(18.3, 0.6, 'DIREKTORAT JENDERAL PERBENDAHARAAN', '', 1, 'C');
     // Times bold 12
     $this->SetFont('Times', 'B', 12);
     // Move to the right
     $this->Cell(0.5, 0.6, '', '', 0);
     @$this->Cell(18.3, 0.6, Kantor::getKanwil(), '', 1, 'C');
     // Times bold 12
     $this->SetFont('Times', '', 11);
     // Move to the right
     $this->Cell(0.5, 0.5, '', '', 0);
     @$this->Cell(18.3, 0.5, Kantor::getNamaKPPN(), '', 1, 'C');
     // Times  8
     @$this->SetFont('Times', '', 8);
     // Move to the right
     $this->Cell(0.5, 0.4, '', '', 0);
     @($almKppn = Kantor::getAlamat() . " Telepon: " . Kantor::getTelepon() . " Faksimile: " . Kantor::getFaksimile());
     @$this->Cell(18.3, 0.4, $almKppn, '', 1, 'C');
     // Move to the right
     $this->Cell(0.5, 0.4, '', 'B', 0);
     @($webKppn = "Website: " . Kantor::getWebsite() . " Email: " . Kantor::getEmail() . " SMS Gateway: " . Kantor::getSmsGateway());
     $this->Cell(18.3, 0.4, $webKppn, 'B', 1, 'C');
     // Draw line
     //$this->Line(1.0,3.95,20.0,3.95);
     //$this->Line(1.0,4.0,20.0,4.0);
     // Line break
     $this->Cell(18.8, 0.1, '', 'B', 1, 'L');
 }
Example #9
0
 public function ikhtisar($key = null, $value = null)
 {
     $ikhtarsip = new IkhtisharArsip();
     if (!is_null($key)) {
         $ikhtisar = $ikhtarsip->generateIkhtisharArsip($key, $value);
     } else {
         $ikhtisar = $ikhtarsip->generateIkhtisharArsip();
     }
     echo "<div id=table-wrapper><h2 align=center><font color=black>DAFTAR IKHTISAR DOKUMEN/ARSIP</font></h2>";
     echo "<h3 align=center>" . Kantor::getNama() . "</h3>";
     echo "</br><div id=chart-wrapper><table class=CSSTableGenerator>";
     echo "<tr><td><font color=black><b>No</b></font></td>\r\n            <td><font color=black><b>Asal Arsip</b></font></td>\r\n            <td><font color=black><b>Kurun Waktu</b></font></td>\r\n            <td><font color=black><b>Jumlah</b></font></td>\r\n            <td><font color=black><b>Format</b></font></td>\r\n            <td><font color=black><b>Jalan Masuk</b></font></td>\r\n            <td><font color=black><b>Penataan</b></font></td>\r\n            <td><font color=black><b>Lokasi</b></font></td>\r\n            <td><font color=black><b>Ket</b></font></td>\r\n            </tr>";
     $no = 1;
     foreach ($ikhtisar as $key => $value) {
         $lokasi = $value['lokasi'];
         for ($i = 0; $i < count($lokasi); $i++) {
             $lokasi[$i] = "<a href=#><div onclick=getarsiplokasi('" . $lokasi[$i] . "');>{$lokasi[$i]}</div></a>";
         }
         $klas = $value['klas'];
         for ($i = 0; $i < count($klas); $i++) {
             $klas[$i] = "<a href=#><div onclick=getarsipklas('" . str_replace(" ", "-", $klas[$i]) . "');>{$klas[$i]}</div></a>";
         }
         echo "<tr><td ><font color=black><b>" . $no . "</b></font></td>\r\n            <td ><font color=black><b>" . $value['bagian'] . "</br></b></font></td>\r\n            <td ><font color=black><b>" . implode('</br>', $value['kurun']) . "</br></b></font></td>\r\n            <td ><font color=black><b>" . $value['jumlah'] . " box</br></b></font></td>\r\n            <td ><font color=black><b>kertas</br></b></font></td>\r\n            <td ><font color=black><b>-</br></b></font></td>\r\n            <td ><font color=black><b>-</br></b></font></td>\r\n            <td ><font color=black><b>" . implode(', ', $lokasi) . "</br></b></font></td>\r\n            <td ><font color=black><b>" . implode(', ', $klas) . "</br></b></font></td>\r\n            </tr>";
         $no++;
     }
     echo "</table></div></div>";
 }