Файловый менеджер - Редактировать - /www/wwwroot/gamenworld.store/themes/wallpaper/layout/detail/content.phtml
�азад
<?php global $zon, $site_url; ?> <?php $query = "SELECT * from zon_image where id={$_GET['id']}"; $zonimagefine = runner($query); $listsql = "SELECT * from zon_image where image_category_name='{$zonimagefine[0]['image_category_name']}' ORDER BY RAND() limit 20"; $zonimagelist = runner($listsql); $query = "SELECT * from zon_image where id<{$_GET['id']} order by id desc limit 1"; $preFind = runner($query); $query = "SELECT * from zon_image where id>{$_GET['id']} order by id asc limit 1"; $nextFind = runner($query); ?> <div class="Tap_title_out"> <!-- 头像 --> <div class="mx-2"> <?php if (getAdById("9", 'status') == 0) { ?> <div style="width:100px;display: grid; place-items: center; margin-top:0px"> <?= getAdById("9", 'code') ?> </div> <?php } ?> </div> <!-- <img src="<?= $zon['logo'] ?>" alt="<?= $zon['config']['site_name'] ?>"> --> <!-- <span>wallpaper</span> --> <h5 class="title"><?= $zonimagefine[0]['image_category_name'] ?></h5> <div class="button_out"> <a href="<?= $zonimagefine[0]['image_path'] ?>" target="_blank" download> <img src="<?= $zonimagefine[0]['image_path'] ?>" alt=""> <span>Free Download</span> </a> </div> </div> <div class="mian_iamges"> <div class="mx-2"> <?php if (getAdById("10", 'status') == 0) { ?> <div style="display: grid; place-items: center; margin-top:35px"> <?= getAdById("10", 'code') ?> </div> <?php } ?> </div> <img style="max-width:300px;max-height:500px;" src="<?= $zonimagefine[0]['image_path'] ?>" alt=""> <div class="mx-2"> <?php if (getAdById("11", 'status') == 0) { ?> <div style="display: grid; place-items: center; margin-top:35px"> <?= getAdById("11", 'code') ?> </div> <?php } ?> </div> </div> <!-- 翻页 --> <div style="display:flex;width:100%;justify-content:center;margin:50px auto;gap: 200px;"> <?php if(!empty($preFind)){?> <div> <a href="/detail?id=<?=$preFind[0]['id'];?>"> <span>Prev:</span> <?=$preFind[0]['id'];?> </a> </div> <?php } ?> <?php if(!empty($nextFind)){?> <div> <a href="/detail?id=<?=$nextFind[0]['id'];?>"> <span>Next:</span> <?=$nextFind[0]['id'];?> </a> </div> <?php } ?> </div> <!-- 按钮组 --> <div class="button_out_list"> <a href="<?= $zonimagefine[0]['image_path'] ?>" class="B_1" target="_blank" download>Download this wallpaper</a> </div> <!-- 类似 的 壁纸 --> <div class="Similarwallpaper"> <h5>Similar wallpapers</h5> <div id="main" role="main"> <ul id="connter_out"> <?php foreach($zonimagelist as $catekey=>$imageFind) {?> <?php if((count($zonimagelist)/2-1) == $catekey) { ?> <li> <div class="mx-2"> <?php if (getAdById("12", 'status') == 0) { ?> <div style="display: grid; place-items: center; margin-top:35px"> <?= getAdById("12", 'code') ?> </div> <?php } ?> </div> </li> <?php } ?> <?php if((count($zonimagelist)/3-1) == $catekey) { ?> <li> <div class="mx-2"> <?php if (getAdById("13", 'status') == 0) { ?> <div style="display: grid; place-items: center; margin-top:35px"> <?= getAdById("13", 'code') ?> </div> <?php } ?> </div> </li> <?php } ?> <li> <a href="/detail?id=<?= $imageFind['id']?>"> <img src="<?= $imageFind['image_path']?>" alt="sunshine"> </a> </li> <?php } ?> </ul> </div> </div> <?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.35 |
proxy
|
phpinfo
|
�а�тройка