$pM->nome = $rs['mar_nome']; $pM->getURL()->setURL('marca-' . strtolower(Strings::__RemoveAcentos(str_replace("'", "", str_replace("\"", "", str_replace(" ", "-", str_replace("/", "-", $pM->nome))))))); if ($lPM->getTotal() > 0) { $lPM->alterar($pM); } else { $pM->disponivel = true; $lPM->inserir($pM); } } } echo 'SUCESSO!'; } catch (\Exception $e) { echo $e->getMessage(); } $con->close(); $lPM->close(); ?> <!doctype html> <html> <head> <meta charset="utf-8"> <title><?php echo Sistema::$nomeEmpresa; ?> </title> <link rel="stylesheet" type="text/css" href="lib.js/jQuery/css/bootstrap/bootstrap.css"> <style type="text/css"> html, body { width: 100%; height: 100%;