Файловый менеджер - Редактировать - /www/wwwroot/gamenworld.store/themes/gameszenc/layout/category/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]) ."'"; } $gamedata = dataBy($sql." ORDER BY RAND()"); ?> <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> <section class="homeSec2 padder1"> <div class="container"> <div class="flex ai jcb heading1Flex"> <h2 class="heading1"> <span class="cfirst">#<?=$categoryName?></span> Games </h2> </div> <div class="row"> <?php foreach($gamedata as $index=>$gameinfo) {?> <?php if($index%10 == 0) {?> <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 } ?> <div class="col-md-2 col-xs-6"> <a href="<?php echo $site_url;?>gamedetail/<?php echo $gameinfo['id'];?>" class="gameBox2 block td rel" alt="Real Pool 3d"> <img src="<?= $gameinfo['game_image_url']?>" loading="lazy" class="gameBox2Img" alt="Real Pool 3d"> <div class="gameBox2Inner"> <p class="gameBox2Title abs cwhite"> <?= $gameinfo['game_name']?> </p> </div> </a> </div> <?php } ?> </div> </div> </section> <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 } ?>
| ver. 1.4 |
Github
|
.
| PHP 8.0.26 | Генераци� �траницы: 0 |
proxy
|
phpinfo
|
�а�тройка