-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathproject_form.php
33 lines (30 loc) · 1.37 KB
/
project_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
<?php include "kon/kon.php"; $tables=new Tables(); ?>
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button>
<h4 class="modal-title" id="myModalLabel"><?php if($_POST['mode']==0)echo 'Start Project'; else echo 'Stop Project';?></h4>
</div>
<form id="project_start_form" name="form2" method="post">
<div class="modal-body stinsert">
<div id="panel">
<div class="notifstart">
</div>
<div class="modal-body stinsert">
<div class="form-group">
<label>Select Date</label>
<input name='subtask_start' id='subtask_start_pro' class='form-control subtask_start' placeholder='<?php if($_POST['mode']==0)echo 'Start Project In'; else echo 'Stop Project In';?>'>
</div>
</div>
</div>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-primary" onclick=" <?php if($_POST['mode']==0)echo 'startproject'; else echo 'stopproject';?> ('<?php echo $_POST['code'] ?>','<?php echo $_POST['task_code'] ?>')"><?php if($_POST['mode']==0)echo 'Start'; else echo 'Stop';?></button>
<button type="reset" class="btn btn-default">Reset</button>
</div>
</form>
<script>
$(function() {
$("#subtask_start_pro").datepicker({
dateFormat : 'yy-mm-dd'
});
});
</script>