if (isset($_GET['del']) && isset($_GET['pic'])) { $delete_id = $_GET['del']; $conn = new Data_control(); $file = 'img/upload/' . $_GET['pic']; unlink($file); $conn->delete_user($delete_id); header("location:" . 'user_list.php'); } if (isset($_GET['blc'])) { $block_id = $_GET['blc']; $conn = new Data_control(); $conn->block_user($block_id); header("location:" . 'user_list.php'); } $Data_control = new Data_control(); $user_list = $Data_control->user_list_lookup(); require_once 'login_header.php'; ?> <div class="row"> <div class="col-md-12"> <div class="padding"> <div class="row"> <div class="col-md-2"> <?php require_once 'login_left_padding.php'; ?> </div> <div class="col-md-9"> <div class="righ_pad">