This repository was archived by the owner on Mar 18, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.php
More file actions
105 lines (90 loc) · 4.75 KB
/
Copy pathindex.php
File metadata and controls
105 lines (90 loc) · 4.75 KB
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
<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Leon Robotics</title>
<link rel="stylesheet" href="style.css">
<link rel="icon" href="leonroboticslogo.png">
</head>
<body>
<div id="page" class="main">
<img src="leonroboticslogo.png">
<div id="box-for-arrow" class="red">
<div class="arrow-down"></div>
</div>
</div>
<div id="page" class="info">
<h1>About Us</h1>
<p>Leon Robotics is a team of high school students from Tallahassee, Florida, that engage in the fields of STEM through designing, programming, and building robots.
<br><br>
The FRC is "a varsity sport for the mind" which requires high school teams to design and fabricate a robot in six weeks to compete against other teams, in the process learning about teamwork, friendly competition, and building robots. During the rigorous six week build season, team members spend as many as thirty hours a week in the shop planning, programming, building, and testing our brainchild, preparing it to compete in a field game that is different every year.
</p>
<div class="slideshow">
<?php
$dir = "slideshow/*";
foreach(glob($dir) as $file) {
echo '<img class ="slide" src='.$file.' />';
}
?>
</div>
<button onclick="plusDivs(-1)">❮ Prev</button>
<button onclick="plusDivs(1)">Next ❯</button>
<script>
var myIndex = 0;
carousel();
function carousel() {
var i;
var x = document.getElementsByClassName("slide");
for (i = 0; i < x.length; i++) {
x[i].style.display = "none";
}
myIndex++;
if (myIndex > x.length) {myIndex = 1}
x[myIndex-1].style.display = "block";
setTimeout(carousel, 5000); //5 seconds
}
var slideIndex = myIndex;
showDivs(slideIndex);
function plusDivs(n) {
showDivs(slideIndex += n);
}
function currentDiv(n) {
showDivs(slideIndex = n);
}
function showDivs(n) {
var i;
var x = document.getElementsByClassName("slide");
if (n > x.length) {slideIndex = 1}
if (n < 1) {slideIndex = x.length}
for (i = 0; i < x.length; i++) {
x[i].style.display = "none";
}
x[slideIndex-1].style.display = "block";
}
</script>
<div id="box-for-arrow" class="grey">
<div class="arrow-down"></div>
</div>
</div>
<div id="page" class="social">
<h1>Social Media</h1>
<iframe scrolling="no" allowtransparency="true" allowfullscreen="" data-reactid=".0.$SITE_ROOT.$desktop_siteRoot.$PAGES_CONTAINER.1.1.$SITE_PAGES.$jt80h.1.$comp-ixtm1ygu.$https=2//app=1eclincher=1com/wix/editor/views/widget=1php?cacheKiller=01490128335299&compId=0comp-ixtm1ygu&deviceType=0desktop&height=0538&instance=0n_EIB_cR7KrhfggeHw53dLIVklh5UhuytB64X5iG6vE=1eyJpbnN0YW5jZUlkIjoiM2VhMDQxZjUtODZiMS00MzQ5LWFmZTktM2Q4Yjc1ZDFhZmEwIiwic2lnbkRhdGUiOiIyMDE3LTAzLTIxVDIwOjMyOjEzLjQxMVoiLCJ1aWQiOm51bGwsImlwQW5kUG9ydCI6IjEwLjE1LjEuMTY4LzQwMjk2IiwidmVuZG9yUHJvZHVjdElkIjpudWxsLCJkZW1vTW9kZSI6ZmFsc2UsImFpZCI6IjhmNzliYzU4LWQ0NDQtNDVkMi1iZjAxLTFhMGM1YmU0NGVkNSIsInNpdGVPd25lcklkIjoiYWJmZmE5MWEtNjI1OS00YjMyLTlhYmMtNDgyOTYzYzRkZjM1In0&locale=0en&pageId=0jt80h&viewMode=0site&vsi=08327b3d9-fb13-4e2f-a278-cd5f4dbf9ade&width=0885" src="https://app.eclincher.com/wix/editor/views/widget.php?cacheKiller=1490128335299&compId=comp-ixtm1ygu&deviceType=desktop&height=538&instance=n_EIB_cR7KrhfggeHw53dLIVklh5UhuytB64X5iG6vE.eyJpbnN0YW5jZUlkIjoiM2VhMDQxZjUtODZiMS00MzQ5LWFmZTktM2Q4Yjc1ZDFhZmEwIiwic2lnbkRhdGUiOiIyMDE3LTAzLTIxVDIwOjMyOjEzLjQxMVoiLCJ1aWQiOm51bGwsImlwQW5kUG9ydCI6IjEwLjE1LjEuMTY4LzQwMjk2IiwidmVuZG9yUHJvZHVjdElkIjpudWxsLCJkZW1vTW9kZSI6ZmFsc2UsImFpZCI6IjhmNzliYzU4LWQ0NDQtNDVkMi1iZjAxLTFhMGM1YmU0NGVkNSIsInNpdGVPd25lcklkIjoiYWJmZmE5MWEtNjI1OS00YjMyLTlhYmMtNDgyOTYzYzRkZjM1In0&locale=en&pageId=jt80h&viewMode=site&vsi=8327b3d9-fb13-4e2f-a278-cd5f4dbf9ade&width=885" frameborder="0"></iframe>
<div id="box-for-arrow" class="red">
<div class="arrow-down"></div>
</div>
</div>
<div id="page" class="sponsors">
<h1>Thanks to:</h1>
<div id="wrapper">
<section id="photos">
<?php
$dir = "sponsors/*";
foreach(glob($dir) as $file) {
echo '<img src='.$file.' />';
}
?>
</section>
</div>
</div>
</body>
</html>