forked from super3/peercoin.net
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathheader.php
146 lines (132 loc) · 7.73 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
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
<?php
include ('locale/locale.php');
$Locale = new Loc();
?>
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8">
<!-- Title -->
<title><?php if(isset($page_title)) echo $page_title . ' - '; echo $Locale->getText("homepage_title"); ?></title>
<!-- Description, Keywords and Author -->
<meta name="description" content="Secure and sustainable cryptocoin.">
<meta name="keywords" content="peercoin, bitcoin, litecoin, primecoin, cryptocurrency, sustainable, cryptocoin">
<meta name="author" content="Peercoin">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
<!-- open graph tags -->
<meta property="og:title" content="Peercoin">
<meta property="og:type" content="website">
<meta property="og:url" content="http://peercoin.net">
<meta property="og:image" content="http://peercoin.net/assets/img/logos/logo.svg">
<meta property="og:description" content="Secure and sustainable cryptocoin.">
<!-- Misc Meta -->
<meta name="google-site-verification" content="-GOUzkxsjMUypgT8xj6GD4W9xNv_SMeorTZtOKPRzg8">
<link rel="shortcut icon" type="image/x-icon" href="favicon.ico">
<!-- Bootstrap core CSS -->
<link rel="stylesheet" href="//netdna.bootstrapcdn.com/bootstrap/3.0.0/css/bootstrap.min.css" integrity="sha384-dkTxiR4Mv8i0ubTj0fsgTCmhYmOtrc0o6rdrEO6hDZs9cAifak0Y2VVL2cecWHLQ" crossorigin="anonymous">
<link rel="stylesheet" href="assets/css/flat-ui.css">
<!-- Font Awesome -->
<link rel="stylesheet" type="text/css" href="assets/css/font-awesome.min.css">
<!-- Custom styles for this template -->
<link href="assets/css/main.css" rel="stylesheet">
<!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
<!--[if lt IE 9]>
<script src="//cdnjs.cloudflare.com/ajax/libs/html5shiv/3.7/html5shiv.js"></script>
<script src="//cdnjs.cloudflare.com/ajax/libs/respond.js/1.4.2/respond.js"></script>
<![endif]-->
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-40768937-3', 'peercoin.net');
ga('send', 'pageview');
</script>
</head>
<body>
<!-- Fixed navbar -->
<nav class="navbar navbar-default navbar-fixed-top" role="navigation">
<div class="container">
<div class="navbar-header">
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href=".">
<img src="assets/img/logos/Dark-Text-350.svg" class="peercoin-logo" alt="Peercoin">
</a>
</div>
<div class="navbar-collapse collapse">
<ul class="nav navbar-nav pull-right">
<li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown"><?php echo $Locale->getText("header.get_started"); ?><b class="caret"></b></a>
<ul class="dropdown-menu">
<li><a href="newcomers"><?php echo $Locale->getText("header.newcomers"); ?></a></li>
<li><a href="investors"><?php echo $Locale->getText("header.investors"); ?></a></li>
<li><a href="merchants"><?php echo $Locale->getText("header.merchants"); ?></a></li>
<li><a href="mining"><?php echo $Locale->getText("header.miners"); ?></a></li>
<li><a href="developers"><?php echo $Locale->getText("header.developers"); ?></a></li>
</ul>
</li>
<li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown"><?php echo $Locale->getText("header.learn"); ?><b class="caret"></b></a>
<ul class="dropdown-menu">
<li><a href="minting"><?php echo $Locale->getText("header.mint_peercoins"); ?></a></li>
<li><a href="mining-guide"><?php echo $Locale->getText("header.mining-guide"); ?></a></li>
<li><a target="_blank" href="https://www.youtube.com/playlist?list=PLvd1OhApu6fVgcvkEdSNYJiuM8iAi_2iu"><?php echo $Locale->getText("header.tutorials"); ?></a></li>
<li><a href="whitepaper"><?php echo $Locale->getText("header.peercoin_whitepaper"); ?></a></li>
<li><a href="faq"><?php echo $Locale->getText("header.frequently_asked_questions"); ?></a></li>
</ul>
</li>
<li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown"><?php echo $Locale->getText("header.resources"); ?><b class="caret"></b></a>
<ul class="dropdown-menu">
<li><a target="_blank" href="https://coinmarketcap.com/currencies/peercoin/#markets">Exchanges</a></li>
<li><a target="_blank" href="https://www.peercoinexplorer.net/">Block Explorers</a></li>
<li><a target="_blank" href="https://peer4commit.com">Peer4commit</a></li>
<li><a target="_blank" href="http://www.peerbox.me">Peerbox</a></li>
<li><a target="_blank" href="https://github.com/super3/Peercoin.net">GitHub</a></li>
<li><a target="_blank" href="https://www.transifex.com/projects/p/website-ppc">Transifex</a></li>
<li><a target="_blank" href="https://wiki.peercointalk.org">Wiki</a></li>
</ul>
</li>
<li><a href="wallet"><?php echo $Locale->getText("header.wallet"); ?></a></li>
<li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown"><?php echo $Locale->getText("header.community"); ?><b class="caret"></b></a>
<ul class="dropdown-menu">
<li><a target="_blank" href="https://talk.peercoin.net">Forum</a></li>
<li><a target="_blank" href="https://peercoin.chat">Chat</a></li>
<li><a target="_blank" href="https://telegram.me/peercoin">Telegram</a></li>
<li><a target="_blank" href="https://www.reddit.com/r/peercoin">Reddit</a></li>
<li><a target="_blank" href="https://twitter.com/PeercoinPPC">Twitter</a></li>
<li><a target="_blank" href="https://www.facebook.com/Peercoin">Facebook</a></li>
<li><a target="_blank" href="https://plus.google.com/+PeercoinNet">Google+</a></li>
<li><a target="_blank" href="https://www.youtube.com/user/peercoin">YouTube</a></li>
</ul>
</li>
<li class="dropdown dropdown-language">
<a href="#" id="lang-tooltip" class="dropdown-toggle" data-toggle="dropdown" data-placement="left" title="<?php echo $Locale->getText("header.languages"); ?>"><i class="fa fa-language fa-3x"></i></a>
<ul class="dropdown-menu">
<?php
foreach($Locale->getLanguages() as $language_code => $language_text):
if($Locale->locale_code!=$language_code){
echo "<li><a href=\"".$_SERVER['SCRIPT_NAME']."?locale=".$language_code."\">".$language_text."</a></li>";
}
endforeach;
?>
</ul>
</li>
</ul>
</div><!--/.nav-collapse -->
</div>
</nav>
<?php if (isset($index)) { ?>
<!-- Headerwrap -->
<header id="headerwrap-2">
<div class="container">
<?php } else if(isset($no_container)) { ?>
<div class="content">
<?php } else { ?>
<div class="container content">
<?php }?>