-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcontact.php
More file actions
39 lines (39 loc) · 1.31 KB
/
contact.php
File metadata and controls
39 lines (39 loc) · 1.31 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
<?php
include 'header.php';
?>
<title>ECO Plant About and Contact Us </title>
<div class="main">
<div class="wrap">
<div class="preview-page">
<div class="contact-form">
<?php if($_SESSION['id']!="nouser") {
$id=$_SESSION['id'];
$qry=mysqli_query($connect,"select * from user where id_user='$id'");
$hasil=mysqli_fetch_array($qry,MYSQLI_ASSOC);
?>
<h3>Konfirmasi Pembayaran</h3>
<form method="post" action="contact-proses.php" method="post" enctype="multipart/form-data">
<div>
<input name="iduser" type="text" class="hide" value=<?php echo $_SESSION['id']?>">
<input name="name" type="text" class="textbox textbox1" value="<?php echo $hasil['nama_user']?>">
<input name="email" type="text" class="textbox" value="<?php echo $hasil['email']?>">
<div class="clear"></div>
</div>
<div>
<span><textarea name="message"></textarea></span>
</div>
<div>
<button class="btn waves-effect waves orange darken-4" type="submit" value="submit">Kirim
<i class="material-icons right">send</i>
</button>
<div class="clear"></div>
</div>
</form>
<?php } ?>
</div>
</div>
</div>
</div>
<?php
include 'footer.php'
?>