case 1: $order = DEADLINE; break; case 2: $order = PROCESO; break; case 3: $order = ESPERA; break; case 4: $order = TERMINADA; break; } switch ($type) { case 0: $request = $task->GetTask($id, $order); break; case 1: $request = $task->GetTask($id, $order, TO); break; } switch ($style) { case 0: PorltetStyle($request, $type, $id, $task); break; case 1: break; } /** * INTERFAZ GRAFICO PORTLERT HELP * var data = '<div class="col-md-4 column sortable"><div class="portlet portlet-sortable light bordered"><div class="portlet-title"><div class="caption font-green-sharp"><i class="fa fa-tasks"></i><span class="caption-subject bold uppercase">Aplicaciones</span> <span class="caption-helper"></span>';