Файловый менеджер - Редактировать - /www/wwwroot/gamenworld.store/themes/gameszenc/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 20"; $carddata = dataBy($cardsql); ?> <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> <section class="hotGameComt padder1"> <div class="container"> <div class="flex ai jcb heading1Flex"> <h2 class="heading1"> <span class="cfirst">Hotestt Games</span> For You </h2> </div> <div class="row"> <?php foreach($carddata as $cardgame) {?> <div class="col-md-2 col-xs-6"> <a href="<?php echo $site_url;?>gamedetail/<?php echo $cardgame['id'];?>" alt="Color Crazy Ball Blast - Fire" class="gameBox2 block td rel"> <img src="<?=$cardgame['game_image_url']?>" loading="lazy" alt="Color Crazy Ball Blast - Fire" class="gameBox2Img"> <div class="gameBox2Inner"> <p class="gameBox2Title abs cwhite"> <?= $cardgame['game_name']?> </p> </div> </a> </div> <?php } ?> </div> </div> </section> <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 $categorylist = getCategory(10); foreach ($categorylist as $catekey=>$category) {?> <section class="homeSec2 padder1"> <div class="container"> <div class="flex ai jcb heading1Flex"> <h2 class="heading1"> <span class="cfirst"><?=$category['name']?></span> Games</h2> <a href="<?= $site_url.'home/'.urlencode($category['name']).'/'.$category['id'];?>" class="viewmoreBtn">View more <i class="fa fa-angle-right"></i></a> </div> <div class="row"> <?php foreach(GameByCategoryNameWithPagination($category['id'],'limit 50') as $gameinfo) {?> <div class="col-md-2 col-xs-6"> <a href="<?php echo $site_url;?>gamedetail/<?php echo $gameinfo['id'];?>" alt="Hunt For The Shadow Rider" class="gameBox2 block td rel"> <img src="<?= $gameinfo['game_image_url']?>" loading="lazy" alt="Hunt For The Shadow Rider" class="gameBox2Img"> <div class="gameBox2Inner"> <p class="gameBox2Title abs cwhite"> <?php echo $gameinfo['game_name'];?> </p> </div> </a> </div> <?php } ?> </div> </div> </section> <?php } ?> <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
|
�а�тройка