Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
P
PSW2-D3TI01
Project
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
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Julius Samosir
PSW2-D3TI01
Commits
f6b9c383
Commit
f6b9c383
authored
Jun 06, 2020
by
Visgha Olivia
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Upload New File
parent
39e495d1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
93 additions
and
0 deletions
+93
-0
edit_modal.php
edit_modal.php
+93
-0
No files found.
edit_modal.php
0 → 100644
View file @
f6b9c383
<!-- Edit -->
<div
class=
"modal fade"
id=
"edit_
<?php
echo
$paket
[
'id_paket'
];
?>
"
tabindex=
"-1"
role=
"dialog"
aria-labelledby=
"myModalLabel"
aria-hidden=
"true"
>
<div
class=
"modal-dialog"
>
<div
class=
"modal-content"
>
<div
class=
"modal-header"
>
<center><h4
class=
"modal-title"
id=
"myModalLabel"
>
Edit Paket
</h4></center>
</div>
<div
class=
"modal-body"
>
<div
class=
"container-fluid"
>
<form
method=
"POST"
action=
"edit_paket_proses.php"
enctype=
"multipart/form-data"
>
<input
type=
"hidden"
name=
"id"
value=
"
<?php
echo
$paket
[
'id_paket'
]
;
?>
"
>
<div
class=
"row form-group"
>
<div
class=
"col-sm-2"
>
<label
class=
"control-label"
style=
"position:relative; top:7px;"
>
Nama:
</label>
</div>
<div
class=
"col-sm-10"
>
<input
type=
"text"
class=
"form-control"
name=
"nama"
value=
"
<?php
echo
$paket
[
'nama_paket'
]
?>
"
>
</div>
</div>
<div
class=
"row form-group"
>
<div
class=
"col-sm-2"
>
<label
class=
"control-label"
style=
"position:relative; top:7px;"
>
Deskripsi:
</label>
</div>
<div
class=
"col-sm-10"
>
<input
type=
"text"
class=
"form-control"
name=
"deskripsi"
value=
"
<?php
echo
$paket
[
'deskripsi'
]
?>
"
>
</div>
</div>
<div
class=
"row form-group"
>
<div
class=
"col-sm-2"
>
<label
class=
"control-label"
style=
"position:relative; top:7px;"
>
Tanggal:
</label>
</div>
<div
class=
"col-sm-10"
>
<input
type=
"date"
class=
"form-control"
name=
"tanggal"
value=
"
<?php
echo
$paket
[
'tanggal'
]
?>
"
>
</div>
</div>
<div
class=
"row form-group"
>
<div
class=
"col-sm-2"
>
<label
class=
"control-label"
style=
"position:relative; top:7px;"
>
Gambar:
</label>
</div>
<div
class=
"col-sm-10"
>
<input
type=
"checkbox"
name=
"edit_photo"
value=
"true"
>
Ceklis jika ingin mengubah photo!
<input
type=
"file"
class=
"form-control"
name=
"gambar"
>
</div>
</div>
<div
class=
"row form-group"
>
<div
class=
"col-sm-2"
>
<label
class=
"control-label"
style=
"position:relative; top:7px;"
>
Harga:
</label>
</div>
<div
class=
"col-sm-10"
>
<input
type=
"text"
class=
"form-control"
name=
"harga"
value=
"
<?php
echo
$paket
[
'harga'
]
?>
"
>
</div>
</div>
<div
class=
"row form-group"
>
<div
class=
"col-sm-2"
>
<label
class=
"control-label"
style=
"position:relative; top:7px;"
>
Kuota:
</label>
</div>
<div
class=
"col-sm-10"
>
<input
type=
"text"
class=
"form-control"
name=
"kuota"
value=
"
<?php
echo
$paket
[
'kuota'
]
?>
"
>
</div>
</div>
</div>
</div>
<div
class=
"modal-footer"
>
<button
type=
"button"
class=
"btn btn-default"
data-dismiss=
"modal"
><span
class=
"glyphicon glyphicon-remove"
></span>
Batal
</button>
<button
type=
"submit"
class=
"btn btn-success"
value=
" Edit"
><span
class=
"glyphicon glyphicon-check"
></span>
Edit
</a>
</form>
</div>
</div>
</div>
</div>
<!-- Delete -->
<div
class=
"modal fade"
id=
"delete_
<?php
echo
$paket
[
'id_paket'
];
?>
"
tabindex=
"-1"
role=
"dialog"
aria-labelledby=
"myModalLabel"
aria-hidden=
"true"
>
<div
class=
"modal-dialog"
>
<div
class=
"modal-content"
>
<div
class=
"modal-header"
>
<center><h4
class=
"modal-title"
id=
"myModalLabel"
>
Hapus Paket
</h4></center>
</div>
<div
class=
"modal-body"
>
<p
class=
"text-center"
>
Apakah anda yakin ingin menghapus?
</p>
<h2
class=
"text-center"
>
<?php
echo
$paket
[
'nama_paket'
];
?>
</h2>
</div>
<div
class=
"modal-footer"
>
<button
type=
"button"
class=
"btn btn-default"
data-dismiss=
"modal"
><span
class=
"glyphicon glyphicon-remove"
></span>
Batal
</button>
<a
href=
"hapus_paket_proses.php?id=
<?php
echo
$paket
[
'id_paket'
];
?>
"
class=
"btn btn-danger"
><span
class=
"glyphicon glyphicon-trash"
></span>
Ya
</a>
</div>
</div>
</div>
</div>
\ No newline at end of file
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