-
Notifications
You must be signed in to change notification settings - Fork 0
/
cm.php
87 lines (84 loc) · 3.36 KB
/
cm.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Dr. Ramesh Pokhriyal 'Nishank'</title>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" type="text/css" href="css/fullpage.css" />
<link rel="stylesheet" type="text/css" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous">
<link rel="stylesheet" type="text/css" href="css/venobox.min.css">
<link rel="stylesheet" type="text/css" href="css/owl.carousel.min.css">
<link rel="stylesheet" type="text/css" href="css/style.css">
<!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/html5shiv/3.7.3/html5shiv.min.js"></script>
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
<![endif]-->
<!--[if IE]>
<script type="text/javascript">
var console = { log: function() {} };
</script>
<![endif]-->
</head>
<body>
<div class="mainDivtop">
<div class="headerDivIn">
<div class="container">
<div class="headerDivtopIn">
<div class="col-md-8 col-xs-12 headerDivInDiv">
<div class="slider_text text-center innerPag">
<h3>Dr. Ramesh Pokhriyal 'Nishank'</h3>
</div>
</div>
<div class="col-md-4 col-xs-12 hdrRgtBtn">
<div class="hdrRgtBtnIn">
<a href="index.php" class="langLnk">Back</a>
</div>
</div>
</div>
</div>
</div>
<div class="innerMainCnt">
<div class="container mt-4 mb-4">
<?php
include './src/dbh.php';
$sql = "SELECT * FROM about WHERE as_a = 'Chief Minister' ORDER BY id DESC LIMIT 1;";
$result = mysqli_query($conn, $sql);
echo '
<br />
<br />
<br />
<br />
<img style="width: 15%" src="images/imgOneNew-nwq-two.png">
';
while ($row = mysqli_fetch_assoc($result)) {
echo '
<br />
<br />
<br />
<br />
<div class="card mb-2 bg-white">
<div class="card-body">
<h2 style="text-align: left;" class="card-title">'.$row['as_a'].'</h2>
<p style="text-align: left;" class="card-text">
'.$row['description'].'
</p>
</div>
</div>
<br />
<br />
';
}
?>
</div>
</div>
</div>
</div>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js" integrity="sha384-Tc5IQib027qvyjSMfHjOMaLkfuWVxZxUPnCJA7l2mCWNIpG9mGCD8wGNIcPD7Txa" crossorigin="anonymous"></script>
</body>
</html>