-
Notifications
You must be signed in to change notification settings - Fork 0
/
read_more.php
66 lines (57 loc) · 2.17 KB
/
read_more.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
<?php
$blog_id=$_GET['id'];
require_once 'class/fontend_manage.php';
$show_details=new fontend();
$query_result=$show_details->show_details_info($blog_id);
$db_blog_info=mysqli_fetch_assoc($query_result);
?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Read More</title>
<link rel="stylesheet" href="rec/css/bootstrap.css">
</head>
<body>
<!-- navbar start -->
<nav class="navbar navbar-expand-lg navbar-light bg-light">
<a class="navbar-brand" href="index.php">Index</a>
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarSupportedContent">
<ul class="navbar-nav mr-auto">
<li class="nav-item active">
<a class="nav-link" href="index.php">Home <span class="sr-only">(current)</span></a>
</li>
<li class="nav-item">
<a class="nav-link" href="admin/index.php">Admin</a>
</li>
</ul>
<form class="form-inline my-2 my-lg-0">
<input class="form-control mr-sm-2" type="search" placeholder="Search" aria-label="Search">
<button class="btn btn-outline-success my-2 my-sm-0" type="submit">Search</button>
</form>
</div>
</nav>
<!-- navbar end -->
<!-- main containe -->
<div class="container" style="background-color: #cecabe;">
<div class="row">
<div class="m-5 p-5">
<div class="col-md-12 mb-3">
<img src="admin/<?php echo $db_blog_info['blog_image'];?>" class="img-fluid" alt="">
<h3>
<?php echo $db_blog_info['blog_title'];?>
<small><?php echo $db_blog_info['author_name'];?></small>
</h3>
<p class="pt-2 p-1"><?php echo $db_blog_info['blog_description'];?></p>
</div>
</div>
</div>
</div>
<script type="text/javascript" src="rec/js/bootstrap.bundle.js"></script>
</body>
</html>