-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathadd.tournament.form.php
85 lines (68 loc) · 1.97 KB
/
add.tournament.form.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
<?php
require_once 'vendor/autoload.php';
use FileListPoker\Main\Site;
use FileListPoker\Main\Config;
$site = new Site();
$jQueryPath = Config::getValue('path_jquery');
$jQueryUIPath = Config::getValue('path_jqueryui');
$jQueryCSSPath = Config::getValue('path_jqueryui_css');
echo '<!DOCTYPE html>
<html>
<head>
<title>FileList Poker Add Tournament</title>';
echo "<script type=\"text/javascript\" src=\"$jQueryPath\"></script>\n";
echo "<script type=\"text/javascript\" src=\"$jQueryUIPath\"></script>\n";
echo "<link rel=\"stylesheet\" href=\"$jQueryCSSPath\" />\n";
?>
<style type="text/css">
div{
padding:8px;
}
div label {
padding: 8px;
}
body {
background:#BCD5E1;
}
</style>
</head>
<body>
<h1>FileList Poker Add Tournament</h1>
<script type="text/javascript">
$(document).ready(function()
{
$('#tournamentdate').datepicker ({dateFormat: 'yy-mm-dd', firstDay: 1});
});
</script>
<form action="add.tournament.execute.php" method="POST" target="_blank">
<div>
<label>Tournament Date: </label>
<input type="text" name="tournamentdate" id="tournamentdate" value="" />
</div>
<div>
<label>Participants: </label>
<input type="text" name="participants" id="participants" value="" />
</div>
<div>
<label>Duration Hours: </label>
<input type="text" name="hours" id="hours" value="" />
</div>
<div>
<label>Duration Minutes: </label>
<input type="text" name="minutes" id="minutes" value="" />
</div>
<div>
<label>Type: </label>
<select name="type">
<option value="regular" selected>Regular</option>
<option value="special">Special</option>
</select>
</div>
<p>
<label>Password: </label>
<input type='password' name='flpokerpassword' id='flpokerpassword' value ='' />
</p>
<input type='submit' value='Submit' id='submitbutton' />
</form>
</body>
</html>