$cont = array( "id" => $row->id, "bposicion" => $row->bposicion, "tipo" => empty($row->archivo) ? 'Contenido' : '' );