public function uptaskAction()
 {
     if (isset($_GET['id']) && isset($_GET['week']) && isset($_GET['task'])) {
         $id = mysql_escape_string($_GET['id']);
         $week = mysql_escape_string((int) $_GET['week']);
         $taskindex = (int) mysql_escape_string((int) $_GET['task']);
         $timesheet = new Timesheet($id);
         if ($timesheet->updateTaskIndex($week, $taskindex, --$taskindex)) {
             $timesheet->save();
         }
         $this->redirectTo('/timesheet?id=' . $id);
     } else {
         $this->view->setTemplate('404_timesheet');
     }
 }