<?php include_once 'CheckLogOut.php'; require_once 'Connection.php'; require_once 'Layout.php'; $con = new Connection(); $lay = new Layout(); $lay->IncreaseStyles(); $lay->displayTitle(1); $lay->displayMenu('NewContact.php', '', 'Images/addContact.png'); $contactId = $_GET['contactId']; echo '<html>'; echo '<body>'; echo '<div id="BODY">'; echo '<form action="ContactPhone_ins.php" method=GET name="frmContactPhone">'; echo '<fieldset>'; echo '<legend> Telefone de Contato </legend>'; echo 'Id do Contato: <br>'; echo '<input type="text" value="' . $contactId . '" name="contactId" readonly="readonly"> </input> <br>'; echo 'Tipo de Telefone: <br>'; echo '<select name="phoneType">'; echo '<option value="Celular">Celular</option>'; echo '<option value="Residencial">Fone residencial</option>'; echo '<option value="Comercial">Comercial</option>'; echo '</select> <br>'; echo 'Código do País: <br>'; echo '<input type="text" name="countryId"> </input> <br>'; echo 'DDD: <br>'; echo '<input type="text" name="ddd"> </input> <br>'; echo 'Número: <br>'; echo '<input type="text" name="phoneNumber"> </input> <br>'; echo '</fieldset>';
<?php include_once 'CheckLogOut.php'; require_once 'Connection.php'; require_once 'Layout.php'; require_once 'CacheArquivo.php'; require_once 'User'; $c = new Connection(); $lay = new Layout(); $lay->IncreaseStyles(); $lay->displayTitle(1, $USERNAME); $lay->displayMenu('NewContact.php', 'Adicionar Contato', 'Images/addContact.png', 'EditUser.php', 'Gerenciamento de Conta', 'Images/settings.png', 'Logout.php', 'Deslogar-se', 'Images/logout.png'); echo '<html>'; echo '<body>'; echo '<div id="BODY">'; echo '<form action="User_edt.php" method=POST name="frmUser_edt" Class="form-center">'; echo '<fieldset class="fieldset-auto-width">'; echo '<legend> <h2> <font face="Arial" color="blue"> Edição de Usuário</h2> </font></legend>'; echo 'Login: <br>'; echo '<input type="text" name="userName" value="' . $USERNAME . '" readonly="readonly"> </input> <br>'; echo 'Senha: <br>'; echo '<input type="password" name="password"> </input> <br>'; echo 'Nome do usuário: <br>'; echo '<input type="text" name="fullName"> </input> <br>'; echo '</fieldset>'; echo '<br><input type="submit" value="Salvar Dados"> </input>'; echo '</form>'; echo '</div>'; echo '</body>'; echo '</html>';
<?php require_once 'Layout.php'; $lay = new Layout(); $lay->IncreaseStyles(); $lay->displayTitle(1, "Visitante"); $lay->displayMenu('NewUser.php', 'Criar usuário', 'Images/newUser.png'); echo '<html>'; echo '<body>'; echo '<div id="BODY">'; echo '<form action="User_ins.php" method=POST name="frmUser_ins" Class="form-center">'; echo '<fieldset class="fieldset-auto-width">'; echo '<legend> <h2> <font face="Arial" color="blue"> Cadastro de Usuário</h2> </font></legend>'; echo 'Login: <br>'; echo '<input type="text" name="userName"> </input> <br>'; echo 'Senha: <br>'; echo '<input type="password" name="password"> </input> <br>'; echo 'Nome do usuário: <br>'; echo '<input type="text" name="fullName"> </input> <br>'; echo '</fieldset>'; echo '<br><input type="submit" value="Salvar Dados"> </input>'; echo '</form>'; echo '</div>'; echo '</body>'; echo '</html>';