Файловый менеджер - Редактировать - /www/wwwroot/gamenworld.store/static/img/logo/add-topic.php.tar
�азад
www/wwwroot/gamenworld.store/admin/add-topic.php 0000755 00000003610 15044540735 0016071 0 ustar 00 <?php $page = "Add Topic"; ?> <?php require "../app/includes/function_general.php"; ?> <?php include "includes/header.php"; ?> <?php // include "includes/config.php"; ?> <?php if (!empty($_GET['token_id']) && isset($_GET['action'])) { $token_id = $_GET['token_id']; $action_type = $_GET['action']; } if (isset($token_id) && isset($action_type) && !empty($token_id)) { $sql = "select * from zon_topic where id=$token_id"; $run = mysqli_query($con, $sql); $data = mysqli_fetch_assoc($run); } ?> <body class="dark:bg-[#121317]"> <main class="d-flex"> <?php include "includes/sidebar.php"; ?> <div class="main w-full px-12 py-6"> <div class="games-list mt-6"> <form action="functions/functions.php" method="POST" enctype="multipart/form-data" id="add-page" class="tab"> <?php if(!empty($token_id)) { ?> <input hidden type="text" name="id" value="<?php echo $data['id']; ?>"> <?php }?> <div class="flex gap-6"> <div class="input-form w-full"> <div class="input-group flex flex-column"> <label class="text-gray-500 uppercase text-[10px] mb-2">Name</label> <input id="name" value="<?php if(!empty($token_id)) { echo $data['name']; } ?>" required name="name" class="py-[15px] text-gray-500 outline-none focus:outline focus:outline-blue-500 transition-sm px-3 text-xs" type="text" placeholder="Name"> </div> </div> <div class="other-inputs w-80"></div> </div> <button name="topic_up_add" class="bg-blue-600 text-white uppercase mt-4 text-sm rounded-sm py-2 px-3 ">Save</button> </form> </div> </main> <?php include "includes/footer.php"; ?> </body> </html>