-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstrategyredirect.php
113 lines (98 loc) · 3.17 KB
/
strategyredirect.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
<?php include 'components/authentication.php' ?>
<?php include 'components/session-check.php' ?>
<?php include 'controllers/base/head.php' ?>
<?php include 'controllers/navigation/first-navigation.php' ?>
<?php
if($_GET["request"]=="profile-update" && $_GET["status"]=="success"){
$dialogue="Your profile update was successful! ";
}
else if($_GET["request"]=="profile-update" && $_GET["status"]=="unsuccess"){
$dialogue="Your profile update was not at all successful! ";
}
else if($_GET["request"]=="login" && $_GET["status"]=="success"){
$dialogue="Welcome back again! ";
}
?>
<?php echo '<link rel="stylesheet" type="text/css" href="style.css">';?>
<?php include '/var/www/_database/database.php' ?>
<script>
$(document).bind("contextmenu",function(e) {
e.preventDefault();
});
$(document).keydown(function(e){
if(e.which === 123){
return false;
}
});
</script>
<body>
<center>
<h1 class="rainbowize">Strategy</h1>
<br>
<h2>Main</h2>
<button id="all" class="float-left submit-button" >All Data</button>
<script type="text/javascript">
document.getElementById("all").onclick = function () {
location.href = "test.php";
};
</script>
<button id="teamNum" class="float-left submit-button" >Data By Team Number</button>
<script type="text/javascript">
document.getElementById("teamNum").onclick = function () {
location.href = "strategyinput.php";
};
</script>
<button id="recall" class="float-left submit-button" >Match Recall</button>
<script type="text/javascript">
document.getElementById("recall").onclick = function () {
location.href = "matchrecallinput.php";
};
</script>
<button id="averages" class="float-left submit-button" >Averages</button>
<script type="text/javascript">
document.getElementById("averages").onclick = function () {
location.href = "averages.php";
};
</script>
<br>
<br>
<br>
<br>
<h2>Pit</h2>
<button id="pitdata" class="float-left submit-button" >Pit Summary</button>
<script type="text/javascript">
document.getElementById("pitdata").onclick = function () {
location.href = "pitdata.php";
};
</script>
<br>
<br>
<br>
<br>
<h2>Export</h2>
<button id="export" class="float-left submit-button" >Export</button>
<script type="text/javascript">
document.getElementById("export").onclick = function () {
location.href = "export.php";
};
</script>
<button id="hopperexport" class="float-left submit-button" >HOPPER SIZE</button>
<script type="text/javascript">
document.getElementById("hopperexport").onclick = function () {
location.href = "hopperexport.php";
};
</script>
<!--<button id="timescouted" class="float-left submit-button" >Time Scouted</button>
<script type="text/javascript">
document.getElementById("timescouted").onclick = function () {
location.href = "timescouted.php";
};
</script>-->
<br>
<br>
<br>
<br>
<br>
<a href="MemeMachine.ods" download><h4>Match Prediction Sheet</h4></a>
</center>
</body>