-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathedit-portfolio-content.php
More file actions
67 lines (60 loc) · 2.68 KB
/
edit-portfolio-content.php
File metadata and controls
67 lines (60 loc) · 2.68 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
58
59
60
61
62
63
64
65
66
67
<?php
include_once("header.php");
include_once("navigation.php");
include_once("adminsidebar.php");
include_once("connection.php");
include_once("custom.php");
$sql = 'SELECT * FROM ` portfoliocms`';
$result = mysqli_query($conn, $sql);
$row = mysqli_fetch_array($result);
?>
<div id="page-content-wrapper">
<h2 class="alert" align="center">Content Management System</h2>
<hr/>
<div style="text-align: center;">
<div class="btn-group btn-group-lg center" role="group" aria-label="...">
<a class="btn btn-default" href="edit-home-content.php" role="button">Home</a>
<a class="btn btn-default" href="edit-about-content.php" role="button">About</a>
<a class="btn btn-default active" href="edit-portfolio-content.php" role="button">Portfolio</a>
<a class="btn btn-default" href="edit-contact-content.php" role="button">Contact</a>
</div>
</div>
<br/><br/>
<div class="col-md-12">
<h2 style="text-align: center;">Change Image</h2><br><br>
<div class="col-md-3 well">
<br/>
<form method="POST" action="upload.php" enctype="multipart/form-data">
<input type="file" name="file"><br>
<input type="submit" name="pimg1" value="Upload" class="btn btn-info"><br> <br>
</form>
<img src="<?php echo $row["pimg1"]; ?>" width="200px" alt="event1" class="img img-responsive">
</div>
<div class="col-md-3 well">
<br/>
<form method="POST" action="upload.php" enctype="multipart/form-data">
<input type="file" name="file"><br>
<input type="submit" name="pimg2" value="Upload" class="btn btn-info"><br> <br>
</form>
<img src="<?php echo $row["pimg2"]; ?>" width="200px" alt="event2" class="img img-responsive">
</div>
<div class="col-md-3 well">
<br/>
<form method="POST" action="upload.php" enctype="multipart/form-data">
<input type="file" name="file"><br>
<input type="submit" name="pimg3" value="Upload" class="btn btn-info"><br> <br>
</form>
<img src="<?php echo $row["pimg3"]; ?>" width="200px" alt="event3" class="img img-responsive">
</div>
<div class="col-md-3 well">
<br/>
<form method="POST" action="upload.php" enctype="multipart/form-data">
<input type="file" name="file"><br>
<input type="submit" name="pimg4" value="Upload" class="btn btn-info"><br> <br>
</form>
<img src="<?php echo $row["pimg4"]; ?>" width="200px" alt="event4" class="img img-responsive">
</div>
</div>
<?php
include_once("footeradmin.php");
?>