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
|
<!DOCTYPE html> <html> <head> <?php require_once '../include/head.php'; ?> <?php require_once '../include/checkuser.php'; ?> <?php require_once '../include/Nav_bar.php'; ?> <script> $(function(){ $("#start_date_div").datetimepicker({autoclose: true, pickTime: false, startDate: new Date()}); $('#start_date_div').datetimepicker().on('changeDate', function(ev){ date = new Date($('#start_date_input').val()); $('#end_date_div').datetimepicker('setStartDate',date); $('#end_date_div').datetimepicker('setDate',date); $('#end_date_div').datetimepicker('show'); $('#start_date_div').datetimepicker('hide'); $('#end_date_div').datetimepicker('remove'); }); $('#end_date_div').datetimepicker({ autoclose: true,pickTime: false,startDate: new Date() }); $('#end_date_div').datetimepicker().on('changeDate', function(ev){ $('#end_date_div').datetimepicker('hide'); }); }); </script> </head> <body> <!-- line between nav bar and content --> <div class="text-right"> <ul class="breadcrumb"> <li><a href="Event_List.php">Event</a> <span class="divider">></span></li> <li class="active">Add Activity</li> </ul> </div>
<div class="container-fluid pathways-container"> <h3>Add Activity</h3> <table style="width: 70%;"> <tr> <td style="width: 200px;text-align: right;padding-bottom: 10px;">Title : </td> <td style="width: 10px;"></td> <td colspan="5"><input type="text" style="width: 92.5%;" /></td> </tr> <tr style="height: 15px;"></tr> <tr> <td style="text-align: right;padding-bottom: 10px;">Start Date : </td> <td></td> <td> <div class="input-append date" id="start_date_div"> <input type="text" value="" id="start_date_input" > <span class="add-on"><i class="icon-th"></i></span> </div> </td> <td style="width: 100px;text-align: right;padding-bottom: 10px;">End Date : </td> <td style="width: 10px;"></td> <td> <div class="input-append date" id="end_date_div"> <input type="text" value="" id="end_date_input" > <span class="add-on"><i class="icon-th"></i></span> </div> </td> </tr> <tr style="height: 15px;"></tr> <tr> <td style="text-align: right;">Price :</td> <td></td> <td> <div class="input-prepend" style="margin-bottom: 1px;"> <button type="button" class="btn" disabled>$</button> <input name="Amount[]" type="text" style="text-align: right"/> </div> </td> </tr> <tr style="height: 15px"></tr> <tr> <td style="text-align: right;">Number of People :</td> <td></td> <td> <input type="text" onafterpaste="this.value=this.value.replace(/[^\d]/g,'')" onkeyup="this.value=this.value.replace(/[^\d]/g,'')"/> </td> </tr> </table> <hr/> <button type="submit" class="btn btn-danger">Save</button> <button type="button" class="btn btn-danger" onclick="history.back();">Back</button> </div> <!-- /container --> </body> </html>
|