<?php

$modalContent = ''; 
$modalContent .= '<div class="row"><div class="col-xs-12">';
$modalContent .= '<div class="table-responsive">';

$modalContent .= '<input type="hidden" name="op" value="'. $op .'" />
				'. $editInpID . '
				<input type="hidden" name="adminType" value="'. $adminType .'" />
				<input type="hidden" name="display" value="'. $display .'" />
				<input type="hidden" name="page" value="'. $_POST['page'] .'" />
				<input type="hidden" name="section" value="'. $_POST['section'] .'" />';
$modalContent .= '<table class="adminForm table table-condensed">';
$modalContent .= '<tr>
				<th class="col-sm-2">Name:</th>
				<td class="col-sm-4"><input type="text" name="taskName" value="'. $taskName .'" data-rule-required="true" data-msg-required="Please enter a Task Name" /></td>
				<th class="col-sm-2">Status:</th>
				<td class="col-sm-4"><select name="taskStatus">'. $taskStatus .'</select></td>
			</tr>';	
$modalContent .= '<tr>
				<th>Project:</th>
				<td colspan="5">'. $taskProject .'</td>
			</tr>';				
					
$modalContent .= '<tr>
				<th>Client:</th>
				<td>'. $taskClient .'</td>
				<th>Priority:</th>
				<td><select name="priority" data-rule-required="true" data-msg-required="Please select a Priority">'. $taskPriority .'</select></td>
				<th>Estimate:</th>
				<td><input type="text" name="taskEstimate" value="'. $taskEstimate .'" style="width: 50px" /> (hours)</td>
			</tr>';	
$modalContent .= '<tr>
				<th>Description:</th>
				<td colspan="5"><textarea name="TaskDesc" style="width: 570px; height: 100px;">'. $taskDesc .'</textarea></td>
			</tr>';
$modalContent .= '<tr>
				<th>Progress:</th>
				<td colspan="5">
					<div class="ui-slide slider" min="0" max="100" inc="1"></div>
					<div class="slider-progress"><input class="sliderValue" id="taskProgress" name="taskProgress" type="text" value="'. $taskProgress .'" />% Complete</div>
				</td>
			</tr>';
$modalContent .= '<tr>
				<th>Start Date:</th>
				<td><input class="dateField datepicker" type="text" name="startDate" id="startDate" readonly="readonly" value="' . $startDate . '" /></td>
				<th>Due Date:</th>
				<td colspan="3"><input class="dateField datepicker" type="text" name="dueDate" id="dueDate" readonly="readonly" value="' . $dueDate . '" /></td>
			</tr>';
	
$modalContent .= '</table>';
$modalContent .= '</div><!-- /table-responsive -->';
$modalContent .= '<p style="text-align: center"><input type="submit" name="submit" value="'. $subBtn .'" /></p>';

$modalContent .= '</div></div><!-- /.row -->';

?>