File manager - Edit - /home/u545110558/domains/conquestvault.online/public_html/static/img/logo/xhr.zip
Back
PK Y��Z~�hk k login.phpnu W+A�� <?php require_once '../config.php'; require_once '../app/includes/constant.php'; require_once '../app/includes/app_start.php'; $email_username = mysqli_real_escape_string($con, $_POST['usernameEmail']); $password = mysqli_real_escape_string($con, $_POST['password']); // $user_id = mysqli_real_escape_string($con, $_POST['id']); $query = "select * from zon_users where (email='$email_username' || username='$email_username') && password='$password'"; $row = mysqli_fetch_assoc(mysqli_query($con, $query)); if (mysqli_num_rows(mysqli_query($con, $query)) !== 0) { if ($row['status'] == 0) { $_SESSION['Loggedin'] = true; $_SESSION['Loggedin_user'] = $email_username; if ($row['is_admin'] == 1) { $_SESSION['is_admin_Loggedin'] = true; } $user_data = mysqli_fetch_assoc(mysqli_query($con, "select * from zon_users where username='$email_username' || email='$email_username'")); $_SESSION['Loggedin_user_id'] = $user_data['id']; // @header("Location: ../"); echo "You loggedin successfully."; } else { echo "Your account is closed."; // @header("Location: ../login?error=Your account is closed"); } } else { echo "Wrong username or email and password"; // @header("Location: ../login?error=Wrong username or email and password"); } ?>PK Y��Z��� � new-games.phpnu W+A�� <?php require_once '../config.php'; require_once '../app/includes/constant.php'; require_once '../app/includes/app_start.php'; $page = $_POST['page'] ?? 1; if ($zon['config']['theme'] === 'asur') { $limit = 80; } else { $limit = 30; } $row = ($page - 1) * $limit; $query = "SELECT * from zon_games WHERE game_played=0 order by id desc limit $row,$limit"; $run = mysqli_query($con, $query); // $game = mysqli_fetch_all($run); while ($game = mysqli_fetch_assoc($run)) { if ($zon['config']['theme'] === 'garud') { ?> <div class="game wow <?php echo $zon['config']['animate_class'] ?> "> <a href="<?= $site_url . 'game/' . makeSlug($game['game_name']) . '/' . $game['id'] ?>" class="game__thumb"> <img src="<?= $game['game_image_url'] ?>" alt="<?= $game['game_name'] ?>" /> </a> <a href="<?= $site_url . 'game/' . makeSlug($game['game_name']) . '/' . $game['id'] ?>" class="game_name"> <?= $game['game_name'] ?> </a> </div> <?php } else if ($zon['config']['theme'] === 'asur') { ?> <a href="<?= $site_url . 'game/' . makeSlug($game['game_name']) . '/' . $game['id'] ?>" class="card wow <?php echo $zon['config']['animate_class'] ?> <?= isFeaturedGame($game['id']) ? 'large' : '' ?>"> <picture> <source data-srcset="<?= $game['game_image_url'] ?>" type="image/webp" class="img-fluid" srcset="<?= $game['game_image_url'] ?>"> <source data-srcset="<?= $game['game_image_url'] ?>" type="image/png" class="img-fluid" srcset="<?= $game['game_image_url'] ?>"> <img data-src="<?= $game['game_image_url'] ?>" alt="Fidget Spinner Creator" class="lazyload img-fluid" width="500" height="500"> </picture> <div class="card-body"> <h3><?= $game['game_name'] ?></h3> </div> </a> <?php } else { ?> <div class="rounded-lg wow <?php echo $zon['config']['animate_class'] ?>"> <div class="game-card w-full"> <a href="<?= $site_url . 'game/' . makeSlug($game['game_name']) . '/' . $game['id'] ?>"> <img src="<?php echo $game['game_banner_url'] == '' ? $game['game_image_url'] : $game['game_banner_url'] ?>" /> </a> <div class="game-details gap-4"> <a href="<?php echo $site_url . 'game/' . makeSlug($game['game_name']) . '/' . $game['id'] ?>" class="text-md line-clamp-2 font-semibold"> <?= $game['game_name'] ?> </a> <a style="color: var(--zon-muted-color);" class="text-sm" href="<?php echo $site_url ?>category/?n=<?= urlencode($game['game_category']) ?>"><?= $game['game_category'] ?></a> <div class="game-meta rounded-lg mt-3 w-fit bg-[var(--zon-gmeta-bg-color)] px-2 py-0.5 flex items-center gap-2"> <span> <svg xmlns="http://www.w3.org/2000/svg" width="19px" height="19px" fill="none" stroke-width="1.1" viewBox="0 0 24 24" color="#000000"> <path stroke="#000000" stroke-width="1.1" stroke-linecap="round" stroke-linejoin="round" d="M17.5 17.5c2.5 3.5 6.449.915 5.5-2.5-1.425-5.129-2.2-7.984-2.603-9.492A2.032 2.032 0 0 0 18.438 4H5.562c-.918 0-1.718.625-1.941 1.515C2.78 8.863 2.033 11.802 1.144 15c-.948 3.415 3 6 5.5 2.5"> </path> <path stroke="#000000" stroke-width="1.1" stroke-linecap="round" stroke-linejoin="round" d="M16 4v2a2 2 0 0 1-2 2h-4a2 2 0 0 1-2-2V4M8 16a2 2 0 1 0 0-4 2 2 0 0 0 0 4ZM16 16a2 2 0 1 0 0-4 2 2 0 0 0 0 4Z"> </path> </svg> </span> <span class="text-xs"> <?= $game['game_played'] ?> Plays </span> </div> </div> </div> </div> <?php } ?> <?php } ?>PK Y��Z,ZRՈ � report.phpnu W+A�� <?php require_once '../config.php'; require_once '../app/includes/constant.php'; require_once '../app/includes/app_start.php'; if (isset($_POST) && !empty($_POST)) { if (isset($_POST['problem']) && !empty($_POST['problem'])) { $game_name = $_POST['game_name']; $report_sub = mysqli_real_escape_string($socket, htmlspecialchars($_POST['problem'])); $game_id = $_POST['game_id']; if (mysqli_query($socket, "INSERT INTO " . T_ZON_REPORTS . " (game_name, report_subject, game_id) VALUES ('$game_name', '$report_sub', $game_id) ")) { echo 1; } } } else { echo "error"; }PK Y��Z��$�� � count-likes.phpnu W+A�� <?php require_once '../config.php'; require_once '../app/includes/constant.php'; require_once '../app/includes/app_start.php'; $type = $_POST['type']; $game_id = $_POST['game_id']; // if ($type === "like") { // echo count(runner("SELECT * FROM zon_likes WHERE game_id=$game_id")); // } else if ($type === "dislike") { // echo count(runner("SELECT * FROM zon_unlikes WHERE game_id=$game_id")); // } $like = count(runner("SELECT * FROM zon_likes WHERE game_id=$game_id")); $dislike = count(runner("SELECT * FROM zon_unlikes WHERE game_id=$game_id")); $json = ["like" => formatNumber($like), "dislike" => formatNumber($dislike)]; echo json_encode($json);PK Y��Z�p�-a a all-games.phpnu W+A�� <?php require_once '../config.php'; require_once '../app/includes/constant.php'; require_once '../app/includes/app_start.php'; $page = $_POST['page'] ?? 1; $limit = 30; $row = ($page - 1) * $limit; $query = "SELECT * from zon_games order by id asc limit $row,$limit"; $run = mysqli_query($con, $query); // $game = mysqli_fetch_all($run); while ($game = mysqli_fetch_assoc($run)) { if ($zon['config']['theme'] === 'garud') { ?> <div class="game new__badges wow <?php echo $zon['config']['animate_class'] ?> "> <a href="<?= $site_url . 'game/' . makeSlug($game['game_name']) . '/' . $game['id'] ?>" class="game__thumb"> <img src="<?= $game['game_image_url'] ?>" alt="<?= $game['game_name'] ?>" /> </a> <a href="<?= $site_url . 'game/' . makeSlug($game['game_name']) . '/' . $game['id'] ?>" class="game_name"> <?= $game['game_name'] ?> </a> </div> <?php } else { ?> <div class="rounded-lg wow <?php echo $zon['config']['animate_class'] ?> "> <div class="game-card w-full"> <a href="<?php echo $site_url . 'game/' . makeSlug($game['game_name']) . '/' . $game['id'] ?>"> <img src="<?php echo $game['game_banner_url'] == '' ? $game['game_image_url'] : $game['game_banner_url'] ?>" /> </a> <div class="game-details gap-4"> <a href="<?php echo $site_url . 'game/' . makeSlug($game['game_name']) . '/' . $game['id'] ?>" class="text-md line-clamp-2 font-semibold"> <?= $game['game_name'] ?> </a> <a style="color: var(--zon-muted-color);" class="text-sm" href="<?php echo $site_url ?>category/?n=<?= urlencode($game['game_category']) ?>"> <?= $game['game_category'] ?> </a> <div class="game-meta rounded-lg mt-3 w-fit bg-[var(--zon-gmeta-bg-color)] px-2 py-0.5 flex items-center gap-2"> <span> <svg xmlns="http://www.w3.org/2000/svg" width="19px" height="19px" fill="none" stroke-width="1.1" viewBox="0 0 24 24" color="#000000"> <path stroke="#000000" stroke-width="1.1" stroke-linecap="round" stroke-linejoin="round" d="M17.5 17.5c2.5 3.5 6.449.915 5.5-2.5-1.425-5.129-2.2-7.984-2.603-9.492A2.032 2.032 0 0 0 18.438 4H5.562c-.918 0-1.718.625-1.941 1.515C2.78 8.863 2.033 11.802 1.144 15c-.948 3.415 3 6 5.5 2.5"> </path> <path stroke="#000000" stroke-width="1.1" stroke-linecap="round" stroke-linejoin="round" d="M16 4v2a2 2 0 0 1-2 2h-4a2 2 0 0 1-2-2V4M8 16a2 2 0 1 0 0-4 2 2 0 0 0 0 4ZM16 16a2 2 0 1 0 0-4 2 2 0 0 0 0 4Z"> </path> </svg> </span> <span class="text-xs"> <?= $game['game_played'] ?> Plays </span> </div> </div> </div> </div> <?php } ?> <?php } ?>PK Y��Z6��� � games-by-category.phpnu W+A�� <?php require_once '../config.php'; require_once '../app/includes/constant.php'; require_once '../app/includes/app_start.php'; $page = $_POST['page'] ?? 1; $category = $_POST['category'] ?? ''; if ($zon['config']['theme'] === 'asur') { $limit = 60; } else { $limit = 30; } $row = ($page - 1) * $limit; $query = "SELECT * from zon_games WHERE game_category='$category' order by id asc limit $row,$limit"; $run = mysqli_query($con, $query); if (num_rows(T_ZON_GAMES, "game_category='$category'") > 0) { while ($game = mysqli_fetch_assoc($run)) { if ($zon['config']['theme'] === 'garud') { ?> <div class="game wow <?php echo $zon['config']['animate_class'] ?> "> <a href="<?= $site_url . 'game/' . makeSlug($game['game_name']) . '/' . $game['id'] ?>" class="game__thumb"> <img src="<?= $game['game_image_url'] ?>" alt="<?= $game['game_name'] ?>" /> </a> <a href="<?= $site_url . 'game/' . makeSlug($game['game_name']) . '/' . $game['id'] ?>" class="game_name"> <?= $game['game_name'] ?> </a> </div> <?php } else if ($zon['config']['theme'] === 'asur') { ?> <a href="<?= $site_url . 'game/' . makeSlug($game['game_name']) . '/' . $game['id'] ?>" class="card wow <?php echo $zon['config']['animate_class'] ?> <?= isFeaturedGame($game['id']) ? 'large' : '' ?>"> <picture> <source data-srcset="<?= $game['game_image_url'] ?>" type="image/webp" class="img-fluid" srcset="<?= $game['game_image_url'] ?>"> <source data-srcset="<?= $game['game_image_url'] ?>" type="image/png" class="img-fluid" srcset="<?= $game['game_image_url'] ?>"> <img data-src="<?= $game['game_image_url'] ?>" alt="Fidget Spinner Creator" class="lazyload img-fluid" width="500" height="500"> </picture> <div class="card-body"> <h3><?= $game['game_name'] ?></h3> </div> </a> <?php } else { ?> <div class="rounded-lg wow <?php echo $zon['config']['animate_class'] ?> "> <div class="game-card w-full"> <a href="<?= $site_url . 'game/' . makeSlug($game['game_name']) . '/' . $game['id'] ?>"> <img src="<?php echo $game['game_banner_url'] == '' ? $game['game_image_url'] : $game['game_banner_url'] ?>" /> </a> <div class="game-details gap-4"> <a href="<?php echo $site_url . 'game/' . makeSlug($game['game_name']) . '/' . $game['id'] ?>" class="text-md line-clamp-2 font-semibold"> <?= $game['game_name'] ?> </a> <a style="color: var(--zon-muted-color);" class="text-sm" href="<?php echo $site_url ?>category/?n=<?= urlencode($game['game_category']) ?>"> <?= $game['game_category'] ?> </a> <div class="game-meta rounded-lg mt-3 w-fit bg-[var(--zon-gmeta-bg-color)] px-2 py-0.5 flex items-center gap-2"> <span> <svg xmlns="http://www.w3.org/2000/svg" width="19px" height="19px" fill="none" stroke-width="1.1" viewBox="0 0 24 24" color="#000000"> <path stroke="#000000" stroke-width="1.1" stroke-linecap="round" stroke-linejoin="round" d="M17.5 17.5c2.5 3.5 6.449.915 5.5-2.5-1.425-5.129-2.2-7.984-2.603-9.492A2.032 2.032 0 0 0 18.438 4H5.562c-.918 0-1.718.625-1.941 1.515C2.78 8.863 2.033 11.802 1.144 15c-.948 3.415 3 6 5.5 2.5"> </path> <path stroke="#000000" stroke-width="1.1" stroke-linecap="round" stroke-linejoin="round" d="M16 4v2a2 2 0 0 1-2 2h-4a2 2 0 0 1-2-2V4M8 16a2 2 0 1 0 0-4 2 2 0 0 0 0 4ZM16 16a2 2 0 1 0 0-4 2 2 0 0 0 0 4Z"> </path> </svg> </span> <span class="text-xs"> <?= $game['game_played'] ?> Plays </span> </div> </div> </div> </div> <?php } } } else { echo "There are no games in this category right now."; } ?>PK Y��Z��].( ( live-search.phpnu W+A�� <?php require_once '../config.php'; require_once '../app/includes/constant.php'; require_once '../app/includes/app_start.php'; $page = $_POST['page'] ?? 1; $s = $_POST['query'] ?? ''; $limit = 10; // $row = ($page - 1) * $limit; // $query = "SELECT * from zon_games WHERE game_name LIKE '%$s%' limit $row,$limit"; // $run = mysqli_query($con, $query); if (num_rows(T_ZON_GAMES, " game_name LIKE '%$s%' ") > 0) { foreach (getGamesByQuery($s, $limit) as $game) { $cn = $game['game_category']; $c = runner("SELECT * FROM zon_category WHERE name='$cn'")[0]; $game['slug'] = $c['slug']; ?> <div class="card wow <?php echo $zon['config']['animate_class'] ?>"> <img src="<?= $game['game_image_url'] ?>" /> <div class="text"> <a data-ajax="true" data-href="<?= $game['game_slug'] ?>" class="game-name" href="<?= $site_url . $game['game_slug'] ?>"><?= $game['game_name'] ?></a> <a data-ajax="true" data-href="<?= $game['slug'] ?>" class="game-category" href="<?= $site_url . $game['slug'] ?>"><?= $game['game_category'] ?></a> </div> </div> <?php } } else { echo "<span>We don't have any results for this query '{$s}' 😓</span>"; } ?>PK Y��Z6 }u� � like.phpnu W+A�� <?php require_once '../config.php'; require_once '../app/includes/constant.php'; require_once '../app/includes/app_start.php'; $game_id = mysqli_real_escape_string($socket, $_POST['gi']); $ui = mysqli_real_escape_string($socket, $_POST['ui']); if (num_rows(T_ZON_LIKES, "game_id=$game_id && user_id=$ui") > 0) { if (mysqli_query($socket, "DELETE FROM " . T_ZON_LIKES . " WHERE game_id=$game_id && user_id=$ui ")) { echo num_rows(T_ZON_LIKES, "game_id=$game_id"); } } else { if (mysqli_query($socket, "INSERT INTO " . T_ZON_LIKES . " (user_id, game_id) VALUES ($ui, $game_id) ")) { echo num_rows(T_ZON_LIKES, "game_id=$game_id"); } }PK Y��Z��L� � popular-games.phpnu W+A�� <?php require_once '../config.php'; require_once '../app/includes/constant.php'; require_once '../app/includes/app_start.php'; $page = $_POST['page'] ?? 1; if ($zon['config']['theme'] === 'asur') { $limit = 80; } else { $limit = 30; } $row = ($page - 1) * $limit; $query = "SELECT * FROM zon_games WHERE game_played > " . $zon['config']['popular_views'] . " limit $row,$limit"; // $query = "SELECT * FROM zon_games"; $run = mysqli_query($con, $query); // $game = mysqli_fetch_all($run); foreach (getGamesByPopular("LIMIT $row,$limit") as $game) { if ($zon['config']['theme'] === 'garud') { ?> <div class="game new__badges wow <?php echo $zon['config']['animate_class'] ?> "> <a href="<?= $site_url . 'game/' . makeSlug($game['game_name']) . '/' . $game['id'] ?>" class="game__thumb"> <img src="<?= $game['game_image_url'] ?>" alt="<?= $game['game_name'] ?>" /> </a> <a href="<?= $site_url . 'game/' . makeSlug($game['game_name']) . '/' . $game['id'] ?>" class="game_name"> <?= $game['game_name'] ?> </a> </div> <?php } else if ($zon['config']['theme'] === 'asur') { ?> <a href="<?= $site_url . 'game/' . makeSlug($game['game_name']) . '/' . $game['id'] ?>" class="card wow <?php echo $zon['config']['animate_class'] ?> <?= isFeaturedGame($game['id']) ? 'large' : '' ?>"> <picture> <source data-srcset="<?= $game['game_image_url'] ?>" type="image/webp" class="img-fluid" srcset="<?= $game['game_image_url'] ?>"> <source data-srcset="<?= $game['game_image_url'] ?>" type="image/png" class="img-fluid" srcset="<?= $game['game_image_url'] ?>"> <img data-src="<?= $game['game_image_url'] ?>" alt="Fidget Spinner Creator" class="lazyload img-fluid" width="500" height="500"> </picture> <div class="card-body"> <h3><?= $game['game_name'] ?></h3> </div> </a> <?php } else { ?> <div class="rounded-lg wow <?php echo $zon['config']['animate_class'] ?>"> <div class="game-card w-full"> <a href="<?= $site_url . 'game/' . makeSlug($game['game_name']) . '/' . $game['id'] ?>"> <img src="<?php echo $game['game_banner_url'] == '' ? $game['game_image_url'] : $game['game_banner_url'] ?>" /> </a> <div class="game-details gap-4"> <a href="<?php echo $site_url . 'game/' . makeSlug($game['game_name']) . '/' . $game['id'] ?>" class="text-md line-clamp-2 font-semibold"> <?= $game['game_name'] ?> </a> <a style="color: var(--zon-muted-color);" class="text-sm" href="<?php echo $site_url ?>category/?n=<?= urlencode($game['game_category']) ?>"> <?= $game['game_category'] ?> </a> <div class="game-meta rounded-lg mt-3 w-fit bg-[var(--zon-gmeta-bg-color)] px-2 py-0.5 flex items-center gap-2"> <span> <svg xmlns="http://www.w3.org/2000/svg" width="19px" height="19px" fill="none" stroke-width="1.1" viewBox="0 0 24 24" color="#000000"> <path stroke="#000000" stroke-width="1.1" stroke-linecap="round" stroke-linejoin="round" d="M17.5 17.5c2.5 3.5 6.449.915 5.5-2.5-1.425-5.129-2.2-7.984-2.603-9.492A2.032 2.032 0 0 0 18.438 4H5.562c-.918 0-1.718.625-1.941 1.515C2.78 8.863 2.033 11.802 1.144 15c-.948 3.415 3 6 5.5 2.5"> </path> <path stroke="#000000" stroke-width="1.1" stroke-linecap="round" stroke-linejoin="round" d="M16 4v2a2 2 0 0 1-2 2h-4a2 2 0 0 1-2-2V4M8 16a2 2 0 1 0 0-4 2 2 0 0 0 0 4ZM16 16a2 2 0 1 0 0-4 2 2 0 0 0 0 4Z"> </path> </svg> </span> <span class="text-xs"> <?= $game['game_played'] ?> Plays </span> </div> </div> </div> </div> <?php } ?> <?php } ?>PK Y��Z�� update-userinfo.phpnu W+A�� <?php require_once '../config.php'; require_once '../app/includes/constant.php'; require_once '../app/includes/app_start.php'; require_once '../app/includes/function_general.php'; // change profile setting action if (isset($_POST['change_settings'])) { // $url = Secure_DATA($_GET['url']); $name = Secure_DATA($_POST['name']); $id = Secure_DATA($_POST['change_settings']); $username = Secure_DATA($_POST['username']); $email = Secure_DATA($_POST['email']); $password = Secure_DATA($_POST['new_password']); $user_pic = ''; $query = "UPDATE zon_users set `name`='$name', `email`='$email', `username`='$username' where id=$id"; if ($_FILES['avatar_img']) { $user_pic = rand(111111111, 999999999) . $_FILES['avatar_img']['name']; if (move_uploaded_file($_FILES['avatar_img']['tmp_name'], "../static/img/" . $user_pic)) { } } if (!empty($password)) { $query = "UPDATE zon_users set `name`='$name', `email`='$email', `username`='$username', `password`='$password' where id=$id"; } else { if ($_FILES['avatar_img']['error'] == 0) { $query = "UPDATE zon_users set `name`='$name', `email`='$email', `username`='$username', `user_pic`='$user_pic' where id=$id"; } } if ($_FILES['avatar_img']['error'] == 0 && !empty($password)) { $query = "UPDATE zon_users set `name`='$name', `email`='$email', `username`='$username', `password`='$password', `user_pic`='$user_pic' where id=$id"; } if ($username !== $zon['user']['username']) { if (num_rows(T_ZON_USERS, "username='$username'") > 0) { echo "Username is a Exist."; } else { if (mysqli_query($con, $query)) { // @header("location: $url"); echo "Profile updated successfully"; } } } else { if (mysqli_query($con, $query)) { // @header("location: $url"); echo "Profile updated successfully"; } } } PK Y��Zn ��� � register.phpnu W+A�� <?php require_once '../config.php'; require_once '../app/includes/constant.php'; require_once '../app/includes/app_start.php'; // require_once '../app/includes/genera.php'; // print_r($_POST); if (isset($_POST['signup']) && isset($_POST)) { $name = mysqli_real_escape_string($con, $_POST['name']); $email = mysqli_real_escape_string($con, $_POST['email']); $username = mysqli_real_escape_string($con, $_POST['username']); $password = mysqli_real_escape_string($con, $_POST['password']); $message = "All Input Field are required"; if (!empty($name) && !empty($email) && !empty($username) && !empty($password)) { if (num_rows(T_ZON_USERS, "email='$email'") > 0) { echo "Email Already Exist"; } else if (num_rows(T_ZON_USERS, "username='$username'") > 0) { echo "Username Already Exist"; } else { $user_pic = "user_pic.png"; $query = "INSERT INTO zon_users (`name`, `email`, `username`, `password`, `user_pic`, `status`, `is_admin`) VALUES ('$name', '$email', '$username', '$password', '$user_pic', 0, 0) "; if (mysqli_query($con, $query)) { $_SESSION['Loggedin'] = true; $_SESSION['Loggedin_user'] = $username; echo "You registered successfully."; } } } else { echo $message; } }PK Y��Z�#�� � categories.phpnu W+A�� <?php require_once '../config.php'; require_once '../app/includes/constant.php'; require_once '../app/includes/app_start.php'; function getMoreCategories($l) { global $socket; $query = "SELECT * FROM zon_category ORDER BY id DESC LIMIT $l"; $game_sql = $socket->query($query); $data = []; while ($row = $game_sql->fetch_assoc()) { $data[] = $row; } return $data; } $page = $_POST['page'] ?? 1; $limit = 8; $row = ($page - 1) * $limit - $limit; // echo $row; foreach (getMoreCategories(" $row, $limit ") as $category) { $total_games = num_rows(T_ZON_GAMES, "game_category='" . $category['name'] . "'"); // if ($total_games > 0) { ?> <li> <a href="<?php echo $site_url . 'category/?n=' . urlencode($category['name']); ?>" class="flex items-center gap-4"> <svg xmlns="http://www.w3.org/2000/svg" width="19px" height="19px" fill="none" stroke-width="1.1" viewBox="0 0 24 24" color="#000000"> <path style="stroke: var(--zon-common-text-color);" stroke="#000000" stroke-width="1.1" d="M2 17V7a4 4 0 0 1 4-4h3.9a.6.6 0 0 1 .6.6v16.8a.6.6 0 0 1-.6.6H6a4 4 0 0 1-4-4Z"></path> <path style="stroke: var(--zon-common-text-color);" fill="#000000" stroke="#000000" stroke-width="1.1" stroke-linecap="round" stroke-linejoin="round" d="M6.5 8a1 1 0 1 0 0-2 1 1 0 0 0 0 2ZM17.5 14a1 1 0 1 0 0-2 1 1 0 0 0 0 2Z"></path> <path style="stroke: var(--zon-common-text-color);" stroke="#000000" stroke-width="1.1" d="M22 17V7a4 4 0 0 0-4-4h-3.9a.6.6 0 0 0-.6.6v16.8a.6.6 0 0 0 .6.6H18a4 4 0 0 0 4-4Z"></path> </svg> <div class="text"> <span class="capitalize text-md"> <?= str_replace("-", " ", $category['name']) ?> </span> <p style="color: var(--zon-muted-color)" class="text-xs"> <?php echo $total_games ?> Games </p> </div> </a> </li> <?php // } } ?>PK Y��Z*�� � like-dislike.phpnu W+A�� <?php require_once '../config.php'; require_once '../app/includes/constant.php'; require_once '../app/includes/app_start.php'; $game_id = ms_secure($_POST['game_id']); $ip = ms_secure($_POST['ip']); $type = ms_secure($_POST['type']); if ($type === 'like') { mysqli_query($socket, "DELETE FROM zon_unlikes WHERE game_id=$game_id && user_ip='$ip' "); mysqli_query($socket, "INSERT INTO zon_likes (game_id, user_ip) VALUES ($game_id, '$ip')"); echo "okay"; } if ($type === 'dislike') { mysqli_query($socket, "DELETE FROM zon_likes WHERE game_id=$game_id && user_ip='$ip' "); mysqli_query($socket, "INSERT INTO zon_unlikes (game_id, user_ip) VALUES ($game_id, '$ip')"); echo "okay"; } // if (num_rows(T_ZON_LIKES, "game_id=$game_id && user_id=$ui") > 0) { // if (mysqli_query($socket, "DELETE FROM " . T_ZON_LIKES . " WHERE game_id=$game_id && user_id=$ui ")) { // echo num_rows(T_ZON_LIKES, "game_id=$game_id"); // } // } else { // if (mysqli_query($socket, "INSERT INTO " . T_ZON_LIKES . " (user_id, game_id) VALUES ($ui, $game_id) ")) { // echo num_rows(T_ZON_LIKES, "game_id=$game_id"); // } // }PK Y��Z��&�� � delete-game-history.phpnu W+A�� <?php require_once '../config.php'; require_once '../app/includes/constant.php'; require_once '../app/includes/app_start.php'; $ip = $_POST['ip']; $game_id = $_POST['game_id']; $sql = "SELECT * FROM zon_recent_play WHERE user_ip='$ip' && game_id=$game_id"; if (count(runner($sql)) > 0) { $socket->query("DELETE FROM zon_recent_play WHERE user_ip='$ip' && game_id=$game_id"); echo "ok"; }PK Y��Z~�hk k login.phpnu W+A�� PK Y��Z��� � � new-games.phpnu W+A�� PK Y��Z,ZRՈ � � report.phpnu W+A�� PK Y��Z��$�� � � count-likes.phpnu W+A�� PK Y��Z�p�-a a all-games.phpnu W+A�� PK Y��Z6��� � + games-by-category.phpnu W+A�� PK Y��Z��].( ( ? live-search.phpnu W+A�� PK Y��Z6 }u� � wD like.phpnu W+A�� PK Y��Z��L� � YG popular-games.phpnu W+A�� PK Y��Z�� Z update-userinfo.phpnu W+A�� PK Y��Zn ��� � yb register.phpnu W+A�� PK Y��Z�#�� � =h categories.phpnu W+A�� PK Y��Z*�� � Qq like-dislike.phpnu W+A�� PK Y��Z��&�� � 4v delete-game-history.phpnu W+A�� PK M x
| ver. 1.4 |
Github
|
.
| PHP 8.2.27 | Generation time: 0.15 |
proxy
|
phpinfo
|
Settings