<p class="msg_nome_mobile col-xs-3 col-md-3 col-lg-3">' . $usuario->getUsr_nome() . ' ' . $tipo . '</p> <p class="msg_assunto_mobile col-xs-5 col-md-5 col-lg-5">' . utf8_encode($value->getMsg_assunto()) . '</p> <p class="msg_data_mobile col-xs-2 col-md-2 col-lg-2">' . date('d/m/Y', strtotime($value->getMsg_data())) . '</p> </div> </span> <div class="row msg_detalhe" id="abrir_msg_' . $value->getMsg_id() . '"></div> </div>'; } } else { echo '<div class="alert alert-warning" role="alert"><strong>Nenhuma mensagem em sua Lixeira.</strong></div>'; } break; case "listaEnviadas": $idUser = $_POST["id"]; $mensagem = $mensagemController->listaEnviadas($idUser); if (count($mensagem) > 0) { foreach ($mensagem as $value) { if ($value->getDestinatarios() != '') { $destinatarios = explode(',', $value->getDestinatarios()); $usuario = $usuarioController->select($destinatarios[0]); if (count($destinatarios) > 1) { $usrNome = $usuario->getUsr_nome() . "..."; } else { $usrNome = $usuario->getUsr_nome(); } echo '<div id="msg_valores_' . $value->getMsg_id() . '" class=" enviado col1 row msg_valores_' . $value->getMsg_id() . '" style="cursor:pointer"> <p class="msg_check col-md-1"><span class="check-box" id="' . $value->getMsg_id() . '"></span></p> <div onclick="EnviadasDetalheFuncao(' . utf8_encode($value->getMsg_id()) . ')"> <p class="msg_nome col-md-2">' . utf8_encode($usrNome) . '</p> <p class="msg_assunto col-md-7">' . utf8_encode($value->getMsg_assunto()) . '</p>