<?php

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

$modalContent .= '<input type="hidden" name="adminType" value="'. $adminType .'" />
				<input type="hidden" name="op" value="'. $op .'" />
				'. $editInpID . '
				<input type="hidden" name="display" value="'. $display .'" />
				<input type="hidden" name="date_updated" value="'. $date_updated .'" />';

$modalContent .= '<div class="table-responsive">';
$modalContent .= '<table class="adminForm table table-condensed">';
$modalContent .= '<tr>
				<th>Name:</th>
				<td><input type="text" name="camp_name" value="'. $camp_name .'" /></td>';

if ($camp_date == "0000-00-00") 
	$camp_date = '';
$modalContent .= '	<th>Date:</th>
				<td>
					<input type="text" name="camp_date" id="camp_date" readonly="readonly" value="' . $camp_date . '" class="datepicker dateField" />
				</td>';
$modalContent .= '</tr>';
	
$modalContent .= '<tr>
				<th>Type:</th>
				<td><select name="camp_type">'. $campaignTypes .'</select></td>
				<th>&nbsp;</th>
				<td>&nbsp;</td>
			</tr>';
	
$modalContent .= '<tr>
				<th>Description:</th>
				<td colspan="3"><textarea name="camp_desc" style="width: 535px; height: 50px">'. $camp_desc .'</textarea></td>
			</tr>';
	
$modalContent .= '<tr>
				<th>Contacts:</th>
				<td colspan="3"><select name="camp_contacts[]" style="width: 540px;" size="10" multiple>'. $campContacts .'</select></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 -->';

?>