Files
mirror-processhacker/misc/website/websitev3/include/header.php
T
dmex 5010d1589a WebsiteV3: fixed Bootstrap CDN support; updated downloads.php
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@5540 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2013-11-03 12:24:43 +00:00

62 lines
3.5 KiB
PHP

<?php include "config.php";
$conn = mysqli_connect($dbHostRo, $dbUserRo, $dbPasswdRo, $dbNameRo);
?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8"/>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="Process Hacker, A free, powerful, multi-purpose tool that helps you monitor system resources, debug software and detect malware."/>
<link href="http://netdna.bootstrapcdn.com/bootstrap/3.0.0/css/bootstrap-glyphicons.css" rel="stylesheet">
<link href="http://netdna.bootstrapcdn.com/bootstrap/3.0.1/css/bootstrap.min.css" rel="stylesheet" type="text/css">
<link href='http://fonts.googleapis.com/css?family=Open+Sans' rel='stylesheet' type='text/css'>
<link href="favicon.ico" rel="shortcut icon">
<link href="css/custom.css" rel="stylesheet" type="text/css">
<title><?php echo $pagetitle ?> - Process Hacker</title>
</head>
<body>
<nav class="navbar navbar-default navbar-inverse navbar-fixed-top" role="navigation">
<div class="container">
<div class="row">
<div class="navbar-header">
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#collapse">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
</div>
<div class="collapse navbar-collapse" id="collapse">
<ul class="nav navbar-nav">
<li <?php if ($pagetitle == 'Overview') echo "class=\"active\"" ?>><a href="index.php">Overview</a></li>
<li <?php if ($pagetitle == 'Features') echo "class=\"active\"" ?>><a href="features.php">Features</a></li>
<li <?php if ($pagetitle == 'Downloads') echo "class=\"active\"" ?>><a href="downloads.php">Downloads</a></li>
<li <?php if ($pagetitle == 'FAQ') echo "class=\"active\"" ?>><a href="faq.php">FAQ</a></li>
<li <?php if ($pagetitle == 'About') echo "class=\"active\"" ?>><a href="about.php">About</a></li>
<li><a href="/forums">Forum</a></li>
</ul>
<ul class="nav navbar-nav navbar-right">
<li class="dropdown">
<a href="#" class="dropdown-toggle navbar-brand" data-toggle="dropdown"> Process Hacker <b class="caret"></b></a>
<ul class="dropdown-menu">
<li <?php if ($pagetitle == 'News') echo "class=\"active\"" ?>><a href="news.php">News</a></li>
<li <?php if ($pagetitle == 'Changelog') echo "class=\"active\"" ?>><a href="changelog.php">Changelog</a></li>
<li <?php if ($pagetitle == 'Members') echo "class=\"active\"" ?>><a href="members.php">Members</a></li>
<li <?php if ($pagetitle == 'Plugins') echo "class=\"active\"" ?>><a href="plugins.php">Plugins</a></li>
<li class="divider"></li>
<li><a href="../forums/viewforum.php?f=5">Ask a question</a></li>
<li><a href="../forums/viewforum.php?f=24">Report a bug</a></li>
</ul>
</li>
</ul>
</div>
</div>
</div>
</nav>
<div class="container">