repush dir in public

This commit is contained in:
2024-08-23 10:34:05 +07:00
parent e79aceb7bb
commit dca44baecd
308 changed files with 357 additions and 284 deletions
+1 -1
View File
@@ -26,7 +26,7 @@ src/application/logs/*
src/application/config/ src/application/config/
src/application/application/logs/ src/application/application/logs/
src/logs/ src/logs/
src/public/ # src/public/
### CodeIgniter Patch ### ### CodeIgniter Patch ###
+108 -32
View File
@@ -1,5 +1,6 @@
<!DOCTYPE html> <!DOCTYPE html>
<html> <html>
<head> <head>
<!-- App title --> <!-- App title -->
<title>e-LETTER RSSA</title> <title>e-LETTER RSSA</title>
@@ -7,14 +8,11 @@
</head> </head>
<style type="text/css"> <style type="text/css">
.breakAfter { .breakAfter {
page-break-after: always; page-break-after: always;
} }
@page
{ @page {
size: 210mm 430mm; size: 210mm 430mm;
height: 430; height: 430;
width: 210mm; width: 210mm;
@@ -22,8 +20,7 @@ page-break-after: always;
margin: 7mm 0mm 0mm 6mm; margin: 7mm 0mm 0mm 6mm;
} }
body body {
{
/* this affects the margin on the content before sending to printer */ /* this affects the margin on the content before sending to printer */
/*margin: 0px;*/ /*margin: 0px;*/
/*margin-right: 40px; /*margin-right: 40px;
@@ -34,11 +31,17 @@ body
table { table {
border-collapse: collapse; border-collapse: collapse;
} }
td, th {
td,
th {
padding: 0px 5px 0px 5px; padding: 0px 5px 0px 5px;
} }
#tb_head, b, div, span, td { #tb_head,
b,
div,
span,
td {
font-family: "Arial"; font-family: "Arial";
font-size: 12px; font-size: 12px;
table-layout: fixed; table-layout: fixed;
@@ -51,7 +54,8 @@ td, th {
table-layout: fixed; table-layout: fixed;
} }
#cssTable, .nampeg{ #cssTable,
.nampeg {
font-family: "Arial"; font-family: "Arial";
font-size: 12px; font-size: 12px;
width: 640px; width: 640px;
@@ -59,30 +63,65 @@ td, th {
} }
.a {width: 20px; max-width: 20px;} .a {
.b {width: 100px;max-width: 100px;} width: 20px;
.h {width: 30px;max-width: 30px;} max-width: 20px;
.i {width: 100px;max-width: 100px;} }
.j {width: 80px;max-width: 80px;}
.k {width: 80px;max-width: 80px;} .b {
.l {width: 30px;max-width: 30px;} width: 100px;
.m {width: 90px;max-width: 90px;} max-width: 100px;
}
.h {
width: 30px;
max-width: 30px;
}
.i {
width: 100px;
max-width: 100px;
}
.j {
width: 80px;
max-width: 80px;
}
.k {
width: 80px;
max-width: 80px;
}
.l {
width: 30px;
max-width: 30px;
}
.m {
width: 90px;
max-width: 90px;
}
#cssTable td #cssTable td {
{
vertical-align: middle; vertical-align: middle;
} }
#cssTable { #cssTable {
border-spacing: 0; border-spacing: 0;
} }
#cssTable tbody td, th {
#cssTable tbody td,
th {
border-right: 1px solid black; border-right: 1px solid black;
border-bottom: 1px solid black; border-bottom: 1px solid black;
border-left: 1px solid black; border-left: 1px solid black;
border-top: 1px solid black; border-top: 1px solid black;
} }
#cssTable thead td,th {
#cssTable thead td,
th {
border-right: 1px solid black; border-right: 1px solid black;
border-bottom: 1px solid black; border-bottom: 1px solid black;
border-left: 1px solid black; border-left: 1px solid black;
@@ -112,7 +151,8 @@ td, th {
} }
.pam tr,td { .pam tr,
td {
vertical-align: top; vertical-align: top;
text-align: left; text-align: left;
} }
@@ -121,6 +161,7 @@ text-align: left;
margin-top: 0; margin-top: 0;
position: relative; position: relative;
} }
h1.title:before { h1.title:before {
content: ""; content: "";
display: block; display: block;
@@ -140,7 +181,7 @@ include('../koneksi.php');
$thn_skrg = date('Y'); $thn_skrg = date('Y');
$surat_id = $_POST['surat_id']; $surat_id = $_POST['surat_id'];
$nampeg = $_POST['nampeg']; $nampeg = $_POST['nampeg'];
$d=pg_query("SELECT (SELECT a.nama FROM satuan_kerja a WHERE a.id=s.satuan_kerja_dari), $d = pg_query($koneksi, "SELECT (SELECT a.nama FROM satuan_kerja a WHERE a.id=s.satuan_kerja_dari),
s.no_kendali, s.no_kendali,
s.tgl_diterima,s.jam_diterima, s.tgl_diterima,s.jam_diterima,
(SELECT a.nama FROM satuan_kerja a WHERE a.id=s.satuan_kerja_dari), (SELECT a.nama FROM satuan_kerja a WHERE a.id=s.satuan_kerja_dari),
@@ -172,12 +213,20 @@ $no_kendali=sprintf("%05s",$no_pinjam);
<th class="report-header-cell" style="font-weight: normal;border-top: none;border-bottom: none;border-left: none;border-right: none;"> <th class="report-header-cell" style="font-weight: normal;border-top: none;border-bottom: none;border-left: none;border-right: none;">
<div class="header-info"> <div class="header-info">
<span class="judul"><center>PEMERINTAH PROVINSI JAWA TIMUR</center></span> <span class="judul">
<span class="judul"><center>RUMAH SAKIT UMUM DAERAH Dr SAIFUL ANWAR</center></span> <center>PEMERINTAH PROVINSI JAWA TIMUR</center>
<span class="judul"><center>Jl. Jaksa Agung Suprapto No.2 Malang. Telp. (0341) 362101. Fax. (0341) 369384</center></span> </span>
<span class="judul">
<center>RUMAH SAKIT UMUM DAERAH Dr SAIFUL ANWAR</center>
</span>
<span class="judul">
<center>Jl. Jaksa Agung Suprapto No.2 Malang. Telp. (0341) 362101. Fax. (0341) 369384</center>
</span>
<br> <br>
<h1 class="title"></h1> <h1 class="title"></h1>
<span class="judul"><center>LEMBAR KENDALI</center></span> <span class="judul">
<center>LEMBAR KENDALI</center>
</span>
<br> <br>
<!-- <!--
@@ -250,9 +299,30 @@ $no_kendali=sprintf("%05s",$no_pinjam);
--> -->
<table id="tb_head1" border="0" style="line-height:20px;width:100%;" class="pam"> <table id="tb_head1" border="0" style="line-height:20px;width:100%;" class="pam">
<tr class="tr_head1"><td style="width:90px">No. Kendali</td><td style="width:5px">:</td><td style="width:200px"><?php echo $no_kendali; ?></td><td>Lampiran</td><td style="width:5px">:</td><td style="width:220px"><?php echo $lampiran; ?></td></tr> <tr class="tr_head1">
<tr class="tr_head1"><td style="width:90px">Tanggal</td><td style="width:5px">:</td><td style="width:200px"><?php echo date('d-m-Y H:i',strtotime($tgl_diterima)); ?></td><td>Sifat</td><td>:</td><td style="width:200px"><?php echo $sifat; ?></td></tr> <td style="width:90px">No. Kendali</td>
<tr class="tr_head1"><td style="width:90px">Asal / Pengolah</td><td style="width:5px">:</td><td style="width:200px"><?php echo $pengolah; ?></td><td>Perihal</td><td style="width:5px">:</td><td style="word-wrap: break-word;min-width: 200px;max-width: 200px;"><?php echo $perihal; ?></td></tr> <td style="width:5px">:</td>
<td style="width:200px"><?php echo $no_kendali; ?></td>
<td>Lampiran</td>
<td style="width:5px">:</td>
<td style="width:220px"><?php echo $lampiran; ?></td>
</tr>
<tr class="tr_head1">
<td style="width:90px">Tanggal</td>
<td style="width:5px">:</td>
<td style="width:200px"><?php echo date('d-m-Y H:i', strtotime($tgl_diterima)); ?></td>
<td>Sifat</td>
<td>:</td>
<td style="width:200px"><?php echo $sifat; ?></td>
</tr>
<tr class="tr_head1">
<td style="width:90px">Asal / Pengolah</td>
<td style="width:5px">:</td>
<td style="width:200px"><?php echo $pengolah; ?></td>
<td>Perihal</td>
<td style="width:5px">:</td>
<td style="word-wrap: break-word;min-width: 200px;max-width: 200px;"><?php echo $perihal; ?></td>
</tr>
</table> </table>
<br> <br>
</div> </div>
@@ -260,7 +330,12 @@ $no_kendali=sprintf("%05s",$no_pinjam);
</tr> </tr>
</thead> </thead>
<tbody><tr><td><p style="float:right;"><i><?php echo 'Petugas: '.$nampeg; ?></i></p></td></tbody> <tbody>
<tr>
<td>
<p style="float:right;"><i><?php echo 'Petugas: ' . $nampeg; ?></i></p>
</td>
</tbody>
</table> </table>
@@ -272,4 +347,5 @@ $no_kendali=sprintf("%05s",$no_pinjam);
</script> </script>
</body> </body>
</html> </html>
+8 -8
View File
@@ -7,8 +7,9 @@ $surat_id=$_POST['surat_id'];
<div class="row port"> <div class="row port">
<div class="portfolioContainer"> <div class="portfolioContainer">
<?php <?php
$dok=pg_query("SELECT * FROM scan WHERE surat_id='$surat_id' AND LOWER(file) LIKE '%.jpg'ORDER BY id DESC"); $dok = pg_query($koneksi, "SELECT * FROM scan WHERE surat_id='$surat_id' AND LOWER(file) LIKE '%.jpg'ORDER BY id DESC");
while($rdok=pg_fetch_array($dok)) {$foto=$rdok['file']; while ($rdok = pg_fetch_array($dok)) {
$foto = $rdok['file'];
?> ?>
<div class="col-lg-6 webdesign illustrator"> <div class="col-lg-6 webdesign illustrator">
<a href="#" class="image-popup"> <a href="#" class="image-popup">
@@ -38,11 +39,13 @@ $('button[name="dok_delete"]').click(function(){
$.ajax({ $.ajax({
type: "POST", type: "POST",
url: "app/smasuk/delete.php", url: "app/smasuk/delete.php",
data: 'id='+id data: 'id=' + id +
+'&key='+key, '&key=' + key,
success: function(data) { success: function(data) {
var surat_id = $('#surat_ida').val(); var surat_id = $('#surat_ida').val();
$('#dok_tbl').load("app/smasuk/tabel.php", {surat_id: surat_id}); $('#dok_tbl').load("app/smasuk/tabel.php", {
surat_id: surat_id
});
} }
}); });
} else {} } else {}
@@ -58,7 +61,4 @@ $('button[name="dok_delete"]').click(function(){
preload: [0, 1] // Will preload 0 - before current, and 1 after the current image preload: [0, 1] // Will preload 0 - before current, and 1 after the current image
} }
}); });
</script> </script>
+11 -7
View File
@@ -8,9 +8,11 @@
?> ?>
<input type="hidden" value="<?php echo $surat_id; ?>" id="surat_idxx"> <input type="hidden" value="<?php echo $surat_id; ?>" id="surat_idxx">
<?php <?php
$data_pdf=pg_query("SELECT file,id FROM scan WHERE surat_id='$surat_id' AND LOWER(file) LIKE '%.pdf' ORDER BY id DESC"); $data_pdf = pg_query($koneksi, "SELECT file,id FROM scan WHERE surat_id='$surat_id' AND LOWER(file) LIKE '%.pdf' ORDER BY id DESC");
while($rdata_pdf=pg_fetch_array($data_pdf)) {$pdf=$rdata_pdf[0]; while ($rdata_pdf = pg_fetch_array($data_pdf)) {
if (($pdf==NULL) || ($pdf=='')) {/*echo "File PDF belum diupload..";*/} else { $pdf = $rdata_pdf[0];
if (($pdf == NULL) || ($pdf == '')) {/*echo "File PDF belum diupload..";*/
} else {
?> ?>
<div class="gal-detail thumb" style="height:345px;background-color:#ece9d8;"> <div class="gal-detail thumb" style="height:345px;background-color:#ece9d8;">
<embed src="../../../public/smasuk/dokument/<?php echo $pdf; ?>#toolbar=0" width="100%" height="300"></embed> <embed src="../../../public/smasuk/dokument/<?php echo $pdf; ?>#toolbar=0" width="100%" height="300"></embed>
@@ -35,13 +37,15 @@
$.ajax({ $.ajax({
type: "POST", type: "POST",
url: "app/smasuk/pdf/crud.php", url: "app/smasuk/pdf/crud.php",
data: 'id='+id data: 'id=' + id +
+'&key='+key, '&key=' + key,
success: function(data) { success: function(data) {
var surat_id = $('#surat_idxx').val(); var surat_id = $('#surat_idxx').val();
$('#tabel_upl_cv').load("app/smasuk/pdf/tabel_upl_cv.php",{surat_id:surat_id}); $('#tabel_upl_cv').load("app/smasuk/pdf/tabel_upl_cv.php", {
surat_id: surat_id
});
} }
}); });
} else {} }
}); });
</script> </script>
+2 -5
View File
@@ -8,9 +8,6 @@ $name = $folder."/".$surat_id."_".$_FILES["input_load_cv"]["name"];
$name_pdf = $surat_id . "_" . $_FILES["input_load_cv"]["name"]; $name_pdf = $surat_id . "_" . $_FILES["input_load_cv"]["name"];
move_uploaded_file($tmp_name, $name); move_uploaded_file($tmp_name, $name);
$del=pg_query("DELETE FROM scan WHERE surat_id='$surat_id'"); $del = pg_query($koneksi, "DELETE FROM scan WHERE surat_id='$surat_id'");
$ins=pg_query("INSERT INTO scan (surat_id,file) VALUES ( $ins = pg_query($koneksi, "INSERT INTO scan (surat_id,file) VALUES (
'$surat_id','$name_pdf')"); '$surat_id','$name_pdf')");
?>
-4
View File
@@ -13,10 +13,6 @@ $tmp_name = $_FILES["file_dok"]["tmp_name"];
$file_name = $_FILES["file_dok"]["name"]; $file_name = $_FILES["file_dok"]["name"];
$file_type = mime_content_type($tmp_name); $file_type = mime_content_type($tmp_name);
$file_extension = pathinfo($file_name, PATHINFO_EXTENSION); $file_extension = pathinfo($file_name, PATHINFO_EXTENSION);
// move_uploaded_file($tmp_name, $name);
// $del=pg_query($koneksi,"DELETE FROM scan WHERE surat_id='$surat_id'");
// $input = pg_query($koneksi,"INSERT INTO scan (file,surat_id) VALUES ('$name_ins','$surat_id')");
// echo $surat_id;
if (in_array($file_type, $allowed_types) && in_array($file_extension, $allowed_extensions)) { if (in_array($file_type, $allowed_types) && in_array($file_extension, $allowed_extensions)) {
$name = $baseURL . $folder . $surat_id . "_" . $file_name; $name = $baseURL . $folder . $surat_id . "_" . $file_name;
$name_ins = $surat_id . '_' . $file_name; $name_ins = $surat_id . '_' . $file_name;
+4 -4
View File
@@ -100,15 +100,15 @@ switch ($key) {
} else { } else {
$verifikasiMap = [ $verifikasiMap = [
165 => 1, // verifikasi TU 165 => 1, // verifikasi TU
821 => 3, // verifikasi Plt. Kabag Umum
771 => 3, // verifikasi Kabag Umum 771 => 3, // verifikasi Kabag Umum
662 => 5, // verifikasi Wadir Pend. dan Pengemb. Mutu Pelayanan 662 => 5, // verifikasi Wadir Pend. dan Pengemb. Mutu Pelayanan
805 => 5, // verifikasi Plt. Wadir Pend. dan Pengemb. Mutu Pelayanan
663 => 7, // verifikasi Wadir Pelayanan Penunjang 663 => 7, // verifikasi Wadir Pelayanan Penunjang
827 => 7, // verifikasi Plt. Wadir Pelayanan Penunjang
661 => 9, // verifikasi Wadir Pelay. Medik dan Keperawatan 661 => 9, // verifikasi Wadir Pelay. Medik dan Keperawatan
828 => 9, // verifikasi Plt. Wadir Pelay. Medik dan Keperawatan
664 => 11, // verifikasi Wadir Umum dan Keuangan 664 => 11, // verifikasi Wadir Umum dan Keuangan
821 => 3, // verifikasi Plt. Kabag Umum
805 => 5, // verifikasi Plt. Wadir Pend. dan Pengemb. Mutu Pelayanan
827 => 7, // verifikasi Plt. Wadir Pelayanan Penunjang
828 => 9, // verifikasi Plt. Wadir Pelay. Medik dan Keperawatan
829 => 11, // verifikasi Plt. Wadir Umum dan Keuangan 829 => 11, // verifikasi Plt. Wadir Umum dan Keuangan
14 => 13, // verifikasi Selesai 14 => 13, // verifikasi Selesai
]; ];
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

After

Width:  |  Height:  |  Size: 102 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 53 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 40 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 44 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 98 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 35 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 189 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 150 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 39 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 31 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 79 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 39 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 308 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 79 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 39 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 59 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 30 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 19 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 20 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 41 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 25 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 45 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 23 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 29 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 24 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 35 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 78 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 75 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 487 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.2 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 260 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 19 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 24 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 104 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 23 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 19 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 23 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 78 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 35 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 49 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 111 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 30 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 46 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 23 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 19 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 32 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 19 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 34 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 111 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 33 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 33 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 19 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 78 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 19 KiB

Some files were not shown because too many files have changed in this diff Show More