PATH: /home/hwyuvbry/sahabat.waroenkhoki123.web.id/dekstop/function
FILE_BARU
CREATE
FOLDER_BARU
MKDIR
UPLOAD_FILE
GO
[ .. KEMBALI ]
📄 cek_login.php
↓
X
📄 daftar_akun.php
↓
X
📄 deposit.php
↓
X
📄 error_log
↓
X
📄 getBalances.php
↓
X
📄 index.php
↓
X
📄 kyc.php
↓
X
📄 logout.php
↓
X
📄 profil.php
↓
X
📄 withdraw.php
↓
X
SAVING...
BERHASIL DIUBAH!
EDITING: cek_login.php
<?php include '../../function/connect.php'; session_start(); if (isset($_POST['submit'])) { $username = $_POST['username']; $password = md5($_POST['password']); $query = mysqli_query($koneksi, "SELECT * FROM tb_user WHERE username = '$username' AND password = '$password' "); if ($hitung = mysqli_num_rows($query) == 1) { $data = mysqli_fetch_array($query); $status = $data['status']; if ($status == 'Active') { $id = $data['id']; $level = $data['level']; $_SESSION['username'] = $data['username']; $_SESSION['extplayer'] = $data['extplayer']; $_SESSION['id'] = $id; header("Location:../index.php"); }else{ ?> <script type="text/javascript"> alert('Maaf Akun Anda Di Suspend Oleh Admin'); window.location = "../index.php?notif=3"; </script> <?php } }else{ header("Location:../index.php?notif=2"); } } ?>
SIMPAN PERUBAHAN