I attempted so as to add a person login to the present database php file… put up including im not in a position to see all of the styling executed by the identical.
Listed here are the codes..
<?php
session_start();
if(isset($_SESSION['User']))
{
?>
<?php
$join = mysqli_connect("localhost", "root", "", "u771775069_data");
$question = "SELECT * FROM information ORDER BY id DESC";
$consequence = mysqli_query($join, $question);
?>
<!DOCTYPE html>
<html>
<head>
<title>Knowledge Dump of DSR</title>
<script src="js/jquery.min.js"></script>
<hyperlink rel="stylesheet" href="css/bootstrap.min.css" />
<hyperlink href="css/fashion.css" rel="stylesheet" media="all">
<script src="js/bootstrap.min.js"></script>
</head>
<physique>
<div class="container" fashion="width:1500px;">
<div class="dropdown">
<button class="btn btn-primary dropdown-toggle btn-sm" sort="button" data-toggle="dropdown"><span class='glyphicon glyphicon-user' aria-hidden='true'></span> Choose </button>
<ul class="dropdown-menu">
<li><a href="logout.php?logout" data-toggle="modal"><span class='glyphicon glyphicon-log-out' aria-hidden='true'></span> Logout</a></li>
<!-- <li><a href="#changepass" data-toggle="modal"><span class='glyphicon glyphicon-edit' aria-hidden='true'></span> Change Password</a></li> -->
</ul>
</div>
<h3 align="heart">Knowledge Dump of DSR</h3>
<enter sort="textual content" id="myInput" onkeyup="myFunction()" placeholder="Search Any:">
<enter sort="textual content" id="myInput2" onkeyup="myFunction2()" placeholder="Search Entered Date Solely :">
<div id="dsr_table">
<desk class="desk table-bordered">
There’s finish tag for this..
}
}
}
</script>
<?php }
else
{
header("location:index.php");
}
?>
Methods to get again the styling again by preserving the login possibility..