-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathabout_us_edit.php
107 lines (79 loc) · 3.37 KB
/
about_us_edit.php
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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
<?php
include'connect.php';
$id=$_GET['id'];
$sql2="SELECT * FROM about_us WHERE id='$id'";
$result2=mysqli_query($conn,$sql2);
$row=mysqli_fetch_assoc($result2);
?>
<!DOCTYPE html>
<html >
<head>
<meta charset="UTF-8">
<link rel="stylesheet" href="styles.css">
<title>GetAways@India</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
<link rel="SHORTCUT ICON" href="assets/img/logo.jpg">
<title></title>
<link href="control.css" rel="stylesheet" />
<link href="assets/css/bootstrap.css" rel="stylesheet" />
<link href="assets/css/font-awesome.min.css" rel="stylesheet" />
<link href="assets/css/style.css" rel="stylesheet" />
<link href='http://fonts.googleapis.com/css?family=Open+Sans' rel='stylesheet' type='text/css'>
</head>
<body>
<!-- NAV SECTION -->
<div class="navbar navbar-inverse navbar-fixed-top">
<div class="container">
<div class="navbar-header">
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-left" href="index.php"><img src="assets/img/logo3.png" height="50px;"></a>
<a class="navbar-brand" href="index.php">GET AWAYS @ INDIA</a>
</div>
<div class="navbar-collapse collapse">
<ul class="nav navbar-nav navbar-right">
<li><a>WELCOME ADMIN!!!</a></li>
<li><a href="logout.php" style="background:#E74C3C;border-radius:10px; color:white">LOGOUT</a></li>
</ul>
</div>
</div>
</div>
<!--END NAV SECTION -->
<div id="mySidenav" style="background:linear-gradient(to bottom, #f0f2f0, #000c40); color: black">
<a href="msg.php">Messages</a>
<a href="banner.php">Banner_edit</a>
<a href="places.php">Places_list</a>
<a href="locations.php">Locations</a>
<a href="about_us.php">About Us</a>
</div>
<br><br><br>
<div class="container">
<div class="row text-center">
<div class="col-md-offset-2" style="background:linear-gradient(to bottom,#00d2ff, #928dab); color: black; border-radius: 10px" >
<!-- Mixins-->
<!-- Pen Title-->
<h1 class="title">Edit Banner</h1>
<div class="col-md-12">
<div class="row text-center" >
<span class="line-sep " >
----------X------------X----------X-------------X------------X----------X-------------X------------X----------X------------X------------X----------X------------X------------X----------X------------
</span>
</div>
</div>
<br><br>
<form method="post" action="about_us_edit2.php?id=<?php echo $id?>">
<br>
<div class="input-container" style="padding:20px;">
<textarea name="paragraph" class="col-md-12" required /><?php echo $row['paragraph'];?></textarea>
</div>
<br><div class="button-container">
<br><br>
<input type="submit" name="submit" value="UPDATE"><hr>
</form>
</div>
</body>
</html>