<div id="tasks">
<h1>Tasks Assigned by Me:</h1>
<ul>
<? foreach($tasks as $task):?>
	<li><?='<div class="task-item" id="'.$task->id.'">'.template::aimg("#".$task->id,"done".$task->status.".gif", null,array("class" => "check","id"=>$task->id))
		." ".html::anchor("#",$task->title,array("class" =>"done".$task->status)).'</div>'.
		'<div class="tooltip">
			<span>'
			.html::anchor("todo/edit/".$task->id,"Edit")
			.html::anchor("todo/delete/".$task->id,"Delete")
			.'</span><h2>'. $task->title.'</h2>'.
			 $task->description.
		'</div>'.plato::get_username($task->user_id)?></li>
<? endforeach;?>
</ul>
</div>