-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathheader-gateway.php
executable file
·93 lines (87 loc) · 3.83 KB
/
header-gateway.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
<?php
/*
* To edit the background image, place it's path on the server here.
*/
$bubble_path = get_template_directory_uri()."/texture/new_bubbles/single_bubble.png";
$base_url = 'http://'.$_SERVER['HTTP_HOST'].$_SERVER['REQUEST_URL'];
$forum_url = 'http://forum.bexcellent.org.uk/';
$bubble_menu_items = array(
"Lifestyle" => $base_url."/lifestyle",
"Tech" => $base_url."/technology",
"About" => $base_url."/about",
"Age" => $base_url."/age-selection",
"The Team" => $base_url."/the-team",
"News" => $base_url."/news",
"CiS annual Conference" => $base_url."/bexcon",
"Contact" => $base_url."/contact",
"Forum" => $forum_url,
"Schools" => $base_url."/schools");?>
<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" href="<?php echo get_template_directory_uri(); ?>/style.css">
<link rel="stylesheet" href="<?php echo get_template_directory_uri(); ?>/css/bootstrap.min.css">
<link rel="stylesheet" type="text/css" href="https://fonts.googleapis.com/css?family=Roboto">
<meta name="google-translate-customization" content="a9ae1f2b766f7d2b-81ef0989257c4ff9-g6bca4490168a957a-11"></meta>
<meta name="description" content="Education, Educational, A different website, Interesting, Cool, Fun, Bexcellent is exellent, Resource, Engaging, Awesome." />
<?php echo wp_head(); ?>
<title>BeXcellent</title>
<meta charset="windows-1252">
<meta name="viewport" content="width=device-width">
<style type="text/css">
body
{
width: 100vw;
height: 100vh;
}
</style>
</head>
<body>
<div class="visible-md visible-lg">
<?php
$id_no = 1;
foreach($bubble_menu_items as $item => $url) { ?>
<div id="l<?php echo $id_no?>" class="linkbubble">
<a target="_parent" href="<?php echo $url; ?>">
<img class="linkbubble" src="<?php echo $bubble_path; ?>" alt="Videos">
<p class="bubbletext" style="left: 1.0em;top: 1.8em;"><?php echo $item; ?></p>
</a>
</div>
<?php
$id_no += 1;
}
?>
<img src="<?php echo get_template_directory_uri(); ?>/texture/new_bubbles/becellent.png" alt="BeXcellent" class="" style="position:absolute; top: 120px; left: 2px;"/>
<h3 id="gatewayblurb">The website made by young people for young people for all things</br><b>Curriculum for Excellence</b>
</br></br>
<!-- <a href="http://www.sqa.org.uk/" target="_blank"><img src="//www1.sqa.org.uk/images/sqa-print-logo.gif"></a></br> -->
<a href="http://www.childreninscotland.org.uk/" target="_blank"> <img src="http://www.childreninscotland.org.uk/sites/all/themes/cis/logo.png"></a>
</h3>
</div>
<div class="visible-xs visible-sm">
<div class="row">
<div class="col-sm-12">
<img src="<?php echo get_template_directory_uri(); ?>/texture/bexcellent.jpg" alt="BeXcellent" class="" style="width: 100vw;"/>
</div>
<?php
$id_no = 1;
foreach($bubble_menu_items as $item => $url) { ?>
<div id="l<?php echo $id_no?>-small" class="linkbubble-small" style="left: 6px; top: 6px;">
<a target="_parent" href="<?php echo $url; ?>">
<img class="linkbubble" src="<?php echo $bubble_path; ?>" alt="Videos">
<p class="bubbletext" style="left: 1.0em;top: 1.8em;"><?php echo $item; ?></p>
</a>
</div>
<?php
$id_no += 1;
}
?>
<div class="col-sm-12" id="smallBlurbContainer">
<h3 id="gatewayblurbSmall">The website made by young people for young people for all things</br><b>Curriculum for Excellence</b>
</br></br>
<!-- <a href="http://www.sqa.org.uk/" target="_blank"><img src="//www1.sqa.org.uk/images/sqa-print-logo.gif"></a></br> -->
<a href="http://www.childreninscotland.org.uk/" target="_blank"> <img src="http://www.childreninscotland.org.uk/sites/all/themes/cis/logo.png"></a>
</h3>
</div>
</div>
</div>