-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcontact.php
More file actions
57 lines (46 loc) · 1.28 KB
/
Copy pathcontact.php
File metadata and controls
57 lines (46 loc) · 1.28 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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
<?php
include 'inc/session.php';
?>
<!DOCTYPE html>
<html>
<head>
<title>Contact Us | <?php
$link = mysqli_query($connect, "SELECT * FROM links WHERE id = 7");
$links = mysqli_fetch_array($link);
echo $links['link'];
?></title>
<?php include 'inc/link.php'; ?>
</head>
<body style="background-color: ghostwhite;">
<?php include 'inc/header.php'; ?>
<div class="px-5 bg-white">
<h3 class="text-center pt-2 pb-4 border-bottom">
<span class="border-bottom border-danger mt-2">CONTACT US</span>
</h3>
<div class="mb-3 row mx-0 mt-4">
<div class="col-md-5">
<?php
$image = mysqli_query($connect, "SELECT * FROM profile WHERE id = 1");
while ($rw = mysqli_fetch_array($image)) {
?>
<img src="images/<?php echo $rw['text']; ?>" class="card-img">
<?php
}
?>
</div>
<div class="col-md-6 px-3">
<?php
$select = mysqli_query($connect, "SELECT * FROM pages WHERE id = 1");
while ($row = mysqli_fetch_array($select)) {
?>
<div>
<p class="text-right text-muted border-bottom">Last Update: <?php echo $row['date']; ?></p>
<p>
<?php echo $row['content']; ?>
</p>
</div>
<?php } ?>
</div>
</div>
</div>
<?php include 'inc/footer.php'; ?>