throw new Exception('Parâmetros incorretos !!!'); } } elseif ($dataGet['nivel'] == "usuario") { $dado = usuarioBO::getUsuario($dataGet['nid']); $token = FUNCOES::cryptografar($dataGet['nid'] . $dado->passwlogin); if ($token !== $dataGet['token']) { throw new Exception('Parâmetros incorretos !!!'); } } else { throw new Exception('Parâmetros incorretos !!!'); } } catch (Exception $e) { $response['error'][] = $e->getMessage(); } //} if (FUNCOES::isAjax()) { print json_encode($response); exit; } ?> <!DOCTYPE html> <html lang="en"> <head> <title><?php echo TITLE; ?> </title> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="description" content="">
> <td class="" style="width:10px;"> <input name="page" type="hidden" value="<?php echo $dataGet['page']; ?> "> <?php echo $cont; ?> </td> <td style="width:150px;"><?php echo $dado->descricao; ?> </td> <td style="width:100px;"><span class="label label-default">R$ <?php echo FUNCOES::formatoDecimalHTML($dado->valor); ?> </span></td> <td style="width:65px;" class="text-right"> <a class="btn btn-default btn-xs" data-toggle="tooltip" title="Editar" href="plano_assinatura_editar.php?id=<?php echo $dado->planos_assinatura_id; ?> &page=<?php echo $dataGet['page']; ?> "> <span class="glyphicon glyphicon-edit" aria-hidden="true"></span> </a> <a class="btn btn-danger btn-xs AjaxConfirm" data-toggle="tooltip" title="Excluir" href="plano_assinatura.php?action=excluir&id=<?php