Example #1
0
 public function task_Management()
 {
     $data['task'] = Tasks::getThemAll();
     $data['vaccine'] = Vaccines::getThemAll();
     $data['content_view'] = "add_task_view";
     $data['title'] = "New task";
     $this->base_params($data);
 }
Example #2
0
?>


<table border="0" class="data-table">
	<tr>
		<th class="subsection-title" colspan="2">Input Parameters</th>
	</tr>
	<tbody>
		<tr>
			<td><span class="mandatory">*</span>Task name</td>
					
			<td>
			<select id="combo1" name="combo1">
				<option value="chose">Choose One</option>
				<?php
					$task = Tasks::getThemAll();		
				
				foreach ($task as $tasks)
				 {
					
		            echo '<option  value="'. $tasks['id'].'">'. $tasks['name'].'</option>';
					
				 }		
				?>
				
			</select></td>
	
			
		</tr>
		<tr>
			<td><span class="mandatory">*</span>Vaccine</td>