-
Notifications
You must be signed in to change notification settings - Fork 0
/
header-trade.php
63 lines (48 loc) · 1.74 KB
/
header-trade.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
<!doctype html>
<html class="no-js" 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.0">
<title>Ethbinary Trades</title>
<link rel="icon" type="image/png" href="img/favicon.png" />
<!-- -->
<link rel="stylesheet" href="css/app.css">
<link rel="stylesheet" href="css/custom.css">
<!-- -->
</head>
<body>
<header class="container-fluid">
<div class="row">
<div class="logo col-sm-6 col-md-3">
<div class="imgLiquid imgLiquidNoFill">
<img src="img/ethbinary-logo.png" alt="">
</div>
</div>
<?php
// $menu_item = array('Trade', 'FAQ', 'About Us', 'Contract', 'Join our ICO', 'Whitepaper');//original order
$menu_item = array('Trade', 'Chat', 'Stats', 'Balance: 0.153752065 Eth');
$menu_item_link = array('trade.php','#', '#', '#');
$active = 0;//active class
?>
<nav class="navbar navbar-expand-lg col-sm-6 col-md-9">
<!-- -->
<button class="col-12 navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
<span class="fa fa-bars"></span>
</button>
<!-- -->
<div class="collapse navbar-collapse" id="navbarSupportedContent">
<ul class="navbar-nav ml-auto">
<?php for ($i=0; $i < count($menu_item); $i++):?>
<li class="nav-item align-self-center">
<a class="<?php echo ($i === $active ? 'active':null);?> nav-link" href="<?php echo $menu_item_link[$i]?>">
<?php echo $menu_item[$i]; ?>
</a>
</li>
<?php endfor; ?>
</ul>
</div>
</nav>
</div>
</header>
<main class="main container">