Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
R
RestoranPondokEdo
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
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Mei Romauli Sagala
RestoranPondokEdo
Commits
8cebe5b3
Commit
8cebe5b3
authored
7 years ago
by
Roy Junedi Simamora
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Perbaikan pada form_comment dan header
parent
911e8ec0
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
48 additions
and
47 deletions
+48
-47
header.php
common/header.php
+1
-1
form_comment.php
form_comment.php
+47
-46
No files found.
common/header.php
View file @
8cebe5b3
...
...
@@ -17,7 +17,7 @@
<a
href=
"index.html"
><img
src=
"picture/logo1.png"
></a>
</div>
<ul
class=
"nav navbar-nav"
>
<li
class=
"active"
><a
href=
"index.php"
><span
class=
"glyphicon glyphicon-home"
></span>
Home
</a></li>
<li><a
href=
"index.php"
><span
class=
"glyphicon glyphicon-home"
></span>
Home
</a></li>
<?php
if
(
isset
(
$_SESSION
[
'admin'
])){
...
...
This diff is collapsed.
Click to expand it.
form_comment.php
View file @
8cebe5b3
<?php
require_once
(
dirname
(
__FILE__
)
.
'/koneksi.php'
);
require_once
(
dirname
(
__FILE__
)
.
'/common/header.php'
);
?>
<br/>
<form
class=
"well form-horizontal"
action=
"cek_comment.php"
method=
"post"
id=
"contact_form"
>
<fieldset>
<legend>
Berikan kritik dan saran anda pada kolom dibawah ini
</legend>
<div
class=
"form-group"
>
<label
class=
"col-md-4 control-label"
>
Nama
</label>
<div
class=
"col-md-4 inputGroupContainer"
>
<div
class=
"input-group"
>
<span
class=
"input-group-addon"
><i
class=
"glyphicon glyphicon-user"
></i></span>
<input
name=
"name"
required
placeholder=
"Isi Nama Anda"
class=
"form-control"
type=
"text"
>
</div>
</div>
</div>
<div
class=
"form-group"
>
<label
class=
"col-md-4 control-label"
>
Hp
</label>
<div
class=
"col-md-4 inputGroupContainer"
>
<div
class=
"input-group"
>
<span
class=
"input-group-addon"
><i
class=
"glyphicon glyphicon-earphone"
></i></span>
<input
name=
"phone"
required
placeholder=
"Nomor Handphone"
class=
"form-control"
type=
"text"
>
</div>
</div>
</div>
<div
class=
"form-group"
>
<label
class=
"col-md-4 control-label"
>
E-Mail
</label>
<div
class=
"col-md-4 inputGroupContainer"
>
<div
class=
"input-group"
>
<span
class=
"input-group-addon"
><i
class=
"glyphicon glyphicon-envelope"
></i></span>
<input
name=
"email"
required
placeholder=
"E-Mail"
class=
"form-control"
type=
"text"
>
</div>
</div>
</div>
<div
class=
"form-group col-md-8"
style=
"margin-top: 20px;margin-left: 15px;"
>
<label
for=
"comment"
required
>
Kritik Dan Saran:
</label></div>
<textarea
class=
"form-control"
rows=
"5"
id=
"comment"
name=
"comment"
placeholder=
"Masukkan Ulasan Anda"
></textarea><br>
<button
type=
"submit"
class=
"btn btn-primary"
name=
"kirim"
>
Kirim
<span
class=
"glyphicon glyphicon-send"
></span></button>
</fieldset>
</form>
<?php
require_once
(
dirname
(
__FILE__
)
.
'/common/footer.php'
);
<?php
require_once
(
dirname
(
__FILE__
)
.
'/koneksi.php'
);
require_once
(
dirname
(
__FILE__
)
.
'/common/header.php'
);
?>
<br/>
<form
class=
"well form-horizontal"
action=
"cek_comment.php"
method=
"post"
id=
"contact_form"
>
<fieldset>
<legend>
Berikan kritik dan saran anda pada kolom dibawah ini
</legend>
<div
class=
"form-group"
>
<label
class=
"col-md-4 control-label"
>
Nama
</label>
<div
class=
"col-md-4 inputGroupContainer"
>
<div
class=
"input-group"
>
<span
class=
"input-group-addon"
><i
class=
"glyphicon glyphicon-user"
></i></span>
<input
name=
"name"
required
placeholder=
"Isi Nama Anda"
class=
"form-control"
type=
"text"
>
</div>
</div>
</div>
<div
class=
"form-group"
>
<label
class=
"col-md-4 control-label"
>
Hp
</label>
<div
class=
"col-md-4 inputGroupContainer"
>
<div
class=
"input-group"
>
<span
class=
"input-group-addon"
><i
class=
"glyphicon glyphicon-earphone"
></i></span>
<input
name=
"phone"
required
placeholder=
"Nomor Handphone"
class=
"form-control"
type=
"text"
>
</div>
</div>
</div>
<div
class=
"form-group"
>
<label
class=
"col-md-4 control-label"
>
E-Mail
</label>
<div
class=
"col-md-4 inputGroupContainer"
>
<div
class=
"input-group"
>
<span
class=
"input-group-addon"
><i
class=
"glyphicon glyphicon-envelope"
></i></span>
<input
name=
"email"
required
placeholder=
"E-Mail"
class=
"form-control"
type=
"text"
>
</div>
</div>
</div>
<div
class=
"form-group col-md-8"
style=
"margin-top: 20px;margin-left: 15px;"
>
<label
for=
"comment"
required
>
Kritik Dan Saran:
</label></div>
<textarea
class=
"form-control"
rows=
"5"
id=
"comment"
name=
"comment"
placeholder=
"Masukkan Ulasan Anda"
></textarea><br>
<button
type=
"submit"
onclick=
"window.alert('Terimakasih Telah Memberikan Kritik dan Saran!');"
class=
"btn btn-primary"
name=
"kirim"
>
Kirim
<span
class=
"glyphicon glyphicon-send"
></span></button>
</fieldset>
</form>
<?php
require_once
(
dirname
(
__FILE__
)
.
'/common/footer.php'
);
?>
\ No newline at end of file
This diff is collapsed.
Click to expand it.
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