Файловый менеджер - Редактировать - /www/wwwroot/gamenworld.store/themes/gamedreamile/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="content"> <div class="gamesBox"> <div class="trendbox"> <h3 class="common_title"> <?php echo $categoryName;?> </h3> <ul class="gamesUl"> <?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 } ?> <li class="gamesLl"> <div class="gamesLlDiv"> <a href="<?php echo $site_url;?>gamedetail/<?php echo $gameinfo['id'];?>"> <img class="gameImg" src="<?php echo $gameinfo['game_image_url'];?>" alt="" loading="lazy"> <div class="text"> <span class="gameName"> <?php echo $gameinfo['game_name'];?> </span> </div> </a> </div> <div class="svg"> <img src="<?php echo $site_url ?>themes/<?php echo $zon['config']['theme'] ?>/img/promo-direct-light.svg" alt=""> </div> </li> <?php } ?> </ul> </div> </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
|
�а�тройка