-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathread.php
More file actions
42 lines (40 loc) · 872 Bytes
/
read.php
File metadata and controls
42 lines (40 loc) · 872 Bytes
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
<?php
ob_start();
session_start();
include('connect.php');
if(isset($_COOKIE["userid"]))
{
if($_COOKIE["userid"]=="user_id_auth_remember")
$_SESSION['userid']="admuser";
}
if(!isset($_SESSION['userid']))
{
header('location:index.php');
}
?>
<html>
<head>
<title>BIT CERTIFICATE</title>
<meta name="viewport" content="width=device-width , initial-scale=1.0">
<link href="css/bootstrap.min.css" rel="stylesheet">
<link href="css/form.css" rel="stylesheet">
<link href="css/basic.css" rel="stylesheet">
<link rel="shortcut icon" type="image/x-icon" href="img/fav.ico">
</head>
<?php $site="exte"; include("header.php");?>
<div class="container">
<div class="jumbotron">
<ol>
<?php $q="select * from review";
$r=mysqli_query($con,$q);
if($r)
while($row=mysqli_fetch_array($r))
{
echo '<li>'.$row[0].'</li>';
}
?>
</ol>
</div>
</div>
</body>
</html>