-
Notifications
You must be signed in to change notification settings - Fork 0
/
header.php
104 lines (92 loc) · 5.23 KB
/
header.php
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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
<?php
$allfactors = (array) $erapi_allfactors;
$factor = '';
if (isset($_GET['factor']) && !empty($_GET['factor'])) {
if (array_key_exists($_GET['factor'], $allfactors)) {
$factor = $allfactors[$_GET['factor']];
}
}
$pagename = isset($_GET['p']) && !empty($_GET['p']) ? $_GET['p'] : 'Home';
?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="<?PHP echo $page_title . " - " . $project_name ?>">
<title><?PHP echo $page_desc . " - " . $project_name ?></title>
<!-- Theme CSS -->
<link href="bower_components/bootstrap/dist/css/bootstrap.min.css" rel="stylesheet">
<link href="bower_components/font-awesome/css/font-awesome.min.css" rel="stylesheet" type="text/css">
<!-- Project Base CSS -->
<link href='http://fonts.googleapis.com/css?family=Permanent+Marker' rel='stylesheet' type='text/css'>
<link href='https://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic&subset=latin,latin-ext' rel='stylesheet' type='text/css'>
<!-- Report Page CSS -->
<link href="css/base.css" rel="stylesheet">
<link href="css/report.css" rel="stylesheet">
<?php if (isset($_GET['pdf']) && !empty($_GET['pdf'])) { ?>
<link href="css/reportpdf.css" rel="stylesheet">
<?php } ?>
<!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
<script src="https://oss.maxcdn.com/libs/respond.js/1.4.2/respond.min.js"></script>
<![endif]-->
</head>
<body>
<div id="wrapper">
<div class="w1">
<header id="header">
<div class="container">
<div class="row">
<strong class="logo">
<a href="index.php">
<img src="img/logo-white.png" alt="eRanker">
</a>
</strong>
</div>
</div>
</header>
<section class="visual">
<div class="container">
<div class="row">
<div class="col-xs-12">
<div class="holder">
<header class="head">
<?php if (isset($_GET['factor']) && strcasecmp($pagename, 'createreport') === 0) { ?>
<div class="row">
<div class="col-lg-12">
<h1 class="page-header"><?php echo $factor->text->friendly_name ?> Checker</h1>
</div>
<!-- /.col-lg-12 -->
</div>
<?php } ?>
<?PHP if (!empty($page_title) && strcasecmp($pagename, 'createreport') !== 0) { ?>
<div class="row">
<div class="col-lg-12">
<h1 class="page-header"><?PHP echo $page_title ?></h1>
</div>
<!-- /.col-lg-12 -->
</div>
<?PHP } else { ?>
<br />
<?PHP } ?>
</header>
<?php if (isset($_GET['factor']) && strcasecmp($pagename, 'createreport') === 0) { ?>
<div class="block">
<h4> <?php echo stripslashes(html_entity_decode((isset($factor->text->description_neutral)) ? $factor->text->description_neutral :'')) ?> </h4>
</div>
<?php } ?>
<?php if (strcasecmp($pagename, 'home') === 0) { ?>
<div class="block">
<h4>In search engine optimization, on-page optimization refers to factors that have an effect on your website or webpage listing in natural search results. These factors are controlled by you or by your page's code. Examples of on-page optimization include actual HTML code, meta tags, keyword placement and keyword density. </h4>
</div>
<?php } ?>
</div>
</div>
</div>
</div>
</section>
</div>
<div id="page-wrapper">