Example #1
0
							<td><?php 
echo form_input('filters[search_value][city]', @$_GET['filters']['search_value']['city']);
?>
 </td>
						</tr>
						<tr>
							<td>State: <?php 
echo form_hidden('filters[search_val][]', 'state');
?>
</td>
							<td><?php 
echo form_dropdown('filters[search_type][]', array('equals' => '=', 'not_equal' => '!=', 'less_than' => '<', 'less_than_equal' => '<=', 'greater_than' => '>', 'greater_than_equal' => '>=', 'like' => 'Like'));
?>
</td>
							<td><?php 
echo form_dropdown('filters[search_value][state]', array_merge(array('' => 'Choose State'), getStateList()), @$_GET['filters']['search_value']['state']);
?>
 </td>
						</tr>
						<tr>
							<td>Status: <?php 
echo form_hidden('filters[search_val][]', 'status');
?>
</td>
							<td><?php 
echo form_dropdown('filters[search_type][]', array('equals' => '=', 'not_equal' => '!=', 'less_than' => '<', 'less_than_equal' => '<=', 'greater_than' => '>', 'greater_than_equal' => '>=', 'like' => 'Like'));
?>
</td>
							<td><?php 
echo form_dropdown('filters[search_value][status]', array('' => 'Select one', 'To Submit' => 'To Submit', 'On Deck' => 'On Deck', 'Funded' => 'Funded', 'Pending' => 'Pending', 'Declined' => 'Declined', 'Prospect' => 'Prospect', 'Approved' => 'Approved'), @$_GET['filters']['search_value']['status']);
?>
Example #2
0
</td>
				<th><label for="email">Email</label></th>
				<td><?php 
echo form_input('email', $email, 'class="email-link"');
?>
</td>
			</tr>
			<tr>
				<th><label for="city">City</label></th>
				<td><?php 
echo form_input('city', $city, 'class="required"');
?>
</td>
				<th><label for="state">State</label></th>
				<td><?php 
echo form_dropdown('state', getStateList(), $state, 'style="width: auto;" class="required"');
?>
</td>
				<th><label for="zip">Zip</label></th>
				<td><?php 
echo form_input('zip', $zip, 'style="width: auto;" size="5" maxlength="5" class="required"');
?>
</td>
				<th><label for="phone">Phone</label></th>
				<td><?php 
echo form_input('phone', $phone, 'class="format-phone"');
?>
</td>
			</tr>
			<tr>
				<td colspan="8">