Файловый менеджер - Редактировать - /www/wwwroot/gamenworld.store/themes/gamebasket/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()"); ?> <?php if(!empty($zon['page'][1])){?> <div class="mx-2"> <?php if (getAdById("6", 'status') == 0) { ?> <div style="display: grid; place-items: center; margin-top:35px"> <?= getAdById("6", 'code') ?> </div> <?php } ?> </div> <?php } else {?> <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> <?php } ?> <div class="container"> <div class="game-container" id="home-game-container"> <h3 class="item-title"> <?php echo $categoryName;?> </h3> <div class="row" id="section-new-games"> <?php foreach($gamedata as $gamekey=>$gameinfo) {?> <?php if($gamekey == 15) { ?> <?php if(empty($zon['page'][1])){?> <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 } else {?> <div class="mx-2"> <?php if (getAdById("7", 'status') == 0) { ?> <div style="display: grid; place-items: center; margin-top:35px"> <?= getAdById("7", 'code') ?> </div> <?php } ?> </div> <?php } ?> <?php } ?> <div class="col-md-2 col-sm-3 col-4 item-grid"> <a href="<?php echo $site_url;?>gamedetail/<?php echo $gameinfo['id'];?>"> <div class="list-game"> <div class="list-thumbnail"> <img src="<?php echo $gameinfo['game_image_url'];?>" data-src="" class="small-thumb ls-is-cached lazyloaded" alt="Aircraft Space Turret"> </div> <div class="list-content"> <div class="star-rating text-center"> </div> <div class="list-title"><?php echo $gameinfo['game_name'];?></div> </div> </div> </a> </div> <?php } ?> </div> <div class="mb-4 mt-4 hp-bottom-container"></div> </div> <?php if(empty($zon['page'][1])){?> <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 } ?> <?php } else {?> <div class="mx-2"> <?php if (getAdById("8", 'status') == 0) { ?> <div style="display: grid; place-items: center; margin-top:35px"> <?= getAdById("8", 'code') ?> </div> <?php } ?> </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 } ?> <?php } ?>
| ver. 1.4 |
Github
|
.
| PHP 8.0.26 | Генераци� �траницы: 0 |
proxy
|
phpinfo
|
�а�тройка