| Server IP : 210.245.233.93 / Your IP : 216.73.216.226 Web Server : Apache/2.2.15 (CentOS) System : Linux webserver2.onesolution.com.hk 2.6.32-754.35.1.el6.x86_64 #1 SMP Sat Nov 7 12:42:14 UTC 2020 x86_64 User : apache ( 48) PHP Version : 5.3.3 Disable Function : exec, shell_exec, system, passthru, popen, proc_open, pcntl_exec MySQL : ON | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /var/www/(Del)pathways.org.hk/MIS20140127/old20140314/Event/ |
Upload File : |
<!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>