-
Notifications
You must be signed in to change notification settings - Fork 0
/
oldsearc.php
147 lines (134 loc) · 5.22 KB
/
oldsearc.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
147
<?php
include 'connection/connection.php';
?>
<!DOCTYPE html>
<html 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>Team #6459 | Scout App</title>
<!-- Favicon -->
<link rel="shortcut icon" href="./img/svg/logo.svg" type="image/x-icon">
<!-- Custom styles -->
<link rel="stylesheet" href="./css/style.min.css">
</head>
<body>
<div class="layer"></div>
<!-- ! Body -->
<a class="skip-link sr-only" href="#skip-target">Skip to content</a>
<div class="page-flex">
<!-- ! Sidebar -->
<aside class="sidebar">
<div class="sidebar-start">
<div class="sidebar-head">
<a href="index.html" class="logo-wrapper" title="Home">
<span class="sr-only">Home</span>
<span class="icon logo" aria-hidden="true"></span>
<div class="logo-text">
<span class="logo-title">Team #6459</span>
<span class="logo-subtitle">Scout App</span>
</div>
</a>
<button class="sidebar-toggle transparent-btn" title="Menu" type="button">
<span class="sr-only">Toggle menu</span>
<span class="icon menu-toggle" aria-hidden="true"></span>
</button>
</div>
<div class="sidebar-body">
<ul class="sidebar-body-menu">
<li>
<a class="active" href="index.html"><span class="icon home" aria-hidden="true"></span>Dashboard</a>
</li>
<li>
<a class="show-cat-btn" href="##">
<span class="icon document" aria-hidden="true"></span>Raporlar
<span class="category__btn transparent-btn" title="Open list">
<span class="sr-only">Open list</span>
<span class="icon arrow-down" aria-hidden="true"></span>
</span>
</a>
<ul class="cat-sub-menu">
<li>
<a href="search.php">Yeni Takım Ara</a>
</li>
<li>
<a href="Rapor.php">Yeni Rapor</a>
</li>
<li>
<a href="cameraphoto.php">Robot Fotoğrafı Çek</a>
</li>
</ul>
</div>
</div>
</aside>
<div class="main-wrapper">
<!-- ! Main nav -->
<nav class="main-nav--bg">
<div class="container main-nav">
<div class="main-nav-end">
<button class="sidebar-toggle transparent-btn" title="Menu" type="button">
<span class="sr-only">Toggle menu</span>
<span class="icon menu-toggle--gray" aria-hidden="true"></span>
</button>
<button class="theme-switcher gray-circle-btn" type="button" title="Switch theme">
<span class="sr-only">Switch theme</span>
<i class="sun-icon" data-feather="sun" aria-hidden="true"></i>
<i class="moon-icon" data-feather="moon" aria-hidden="true"></i>
</button>
</div>
</div>
</nav>
<!-- ! Main -->
<main class="main users chart-page" id="skip-target">
<div class="container">
<h2 class="main-title">Takım <?php echo $_POST["teamid"]; ?> <?php echo $_POST["yearid"]?> Yılı İçin Regional Sonuçları</h2>
<li>
<div class="row">
<div class="col-lg-3">
<article class="white-block">
<div class="top-cat-title">
<h3><?php echo $_POST["yearid"] ?> Yılıdaki Team <?php echo $_POST["teamid"] ?> İçin Sonuçlar</h3>
</div>
<ul class="top-cat-list">
<div class="top-cat-list__subtitle">
<?php
$code ='py veriçekmeyıllı.py '.$_POST["teamid"].' '.$_POST["yearid"].'';
$command = escapeshellcmd($code);
$output = shell_exec($command);
$lastoutput=explode('|', $output);
for ($i = 0; $i < count($lastoutput)-1; ++$i) {
$tamveriler=explode(';',$lastoutput[$i]);
for ($x = 0; $x < count($tamveriler); ++$x) {
echo "$tamveriler[$x]<br>";
}
echo "<br>";
}
?>
</div><br>
</ul>
</article>
</div>
</li>
</div>
<input type="button" name="" onclick="history.back()" style="background-color: red" class="form-btn primary-default-btn transparent-btn" value="Geri Dön">
</main>
<!-- ! Footer -->
<footer class="footer">
<div class="container footer--flex">
<div class="footer-start">
<p>-Team6459-<a href="##" target="_blank"
rel="noopener noreferrer">#Team 6459</a></p>
</div>
</div>
</footer>
</div>
</div>
<!-- Chart library -->
<script src="./plugins/chart.min.js"></script>
<!-- Icons library -->
<script src="plugins/feather.min.js"></script>
<!-- Custom scripts -->
<script src="js/script.js"></script>
</body>
</html>