PHP Classes

File: edit-profile.php

Recommend this page to a friend!
  Classes of Ann   Purp Project   edit-profile.php   Download  
File: edit-profile.php
Role: Auxiliary script
Content type: text/plain
Description: Auxiliary script
Class: Purp Project
Application to manage photo albums
Author: By
Last change: Update of edit-profile.php
Date: 1 year ago
Size: 1,010 bytes
 

Contents

Class file image Download
<?php
// require_once '../../engine/config.php'; if(!$user){header('Location: ' . URL . '/auth'); exit;}
 
?>
<!doctype html>
<html lang="ru">
<head>
    <?php require_once 'header.php'; ?>
<title>?????????????? ?????? ???????</title>
</head>
<body>
<?php
// include_once '../../engine/navbar.php';
require_once 'php/content.php';
// include_once '../../engine/footer.php'
?>
<div id="edit">
    <form method="post">

        <h3>?????????????? ?????? ??????? ?<?php echo $user_ID; ?></h3>

        <label for="login_input">?????</label>
        <input name="login" type="text" id="login_input" placeholder="??????? ?????" value="<?php echo htmlspecialchars($user['login']); ?>" required>

        <br><br>

        <button type="submit" name="edit" class="">?????????</button>
        <br><br><br>
        <a href="profile.php" class="">?????</a>

    </form>
</div>

</body>
</html>