Файловый менеджер - Редактировать - /www/wwwroot/gamenworld.store/themes/gameturkey/layout/home/content.phtml
�азад
<?php global $zon, $site_url; ?> <?php $categoryName = "All Games"; if(!empty($zon['page'][1])) { $categoryName = urldecode($zon['page'][1]); } $sql = "SELECT * FROM zon_games where 1=1"; if(isset($zon['page'][2])) { $sql.=" and game_category='". urldecode($zon['page'][1]) ."'"; } if(isset($_GET['gamename'])) { $sql.= " and game_name like '%".urldecode($_GET['gamename'])."%'"; } $gamedata = dataBy($sql." ORDER BY RAND()"); $cardsql = "SELECT * FROM zon_games ORDER BY RAND() limit 8"; $carddata = dataBy($cardsql); ?> <main id="primary"> <section class="has-very-light-gray-background-color"> <div class="container"> <div class="custom-swiper"> <div class="custom-swiper-wrapper"> <?php foreach($carddata as $cardgame) {?> <div class="custom-swiper-slide template-game-list" data-category="Hot" data-num="6"> <article class="card has-shadow clickable"> <a href="<?php echo $site_url;?>gamedetail/<?php echo $cardgame['id'];?>"> <div class="card-image"> <img alt="Ultimate Golf" decoding="async" height="180" loading="lazy" src="<?=$cardgame['game_image_url']?>" width="360"> <div class="card-body"> <div class="card-title"> <div class="truncate"> <?= $cardgame['game_name']?> </div> </div> </div> </div> </a> </article> </div> <?php } ?> </div> </div> </div> </section> <section> <div class="mx-2"> <?php if (getAdById("1", 'status') == 0) { ?> <div style="display: grid; place-items: center; margin-top:35px"> <?= getAdById("1", 'code') ?> </div> <?php } ?> </div> <div class="container"> <?php $categorylist = getCategory(10); foreach ($categorylist as $catekey=>$category) {?> <?php if($catekey == 2) {?> <div class="mx-2"> <?php if (getAdById("2", 'status') == 0) { ?> <div style="display: grid; place-items: center; margin-top:35px"> <?= getAdById("2", 'code') ?> </div> <?php } ?> </div> <?php } ?> <div class="term-heading"> <h2 class="has-medium-font-size uppercase"> <?php echo $category['name'];?> </h2> </div> <div class="flex-container margin-bottom-15"> <?php foreach(GameByCategoryNameWithPagination($category['id'],'limit 9') as $gameinfo) {?> <article class="flex-item template-game-list" data-category="Hot" data-num="9"> <a class="app clickable" href="<?php echo $site_url;?>gamedetail/<?php echo $gameinfo['id'];?>"> <div class="app-icon"> <img alt="Sea Memory Quest" decoding="async" height="90" importance="low" loading="lazy" src="<?= $gameinfo['game_image_url']?>" width="90"> </div> <div class="app-name truncate"> <div class="has-normal-font-size no-margin no-padding truncate"> <?php echo $gameinfo['game_name'];?> </div> </div> </a> </article> <?php } ?> </div> <?php } ?> </div> </section> <section> <div class="container"> <h2 class="has-medium-font-size uppercase" id="h-frequently-asked-questions"> Welcome to <?php echo $_SERVER['HTTP_HOST'] ?> </h2> <p> <?php echo $_SERVER['HTTP_HOST'] ?> is your go-to destination for free online games. Whether you love action, arcade, platform, or any other genre, we've got you covered! </p> <p> We carefully select and test the best web games from around the internet, ensuring only the most fun and exciting ones are available for you. Plus, we update our game library regularly, so you'll always find something fresh to play! </p> <p> Your feedback matters to us! If you have any game suggestions or thoughts on our collection, feel free to reach out. We're always eager to hear from you. </p> <p> For quick and fun gaming sessions, <?php echo $_SERVER['HTTP_HOST'] ?> is all you need. Enjoy your time here and check back often for new game additions! </p> </div> </section> </main> <div class="mx-2"> <?php if (getAdById("3", 'status') == 0) { ?> <div style="display: grid; place-items: center; margin-top:35px"> <?= getAdById("3", 'code') ?> </div> <?php } ?> </div> <?php if (getAdById("4", '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("4", 'code') ?> </div> </div> <?php } ?> <?php if (getAdById("5", '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("5", 'code') ?> </div> </div> <?php } ?>
| ver. 1.4 |
Github
|
.
| PHP 8.0.26 | Генераци� �траницы: 0 |
proxy
|
phpinfo
|
�а�тройка