Viewing file: home.php (1.22 KB) -rw-r--r-- Select action/file-type: (+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php include TEMPLATE_PATH . "/includes/header.php" ?>
<div class="container">
<div class="game-container">
<?php include TEMPLATE_PATH . "/parts/ad-banner-728.php" ?>
<h3 class="item-title"><i class="fa fa-plus" aria-hidden="true"></i><?php _e('NEW GAMES') ?></h3>
<div class="row">
<?php
$games = get_game_list('new', 12)['results'];
foreach ( $games as $game ) { ?>
<?php include TEMPLATE_PATH . "/includes/grid.php" ?>
<?php } ?>
</div>
<h3 class="item-title"><i class="fa fa-certificate" aria-hidden="true"></i><?php _e('POPULAR GAMES') ?></h3>
<div class="row">
<?php
$games = get_game_list('popular', 12)['results'];
foreach ( $games as $game ) { ?>
<?php include TEMPLATE_PATH . "/includes/grid.php" ?>
<?php } ?>
</div>
<h3 class="item-title"><i class="fa fa-gamepad" aria-hidden="true"></i><?php _e('YOU MAY LIKE') ?></h3>
<div class="row">
<?php
$games = get_game_list('random', 12)['results'];
foreach ( $games as $game ) { ?>
<?php include TEMPLATE_PATH . "/includes/grid.php" ?>
<?php } ?>
</div>
<?php include TEMPLATE_PATH . "/parts/ad-banner-728.php" ?>
</div>
</div>
<?php include TEMPLATE_PATH . "/includes/footer.php" ?>
|