Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
master-absenku-custom
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nurchamim
master-absenku-custom
Commits
95455ce6
Commit
95455ce6
authored
Dec 30, 2025
by
nurchamim
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
modul : bug detail karyawan
status : selesai keterangan : bug fix foto tidak tampil
parent
fbd61930
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
15 additions
and
9 deletions
+15
-9
application/libraries/Uploadfile.php
+8
-2
application/views/karyawan/data_sertifikat/form.php
+1
-1
application/views/karyawan/pengalaman_kerja/detail.php
+1
-1
application/views/karyawan/pengalaman_kerja/form.php
+1
-1
application/views/karyawan/riwayat_pendidikan/form.php
+2
-2
application/views/karyawan/riwayat_pendidikan/list_data.php
+2
-2
No files found.
application/libraries/Uploadfile.php
View file @
95455ce6
...
...
@@ -81,14 +81,20 @@
$fileData
=
$this
->
_ci
->
upload
->
data
();
if
(
$opt
[
'compress_image'
]
===
true
)
{
$cfg
=
[];
$cfg
[
'image_library'
]
=
'gd2'
;
$cfg
[
'source_image'
]
=
$path
.
'/'
.
$fileData
[
'file_name'
];
$cfg
[
'create_thumb'
]
=
FALSE
;
$cfg
[
'maintain_ratio'
]
=
TRUE
;
$cfg
[
'quality'
]
=
70
;
$cfg
[
'quality'
]
=
'70%'
;
$cfg
[
'width'
]
=
480
;
$this
->
_ci
->
load
->
library
(
'image_lib'
,
$cfg
);
$cfg
[
'height'
]
=
480
;
$cfg
[
'new_image'
]
=
$path
.
'/'
.
$fileData
[
'file_name'
];
$this
->
_ci
->
load
->
library
(
'image_lib'
);
$this
->
_ci
->
image_lib
->
initialize
(
$cfg
);
$this
->
_ci
->
image_lib
->
resize
();
$this
->
_ci
->
image_lib
->
clear
();
}
$uploadData
[
'file_name'
]
=
$this
->
id_company
.
'/'
.
$exp
.
'/'
.
$fileData
[
'file_name'
];
...
...
application/views/karyawan/data_sertifikat/form.php
View file @
95455ce6
...
...
@@ -77,7 +77,7 @@
if
(
empty
(
$data
->
file
))
{
$file
=
""
;
}
else
{
$file
=
$this
->
config
->
item
(
'base_image'
)
.
'image?_t=file&_d='
.
$data
->
file
;
$file
=
$this
->
config
->
item
(
'base_image'
)
.
'image
biodata
?_t=file&_d='
.
$data
->
file
;
}
?>
<input
type=
"file"
name=
"sertifikat"
id=
"sertifikat"
class=
"dropify file"
data-default-file=
"
<?=
$file
?>
"
data-allowed-file-extensions=
"jpg png jpeg"
>
...
...
application/views/karyawan/pengalaman_kerja/detail.php
View file @
95455ce6
...
...
@@ -80,7 +80,7 @@
if
(
$data
->
file
==
""
)
{
$file
=
""
;
}
else
{
$file
=
$this
->
config
->
item
(
"base_image"
)
.
'image?_t=file&_d='
.
$data
->
file
;
$file
=
$this
->
config
->
item
(
"base_image"
)
.
'image
biodata
?_t=file&_d='
.
$data
->
file
;
}
?>
<img
src=
"
<?=
$file
?>
"
class=
"img-thumbnail"
/>
...
...
application/views/karyawan/pengalaman_kerja/form.php
View file @
95455ce6
...
...
@@ -119,7 +119,7 @@
if
(
empty
(
$data
->
file
))
{
$file
=
""
;
}
else
{
$file
=
$this
->
config
->
item
(
'base_image'
)
.
'image?_t=file&_d='
.
$data
->
file
;
$file
=
$this
->
config
->
item
(
'base_image'
)
.
'image
biodata
?_t=file&_d='
.
$data
->
file
;
}
?>
<input
type=
"file"
name=
"file"
id=
"file"
id=
"input-file-now-custom-1"
class=
"dropify"
data-default-file=
"
<?=
$file
?>
"
/>
...
...
application/views/karyawan/riwayat_pendidikan/form.php
View file @
95455ce6
...
...
@@ -74,7 +74,7 @@
if
(
empty
(
$data
->
ijazah
))
{
$ijazah
=
""
;
}
else
{
$ijazah
=
$this
->
config
->
item
(
'base_image'
)
.
'image?_t=file&_d='
.
$data
->
ijazah
;
$ijazah
=
$this
->
config
->
item
(
'base_image'
)
.
'image
biodata
?_t=file&_d='
.
$data
->
ijazah
;
}
?>
<input
type=
"file"
name=
"ijazah"
id=
"ijazah"
class=
"dropify"
data-default-file=
"
<?=
$ijazah
?>
"
/>
...
...
@@ -86,7 +86,7 @@
if
(
empty
(
$data
->
transkrip
))
{
$transkrip
=
""
;
}
else
{
$transkrip
=
$this
->
config
->
item
(
'base_image'
)
.
'image?_t=file&_d='
.
$data
->
transkrip
;
$transkrip
=
$this
->
config
->
item
(
'base_image'
)
.
'image
biodata
?_t=file&_d='
.
$data
->
transkrip
;
}
?>
<input
type=
"file"
name=
"transkrip"
id=
"transkrip"
class=
"dropify"
data-default-file=
"
<?=
$transkrip
?>
"
/>
...
...
application/views/karyawan/riwayat_pendidikan/list_data.php
View file @
95455ce6
...
...
@@ -93,7 +93,7 @@
<div
class=
"card"
>
<div
class=
"card-body p-0"
align=
"center"
>
<?php
$ijazah
=
$this
->
config
->
item
(
'base_image'
)
.
'image?_t=file&_d='
.
$key
->
ijazah
;
$ijazah
=
$this
->
config
->
item
(
'base_image'
)
.
'image
biodata
?_t=file&_d='
.
$key
->
ijazah
;
?>
<a
href=
"
<?=
$ijazah
?>
"
target=
"_blank"
><img
src=
"
<?=
$ijazah
?>
"
width=
"200px"
height=
"auto"
></a>
...
...
@@ -107,7 +107,7 @@
<div
class=
"card"
>
<div
class=
"card-body p-0"
align=
"center"
>
<?php
$transkrip
=
$this
->
config
->
item
(
'base_image'
)
.
'image?_t=file&_d='
.
$key
->
transkrip
;
$transkrip
=
$this
->
config
->
item
(
'base_image'
)
.
'image
biodata
?_t=file&_d='
.
$key
->
transkrip
;
?>
<a
href=
"
<?=
$transkrip
?>
"
target=
"_blank"
><img
src=
"
<?=
$transkrip
?>
"
width=
"200px"
height=
"auto"
></a>
<p
class=
"mt-1 text-center"
>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment