Mini Shell
<?php include'connection.php'; ?>
<?php
if(isset($_SESSION['uname_atham_wedding_hub']))
{
$a=$_SESSION['uname_atham_wedding_hub'];
}
else if(!isset($_SESSION['uname_atham_wedding_hub']))
{
?>
<script type="text/javascript">
window.location.href="index.php";
</script>
<?php
}
?>
<script>
setTimeout(function () {
});
</script>
<!doctype html>
<html class="no-js">
<head>
<meta charset="UTF-8">
<title>Admin Panel</title>
<!--IE Compatibility modes-->
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<!--Mobile first-->
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- Bootstrap -->
<link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.6/css/bootstrap.min.css">
<!-- Font Awesome -->
<link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/font-awesome/4.5.0/css/font-awesome.min.css">
<!-- Metis core stylesheet -->
<link rel="stylesheet" href="assets/css/main.min.css">
<!-- metisMenu stylesheet -->
<link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/metisMenu/1.1.3/metisMenu.min.css">
<link rel="stylesheet" href="//cdn.datatables.net/plug-ins/3cfcc339e89/integration/bootstrap/3/dataTables.bootstrap.css">
<!-- HTML5 Shim and Respond.js 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="assets/lib/html5shiv/html5shiv.js"></script>
<script src="assets/lib/respond/respond.min.js"></script>
<![endif]-->
<!--For Development Only. Not required -->
<script>
less = {
env: "development",
relativeUrls: false,
rootpath: "../assets/"
};
</script>
<link rel="stylesheet" href="assets/css/style-switcher.css">
<link rel="stylesheet/less" type="text/css" href="assets/less/theme.less">
<script src="//cdnjs.cloudflare.com/ajax/libs/less.js/2.2.0/less.min.js"></script>
<!--Modernizr-->
<script src="//cdnjs.cloudflare.com/ajax/libs/modernizr/2.8.3/modernizr.min.js"></script>
</head>
<body class=" ">
<div class="bg-dark dk" id="wrap">
<div id="top">
<!-- .navbar -->
<nav class="navbar navbar-inverse navbar-static-top">
<div class="container-fluid">
<!-- Brand and toggle get grouped for better mobile display -->
<header class="navbar-header">
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-ex1-collapse">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a href="index.php" class="navbar-brand">
<img src="assets/img/logo.png" alt="">
</a>
</header>
<div class="topnav">
<div class="btn-group">
<a data-placement="bottom" data-original-title="Fullscreen" data-toggle="tooltip" class="btn btn-default btn-sm" id="toggleFullScreen">
<i class="glyphicon glyphicon-fullscreen"></i>
</a>
</div>
<div class="btn-group">
<a data-toggle="modal" data-original-title="Help" data-placement="bottom" class="btn btn-default btn-sm" href="#helpModal">
<i class="fa fa-question"></i>
</a>
</div>
<div class="btn-group">
<a href="logout.php" data-toggle="tooltip" data-original-title="Logout" data-placement="bottom" class="btn btn-metis-1 btn-sm">
<i class="fa fa-power-off"></i>
</a>
</div>
<div class="btn-group">
<a data-placement="bottom" data-original-title="Show / Hide Left" data-toggle="tooltip" class="btn btn-primary btn-sm toggle-left" id="menu-toggle">
<i class="fa fa-bars"></i>
</a>
<a data-placement="bottom" data-original-title="Show / Hide Right" data-toggle="tooltip" class="btn btn-default btn-sm toggle-right"> <span class="glyphicon glyphicon-comment"></span> </a>
</div>
</div>
<div class="collapse navbar-collapse navbar-ex1-collapse">
<!-- .nav -->
<!-- /.nav -->
</div>
</div><!-- /.container-fluid -->
</nav><!-- /.navbar -->
<header class="head">
<div class="search-bar">
<!-- /.main-search -->
</div><!-- /.search-bar -->
<div class="main-bar">
<h3>
<i class="fa fa-table"></i> Admin Panel</h3>
</div><!-- /.main-bar -->
</header><!-- /.head -->
</div><!-- /#top -->
<div id="left">
<div class="media user-media bg-dark dker">
<div class="user-media-toggleHover">
<span class="fa fa-user"></span>
</div>
<?php
$prob1=mysql_query("select * from reg");
while($profetchb=mysql_fetch_row($prob1))
{
?>
<div class="user-wrapper bg-dark">
<a class="user-link" href="profile_view.php">
<?php
if($profetchb[4])
{
?>
<img class="media-object img-thumbnail user-img" style="width:80%;" alt="User Picture" src="admin_pic/<?php echo $profetchb[4];?>">
<?php }
else
{?>
<img class="media-object img-thumbnail user-img" alt="User Picture" src="assets/img/user.gif">
<?php } ?>
</a>
<div class="media-body">
<h1 class="media-heading"><?php echo $profetchb[1];?></h1>
<ul class="list-unstyled user-info">
</ul>
</div>
</div>
<?php
}
?>
</div>
Zerion Mini Shell 1.0