Файловый менеджер - Редактировать - /www/wwwroot/gamenworld.store/themes/poko/layout/category/content.phtml
�азад
<?php global $zon, $site_url; $category_id = $zon['page'][2]; $data = dataBy("SELECT * FROM zon_category WHERE id='$category_id'")[0]; $category_name = $data['name']; ?> <div class="mx-2"> <?php if (getAdById("6", 'status') == 0) { ?> <div style="display: grid; place-items: center; height: 250px;height: 100%;"> <?= getAdById("6", 'code') ?> </div> <?php } ?> </div> <div class="category-container mx-2"> <div class="m-grid-start home"> <?php echo LoadFile2('navbar/content') ?> <div class="category-name"> <?= $data['name'] ?> Games </div> <?php foreach (GameByCategoryWise($category_name, 50) as $game) { ?> <div data-card-size="<?= $game['game_card_size'] == 'md' ? 'md' : '' ?>" data-game-f="<?= $game['is_featured'] == 1 ? 'Yes' : 'No' ?>" class="m-game-card wow <?php echo $zon['config']['animate_class'] ?>"> <a class="m-game-link" href="<?php echo $site_url . 'game/' . makeSlug($game['game_name']) . '/' . $game['id'] ?>"> <picture style="background-image: url('<?= $game['game_image_url'] ?>')" class="m-game-thumbnail"> <div class="m-game-details"> <p> <?= $game['game_name'] ?> </p> </div> </picture> </a> </div> <?php } ?> </div> </div> <div class="mx-2"> <?php if (getAdById("7", 'status') == 0) { ?> <div style="display: grid; place-items: center; height: 250px;height: 100%;"> <?= getAdById("7", 'code') ?> </div> <?php } ?> </div> <div class="mx-2"> <div class="m-category-grid mb-6"> <?php foreach (getCategory(10) as $category) { $game = GameByCategoryWise($category['name'], 1)[0]; ?> <a href="<?= $site_url .'category/'. urlencode(makeSlug($category['name'])).'/'.$category['id'] ?>"> <div class="m-category-card wow <?php echo $zon['config']['animate_class'] ?>"> <img src="<?= $game['game_image_url'] ?>" alt="<?= $category['name'] ?>"> <div class="text"> <?= $category['name'] ?> <p> <?php echo count(GameByCategoryWise($category['name'])) ?> Games </p> </div> </div> </a> <?php } ?> </div> </div> <div class="mx-2"> <?php if (getAdById("8", 'status') == 0) { ?> <div style="display: grid; place-items: center; height: 250px;height: 100%;"> <?= getAdById("8", 'code') ?> </div> <?php } ?> </div> <div class="mx-2" style="visibility: hidden;"> <div class="html-content bg-white mt-10 p-6"> <div class="flex gap-2 mt-2 mb-2"> <a href="<?= $site_url ?>" class="text-sm brdcm-style">Game</a> <div style="margin-top: 2px;"><svg width="16px" height="16px" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"> <path d="M5.5 5L11.7929 11.2929C12.1834 11.6834 12.1834 12.3166 11.7929 12.7071L5.5 19" stroke="#054a91" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/> <path d="M13.5 5L19.7929 11.2929C20.1834 11.6834 20.1834 12.3166 19.7929 12.7071L13.5 19" stroke="#054a91" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/> </svg></div> <a href="<?= $site_url . urlencode(makeSlug($data['name'])) ?>" class="text-sm brdcm-style"><?php echo $category_name ?></a> </div> <h2 class="text-md font-bold"> <?= $data['name'] ?> Games </h2> <div class="html-content"> <?= $data['description'] ?> </div> </div> </div> <?php if (getAdById("9", 'status') == 0) { ?> <div class="mx-2"> <!-- 顶部锚定广告 --> <div class="top-anchor-ad" id="topAnchorAd" style="display: flex; align-items: center; justify-content: center;"> <div class="top-drawer-handle" onclick="this.parentElement.classList.toggle('ad-hidden'); document.body.style.paddingTop = this.parentElement.classList.contains('ad-hidden') ? '0px' : '120px';">▼</div> <?= getAdById("9", 'code') ?> </div> </div> <?php } ?> <?php if (getAdById("10", 'status') == 0) { ?> <div class="mx-2"> <!-- 底部锚定广告 --> <div class="anchor-ad" id="anchorAd" style="display: flex; align-items: center; justify-content: center;"> <div class="drawer-handle" onclick="this.parentElement.classList.toggle('ad-hidden'); document.body.style.paddingBottom = this.parentElement.classList.contains('ad-hidden') ? '0px' : '120px';">▲</div> <?= getAdById("10", 'code') ?> </div> </div> <?php } ?>
| ver. 1.4 |
Github
|
.
| PHP 8.0.26 | Генераци� �траницы: 0 |
proxy
|
phpinfo
|
�а�тройка