Gestionnaire de fichiers - Editer - /home/webapp68.cm.in.th/u68319090014/app/appnews.php
Arrière
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/css/bootstrap.min.css" rel="stylesheet"> <style> body { background-color: #f8f9fa; font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; } .register-form { max-width: 600px; margin: 50px auto; padding: 30px; background-color: #ffffff; border-radius: 15px; box-shadow: 0 0 20px rgba(0,0,0,0.1); } h5 { font-size: 1.5rem; font-weight: bold; margin-bottom: 25px; text-align: center; } .btn-primary { width: 100%; padding: 10px; font-size: 1.1rem; } .text-link { text-align: center; margin-top: 15px; } </style> <br><br> </head> <body> <br> <?php $uid=$_GET['uid']; $sql = "SELECT * FROM news where uid='$uid' "; $result = mysqli_query($conn, $sql); $row = $result->fetch_assoc(); ?> <div class="container mt-5"> <h5 class="mb-4">ประกาศข่าวสาร</h5> <form method="POST" action="?page=news_app" class="was-validated"> <div class="mb-3 row"> <label for="username" class="col-sm-2 col-form-label">Headline :</label> <div class="col-sm-10"> <input type="text" class="form-control" id="headline" name="headline" placeholder="headline" value="<?=$row['headline']?>" required> </div> </div> <div class="mb-3 row"> <label for="password" class="col-sm-2 col-form-label">Password :</label> <div class="col-sm-10"> <input type="password" class="form-control" id="password" name="password" placeholder="password" value="<?= $row['password'] ?>" required> </div> </div> <div class="mb-3"> <button type="submit" class="btn btn-primary">บันทึกข้อมูล</button> </div> </form> </div> </body> </html>
| ver. 1.4 |
Github
|
.
| PHP 7.4.33 | Génération de la page: 0.07 |
proxy
|
phpinfo
|
Réglages