-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmain.php
executable file
·71 lines (59 loc) · 2.38 KB
/
main.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
<?
require_once dirname(__FILE__) . '/lib/access.php';
if (!accessTest()) {
Header('Location: /index.php?code=69');
exit(0);
}
require_once dirname(__FILE__) . '/classes/Match.php';
require_once dirname(__FILE__) . '/classes/Stake.php';
?><!DOCTYPE html>
<html lang="ru">
<? include dirname(__FILE__) . '/templates/head.php'; ?>
<body>
<div class="container">
<? include dirname(__FILE__) . '/templates/menu.php'; ?>
<div class="row">
<div class="span8 offset3">
<div class="top_m clearfix">
<div class="btn-group pull-left">
<div class="btn active" onclick="filter(this, '#matches > ul li')">Все матчи</div>
<div class="btn" onclick="filter(this, '#matches > ul > li', 'data-without-my')">Без моих ставок
</div>
<div class="btn" onclick="filter(this, '#matches > ul > li', 'data-my')">С моими ставками</div>
</div>
<div class="btn pull-left" style="margin-left: 10px;" onclick="refreshMatches()">
<i class="icon-refresh"></i>
</div>
<div id="show_all" class="btn pull-right dropdown-toggle" onclick="openAllMatches(this)">
Развернуть все
<span class="caret"></span>
</div>
</div>
</div>
</div>
<div class="row">
<div class="span2 offset1">
<ul class="nav nav-pills nav-stacked">
<li id="menu_available" class="active">
<a href="#" onClick="loadMatches('available');">
Доступные
<!-- <span class="badge badge-inverse pull-right"></span>-->
</a>
</li>
<li id="menu_active">
<a href="#" onClick="loadMatches('active');">Активные</a>
</li>
<li id="menu_played">
<a href="#" onClick="loadMatches('played');">Сыгранные</a>
</li>
</ul>
</div>
<div class="span8">
<div id="matches"></div>
</div>
</div>
<script type="text/javascript">loadMatches('available');</script>
</div>
<? include dirname(__FILE__) . '/templates/bottom.php'; ?>
</body>
</html>