body {
color: #fff;
background-color: #333333;
overflow-x:hidden;
}
.card-body {
border: 10px solid;
border-image-slice: 1;
border-width: 5px;
background-color: #666666;
border-image-source: linear-gradient(to bottom, #3895D3, #8cc6ec);
}
.card-header {
color: #fff;
background-image: -webkit-linear-gradient(top, #072F5F, #3895D3);
background-image: linear-gradient(to bottom, #072F5F, #3895D3);
background-repeat: repeat-x;
border-bottom: 0px;
}
.list-group-item {
background-color: #666666;
}
a {
color: #ffff00;
}
.dropdown-item {
background-color: #666666;
color: #fff;
}
.dropdown-menu.show {
background-color: #666666;
}
.navbar-nav .nav-link {
color: #fff;
}
.navbar {
background-image: -webkit-linear-gradient(top, #072F5F, #3895D3);
background-image: linear-gradient(to bottom, #072F5F, #3895D3);
background-repeat: repeat-x;
}
.showHide {
float: right;
}
.shoutbox_contain {
background-color: #666666;
}
.shoutbox_contain {
background-color: #666666;
}
.shoutbox {
max-height: 200px;
overflow: auto;
}
.iframe {
border: 0;
width: 100%;
min-height:220px;
}
.newtd {
color: #fff;
background-image: -webkit-linear-gradient(top, #072F5F, #3895D3);
background-image: linear-gradient(to bottom, #072F5F, #3895D3);
background-repeat: repeat-x;
}
/* -- Bootstrap Table --*/
.table thead th {
color: #fff;
background-color: #072F5F;
background-image: -webkit-linear-gradient(top, #072F5F, #3895D3);
background-image: linear-gradient(to bottom, #072F5F, #3895D3);
background-repeat: repeat-x;
}
.tbody td {
background-color: #EEEEEE;
}
.navbar-toggler {
color: #fff;
background-color: #000;
border: 1px solid #fff;
}.card-header {
color: #ff0;
background-color: #ff0000;
}.navbar-nav .nav-link {
color: #fff;
}
.navbar {
background-image: -webkit-linear-gradient(top, #072F5F, #3895D3);
background-image: linear-gradient(to bottom, #072F5F, #3895D3);
background-repeat: repeat-x;
}
.card-header {
color: #fff;
background-image: -webkit-linear-gradient(top, #072F5F, #3895D3);
background-image: linear-gradient(to bottom, #072F5F, #3895D3);
background-repeat: repeat-x;
}
.showHide {
float: right;
}
.shoutbox {
max-height: 200px;
overflow: auto;
}
iframe {
border: 0;
width: 100%;
min-height:220px;
}
body {
overflow-x:hidden;
}
.newtd {
color: #fff;
background-image: -webkit-linear-gradient(top, #072F5F, #3895D3);
background-image: linear-gradient(to bottom, #072F5F, #3895D3);
background-repeat: repeat-x;
}
/* -- Bootstrap Table --*/
.table thead th {
color: #fff;
background-color: #072F5F;
background-image: -webkit-linear-gradient(top, #072F5F, #3895D3);
background-image: linear-gradient(to bottom, #072F5F, #3895D3);
background-repeat: repeat-x;
}
.tbody td {
background-color: #EEEEEE;
}
.navbar-toggler {
color: #fff;
background-color: #000;
border: 1px solid #fff;
}
.card-header {
padding: .75rem 1.25rem;
margin-bottom: 0;
background-color: #007bff;
border-bottom: 1px solid rgba(0,0,0,.125);
}
<?php if ($site_config["LEFTNAV"]) {?>
<div class="col-sm-2 d-none d-md-block sidenav">
public function connect() {
global $site_config;
global $pdo;
// create a db connection
$pdo = new PDO('mysql:host='.$site_config['mysql_host'].';dbname='.$site_config['mysql_db'], $site_config['mysql_user'], $site_config['mysql_pass']);
return $pdo;
} if (!isset($_SESSION["uid"])) {
header("Location: logout.php");
}
$pdo = connect();
if (!$pdo) {
die("Could not connect");
}
$sql = "select * from sessions where id=:id";
$statement = $pdo->prepare($sql);
$myarray = array();
$myarray[':id'] = $id;
$statement->execute($myarray);